locode_instructions/lib.rs
1//! Project instructions (`AGENTS.md`) for the locode coding agent: discovery,
2//! assembly, and the one `User` `<system-reminder>` message they are injected as.
3//!
4//! One shared implementation for every harness pack — instruction loading is
5//! loop-adjacent engine machinery, not a pack surface (ADR-0023 §1). Split out of
6//! `locode-host`/`locode-engine` into its own crate by the ADR-0002 amendment of
7//! 2026-07-24, alongside a sibling `locode-skills`, because the two are separate
8//! features that happen to share an envelope — not one "context" concern.
9
10pub mod load;
11pub mod render;
12
13pub use load::{
14 InstructionEntry, InstructionsConfig, ProjectInstructions, load_project_instructions,
15};
16pub use render::{
17 already_delivered, any_delivered, instructions_hash, removal_delivered, removal_message,
18 render_body, render_instructions,
19};