git_sync
Synchronize Git history with the architecture whiteboard by running pre-commit verification gates, stamping commits, healing renames, refreshing AST anchors, and detecting drift.
Instructions
Step 4 (Verify & Sync): Run Git <-> Whiteboard sync: mode='pre' (50ms pre-commit gate checking STALE edit guard, AST signatures, call-graph % LAW reachability, > FLOW schemas, dangling imports, Bend 2 proofs, and unregistered_public_symbols; pass mark_verified=true to auto-transition STALE components to VERIFIED when allowed=true), mode='post' (stamp commit_sha, heal git mv renames, refresh #Lstart-Lend AST anchors, cascade STALE), mode='baseline', or mode='drift'.
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": "git_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Sync mode: pre, post, baseline, or drift | |
| board | No | Target board name (default: lattice_core) | |
| manifest | No | Optional JSON manifest path or inline JSON string | |
| project_root | No | Optional repository root path (auto-discovered by board name or file paths if omitted) | |
| mark_verified | No | Auto-transition STALE components to VERIFIED when mode='pre' gate passes (default: false) |