Repository navigation
Description
Problem
Open questions are scattered across PRDs, TRDs and the vision, and nothing says what each one blocks. A question that should stop ratification looks the same as one that can wait until after launch. Questions about the whole product end up in the vision or the constitution, which are the wrong homes for them. Answered questions stay in their tables after the answer has moved into the spec.
Proposal
Each open question records two things
What it blocks:
| Blocking level | Blocks | Checked |
|---|---|---|
| Design | Ratification of the change | When the promotion PR is prepared, and again just before it merges |
| Implementation | Sending the handoff | Before the handoff is sent |
| Release | The ship decision, or a step in the delivery plan | Before the ship signal fires, by whoever fires it. When merging the implementation PR is the ship signal, the implementation workflow checks before that merge. |
| None yet | Nothing yet | Must be classified before the change's next check |
How it gets answered: research, a spike, a maintainer decision, or measurement after shipping. A question answered by measurement after shipping can't block that same ship decision. It is classified as none yet, or as release-level for a later delivery-plan step.
Identity
Each question has an ID that is unique within its document, for example OQ-3, and its table row starts with an HTML anchor, <a name="oq-3"></a>, because a table row creates no link target on its own. Elsewhere it is referred to as <document path>#oq-3. When a document moves, links to its questions are updated like any other link in the bundle, and the link check catches any that aren't.
What it applies to
Each question names what it blocks: a change, a step in the delivery plan, or, for a document's own questions, that document. A product-wide release question blocks only the targets it names.
Deferral
Deferring a question means recording it, getting maintainer approval, and naming the target: a shaping item, a later change, or a step in the delivery plan. The question's row records the target, the approval date and where the approval was given, such as a PR or an issue comment. An approved deferral satisfies the current check. The target gets its own row that links back to the original.
Homes
- A question about one document stays in that document's open-questions table.
- Product-wide questions go in
docs/product/open-questions.md(OKF typeopen-questions). - That file also carries a generated index. The generator scans every concept in
docs/product/that has an open-questions table and lists each open or deferred question with its ID, blocking level and link. - When a question is answered, it leaves its table and drops out of the index at the next regeneration. The answer goes into the spec, an ADR or the feature log, so it has exactly one home.
Acceptance criteria
- A reference file defines the blocking levels with their check points, the resolution methods, question IDs, the deferral rule and the homes, and
SKILL.mdlinks it. - The PRD and TRD templates' open-questions tables have columns for ID with its anchor, blocking level, what it blocks, resolution method, deferral target and approval.
scripts/init.shscaffoldsdocs/product/open-questions.mdwithout overwriting an existing file, andtests/init.batscovers it.- The index generator ships in the skill's
scripts/, with bats tests covering an open question, a deferred question, an answered question that drops out, a second regeneration that adds no duplicates, a link that still resolves after its document moves, and a product-wide release question that blocks only its named target. - A worked example follows one question from creation through deferral to its answer.
- The ratification, handoff and ship guidance each name the level they check.
Non-goals
- The triage workflow, which belongs to Improve product-development plugin with lifecycle review and handoff workflows #18 (lifecycle review and handoff).
- The vision's open-questions section, which product-development: slim the vision into a core plus companion documents #44 (vision anatomy) removes.
- Syncing questions to an issue tracker.
Activity
fix(product-development): validate deferrals before they clear a check
fix(product-development): rebase question-text links in the generated…
fix(product-development): hold a change on its documents' own questions
fix(product-development): keep post-ship measurement off the ship it …
fix(product-development): refuse malformed open-questions headers
fix(product-development): keep deferral links alive through canonization
fix(product-development): make the release check a pre-ship entry point
test(product-development): tighten the cumulative and anchor tests
fix(product-development): refuse circular deferrals
fix(product-development): run the release check before delivery-plan …
9 remaining items
fix(product-development): hold delivery-plan steps on whole-plan ques…
fix(product-development): rebase question links when archiving a change
docs(product-development): state the --pending contract the script runs
fix(product-development): run scripts from the installed skill path
fix(product-development): use the installed script path in scaffolded…
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)
fix(product-development): match GitHub's anchors for formatted headings
fix(product-development): derive heading anchors from rendered text
fix(product-development): resolve second release review findings (#63)
fix(product-development): keep links and emphasis that wrap code in a…
fix(product-development): treat comparison operators in headings as text
fix(product-development): strip tags whole and match code fences exac…
fix(product-development): keep code span text in heading anchors (#64)