Skip to main content

Crate locode_instructions

Crate locode_instructions 

Source
Expand description

Project instructions (AGENTS.md) for the locode coding agent: discovery, assembly, and the one User <system-reminder> message they are injected as.

One shared implementation for every harness pack — instruction loading is loop-adjacent engine machinery, not a pack surface (ADR-0023 §1). Split out of locode-host/locode-engine into its own crate by the ADR-0002 amendment of 2026-07-24, alongside a sibling locode-skills, because the two are separate features that happen to share an envelope — not one “context” concern.

Re-exports§

pub use load::InstructionEntry;
pub use load::InstructionsConfig;
pub use load::ProjectInstructions;
pub use load::load_project_instructions;
pub use render::already_delivered;
pub use render::any_delivered;
pub use render::instructions_hash;
pub use render::removal_delivered;
pub use render::removal_message;
pub use render::render_body;
pub use render::render_instructions;

Modules§

load
Shared project-instruction (AGENTS.md) discovery (ADR-0023, Task 30).
render
Rendering discovered project instructions into a conversation message (ADR-0023 §2).