Repository navigation
Give this repository a CI that runs the gate already in it - #1
Merged
Merged
Conversation
No .github directory, and scripts/check-home-paths.sh referenced by nothing in the repository -- no Makefile target, no workflow. It had been maintained and never been run. It is also the generation that reports 0 for a tree it could not look at. Measured, on the five states the contract names: not-a-repo 0 no-tracked-files 0 missing-path 0 dirty 1 clean 0 The first three should be 2. A gate that says "clean" about a tree it never scanned produces a line in a log nobody can tell from a pass. So: the canonical 271-line gate in place of this one, the workflow gate, the meta-gate, one entry point, and the workflow that calls it. scripts/verify-gates.sh is the single list and CI calls it rather than re-listing the steps, so the two cannot drift apart silently. With hosted Actions unable to run a job on this account, running the CI path locally is the only way to know any of this passes at all. .gate-manifest registers both gates. The meta-gate reads it to learn this repository's entry point, checks CI calls it, and checks the other direction too: a gate the runner invokes but the manifest does not name is one nobody has asked whether it can fail. All 39 controls green, 28 of them asserting a refusal.
…hat finds its own root Two of the subject kinds needed more than a path argument. A gate that resolves its repository from Path(__file__).parent.parent ignores a fixture path, audits the real repository, and answers 0 -- a clean verdict about a tree it never looked at, which is the exact failure the auditor exists to refuse. So there is a third invocation mode now: `relocated` copies the gate into the fixture and runs it from there. The `skill-tree` kind goes with it. Its subject is a skills/ directory of SKILL.md files, and its unlookable fixture is a directory that exists and holds nothing -- not an absent one, because a gate that handles 'no directory' but not 'directory with nothing in it' is the common half-finished case. Its dirty fixture carries a defect of each class a skill gate might own. The frontmatter gate looks at the content of a SKILL.md; the roots gate looks at whether one name is reachable from two roots. A fixture holding only a malformed skill satisfies the first and reports 0 for the second, and the auditor would refuse a gate behaving correctly. That was not hypothetical: it is what happened the first time this kind was wired to elohim. Twenty controls, sixteen asserting a refusal. 44 across the family. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
There was no
.githubdirectory here, andscripts/check-home-paths.shwas referenced by nothing in the repository — no Makefile target, no workflow. It had been maintained and never been run by anything that could fail.It is also the generation that reports 0 for a tree it could not look at. Measured on the five states the contract names:
The first three should be 2. A gate that says "clean" about a tree it never scanned produces a line in a log nobody can tell from a pass.
So: the canonical 271-line gate in place of the 126-line one, the workflow gate, the meta-gate, one entry point, and the workflow that calls it.
scripts/verify-gates.shis the single list and CI calls it rather than re-listing the steps, so the two cannot drift apart silently. With hosted Actions unable to run a job on this account, running the CI path locally is the only way to know any of this passes at all..gate-manifestregisters both gates. The meta-gate reads it to learn this repository's entry point, checks CI calls it, and checks the other direction too: a gate the runner invokes but the manifest does not name is one nobody has asked whether it can fail.All 44 controls across the family green, 33 of them asserting a refusal.
./scripts/verify-gates.shexits 0. All commits signed.🤖 Generated with Claude Code