Scaffold the readiness harness into a repo
scaffold_harnessGenerate a deployment-readiness harness in a repo by writing the adapter boundary, redaction config, gold-set templates, GitHub Action, and playbook for document-qa or extraction patterns without overwriting existing files.
Instructions
Run groundwork init [archetype] in a repo: writes the adapter boundary, redaction config, gold-set templates, GitHub Action, and playbook for a deployment pattern — document-qa (documents → grounded answers) or extraction (documents → structured fields). Never overwrites existing files. After scaffolding, the human wires groundwork/adapter.mjs and replaces the example gold cases with real ones.
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": {
"dir": "<dir>"
},
"name": "scaffold_harness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the repo root to scaffold into | |
| archetype | No | Deployment pattern to scaffold (default: document-qa) |