Skip to content
Like what we’re building? Star on GitHub

Package map ​

One row per package of this module, excluding vendored and generated trees. The third column lists exported interfaces — the seams a new variant plugs into rather than branching the core.

PackageWhat it isInterfaces
botsexposes the productised bot recipes shipped with iterion (the named team — Featurly, Billy, Willy, …) as an embed.FS so the binary can run them…—
ci/arc-runner/smoke——
cmd/corpus-readingCommand corpus-reading checks, or rewrites, the committed corpus reading internal/mdcode's witness pins.—
cmd/iterionCommand iterion is the CLI for the iterion workflow engine.—
cmd/iterion-desktopthe Iterion Desktop binary.—
cmd/iterion-execenv-guest——
cmd/iterion-live-statusCommand iterion-live-status is the entry point behind task test:live:status.—
cmd/release-floorsCommand release-floors realigns the syntax-floor pins to the release being cut: release-it runs it with --apply from its before:git:beforeRelease…—
cmd/render-gateCommand render-gate reads a rendered Kubernetes manifest stream (helm template, kustomize build, an Argo CD manifest dump) and refuses every…—
cmd/skill-shareCommand skill-share writes, checks, or re-pins the shared skills of the bot catalogue.—
connectorsexposes the connector packages shipped with iterion as an fs.FS, so the binary serves them from any working directory — the BAKED floor of the…—
contrib/mattermost-clarifyCommand mattermost-clarify is a chat channel adapter that wires a Mattermost bot ("@clarify-bot") to iterion's run-completion webhook (pkg/notify),…ChannelDriver, RelevanceFilter
e2e/fixtures/feature-dev-go-servicea small in-memory user service used as a realistic fixture for iterion's feature_dev bot live test.—
e2e/fixtures/feature-dev-go-service/handlerswires HTTP handlers against a *store.Store.—
e2e/fixtures/feature-dev-go-service/internal/storethe fixture's in-memory data layer.—
e2e/fixtures/feature-dev-go-service/middlewareholds http.Handler wrappers shared across the service.—
e2e/fixtures/renovacy-multi-stack/go-appexists only so secured-renovacy's align_code node has a real Go call-site referencing a pinned vulnerable gin version (CVE-2023-26125).—
e2e/fixtures/review-pr-mixspins up the job queue + a pool of workers.—
e2e/fixtures/review-pr-mix/authhandles bearer-token validation.—
e2e/fixtures/review-pr-mix/configloads runtime configuration from env vars.—
e2e/fixtures/review-pr-mix/queuea small FIFO job queue backed by a buffered channel.—
e2e/fixtures/review-pr-mix/storagereads/writes job payloads from a directory tree.—
e2e/fixtures/review-pr-mix/workerpulls jobs off a queue.Queue and runs them.—
examples/mcp_test_serverTiny MCP stdio server used by the live tests.—
internal/astexprreads the few go/ast expression shapes the source sweeps compare by spelling: the dotted text of a qualified name and the name a call resolves to by…—
internal/automaintguardholds the acceptance witness of scripts/auto-maintenance-check.sh — the preflight that decides whether a repository's dependency loop is safe to…—
internal/catalogtestthe one reading of the shipped bot catalogue that the bots package's behaviour tests and the corpus-wide sweeps under internal/sweep (catalogcorpus,…—
internal/ciguardholds tests that keep this repository's CI configuration honest from inside the test suite, where a required check can see them.—
internal/clawfoldcomputes and applies the fold of claw-code-go into pkg/claw, with a per-file proof that each moved file is the pinned source byte for byte except on…GoTool
internal/clifixtureholds the cli-free fixtures pkg/cli's tests — internal and external — and the author-corpus sweep (internal/sweep/authorcorpus) share: a minimal…—
internal/clitestthe test support pkg/cli's external tests and the author-corpus sweep (internal/sweep/authorcorpus) share: a buffered Printer, the validate and fmt…—
internal/corpusreadingreads the committed corpus the way internal/mdcode's four first-party readers do — every tracked .md, .yaml and .yml outside the skipped trees that…—
internal/credheaderreads ANTHROPIC_CUSTOM_HEADERS-format text — the newline-separated "Name: Value" lines a Claude-Code-compatible CLI applies LAST on every request…—
internal/credparityADR-161's parity table: one row per shape of "which credential does this call spend?", and the one answer every reader of that question owes it —…—
internal/detectteststages the host pkg/backend/detect probes, for a witness whose verdict follows a host detection report: the provider keys it names and a claude_code…—
internal/docsguardholds tests that keep this repository's documentation honest from inside the test suite, where a required check can see them.FS
internal/dotenvparses dotenv files the way every iterion loader plants them: ONE Go reader for the CLI's cwd walk (cmd/iterion applyDotEnv), the studio's…—
internal/enginefixturethe fixture support pkg/runtime's tests and the sweeps that drive its engine from outside it (internal/sweep/runtimecatalog,…—
internal/envtrusttells apart the environment iterion INHERITED from the part a project .env filled in.—
internal/floorsalignrealigns the syntax-floor pins at the release cut.—
internal/floortestderives, for a syntax-floor test, the release below a floor from the floor itself.—
internal/fswatchpreserves filesystem watcher errors with resource evidence captured in the failing process, where the limits actually apply.—
internal/gittestthe one place iterion's tests build a git subprocess, a throwaway repository, or unregister a worktree.—
internal/goroutinetestidentifies the live goroutines a test is answerable for by the FRAME they run, read out of the runtime's own dump.—
internal/hometestkeeps a test binary off the operator's homes: the iterion home (ITERION_HOME) and the user home (HOME).—
internal/httpxprovides the shared JSON request/response helpers used by iterion's HTTP handlers.—
internal/isolationenvthe ONE reader of every environment variable that can LOWER the isolation of the operator's run.—
internal/liveenvreads the launch knobs of the live e2e harness from the environment: the route every LLM node of a run is re-targeted at, the credential route that…—
internal/mdcodeanswers one question about markdown: which of its bytes are code.—
internal/modtypestype-checks this module's packages as the compiler sees them, for the guard tests that hold a rule over the whole tree: which code references a door,…—
internal/pricingtestisolates a test binary from the host's live model prices.—
internal/proctestchecks OS resources owned by a test binary.—
internal/rendergatejudges a rendered Kubernetes manifest stream — the output of helm template, kustomize build or an Argo CD manifest dump — for selectors that…—
internal/retryprobetestmodels the durable retry row the usage-window pull-forward probe acts on, so the real decision code of pkg/runner and pkg/server can be driven over…—
internal/routescanderives the REST surface the iterion binary serves from the SOURCE of its registrars: the routes pkg/server registers as literal patterns, the native…—
internal/safepathturns a name taken from an archive — a string chosen by whoever wrote the archive — into a path that is safe to write under a root.—
internal/skillsharethe sharing primitive for skills a bundle does not own alone.—
internal/stdiotestcaptures process stdout/stderr without depending on pipe capacity.—
internal/subbottestshares source-level bundle fixtures across the four launch surfaces.—
internal/sweep/authorcorpusholds the corpus benches of the author document (the YAML twin of a .bot): every .bot of the repository converted with fmt --to yaml and held to…—
internal/sweep/authorreadingguards that no pkg/server function reads an author document: the YAML decode of pkg/dsl/author is sized for the CLI, and the guard type-checks the…—
internal/sweep/catalogclaimsholds the guards that hold the bot catalogue to texts outside bots/: the doctrine pages its whole-tree staging must match, the pages that may not…—
internal/sweep/catalogcorpusholds the guards over the shipped workflow corpus as a whole: every bot under bots/ and examples/, the dispatcher's default assignee, the operator…—
internal/sweep/dslprofileguards that the repository's own DSL is written in syntax profile 2: every tracked .bot file opens with dsl: 2, and every DSL code fence of the…—
internal/sweep/e2ematrixholds the guards over docs/e2e-coverage-matrix.md and the stabilisation plan derived from it: the e2e-coverage bot's own contract code, sliced out of…—
internal/sweep/itertokenholds the zero-trace guard for the deprecated workflow extension that .bot replaced: TestNoIterExtensionAnywhere greps every tracked file of the…—
internal/sweep/mintchokepointguards the derivation chokepoint over team-token mints across the whole module: every mint primitive demands the gate's verdict, the verdict is…—
internal/sweep/modelseamsholds the source sweeps that pin pkg/backend/model's seams across the whole module: no test discards the restore a global lookup install returns…—
internal/sweep/publishedtreeholds the guards over what this repository publishes as a whole: no tracked file under bots/, examples/, docs/, skills/, scripts/, charts/, ci/ or…—
internal/sweep/runtimecatalogholds the pkg/runtime guards whose subject is the shipped bot catalogue under bots/: each compiles or runs a real .bot (or a bundle's presets/) under…—
internal/sweep/runtimedocsholds the pkg/runtime guards whose subject is an operator page: docs/sandbox.md's bounded promise about the image-ENV screen, the residue it states…—
internal/sweep/runtimeseamsholds the pkg/runtime guards whose subject is the code AROUND the engine: they read or type-check the module's source to hold every caller of an…—
internal/sweep/sandboximagesholds the guards that hold the sandbox images and the runner image to the bots that run on them: the sec image's exact deepsec pin and its…—
internal/sweep/serversurfaceguards the seams between the server's REST surface and the sources that spell it from outside pkg/server: every /api path and (method, path) pair the…—
internal/sweep/sweepguardholds the guards over every package under internal/sweep as a set.—
internal/sweepwalkthe one walk every repository-wide AST sweep reads: the skip list and the nested-checkout rule below, and one visit per Go file they reach.—
internal/testfsholds the filesystem gestures tests share: removing only scratch paths inside a test-owned root, and writing an executable no concurrent fork can…—
internal/testparallelbounds how wide a test binary runs its parallel tests, from TestMain.—
internal/treeskipnames the trees this repository's generated artifacts never describe: vendored or installed third-party code, sibling worktrees, the engine's own run…—
internal/yamlxcentralizes the repository's yaml.v3 entry points so the canonical style lives in one place: strict unmarshaling (unknown fields rejected) and…—
pkg/alertimplements run-health alerting for the iterion studio / server.ErrorReportingSink, ObservedLane, Sink
pkg/artifactlabelsderives semantic labels for a published artifact from the SHAPE of its output data — so an artifact groups under "Plans", "Verdicts", etc.—
pkg/askusermcpholds the ask-user MCP tool surface shared by the two transports that expose it to a claude_code session: - the stdio server (iterion…—
pkg/assistantmissionpersists bounded, host-authorized control loops between a conversational assistant and one target run.Store
pkg/auditpersists control-plane mutations into a queryable, tenant-scoped log.Store
pkg/authimplements the multitenant authentication core: password hashing, JWT issuance/verification, refresh token rotation, and the per-request Identity…EmailChangeStore, JWTDenylist, PasswordResetStore, SessionStore
pkg/auth/desktopssoholds the single-use, TTL-bounded ticket store that carries a DEFERRED login between the OIDC callback (which MINTS a ticket for a desktop SSO flow)…Store
pkg/auth/oidcowns the SSO connectors: Google, GitHub, and a generic OIDC discovery-based provider.Connector, StateStore
pkg/auth/orgssoowns the per-tenant (per-org) SSO provider configuration: the rows an iterion org admin self-serves to enable login via their own Keycloak (a…DomainStore, Store
pkg/auth/wsticketholds the single-use, short-TTL ticket store that lets a client open an authenticated WebSocket without carrying a long-lived access JWT in the URL…Store
pkg/authoringlockowns the lock that serializes the writers of one stored bot file: its identity (where it lives and what it is called), its exclusive take, and the…—
pkg/backend/ambientiterion's switch for what an agent node inherits from its surroundings besides its prompt (ADR-119).—
pkg/backend/automemoryiterion's switch for the backends' native auto-memory: the MEMORY.md an agent maintains across runs to carry what it learned.—
pkg/backend/auxllmthe ONE credential channel a server-side auxiliary LLM surface resolves through: the merge-conflict resolver (pkg/runview/conflict_agent.go), a…—
pkg/backend/backendcapsowns the declarative inventory of built-in backends.—
pkg/backend/compatgwserves openai_compatible/<gateway model id> from the deployment's environment: OPENAI_COMPATIBLE_BASE_URL names an OpenAI-compatible gateway…—
pkg/backend/costholds the per-model token-pricing table used to annotate generation outputs with _tokens / _model / _cost_usd.—
pkg/backend/credrouteADR-161's one resolver: which credential a call spends.—
pkg/backend/delegateprovides the Backend interface and types for executing agent/judge nodes via pluggable backends (CLI agents like claude-code/codex, or API-based…AsyncQuestionBackend, Backend, SessionLedger
pkg/backend/delegate/claudesdkprovides a Go SDK for the Claude Code CLI.ContentBlock, MCPServerConfig, Message
pkg/backend/delegate/piextembeds the iterion pi extension and materialises it for a run.—
pkg/backend/delegate/pisdka Go port of the client surface pi (https://pi.dev, github.com/earendil-works/pi) publishes for driving its coding agent from another process.—
pkg/backend/detectprobes the host environment for available LLM credentials and CLI binaries, producing a Report consumed by the studio (UI hints) and the runtime…—
pkg/backend/effortlevelorders the reasoning-effort levels and coerces one onto a model's accepted set: the one rule the claw backend sends by (model.coerceEffortForModel)…—
pkg/backend/forfaitimplements a best-effort Anthropic "forfait" (Claude Code OAuth subscription) usage-cap check used by the LAYER-2 run-level auto-resume loop.Doer
pkg/backend/llmtypesdefines iterion-owned types for the LLM generation layer.FatalToolError
pkg/backend/mcp—BrowserRegistry, ChromiumRunner
pkg/backend/modelprovides the ModelRegistry and claw-based NodeExecutor for resolving "provider/model-id" specs and executing LLM nodes.ActionTransport, AsyncAskBinder, AsyncAskHook, AttachmentLister, AttachmentWriter, CodemodeState, ConnectorResolver, EventEmitter, InboxBinder, InboxHook, NodeServedRecorder, PlanWriter, SecretRefResolver, SessionCaptureSink, SinkSecretRefResolver, ToolBlobWriter, ToolContractViolation, TurnWriter
pkg/backend/modelroutethe one reading of a model spec: which provider routes it, which id goes on the wire, and which id names its capabilities.—
pkg/backend/modelspecsthe dynamic model-spec registry: model metadata (context window, max output tokens, pricing, and the reasoning/tool_call/temperature flags) fetched…—
pkg/backend/permissionimplements iterion's tool-permission gate — the anti-hypnosis / anti-prompt-injection boundary shared by every backend with an enforcement seam.—
pkg/backend/permissionhookadapts third-party CLI PreToolUse payloads to iterion's shared permission.Policy evaluator.—
pkg/backend/recipedefines the RecipeSpec model and loading/application logic.—
pkg/backend/rewriteiterion's command-output-rewriter extension point: the generalization of what used to be the hardcoded rtk integration.—
pkg/backend/secretguardprotects secret values from leaking through an agent run.—
pkg/backend/sessionpackpacks and unpacks CLI session files for ADR-089 persist.—
pkg/backend/thinktokensprovides an approximate token count for extended-thinking (reasoning) text.—
pkg/backend/toolprovides a unified ToolRegistry that normalizes built-in tools and MCP server tools under a single namespace and resolution scheme.ClassifierLogger, ModelConsultingChecker, ToolChecker, WatchStore
pkg/backend/tool/privacyimplements two iterion built-in tools that detect and redact personally identifiable information (PII): - privacy_filter: detect or redact 5…—
pkg/backend/tool/privacy/detectorimplements the pure-Go PII detection backend used by the privacy_filter / privacy_unfilter built-in tools.Rule
pkg/backend/toolcatalogthe compile-time view of a node's tools: list: which backends the list actually CONSTRAINS, and which bare tool names the run-time registry can…—
pkg/backend/tooldisplayturns a tool call (name + raw JSON input) into the strings the engine renders in console logs and the per-node Tools tab.—
pkg/benchmarkimplements a multi-recipe benchmark runner with isolated workspaces and comparable metrics collection.—
pkg/benchmark/asymptotecomputes per-iteration quality scores from persisted runs and compares groups of runs (e.g.—
pkg/benchmark/discoverymeasures what a run spent on ORIENTATION — the reads, searches and listings an agent performs to find its way around a repository — as opposed to…—
pkg/benchmark/qualitythe subjective quality + value-for-money assessment layer for iterion's live e2e tests.—
pkg/boardcapsthe vocabulary of the native kanban board's capability names: the ONE list the DSL compiler validates a capabilities: entry against and the board…—
pkg/botdepsmanages project-pinned shared bot dependencies.—
pkg/botimportconverts Claude-Code workflow scripts (.claude/workflows/*.js — the export const meta + agent() / phase() / log() shape) into DRAFT .bot…—
pkg/botinstallimports a bot bundle from a git URL or local path into a workspace so iterion bots list, the dispatcher, and the studio discover it.—
pkg/botlockloads the project-root lockfile for shared bot bundles.—
pkg/botregistrydiscovers bots on disk: single .bot files and .botz bundle directories.—
pkg/botreplayimplements a record/replay golden-test framework for iterion bots.—
pkg/botscaffoldrenders a new bot bundle (main.bot + manifest.yaml + README.md + the bundle layout directories) from a builder Spec.—
pkg/botsetupthe vocabulary of a bot's setup read model: the state of each step that connects a bot in a team (source, repositories, triggers, secrets, funding,…—
pkg/botsourcepersists TEAM-AUTHORED bot bundles: the writable, tenant-scoped counterpart to the read-only catalog baked into a runner image.Store
pkg/brandembeds iterion's bot identity — the mascot avatar of the official iterion-bot GitHub account — so the server can upload it onto the accounts it…—
pkg/budgetfloorholds capacity back from unreserved work so a named workload keeps a shared credential longer — a PREFERENCE at admission, and deliberately not…—
pkg/bundleimplements the .botz archive format: a ZIP archive that packages an iterion workflow (main.bot) with adjacent resources (skills, prompts,…—
pkg/bundlelintcross-checks a bot bundle's manifest.yaml against its compiled main.bot workflow, surfacing structural inconsistencies that neither the manifest…—
pkg/claw/hooks—HookProgressReporter
pkg/claw/internal/api—APIClient, EffortWire, ImageGenerator, Provider, ProviderRefusal
pkg/claw/internal/api/httputilholds tiny formatting helpers shared by every HTTP-based provider (openai, foundry, vertex, bedrock-on-HTTP, ...).—
pkg/claw/internal/api/providers/anthropicimplements the Anthropic direct API provider.—
pkg/claw/internal/api/providers/bedrockimplements the AWS Bedrock provider using the Anthropic "Messages" payload shape via InvokeModelWithResponseStream.—
pkg/claw/internal/api/providers/foundryimplements the Microsoft Azure AI Foundry / Azure OpenAI Service provider.—
pkg/claw/internal/api/providers/moonshotimplements the Moonshot provider: Kimi models reached through Moonshot's Anthropic-compatible endpoint.—
pkg/claw/internal/api/providers/openaiimplements the api.Provider and api.APIClient interfaces for OpenAI's chat completions API with streaming support.—
pkg/claw/internal/api/providers/openaiwireholds the wire-level JSON types shared by every provider that speaks the OpenAI Chat Completions protocol.—
pkg/claw/internal/api/providers/verteximplements the Google Cloud Vertex AI provider for Anthropic models.—
pkg/claw/internal/api/providers/zaiimplements the z.ai provider: GLM models reached through z.ai's Anthropic-compatible endpoint (the Coding Plan's /api/anthropic wire).—
pkg/claw/internal/api/sseutilholds tiny helpers shared between providers that translate OpenAI-style SSE tool_call streams into the Anthropic-shaped api.StreamEvent vocabulary.—
pkg/claw/internal/apikitprovides API transport infrastructure: telemetry, error classification, retry logic, context-window preflight checks, proxy support, and prompt…TelemetrySink
pkg/claw/internal/apikit/telemetry/otlpgrpcimplements an OTLP/gRPC exporter for apikit.TelemetryEvent using the official OpenTelemetry SDK (sdk/log + otlploggrpc).—
pkg/claw/internal/authreads the Codex CLI's credentials for claw's OpenAI provider.—
pkg/claw/internal/commands—ConfigSwitcher, PluginManagerProvider, SessionDirProvider, SessionManager, UsageTracker
pkg/claw/internal/config—DiagnosticKind
pkg/claw/internal/context——
pkg/claw/internal/hooksprovides an in-process programmatic hook system for the claw-code-go runtime.—
pkg/claw/internal/hooks/hookstestingprovides test helpers for the hooks package.—
pkg/claw/internal/lsp——
pkg/claw/internal/mcp—FlushWriter, Provider, ResourceClient, Transport
pkg/claw/internal/mcp/oauthimplements an OAuth 2.0 Authorization Code + PKCE broker for authenticated remote MCP servers, with an on-disk token cache.—
pkg/claw/internal/permissions—Classifier, ClassifierLogger, PermissionPrompter
pkg/claw/internal/pluginsimplements the plugin lifecycle: discovery via a remote marketplace, fetch + checksum verification, install/uninstall state on disk, and the slash…SignatureVerifier
pkg/claw/internal/runtime——
pkg/claw/internal/runtime/laneimplements lane-level event tracking, commit provenance, branch locking, and freshness analysis for multi-lane orchestration.GitRunner, LaneEventData
pkg/claw/internal/runtime/task——
pkg/claw/internal/runtime/team——
pkg/claw/internal/runtime/trustimplements centralized trust-prompt detection and resolution.—
pkg/claw/internal/runtime/worker——
pkg/claw/internal/strutilprovides small string helpers shared across packages.—
pkg/claw/internal/testutil——
pkg/claw/internal/testutil/schematestsupplies the offline schema guarantee to transport tests.—
pkg/claw/internal/toolsPorted from rust/crates/runtime/src/bash_validation.rs — pipeline and security gate extensions.Asker
pkg/claw/internal/usageprovides token usage tracking and best-effort cost estimation.—
pkg/claw/pkg/apire-exports the internal/api surface via type aliases.—
pkg/claw/pkg/api/commandsexposes the .claude/commands/ workspace-command convention on the public API surface, so an in-process embedder resolves a /name prompt the way…—
pkg/claw/pkg/api/hooksthe public façade over the internal lifecycle hooks runner.—
pkg/claw/pkg/api/lspthe public façade over the internal LSP subsystem that backs the lsp tool.—
pkg/claw/pkg/api/mcpthe public façade over the internal MCP subsystem that backs the list_mcp_resources / read_mcp_resource / mcp_auth tools and the SSE/HTTP transports.—
pkg/claw/pkg/api/mcp/oauththe public façade over the internal MCP OAuth broker.—
pkg/claw/pkg/api/providers/anthropicre-exports the internal Anthropic provider via type alias.—
pkg/claw/pkg/api/providers/bedrockre-exports the internal Bedrock provider via type alias.—
pkg/claw/pkg/api/providers/foundryre-exports the internal Azure AI Foundry provider via type alias.—
pkg/claw/pkg/api/providers/moonshotre-exports the internal Moonshot provider via type alias.—
pkg/claw/pkg/api/providers/openaire-exports the internal OpenAI provider via type alias.—
pkg/claw/pkg/api/providers/vertexre-exports the internal Vertex AI provider via type alias.—
pkg/claw/pkg/api/taskthe public façade over the internal task subsystem that backs the task_* tools.—
pkg/claw/pkg/api/teamthe public façade over the internal team subsystem that backs the team_* and cron_* tools.—
pkg/claw/pkg/api/toolsexposes a stable public-API surface over the built-in tool implementations that ship with claw-code-go.—
pkg/claw/pkg/api/workerthe public façade over the internal worker subsystem that backs the worker_* tools.—
pkg/claw/pkg/apikitre-exports selected symbols from internal/apikit via type aliases.—
pkg/claw/pkg/apikit/telemetry/otlpgrpcthe public façade over the OTLP/gRPC log exporter implemented in internal/apikit/telemetry/otlpgrpc.—
pkg/claw/pkg/permissionsre-exports the internal permissions package via type aliases so external consumers (e.g.—
pkg/claw/pkg/runtimere-exports selected provider factory functions from claw-code-go's internal runtime.—
pkg/claw/pluginPackage plugin: remote marketplace fetch + verify.Plugin
pkg/cliimplements the iterion command-line interface.ReliabilityRunSource
pkg/clockprovides a small Clock abstraction so time-dependent logic (notably the per-day spend-cap reset) can be driven by a fake clock in tests.Clock
pkg/cloud/metricscentralises the Prometheus metrics exposed by the cloud-mode iterion server and runner pods.—
pkg/cloud/orgsweepnightly-purges organizations that were soft-deleted (Status == pending_deletion) once their grace window (Org.PurgeAfter) has elapsed.RunStore
pkg/cloud/tracingwires the OpenTelemetry trace SDK so the spans emitted by pkg/runtime, pkg/runner, and pkg/server are actually exported.—
pkg/cloudschedthe cloud-mode recurring-bot scheduler: a per-org store of cron-scheduled bots and a multi-replica-safe ticker that fires each due schedule exactly…Store
pkg/configloads iterion runtime configuration from environment variables and an optional YAML file.—
pkg/configsharethe scoped, self-service config-file editor: a per-(bot × repo × config-file × category) grant, addressed by a dynamic URL and authenticated by…Store
pkg/connectionwhat authenticates a connector call: the binding between a tenant, a connector package, an instance of that vendor, and the credential to reach it.Catalog, ForgeStore, PackageStore, Store
pkg/connector/bindingreads a stored connector event the way a subscription binds it (ADR-168 §6, §9): which subscriptions an event matches, and the vars a matched one…—
pkg/connector/execturns a declared operation into an HTTP call and its answer into a typed result.—
pkg/connector/facadethe MCP offer over a connector package (ADR-098 §2, #2758): a connector's operations exposed to an agent as MCP tools, with the model choosing among…—
pkg/connector/genturns a vendor API description into a connector package.—
pkg/connector/identitypreserves the meaning of connector names across generation.—
pkg/connector/ingressreads one inbound delivery the way a connector package declares it (ADR-168 §3, §4): bounded extraction of the credential, the verification of the…—
pkg/connector/intakeholds what a connector source owes after it answered a vendor (ADR-168 §8): the durable INTAKE row a delivery or a polled item becomes, and the…Matcher, Store, Submitter
pkg/connector/overlaythe AUTHORED half of a connector package.—
pkg/connector/pollerholds the durable state of a connector source that iterion reads instead of being called (ADR-168 §7): one record per poller — a query against one…Store
pkg/connector/pollingruns a connector source iterion reads instead of being called (ADR-168 §7): each poller's tick calls its trigger's read operation through the…—
pkg/connector/specstores and judges the catalog identity a connector package may declare about its icon: the load-time sanitation, size cap and digest that let a route…—
pkg/credpoolmutualises LLM subscription credentials that individual developers lend to a deployment.AttachmentStore, LeaseStore, Ledger, PledgeStore, PoolStore
pkg/credusagemeters per-CREDENTIAL monthly LLM spend — the question the org bucket cannot answer.Counter
pkg/deeplinkbuilds the URLs that point a human at a page of the studio.—
pkg/dispatcherimplements iterion's long-running dispatcher.ManagedRunner, RouteMux, RunLauncher, Runner
pkg/dispatcher/boardmongothe Mongo-backed implementation of native.BoardStore — the cloud counterpart of the filesystem pkg/dispatcher/native.Store.TriggerCoordinator, TriggerStore
pkg/dispatcher/nativeimplements iterion's first-class issue/kanban tracker.BoardAdmin, BoardStore, IssueGetter, LaunchClaimer, RouteMux, StateReasoner, UniqueTitleCreator
pkg/dispatcher/native/boardopscontains the capability-gated operations that the __mcp-board MCP server and the /api/v1/mcp/board HTTP handler share.—
pkg/dispatcher/trackerdefines the issue-tracker abstraction used by the dispatcher (iterion dispatch).ClaimLeaser, ClaimReaper, LaunchStateLister, Tracker
pkg/dryrunexecutes a compiled workflow without the world: a NodeExecutor that renders what each node would send and answers with a schema-shaped output, an…ShellChecker
pkg/dsl/astMarshalFile / UnmarshalFile provide JSON serialization and deserialization for File types, converting Go iota-based enums to human-readable string…—
pkg/dsl/authorreads and writes the YAML twin of a .bot file — the author document of lot 5 of #1010: the same declarations as the .bot, in the .bot's…—
pkg/dsl/author/internal/probecheckCommand probecheck is the harness of the F20 authoring probe for the YAML twin (docs/references/dsl-authoring-probe.md): it reads author documents…—
pkg/dsl/canongives a .bot file its canonical form: the text the studio saves (pkg/dsl/unparse), proven to read as the same program AND to carry the same…—
pkg/dsl/docfencesreads the fenced code blocks of the repository's documentation — the programs and documents a reader, human or agent, copies — for the tests that…—
pkg/dsl/exprimplements a small expression language used by iterion's compute nodes and when edge clauses.—
pkg/dsl/fixapplies the mechanical remedies of compile diagnostics to a .bot text — the edits a diagnostic can carry because its fix is the same every time…—
pkg/dsl/internal/dsltestholds the equivalence oracle the DSL packages' tests share: "the program that comes out of this transport, serialiser or editor is the program that…—
pkg/dsl/internal/rewriteholds the primitives a surgical rewrite of a .bot text needs — the text the lexer reads (BOM stripped, CRLF folded) with the way back to the…—
pkg/dsl/irdefines the canonical Intermediate Representation (IR) produced by compiling an AST.LLMNode, Node, WithNode
pkg/dsl/migraterewrites a .bot file from syntax profile 1 to profile 2 (ADR-098) surgically: only the bytes whose MEANING changes between the two profiles are…—
pkg/dsl/parser——
pkg/dsl/parser/parsertesthow a test outside pkg/dsl/parser reads a source in one value: the strict reading (parser.Parse).—
pkg/dsl/readbudgetresolves the read budget: how much one bot may ask its readers to record.—
pkg/dsl/secretsinknames the materialization sinks a declared secret may be granted to — the sinks: vocabulary of a .bot secret declaration…—
pkg/dsl/specthe declarative registry of the .bot DSL's property surface: for every declaration kind, node kind and anonymous block, the properties it accepts,…—
pkg/dsl/typesdefines shared enum types used by both the AST and IR packages.—
pkg/dsl/unitloads a bot's compilation unit: its main file and the fragments the file imports, transitively, merged into one ast.File (ADR-098 §3).—
pkg/dsl/unit/unittesthow a test outside pkg/dsl/unit takes a loader's two answers as one unit: the whole load.—
pkg/dsl/unparseconverts an ast.File back into .bot DSL text.—
pkg/dsl/workflowfilethe single source of truth for which file extensions iterion recognises as workflow source files.—
pkg/errtrackiterion's optional error-tracking seam.AmbiguousEffect
pkg/eventbusthe internal publish/subscribe spine that carries trigger.Event values from producers (native board, run completion, forge webhooks, schedule ticks,…Bus
pkg/forgeiterion's OUTBOUND forge-integration layer: it connects a team to a GitLab / GitHub / Forgejo account (OAuth or PAT), lists that account's repos, and…Admin, AutoMergeArmer, AvatarReader, AvatarSetter, BoardBindingStore, BoardClient, CommitStatusClient, CommitStatusLister, FileClient, IssueClient, MergeApprover, MergeabilityReader, OAuthAppProvisioner, OAuthAppStore, OAuthExchanger, PermissionClient, ProjectBotMinter, ProvisionApprovalStore, PullClient, PullReviewerSetter, RepoCreator, RepoIntegrationStore, ReviewClient, ReviewRequestWithdrawer, ReviewerAssigner, SecurityAlertClient, SelfRotator, SubscriptionProjector, TokenRefresher, WorkflowDispatcher
pkg/forge/forgejothe Forgejo/Gitea implementation of forge.Admin.—
pkg/forge/githubthe GitHub implementation of forge.Admin: the outbound write-side client the orchestrator uses to list repos and create/update/delete the iterion…—
pkg/forge/gitlabthe GitLab implementation of forge.Admin: the OUTBOUND write-side client the orchestrator uses to list a connection's projects and…—
pkg/forgetriggerprojects the bots of a forge integration onto the trigger spine (ADR-172).—
pkg/gita minimal wrapper around the git CLI for the studio's modified-files panel.—
pkg/hostmcpserves the host-owned MCP HTTP transports a SANDBOXED run reaches over the per-run gateway listener (C082): the board tools (/api/v1/mcp/board) and…RouteMux, TokenStore
pkg/identityowns the multitenant user/team/membership domain.Store
pkg/internal/appinfo——
pkg/internal/clilocatecentralises the host-side probe used by backends that shell out to a CLI binary (claude, codex, …).—
pkg/internal/jsonlprovides a crash-safe append-only JSONL file writer.—
pkg/internal/mongotestsupplies the contexts the Mongo-gated test suites use.—
pkg/internal/mongoutilholds tiny helpers for the Mongo driver shared across iterion's storage packages (pkg/store/mongo, pkg/identity, pkg/secrets, pkg/auth).—
pkg/internal/procholds tiny process-management primitives shared across iterion's shell-out wrappers (gitCmd, dockerCmd, kubectlCmd, tool nodes, hook and guard…—
pkg/internal/shellquoteproduces POSIX-shell-safe single-quoted tokens for use in sh -c command strings.—
pkg/internal/storekitholds the generic skeletons behind iterion's paired Mongo+memory store backends (pkg/audit, pkg/pat, pkg/cloudsched, pkg/webhooks,…—
pkg/internal/strutilholds tiny string helpers that have no direct stdlib equivalent and were otherwise copy-pasted across packages.—
pkg/knowledgedefines the backend-agnostic contract for iterion's shared memory / knowledge system: the MemoryStore interface, the SpaceRef identity model (the…MemoryStore
pkg/leaseelects one holder per named lease across the replicas of a deployment, so a periodic net runs on ONE replica instead of every one.Store
pkg/legalthe operator's legal surface: the documents a deployment publishes (legal notice, privacy policy, terms of use, accessibility statement), the contact…—
pkg/liveledgerkeeps a committed, single-file record of the LAST run of every task test:live:* target.TB
pkg/llmroutethe adaptive-routing contract (ADR-121): the multi-level policy that picks which (harness, credential) pair a run may occupy.—
pkg/logprovides a leveled logger with emoji-rich console output for the iterion workflow engine.—
pkg/mailiterion's minimal transactional mailer: stdlib SMTP (explicit STARTTLS) + embedded templates for the two flows that need email — invitations and…Mailer
pkg/marketplacethe hosted bot registry that sits on top of pkg/botinstall.Store
pkg/memlimitderives the Go GC's memory limit from the container's cgroup ceiling at startup (#2693), so the collector works harder as the pod nears its limit…—
pkg/memoryprovides the per-workspace iterion memory tree at ~/.iterion/projects/<encoded-workdir>/memory/<scope>/.—
pkg/migratethe data-migration runner: every persisted-data migration is a registered Step of one runner, and a ledger records what each step counted, changed…CensusItem, Ledger, Step
pkg/migrate/epochthe persistence epoch this binary carries: the ordered steps iterion migrate epoch runs and the boot floor checks, the census items its --census…—
pkg/migrate/migratetestthe contract suite of pkg/migrate: the ledger contract both twins pass, the runner contract run on each backend, and the kill -9 witness of a…Backend, Records
pkg/migrate/preflightholds the census items of the v8 cut (v8 L6-02): the read-only counts an operator reads, at T-weeks, T-7, T-1 and in the window, of what the store…—
pkg/modelcatalogcrosses the four sources that together answer "which models can I actually use here": model.KnownModelSpecs() — what iterion knows about (curated…—
pkg/modelprefspersists an operator's chosen model/backend/effort for a long-lived surface, so the choice survives the surface rather than being re-made every time…Store
pkg/notifydelivers run-completion webhooks — a generic "this run reached a terminal state, here is its final answer" callback POSTed to a URL supplied at…—
pkg/numericreads materialized numbers without rounding their integer domain or order.—
pkg/operatormcpimplements the operator-facing iterion MCP tool surface served by iterion mcp — the seam that lets any MCP client (Claude Code, the desktop, an…—
pkg/orgusagemeters per-org (tenant) monthly run launches and LLM spend, and enforces the launch-time caps.Counter
pkg/patimplements personal access tokens — long-lived bearer credentials for programmatic API access (CI jobs, SDKs, curl) where the 15-minute JWT +…Store
pkg/platformcfgholds platform-scoped runtime-settings families beyond the usage caps that established the doctrine (ADR-090): env var = deployment default, DB…CASDeleter, CASStore, Deleter, RunnerPoolsReader, Store
pkg/pluginimplements iterion's plugin ecosystem: declarative, out-of-process extensions described by a plugin.yaml manifest with typed contribution points.—
pkg/pluginsourcepersists ORG-PRIVATE plugin bindings: "this team's runs get the plugin living in this git repository".Store
pkg/pricefeed— the gateway price feed (ADR-163): operator pricing that syncs into the database and rides the existing IPC, while the operator table stays the…ConfigStore, Source, StateStore, StaticSource
pkg/projectenvbuilds immutable per-project process environments for a unified local Studio.—
pkg/queuedefines the message contract exchanged between the iterion server (publisher) and the iterion runner (consumer).—
pkg/queue/natswraps the NATS / JetStream / KV layer for iterion's cloud queue.—
pkg/recordcodecadapts explicitly selected record fields to exact-value frames.Codec
pkg/reliabilitycentralises the staged rollout knobs and the small compatibility/baseline reports operators need while enabling workflow reliability contracts.—
pkg/removeddeclares what the v8 pruning release removes: one registry of retired names, each with the release that removes it, its remedy and the anchor of its…—
pkg/repographbuilds one deterministic graph of this repository: Go packages and the symbols they declare, the calls between them, the links between documentation…—
pkg/repomapgenerates this repository's discoverability commons: small, committed indexes that let an agent — one working on the repo, or a bot running inside…Extractor
pkg/retrycoordcontains the policy shared by runner replicas when deciding whether a retry wave should be admitted.—
pkg/retrypolicythe shared "should this failed run be retried, and when?" contract — the after-the-failure counterpart to pkg/schedgate's before-the-launch gate.—
pkg/reviewtopologyresolves the review topology for review-loop bots (review-pr, evolve) and injects the resolved review_mode var into a run's inputs when the target…—
pkg/routingevaluates a run's launch-frozen RoutingPolicy against its terminal state.—
pkg/runnerimplements the cloud-mode iterion runner pod.FleetPresence
pkg/runopsowns the capability-gated, read-only operations used by assistant and MCP transports to inspect runs.—
pkg/runpolicythe run policy: how a run behaves while it executes, set per level of the configuration cascade (platform, org, team, bot) and resolved once per run…—
pkg/runshellspawns interactive post-mortem shells in preserved run worktrees (the studio's "Open shell" on a failed run).—
pkg/runtime— conflict handling for the deferred squash merge.AmbiguousEffect, CapabilityDenial, Compactor, EffectiveBackendResolver, EffectiveFallbackResolver, EffectiveToolSurfaceResolver, InventedValues, NodeExecutor, OutputCorrector, OutputCorrectorWithUsage, ReviewCompanion, SecretScrubber, UndecidedRouteReporter, WarmHolder
pkg/runtime/recoverydefines typed recovery recipes that decide what to do when a node fails.Recipe
pkg/runview— agent-driven merge-conflict resolution.CredentialFundingJudge, CredentialPreviewer, LaunchPublisher, ObservedEventFeed, PlatformTierJudge, RunLoader
pkg/runview/runstreamthe store-agnostic run-streaming seam (ADR-053): one Source per store delivers BOTH the structured event timeline and the raw log bytes of any run…BoundObservationSource, EventCursorSource, EventSubscription, LogSubscription, MongoSelection, Source
pkg/runwatchpersists the link between a failed target run and the conversational assistant run that will inspect it.Store
pkg/sandboxdefines the iterion sandboxing abstraction.BindPathIdentity, Builder, CommandCancellationOwner, Driver, HostRun, ImageEnvScreener, PreparedSpec, ProcessIsolated, ProxiedRun, ProxyConfigurer, RootOpener, Run, SchedulingPolicyReporter, SecretFileRefresher, StartedEnvReader, WorkspaceExporter, WorkspaceFileRefresher, WorkspaceHeadCapturer
pkg/sandbox/devcontainerparses the subset of devcontainer.json fields iterion's sandbox driver consumes.—
pkg/sandbox/dockerimplements the Docker/Podman sandbox driver.—
pkg/sandbox/execenvowns the dedicated host relay, separate from the guest leaf.—
pkg/sandbox/execenv/protocolowns the leaf wire contract shared by the host relay and the Linux guest.—
pkg/sandbox/imageclassholds the operator-controlled vocabulary of stock sandbox image classes: the bare names a workflow's sandbox: { image: … } may declare instead of…—
pkg/sandbox/kubernetesimplements iterion's sandbox driver for cloud (in-cluster) deployments.—
pkg/sandbox/netproxyimplements iterion's HTTP CONNECT proxy that enforces the workflow's sandbox network policy.SecretRewriter
pkg/sandbox/noopprovides the always-available passthrough sandbox driver.—
pkg/sandbox/registrycentralises the iterion-shipped sandbox-driver constructor list.—
pkg/schedgatethe shared "should this scheduled bot fire now?" gate used by all three scheduled-launch paths: pkg/cli/schedule (host crontab),…LaunchVerdictError, ScheduleRunLister
pkg/scripthostruns model-authored JavaScript in a child process that holds no credential and no capability.BudgetRefusalObserver, ToolServer
pkg/scripthost/toolindexcodemode's discovery surface (CM-3, ADR-165): the catalogue of the tools a program may call, their TypeScript declarations, a BM25 index over them,…—
pkg/secretsseals and unseals sensitive values (BYOK API keys, OAuth credentials, OIDC client secrets) at rest.ApiKeyStore, BotSecretBindingStore, GatewayKeyLookup, GenericSecretStore, KeyedSealer, OAuthPendingStore, OAuthStore, RunSecretsStore, Sealer
pkg/secure/hostfoldfolds a URL hostname to the name a dial resolves.—
pkg/secure/httpdialthe single source of truth for iterion's SSRF guard: resolving an operator/admin-supplied host to a safe IP and dialing only that pinned IP…HostResolver
pkg/serverAdmin team console: the super-admin surface for team-scoped settings an org admin must not touch.BoardMCPTokenStore, FleetRegistry, ForgePublishTokenStore, QueueBackend
pkg/server/cloudpublisherwires runview.LaunchPublisher on top of NATS + Mongo so the cloud-mode iterion server can hand work off to the runner pool instead of executing…BudgetFloorSource, RunnerPoolResolver, TeamResolver
pkg/server/projectsmanages the studio's per-user project registry.—
pkg/sessionboardmodels the per-run "Session board": a small, declarative dashboard the studio renders on a run's Tasks tab.Emitter, Evaluator, Observer, Store
pkg/skilllibimplements iterion's first-class skill library: a standalone, operator-curated store of Claude-Code-style SKILL.md skills, stored globally…—
pkg/storeimplements the file-backed persistence layer for iterion runs.AliveCapacityLister, AttemptStore, BackendSessionStore, BirthPolicyStore, BoundObservationStore, CapacityParker, CapacityTransitStore, CodemodeQuotaResumeClaimer, CodemodeScratchStore, ContextIdentityStore, ContextPIDStore, CredSlotStore, EventAppender, EventObservationSelection, FilesystemStreamSelection, FilesystemStreamStore, FrozenProgramWriter, IRBlobStore, InteractionAnswerCAS, ObservedEventProducer, ObservedExecutionStore, ObservedFilesystemEventDecoder, OutputCorrectionCASStore, OutputCorrectionStore, PIDStore, ParentedRunCreator, PlanStore, PreEngineRefusalRecorder, PresignedAttachmentReader, QueuedAttemptClaimer, QueuedAttemptStore, QueuedFlipper, QueuedInboxVersioner, QueuedMessageInsertOnceStore, QueuedResumeReleaser, QueuedRunCreator, ResumePauseHandoffStore, RetryCircuitStore, RevisionQueuedFlipper, RouteDecisionStore, RunBirthReservation, RunBirthStore, RunBudgetOverridesPatcher, RunDataHeaderStore, RunDiffBlobStore, RunExecutionStore, RunFilesGrant, RunFilesGrantStore, RunFilesGrantUploader, RunFilesStore, RunFilesUploader, RunGitMetaStore, RunInvocationPreparation, RunListingStore, RunLock, RunLogStore, RunNoteStore, RunOutcomeCASStore, RunProbeAnswerStore, RunRetryStore, RunStore, RunTagStore, RunValueFormatCreator, RunWindowObservingStore, ScopedQueuedInboxVersioner, ScratchBankStore, SpendStore, StagingStore, TeamAliveRunsReader, ToolApprovalSpender, ToolBlobStore, TurnStore, Unwrapper, WarmHoldStore, WatcherCursorStore
pkg/store/blobdefines the artifact-blob interface implemented by S3 (cloud) and (potentially) a local filesystem variant for testing.ArtifactObjects, Client, IRObjects, IncarnationArtifacts, IncarnationIR, IncarnationRunObjects, RunObjects, ScratchBanker, ValueFormatArtifacts, ValueFormatRunObjects
pkg/store/mongoimplements the cloud-mode RunStore on top of MongoDB for run metadata + events + interactions, paired with an external blob.Client (S3) for artifact…LockProvider
pkg/store/storetestexposes the conformance suite that every store.RunStore backend must satisfy.—
pkg/subbotcontractsreads the subbot children of a workflow for the contracts they keep — what bundlelint holds a parent's with: to (C255).—
pkg/subbotsourceresolves the source reference carried by a subbot node.—
pkg/superviseimplements LLM-driven supervisor agents that watch a running iterion workflow from a separate goroutine/process and enqueue steering messages the…Evaluator, IdempotentInjector, Injector, Observer, WatcherProgressStoreProvider
pkg/testinventoryreads Go's runnable test names without executing their bodies.—
pkg/treenoisethe canonical list of "tree noise": paths the run's own setup and tooling write into the workspace, which never count as the pass's work — the…—
pkg/triggerthe unifying spine for event-driven runs.BoardEffect, EffectLabelConsumer, EffectOutbox, LabelConsumer, Launcher, Nudger, ProjectionBindings, ProjectionEffect, Publisher, SubscriptionStore
pkg/usagecapstops a deployment from spending its LLM subscription down to the provider's own wall.PolicySource, SettingsStore, Store
pkg/usernotifydelivers user-addressed notifications for run lifecycle moments — a run pausing on a human form, finishing, failing — to per-user channels (web…PrefsStore, SentStore, Sink
pkg/usernotify/webpushthe Web Push (RFC 8030 + VAPID) usernotify.Sink: it delivers a Notification to every browser PushSubscription registered by each recipient, via the…SubscriptionStore
pkg/valkeywraps a go-redis client used to share ephemeral server state across replicas (forge OAuth/CSRF state, board-MCP run tokens, auth rate-limit buckets).—
pkg/valuecodecpreserves structured values across explicitly versioned transports.—
pkg/webhooksiterion's inbound-webhook spine: long-lived, per-org webhook tokens that authenticate an external caller (a forge, CI, a script) and authorize it to…CommandDiscovery, ConfigStore, Counter, DeferredLaunchStore, DeliveryStore
pkg/webhooks/genericdecodes the bot-agnostic JSON shape iterion accepts on /api/webhooks/generic/{id}.—
pkg/webhooks/gitlabdecodes GitLab webhook payloads into the narrow, normalized shape iterion's inbound handler consumes.—
pkg/webhooks/prforgedecodes pull_request webhook payloads from PR-over-forge providers — GitHub and Forgejo/Gitea — which share the same wire shape for the…—
pkg/workspacetrackversions a run's workspace: it captures what the files look like at a point in execution and can put them back.Tracker
pkg/worktreepoolthe safety classifier for the per-run git worktrees iterion parks under <store>/worktrees/.—
scripts/ci/affectedCommand affected selects the tests a diff can reach: the Go packages whose test binaries link a changed package, read a changed file, or own it, and…—
scripts/ci/deadcodeCommand deadcode is the repository's dead-code gate (task deadcode, a member of task check).—
scripts/ci/inpodbenchCommand inpodbench reports what a codemode child actually confines itself to under the posture it is GIVEN, whether that confinement REFUSES, and…—
scripts/ci/mainwatchCommand mainwatch keeps main from staying red (#3692).Git, GitHub
scripts/ci/prcihealCommand prciheal reruns a pull request's labelled 🧪 Tests run that a stale refusal superseded (#3807).GitHub
scripts/ci/readerchangeCommand readerchange is the witness of a reader change confined to the files a pull request edits (#3979).—
scripts/ci/readerchange/probeCommand probe prints how internal/mdcode reads the files named on its standard input, one root-relative slash path per line: for each, the path, the…—
scripts/ci/sandboxbenchpodCommand sandboxbenchpod renders the pod the kubernetes sandbox driver creates for a run, so the codemode posture bench measures THAT pod and not a…—
scripts/ci/testcapsCommand testcaps publishes a deterministic source census of test skips and sleeps, plus optional observations of the runner's literal prerequisites.—
scripts/ci/testquarantineCommand testquarantine reads the checked-in flake quarantine (scripts/ci/test-quarantine.tsv) and prints what the CI jobs consume: testquarantine…—
scripts/ci/testshardsCommand testshards prints the Go test packages of one deterministic shard, the mechanism the CI matrix legs use to split ./... across runners (the…—
scripts/ci/trainCommand train lands a lot of ready pull requests on ONE local gate instead of one CI cycle each (#3736), and isolates the culprit when the lot is red.Gate, GitHub, Regenerator
scripts/clawfoldCommand clawfold plans, applies and proves the fold of claw-code-go into pkg/claw (see internal/clawfold).—
scripts/docslinksCommand docslinks checks every relative link and #anchor in the repository's tracked markdown against the real tree, the way GitHub resolves them…—
scripts/modelsnapshotCommand modelsnapshot regenerates the embedded models.dev snapshot (pkg/backend/modelspecs/snapshot/models-dev.json): fetch, parse, render…—
third_party/codex-agent-sdk-goprovides a Go SDK for interacting with the Codex CLI agent.Client, Tool
third_party/codex-agent-sdk-go/contrib/prometheusprovides a convenience helper for wiring Prometheus metrics into the Codex Agent SDK without pulling OTel SDK dependencies into the root module for…—
third_party/codex-agent-sdk-go/examples/cancellation——
third_party/codex-agent-sdk-go/examples/client_multi_turn——
third_party/codex-agent-sdk-go/examples/developer_instructions——
third_party/codex-agent-sdk-go/examples/error_handling——
third_party/codex-agent-sdk-go/examples/extended_thinking——
third_party/codex-agent-sdk-go/examples/include_partial_messages——
third_party/codex-agent-sdk-go/examples/max_budget_usd——
third_party/codex-agent-sdk-go/examples/mcp_calculatordemonstrates how to create calculator tools using MCP servers.—
third_party/codex-agent-sdk-go/examples/mcp_statusdemonstrates querying MCP server connection status.—
third_party/codex-agent-sdk-go/examples/mcp_stdio_argsdemonstrates configuring a stdio MCP server with command-line arguments (Args).—
third_party/codex-agent-sdk-go/examples/memory_tooldemonstrates a filesystem-backed memory tool for agent state persistence.—
third_party/codex-agent-sdk-go/examples/multimodal_input——
third_party/codex-agent-sdk-go/examples/parallel_queries——
third_party/codex-agent-sdk-go/examples/personality——
third_party/codex-agent-sdk-go/examples/pipeline——
third_party/codex-agent-sdk-go/examples/prometheus_metricsdemonstrates using WithPrometheusRegisterer for OpenTelemetry observability with the Codex Agent SDK.—
third_party/codex-agent-sdk-go/examples/query_stream——
third_party/codex-agent-sdk-go/examples/quick_start——
third_party/codex-agent-sdk-go/examples/sdk_toolsdemonstrates the high-level Tool API with WithSDKTools.—
third_party/codex-agent-sdk-go/examples/service_tier——
third_party/codex-agent-sdk-go/examples/stderr_callback——
third_party/codex-agent-sdk-go/examples/structured_output——
third_party/codex-agent-sdk-go/examples/system_prompt——
third_party/codex-agent-sdk-go/examples/tool_permission_callback——
third_party/codex-agent-sdk-go/examples/tools_option——
third_party/codex-agent-sdk-go/internal/cliprovides CLI discovery, version validation, and command building for the Codex CLI binary.Discoverer
third_party/codex-agent-sdk-go/internal/clientimplements the interactive Client for multi-turn conversations with the agent.—
third_party/codex-agent-sdk-go/internal/configprovides configuration types for the Codex SDK.QueryLifecycleNotifier, SessionMetricsRecorder, ThinkingConfig, ToolsConfig, Transport
third_party/codex-agent-sdk-go/internal/elicitationprovides typed structures for MCP elicitation handling.—
third_party/codex-agent-sdk-go/internal/errorsdefines error types for the Codex SDK.CodexSDKError
third_party/codex-agent-sdk-go/internal/hookprovides hook types for intercepting CLI events.Input, SpecificOutput
third_party/codex-agent-sdk-go/internal/mcpimplements an in-process Model Context Protocol server.ServerConfig, ServerInstance
third_party/codex-agent-sdk-go/internal/messageprovides message and content block types for Codex conversations.ContentBlock, Message
third_party/codex-agent-sdk-go/internal/modeldefines types for Codex CLI model discovery.—
third_party/codex-agent-sdk-go/internal/observabilityprovides OpenTelemetry metrics and tracing for the SDK.—
third_party/codex-agent-sdk-go/internal/permissionprovides permission handling types for the Codex CLI.Result
third_party/codex-agent-sdk-go/internal/protocolimplements bidirectional control message handling for the Codex CLI.Transport
third_party/codex-agent-sdk-go/internal/sandboxprovides sandbox configuration types for the Codex CLI.—
third_party/codex-agent-sdk-go/internal/schemaprovides JSON Schema normalization helpers for the Codex Agent SDK.—
third_party/codex-agent-sdk-go/internal/subprocessprovides subprocess-based transport for the Codex CLI.—
third_party/codex-agent-sdk-go/internal/userinputprovides types for the item/tool/requestUserInput protocol.—
third_party/codex-agent-sdk-go/internal/version——
third_party/tiktoken-go-tokenizer—Codec
third_party/tiktoken-go-tokenizer/codec——