Pin .agents to 763fe54 - #12
Merged
Merged
Conversation
Adopts four framework fixes surfaced by auditing this repository and its two siblings, now merged upstream. The documentation freshness gate can fail. Its only exit was an unconditional sys.exit(0) while has_block was computed and consulted nowhere, so every green run of it in any host was a constant rather than a verification. Checked before bumping: this repository reports no BLOCK finding, so the stricter exit code changes nothing here today. The gate also stops inventing containers out of vendored tooling. A repository declaring root "." matched .agents/ and missed its own code, because slicing a one-character root removed the first character of every path. The secret scanner distinguishes a literal assignment from a lookup, and the bridge installs a native .git/hooks/pre-commit so a commit typed in a terminal is scanned too — the PreToolUse hook only ever saw an agent's own commits. Two new protocols ship with it: /agents:harden and /agents:revdoc. Previous pin: dfa68ed
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.
What this changes
The
.agentssubmodule pointer moves to763fe54, adopting four framework fixes surfaced by auditing this repository and its two siblings.sys.exit(0)whilehas_blockwas computed and consulted nowhere. Every green run of it, in any host, was a constant rather than a verificationroot: "."matched.agents/and missed its own code — slicing a one-character root removes the first character of every pathpassword = user.check_password(raw)and missedMASTER_KEY = "<literal>"PreToolUsehook only ever saw an agent's own commits; the bridge now installs a native.git/hooks/pre-commitTwo protocols ship with it:
/agents:hardenand/agents:revdoc.Checked before bumping
The stricter exit code is the part that could break a repository that was green only because the gate never spoke. Run against this repository first:
No
BLOCKfinding, so nothing changes here today. The new secret scanner was also run against the current tree, and passes.🤖 Generated with Claude Code