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§
- cell_
doc - Per-cell document projection (
#qcellmerge1groundwork). - component
- Module: component
- crdt
- Module: crdt
- crdt_
sync - State-vector sync protocol primitive (
#crdtauth1sv). - diff
- Module: diff
- ffi
- C-ABI exports for FFI consumers (editor plugins, Python bindings).
- frontmatter
- Module: frontmatter
- gate_
verify - Module: gate_verify
- heuristics
- Recommendation-detection heuristics for pending-capture enforcement.
- id
- Boundary ID helpers — used across all write paths.
- ipc_
corruption - Module: ipc_corruption
- log_
time - Module: log_time
- model_
tier - Module: model_tier
- op_log
- Module: op_log
- pending
- Module: pending
- project_
config - Module: project_config
- queue_
item_ lifecycle - Pure queue-item lifecycle lattice shared by CRDT convergence (
agent-doc-core) and the orchestration-layer queue state machine (agent_doc_orchestration::queue_item_state_machine,#queuestatemachine1). - replay_
guard - Module: replay_guard
- syntax
- template
- Module: template
- topic
- Module: topic
- turn_
scope - Module: turn_scope