Skip to content

chore: adopt canonical planning convention + compact CLAUDE.md#36

Merged
lesnik512 merged 2 commits into
mainfrom
chore/adopt-canonical-convention
Jun 25, 2026
Merged

chore: adopt canonical planning convention + compact CLAUDE.md#36
lesnik512 merged 2 commits into
mainfrom
chore/adopt-canonical-convention

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Adopts the canonical planning convention (lesnik512/planning-convention v1.0.0) and compacts CLAUDE.md to mirror the pilot pattern.

Convention adoption (mechanical)

  • Vendored planning/index.py + planning/_templates/{change,decision,design,plan}.md verbatim from canon.
  • Slimmed every change bundle and decision to the lean frontmatter: date/slug are now derived from the directory/file name; design.md/change.md carry summary only; plan.md carries no frontmatter; decisions carry status + summary (+ optional supersedes links). Stripped inline # accepted | superseded comments that the parser had been treating as part of the value.
  • Rewrote planning/README.md to the Quick-path + lean Conventions form.
  • Justfile: added check-planning recipe and wired uv run python planning/index.py --check into lint-ci.
  • Added architecture/README.md (truth-home intro, capability list, promotion rule) and planning/.convention-version (1.0.0).

D212 alignment

  • Flipped the ruff ignore from D212 to D213 (enforce D212, ignore D213, matching the org standard) and ran ruff check --fix, which auto-applied 8 docstring summary-line moves across 7 source/test files.

CLAUDE.md compaction

  • Added an ## Architecture orientation: invariant summaries ("what must not break") + a capability→file index table covering all three architecture/*.md pages, with the promotion reminder. No orphan deep-dive subsections existed to promote.
  • Compacted ## Workflow to a pointer at the planning/README.md Quick path and ## Commands to a pointer at the Justfile (keeping only non-obvious which-to-use-when notes). Preserved the release runbook, tag-naming lore, commit-message rules, and reference-directory notes.

Verification

  • just lint-ci green (eof-fixer, ruff format, ruff check, ty, planning validator).
  • just check-planning prints planning: OK.
  • just test: 457 passed, 100% coverage.

🤖 Generated with Claude Code

Adopt the canonical planning convention (lesnik512/planning-convention v1.0.0):
vendor index.py + templates verbatim, slim every bundle/decision to lean
frontmatter (date/slug derived from names; specs carry summary only; plans
carry none), rewrite planning/README.md to the Quick-path + lean Conventions
form, add check-planning recipe + wire the validator into lint-ci, add
architecture/README.md, and record .convention-version.

Flip the ruff D212/D213 ignore to the org standard (enforce D212, ignore D213)
and auto-apply the docstring summary-line moves.

Compact CLAUDE.md: Architecture orientation with invariant summaries +
capability index table, Workflow/Commands compacted to pointers at
planning/README.md Quick path and the Justfile.

just lint-ci green; 457 tests pass at 100% coverage.
@lesnik512 lesnik512 merged commit b0e7873 into main Jun 25, 2026
6 checks passed
@lesnik512 lesnik512 deleted the chore/adopt-canonical-convention branch June 25, 2026 17:00
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