harness_reverse
Analyze existing source code to generate a project harness that documents structure, design rules, and requirements, with inferred intents marked as assumptions for human confirmation.
Instructions
Create /harness and reverse-assemble the harness from EXISTING code. Code is the evidence and wins over stale docs; inferred intent is marked [assumption] with a question for the human. Pass ProjectMind analysis in analysis when available.
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": "harness_reverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Extra context: roadmap, product intent, anything the code cannot contain. | |
| analysis | No | Optional richer analysis (e.g. ProjectMind MCP overview / symbol graph) to use instead of a shallow scan. | |
| project_path | Yes | Absolute path to the project root. Always pass it explicitly. |