doover-core 0.1.2

Core library for doover: session-scoped snapshot, journal, and undo for AI agent shell actions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# doover reversibility registry — shell constructs (data: CC0-1.0)

rules:
  - id: shell.redirect-truncate
    match: { redirect: ">" }
    effect: destructive
    scope: { paths: redirect-target }
    undo: snapshot-restore
    notes: "Truncates before the command runs; `sort f > f` empties f. Top real-world data-loss vector."

  - id: shell.redirect-append
    match: { redirect: ">>" }
    effect: mutating
    undo: none
    notes: "Additive; original bytes remain."