trace_enhance_prd
Assign tracking IDs to each PRD requirement by category and generate a traceability matrix. Creates an enhanced copy without altering the original PRD.
Instructions
Assign tracking IDs to every requirement in the PRD. Call after PRD is created (rc_define or prc_synthesize) and BEFORE building. Auto-discovers PRDs in both pre-rc-research/ and rc-method/prds/. Assigns deterministic IDs by category: PRD-FUNC-001, PRD-SEC-001, PRD-PERF-001, etc. (8 categories). In autonomous mode, also generates testable acceptance criteria. Creates the traceability matrix in rc-traceability/. After success: tell user how many requirements were tagged by category. Does NOT modify the original PRD - creates an enhanced copy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_path": "<project_path>"
},
"name": "trace_enhance_prd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prd_content | No | Optional: PRD text directly. If not provided, auto-discovers from standard locations. | |
| project_path | Yes | Absolute path to the project directory |