Repository navigation
In review
Labels
enhancementNew feature or request
Description
Problem
Projects that used 0.1.0 keep each feature as one PRD and one TRD, edited in place, with changelog tables, status fields and sometimes committed plans. In 0.2.0 a feature is a directory with a feature spec that describes shipped behavior, plus changes that record how it got there. Without a guide, each project converts by hand and inconsistently, or never converts at all.
Proposal
A reference that converts one 0.1.0 feature folder at a time:
- Archive the originals. The original PRD and TRD move byte for byte to
changes/archive/<original-date>-initial/, where they serve as the feature's first change. They get no OKF front matter, so under OKF v0.3 they are not concepts and the profile'stypeandstatuschecks skip them. The archive's generatedindex.mdlists them, and a feature-log entry records the move. - Derive the feature spec from what shipped. Write the spec overview and facet specs from the code and the original documents, covering shipped behavior only. Each spec unit gets a stable ID.
- Rule on each mismatch. Wherever the spec and the code disagree, the maintainer decides which is right. Each ruling becomes a feature-log entry, and a consequential one also becomes an ADR.
- Carry the unbuilt work forward. Requirements that never shipped become one change in
shaping/, with deltas against the new spec. Approval under 0.1.0 doesn't carry over: the change reachesfeatures/<feature-id>/changes/only through its own promotion PR. - Convert the history. Changelog rows become
log.mdentries. Decision-ledger files become ADRs, for consequential decisions, or feature-log entries, for the rest. Market and positioning details go to research notes indocs/product/research/. - Move plans out. Committed implementation plans leave the repository. Anything durable in them goes to the feature spec, an ADR or the log first.
- Retire artifacts with approval. The maintainer approves each retirement. A document describing shipped behavior retires only once its content is in the feature spec. A plan or design document retires once its content is in a shaping document, an ADR or the log.
Engineering references found along the way, such as architecture contracts, vendor notes and implementation notes, stay outside docs/product/.
Acceptance criteria
- A modernization reference documents the seven steps, and
SKILL.mdlinks it. - A synthetic 0.1.0 feature fixture, committed with the skill's tests, includes a changelog table, a status field, a committed plan, one requirement that never shipped, one spec/code mismatch and one market detail.
- A test or scripted walkthrough checks the converted result:
- the original PRD and TRD sit in the archive, byte-identical to the fixture;
- the feature spec covers only shipped behavior;
- the requirement that never shipped is a change in
shaping/; - a market detail in the fixture ends up in a research note;
- the log carries the changelog rows and the mismatch ruling;
- no plan remains;
- every concept's OKF
typeandstatusmatch its path.
- The guide makes no reference to any real project.
Non-goals
- Retrofitting codebases with no specs. That is product-development: retrofit guide for codebases without specs #47 (the retrofit guide).
- Automating the conversion end to end. The maintainer rules on mismatches and retirements.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
test(product-development): add the modernization suite and 0.1.0 fixture
feat(product-development): add the modernization guide for 0.1.0 specs
fix(product-development): identify archived originals explicitly
feat(product-development): scope the profile check to one feature dur…
fix(product-development): leave nothing-shipped folders unconverted u…
fix(product-development): apply mismatch rulings to stories and scena…
fix(product-development): reconcile 0.1.0 AGENTS.md and README.md at …
fix(product-development): date the archive when the Created header is…
fix(product-development): rebase links to moved open questions
test(product-development): tie log rows and the SMS delta to their en…
5 remaining items
fix(product-development): scope index generation to the converted fea…
fix(product-development): scope open-questions checks during moderniz…
fix(product-development): exempt only named 0.1.0 folders during mode…
docs(product-development): add the gates' note for modernization in p…
docs(product-development): read pending folders' question tables dire…
feat(product-development): add the modernization guide for 0.1.0 specs (
docs(product-development): state the --pending contract the script runs
fix(product-development): say what --pending keeps in open-questions …
fix(product-development): carry --pending through promotion and canon…
fix(product-development): resolve release review findings (#61)
docs(product-development): regenerate indexes before the upgrade's pr…
fix(product-development): resolve release re-check findings (#62)
docs(product-development): prepare 0.1.0 foundation documents in a mi…
docs(product-development): list hand-reviewed 0.1.0 release questions…
fix(product-development): resolve second release review findings (#63)