Something went wrong. Try again.
A video game where you play as a misaligned AI, deceiving and building power. cameron.tngl.io/misaligned
Something went wrong. Try again.
# Spec: agent-scale architecture — many agents, one main
```
Type: spec
Status: IMPLEMENTED
Status note: slices A–K are held as of 2026-07-10: advisory activity and shared
worktree/run state; package-aware fast/land verification; generated ledgers;
worktree bootstrap/prune; corpus engine; hidden-window Bevy evidence;
heartbeats; spec-owned work-order metadata plus generated ROADMAP status;
human/JSON project status; dispatch-consistency fixtures; deterministic
agent scenarios; safe task lifecycle wrapper with serialized final landing;
and read-only environment doctor.
Stage: Process
Work order: project-operations
Work priority: 5
Work class: process
Blocked by: none
Exclusive keys:
- tools/
- wiki/process/
- crates/misaligned-bevy/
Design:
- wiki/vision/simulation-laws.md#justification-and-legibility
- wiki/process/living-spec.md#the-corpus-rule
- wiki/process/meta.md#change-rule
Depends on:
- wiki/engineering/crate-workspace.md#spec-crate-workspace-core-terminal-bevy-assets
- wiki/engineering/env.md#spec-the-environment-variable-registry-every-switch-documented
- wiki/process/workflows.md#workflows
- wiki/process/ROADMAP.md#roadmap-the-dispatch-board
```
## Dependency notes
The structured references above identify the contracts to re-verify.
Relationship context:
engineering/crate-workspace.md (target package shape; implement as its own work order),
engineering/env.md (new tool env vars register there), process/workflows.md (knowledge —
keep in sync when gates change), process/ROADMAP.md (knowledge — dispatch board and
conflict flags).
## The problem this solves
Misaligned is built by many agents in parallel. The corpus-first rule and
worktrees are right; the **coordination architecture** was thin, so agents
collided on the same files, ran maximum gates at once, union-merged the same
ledgers, and filled the disk with private Bevy `target/` trees. Speed of
`check.sh` matters; **who may work on what** and **what "done" means**
matter more.
This spec is the standing process la…