Skip to main content

Module context_gate

Module context_gate 

Source

Structs§

PostDispatchResult
PreDispatchResult

Functions§

apply_triage_filter
Filters output according to the task profile and selected triage level.
knowledge_advice
Best-effort KnowledgeRouter advice for the completed Context Gate flow.
post_dispatch_record
post_dispatch_record_with_task
pre_dispatch_pinned_read_for_agent
Pre-dispatch gate for an explicit caller-pinned mode.
pre_dispatch_read
pre_dispatch_read_for_agent
fresh is the caller’s explicit escape hatch (#1588). Bounce-prevention and intent-target exist to stop an agent from drifting into a compressed view it will immediately re-read in full; neither should be able to pin a file to full forever. A caller who passes fresh=true has said, in the request itself, that they want this view recomputed — honour it, or those modes are simply unreachable for the rest of the session.
triage_filter_level
Determines the output-filtering aggressiveness from a task profile.