Expand description
agent-doc-core — document data layer for agent-doc.
See tasks/agent-doc/plan-agent-doc-core-extraction.md for the wave plan.
Currently extracted: Wave 1 (id, crdt, component, model_tier, pending),
Wave 2 (frontmatter, project_config), Wave 3 (template), Wave 4 (diff
pure half per #rtx6 Option 1 — ComputeResult, compute,
compute_with_current, wait_for_stable_content, run stay in the main
crate’s diff_io.rs because they call snapshot::{load,save,resolve, path_for}). Some functions in frontmatter, project_config, and
template take &Path and touch the filesystem — they live here for the
convenience of a single move and may be split into orchestration wrappers
in a follow-up tidy.
Re-exports§
pub use component::Component;pub use crdt::CrdtDoc;pub use diff::DiffClassification;pub use diff::DiffType;pub use diff::OrchestrationRequest;pub use diff::OrchestrationRequestMode;pub use diff::ParsedSlashCommands;pub use diff::PromptBearingChange;pub use diff::PromptBearingChangeKind;pub use id::BOUNDARY_ID_LEN;pub use id::format_boundary_marker;pub use id::new_boundary_id;pub use id::new_boundary_id_with_summary;pub use template::ComponentInfo;pub use template::PatchBlock;pub use template::TemplateInfo;
Modules§
- component
- Module: component
- crdt
- Module: crdt
- diff
- Module: diff
- ffi
- C-ABI exports for FFI consumers (editor plugins, Python bindings).
- frontmatter
- Module: frontmatter
- id
- Boundary ID helpers — used across all write paths.
- model_
tier - Module: model_tier
- pending
- Module: pending
- project_
config - Module: project_config
- syntax
- template
- Module: template