v0.5.1
v0.5.1 — Hard Role Boundaries + Reception Contracts
Highlights
This release codifies role discipline across the multi-agent system. The main agent (aion) is now explicitly an orchestrator, not a worker. Leaf workers (coder / information-collector / requirements-analyst) now have Reception Contracts so dispatched tasks land in a predictable shape.
What's New
aion (main agent) — Hard Role Boundaries (HARD GATE)
The main agent prompt gains a new section that explicitly forbids:
- Direct file editing (no
edit/write/sed/awkfor code modification) - Direct debugging (no reading stack traces or code paths to "narrow down" a bug)
- Direct experiment building (no Python/TS/shell scripts)
- Direct evidence collection (no
aion_hf_*, no web search/fetch) - Direct requirement extraction (no contract writing)
A "temptation checklist" runs before every tool call: is this dispatch, integration, governance, or work? If work, dispatch via task. A 5-part dispatch prompt minimal contract (goal, symptom, constraints, reception contract, skill binding) is now mandatory.
A single narrowly-scoped emergency self-fix exception exists (main agent broken → cannot dispatch; fix < 10 lines; must immediately dispatch follow-up verification). Any agent taking this exception twice in one run is a structural signal to file a follow-up to add the missing capability.
coder — Reception Contract (Diagnose → Patch → Verify → Report)
Coder's intake is now codified as a 4-phase protocol:
- Diagnose — read symptom verbatim, locate source of truth on disk, cap at 5 files, write 3-bullet diagnosis
- Patch — minimum fix, no refactoring; bail (re-dispatch as build) if >3 files / >50 lines / new public API
- Verify — full test suite + build + typecheck
- Report — diff summary, root cause, verification, risk notes, follow-up, memory append
information-collector & requirements-analyst — Reception Contracts
IC declares its axes-decomposition (≥5 axes, primary+secondary sources, confidence tiers) and reformulation trail. RA declares its mandatory 7-step ordering (Hardware Probe → data probe → goal extraction → constraints → acceptance → risk → Compute Budget Reality Check verdict).
Tests
- 19 new role-boundary tests in
test/unit/role-boundaries.test.mjscovering: forbidden actions in main agent, allowed actions in main agent, leaf-worker reception contracts, no-Chinese invariant, subagent structure. - 574/574 tests pass, typecheck clean.
Upgrade
# In your project:
curl -fsSL https://raw.githubusercontent.com/ztxtech/aion/dev/scripts/install.sh | bash -s -- --force --version 0.5.1Files
aion-plugin-0.5.1.tar.gz— 276 KB- Source:
devbranch at commit449f50b