Rebuild of the fs-overwrite-diff-bound branch on current master. Adds the diffBasisMaxBytes Config field (10 MiB default, capped by runtime allocation/decode limits), gates both overwrite sides, and reads the prior basis from the bounded opened descriptor in cancellation-aware chunks; any post-stat size change returns a null basis. Also pins the one-extra-byte growth probe with a regression and drops the now-covered v8 ignore.
fs/ - filesystem capability family
English | 中文
The filesystem capability family: provider seam, interchangeable backends, policy, and model-facing tools. All product packages.
| Package | Role | ctx key |
|---|---|---|
fs/ |
Filesystem provider seam and policy-event vocabulary | ctx.fs |
fs-local/ |
Local-filesystem backend | registers ctx.fs |
fs-sandbox/ |
Sandbox-enforcing backend | registers ctx.fs |
fs-policy/ |
Observed-state and mutation policy | fs/* listeners |
tool-fs/ |
Model-facing file tools | registers on ctx.tools |
tool-fs-search/ |
Process-backed discovery tools | registers on ctx.tools |
tool-str-replace-editor/ |
Model-facing string-replacement editor | registers on ctx.tools |
Backends replace one another behind ctx.fs; policy and tools consume the seam independently. Discovery remains process-backed instead of expanding the provider contract. Child READMEs own containment, mutation, schema, and timeout details.