Skip to content

feat(ce-brainstorm): product-tier with end-to-end ID traceability#629

Merged
tmchow merged 2 commits into
mainfrom
tmchow/prd-analysis
Apr 21, 2026
Merged

feat(ce-brainstorm): product-tier with end-to-end ID traceability#629
tmchow merged 2 commits into
mainfrom
tmchow/prd-analysis

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented Apr 21, 2026

Summary

Brainstorming greenfield work in ce-brainstorm previously had thin guidance and no structural support — the requirements template was optimized for incremental changes inside an existing product. Deep-scope brainstorms now split into feature-tier (inherits product shape) and product-tier (must establish it), with triggered sections for Actors, Key Flows, and Acceptance Examples carrying stable IDs that preserve product intent through planning and execution.

What changes

ce-brainstorm — Phase 0.3 classifies Deep work as either Deep-feature (default, current behavior) or Deep-product based on whether product shape must be established. Phase 1.2 adds three product-tier pressure-test questions that force an explicit product thesis. Phase 2 clarifies that product-tier alternatives should differ on what is built, not how.

requirements-capture.md — Restructured around a tier-by-section matrix. Three new triggered sections:

  • Actors (A-IDs) — included when multiple humans, agents, or systems are meaningfully involved. Covers both end-user actors for product work and pipeline-agent actors for agent-workflow work.
  • Key Flows (F-IDs) — 2-4 primary flows expected by default at product tier, optional elsewhere. Each flow has trigger, actors, steps, outcome, and a Covered by: R-IDs back-reference so cross-cutting behavior survives into planning.
  • Acceptance Examples (AE-IDs) — included when a requirement's behavior is hard to pin down without a concrete scenario. Each example disambiguates via Covers: R-IDs. Definitive for what's listed, not exhaustive.

At product tier, Scope Boundaries splits into "Deferred for later" vs "Outside this product's identity" — the first is sequencing, the second is identity.

ce-plan — Origin-document carry-forward now explicitly preserves A/F/AE IDs as constraints implementation units must honor, and handles the Scope Boundaries split.

ce-work, ce-work-beta — Progress tracking references R-IDs (and optionally A/F/AE IDs) in blockers, deferred-work notes, task summaries, and final verification — not routine status updates. Closes the traceability loop from requirements to execution.

Section matrix at a glance

Section Lightweight Standard / Deep-feature Deep-product
Actors Omit unless triggered Triggered Triggered
Key Flows Omit unless triggered Triggered Expected by default
Acceptance Examples Omit unless triggered Triggered Triggered
Scope Boundaries Single list Single list Split: Deferred / Outside identity

Non-triggered sections (Problem Frame, Requirements with R-IDs, Success Criteria, Key Decisions, Dependencies / Assumptions, Outstanding Questions, Next Steps) are unchanged.

Design notes

  • No mandatory ceremony at feature tier. Nothing new triggers for incremental work unless the content itself warrants it.
  • No top-level ID namespaces beyond A/F/AE. CAP/UC/UJ/FR/G/NG/AC-style taxonomies were explicitly rejected; R remains the primary namespace.
  • No separate skill for product-tier. Detection happens inside ce-brainstorm's existing scope classification so users don't pre-commit to a workflow type.
  • "Acceptance Examples," not "Acceptance Criteria." The "Examples" qualifier encodes non-exhaustive intent in the name rather than via perpetual override notes, which decays under context compaction and handoff.
  • ce-work-beta synced with ce-work — the R-ID traceability guidance applies equally to both execution modes.

Test plan

Skill-content change, no test-suite changes required. Verified:

  • bun test — 831 passing, 0 failing.
  • bun run release:validate — clean (50 agents, 45 skills).
  • No broken markdown link references in the five affected files.

Compound Engineering
Claude Code

Deep brainstorms now split into feature (inherits product shape)
and product (must establish it). Product-tier adds triggered
Actors, Key Flows, and Acceptance Examples sections with A/F/AE
IDs that ce-plan carries forward and ce-work references in
blockers and verification — traceability runs end to end.
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 73202cdbd1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread plugins/compound-engineering/skills/ce-brainstorm/SKILL.md Outdated
Phase 1.2 product-tier guidance referenced a "Positioning subsection"
that doesn't exist in requirements-capture.md. The final design uses
Scope Boundaries split into "Deferred for later" and "Outside this
product's identity". Update the reference to match.

Address PR review feedback (#629)
@tmchow tmchow changed the title feat(ce-brainstorm): add product-tier for greenfield work feat(ce-brainstorm): product-tier with end-to-end ID traceability Apr 21, 2026
@tmchow tmchow merged commit bd77d55 into main Apr 21, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 21, 2026
tmchow added a commit that referenced this pull request Apr 21, 2026
Mirror the ce-brainstorm requirements-capture.md legibility convention:
horizontal rules (---) between top-level sections in Standard and Deep
plans. Improves scannability of dense plans where many H2 sections sit
close together. Omit for Lightweight plans.

Adds the convention to Phase 4.3 Planning Rules and inserts separators
throughout the core template and the optional Deep-extension template.

Refs PR #629 (originated the convention in the brainstorm template).
This was referenced Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant