bug: gardener AGENTS.md maintenance is not keeping up with code changes #446
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug description
The gardener is supposed to maintain AGENTS.md by examining git history and updating the file periodically. A manual audit at commit
aa1ae7areveals the file is significantly out of date — 24 commits behind thelast-reviewedmarker, with 2 factual errors, 3 outdated claims, and 14 gaps.Reproduction
Compare AGENTS.md claims against actual filesystem:
Lies (2):
lib/profile.shwhich does not exist (functions are inlib/formula-session.sh)Outdated (3):
.env.enc— only plaintext.envexistslast-reviewedmarker is 24 commits staleGaps (14):
docker/directory entirely absent from layoutformulalabel missing from label tableExpected behavior
Gardener should detect new files, deleted files, renamed files, and architecture changes when reviewing git history and update AGENTS.md accordingly. The
last-reviewedmarker should advance with each gardener run that touches AGENTS.md.Actual behavior
The gardener maintains what it originally documented but does not discover new additions, does not catch factual errors introduced by other agents, and does not update architecture decisions when implementation changes.
Diagnosis
Likely causes:
Filed issues #442-#445 as backlog items for the specific fixes.
Closing as resolved: sub-issues #442, #443, #444, #445 are all closed. The gardener formula now includes an
agents-updatestep that checks watermarks and keeps AGENTS.md files current. The last gardener run (commitfaaaeb0) confirmed the step is working — all per-directory AGENTS.md files were updated.