Documentation
¶
Overview ¶
Package features contains the standard-distribution feature plugins.
Constructor convention:
Feature plugin entrypoints return the hook interface they register rather than exposing concrete hook structs. This is an intentional plugin-boundary exception to the usual "accept interfaces, return structs" guideline: callers only need the stable hook contract, while concrete implementations remain package-local. Constructors should therefore use role-specific names such as NewSubmitHook, NewRequestPartHook, NewResponsePartHook, or NewToolReactor.
Directories
¶
| Path | Synopsis |
|---|---|
|
causepolicy
Package causepolicy contains the provider-independent ALG eligibility policy for canonical terminal causes and bounded evidence.
|
Package causepolicy contains the provider-independent ALG eligibility policy for canonical terminal causes and bounded evidence. |
|
progress
Package progress contains the pure ALG progress breaker and bounded recovery-intent policy.
|
Package progress contains the pure ALG progress breaker and bounded recovery-intent policy. |
|
protocolpolicy
Package protocolpolicy holds the preferred-strategy missing-completion-signal policy as pure values.
|
Package protocolpolicy holds the preferred-strategy missing-completion-signal policy as pure values. |
|
protocolstate
Package protocolstate owns the preferred-strategy missing-signal protocol state: a bounded progress fingerprint, bounded counters, and an independent opaque state token.
|
Package protocolstate owns the preferred-strategy missing-signal protocol state: a bounded progress fingerprint, bounded counters, and an independent opaque state token. |
|
augmentation
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.
|
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist. |
|
capsule
Package capsule contains the provider-neutral, bounded continuity capsule.
|
Package capsule contains the provider-neutral, bounded continuity capsule. |
|
carriers
Package carriers recognizes a small, versioned catalog of canonical structured plan shapes.
|
Package carriers recognizes a small, versioned catalog of canonical structured plan shapes. |
|
extractor
Package extractor builds the one canonical child call used for semantic continuity extraction and validates its bounded result.
|
Package extractor builds the one canonical child call used for semantic continuity extraction and validates its bounded result. |
|
injection
Package injection applies a bounded, provider-neutral continuity projection to a canonical call.
|
Package injection applies a bounded, provider-neutral continuity projection to a canonical call. |
|
observability
Package observability provides the content-free diagnostics seam for the compaction-continuity feature.
|
Package observability provides the content-free diagnostics seam for the compaction-continuity feature. |
|
policy
Package policy resolves the continuity egress policy at request time.
|
Package policy resolves the continuity egress policy at request time. |
|
resultmerge
Package resultmerge consumes one bounded background result and applies it to the authoritative parent continuity branch.
|
Package resultmerge consumes one bounded background result and applies it to the authoritative parent continuity branch. |
|
source
Package source prepares a small, canonical and privacy-bounded source window for continuity extraction.
|
Package source prepares a small, canonical and privacy-bounded source window for continuity extraction. |
|
state
Package state contains the process-owned state coordination used by compaction preservation.
|
Package state contains the process-owned state coordination used by compaction preservation. |
|
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy.
|
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy. |
|
Package reasoningpreservation owns the official reasoning-output-preservation feature domain.
|
Package reasoningpreservation owns the official reasoning-output-preservation feature domain. |
|
engine
Package engine provides the concrete secret catalog, Aho-Corasick exact pattern matching automaton, credential inventory discovery, and source policy implementation for the secretguard feature plugin.
|
Package engine provides the concrete secret catalog, Aho-Corasick exact pattern matching automaton, credential inventory discovery, and source policy implementation for the secretguard feature plugin. |
|
Package sessionclassification owns the session-classification feature policy.
|
Package sessionclassification owns the session-classification feature policy. |
|
testfixtures
Package testfixtures exposes the shared, data-driven evidence matrix used by session-classification acceptance tests.
|
Package testfixtures exposes the shared, data-driven evidence matrix used by session-classification acceptance tests. |
|
Package toolcallrepair holds YAML config decode and bundle construction for the standard-distribution tool-call-repair feature (ADR 0007 / issue #152).
|
Package toolcallrepair holds YAML config decode and bundle construction for the standard-distribution tool-call-repair feature (ADR 0007 / issue #152). |
|
repair
Package toolcallrepair holds the deterministic native tool-call repair engine contract (ADR 0007, issue #152).
|
Package toolcallrepair holds the deterministic native tool-call repair engine contract (ADR 0007, issue #152). |
|
repair/jsonshape
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token.
|
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token. |
Click to show internal directories.
Click to hide internal directories.