Instantiated from
copilot/session-charter-template.md
Session UUID: 2604291305-coaia-agent-rispecs (spec-authoring parent) Implementation session UUID: to be assigned at launch PDE UUID: 4da3f9f5-4fe4-4b92-9e9f-f4fead872780 Model: claude-opus-4.6 (approved fallback: claude-sonnet-4.6 if claude-opus-4.6 unavailable) Authored: 2026-04-29 by NORTH N3
Implement the COAIA integration rispec pack for coaia-agent into working integration code:
app.spec.md and any remaining rispec gaps identified during implementationveritas-mmot-companion.spec.md, medicine-wheel-governance.spec.md, and accountability-responsibility.rispec.md checked or explicitly deferredCurrent Reality: coaia-agent is an unmodified Hermes Agent 0.11.0 fork. No COAIA toolsets are registered. No rispecs existed before the spec-authoring session (2604291305). The rispec pack now exists but is not wired to any runtime code.
Desired Outcome: A coaia-agent session can optionally invoke PDE decomposition, STC creation, MMOT evaluation, and governance annotation through the Hermes tool registry — with Veritas and Medicine Wheel governance as independently opt-in tiers. The HERMES_HOME=~/.coaia-agent profile provides COAIA isolation without forking the runtime.
All --add-dir paths below. The executor must read these before Wave 1:
/a/src/coaia-agent
/a/src/coaia-agent/rispecs
/a/src/coaia-narrative
/a/src/coaia-visualizer
/a/src/coaia-planning
/a/src/coaia-pde
/a/src/mcp-pde
/a/src/mia-code/miaco
/workspace/repos/jgwill/miadi-orchestration-kit
/workspace/repos/jgwill/veritas
/workspace/repos/jgwill/medicine-wheel
/a/src/.mia/coaia-agent/deep-dive-2604291305
/a/src/.mia/coaia-agent/implementation-session-<YYYYMMDDHHMM>/
Replace <YYYYMMDDHHMM> with the actual session timestamp at launch. The executor creates this folder in Wave 0 (bootstrap) and writes EXECUTION_LOG.md before any implementation wave opens.
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/stckin-orchestration-kit
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/miadi-promotion-context-kit
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/miadi-adversarial-review-kit
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/structured-autonomy
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/software-engineering-team
/workspace/repos/jgwill/miadi-orchestration-kit/copilot/project-planning
The main session is a conductor. It does not directly write runtime code or rispec files. It:
EXECUTION_LOG.mdstckin-artefact-report skill at each wave boundaryRead and validate existing MCP tool surfaces before any implementation wave. Produce wave-1-south-report.md.
Reads: /a/src/coaia-pde/, /a/src/coaia-narrative/, /a/src/mcp-pde/, Veritas MCP spec, Medicine Wheel ceremony-protocol spec.
Deliverable: Confirmed tool names, schemas, transport types, env var requirements for all COAIA MCP servers.
After NORTH rispec-implementation waves, validate each acceptance criterion. Produce wave-N-west-report.md.
Uses: miadi-adversarial-review-kit (rise-revision-critic), se-technical-writer.
Deliverable: Pass/fail/deferred status for each acceptance criterion in the three main rispecs.
| Lane | Target | Wave |
|---|---|---|
| N-C | tools/coaia_pde_tool.py — PDE toolset registration |
Wave 2 |
| N-D | tools/coaia_narrative_tool.py — coaia-narrative MCP toolset |
Wave 3 |
| N-E | tools/coaia_veritas_tool.py — Veritas toolset (opt-in) |
Wave 4 |
| N-F | tools/coaia_governance_tool.py — Tier 1/2/3 governance |
Wave 5 |
| N-G | Config template update — governance, veritas, toolsets blocks | Wave 5 |
| N-H | app.spec.md authoring — missing overview rispec |
Wave 6 |
| N-I | WEST validation pass | Wave 7 |
| N-J | session-summary.md + artefact close |
Wave 8 |
Each NORTH lane:
wave-<N>-<lane>-report.md in the artefact folderThe main lane must not absorb implementation diffs. All file changes go through named NORTH sub-agents. The main lane only reads sub-agent reports, routes human decisions, and writes to EXECUTION_LOG.md.
At session close, the following must exist or be explicitly deferred with justification:
Implementation outputs (in coaia-agent/tools/):
tools/coaia_pde_tool.py — PDE toolset registered in Hermes registrytools/coaia_narrative_tool.py — coaia-narrative MCP toolsettools/coaia_veritas_tool.py — Veritas toolset (opt-in, check_fn gated)tools/coaia_governance_tool.py — governance check integration (Tiers 1–3)governance.*, veritas.*, toolsets.coaia.* blocksRispec outputs (in coaia-agent/rispecs/):
app.spec.md — high-level overview and reading order (created in this session)veritas-mmot-companion.spec.md checked or deferredmedicine-wheel-governance.spec.md checked or deferredaccountability-responsibility.rispec.md checked or deferredSession state outputs (in .mia/coaia-agent/implementation-session-<timestamp>/):
EXECUTION_LOG.md — live tracker updated after each wavewave-<N>-report.md per wavesession-summary.md — final close, what was created, what remains, child issue listOrchestration pack updates (in this folder):
EXECUTION_LOG.md is NOT here — it lives in the artefact folder abovesession-charter.md may be annotated with actual wave results after closeMust stay provenance-only (do not promote to runtime code in this session):
hermes-agent → coaia-agent in pyproject.toml / package.json) — gated by C1–C7 human decisionsMay promote to spec during this session:
app.spec.md — high-level overview if not already authored by the spec-authoring sessionMust remain context-layer / retrieval-adjacent:
Deferred to implementation session decision:
.github/plugin/plugin.json for coaia-agent — assess after Wave 6; do not create unless the pattern recursEach wave exits with a wave-<N>-report.md auditable by:
copilot --resume --model gpt-5-mini --reasoning-effort high --yolo --no-ask-user \
-p "Read EXECUTION_LOG.md and wave-<N>-report.md in /a/src/.mia/coaia-agent/implementation-session-<timestamp>/. Report: lanes used, files changed, acceptance criteria checked, what remains. Do not make changes."
The audit session must be able to answer concretely on these dimensions without reading chat history.