Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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. |
|
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. |
|
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). |
|
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). |
|
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). |
|
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. |
|
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. |
|
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>`). |
|
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. |
|
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. |
|
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. |
|
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. |
|
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). |
|
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. |
|
intake
Package intake turns triggers into Tasks (§1).
|
Package intake turns triggers into Tasks (§1). |
|
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. |
|
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. |
|
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). |
|
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). |
|
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. |
|
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). |
|
runs
Package runs builds and drives AgentRun claims (C3).
|
Package runs builds and drives AgentRun claims (C3). |
|
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). |
|
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. |
|
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. |
|
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. |
|
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). |
|
triage
Package triage decides a task's team and budget once (§2).
|
Package triage decides a task's team and budget once (§2). |
|
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). |
|
Package ghidentity resolves a ZITADEL user to the GitHub login they linked (spec D7).
|
Package ghidentity resolves a ZITADEL user to the GitHub login they linked (spec D7). |
|
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). |
|
Package httpx is the one audited egress client.
|
Package httpx is the one audited egress client. |
|
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. |
|
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. |
|
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. |
|
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. |
|
skill
Package skill ships the factory-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 factory-handoff Agent Skill inside the maku binary, so the skill a developer installs always matches the CLI that will run its commands. |
|
Package mcp is the room's MCP port, :8090 (§3).
|
Package mcp is the room's MCP port, :8090 (§3). |
|
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. |
|
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. |
|
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). |
|
Package prpattern matches a repository's GitHub pull-request URLs.
|
Package prpattern matches a repository's GitHub pull-request URLs. |
|
Package redact removes secrets before anything reaches the log (SP2 §4, T8).
|
Package redact removes secrets before anything reaches the log (SP2 §4, T8). |
|
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. |
|
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. |
|
Package roomview renders the factory's four room views, and is the one place that makes untrusted text inert.
|
Package roomview renders the factory's four room views, and is the one place that makes untrusted text inert. |
|
Package runctl is the run-controller (adoption 3a): it reconciles agents.ogenki.io AgentRuns into the pod, ServiceAccount, ConfigMaps and CiliumNetworkPolicy that cloud-native-ref's Crossplane composition builds, minus the gateway, octo-sts, traces, Kueue and suspend.
|
Package runctl is the run-controller (adoption 3a): it reconciles agents.ogenki.io AgentRuns into the pod, ServiceAccount, ConfigMaps and CiliumNetworkPolicy that cloud-native-ref's Crossplane composition builds, minus the gateway, octo-sts, traces, Kueue and suspend. |
|
Package runrequest asks for the next run.
|
Package runrequest asks for the next run. |
|
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. |
|
Package slackapp is the factory's Slack App (factory interfaces F9): a sponsored principal that drafts and files issues from a thread, and a webhook subscriber that keeps the thread told.
|
Package slackapp is the factory's Slack App (factory interfaces F9): a sponsored principal that drafts and files issues from a thread, and a webhook subscriber that keeps the thread told. |
|
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. |
|
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. |
|
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). |
|
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. |
|
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. |
|
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. |
|
Package version carries the build version, stamped by -ldflags at image build.
|
Package version carries the build version, stamped by -ldflags at image build. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.