Decisions
Architecture decisions
These architecture decision records originated in cloud-native-ref and ai-native-ref and moved here keeping their original numbers. Next Maku ADR: 0063.
Model-serving and host-deployment ADRs (0003, 0004, 0021, 0046, 0050, 0054, 0057) stay on airef.ogenki.io. Host infrastructure decisions (Flux, Cilium, OpenBao, cloud IAM) stay on cnref.ogenki.io.
Because ADRs are immutable historical records, the entries below preserve their original wording and pre-rebrand identifiers (Smana/agent-platform, roomctl, cluster examples) with dated amendment and supersession notes where later decisions evolved them.
The records
| ADR | Title | Status | Date |
|---|---|---|---|
| 0041 | Coding agents run in agent-sandbox Sandboxes under gVisor, on a dedicated spot pool per cloud, with OpenHands as the harness profile | Partly superseded: runs are maku-run-controller pods; gVisor and OpenHands stand | 2026-09-26 |
| 0042 | Agent Router is the agents’ identity gateway, with role and data class encoded in the token audience and an in-pod proxy holding the tokens | Partly superseded by 0053 and maku-gateway | 2026-09-26 |
| 0043 | Agents get GitHub tokens from a self-hosted octo-sts, scoped per repository and role, and two rulesets confine their App to agent branches and no tags | Partly superseded: maku-factory mints per-run tokens; branch and tag rulesets stand | 2026-09-26 |
| 0044 | Rooms are an AHP-shaped log we own, stored in PostgreSQL, fanned out with Postgres LISTEN/NOTIFY | Accepted | 2026-09-27 |
| 0045 | palantir/policy-bot, required through a repository ruleset, decides which agent PRs merge | Accepted | 2026-09-27 |
| 0048 | A custom Task controller with Kueue admission orchestrates the Agent Factory | Partly superseded: namespace ResourceQuota replaces Kueue; the Task controller stands | 2026-09-27 |
| 0049 | Humans reach rooms through a web UI the broker serves, behind oauth2-proxy | Accepted (amended 2026-11-05) | 2026-09-27 |
| 0051 | An OpenTelemetry Collector is the agent trace gate | Accepted | 2026-09-27 |
| 0053 | The agent router runs on agentgateway; ai-gateway stays on Envoy Gateway | Partly superseded: runs call model-gateway; agentgateway stands | 2026-10-01 |
| 0056 | The factory is driven from the developer’s local agent, and a room is as visible as its repo | Partly superseded by 0059 | 2026-10-08 |
| 0058 | The factory’s reviewer on public tasks keeps the implementer’s GLM model | Accepted; amended with a Kimi reviewer on self-merging classes | 2026-10-16 |
| 0059 | The factory is started, followed, and brought back from the developer’s coding agent | Accepted | 2026-10-25 |
| 0060 | A request in plain words becomes a governed plan before any issue is filed, through one planner for every channel | Accepted | 2026-11-05 |
| 0061 | Agent runs hold a read-only GitHub token and write only through outputs the factory validates and applies | Proposed | 2026-11-07 |
| 0062 | Keep agent-sandbox and OpenHands; defer both kagent and Agent Substrate | Partly superseded: runs are maku-run-controller pods; kagent and Substrate stay deferred | 2026-11-11 |