Repository navigation
docs: add repo-level CLAUDE.md for Claude Code and CI reviewers - #51
Merged
Merged
Conversation
Encodes the project's review criteria and working conventions so that the claude-code-action reviewer, @claude mentions, and human contributors all evaluate changes against the MANIFIESTO commitments and threat model rather than generic best practices. The five commitments are stated as actionable "Reject if X" rules; hard security rules cite the threat model and the Phase 1 ADRs; the file references rather than duplicates README, MANIFIESTO, threat-model, and the ADR/RFC catalog. English, per the project's technical-doc language. Signed-off-by: Gonzalo Fleming <[email protected]>
5 tasks done
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.
Summary
Adds a repo-level
CLAUDE.mdso theclaude-code-actionCI reviewer,@claudementions, and human contributors evaluate changes against QuantumSSH's MANIFIESTO commitments and threat model — not generic best practices.Motivation
The
claude-code-review.ymlworkflow (merged in #48) runs a generic/code-reviewwith no project context. It does not know the project forbidsunsafe, rejects legacy crypto, treats the pre-auth path as the highest-trust surface, or follows the RFC/ADR process.claude-code-actionchecks out the repo and runs Claude Code in it, so a rootCLAUDE.mdis read automatically — fixing all three consumers (CI review,@claude, onboarding) at once.What it contains
unsafe, hybrid-PQ-only KEX, zero legacy, small surface, permanently open).authorized_keys, key zeroization, type-state machine, mandated log fields).It references rather than duplicates README, MANIFIESTO, threat-model, and the ADR/RFC catalog.
Decisions (confirmed with maintainer)
Type of change
Checklist
Notes for reviewers
This PR will itself trigger the Claude reviewer — a useful first test of whether the new context changes the review's specificity.