Repository navigation
Description
Summary
Capture workflow learnings from a full product-development lifecycle run in a downstream project and use them to improve the product-development plugin.
That run moved through PRD, TRD, user stories, BDD scenarios, adversarial reviews, open-question triage, downstream comments, approval gates, PR merge, and implementation-handoff issue creation. Several patterns repeated enough that they should become first-class plugin guidance, command templates, or reusable subagent prompts.
Observed Repeating Patterns
- Gate transitions required repeated manual status edits, changelog entries, validation checks, and next-step reporting.
- Adversarial reviews were requested repeatedly across PRD, TRD, stories, scenarios, preparedness, and final-pass review.
- Open questions were triaged one at a time through explain → classify → revise → comment downstream.
- Downstream issue comments were needed whenever current-feature decisions affected later features.
- Tech-stack decisions followed a repeated interview pattern: research alternatives, compare, recommend, approve, canonize in TRD, add acceptance criteria/metrics.
- Compliance/standards questions required source-cited research, careful scope routing, and avoidance of certification overclaims.
- After spec merge, the approved artifacts needed to become a rich implementation handoff issue suitable for a one-shot Codex goal run.
MUST Capture
Gate transition helper
Add workflow guidance or a command template for approving PRD, TRD, stories, and scenarios.
Expected behavior:
- update artifact lifecycle status
- append changelog entries
- run configured/targeted validation checks
- report clean state and next lifecycle gate
- preserve implementation/code/test gates until explicitly approved
Adversarial review prompt library
Add reusable artifact-specific review prompts for:
- PRD review
- TRD review
- user story review
- BDD scenario review
- preparedness review for downstream work
- final pre-approval pass
Each prompt should require:
- findings first
- severity labels such as BLOCKER, MATERIAL RISK, NON-BLOCKING
- file/line citations when reviewing local artifacts
- explicit scope boundaries to avoid TRD/code/test false positives
- stale terminology checks
- downstream ownership checks where relevant
Open-question triage loop
Add a workflow for processing open questions one at a time.
Expected behavior:
- enumerate open questions
- classify each as blocker, current-scope decision, or safe downstream deferral
- explain the recommendation concisely
- apply approved doc revisions
- post downstream issue comments when future owners must revisit the decision
Implementation handoff generator
Add a workflow for drafting or creating implementation issues after a feature spec PR merges.
Expected behavior:
- consume approved PRD, TRD, stories, and scenarios
- create a rich issue body modeled for a one-shot Codex goal run
- include source artifacts, delivery scope, architectural decisions, milestones, validation evidence, explicit non-scope, and acceptance criteria
- optionally update the parent epic or implementation follow-up checklist
SHOULD Capture
Downstream cross-reference helper
Add guidance or GitHub helper behavior to:
- identify affected downstream issues from dependency tables and open questions
- draft/post source-cited comments
- include explicit “revisit this document/decision when resolving this downstream issue” language
Tech-decision canonization flow
Add a repeatable flow for TRD technology decisions:
- research viable alternatives
- summarize tradeoffs and why the recommended choice fits
- get human approval before canonizing
- insert the decision with rationale, constraints, acceptance criteria, and proof metrics
- avoid prematurely importing downstream implementation models
Compliance/standards research prompt
Add a source-cited research prompt for legal/compliance/security standards questions.
Expected behavior:
- use primary sources when possible
- cite sources in the resulting artifact or comment
- distinguish current-scope changes from downstream work
- avoid claiming certification or legal sufficiency unless separately approved
COULD Capture
Project-specific terminology checks
Support configurable stale-token checks for product-specific role names, lifecycle language, and deprecated terminology.
Git/GitHub discipline guidance
Document when product-development work should defer to GitHub helper workflows for:
- pushing branches
- summarizing issue work
- posting downstream comments
- squash-merge commit messages
- implementation follow-up issue creation
Acceptance Criteria
- Product-development plugin docs describe the new lifecycle helper patterns clearly enough that an agent can apply them without reconstructing prompts from chat history.
- At least one reusable adversarial-review prompt template exists for each core artifact type: PRD, TRD, stories, scenarios, and downstream preparedness review.
- Open-question triage behavior is documented as a first-class workflow.
- Implementation handoff issue generation is documented as a post-merge workflow.
- Guidance distinguishes core product-development responsibilities from GitHub-helper responsibilities and project-specific AGENTS guidance.
- The update preserves the existing gated lifecycle and does not imply implementation planning, code, migrations, or tests may begin before the appropriate human approval gate.
Source Context
This issue comes from that lifecycle run, especially the repeated review, triage, downstream-comment, tech-decision, and implementation-handoff patterns used to merge its spec pull request and open its implementation issue.
Activity
coderabbitai commentedon Jun 24, 2026
🔗 Related PRs
#11 - refactor: promote repository to Prometheas Labs plugin marketplace [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
prometheas commentedon Jun 26, 2026
Brainstorming Notes: Lifecycle Review and Handoff Workflows
Captured decisions from the issue #18 design discussion:
low,medium,high, andextra high.highextra highmediumunless risk is highhighwhen dependencies or future owners are affectedspec-revieweras a compatibility/router wrapper that detects artifact type and routes to the named reviewer rather than doing deep review itself.product-researcherfor discovery, tech decisions, and compliance/standards researchspec-revieweras compatibility/routerplan-reviewerfor implementation-plan and handoff readinessimplementation-auditorfor post-implementation artifact alignmentproduct-researchera lighter research charter: research question, sources, constraints/non-goals, and a chance for the user to add or exclude context. Use stricter primary-source/citation rules for tech, compliance, standards, and security research.Planned reference-doc shape:
references/review-workflows.mdreferences/open-question-triage.mdreferences/implementation-handoff.mdreferences/tech-decision-canonization.mdreferences/compliance-standards-research.mdreferences/gate-transition.mdPlanned agent strategy:
prd-reviewer,trd-reviewer,story-reviewer,scenario-reviewer,preparedness-reviewer,final-approval-reviewer, andhandoff-reviewer.spec-revieweras router/compatibility entrypoint.prometheas commentedon Nov 29, 2026
Scope for 0.2.0
This issue is now part of the 0.2.0 release (#35). The change model from #23 (the feature-evolution pathway) replaces part of the original proposal. Each section of the issue body is settled below. This comment replaces the body wherever the two disagree.
CONTEXT.md, from #36) is the source.delivery-engineering, which already covers commits and PR readiness.Ratification
Status edits and changelog entries go away. A change's state comes from its path, and history goes in the feature log (
log.md). This issue owns the ratification checks. The helper prepares the promotion PR: it runs the overlap check for other in-flight changes to the same spec units, confirms that no design-level question is open, and reports anything else that is still open. It runs both checks again, against the PR's final head and the currentfeatures/tree, just before the maintainer merges. Merging the PR ratifies the change.references/gate-transition.mdbecomesreferences/ratification.md.Promotion-review checklist
A short checklist for reviewing a promotion PR. It knows the new artifacts: shaping documents, changes and their deltas, and facet specs. It checks that shaping content isn't treated as binding, that deltas target real spec units with recorded base text, and that the change doesn't duplicate or silently expand an existing feature. The existing
spec-revieweragent uses it. Named reviewer agents for each artifact move to #41 (named reviewer agents).Open-question triage loop
The loop stays one question at a time. It classifies each question by the blocking levels from #37 (open questions): design (blocks ratification), implementation (blocks the handoff), release (blocks the ship decision), or none yet. A deferral is recorded, needs maintainer approval, and names where the question went. #37 (open questions) owns the register and the levels. This issue owns the triage workflow.
Implementation handoff
The handoff is drafted at ratification and sent once no implementation-level question remains open. It gives the implementation workflow:
The skill drafts the handoff and stops there. It does not prescribe how implementation runs, and execution plans stay out of Git. The
delivery-engineeringplugin, or whatever workflow the project uses, takes it from there, scoped to the implementation PR. That workflow may hand back a reviewed PR for a human to merge. That is a different handoff, and it is the implementation workflow's own.Promotion review and implementation review check different things. Promotion review checks design authority, delta validity and overlap. Implementation review checks the code against the handoff.
Filing the implementation issue, posting downstream comments and moving board cards each need maintainer approval, whichever workflow does them. #38 (feature tags) adds its tagging instruction to the handoff reference this issue creates.
Tech decisions
"Canonization" now means applying a shipped change's deltas to the feature spec, so this flow is renamed
references/tech-decisions.md. The decision lands in the change's TRD, with an ADR when it is consequential.Replacement acceptance criteria
SKILL.mdlinks.@featuretags #38feat(product-development): add ratification, triage and handoff workf…
fix(product-development): gate generated templates on approval and th…
fix(product-development): pin ratified documents and list every delta…
fix(product-development): follow the register's cleanup and deferral …
fix(product-development): align promotion review and final checks wit…
test(product-development): assert handoff ordering with standalone ch…
feat(product-development): add ratification, triage and handoff workf…
fix(product-development): gate generated templates on approval and th…
12 remaining items
fix(product-development): state the README send condition as the chec…
fix(product-development): link later questions where their rows exist
fix(product-development): tell rewritten documents and removed files …
fix(product-development): require a qualified Section path to match o…
fix(product-development): qualify the deferral rule in downstream com…
fix(product-development): check the approval gate for each GitHub write
feat(product-development): add ratification, triage and handoff workf…
fix(product-development): permit indexes and split entry in promotion…
fix(product-development): run scripts from the installed skill path
fix(product-development): resolve release review findings (#61)
fix(product-development): carry both release checks in the handoff
docs(product-development): land shaping on the default branch before …
docs(product-development): route clear requirements through an approv…
docs(product-development): list hand-reviewed 0.1.0 release questions…
fix(product-development): resolve second release review findings (#63)