Package ai.narrativetrace.gradle
package ai.narrativetrace.gradle
Gradle plugin that wires NarrativeTrace into Java builds.
This package contains the plugin entry point, DSL extensions, clarity-check task types, and result-parsing helpers used by the published Gradle plugin.
INTENT: Use this module when you want NarrativeTrace dependencies, compiler flags, trace test output, and clarity verification configured from Gradle rather than by hand.
-
ClassDescriptionGradle DSL block for Java-agent mode settings.Verification task that fails the build when clarity results violate configured thresholds.Gradle DSL block for clarity-check thresholds.Parser for the JSON emitted by
ClarityJsonExporter.Gradle-plugin-side view of one clarity scenario result.Gradle DSL block for toggling optional NarrativeTrace integration modules.narrativetraceDoctor: runs the freenarrativetrace-toolingdoctor's twelve checks against this project and writes its JSON report.Top-level Gradle DSL extension for the NarrativeTrace plugin.narrativetraceFeedback: drafts a problem report about NarrativeTrace from this project, refuses to write one that carries a value from the project's own traces, and prints either the whole draft or the pre-filled issue-form URL.narrativetraceInit: copies the NarrativeTrace agent skills into this project and writes one marked section intoAGENTS.md.Gradle plugin that auto-configures NarrativeTrace for Java projects.narrativetraceRefreshSkills: keeps an install current, and never starts one (D11 as ruled).narrativetraceUninstall: removes exactly whatnarrativetraceInitwrote — skill directories carrying its provenance line, the marked section, and the one@AGENTS.mdimport line — and nothing beside it.