diff --git a/AGENTS.md b/AGENTS.md index e7a5d70..2575833 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -68,7 +68,7 @@ curl -s -X PATCH "http://127.0.0.1:8000/messages//read" \ ### Update task status (after workstreams are synced) ```bash -curl -s -X PATCH "http://127.0.0.1:8000/tasks//" \ +curl -s -X PATCH "http://127.0.0.1:8000/tasks/" \ -H "Content-Type: application/json" \ -d '{"status": "in_progress"}' ``` @@ -89,8 +89,15 @@ curl -s -X PATCH "http://127.0.0.1:8000/tasks//" \ **Close:** 1. Update task statuses in workplan files to match progress 2. Call `POST /progress/` with a summary of what was done -3. If workplan files changed, note that `fix-consistency` should be run from - the custodian machine: `cd ~/the-custodian/state-hub && make fix-consistency REPO=repo-registry` +3. If workplan files changed, sync them to the hub DB: + +```bash +curl -s -X POST "http://127.0.0.1:8000/repos/repo-registry/sync" | python3 -m json.tool +``` + +This runs the ADR-001 consistency check with `--fix` and returns a JSON report. +A `"result": "warn"` with only C-17 is normal (unpushed commits); no action needed. +A `"result": "fail"` means file/DB drift that could not be auto-fixed — read the issues list. ---