Expand description
Conservative, opt-in host integration for Code System Graph routing guidance.
The crate installs only marker-owned host configuration. Prompt hooks classify the submitted
prompt and return static routing guidance; they never inspect source code or run repository
tools. Strict mode additionally installs a Git pre-commit gate that runs a staged Code System Graph
change analysis.
Structs§
- Hook
Status - Current state of one host integration.
- Install
Report - Result of an installation attempt.
- Install
Request - Complete request for installing, inspecting, or removing one host integration.
- Routing
Request - Input to the host-independent prompt router.
- Routing
Response - Host-independent routing result.
- Uninstall
Report - Result of removing one host integration.
Enums§
- Hook
Error - Error returned by host installation and routing APIs.
- Hook
Mode - Failure policy for installed integration.
- Host
Kind - Agent host targeted by an installation.
- Routing
Intent - Routing category inferred only from submitted prompt text.
Functions§
- classify_
prompt - Classifies a prompt without reading source, running tools, or retaining prompt text.
- install
- Installs or updates one host integration with atomic, marker-scoped writes.
- route
- Classifies one host event and applies session/repository TTL deduplication.
- status
- Inspects marker-owned host and strict-gate content without changing files.
- uninstall
- Removes only marker-owned content and merges around unrelated host configuration.