Repository navigation
Agent context: slim CLAUDE.md, two skills, guardrails, latitude rule - #530
Merged
Merged
Conversation
…ne skills CLAUDE.md keeps the always-true rules: invariants, the repo map, PR rules, and a plan gate with a scope tripwire in place of open-ended autonomy. Procedures move into two project skills that load only when a task needs them. Out-of-date references (ground-truth.md, the SSP, POA&M entries, make targets that live in infrastructure/Makefile) are corrected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPMbZUHNXLjJxbN2HEPpVs
Articles 22, 24, 25 and 26, the contact page, and three research pages (authorization-boundary, staying-in-the-loop, vulnerability-evidence) were served but absent from sitemap.xml. lastmod is each article's index date; for the contact and authorization-boundary pages it is the last commit date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPMbZUHNXLjJxbN2HEPpVs
.claude/settings.json denies force-pushes, terraform destroy and aws s3 rm, and asks the operator before terraform apply, apply-infra/pipeline, pushes to main, gh pr merge, IAM writes and S3 writes. Pushes to branches stay unprompted, so small tasks still go straight to a PR. .claude/hooks/stop-check.sh runs make check at the end of a turn when the working tree has changes, and blocks the stop while it fails. Missing tools produce a visible non-blocking notice instead of a block. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPMbZUHNXLjJxbN2HEPpVs
Three hand-maintained copies had no check: sitemap.xml (eight live pages missing), the homepage's Recent Articles cards, and the paths named in CLAUDE.md and the skills (the old CLAUDE.md named a file that did not exist). Each test was confirmed to fail on the drift it targets. CLAUDE.md and the site-content skill now say what is enforced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPMbZUHNXLjJxbN2HEPpVs
Adds CLAUDE.md §6: lead with the outcome, keep verified separate from assumed, push back before acting on a plan that looks wrong, and no opening praise. Unprompted ideas are capped at three, each with why it matters, and "none" is a valid answer; they are never built unasked. When the operator asks for ideas, range widely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EPMbZUHNXLjJxbN2HEPpVs
…d Effect in PR bodies The slim CLAUDE.md keeps the operator's Proof-of-concept latitude section word for word (the four statuses, the stand-in test, who approves stand-ins and scope cuts, never choosing a status because a gate requires it), in the form amended on the rule-records stack. The PR-body rule now starts with the SCN lines the SCN gate reads and includes an Effect section. References to scripts/staged/ go, since that directory is being removed, and the nightly's write scope is described by its role policy rather than a fixed prefix. Co-Authored-By: Claude Opus 5.5 <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.
SCN-Type: not-significant
SCN-Rationale: Agent working context, permission rules and context tests only; no change to how security posture is verified or published.
Changed
site-contentandcompliance-pipeline, loaded only when a task needs them.not-significant), and include an Effect section..claude/settings.json: deny rules for force-push,terraform destroy,aws s3 rm; ask rules for applies,make pipeline, pushes tomain,gh pr merge, IAM and S3 writes..claude/hooks/stop-check.sh: a Stop hook that runsmake checkwhen the working tree has changes and blocks ending a turn while it fails.website/sitemap.xmllists eight live pages it was missing.scripts/staged/(being removed on the rule-records stack); the nightly's write scope is described by its role policy, not a fixed prefix.Effect
After deploy,
sitemap.xmllists eight more pages. No/.well-known/artifact, gate or record changes. Agent sessions in this repo load the new context, rules and Stop hook.Verified
make checkexit 0 on this branch.Residual / needs human
mainand the conflict is resolved there, keeping this file's structure and the stack's facts (three unattended evidence workflows, the rule records and claims gate).Couldn't verify
Follow-ups noticed
None.
🤖 Generated with Claude Code