How ronininc/kingmaker works
Kingmaker is a headless, voice-driven Mac agent: a person states a requirement and quality metric, the governed runtime routes and attempts the work, and results are checked against that metric before presentation. The README also documents model sizing and acquisition, knowledge grounding, code review, approvals, local vault custody, fleet sharing, and sealed outputs. Paths associate documented responsibilities with matching repository modules; source was sampled only for selected runtime, contract, and Armor modules, so the broader connections below rely on README statements rather than claims of inspected call sites.
Main entry points: decision-router.mjs Seeker Router · execution-loop.mjs Core Loop · brain-library.mjs Brain Library · Kingmaker.swift Kingmaker Shell
Components 18
Voice and Governance
- Kingmaker Shell
app/Kingmaker.swift - Voice Runtime
lib/voice.mjs - Seeker Router
lib/decision-router.mjs - Approval Gate
lib/permission-gate.mjs
Work and Capability
- Core Loop
lib/execution-loop.mjs - Oracle Metric
lib/model-pin-registry.mjs - Pipelines and Daemons
lib/automaton.mjs - Hands of Horus
Models and Knowledge
- Brain Library
lib/brain-library.mjs - Knowledge Library
lib/knowledge.mjs - Weight Hunter
lib/weight-hunter.mjs - Bliterator
lib/abliterate-model.mjs
Trust and Sharing
- REA Review
lib/rea.mjs - Vault Custody
lib/keys.mjs - Scripture Armor
scripture-armor/scan.mjs - Creation Seal
lib/armor-bundle.mjs - Fleet Learning
lib/fleet-learning.mjs
Other components
- Owner
Connections 19
- Owner → Voice Runtime: states requirement
README.md - Voice Runtime → Kingmaker Shell: activates
README.md - Kingmaker Shell → Seeker Router: routes through
README.md - Seeker Router → Approval Gate: holds gates
README.md - Seeker Router → Core Loop: routes work
README.md - Core Loop → Oracle Metric: measures against
README.md - Core Loop → Pipelines and Daemons: runs as
README.md - Pipelines and Daemons → Hands of Horus: dispatches clicking
- Seeker Router → Brain Library: draws from
README.md - Brain Library → Knowledge Library: includes
README.md - Seeker Router → Weight Hunter: fits chosen weight
README.md - Weight Hunter → Brain Library: proves equivalent
README.md - Brain Library → Bliterator: may produce weights
README.md - Seeker Router → REA Review: reviews outside code
README.md - REA Review → Scripture Armor: scans entrants
README.md - Approval Gate → Vault Custody: authorizes job access
README.md - Scripture Armor → Vault Custody: scans entrants
README.md - Core Loop → Creation Seal: seals creations
README.md - Core Loop → Fleet Learning: shares opted-in learning
README.md