Project-anchored review
Observed need and evidence
Section titled “Observed need and evidence”Repeat decisions on the same initiative benefit from persistent context and review artifacts. Users running premortems, launch reviews, and RFC checks need CONTEXT.md and saved outputs for retrospectives.
Desired user and business outcome
Section titled “Desired user and business outcome”A user anchors decision context once, then runs commands that load that context and persist structured reviews under .redteam/reviews/.
Users and context
Section titled “Users and context”Product and engineering leads reviewing PRDs, RFCs, launches, and multi-week initiatives.
Current journey
Section titled “Current journey”- User runs
/redteam init→ writes CONTEXT.md (and.redteam/scaffold) - User runs
/redteam <command> <target>on a later session context.mjsresolves and loads CONTEXT.md- Output is saved to
.redteam/reviews/<slug>-<command>.md
Opportunity and hypothesis
Section titled “Opportunity and hypothesis”If review artifacts persist with stable filenames, teams will reuse them in retrospectives and pre-commitment gates (review, launch, rfc, record).
Intended behavior
Section titled “Intended behavior”Context loads from the project; reviews save to .redteam/reviews/ with predictable naming.
Given / When / Then scenarios
Section titled “Given / When / Then scenarios”-
Given the user has run
/redteam initand CONTEXT.md exists -
When the user runs
/redteam premortem launch -
Then context is loaded and output is saved to
.redteam/reviews/launch-premortem.md -
Given CONTEXT.md exists at the repo root or in
.redteam/ -
When
context.mjsruns -
Then it resolves context in order: root
CONTEXT.md→.redteam/→.agents/context/→docs/→$REDTEAM_CONTEXT_DIR -
Given a completed review command
-
When the user opens
.redteam/reviews/ -
Then artifacts are markdown files useful at retrospectives (assumptions, verdict, follow-ups)
Constraints and domain language
Section titled “Constraints and domain language”.redteam/config.jsonholds shared settings;config.local.jsonis gitignored- Facilitation commands (groupthink, ideate, converge) save session notes to
.redteam/sessions/<date>-<slug>.md - Decision records may mirror ADRs in
engineering/adrs/but.redteam/reviews/is the red-team source of truth
Success signals and telemetry
Section titled “Success signals and telemetry”.redteam/reviews/artifacts referenced in retrospectivesai-checkandreviewused before high-stakes decisions (qualitative)
Open questions
Section titled “Open questions”- Should
recordalways offer to mirror intoengineering/adrs/? — maintainers
Related requirements, tests, architecture, and ADRs
Section titled “Related requirements, tests, architecture, and ADRs”- Requirements: FR-3, FR-4, FR-5, FR-11
- Architecture: Project-anchored review flow, Data model
- Tests:
engineering/TESTING.md