the-custodian/tools
codex 70f051fa96
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Python Tests / pytest (push) Successful in 34s
CUST-WP-0060 test coverage: validate_work_records suite + CI wiring + C-31 comment fix
Critical review of CUST-WP-0060 (T03-T06) found: shipped mechanism proven
only by manual/live-repo runs, no repeatable test suite; tests/ never
wired to CI at all (pre-existing gap, not introduced here).

- tests/test_validate_work_records.py: 30 tests against the live canon
  registry/schemas — classify() incl. all grandfathered legacy id
  schemes, per-kind schema gates (intake open/closed/promoted, decision
  prepared/resolved, engagement prepared), multi-doc yaml handling,
  malformed-yaml-only-errors-if-id-registered, main() end-to-end via
  subprocess (exit codes, template placeholders, --strict escalation,
  terminal-record historical grace incl. the boundary case that grace
  must NOT mask real enum violations), and the jsonschema-unavailable
  fallback path (the exact failure mode that broke the first Forgejo
  CI run before the runner-substrate fix)
- tools/validate_work_records.py: docstring said 'authoritative detector
  is fix-consistency C-25' — wrong, it landed as C-31 (C-25..C-30 were
  already taken); comment now correct
- .forgejo/workflows/python-tests.yaml: wires tests/ to CI for the first
  time in this repo (apt python3/pytest/jsonschema/yaml on the
  node:20-bookworm substrate, same pattern as work-records.yaml)
- tests/test_scan_workstream_terminology.py: found one pre-existing,
  unrelated failure while establishing the CI-representative baseline
  (agentic-resources allowlist entry no longer sets exclude_repo — a
  policy question, not a bug this task should resolve silently); marked
  xfail(strict=True) with the finding recorded so CI has a clean signal
  and a silent 'fix' doesn't go unnoticed either

Local verification with apt-sourced deps (jsonschema 4.10.3, matching the
CI runner's package source, not just pip): 34 passed, 1 known xfailed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 23:09:25 +02:00
..
add_archive_terminology_note.py CUST-WP-0055: finish T02/T06/T07 and close workplan 2026-07-08 20:26:24 +02:00
batch_author_repo_classifications.py Complete CUST-WP-0050 T11: classify and register remaining portfolio repos 2026-06-22 17:50:26 +02:00
cancel-duplicate-hub-tasks.sh feat(terminology): prose sweep tool and custodian workplan cleanup (CUST-WP-0055 T04) 2026-07-08 16:35:37 +02:00
gitea-disable-package-push.sh tools: disable Gitea package push on coulombcore (read-only mirror) 2026-07-08 13:26:09 +02:00
gitea-package-readonly-ingressroute.yaml tools: disable Gitea package push on coulombcore (read-only mirror) 2026-07-08 13:26:09 +02:00
gitea-set-readonly.sh tools: archive coulomb Gitea org for read-only mirror policy 2026-07-08 13:11:43 +02:00
gitea_ssh_inventory.py CUST-WP-0050 follow-up: human review, push tooling, SSH inventory 2026-06-22 17:59:55 +02:00
human_review_classifications.py CUST-WP-0050 follow-up: human review, push tooling, SSH inventory 2026-06-22 17:59:55 +02:00
migrate-gitea-repos-to-forgejo.sh tools: batch Gitea-to-Forgejo migration script 2026-07-08 12:39:16 +02:00
migrate-working-memory-pvc-to-clone.sh feat(T06): complete sink path decoupling and working-memory sweep sync 2026-07-07 01:01:26 +02:00
patch-forgejo-remote-urls.sh finish(CUST-WP-0054): workstation independence engineering closeout 2026-07-08 11:42:49 +02:00
phase5-stabilization-check.sh docs(CUST-WP-0054-T05): open Phase 5 stabilization window 2026-07-06 19:41:42 +02:00
phoenix-drill.sh finish(CUST-WP-0054): workstation independence engineering closeout 2026-07-08 11:42:49 +02:00
push_repo_classifications.sh CUST-WP-0050 follow-up: human review, push tooling, SSH inventory 2026-06-22 17:59:55 +02:00
railiance01-bulk-clone-repos.sh docs(CUST-WP-0054-T05): Phase 4 sweep checkout migration evidence 2026-07-06 19:24:28 +02:00
railiance01-register-host-paths.sh docs(CUST-WP-0054-T05): Phase 4 sweep checkout migration evidence 2026-07-06 19:24:28 +02:00
scan_workstream_allowlist.yaml CUST-WP-0055: finish T02/T06/T07 and close workplan 2026-07-08 20:26:24 +02:00
scan_workstream_terminology.py feat(terminology): add fleet scan allowlist and prose gate (CUST-WP-0055 T08) 2026-07-08 16:08:32 +02:00
sweep_workstream_prose.py feat(terminology): prose sweep tool and custodian workplan cleanup (CUST-WP-0055 T04) 2026-07-08 16:35:37 +02:00
validate_repo_classification.py Start CUST-WP-0050: T01 allowed-values + validator; classify the-custodian 2026-06-22 02:02:01 +02:00
validate_work_records.py CUST-WP-0060 test coverage: validate_work_records suite + CI wiring + C-31 comment fix 2026-07-20 23:09:25 +02:00