strip-store: records' store half moves in from agent-tools, on strip-protocol #1
Loading…
Reference in a new issue
No description provided.
Delete branch "strip-store-moves-in"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/AHT-271
The store half of agent-tools'
recordspackage, split as AGT-85 settled with the agent-tools session; its protocol half is strip-protocol v0.1.0, which this requires. Packagestripstore:storewould clash with the local variable strip-owner and pr already use.What is here:
OpenandStore(the SQLite records and their schema),NewServer/ServerwithDispatch,Serve, holds and wakes,ListenandLabelSocket,TakeLock,Import, and the approval, run, cursor, ticket and landing records only strip-owner reads.go.modrequires strip-protocol v0.1.0,golang.org/x/sysv0.49.0 andmodernc.org/sqlitev1.61.1, agent-tools' versions.What changed, only where the cut forces it (behaviour is the same):
Server.dispatchandServer.holdare exported asDispatchandHold, so the server satisfies strip-protocol'sLocaland strip-owner still answers its own calls in process.ClockAt,Request,Response,PRLink, ...).Store.toComekeeps its search for the last delivered PR and hands the rest to strip-protocol'sStepsToCome, the same code moved.TakeLocklives inlock_*.goandListen/LabelSocketinlisten.go; adoc.gocarries the package comment.recordshelper isticketRecords(it clashed with the import), and the Low-integrity helper test has its own scenario here.The socket's methods and JSON are unchanged, so old and new programs talk over the same socket. Verified as strip-protocol's PR says; this repo's own
go test -p 1 ./...passes here against strip-protocol v0.1.0.🤖 Generated with Claude Code