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
..
2026-03-11 01:09:07 +01:00
2026-03-11 01:09:07 +01:00
2026-03-12 22:36:24 +01:00
2026-03-02 00:32:35 +01:00
2026-02-28 12:14:47 +01:00
2026-03-11 01:40:52 +01:00
2026-03-02 00:32:35 +01:00
2026-03-12 21:46:17 +01:00
2026-03-03 08:16:00 +01:00
2026-03-12 21:47:01 +01:00
2026-03-04 19:44:14 +01:00
2026-03-09 00:21:37 +01:00
2026-03-04 19:44:14 +01:00
2026-03-11 01:09:07 +01:00
2026-03-11 23:04:08 +01:00
2026-03-12 04:40:26 +01:00