strip-protocol: records' client half moves in from agent-tools #1
Loading…
Reference in a new issue
No description provided.
Delete branch "strip-protocol-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
agent-tools'
recordspackage is split in two, as AGT-85 settled with the agent-tools session: this repo takes the protocol half, still packagerecords, so a program moving off agent-tools changes only its import path. Its store half (the SQLite store and the server) is strip-store's PR, next.What is here: the message and state types (Note, Target, Delivery, Timing, the Check states, CIJob/CILoad/QueuedPR, stages and steps, every request type), the notices, Hold, Base/Dir, Level/OwnLevel and Process, and the client (Call/CallFor, SocketPath, Start/StartBeside). Its only requirement is
golang.org/x/sysv0.49.0; no SQLite.What changed, and only where the cut forces it (behaviour is the same):
UseLocaltakes aLocalinterface (Dispatch,Hold) instead of*Server, so strip-owner's server, now in strip-store, still answers its ownCallandHoldwithout the socket.Request,Response,CallTimeout,ClockAt,Delivery.Carried,TableCell,PRLink,HeadTitle,HoldHeading,RemoteHolding,HeadedHoldPost, and a newNoticeHeaded.StepsToComeis the pure tail of the store'stoCome, moved here unchanged. No struct field or JSON name changes, so the socket's methods and messages are byte-identical and old and new programs talk over the same socket (AHT-255 relies on it).Verified: built with agent-tools' consumers (pr, owner, strip, spawn, cmd/*) rewritten onto the two packages; vet clean on Windows, Linux and macOS; records' 76 tests split across the two pass with the same outcomes as on agent-tools' main, as do pr's. This repo's own
go test -p 1 ./...passes here.🤖 Generated with Claude Code