feat(terminology): prose sweep tool and custodian workplan cleanup (CUST-WP-0055 T04)
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 6s

Add sweep_workstream_prose.py for agent-guidance files, sweep active workplan
prose in-repo, tighten scan allowlist exclusions, and update ADR-001 closure
protocol to workplan-first terminology.
This commit is contained in:
codex 2026-07-08 16:35:37 +02:00
parent 3bdefb3c4a
commit 2e0deee2ef
42 changed files with 312 additions and 186 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Cancel duplicate CUST-WP-0054 hub tasks created during 2026-07-07 workstream recreation.
# Cancel duplicate CUST-WP-0054 hub tasks created during 2026-07-07 workplan recreation.
set -euo pipefail
API_BASE="${API_BASE:-http://127.0.0.1:8000}"
@ -21,7 +21,7 @@ for id in "${DUPLICATES[@]}"; do
http=$(curl -sS -o /tmp/task-patch.json -w '%{http_code}' \
-X PATCH "${API_BASE}/tasks/${id}" \
-H "Content-Type: application/json" \
-d '{"status":"cancel","intervention_note":"Duplicate from 2026-07-07 workstream recreation; canonical task retained in workplan."}')
-d '{"status":"cancel","intervention_note":"Duplicate from 2026-07-07 workplan recreation; canonical task retained in workplan."}')
if [[ "$http" == "200" ]]; then
echo "CANCEL ${id}"
elif [[ "$http" == "404" ]]; then