Skip to content

chore: slim planning frontmatter (derive date/slug, drop spec/outcome)#240

Merged
lesnik512 merged 1 commit into
mainfrom
chore/slim-planning-frontmatter
Jun 25, 2026
Merged

chore: slim planning frontmatter (derive date/slug, drop spec/outcome)#240
lesnik512 merged 1 commit into
mainfrom
chore/slim-planning-frontmatter

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Syncs modern-di to the updated canonical convention lesnik512/planning-convention (edited in place, no version bump — stays 1.0.0).

Rationale

Frontmatter was carrying data the file/dir name already encodes. spec: (a plan's spec is always its sibling design.md), date, and slug are all derivable; outcome duplicated summary and was never rendered by the index.

Changes

  • index.py (from canonical): derives date/slug from the dir/file name, validates name format, requires only summary (specs) / status+summary (decisions). No spec-link check; plans need no frontmatter.
  • Bundles migrated: design.md/change.mdsummary only (date/slug/outcome stripped, plus stray spec on old change bundles); plan.md → no frontmatter (14 files); decisions → status/summary (+supersedes links), date/slug stripped.
  • Templates + README updated to the lean form.

Verification

  • just lint-ci → ruff + ty + planning: OK, all green.
  • just index renders date/slug derived from names.

Net: +49 / −275 lines.

Sync to the updated canonical convention (lesnik512/planning-convention,
no version bump): frontmatter now carries only what the file/dir name
can't supply.

- copy canonical index.py + templates (index.py derives date/slug from the
  bundle/decision name and validates name format)
- design.md/change.md: strip date/slug/outcome (+ stray spec) -> summary only
- plan.md: drop frontmatter entirely (14 files)
- decisions: strip date/slug -> status/summary (+ supersedes/superseded_by)
- README Frontmatter prose updated to match

just lint-ci + check-planning green; index renders date/slug from names.
@lesnik512 lesnik512 merged commit 9137d8d into main Jun 25, 2026
7 checks passed
@lesnik512 lesnik512 deleted the chore/slim-planning-frontmatter branch June 25, 2026 16:18
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