Skip to content

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

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

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

Conversation

@lesnik512

Copy link
Copy Markdown
Member

What changed

Convention adoption (lesnik512/planning-convention v1.0.0):

  • Vendor the canonical planning/index.py (now a flat newest-first index with a --check validator) and refresh planning/_templates/.
  • Slim every bundle's frontmatter to the lean form: specs carry summary only, plans carry no frontmatter, decisions carry status + summary (+ optional supersedes links); date/slug are derived from directory/file names.
  • Merge the three multi-PR bundles' per-PR plan files (plan-prN-*.md) into one plan.md each, preserving every plan verbatim as sections (the validator allows only design.md/plan.md/change.md per bundle).
  • Update planning/README.md to the lean frontmatter prose and canonical-repo sourcing note.
  • Wire the validator into CI: new check-planning recipe + planning/index.py --check step in lint-ci.
  • Add architecture/README.md (truth-home intro + capability list + promotion rule) and pin planning/.convention-version = 1.0.0.
  • D212 flip skipped — this repo ignores D213 (not D212), so the vendored index.py's noqa: D212 is already correct.

CLAUDE.md compaction (mirrors the faststream-outbox pilot):

  • ## Architecture is now a one-line orientation + promotion reminder + invariant-summary bullets + a capability→file index, instead of duplicated deep-dives (the detail already lives in architecture/config-model.md, instruments.md, bootstrappers.md). No orphan subsections needed promotion — all three capabilities already had pages.
  • ## Commandsjust --list pointer with which-to-use-when notes; ## Workflow → pointer at planning/README.md's Quick path. Audit-work coding rules keep their actionable guidance and gain architecture/ pointers.

Verification

just lint-ci green (eof-fixer, ruff format, ruff check, ty, planning validator) and just check-planning prints planning: OK.

lesnik512 and others added 3 commits June 25, 2026 19:45
Vendor the canonical planning index.py + templates, slim every bundle's
frontmatter to the lean form (summary only on specs; no frontmatter on
plans; status+summary on decisions; date/slug derived from names), merge
the three multi-PR bundles' per-PR plan files into one plan.md each, and
update planning/README.md to the lean frontmatter prose.

Wire the validator into CI: add the check-planning recipe and run
planning/index.py --check in lint-ci. Add architecture/README.md (truth
home intro + capability list + promotion rule) and pin the applied
convention version in planning/.convention-version.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ndex

Replace the duplicated Architecture deep-dives with terse invariant
summaries, a promotion reminder, and a capability->file index pointing at
architecture/; compact Commands to a just --list pointer with the
which-to-use-when notes, and Workflow to a pointer at planning/README.md's
Quick path. The audit-work coding rules keep their actionable guidance and
gain architecture/ pointers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit f1bf7f5 into main Jun 25, 2026
7 checks passed
@lesnik512 lesnik512 deleted the chore/adopt-canonical-convention branch June 25, 2026 16:59
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