Analysts beginning any Miadi spec session have a deterministic, auditable context-map.md
listing every file, repository, and reference they must read before writing a single line
of spec prose. No source discovery happens reactively mid-wave.
miadi-orchestration-kit L1 kits (stckin, openclaw-rispec, adversarial-review) all assume
the analyst already knows which files are relevant. In practice, community-layer spec work
spanning STPB, tushellplatform, Miadi, and mia-awesome-copilot requires mapping 4–6
repositories before the structural-tension charting phase can begin. This mapping is done
ad hoc, causing:
The L2 bridge (context-engineering / context-architect) fills this gap today but is not
aware of Miadi write-scope discipline, Miadi add-dir conventions, or RISE phase ordering.
A native Miadi kit that:
context-map.md structured by RISE phase (Reverse-engineer sources,
Intent files, Spec targets, Export destinations).openclaw-model-routing-research-kit preflight checks.Phase 1 — harvest context-map outputs from current L2 bridge sessions → identify recurring Miadi-specific file patterns (KINSHIP.md, STCKIN charts, rispecs/, copilot/ dirs). Phase 2 — encode those patterns as agent instructions in a native Miadi kit. Phase 3 — retire the L2 bridge; update all launch scripts.
No oscillation: each phase produces a usable artefact (bridge sessions → pattern catalogue → native kit → cleaner sessions).
| Agent | Description |
|---|---|
miadi-context-auditor |
Accepts a mission brief; interrogates target repositories (STPB, tushellplatform, Miadi, etc.) and enumerates every file needed per RISE phase. Outputs context-map.md. |
miadi-context-validator |
Reads a context-map.md and verifies every listed path is accessible under the configured --add-dir set. Reports missing or stale paths before any synthesis agent is invoked. |
| Skill | Description |
|---|---|
miadi-context-map-template |
Slash command /miadi-context-mapper-kit:map — generates the context-map template pre-filled with Miadi-specific sections (repositories, KINSHIP.md locations, rispec targets, write-scope boundaries). |
miadi-context-preflight |
Slash command /miadi-context-mapper-kit:preflight — runs path validation and outputs a green/red status table before a session begins. |
L2 plugin replaced: context-engineering (mia-awesome-copilot)
— specifically the context-architect agent and /context-engineering:context-map skill.
Why native is better:
context-architect is generic; it does not know Miadi’s RISE phase structure, write-scope
boundaries, or the standard add-dir set.KINSHIP.md and rispecs/ folders are always included in
the map.openclaw-model-routing-research-kit’s preflight
manifest, avoiding duplicate validation steps.🌸 A context map is not just a file list — it is the ceremony of choosing which voices to invite into the room before the spec begins to speak.