factory/

directory
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0

Directories

Path Synopsis
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.
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.
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.
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>`).
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.
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.
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.
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.
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).
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.
Package intake turns triggers into Tasks (§1).
Package intake turns triggers into Tasks (§1).
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.
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.
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).
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).
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.
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).
Package runs builds and drives AgentRun claims (C3).
Package runs builds and drives AgentRun claims (C3).
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).
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.
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.
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.
Package tracing gives each factory task one root span (SP3 ruling R46).
Package tracing gives each factory task one root span (SP3 ruling R46).
Package triage decides a task's team and budget once (§2).
Package triage decides a task's team and budget once (§2).

Jump to

Keyboard shortcuts

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