the-custodian/workplans
tegwick 2fdbcb5d7a feat(CUST-WP-0001): implement Custodian Agent Runtime bootstrap
T2 complete: OODA loop skeleton with LLM integration, bounded actions,
and 32 offline unit tests.

Deliverables:
- runtime/agent.py     — CLI entry point (--domain/--all/--dry-run/--llm)
- runtime/context.py   — Observe: fetch_state + build_context
- runtime/actions.py   — Act: parse_plan + execute (3 sanctioned writes)
- runtime/README.md    — usage guide and architecture overview
- runtime/tests/       — 32 tests, fully offline
- runtime/pyproject.toml — standalone package with llm-connect dep
- canon/architecture/adr-002-custodian-agent-runtime-design.md

Key design decisions (ADR-002):
- Lives in runtime/ (not a new repo) — tight canon/state-hub coupling
- ClaudeCodeAdapter by default (local-first, no API key)
- Single-pass synchronous OODA for v0.1 simplicity
- Exactly 3 sanctioned write ops: add_progress_event, update_task_status, flag_for_human
- LLM returns JSON block in markdown for structured+auditable output

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:36:24 +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