Skip to content
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

ADRTitleStatusDate
0041Coding agents run in agent-sandbox Sandboxes under gVisor, on a dedicated spot pool per cloud, with OpenHands as the harness profilePartly superseded: runs are maku-run-controller pods; gVisor and OpenHands stand2026-09-26
0042Agent Router is the agents’ identity gateway, with role and data class encoded in the token audience and an in-pod proxy holding the tokensPartly superseded by 0053 and maku-gateway2026-09-26
0043Agents 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 tagsPartly superseded: maku-factory mints per-run tokens; branch and tag rulesets stand2026-09-26
0044Rooms are an AHP-shaped log we own, stored in PostgreSQL, fanned out with Postgres LISTEN/NOTIFYAccepted2026-09-27
0045palantir/policy-bot, required through a repository ruleset, decides which agent PRs mergeAccepted2026-09-27
0048A custom Task controller with Kueue admission orchestrates the Agent FactoryPartly superseded: namespace ResourceQuota replaces Kueue; the Task controller stands2026-09-27
0049Humans reach rooms through a web UI the broker serves, behind oauth2-proxyAccepted (amended 2026-11-05)2026-09-27
0051An OpenTelemetry Collector is the agent trace gateAccepted2026-09-27
0053The agent router runs on agentgateway; ai-gateway stays on Envoy GatewayPartly superseded: runs call model-gateway; agentgateway stands2026-10-01
0056The factory is driven from the developer’s local agent, and a room is as visible as its repoPartly superseded by 00592026-10-08
0058The factory’s reviewer on public tasks keeps the implementer’s GLM modelAccepted; amended with a Kimi reviewer on self-merging classes2026-10-16
0059The factory is started, followed, and brought back from the developer’s coding agentAccepted2026-10-25
0060A request in plain words becomes a governed plan before any issue is filed, through one planner for every channelAccepted2026-11-05
0061Agent runs hold a read-only GitHub token and write only through outputs the factory validates and appliesProposed2026-11-07
0062Keep agent-sandbox and OpenHands; defer both kagent and Agent SubstratePartly superseded: runs are maku-run-controller pods; kagent and Substrate stay deferred2026-11-11