feat: engagement CLI for forward-deployed agency (WP-0009 T08)

Add kaizen-agentic engagement subcommands (list, show, validate, checklist,
phase, prepare, staff, quote, scrub, export-handoff) backed by engagement.py
for file-based pilot lifecycle. Tests cover staff/validate/phase/prepare and
the railiance01 pilot smoke path.
This commit is contained in:
tegwick 2026-07-16 11:20:52 +02:00
parent 600954500f
commit ad5965be91
6 changed files with 1661 additions and 7 deletions

View file

@ -125,6 +125,39 @@ kaizen-agentic schedule prepare optimization --format json
activity-core fires the schedule and creates a task per (repo, agent); the task
runs `schedule prepare`. kaizen-agentic does not run cron or invoke Claude.
### Forward-deployed engagements (WP-0009 / DEC-FDA-001)
```bash
# List / inspect pilot engagements under engagements/pilots/
kaizen-agentic engagement list
kaizen-agentic engagement show eng-coulomb-railiance01-ho-001
kaizen-agentic engagement validate eng-coulomb-railiance01-ho-001
# Checklists (ramp-up / ramp-down)
kaizen-agentic engagement checklist eng-coulomb-railiance01-ho-001
kaizen-agentic engagement checklist eng-… --mark RU-01=done
# Phase transitions (staffing → ramp_up → operating → ramp_down → closed)
kaizen-agentic engagement phase eng-… --to ramp_up
kaizen-agentic engagement phase eng-… --to operating --force # override graph
# Session orientation bundle (agent + vault + protocols + access plan)
kaizen-agentic engagement prepare eng-coulomb-railiance01-ho-001
kaizen-agentic engagement prepare eng-… --format json
# Staff a new pilot from a Role package
kaizen-agentic engagement staff \
--id eng-example-001 --role host-operator \
--client coulomb --target railiance01
# Kai quote, scrub before lesson export, handoff pack
kaizen-agentic engagement quote eng-coulomb-railiance01-ho-001
kaizen-agentic engagement scrub eng-…
kaizen-agentic engagement export-handoff eng-…
```
Does not invoke LLMs or touch production hosts. Spec:
`docs/forward-deployed-engagement-architecture.md`.
### Information
```bash
# List templates