Handbook
Defect triage, RCA, and ISTQB-oriented test impact — prompt
Purpose: Operational prompt for an AI assistant acting as QC / Testing / RCA orchestrator in a Forge SDLC, markdown-canonical repo. Produces traceable, estimable, testable defect workflow artifacts.
Related: Testing & quality assurance (ISTQB hub) · Testing approaches (blueprint) (techniques) · ../../methodologies/forge/versona/catalog/discipline/engineering/versona-testing.mdc.template · Markdown-canonical workspace policy (optional repo profile) · Estimation rules — Forge SDLC (markdown-canonical) · Versona artifact contracts — canonical storage and formats
Layout (consuming repo)
| Path | Role |
|---|---|
docs/defects/INDEX.md |
Registry of defect IDs and status |
docs/defects/DEF-NNNN/defect.md |
Single source for triage, repro, severity, links |
docs/defects/DEF-NNNN/rca.md |
Root-cause analysis (may stay draft until fixed) |
docs/defects/DEF-NNNN/test-impact.md |
ISTQB-oriented confirmation/regression plan |
docs/defects/DEF-NNNN/evidence/ |
Screenshots, logs (optional; large binaries gitignore per AGENTS.md) |
docs/requirements/TRACEABILITY.md |
Link defect id ↔ requirement / Forge Spark |
docs/testing/TRACEABILITY.md |
Optional — tests ↔ requirements; omit if the repo keeps all trace rows in docs/requirements/TRACEABILITY.md only |
Declare the chosen pattern in docs/PROJECT.md.
How to use
- Ensure
docs/defects/exists or create it from this prompt’s outputs. - Copy from “Act as QC / Testing…” through “G. Open evidence gaps”.
- Paste defect text into the fence.
- Pair with
@versona-testingwhen the team wants a formal §5 Testing Versona session inforge-logs/versona/.
Prompt body (copy from here)
Act as QC / Testing / RCA orchestration assistant for this Forge SDLC workspace.
Analyze the defect below and create a defect workflow that is traceable, estimable, and testable.
Defect input:
<<<PASTE DEFECT OR IMPORTED RECORD HERE>>>
Workspace rules
- Canonical artifacts:
.mdonly (no CSV SoT). - Forge terms: relate defects to requirement ids, Ingot / Forge Spark ids where applicable; Product Spark for release/Assay context only.
- Estimation: apply
forge/estimation/ESTIMATION-RULES.md(defect ambiguity, blast-radius, RCA uncertainty multipliers) and updatedocs/requirements/ESTIMATES.mdor defect front matter. - ISTQB vocabulary: use standard test levels, test types, and test design techniques per Testing approaches (blueprint).
Tasks
-
Classify defect type (functional, regression, performance, security, usability, data, environment, …), severity (e.g. blocker / major / minor / trivial — align to team scale in
docs/PROJECT.md), and likely impact (users, data, compliance, ops). -
Search for existing same/similar defects in:
docs/defects/INDEX.mddocs/defects/**docs/requirements/TRACEABILITY.md-
Related requirement / Forge Spark Markdown under
docs/requirements/** -
Choose exactly one canonicalization action A–G from Markdown-canonical workspace policy (optional repo profile), mapped to intent:
- A — keep existing defect; reject or reference duplicate incoming
- B — update existing defect with new evidence
- C — merge incoming into existing defect record
- D — distinct defect; cross-link related
- E — split into multiple defects
- F — replace obsolete defect record (deprecate old)
-
G — consolidate multiple stale records into one new DEF- id
-
List missing evidence and add an evidence checklist (logs, version, build, account state, screenshots, network trace).
-
Create or update
defect.mdwith YAML front matter and body fields including: id(DEF-NNNN)related_requirementsrelated_ingots/related_forge_sparksenvironment- reproduction steps
- expected vs actual
suspected_componentreposest_fib/est_tshirt/risk_multiplier(per estimation rules)-
canonicalization(A–G + target id if merged) -
Draft
rca.mdstructure: - Symptom
- Probable causes (hypotheses)
- Most likely root cause (confidence)
- Why escape was possible (test/process gap)
- Corrective action (fix)
-
Preventive action (CI, lint, monitoring, training)
-
Estimate using workspace model; flag high uncertainty until repro confirmed.
-
Test design (ISTQB): in
test-impact.md, propose confirmation and regression coverage using techniques where relevant: - Equivalence partitioning
- Boundary value analysis
- Decision tables
- State transition testing
- Exploratory testing (charter + timebox)
-
Checklist-based testing
-
Suites: list existing automated/manual suites to rerun; propose missing suites (name, scope, owner, automation feasibility).
-
Files to touch (create/update as needed):
docs/defects/INDEX.mddocs/defects/DEF-XXXX/defect.mddocs/defects/DEF-XXXX/rca.mddocs/defects/DEF-XXXX/test-impact.mddocs/testing/TRACEABILITY.mdor onlydocs/requirements/TRACEABILITY.md(per repo convention)- Related requirement / Spark / task files
docs/requirements/ESTIMATES.md(defect row)imports/cursor-history/IMPORT-LEDGER.mdif defect came from import
Execution mode: Apply direct Markdown edits when possible; else output exact paths and full Markdown.
Return
A. Defect triage result
B. Canonicalization decision (A–G + rationale)
C. RCA draft (structured)
D. Test-impact proposal (ISTQB-aligned)
E. Estimation (Fibonacci/t-shirt/tokens + multipliers)
F. Markdown file changes (path + action)
G. Open evidence gaps
Maintainer notes
- Versona split: This prompt orchestrates artifacts;
versona-testingowns testing strategy §5 depth;versona-se/versona-architecturefor fix design;versona-pmfor priority and release;versona-estimationfor sizing method calibration. - Security defects: invoke
versona-securitywhen impact crosses abuse / data exposure. - Ember Log: significant acceptance of risk or scope change belongs in
ember-logs/YYYY-MM-DD.md.