Directories
¶
| Path | Synopsis |
|---|---|
|
control
|
|
|
api
The agent version endpoints: publication and observation of an immutable publication.
|
The agent version endpoints: publication and observation of an immutable publication. |
|
auth
Package auth defines the authenticated identity carried by control-plane requests.
|
Package auth defines the authenticated identity carried by control-plane requests. |
|
Package gateway implements the fenced Tool Gateway boundary that runtime workers call on behalf of an Attempt.
|
Package gateway implements the fenced Tool Gateway boundary that runtime workers call on behalf of an Attempt. |
|
bao
Package bao implements the reference Secret Broker backed by OpenBao (ADR-012).
|
Package bao implements the reference Secret Broker backed by OpenBao (ADR-012). |
|
kernel
|
|
|
admission
Package admission evaluates deterministic pre-scheduling requirements.
|
Package admission evaluates deterministic pre-scheduling requirements. |
|
agentpkg
Package agentpkg defines the signed Agent Package manifest (ADR-010) and its admission verification.
|
Package agentpkg defines the signed Agent Package manifest (ADR-010) and its admission verification. |
|
agentversion
Package agentversion defines the bounded AgentVersion vocabulary of the Agent OS kernel: the canonical reference grammar, the immutable published spec, and the deterministic digest over that spec.
|
Package agentversion defines the bounded AgentVersion vocabulary of the Agent OS kernel: the canonical reference grammar, the immutable published spec, and the deterministic digest over that spec. |
|
capability
Package capability enforces immutable AgentVersion grants at Gateway boundaries without coupling the Agent manifest vocabulary to persistence.
|
Package capability enforces immutable AgentVersion grants at Gateway boundaries without coupling the Agent manifest vocabulary to persistence. |
|
domain
Package domain defines the stable lifecycle vocabulary enforced by the Fenced kernel.
|
Package domain defines the stable lifecycle vocabulary enforced by the Fenced kernel. |
|
memory
Package memory implements the v0.1 Memory decision chain (ADR-009): the canonical store lives in PostgreSQL (FTS + pg_trgm + pgvector share the transaction system), embeddings are produced by a pluggable Embedder, and retrieval filters tenant/sensitivity before scoring.
|
Package memory implements the v0.1 Memory decision chain (ADR-009): the canonical store lives in PostgreSQL (FTS + pg_trgm + pgvector share the transaction system), embeddings are produced by a pluggable Embedder, and retrieval filters tenant/sensitivity before scoring. |
|
model
Package model implements the Model Gateway decision chain of the Fenced kernel: versioned model descriptors with price tables, policy checks, incremental token/cost settlement against the task budget ledger, and the hard stop when a reservation is exhausted (tech baseline §12.1; invariant 12).
|
Package model implements the Model Gateway decision chain of the Fenced kernel: versioned model descriptors with price tables, policy checks, incremental token/cost settlement against the task budget ledger, and the hard stop when a reservation is exhausted (tech baseline §12.1; invariant 12). |
|
model/provider
Package provider implements the real model execution layer behind the Model Gateway decision chain: an HTTP executor covering two wire dialects.
|
Package provider implements the real model execution layer behind the Model Gateway decision chain: an HTTP executor covering two wire dialects. |
|
model/tokens
Package tokens provides tokenizer-aware token estimation for model budget reservations.
|
Package tokens provides tokenizer-aware token estimation for model budget reservations. |
|
money
Package money provides the fixed-point representation used by every accounting ledger.
|
Package money provides the fixed-point representation used by every accounting ledger. |
|
observability
Package observability provides the read-side surface for the Phase 7 observability contract: every execution exposes a full correlation chain (Workflow → Step → Task → Run → Attempt → Model/Tool Call → Memory → Result) plus the core metrics the platform guarantees.
|
Package observability provides the read-side surface for the Phase 7 observability contract: every execution exposes a full correlation chain (Workflow → Step → Task → Run → Attempt → Model/Tool Call → Memory → Result) plus the core metrics the platform guarantees. |
|
policy
Package policy evaluates default-deny Rego policies inside the kernel process.
|
Package policy evaluates default-deny Rego policies inside the kernel process. |
|
recovery
Package recovery reconciles expired runtime leases into fenced retries.
|
Package recovery reconciles expired runtime leases into fenced retries. |
|
scheduler
Package scheduler provides deterministic, explainable runtime placement.
|
Package scheduler provides deterministic, explainable runtime placement. |
|
store
Package store defines the transactional persistence contract used by kernel controllers.
|
Package store defines the transactional persistence contract used by kernel controllers. |
|
store/postgres
Package postgres implements the Fenced kernel persistence contract on PostgreSQL.
|
Package postgres implements the Fenced kernel persistence contract on PostgreSQL. |
|
tool
Package tool implements the Tool Gateway decision chain of the Fenced kernel: versioned descriptors, canonical argument normalization, policy evaluation, human approval binding, budget hard-stop and durable side-effect receipts (architecture §9.2, §12.2; invariants 6 and 9).
|
Package tool implements the Tool Gateway decision chain of the Fenced kernel: versioned descriptors, canonical argument normalization, policy evaluation, human approval binding, budget hard-stop and durable side-effect receipts (architecture §9.2, §12.2; invariants 6 and 9). |
|
workflow
The orchestrator controller.
|
The orchestrator controller. |
|
workload
Package workload defines the bounded task specification understood by admission and placement.
|
Package workload defines the bounded task specification understood by admission and placement. |
|
Brokered system tools of the Agent Runtime MCP endpoint: the sandboxed Agent reaches the Model execution layer and the Memory store through the same MCP surface it uses for tenant tools, with the fenced attempt identity and capability grants injected by the runtime worker.
|
Brokered system tools of the Agent Runtime MCP endpoint: the sandboxed Agent reaches the Model execution layer and the Memory store through the same MCP surface it uses for tenant tools, with the fenced attempt identity and capability grants injected by the runtime worker. |
|
platform
|
|
|
agentmetrics
Package agentmetrics owns Fenced operational metrics.
|
Package agentmetrics owns Fenced operational metrics. |
|
artifact
Package artifact provides content-addressed Artifact storage adapters.
|
Package artifact provides content-addressed Artifact storage adapters. |
|
compat
Package compat provides backward-compatibility shims for the AgentOS → Fenced rename.
|
Package compat provides backward-compatibility shims for the AgentOS → Fenced rename. |
|
errorcode
Package errorcode is the canonical registry for stable public Fenced error codes.
|
Package errorcode is the canonical registry for stable public Fenced error codes. |
|
grpcx
Package grpcx centralizes the transport options every fenced gRPC boundary uses: message size ceilings above the largest payloads (assignments embed the full workload spec and receipt lists), keepalive so long-lived worker connections detect dead peers promptly instead of hanging on a half-open transport, bounded connect attempts so a down endpoint surfaces quickly instead of wedging the first call, and OpenTelemetry interceptors so every boundary participates in the reference observability stack.
|
Package grpcx centralizes the transport options every fenced gRPC boundary uses: message size ceilings above the largest payloads (assignments embed the full workload spec and receipt lists), keepalive so long-lived worker connections detect dead peers promptly instead of hanging on a half-open transport, bounded connect attempts so a down endpoint surfaces quickly instead of wedging the first call, and OpenTelemetry interceptors so every boundary participates in the reference observability stack. |
|
migrate
Package migrate applies ordered, checksum-protected SQL migrations.
|
Package migrate applies ordered, checksum-protected SQL migrations. |
|
opensearch
Package opensearch is the minimal REST client for the OpenSearch projection target (ADR-013).
|
Package opensearch is the minimal REST client for the OpenSearch projection target (ADR-013). |
|
otel
Package otel wires the reference observability stack (tech baseline §15): OTLP trace/metric/log exporters configured through the standard OTEL_* environment variables, plus a bounded async slog → OTel log bridge.
|
Package otel wires the reference observability stack (tech baseline §15): OTLP trace/metric/log exporters configured through the standard OTEL_* environment variables, plus a bounded async slog → OTel log bridge. |
|
outbox
Package outbox delivers PostgreSQL outbox events to a durable publisher.
|
Package outbox delivers PostgreSQL outbox events to a durable publisher. |
|
projector
Package projector applies canonical store events to the OpenSearch search projection (ADR-013).
|
Package projector applies canonical store events to the OpenSearch search projection (ADR-013). |
|
redact
Package redact contains cross-cutting trust-boundary sanitizers.
|
Package redact contains cross-cutting trust-boundary sanitizers. |
|
slo
Package slo evaluates immutable v1 GA service objectives from a measured observation window.
|
Package slo evaluates immutable v1 GA service objectives from a measured observation window. |
|
spiffe
Package spiffe implements the X.509-SVID identity boundary of the Secure Runtime (ADR-011): every fenced gRPC peer presents a certificate whose SPIFFE ID names its exact principal, and every boundary verifies the chain against the trust bundle and matches the presented identity against the claims of the request.
|
Package spiffe implements the X.509-SVID identity boundary of the Secure Runtime (ADR-011): every fenced gRPC peer presents a certificate whose SPIFFE ID names its exact principal, and every boundary verifies the chain against the trust bundle and matches the presented identity against the claims of the request. |
|
runtime
|
|
|
adapter
Package adapter implements the Runtime Protocol provider that delegates an assignment to a language/framework-neutral Agent Runtime Interface endpoint.
|
Package adapter implements the Runtime Protocol provider that delegates an assignment to a language/framework-neutral Agent Runtime Interface endpoint. |
|
attemptstate
Package attemptstate helps Runtime Protocol workers converge after an optimistic-concurrency conflict without weakening fencing.
|
Package attemptstate helps Runtime Protocol workers converge after an optimistic-concurrency conflict without weakening fencing. |
|
bindings
Package bindings resolves Runtime Interface endpoints and the transport policy that guards them.
|
Package bindings resolves Runtime Interface endpoints and the transport policy that guards them. |
|
broker
gRPC broker clients: the adapter worker's loopback MCP endpoint reaches the Model execution layer and the Memory store through the same fenced gateway services every other runtime uses.
|
gRPC broker clients: the adapter worker's loopback MCP endpoint reaches the Model execution layer and the Memory store through the same fenced gateway services every other runtime uses. |
|
control
Package control implements the fenced Kernel-to-Runtime gRPC boundary.
|
Package control implements the fenced Kernel-to-Runtime gRPC boundary. |
|
leasekeeper
Package leasekeeper keeps a Runtime Protocol lease alive while a worker executes a workload, and stops the execution when the lease can no longer be renewed.
|
Package leasekeeper keeps a Runtime Protocol lease alive while a worker executes a workload, and stops the execution when the lease can no longer be renewed. |
|
oci
Package oci provides the OCI + gVisor (runsc) Runtime Provider worker.
|
Package oci provides the OCI + gVisor (runsc) Runtime Provider worker. |
|
reference
Package reference provides a deterministic Runtime Protocol conformance worker.
|
Package reference provides a deterministic Runtime Protocol conformance worker. |
|
Package security is the v0.3 negative test suite: it proves that the four security boundaries hold under attack, not just under happy paths:
|
Package security is the v0.3 negative test suite: it proves that the four security boundaries hold under attack, not just under happy paths: |
|
Package version is the single source of truth for product and public contract versions.
|
Package version is the single source of truth for product and public contract versions. |
Click to show internal directories.
Click to hide internal directories.