Expand description
install: write the testing contract into the repository’s agent
context file (AGENTS.md) as a marker-delimited, hash-versioned block —
the beads (bd init) pattern. Idempotent: re-running refreshes the owned
region and touches nothing outside it.
Functions§
- install
- Upsert the managed block into the file at
path: create the file when absent, append when no marker is present, otherwise replace only the region between the markers. A current block is a byte-identical no-op. A begin marker with no matching end marker is a damaged block —installrefuses it rather than appending and orphaning the marker.