Skip to content

docs(claude.md): add Commands and Footguns sections#60

Open
Chosen9115 wants to merge 1 commit into
mainfrom
docs/claude-md-commands-and-footguns
Open

docs(claude.md): add Commands and Footguns sections#60
Chosen9115 wants to merge 1 commit into
mainfrom
docs/claude-md-commands-and-footguns

Conversation

@Chosen9115

Copy link
Copy Markdown
Owner

Summary

Brings CLAUDE.md in line with the 7-section convention shared across the three OpenSOP repos. Two purely-additive sections:

  • ## Commands — the 13 commands an agent runs most (boot, test, lint, security scans, deploy). Was missing; agents had to infer from Procfile.dev and bin/.
  • ## Footguns — consolidates hazards that were scattered through the existing Architectural conventions section.

No existing content removed or reordered.

Self-rating (7-axis, per this repo's convention)

  • correctness: 9 — verified bin/ scripts exist; commands match Procfile.dev and the existing opensop.rake task
  • simplicity: 9 — purely additive, no restructuring
  • test coverage: n/a (docs-only)
  • naming: 9 — uses convention's section headers verbatim
  • performance risk: n/a
  • security risk: n/a
  • process-model fidelity: 10 — Footguns reinforces the YAML-as-API-contract invariant

Improvement applied in polish pass

The first draft of the Footguns section repeated the eval rule from Architectural conventions verbatim; rewrote it to be a sharper one-line statement, with the rationale ("Enforced by code review") trailing.

Test plan

Docs-only. Verify the file renders correctly in the GitHub UI after merge.

🤖 Generated with Claude Code

Surgical additions to align CLAUDE.md with the 7-section convention now
shared across all three OpenSOP repos:

* Commands — enumerates the 13 commands an agent actually runs (bin/setup,
  bin/dev, bin/jobs, rspec variants, lint, security scans, deploy). Was
  previously missing; agents had to infer from the Procfile + bin/.
* Footguns — pulls together hazards that were scattered across the existing
  "Architectural conventions" section (eval discipline, YAML-as-contract,
  Sop::/Opensop:: split, executor idempotency, seeds idempotency).

No content removed. No workflow changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant