Skip to content
Factory configuration

Factory configuration

maku-factory reads its live catalogue, repository bindings and merge policies from Factory, Repository and MergePolicy objects and its startup plumbing from the Helm values file; every configuration key, default and status condition is in Maku’s configuration reference, architecture guide and merge policies guide.

Values that differ from Maku’s defaults

Example (the reference host): scripts/ci/validate-factory-config.sh validates the assembled manifests in tooling/base/agent-factory/ and each cluster overlay with maku config validate on every task check:

SettingValue on this platformManifest path
Shared ClusterRolesclusterRoles: false (rendered once by agent-factory-crds instead)tooling/base/agent-factory/helm-values-configmap.yaml, tooling/base/agent-factory/crds/helmrelease.yaml
Chart policy catalogmergePolicies.catalog: {enabled: true, exclude: [deps-patch]} (ships docs-links, revert, docs; platform keeps its own deps-patch)tooling/base/agent-factory/helm-values-configmap.yaml, tooling/base/agent-factory/resources/mergepolicy-deps-patch.yaml
Post-merge Flux monitor RBACmonitor.flux.enabled: truetooling/base/agent-factory/helm-values-configmap.yaml
GitHub Apps and per-run git tokensapps.merger.mode: separate (three Apps: agent-factory-github, agent-factory-agents-app, agent-factory-merger), runTokens: {enabled: true, perRun: true}tooling/base/agent-factory/helm-values-configmap.yaml
Ownership fence and policy stageconfig.factory: ${cluster_name}, config.policyManagement: {stage: manage}tooling/base/agent-factory/helm-values-configmap.yaml
Human API and OIDC presetlisten: ":8082", preset: zitadel, access: {links: broker, ttl: 5m}tooling/base/agent-factory/helm-values-configmap.yaml
Sponsored and internal principalsslack-app (dailyUSD: 5, maxCostUSD: 2) and runlore in the cluster overlaystooling/aws-0/agent-factory/helm-values-sponsored.yaml, tooling/gcp-0/agent-factory/helm-values-sponsored.yaml
Meter and throttle queriesVictoriaMetrics (:8428) gen_ai_client_token_usage_sum and VictoriaLogs (:9428) reason:RateLimittooling/base/agent-factory/helm-values-configmap.yaml
Control issue, defaults and workflowscontrol: {repository: Smana/cloud-native-ref, issue: 2188}, defaults: {dataClass: public, predictedClass: review}, triage.controlPercent: 0, workflows: {quick, standard, careful} (each Repository picks its default in spec.workflow.default, standard on all four), templates.pair.reviewerModel: kimi-frontiertooling/base/agent-factory/resources/factory.yaml, tooling/base/agent-factory/resources/repository-*.yaml
Merge defaults (spec.mergeDefaults)gateStatus: true, policyBot: false, approveToMerge: true, verifyFor: 30m, revertWindow: 168h, awaitingCIFor: 24h, breaker: {window: 10, maxReverts: 1, maxFollowUps: 1, recoverAfter: 3}tooling/base/agent-factory/resources/factory.yaml
Concurrency, budgets and loopscaps: {activeTasks: 3, concurrentRuns: 4, tasksPerDay: 20, awaitingHumanWIP: 5, preferRevisions: true}, budgets: {enforceTask: true, enforcePrincipal: false, factoryDailyUSD: 42.50, humanDailyUSD: 8.50, perPerson: {enabled: true}}, loops: {default: {scope: "off"}} (careful uses Maku’s shipped scoper, splitter and search defaults)tooling/base/agent-factory/resources/factory.yaml

Unlike Maku’s chart defaults (which bundle ClusterRoles, default apps.merger.mode to factory, and ship all four catalog policies), this platform splits the CRD ClusterRoles out for Flux ownership, keeps a dedicated merger App, excludes the catalog deps-patch to preserve its six protectedFiles and Flux monitor, and sets templates.pair.reviewerModel: kimi-frontier in tooling/base/agent-factory/resources/factory.yaml.