Coding system: external work loop and internal playbook loop

Coding system: external work loop and internal playbook loop An architecture diagram generated by Archify. Owner · scope and approval · Architecture component Owner scope and approval Vogelkop UI · scientific workbench surface · Architecture component Vogelkop UI scientific workbench surface OpenMausBot · bot, turns, run contract · Architecture component OpenMausBot bot, turns, run contract Bot record + SOUL.md · standing instructions · Architecture component Bot record + SOUL.md standing instructions Pi coding agent · RPC child, skill discovery · Architecture component Pi coding agent RPC child, skill discovery Working repo role map · .pi/pstack-model-roles.v1.json · Bot working repository configuration Working repo role map .pi/pstack-model-roles.v1.json pi-poteto-mode · selects one playbook · Architecture component pi-poteto-mode selects one playbook pstack principles · relevant loaded -pi skills · Architecture component pstack principles relevant loaded -pi skills Match task · one of 23 playbooks · Architecture component Match task one of 23 playbooks Investigation · read-only · Architecture component Investigation read-only Bug fix · reproduce first · Architecture component Bug fix reproduce first Feature · new behavior · Architecture component Feature new behavior Refactoring · preserve behavior · Architecture component Refactoring preserve behavior Perf issue · measure baseline · Architecture component Perf issue measure baseline figure-it-out · large / unmatched · Architecture component figure-it-out large / unmatched Verify and report · real check or blocked · Architecture component Verify and report real check or blocked pi-agentic-driver · workbench + other tools · Architecture component pi-agentic-driver workbench + other tools pi-durable · shared resumability target · Architecture component pi-durable shared resumability target authorizes work sends scoped turn supplies identity readiness check role resolution loads skill consults relevant rules matches task question defect new behavior structure slowness unmatched report to bot other Pi tools workbench workflow build inner recovery enable and restart-test outer resume (reported) Bot working repository configuration Legend Frontend Backend Database Security External