Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundConfig ¶
type CapabilityConfig ¶
type CapabilityConfig struct {
Enabled bool `json:"enabled"`
ResourceRef string `json:"resource_ref,omitempty"`
MaxPayloadBytes int `json:"max_payload_bytes,omitempty"`
// MirrorMode is staged for the `control pull --mirror` regenerate cadence (plan reconciliation
// ii): validated here, read when the mirror cadence lands. "manual" | "prime-refresh".
MirrorMode string `json:"mirror_mode,omitempty"`
RuleRef string `json:"rule_ref,omitempty"` // "native:<id>"
}
CapabilityConfig enables and bounds one built-in capability. RuleRef ("native:<id>") selects the compiled rule kind; the assembler resolves it select-only and fails closed on an unknown id.
type ChannelConfig ¶
type File ¶
type File struct {
Local localConfig `json:"local"`
Channel ChannelConfig `json:"channel"`
Capabilities map[string]CapabilityConfig `json:"capabilities"`
Background BackgroundConfig `json:"background"`
}
File is the 4-layer config that drives select-only capability assembly: where the store/endpoint live (local), how the channel authenticates (channel), which built-in capabilities are enabled and bound (capabilities), and which background workers run (background). It enables/binds/limits already-compiled capabilities; it can never define new behavior (the assembler is fail-closed).
Click to show internal directories.
Click to hide internal directories.