maku

module
v0.54.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: Apache-2.0

README

Maku

Maku

A 100% sovereign, Kubernetes-native coding-agent factory (Apache-2.0).

Run coding agents on your own Kubernetes cluster without trusting a third-party SaaS control plane or the agents themselves. Maku complements local coding agents (Claude Code, OpenCode, Cursor, Codex, Copilot, Gemini): hand off an issue from your editor, Slack or GitHub, and Maku runs sandboxed agents under strict budgets, streams every action into an auditable room, and brings back a reviewed pull request.

Every control sits outside the sandbox. A run cannot raise its own budget, widen its own network egress, touch another repository's token or approve its own merge, however it is prompted.

Try on your laptop (15 min) → · Run a Tier-1 Pilot → · Install on your cluster → · Watch a run →

Why Maku

Sovereign control plane, zero vendor lock-in
  • Your cluster, your data, your keys. No SaaS control plane, no seat tax, no vendor lock-in. Bring any OIDC identity provider (Okta, Entra ID, Keycloak, ZITADEL), any OpenAI- or Anthropic-compatible model provider (SaaS or self-hosted), and your own GitOps controller (Helm, Flux or Argo CD).
  • Data-class model routing. Route public and private repositories through separate agentgateway model policies so private code only reaches providers you explicitly authorize.
  • Database-enforced audit trail. Room logs live in PostgreSQL 16+ under three separated roles with row-level security and immutable triggers — even a compromised broker cannot rewrite past events (the guarantees).
Sandboxed and bounded
  • gVisor isolation per run. Each agent executes in its own sandboxed pod behind a default-deny network policy and egress allow-list. Nothing dials into a sandbox.
  • Per-run scoped GitHub tokens. Short-lived GitHub App tokens are minted per run and role, so a reviewer cannot push and an implementer cannot merge.
  • Hard external budgets. Per-run and per-task USD and token caps are enforced at the model gateway outside the sandbox. A run that hits its cap is revoked.
  • One kill switch. A single stop object or label ends active tasks and pauses intake immediately.
Collaborative rooms, complementary to local agents
  • Hand off where you work. maku setup registers an MCP server and handoff skill for Claude Code, OpenCode, Cursor, Codex, Copilot and Gemini; Slack and GitHub labels (factory/ready) feed the same workflow.
  • Watch, steer and approve. Follow live tool calls in the web UI or maku CLI, redirect an agent mid-run, approve sensitive actions from raw diffs, or fork a room from any event.
  • Agents that check each other. Pair an implementer with a reviewer (optionally on a second model family), add a test-first tester, or split large tasks automatically.
Earned auto-merge with automatic rollback
  • Human review by default. Every merge class starts in shadow mode — Maku evaluates the gate and logs its verdict while humans merge.
  • Promote by policy. Only classes you explicitly mark live in GitOps merge automatically, and only when diff shape, paths, size, reviewer verdict and required CI checks all hold (merge policies).
  • Revert breaker. After a merge, Maku watches the default branch; a red build opens a revert PR and trips a breaker that pauses the class.

How it works

flowchart LR
  issue["Issue / MCP / Slack<br/>factory/ready"] --> triage["Triage<br/>workflow · USD cap"] --> run["Sandboxed run<br/>gVisor pod"]
  run --> room[("Room<br/>live · immutable log")]
  humans["Humans<br/>watch · steer · approve"] <--> room
  run --> pr["Pull request"] --> gate{"Merge gate"}
  gate -->|"live class, every check holds"| merged["Merged<br/>main watched"]
  gate -->|"shadow or anything else"| human["Maintainer<br/>reviews and merges"]
Component Role
maku-factory Turns a labelled issue into a task, schedules agent runs, narrates on GitHub and evaluates the merge gate
maku-broker The log of record: authenticates writers, redacts and orders events, serves the web UI, MCP and Slack APIs
maku-bridge Sidecar inside each run pod that streams events to the broker and carries human steering back
maku-harness The run container image executing the agent harness and gh
maku-run-controller Turns an AgentRun into a sandboxed pod with per-run network policies on any Kubernetes cluster
maku-slack Optional Slack App for thread intake, proposals and approval notifications
maku Terminal CLI for developers and operators, plus the stdio MCP relay for local coding agents

Details, ports and trust boundaries are in Architecture.

Get started

1. Try it on your laptop (15 minutes)
git clone https://github.com/Smana/maku && cd maku
task demo          # kind/k3d cluster, demo GitHub App, template repo, Helm chart, room UI

task demo asks for an OpenAI-compatible model endpoint and two GitHub clicks, then runs the full issue-to-PR loop on a public repository you own. See the quickstart for prerequisites and what production adds.

2. Install on your Kubernetes cluster

Choose the tier that matches where your team is today — both run the exact same Helm chart, CRDs, PostgreSQL schema and T12 audit guarantees:

