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 idrequirement / 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

  1. Ensure docs/defects/ exists or create it from this prompt’s outputs.
  2. Copy from “Act as QC / Testing…” through “G. Open evidence gaps”.
  3. Paste defect text into the fence.
  4. Pair with @versona-testing when the team wants a formal §5 Testing Versona session in forge-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: .md only (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 update docs/requirements/ESTIMATES.md or defect front matter.
  • ISTQB vocabulary: use standard test levels, test types, and test design techniques per Testing approaches (blueprint).

Tasks

  1. 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).

  2. Search for existing same/similar defects in:

  3. docs/defects/INDEX.md
  4. docs/defects/**
  5. docs/requirements/TRACEABILITY.md
  6. Related requirement / Forge Spark Markdown under docs/requirements/**

  7. Choose exactly one canonicalization action A–G from Markdown-canonical workspace policy (optional repo profile), mapped to intent:

  8. A — keep existing defect; reject or reference duplicate incoming
  9. Bupdate existing defect with new evidence
  10. Cmerge incoming into existing defect record
  11. Ddistinct defect; cross-link related
  12. Esplit into multiple defects
  13. Freplace obsolete defect record (deprecate old)
  14. G — consolidate multiple stale records into one new DEF- id

  15. List missing evidence and add an evidence checklist (logs, version, build, account state, screenshots, network trace).

  16. Create or update defect.md with YAML front matter and body fields including:

  17. id (DEF-NNNN)
  18. related_requirements
  19. related_ingots / related_forge_sparks
  20. environment
  21. reproduction steps
  22. expected vs actual
  23. suspected_component
  24. repos
  25. est_fib / est_tshirt / risk_multiplier (per estimation rules)
  26. canonicalization (A–G + target id if merged)

  27. Draft rca.md structure:

  28. Symptom
  29. Probable causes (hypotheses)
  30. Most likely root cause (confidence)
  31. Why escape was possible (test/process gap)
  32. Corrective action (fix)
  33. Preventive action (CI, lint, monitoring, training)

  34. Estimate using workspace model; flag high uncertainty until repro confirmed.

  35. Test design (ISTQB): in test-impact.md, propose confirmation and regression coverage using techniques where relevant:

  36. Equivalence partitioning
  37. Boundary value analysis
  38. Decision tables
  39. State transition testing
  40. Exploratory testing (charter + timebox)
  41. Checklist-based testing

  42. Suites: list existing automated/manual suites to rerun; propose missing suites (name, scope, owner, automation feasibility).

  43. Files to touch (create/update as needed):

    • docs/defects/INDEX.md
    • docs/defects/DEF-XXXX/defect.md
    • docs/defects/DEF-XXXX/rca.md
    • docs/defects/DEF-XXXX/test-impact.md
    • docs/testing/TRACEABILITY.md or only docs/requirements/TRACEABILITY.md (per repo convention)
    • Related requirement / Spark / task files
    • docs/requirements/ESTIMATES.md (defect row)
    • imports/cursor-history/IMPORT-LEDGER.md if 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-testing owns testing strategy §5 depth; versona-se / versona-architecture for fix design; versona-pm for priority and release; versona-estimation for sizing method calibration.
  • Security defects: invoke versona-security when impact crosses abuse / data exposure.
  • Ember Log: significant acceptance of risk or scope change belongs in ember-logs/YYYY-MM-DD.md.