The feeder-v1 contract, its fixtures and a fake Feeder (#8) #29
No reviewers
Labels
No labels
boundary:crosses
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/messages-mind-mcp!29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-8-feeder-contract"
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?
Closes #8.
What this adds
The
feeder-v1contract incontracts/feeder-v1/: every field that can leave the Source Mac, as a closed list. No real Feeder exists yet. The real Feeder must pass the tests in this directory before a release.contracts/feeder-v1/README.mdGLOSSARY.md.contracts/feeder-v1/operations.jsonGET: path, parameters, grammar and largest page. Six error codes.contracts/feeder-v1/schema.jsoncontracts/feeder-v1/fixtures/contracts/feeder-v1/conformance.pysrc/messages_mind_mcp/wire.pytests/feeder_fake.pyThe acceptance criteria
schema.jsonandoperations.json.Rulings that this change records
guid, and not theguid. The row is gone, so the Feeder cannot apply the deny list to the record. ADR 0006 is amended.Choices to read in the diff
The contract holds more than the issue named. Each of these is in "The operations", "A row" or "What this contract does not settle" of the contract document.
401for every path and every method.nameand agroupflag. A Tapback has anaction, and the kindsemoji,stickerandother.checknames the contract and lists the columns of a schema-pin fault.reply_toofnull.rcsis a value oftransport, and no fixture holds an RCS row.newest_dateis the date of the newest row that the Feeder serves, and a Tapback is a row.What the tests do not cover
Checks
make checkpasses on macOS: ruff, ruff format, mypy in strict mode oversrc,testsandcontracts, and 414 tests. The two-axis review ran, and its findings are closed in the second commit.🤖 Generated with Claude Code