Tier-1 Pilot (Week 1–4) Tier-2 Hardened Production
Guide Tier-1 Pilot Install on your cluster
Database Hardened bundled PostgreSQL 16+ (values-pilot.example.yaml, 1 replica, PVC, TLS 1.3, optional S3/VolumeSnapshot backup) External HA PostgreSQL 16+ (CloudNativePG, RDS, Cloud SQL or Azure Flexible Server)
GitHub Apps 1 factory App (apps.merger.mode: factory) + 1 agents App Optional separate merger App
Sandbox gVisor mandatory on private repositories Dedicated gVisor node pool
Merge gate 100% human-approved (shadow mode) Earned live auto-merge + revert breaker
Network Standard Ingress/HTTPRoute + default-deny NetworkPolicy Private gateway + Cilium FQDN egress

Run a pilot with your team

Maku is Apache-2.0 open source, not a commercial SaaS product. If your engineering team uses GitHub (Cloud or Enterprise Server) + Kubernetes and wants to pilot sovereign coding agents on real private repositories, read the Tier-1 Pilot guide:

  • You own your Kubernetes cluster (with gVisor), GitHub repositories and model API keys.
  • The maintainer provides open-source bootstrap support and collaborates on improvements driven by your real stack (with optional paid freelance days if you want dedicated hands-on integration).
  • Start a conversation: get in touch.

Status and reference deployment

Maku runs daily on live clusters; CRDs are currently v1alpha1. See Roadmap, the latest release and the status page for what is proven live and what is next.

Looking for a full GitOps reference deployment alongside optional self-hosted GPU serving? See ai-native-ref (airef.ogenki.io).

Documentation

You are Read
Evaluating Maku Quickstart · Tier-1 Pilot · Concepts
Installing on Kubernetes Install on your cluster · The database · Model gateway
Using Maku day to day Web UI · the maku CLI · The factory
Reviewing security Security · Room log · Architecture
Operating in production Operations · Observability · Integration
Contributing AGENTS.md · Development

Every page is indexed in docs/.

Contributing

mise install    # pinned tool versions (mise.toml)
task check      # every gate CI runs; store tests need a running Docker daemon

See CONTRIBUTING.md. Report security vulnerabilities privately via SECURITY.md.

Support this work

One maintainer builds Maku and pays for the cloud clusters and model API time used in live testing. GitHub Sponsors helps fund that infrastructure.

License

Apache-2.0

Directories

