feat: instance manifest, tool profiles, metrics, and budget enforcement

Land HARNESS-WP-0001 T01/T02/T04/T05: extend ADR-005 schedule.yml with
harness fields, named tool-profile registry, ADR-004 metrics writes, and
BudgetTracker wiring. CLI gains validate/profiles; task-file path kept.
This commit is contained in:
tegwick 2026-07-17 23:49:03 +02:00
parent 16f5c29c08
commit 4144eba160
17 changed files with 1387 additions and 60 deletions

View file

@ -1,10 +1,10 @@
"""Thin executor worker (BINKY-WP-0004-T04, DEC-2026-002).
"""Shared agent runtime (DEC-2026-002 / ADR-001).
activity-core schedules and emits tasks; this worker executes exactly one
task per invocation: load persona orientation (kaizen-agentic schedule
prepare), run a bounded agentic coding session via an llm-connect adapter,
verify the session committed to the target repo, and report to the
Custodian State Hub (progress event + optional task close).
Consuming repos declare instances in `.kaizen/schedule.yml`; this package
runs them: resolve tool profile + budget, load persona orientation
(kaizen-agentic schedule prepare), run a bounded agentic session via an
llm-connect adapter, verify the local commit, write `.kaizen/metrics`,
and report to the Custodian State Hub.
"""
__version__ = "0.1.0"