Conversation
The digest covers seven consumer surfaces, so editing any of them fails Validate Agent Instructions with nothing but two bare SHA-256 strings. Nothing in AGENTS.md, runbooks, decisions, or the scoped instructions says which files feed it or how to regenerate it, so #582 and #586 both discovered the step by failing CI. Attach the list and the procedure to the assertion, where the person who needs it is already looking. Closes #588
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Learning capture from #586, which appended one section to
PATTERNS.mdandfailed
Validate Agent Instructionswith nothing but two bare SHA-256 strings.test_repair_2_consumer_parser_outputs_match_frozen_goldenhashes the parsedoutput of seven consumer surfaces,
PATTERNS.mdand.github/README.mdamongthem. Editing any of them changes the digest, which is the test working
correctly. Nothing recorded that, though:
grep -ri goldenoverAGENTS.md,runbooks/,decisions/, and.github/instructions/returns nothing, and thetest file has been amended nine times. #582 hit the same wall on a skill edit.
This attaches the seven paths and the regeneration procedure to the assertion's
msg=, so both appear in the failure output. One argument covers all sevensurfaces, where a per-file comment would cover one each and drift as the list
changes.
Verified by appending a line to
PATTERNS.mdand re-running the test. Themessage renders with every path enumerated, and
PATTERNS.mdwas restored, sothis branch changes one file. The full suite of 99 tests passes, as do
validate-agent-policy.pyand the Python linters.Closes #588