A video game where you play as a misaligned AI, deceiving and building power. An experiment in spec-driven development. cameron.tngl.io/misaligned

Merge origin/main: reconcile agent-play (parallel session) with the wiki migration master

origin/main gained two commits while this branch was held for review: CLAUDE.md (a session nav map) and "Agent play: implement line-protocol terminal mode" (a parallel Letta Code session implementing wiki/interface/agent-play.md for real). The agent-play commit forked before this branch's stage 4 landed, so it edited devlogs/*.md and DEVLOG.md at their pre-migration paths — exactly the collision spec/wiki.md's own migration plan warned about. Auto-merged cleanly (git's rename+edit heuristic applied their content onto the moved files correctly): README.md, wiki/log/2026-07-06- core-scope-split.md, wiki/log/2026-07-07-agent-play.md, wiki/process/workflows.md, tools/check.sh (their new "agent mode smoke" step and my "wiki gate"/"mdbook build" steps insert at different points in the file). wiki/process/specs.md, wiki/interface/agent-play.md, wiki/interface/terminal.md, DESIGN.md, and the new src/ files pulled in clean since this branch never touched them. One real conflict: wiki/log/DEVLOG.md — both sides inserted a new ledger entry at the same splice point (right after the header). Resolved by union per the ledgers-merge-by-union rule: kept both sides' entries, ordered by actual landing sequence (this branch's two newest entries on top, since this merge happens after theirs; their "Agent play implemented" entry in its chronological slot before stage 3). Also fixed CLAUDE.md's two remaining devlogs/DEVLOG.md path mentions (stale the moment this branch's stage 4 merges in) and a real portability bug the agent-play commit introduced: `setup_local_pkg_config`'s `gen_pc_if_missing` called `ldconfig` unconditionally — Linux-only, doesn't exist on macOS, and under `set -e` a missing command in a `var=$(cmd)` assignment aborts the whole script. Added a `command -v ldconfig` guard so the shim no-ops on platforms that don't need it (dyld, not ldconfig) instead of taking down every local `./tools/check.sh` run on macOS. ./tools/check.sh full green post-merge, post-fix (94 tests, both clippy feature sets, bevy build, spec headers, wiki gate, mdbook build, and the new agent-mode smoke step all pass).