Refresh Guard Model
codapult_guard_analyzeRefresh repository discovery and persist current project facts and snapshots after changes, returning the new revision and discovery metrics without altering Guard rules, contracts, or baseline.
Instructions
Rediscover the repository and persist its current project facts and snapshots. Use after repository changes when codapult_guard_next_action returns needs-refresh or needs-setup; this does not change Guard rules, contracts, or baseline. Returns the new revision and discovery metrics.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "codapult_guard_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project path or workspace root. | |
| confirm | No | Required before writing refreshed Guard state. | |
| no_wait | No | Return immediately if another process holds the Guard state lock. | |
| wait_ms | No | Maximum time to wait for the Guard state lock, in milliseconds. |