Address the exact lines
The model refers to numbered source lines instead of reproducing large blocks of surrounding context just to identify an edit location.
// Edit format
Hashline replaces fragile fuzzy patches with edits anchored to numbered lines and verified against the file state the model actually saw.
The model refers to numbered source lines instead of reproducing large blocks of surrounding context just to identify an edit location.
Each requested replacement includes a compact hash. If the source changed, PasClaw rejects the operation rather than applying it somewhere ambiguous.
Compact edit instructions leave more context for reasoning, code understanding, and validation instead of diff boilerplate.
A rejected edit provides a clear signal to re-read the file and retry from current content, making agent recovery deterministic.
From the documentation
Implementation notes drawn from the PasClaw repository documentation.
fs_read returns a path-and-hash header followed by line-numbered content. fs_edit_hashline uses that state to make a guarded edit.
A stale patch is a request to re-read rather than an invitation to guess where an edit belongs.
Common questions
Keep exploring
See how the rest of PasClaw fits together.