Documentation
¶
Overview ¶
Package worktree reads the git working tree to ground the relay (§19.1): the unified diff of the change under review, the changed code paths, and the arc footprint (paths + area labels) an execution turn leaves. Every read is best-effort — outside a git repo it yields nothing, never an error — so the relay stays drivable without a repository. The step and run command shells both use it, keeping the relay engine itself free of version-control I/O.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureFootprint ¶
CaptureFootprint records what an execution turn touched (§19.1, §19.3): the changed paths ground the cold critic on the real change, and the areas they fall under become labels so the arc's context routes. Best-effort — outside a git repo it is a no-op. Derived labels union with any already declared, preserving hand-set ones.
func ChangedCodePaths ¶
ChangedCodePaths reports the working tree's changed paths under repoDir, excluding the harness's own .adh/ state. The bool is false when there is no git repo — the read is best-effort and never fatal.
Types ¶
This section is empty.