Skip to content

Filter amend candidates by source decisions changed since last audit#18

Merged
jimutt merged 1 commit into
mainfrom
incremental-amend-audit
Apr 29, 2026
Merged

Filter amend candidates by source decisions changed since last audit#18
jimutt merged 1 commit into
mainfrom
incremental-amend-audit

Conversation

@jimutt
Copy link
Copy Markdown
Owner

@jimutt jimutt commented Apr 28, 2026

Summary

  • find-missing-amends.sh now reads audit.commit_hash from .dld-state.yaml and filters candidates to source decisions whose file changed since that commit (committed, working-tree, and untracked). Re-runs no longer resurface references the agent already judged informational.
  • Falls back to scanning everything when there is no audit state, the recorded commit isn't in the repo, or --all is passed (cold starts / manual deep audits).
  • Doc updates in dld-audit and dld-audit-auto SKILL.md (both copies) noting the incremental behavior and the --all escape hatch.

Test plan

  • All 130 bats tests pass, including 6 new tests covering: unchanged source skipped, source-edit re-surfaces, referenced-only edit does not re-surface, untracked new decisions, --all override, unknown-commit fallback.
  • tessl tile lint passes.
  • Try a real audit on ~/dev/conversation-agent-runtime to confirm the noise drop matches expectations.

🤖 Generated with Claude Code

find-missing-amends now reads audit.commit_hash from .dld-state.yaml and
only emits candidates whose source decision file changed since then, so
informational references the agent already evaluated stop resurfacing on
every audit. Pass --all to bypass for cold starts or deep audits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jimutt jimutt marked this pull request as ready for review April 29, 2026 07:40
@jimutt jimutt merged commit 390b516 into main Apr 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant