Skip to content

Improve product-development plugin with lifecycle review and handoff workflows #18

In review

Description

@prometheas

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

  1. coderabbitai commented on Jun 24, 2026

    @coderabbitai
    🔗 Related PRs

    #11 - refactor: promote repository to Prometheas Labs plugin marketplace [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. prometheas commented on Jun 26, 2026

    @prometheas
    ContributorAuthor

    Brainstorming Notes: Lifecycle Review and Handoff Workflows

    Captured decisions from the issue #18 design discussion:

    • Keep canonical behavior in the product-development skill and reference docs; command and agent files stay thin adapters and must not duplicate methodology.
    • Treat skills/reference docs as the most portable substrate across Codex, Claude Code, and GitHub Copilot. Codex custom prompts are deprecated; custom agents/subagents are active but harness-specific.
    • Recommend custom-agent/subagent reviews at lifecycle milestones, not every turn. Offers should be encouraging recommendations, not forced automation or weak opt-in prompts.
    • Preserve human ownership: review agents support deep human review at feature-spec gates; they do not replace human approval.
    • Reviews should always be adversarial and should run in subagents/custom agents where the harness supports that. If unavailable, the workflow should disclose the fallback.
    • Reviewer reasoning levels should use portable labels: low, medium, high, and extra high.
    • Default review levels:
      • PRD, TRD, final pre-approval, and handoff: high
      • compliance, standards, security, or legal-adjacent research: extra high
      • stories and scenarios: medium unless risk is high
      • downstream preparedness: high when dependencies or future owners are affected
    • Each reviewer starts with a review charter:
      • standard review scope
      • contextual review scope from current changes/research/circumstances
      • prompt for amended review considerations
      • prompt for reasoning level changes
      • prompt for extra context or references
    • Add separate named artifact reviewers for core milestones. Keep spec-reviewer as a compatibility/router wrapper that detects artifact type and routes to the named reviewer rather than doing deep review itself.
    • Recommend existing agents at relevant lifecycle moments:
      • product-researcher for discovery, tech decisions, and compliance/standards research
      • spec-reviewer as compatibility/router
      • plan-reviewer for implementation-plan and handoff readiness
      • implementation-auditor for post-implementation artifact alignment
    • Give product-researcher a 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.
    • Product-development should draft handoff issue bodies and downstream comments; live GitHub creation, linking, and posting should be delegated to GitHub helper workflows after approval.
    • Canonized tech/compliance/security claims need primary-source citations in the artifact itself. Exploratory notes can carry citations in research notes or comments.

    Planned reference-doc shape:

    • references/review-workflows.md
    • references/open-question-triage.md
    • references/implementation-handoff.md
    • references/tech-decision-canonization.md
    • references/compliance-standards-research.md
    • references/gate-transition.md

    Planned agent strategy:

    • Add named reviewer wrappers such as prd-reviewer, trd-reviewer, story-reviewer, scenario-reviewer, preparedness-reviewer, final-approval-reviewer, and handoff-reviewer.
    • Update existing wrappers where appropriate, especially spec-reviewer as router/compatibility entrypoint.
    • Keep harness runtime-support claims conservative until each adapter path is validated.
  3. prometheas commented on Nov 29, 2026

    @prometheas
    ContributorAuthor

    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.

    Section Disposition
    Gate transition helper Replaced. See Ratification below.
    Adversarial review prompt library Moved to #41 (named reviewer agents for each artifact). 0.2.0 ships a promotion-review checklist instead.
    Open-question triage loop Kept, revised below.
    Implementation handoff generator Kept, revised below.
    Downstream cross-reference helper Kept. The skill drafts comments, and posting waits for maintainer approval.
    Tech-decision canonization flow Kept and renamed: tech decisions.
    Compliance and standards research prompt Kept. Claims that land in a spec, TRD or ADR cite primary sources there.
    Project-specific terminology checks Kept. The skill's glossary (CONTEXT.md, from #36) is the source.
    Git and GitHub discipline Moved to 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 current features/ tree, just before the maintainer merges. Merging the PR ratifies the change. references/gate-transition.md becomes references/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-reviewer agent 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 ratified change: its PRD, TRD and deltas;
    • its stories and scenarios;
    • the affected feature spec. For a feature's first change, which has no shipped spec yet, the change's deltas describe the spec to be.
    • the foundation documents;
    • the project's ship signal, and any open release-level questions. Whoever fires the ship signal runs the release check first. If merging the implementation PR is itself the ship signal, the implementation workflow runs it before that merge.

    The skill drafts the handoff and stops there. It does not prescribe how implementation runs, and execution plans stay out of Git. The delivery-engineering plugin, 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

    • Ratification, the promotion-review checklist, triage, the handoff, downstream comments, tech decisions and compliance research are each documented in a reference file that SKILL.md links.
    • The handoff documents its contents and its send condition, with an example for a feature's first change.
    • Triage classifies by blocking level and records deferrals with a target and maintainer approval.
    • The tech-decision workflow's name no longer uses "canonization".
    • Nothing in the skill tells an agent to post to GitHub without maintainer approval.
    • The update keeps the gated lifecycle: nothing implies implementation may start before ratification and the handoff.
  4. 12 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions