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.

  • Class
    Description
    Gradle 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 free narrativetrace-tooling doctor'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 into AGENTS.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 what narrativetraceInit wrote — skill directories carrying its provenance line, the marked section, and the one @AGENTS.md import line — and nothing beside it.