Structs§
- Artifact
Meta - Artifact
Session - Artifact
Session Manager - Artifact
Task Spec - DocPatch
- FsArtifact
Store - Runtime
Artifact Adapter - Save
Meta - Validated
Patch
Enums§
Traits§
Functions§
- apply_
doc_ patch - Apply validated edits in reverse order to avoid index drift. Allocation: line buffer + replacement line buffers. Complexity: O(L + R + e).
- compute_
revision - validate_
doc_ patch - Validate structural patch invariants before any mutation.
end_lineis exclusive. Allocation: clones only the validated edit list. Complexity: O(e), e = edit count.