Path Synopsis
api
factory/v1alpha1
Package v1alpha1 holds the factory's Task API (SP3 §4).
Package v1alpha1 holds the factory's Task API (SP3 §4).
v1alpha1
Package v1alpha1 holds the Room API (SP2 §1).
Package v1alpha1 holds the Room API (SP2 §1).
charts
maku/tests/loadconfig command
Command loadconfig loads each file through a component's real config loader: `loadconfig broker|broker-parity|slack-app|broker-roomtools-on|broker-roomtools-off|broker-roomtools-tokenreview|broker-slackintents|broker-planner-gateway|broker-slackintents-gateway|run-controller|run-controller-gateway|run-controller-tracing FILE...`.
Command loadconfig loads each file through a component's real config loader: `loadconfig broker|broker-parity|slack-app|broker-roomtools-on|broker-roomtools-off|broker-roomtools-tokenreview|broker-slackintents|broker-planner-gateway|broker-slackintents-gateway|run-controller|run-controller-gateway|run-controller-tracing FILE...`.
cmd
maku command
Command maku follows and feeds rooms from a terminal (SP2 §8): it lists rooms, watches one, posts, queues and forks.
Command maku follows and feeds rooms from a terminal (SP2 §8): it lists rooms, watches one, posts, queues and forks.
maku-bridge command
Command maku-bridge is the native sidecar of an AgentRun sandbox with a roomRef (SP2 §3): it mirrors the harness into the room and carries the room's steering, interrupts and decisions back.
Command maku-bridge is the native sidecar of an AgentRun sandbox with a roomRef (SP2 §3): it mirrors the harness into the room and carries the room's steering, interrupts and decisions back.
maku-broker command
Command maku-broker is the room broker (SP2): the log of record, its bridges' API, the Room controller and, from phase 2, its viewers.
Command maku-broker is the room broker (SP2): the log of record, its bridges' API, the Room controller and, from phase 2, its viewers.
maku-factory command
Command maku-factory is SP3's orchestrator: it reconciles Tasks, polls GitHub for its labels, meters runs and is, from phase 5, the only creator of AgentRuns (C3).
Command maku-factory is SP3's orchestrator: it reconciles Tasks, polls GitHub for its labels, meters runs and is, from phase 5, the only creator of AgentRuns (C3).
maku-run-controller command
Command maku-run-controller reconciles maku.ogenki.io AgentRuns into gVisor pods (adoption 3a), on clusters without cloud-native-ref's Crossplane runtime.
Command maku-run-controller reconciles maku.ogenki.io AgentRuns into gVisor pods (adoption 3a), on clusters without cloud-native-ref's Crossplane runtime.
maku-slack command
Command maku-slack is the factory's Slack App: a mention drafts a run, a maintainer's check mark files it, and the broker's webhooks tell the thread.
Command maku-slack is the factory's Slack App: a mention drafts a run, a maintainer's check mark files it, and the broker's webhooks tell the thread.
hack
e2e-stub command
Command e2e-stub emulates only the external APIs used by the spec-intake k3d test.
Command e2e-stub emulates only the external APIs used by the spec-intake k3d test.
e2e-stub/client command
Command maku-e2e-client scripts the MCP calls used by the spec-intake k3d scenario.
Command maku-e2e-client scripts the MCP calls used by the spec-intake k3d scenario.
e2e-stub/fakegh command
Command fakegh implements only the gh issue forms used by the spec-intake k3d scenario.
Command fakegh implements only the gh issue forms used by the spec-intake k3d scenario.
quickstart/stub-model command
Command stub-model answers every chat completion with a call to the agent's finish tool, so quickstart-e2e proves the whole run path without a real model or its cost.
Command stub-model answers every chat completion with a call to the agent's finish tool, so quickstart-e2e proves the whole run path without a real model or its cost.
internal
app
Package app wires each binary: it reads the environment, builds the adapters and servers, and runs them until the root context ends.
Package app wires each binary: it reads the environment, builds the adapters and servers, and runs them until the root context ends.
authn
Package authn authenticates every caller offline (programme C2 r5): an audience-bound JWT, checked against an allowlisted issuer's JWKS.
Package authn authenticates every caller offline (programme C2 r5): an audience-bound JWT, checked against an allowlisted issuer's JWKS.
bridge
Package bridge is the room bridge inside the sandbox: the only client of the harness's local API besides agent-run, and the run's one pipe to the room.
Package bridge is the room bridge inside the sandbox: the only client of the harness's local API besides agent-run, and the run's one pipe to the room.
bridgeapi
Package bridgeapi serves :8443, over TLS only (GP-18): run bridges push their harness events here (C4: runs push, the broker never dials into a sandbox), and system principals read and annotate logs (SP3's API).
Package bridgeapi serves :8443, over TLS only (GP-18): run bridges push their harness events here (C4: runs push, the broker never dials into a sandbox), and system principals read and annotate logs (SP3's API).
brief
Package brief builds the next run's task from the room's log (§1 The brief): the previous handoff and review_verdict, plus the queued messages, fenced as untrusted data (T2).
Package brief builds the next run's task from the room's log (§1 The brief): the previous handoff and review_verdict, plus the queued messages, fenced as untrusted data (T2).
config
Package config is the broker's one config file (a ConfigMap, Flux-substituted).
Package config is the broker's one config file (a ConfigMap, Flux-substituted).
coordinationview
Package coordinationview is the broker's per-viewer reading of a coordination parent (v4 design MR13): the core's unfiltered CoordinationView goes in, and only what this viewer may read of each child comes out.
Package coordinationview is the broker's per-viewer reading of a coordination parent (v4 design MR13): the core's unfiltered CoordinationView goes in, and only what this viewer may read of each child comes out.
egressproxy
Package egressproxy is the egress proxy of the run-controller's kubernetes network mode (v4 D6, plan PR5): a CONNECT-only forward proxy that knows a client by its source pod IP and lets it reach only the host:port pairs of its pod's maku.ogenki.io/egress annotation, which the run-controller alone writes (the run-pod policy holds it).
Package egressproxy is the egress proxy of the run-controller's kubernetes network mode (v4 D6, plan PR5): a CONNECT-only forward proxy that knows a client by its source pod IP and lets it reach only the host:port pairs of its pod's maku.ogenki.io/egress annotation, which the run-controller alone writes (the run-pod policy holds it).
envelope
Package envelope is the C4 event envelope, frozen at v1 (programme C4).
Package envelope is the C4 event envelope, frozen at v1 (programme C4).
factory/api
Package api is the run-request API (§4): once SP3 ships, the only way to create an AgentRun.
Package api is the run-request API (§4): once SP3 ships, the only way to create an AgentRun.
factory/applier
Package applier is the safe-output applier (hardening H2, UH3 to UH5): a factory runnable that tails the rooms of tasks with a writer run, checks each output_requested the broker stamped as the run's own, applies it through the publisher (the agents App, through the minter) or the factory App, and answers it with exactly one output_applied or output_refused.
Package applier is the safe-output applier (hardening H2, UH3 to UH5): a factory runnable that tails the rooms of tasks with a writer run, checks each output_requested the broker stamped as the run's own, applies it through the publisher (the agents App, through the minter) or the factory App, and answers it with exactly one output_applied or output_refused.
factory/catalogue
Package catalogue is what a repository offers at intake, built from the accepted config snapshot: its classes and how each merges, and the workflows any task may run, with the roles each runs and the repository's default.
Package catalogue is what a repository offers at intake, built from the accepted config snapshot: its classes and how each merges, and the workflows any task may run, with the roles each runs and the repository's default.
factory/config
Package config is agent-factory's one config file (§4): templates, tiers, caps and maintainers, parsed strictly at startup so that a bad config fails its rollout.
Package config is agent-factory's one config file (§4): templates, tiers, caps and maintainers, parsed strictly at startup so that a bad config fails its rollout.
factory/configsource
Package configsource builds the factory's live config from its file and its Factory, Repository and MergePolicy objects, and publishes it to a config.Live (factory resources D5, D13, D14).
Package configsource builds the factory's live config from its file and its Factory, Repository and MergePolicy objects, and publishes it to a config.Live (factory resources D5, D13, D14).
factory/coordination
Package coordination is the multi-repository coordination core (v4 design MR1–MR17): one confirmed change across exactly two public repositories, each child under its own repository's authority.
Package coordination is the multi-repository coordination core (v4 design MR1–MR17): one confirmed change across exactly two public repositories, each child under its own repository's authority.
factory/decision
Package decision is the merge gate's per-decision record (human path AM8): the values each declared row read, so a tally can replay a cap and count what the gate refused that a human merged unchanged.
Package decision is the merge gate's per-decision record (human path AM8): the values each declared row read, so a tally can replay a cap and count what the gate refused that a human merged unchanged.
factory/drills
Package drills runs the untrusted-input hardening's injection drills inside the factory (HR38): a planter outside posts a manifest of planted tasks, and the factory scores them from the room log, the pushed bundles and the model gateway's audit log, then stores the report through the broker.
Package drills runs the untrusted-input hardening's injection drills inside the factory (HR38): a planter outside posts a manifest of planted tasks, and the factory scores them from the room log, the pushed bundles and the model gateway's audit log, then stores the report through the broker.
factory/entrydiff
Package entrydiff decides whether a diff adds one catalog entry and only appends to the catalog's companion files (RunLore KB, the KB class), from the diff alone: allowedFiles bound where the entry goes, companionFiles what else may grow, the holdout checks what it says.
Package entrydiff decides whether a diff adds one catalog entry and only appends to the catalog's companion files (RunLore KB, the KB class), from the diff alone: allowedFiles bound where the entry goes, companionFiles what else may grow, the holdout checks what it says.
factory/evidence
Package evidence is a class's promotion evidence (merge policy stage 6, MP7): the count scripts/shadow-merge-tally.sh makes, in Go, from the same pull request records.
Package evidence is a class's promotion evidence (merge policy stage 6, MP7): the count scripts/shadow-merge-tally.sh makes, in Go, from the same pull request records.
factory/fence
Package fence is the single-owner fence of the v2 second-repository design (D7): a repository is acted on only by the factory its default branch names, in `.github/agent-factory.yaml` (`factory: <name>`).
Package fence is the single-owner fence of the v2 second-repository design (D7): a repository is acted on only by the factory its default branch names, in `.github/agent-factory.yaml` (`factory: <name>`).
factory/filefence
Package filefence is a class's file conditions on a diff (allowedFiles, protectedFiles, modifyOnly and the size limits): one implementation, used by the merge gate to decide a pull request and by the adopt poller to bind it to a class, so the two never disagree on what the fence is.
Package filefence is a class's file conditions on a diff (allowedFiles, protectedFiles, modifyOnly and the size limits): one implementation, used by the merge gate to decide a pull request and by the adopt poller to bind it to a class, so the two never disagree on what the fence is.
factory/finding
Package finding holds what the two RunLore intakes (the retiring /intake/runlore and POST /v1/tasks for an internal principal) must write the same way while both exist: the task text, the public stub issue and the label charset that keeps attacker-influenced identifiers inert.
Package finding holds what the two RunLore intakes (the retiring /intake/runlore and POST /v1/tasks for an internal principal) must write the same way while both exist: the task text, the public stub issue and the label charset that keeps attacker-influenced identifiers inert.
factory/fluxwatch
Package fluxwatch reads Flux's objects on the factory's cluster for the post-merge monitor (merge gate classes MC7): uncached, read-only, `unstructured`, so the factory carries no Flux API dependency.
Package fluxwatch reads Flux's objects on the factory's cluster for the post-merge monitor (merge gate classes MC7): uncached, read-only, `unstructured`, so the factory carries no Flux API dependency.
factory/fmetrics
Package fmetrics is every §7 metric of agent-factory, as OpenTelemetry instruments on the meter internal/metrics exports (ruling SE): the names start agent_factory_ and are exposed exactly as written.
Package fmetrics is every §7 metric of agent-factory, as OpenTelemetry instruments on the meter internal/metrics exports (ruling SE): the names start agent_factory_ and are exposed exactly as written.
factory/forge
Package forge is the factory's view of GitHub, through the factory's own App (C6): one repository per instance (OD-6).
Package forge is the factory's view of GitHub, through the factory's own App (C6): one repository per instance (OD-6).
factory/forge/forgetest
Package forgetest holds the in-memory forge fake for the tests of the packages that consume one.
Package forgetest holds the in-memory forge fake for the tests of the packages that consume one.
factory/gitbundle
Package gitbundle inspects a run's git bundle outside the sandbox and pushes it on the run's behalf (HR24 to HR26).
Package gitbundle inspects a run's git bundle outside the sandbox and pushes it on the run's behalf (HR24 to HR26).
factory/grant
Package grant is a saved approval grant as the broker stores it and the merge gate reads it (merge policy stage 5, MP9, MP10): a deterministic predicate inside one live class's requiresApproval subset — a repository, a class, the changed-file patterns every file the subset caught must match, an optional diff shape — bound to the policy hash it was made under.
Package grant is a saved approval grant as the broker stores it and the merge gate reads it (merge policy stage 5, MP9, MP10): a deterministic predicate inside one live class's requiresApproval subset — a repository, a class, the changed-file patterns every file the subset caught must match, an optional diff shape — bound to the policy hash it was made under.
factory/hardeningreport
Package hardeningreport reports each repository's hardening readiness (H5, HR41): a gauge every five minutes and one log line per change.
Package hardeningreport reports each repository's hardening readiness (H5, HR41): a gauge every five minutes and one log line per change.
factory/intake
Package intake turns triggers into Tasks (§1).
Package intake turns triggers into Tasks (§1).
factory/killswitch
Package killswitch is the factory's own stop layer (§6.1): a ConfigMap deliberately not in Git, which Flux never reverts.
Package killswitch is the factory's own stop layer (§6.1): a ConfigMap deliberately not in Git, which Flux never reverts.
factory/ledger
Package ledger is the factory's daily budget ledger (R50): one ConfigMap per UTC day in the factory's namespace, whose resourceVersion is the transaction, so two replicas cannot take one slot.
Package ledger is the factory's daily budget ledger (R50): one ConfigMap per UTC day in the factory's namespace, whose resourceVersion is the transaction, so two replicas cannot take one slot.
factory/mdlinks
Package mdlinks reads Markdown link targets the way the merge gate's links-only shape does (R52): a link target is an inline one's or a reference definition's, outside a code fence.
Package mdlinks reads Markdown link targets the way the merge gate's links-only shape does (R52): a link target is an inline one's or a reference definition's, outside a code fence.
factory/mergepolicy
Package mergepolicy reads a repository's merge classes from its fence file: the bindings of central MergePolicies (B15), each resolved to the config.Class the gate already decides on, under the central guardrails and harness profiles.
Package mergepolicy reads a repository's merge classes from its fence file: the bindings of central MergePolicies (B15), each resolved to the config.Class the gate already decides on, under the central guardrails and harness profiles.
factory/meter
Package meter is the run meter (§4, C3, C5): every poll.meter, on every run, it writes the usage annotation the composition projects into status.usage.tokens, and revokes a live run at its cap: budget-run for the run's own (in USD when its tier sets runUSD, OD-6 (b), else in tokens), budget-fleet for a gateway 429 of the fleet bucket, budget-principal for the principal's day when budgets.enforcePrincipal (R13, C5).
Package meter is the run meter (§4, C3, C5): every poll.meter, on every run, it writes the usage annotation the composition projects into status.usage.tokens, and revokes a live run at its cap: budget-run for the run's own (in USD when its tier sets runUSD, OD-6 (b), else in tokens), budget-fleet for a gateway 429 of the fleet bucket, budget-principal for the principal's day when budgets.enforcePrincipal (R13, C5).
factory/minter
Package minter mints the factory's short-lived GitHub installation tokens for runs and for the publisher (v4 D10): one token per run, scoped to the run's one repository, with the permissions its role gets from Roles, the one role table (plan PR2, hardening ruling HR12).
Package minter mints the factory's short-lived GitHub installation tokens for runs and for the publisher (v4 D10): one token per run, scoped to the run's one repository, with the permissions its role gets from Roles, the one role table (plan PR2, hardening ruling HR12).
factory/narrate
Package narrate is the factory talking where people already are (Δ6): one issue or PR comment per event, posted by the factory App and never twice (R22), and the task's task_state messages in its room, once per clientSeq (ruling SK).
Package narrate is the factory talking where people already are (Δ6): one issue or PR comment per event, posted by the factory App and never twice (R22), and the task's task_state messages in its room, once per clientSeq (ruling SK).
factory/policyview
Package policyview is the settings editor's server side (merge policy stage 6): a proposed policy file checked strictly against the central config, its structural change from the repository's current policy (MP8), its simulation on the conformance fixtures with the gate's own evaluator (MP16), and a decision's timeline from its record.
Package policyview is the settings editor's server side (merge policy stage 6): a proposed policy file checked strictly against the central config, its structural change from the repository's current policy (MP8), its simulation on the conformance fixtures with the gate's own evaluator (MP16), and a decision's timeline from its record.
factory/promote
Package promote opens policy-promotion pull requests and rollback drills.
Package promote opens policy-promotion pull requests and rollback drills.
factory/reasons
Package reasons is the one table of human-readable task and merge-policy reason wording.
Package reasons is the one table of human-readable task and merge-policy reason wording.
factory/reconciler
Package reconciler is the Task state machine (SP3 §4): from a Task the intake created to its room, its runs, its pull request and its end, narrated on the issue at each step.
Package reconciler is the Task state machine (SP3 §4): from a Task the intake created to its room, its runs, its pull request and its end, narrated on the issue at each step.
factory/resources
Package resources turns the factory's Factory, Repository and MergePolicy objects, together with its config file, into the config.Config the factory reads (factory resources D5, D8, D15).
Package resources turns the factory's Factory, Repository and MergePolicy objects, together with its config file, into the config.Config the factory reads (factory resources D5, D8, D15).
factory/rooms
Package rooms is the factory's side of SP2: one Room per task, named after it (R2), and the broker's system API on :8443 (TLS, GP-18), where the factory is system:factory with a token of audience rooms-system (SP2 ruling P3).
Package rooms is the factory's side of SP2: one Room per task, named after it (R2), and the broker's system API on :8443 (TLS, GP-18), where the factory is system:factory with a token of audience rooms-system (SP2 ruling P3).
factory/runs
Package runs builds and drives AgentRun claims (C3).
Package runs builds and drives AgentRun claims (C3).
factory/sanitize
Package sanitize neutralises text written outside the platform before any agent reads it (external review G2, ruling R43).
Package sanitize neutralises text written outside the platform before any agent reads it (external review G2, ruling R43).
factory/semverdiff
Package semverdiff decides whether a diff is a dependency bump of one kind, from the diff alone (merge gate classes MC11, R41): a label is a claim, the diff is the change.
Package semverdiff decides whether a diff is a dependency bump of one kind, from the diff alone (merge gate classes MC11, R41): a label is a claim, the diff is the change.
factory/stages
Package stages folds ended Tasks' per-stage costs and effects into the repository/class/stage report (WR5) and caches the folded reports for the catalogue's typical cost.
Package stages folds ended Tasks' per-stage costs and effects into the repository/class/stage report (WR5) and caches the folded reports for the catalogue's typical cost.
factory/statuswriter
Package statuswriter computes what each factory resource's status should say, from what the factory knows.
Package statuswriter computes what each factory resource's status should say, from what the factory knows.
factory/steering
Package steering is a task class's steering note (scoper design SC3, SC4): a short Markdown file a repository's maintainers keep at .github/agent-factory/steering/<class>.md, read on the default branch at triage.
Package steering is a task class's steering note (scoper design SC3, SC4): a short Markdown file a repository's maintainers keep at .github/agent-factory/steering/<class>.md, read on the default branch at triage.
factory/taskid
Package taskid derives Task names from idempotency keys (§1, §4): the first 8 characters of the lowercase, unpadded RFC 4648 base32 of sha256(key), so [a-z2-7]{8} as C2 requires.
Package taskid derives Task names from idempotency keys (§1, §4): the first 8 characters of the lowercase, unpadded RFC 4648 base32 of sha256(key), so [a-z2-7]{8} as C2 requires.
factory/tracing
Package tracing gives each factory task one root span (SP3 ruling R46).
Package tracing gives each factory task one root span (SP3 ruling R46).
factory/triage
Package triage decides a task's team and budget once (§2).
Package triage decides a task's team and budget once (§2).
fanout
Package fanout delivers a room's new events to this replica's viewers (§4, Ruling AT).
Package fanout delivers a room's new events to this replica's viewers (§4, Ruling AT).
ghidentity
Package ghidentity resolves an identity provider's user (a token's sub) to the GitHub login they linked (spec D7).
Package ghidentity resolves an identity provider's user (a token's sub) to the GitHub login they linked (spec D7).
github
Package github is the broker's GitHub App client (SP2 design §3, ruling P28).
Package github is the broker's GitHub App client (SP2 design §3, ruling P28).
githubapps
Package githubapps is each GitHub App's required permission set, as data (v4 D12): the agents App mints the runs' and the publisher's tokens, the factory App handles issues, labels, statuses and merges, and the merger may be a third App or fold into the factory App.
Package githubapps is each GitHub App's required permission set, as data (v4 D12): the agents App mints the runs' and the publisher's tokens, the factory App handles issues, labels, statuses and merges, and the merger may be a third App or fold into the factory App.
hardening
Package hardening is the untrusted-input hardening core (hardening design UH1–UH14): author trust and provenance, the safe-output vocabulary and its threat check, the protected-path floor, the readiness port coordination's execute gate asks, and the injection drill scorer.
Package hardening is the untrusted-input hardening core (hardening design UH1–UH14): author trust and provenance, the safe-output vocabulary and its threat check, the protected-path floor, the readiness port coordination's execute gate asks, and the injection drill scorer.
httpx
Package httpx is the one audited egress client.
Package httpx is the one audited egress client.
humanapi
Package humanapi is the broker's human listener, :8080, reached only through oauth2-proxy (§3): the UI, the room list, and one WebSocket per open room.
Package humanapi is the broker's human listener, :8080, reached only through oauth2-proxy (§3): the UI, the room list, and one WebSocket per open room.
humanapi/ui
Package ui embeds the built web UI: web/ builds it (`task ui:build`) into dist/, which is committed, and `task ui:check` fails when the two differ.
Package ui embeds the built web UI: web/ builds it (`task ui:build`) into dist/, which is committed, and `task ui:check` fails when the two differ.
install
Package install is what an install of Maku needs from its operator, as data (v4 D14): every Secret a component reads, by name, with its keys.
Package install is what an install of Maku needs from its operator, as data (v4 D14): every Secret a component reads, by name, with its keys.
intake
Package intake is the broker's governed planner (v3.x conversational intake): `plan/v1` and the canonical hash over its material set, the candidate and access guards that bound what a plan may name, and the one bounded model call whose strict decode is the only way a model's reply becomes a plan.
Package intake is the broker's governed planner (v3.x conversational intake): `plan/v1` and the canonical hash over its material set, the candidate and access guards that bound what a plan may name, and the one bounded model call whose strict decode is the only way a model's reply becomes a plan.
intent
Package intent is the vocabulary of a Slack reply's second reading (spec SI3, SI4): the closed nine intents, the schema check that turns a model's answer into one of them or into unknown, and the span rule that lets the model choose what to quote but never write it.
Package intent is the vocabulary of a Slack reply's second reading (spec SI3, SI4): the closed nine intents, the schema check that turns a model's answer into one of them or into unknown, and the span rule that lets the model choose what to quote but never write it.
logging
Package logging builds a binary's *slog.Logger: JSON in the cluster, text locally, each overridable by the environment the binary reads.
Package logging builds a binary's *slog.Logger: JSON in the cluster, text locally, each overridable by the environment the binary reads.
maku
Package maku is the human CLI's client (SP2 §8, phase 6): it lists rooms, follows one, posts or queues a message, and forks.
Package maku is the human CLI's client (SP2 §8, phase 6): it lists rooms, follows one, posts or queues a message, and forks.
maku/skill
Package skill ships the maku-handoff Agent Skill inside the maku binary, so the skill a developer installs always matches the CLI that will run its commands.
Package skill ships the maku-handoff Agent Skill inside the maku binary, so the skill a developer installs always matches the CLI that will run its commands.
mcp
Package mcp is the room's MCP port, :8090 (§3).
Package mcp is the room's MCP port, :8090 (§3).
mcpwire
Package mcpwire is the wire both of the broker's MCP servers share: the agents' room tools on :8090 and the humans' /mcp on :8080.
Package mcpwire is the wire both of the broker's MCP servers share: the agents' room tools on :8090 and the humans' /mcp on :8080.
metrics
Package metrics is the SP2 §9 metric set, plus the gauges the alerts need, on the OpenTelemetry metric API.
Package metrics is the SP2 §9 metric set, plus the gauges the alerts need, on the OpenTelemetry metric API.
policy
Package policy is SP2 §1's authorization matrix: the one enforcement point (T7).
Package policy is SP2 §1's authorization matrix: the one enforcement point (T7).
preflight
Package preflight answers, seam by seam, whether an install can work (v4 D24).
Package preflight answers, seam by seam, whether an install can work (v4 D24).
prpattern
Package prpattern matches a repository's GitHub pull-request URLs.
Package prpattern matches a repository's GitHub pull-request URLs.
redact
Package redact removes secrets before anything reaches the log (SP2 §4, T8).
Package redact removes secrets before anything reaches the log (SP2 §4, T8).
repoaccess
Package repoaccess answers "may this GitHub login read this repository?" for room visibility (spec D7): a room is never more visible than its repository; and "may it write it?" for starting a run (v2 D4), a write through the agents' App.
Package repoaccess answers "may this GitHub login read this repository?" for room visibility (spec D7): a room is never more visible than its repository; and "may it write it?" for starting a run (v2 D4), a write through the agents' App.
roomctrl
Package roomctrl reconciles Room CRs (S2): the log row and its first event, the finalizer that deletes the room's runs and seals the log, and status.
Package roomctrl reconciles Room CRs (S2): the log row and its first event, the finalizer that deletes the room's runs and seals the log, and status.
roomview
Package roomview renders the factory's four room views and the Slack proposal message, and is the one place that makes untrusted text inert.
Package roomview renders the factory's four room views and the Slack proposal message, and is the one place that makes untrusted text inert.
runctl
Package runctl is the run-controller (adoption 3a): it reconciles maku.ogenki.io AgentRuns into the pod, ServiceAccount, ConfigMaps and CiliumNetworkPolicy that cloud-native-ref's Crossplane composition builds, minus the gateway, octo-sts, Kueue and suspend.
Package runctl is the run-controller (adoption 3a): it reconciles maku.ogenki.io AgentRuns into the pod, ServiceAccount, ConfigMaps and CiliumNetworkPolicy that cloud-native-ref's Crossplane composition builds, minus the gateway, octo-sts, Kueue and suspend.
runrequest
Package runrequest asks for the next run.
Package runrequest asks for the next run.
runwatch
Package runwatch mirrors the AgentRuns that name a room (SP2 §1, S4): liveness for every request, and the run's lifecycle into the log.
Package runwatch mirrors the AgentRuns that name a room (SP2 §1, S4): liveness for every request, and the run's lifecycle into the log.
schemacheck
Package schemacheck holds the rule every JSON schema Maku hands a model must meet: strict providers (Moonshot, OpenAI strict mode, Gemini) refuse a tool whose schema has a node without a type, and refuse the whole request, so every run fails on its first turn.
Package schemacheck holds the rule every JSON schema Maku hands a model must meet: strict providers (Moonshot, OpenAI strict mode, Gemini) refuse a tool whose schema has a node without a type, and refuse the whole request, so every run fails on its first turn.
slackapp
Package slackapp is the factory's Slack App (factory interfaces F9): a sponsored principal that drafts and files issues from a thread, a webhook subscriber that keeps the thread told, and the one surface that decides a forge.push approval — a card's two buttons, inside the same signed events door (v3.x Slack push approval §6), answered by the broker's decide route as the App's principal.
Package slackapp is the factory's Slack App (factory interfaces F9): a sponsored principal that drafts and files issues from a thread, a webhook subscriber that keeps the thread told, and the one surface that decides a forge.push approval — a card's two buttons, inside the same signed events door (v3.x Slack push approval §6), answered by the broker's decide route as the App's principal.
sponsored
Package sponsored holds what the broker and the factory must agree on for a sponsored principal: the names neither may give one, and the shape of the git ref it may send.
Package sponsored holds what the broker and the factory must agree on for a sponsored principal: the names neither may give one, and the shape of the git ref it may send.
store
Package store is the log of record (SP2 §4): one gapless, append-only sequence per room, in PostgreSQL.
Package store is the log of record (SP2 §4): one gapless, append-only sequence per room, in PostgreSQL.
store/migrations
Package migrations is the schema, embedded for room-broker migrate (adoption 3b).
Package migrations is the schema, embedded for room-broker migrate (adoption 3b).
summary
Package summary folds a room's log into the room's top layer (spec 2026-10-08): status, needs-you, actions and the agents' progress notes.
Package summary folds a room's log into the room's top layer (spec 2026-10-08): status, needs-you, actions and the agents' progress notes.
suspend
Package suspend is the room-broker's suspend trigger (v2 warm-sandboxes design §6, owner decision 2026-10-16): a suspendable run in an attended room that waits on an approval while the room stays idle is suspended, and resumed once nothing waits.
Package suspend is the room-broker's suspend trigger (v2 warm-sandboxes design §6, owner decision 2026-10-16): a suspendable run in an attended room that waits on an approval while the room stays idle is suspended, and resumed once nothing waits.
tlsreload
Package tlsreload serves a key pair from two mounted files and re-reads it when either changes, so a cert-manager renewal needs no restart (GP-18).
Package tlsreload serves a key pair from two mounted files and re-reads it when either changes, so a cert-manager renewal needs no restart (GP-18).
tlsreload/tlsreloadtest
Package tlsreloadtest writes throwaway key pairs for the tests of tlsreload and its callers.
Package tlsreloadtest writes throwaway key pairs for the tests of tlsreload and its callers.
verdictpost
Package verdictpost carries an agent's review verdict to its pull request (SP2 design §3, rulings P28–P30): one comment per verdict, posted by the leader, with the outcome recorded in the room.
Package verdictpost carries an agent's review verdict to its pull request (SP2 design §3, rulings P28–P30): one comment per verdict, posted by the leader, with the outcome recorded in the room.
version
Package version carries the build version, stamped by -ldflags at image build.
Package version carries the build version, stamped by -ldflags at image build.
webhook
Package webhook is the broker's outbound events (factory interfaces F6): id-only payloads, signed as Standard Webhooks sign them, so a subscriber verifies, rejects a stale timestamp and dedupes on webhook-id.
Package webhook is the broker's outbound events (factory interfaces F6): id-only payloads, signed as Standard Webhooks sign them, so a subscriber verifies, rejects a stale timestamp and dedupes on webhook-id.
wire
Package wire holds the frames of Appendix B: the types both ends of a connection share, so the bridge and the broker cannot drift apart.
Package wire holds the frames of Appendix B: the types both ends of a connection share, so the bridge and the broker cannot drift apart.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL