Expand description
Cross-runtime contracts for GitNexus-style repo intelligence and impact-first AINL flows.
Crate has no openfang_* dependencies so it can ship stand-alone or with AI_Native_Lang tooling.
Re-exports§
pub use learner::FailureKind;pub use learner::ProposalEnvelope;pub use learner::TrajectoryOutcome;pub use learner::TrajectoryStep;pub use procedure::ExperienceBundle;pub use procedure::ExperienceEvent;pub use procedure::ProcedureArtifact;pub use procedure::ProcedureArtifactFormat;pub use procedure::ProcedureExecutionPlan;pub use procedure::ProcedureExecutionStep;pub use procedure::ProcedureLifecycle;pub use procedure::ProcedurePatch;pub use procedure::ProcedureReuseOutcome;pub use procedure::ProcedureStep;pub use procedure::ProcedureStepKind;pub use procedure::ProcedureVerification;pub use vitals::CognitivePhase;pub use vitals::CognitiveVitals;pub use vitals::VitalsGate;
Modules§
- context_
compiler - Context-compiler shared vocabulary (Phase 6 of SELF_LEARNING_INTEGRATION_MAP §15.1).
- learner
- Shared learner payloads (trajectory steps, failure taxonomy, proposal envelopes).
- procedure
- Portable procedure-learning contracts.
- telemetry
- Telemetry / metrics field names — keep identical across ArmaraOS, AINL MCP, and optional inference-server.
- vitals
- Cognitive vitals — structured signal derived from LLM token-level logprobs.
Structs§
- Recommended
Next Tools - Ordered recommendation list (validate → compile → impact/diff → run).
- Recommended
Tool Step - One recommended tool step in the impact-first chain (AINL MCP names or logical ids).
- Repo
Intel Capability Profile - Profile returned by
ainl_repo_intelnormalization.
Enums§
- Context
Freshness - Freshness of code/repo context for safe edits (independent of inference-server).
- Impact
Decision - Decision gate for executing versus gathering more context.
- Repo
Intel Capability State - Aggregate readiness for repo-intelligence MCP capabilities.
- Repo
Intel Tool Class - Class of repo-intelligence MCP tool (GitNexus-class naming).
Constants§
- CONTRACT_
SCHEMA_ VERSION - Version for JSON serialization of policy contract payloads (bump on breaking enum changes).
- LEARNER_
SCHEMA_ VERSION - Schema version for
ProposalEnvelopeand other learner wire types.