chore: slim planning frontmatter (derive date/slug, drop spec/outcome)#240
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs modern-di to the updated canonical convention
lesnik512/planning-convention(edited in place, no version bump — stays1.0.0).Rationale
Frontmatter was carrying data the file/dir name already encodes.
spec:(a plan's spec is always its siblingdesign.md),date, andslugare all derivable;outcomeduplicatedsummaryand was never rendered by the index.Changes
index.py(from canonical): derivesdate/slugfrom the dir/file name, validates name format, requires onlysummary(specs) /status+summary(decisions). Nospec-link check; plans need no frontmatter.design.md/change.md→summaryonly (date/slug/outcome stripped, plus strayspecon old change bundles);plan.md→ no frontmatter (14 files); decisions →status/summary(+supersedes links), date/slug stripped.Verification
just lint-ci→ ruff + ty +planning: OK, all green.just indexrendersdate/slugderived from names.Net: +49 / −275 lines.