Expand description
Capability manifest schema for subc modules.
All v1 modules are supervised singletons: one long-lived process per
per-user machine. The manifest intentionally has no cardinality field.
subc routes by module kind plus channel, while any finer demultiplexing
(for example, AFT’s per-project actor map) remains internal to the singleton
module.
Structs§
- Bindings
- External storage, vault, and identity bindings supplied through subc.
- Capability
Declarations - Static, versioned capabilities declared by a module.
- Capability
Grammar Error - A safe-to-report capability-schema validation failure.
- Capability
Requirement - One capability a module consumes and whether its absence is tolerated.
- Identity
Binding - Management
Operation - Operation exposed on the management plane.
- Manifest
Provenance - Build facts a module DECLARES about its own binary at HELLO. The daemon
overlays process-identity evidence it alone can attest; the two halves are
served together via
supervisor.provenanceand never merged. - Manifest
Provenance Error - Module
Manifest - A module’s full declared participation in the subc mesh.
- Module
Manifest Builder - Incrementally constructs a
ModuleManifestwithout fabricating absent facts. - Observability
Surface - Observable state exposed on the management plane.
- Pipeline
Applies To - Provider/model selector for a pipeline stage.
"*"denotes wildcard. - Provenance
Form Error - A declared build fact did not use its canonical form.
- Self
Signal Declaration - A declared periodic or event-driven behavior that shapes an external surface.
- Self
Signal Declaration Error - A raw HELLO declaration error that can be reported before serde drops context.
- Storage
Binding - Storage backend supplied by subc; the module owns its schema.
- Tool
- Tool-plane capability exposed by a
tool_provider. - Vault
Grant
Enums§
- Build
GitSha Absence Reason - A build pipeline’s reason for omitting
build_git_sha. - Build
GitSha Source - How the build pipeline obtained (or did not obtain) git revision data.
- Capability
Need - Closed capability requirement strength vocabulary.
- Concurrency
- How subc may deliver concurrent in-flight calls to the provider.
- Consumer
Role - Consumer capabilities requested by a module.
- Execution
Mode - How a tool’s side effects are fenced for durable at-most-once handling.
- GitTree
State - The observable state of a git worktree when a build pipeline found a revision.
- Identity
Scope - A
BindIdentitykey a provider partitions its state or answers by. - Internal
Transport - Management
Operation Kind - Observability
Kind - Pipeline
Stage Kind - Proxy-plane stage kind.
- Provider
Role - Provider capabilities exposed by a module.
- Self
Signal Effect - The effect a self-signal has on the external surface it targets.
- Self
Signal Kind - Informative class of a self-signal, tolerant of newer wire values.
- Signal
Anchor - What establishes a self-signal’s cadence relative to the external surface.
- Signal
Cadence - How a self-signal’s effective cadence is declared.
- Storage
Kind - Storage
Scope - Trust
Tier - How this module was sourced, as declared by the module itself.
Constants§
- PROVENANCE_
SENTINELS - Sentinel strings that build tooling emits where it means “no value”: shell
fallbacks and Makefile defaults produce
unknown, wire vocabulary usesunavailable, andgit describefailures surface asnone. Publishing any of them as a fact is the well-formed-lie shape the provenance contract warns against — a present, well-formed field stops the reader asking — so the helper maps them all to field omission. Matched case-insensitively becauseUNKNOWN/Unknownare equally common from shell fallbacks.
Functions§
- attestable_
commit - Return a commit only when its source tree was clean at build time.
- build_
provenance - Build
ManifestProvenancefrom legacy raw build facts. - build_
provenance_ from_ source - Build a
ManifestProvenancefrom source-state-aware build facts. - is_
valid_ capability_ identifier - Return whether
identifierhas the exact<name>/v<N>capability spelling. - validate_
hello_ capability_ grammar - Validate capability grammar in a raw HELLO body.
- validate_
hello_ self_ signal_ declarations - Reject raw HELLO self-signal declarations that omit
effectoranchored_to. - validate_
manifest_ capability_ grammar - Validate capability grammar in a standalone manifest JSON value.