Skip to content

chore: adopt planning-convention (fresh adopt at v1.0.0)#14

Merged
lesnik512 merged 2 commits into
mainfrom
chore/adopt-planning-convention
Jun 26, 2026
Merged

chore: adopt planning-convention (fresh adopt at v1.0.0)#14
lesnik512 merged 2 commits into
mainfrom
chore/adopt-planning-convention

Conversation

@lesnik512

@lesnik512 lesnik512 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Applies lesnik512/planning-convention to this repo per its APPLY.md. Fresh adopt at v1.0.0 (no prior planning/.convention-version).

What landed

Canonical-owned, copied verbatim

  • planning/index.py — validator + index generator (--check validates bundle/decision name format, bundle shape, required frontmatter; default prints the newest-first index).
  • planning/_templates/{change,design,plan,decision,release}.md.

Repo-local

  • planning/README.md — repo title/intro + the portable Quick-path and Conventions prose from convention.md, plus repo-local ## Index / ## Other.
  • planning/{changes,decisions,releases}/ (.gitkeep), planning/deferred.md, architecture/README.md (states the same-PR promotion rule).
  • planning/.convention-version1.0.0.

Judgment-merges

  • Justfile: added index and check-planning; wired uv run python planning/index.py --check into lint-ci.
  • CLAUDE.md: added ## Workflow pointer to the Quick path, and the architecture/<capability>.md promotion reminder under ## Architecture.

ADR migration (follow-on)

  • Moved the lone ADR into the convention's home/format: docs/adr/0001-expose-installs-into-modules-only.mdplanning/decisions/2026-06-26-expose-installs-into-modules-only.md (with status/summary frontmatter; Context / Decision & rationale / Revisit trigger). It now shows in just index. Removed the empty docs/adr/ tree and the pre-convention pointer from the README.

Deviation from APPLY.md

None functionally. I considered a [tool.coverage.run] omit = ["planning/*"] to protect the --cov=. 100% gate, but verified it's unnecessary: planning/ has no __init__.py and index.py is never imported, so coverage doesn't treat it as source. pyproject.toml is therefore untouched.

Verification

  • just check-planningplanning: OK (validates the migrated decision)
  • just index → lists the decision, date/slug derived from filename
  • just lint-ci → ruff format/check + ty + planning check all pass
  • just test-ci → 16 passed, 100% coverage held

🤖 Generated with Claude Code

lesnik512 and others added 2 commits June 26, 2026 10:48
Apply lesnik512/planning-convention via its APPLY.md (FRESH ADOPT):

- planning/index.py + planning/_templates/* — copied verbatim (canonical-owned).
- planning/README.md — repo-local title/intro + the portable Quick-path and
  Conventions prose from convention.md, plus repo-local Index/Other sections.
- planning/{changes,decisions,releases}/ scaffolding, planning/deferred.md,
  and architecture/README.md stating the same-PR promotion rule.
- planning/.convention-version pins 1.0.0.
- Justfile: add `index` and `check-planning`; wire `planning/index.py --check`
  into `lint-ci`.
- CLAUDE.md: add `## Workflow` pointer to the Quick path and the
  architecture/<capability>.md promotion reminder under `## Architecture`.

No coverage config change: planning/ has no __init__.py and is never imported,
so the script is excluded from `--cov=.` and the 100% gate holds (verified).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reformat the lone ADR into the convention's decision format and home:
docs/adr/0001-expose-installs-into-modules-only.md ->
planning/decisions/2026-06-26-expose-installs-into-modules-only.md
(status/summary frontmatter; Context / Decision & rationale / Revisit trigger).
Now listed by `just index`. Remove the empty docs/adr tree and drop the
pre-convention pointer from planning/README.md's Other section.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit e37efd9 into main Jun 26, 2026
6 checks passed
@lesnik512 lesnik512 deleted the chore/adopt-planning-convention branch June 26, 2026 07:57
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