Skip to content

docs: add repo-level CLAUDE.md for Claude Code and CI reviewers - #51

Merged
gonzafg2 merged 1 commit into
mainfrom
docs/repo-claude-md
Jun 11, 2026
Merged

gonzafg2 merged 1 commit into
mainfrom
docs/repo-claude-md

Conversation

@gonzafg2

Copy link
Copy Markdown
Owner

Summary

Adds a repo-level CLAUDE.md so the claude-code-action CI reviewer, @claude mentions, and human contributors evaluate changes against QuantumSSH's MANIFIESTO commitments and threat model — not generic best practices.

Motivation

The claude-code-review.yml workflow (merged in #48) runs a generic /code-review with no project context. It does not know the project forbids unsafe, rejects legacy crypto, treats the pre-auth path as the highest-trust surface, or follows the RFC/ADR process. claude-code-action checks out the repo and runs Claude Code in it, so a root CLAUDE.md is read automatically — fixing all three consumers (CI review, @claude, onboarding) at once.

What it contains

  • The five commitments as actionable "Reject if X" review rules (no unsafe, hybrid-PQ-only KEX, zero legacy, small surface, permanently open).
  • Hard security rules citing the threat model (pre-auth surface, fail-closed, strict-kex, read-only authorized_keys, key zeroization, type-state machine, mandated log fields).
  • RFC vs ADR vs PR, contribution conventions (Conventional Commits, DCO, signed commits), a repo map, key commands, and a "what not to do" list.

It references rather than duplicates README, MANIFIESTO, threat-model, and the ADR/RFC catalog.

Decisions (confirmed with maintainer)

  • English — consistent with the rest of the technical docs; MANIFIESTO (ES) is referenced.
  • Actionable "Reject if X" criteria rather than soft principles.
  • No specialized-agents section yet — added when those agents exist (alongside the first crate).

Type of change

  • Documentation only

Checklist

  • Commits signed off under the DCO.
  • Conventional Commits.
  • Signed commit.

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.

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]>
@gonzafg2 gonzafg2 added the documentation Improvements or additions to documentation label Jun 11, 2026
@gonzafg2
gonzafg2 merged commit 946ab94 into main Jun 11, 2026
7 checks passed
@gonzafg2
gonzafg2 deleted the docs/repo-claude-md branch July 18, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant