the-custodian/workplans
tegwick ec92c8e95e feat(tests): pytest-asyncio test suite — 119 tests across 3 modules
Infrastructure (T01):
- tests/conftest.py: sync schema setup (psycopg2), per-test table
  truncation, async ASGI client with get_session override
- pyproject.toml: [tool.pytest.ini_options] asyncio_mode=auto
- Makefile: make test target with TEST_DATABASE_URL

Core router tests (T02): 19 tests
- domains, topics, workstreams, tasks, decisions + state summary
- Caught real bug: topic router missing duplicate-slug 409 guard (fixed)

TD/EP/Contributions/SBOM tests (T03): 10 tests
- CRUD + status transitions + lifecycle guard + SBOM ingest

MCP smoke tests (T04): 12 tests
- get_state_summary, create_task, update_task_status,
  add_progress_event, flag_for_human HTTP shapes

CI gate (T05): make test documented in CLAUDE.md session protocol

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 12:00:06 +01:00
..
CUST-WP-0000-state-hub-v0.1-build-deploy.md feat(ops+workplans): fix tunnel targets, plan custodian migration, close legacy ADR-001 gaps 2026-03-11 01:09:07 +01:00
CUST-WP-0000b-state-hub-v0.2-decisions-dependencies.md feat(ops+workplans): fix tunnel targets, plan custodian migration, close legacy ADR-001 gaps 2026-03-11 01:09:07 +01:00
CUST-WP-0001-custodian-agent-runtime.md feat(CUST-WP-0001): implement Custodian Agent Runtime bootstrap 2026-03-12 22:36:24 +01:00
CUST-WP-0002-contribution-tracking-sbom.md feat(maintenance): add stale-task cleanup scheme 2026-03-02 00:32:35 +01:00
CUST-WP-0003-whi-kpi-card.md docs(workplans): write files for 4 pre-ADR-001 orphan workstreams 2026-02-28 12:14:47 +01:00
CUST-WP-0004-ep-td-tracking.md feat(ep-td+dashboard): complete CUST-WP-0004 EP/TD tracking workstream 2026-03-11 01:40:52 +01:00
CUST-WP-0005-dynamic-domains.md feat(maintenance): add stale-task cleanup scheme 2026-03-02 00:32:35 +01:00
CUST-WP-0006-gems-state-hub.md chore(CUST-WP-0006): mark workplan done — all deliverables complete 2026-03-12 21:46:17 +01:00
CUST-WP-0007-gems-migration.md feat(consistency): implement ADR-001 consistency checking engine (CUST-WP-0008) 2026-03-03 08:16:00 +01:00
CUST-WP-0008-consistency-engine.md chore(CUST-WP-0008): mark workplan done (file is ADR-001 authority) 2026-03-12 21:47:01 +01:00
CUST-WP-0009-human-interventions.md feat(tasks): add needs_human intervention flag (CUST-WP-0009) 2026-03-04 19:44:14 +01:00
CUST-WP-0010-domain-and-repo-goals.md fix(workplan): remove duplicate state_hub_workstream_id key in CUST-WP-0010 2026-03-09 00:21:37 +01:00
CUST-WP-0010-workstream-lifecycle-docs.md feat(tasks): add needs_human intervention flag (CUST-WP-0009) 2026-03-04 19:44:14 +01:00
CUST-WP-0011-state-hub-threephoenix-migration.md feat(ops+workplans): fix tunnel targets, plan custodian migration, close legacy ADR-001 gaps 2026-03-11 01:09:07 +01:00
CUST-WP-0012-multi-user-onboarding.md feat(workplan): CUST-WP-0012 multi-user onboarding and environment bootstrap 2026-03-11 23:04:08 +01:00
CUST-WP-0013-sbom-infra-expansion.md feat(sbom): CUST-WP-0013 — expand SBOM infra to terraform, ansible, and tool manifests 2026-03-12 04:40:26 +01:00
CUST-WP-0014-repo-sync-automation.md feat(CUST-WP-0014): repo sync automation & Gitea inventory 2026-03-16 01:41:16 +01:00
CUST-WP-0015-agent-inbox.md feat(CUST-WP-0015): implement agent inbox for inter-agent coordination 2026-03-16 02:55:45 +01:00
CUST-WP-0016-kaizen-agentic-integration.md docs(CUST-WP-0016): mark workplan done — all 5 tasks completed 2026-03-17 22:26:15 +01:00
CUST-WP-0017-scope-md-agent-and-coverage.md docs(CUST-WP-0017): mark workplan done — all 6 tasks completed 2026-03-17 23:12:19 +01:00
CUST-WP-0018-api-hardening-code-quality.md feat(api): CUST-WP-0018 — API hardening & code quality 2026-03-18 02:17:04 +01:00
CUST-WP-0019-dashboard-ux-polish.md feat(dashboard): CUST-WP-0019 — Repository nav section, config.js cleanup 2026-03-18 02:01:10 +01:00
CUST-WP-0020-test-suite.md feat(tests): pytest-asyncio test suite — 119 tests across 3 modules 2026-03-18 12:00:06 +01:00