Add change feed with named consumers and acknowledgements #19
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-peoplemind-mcp-8-change-feed-with-named-consumer-46c82a6e"
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?
Add validated feed consumer configuration, paginated person changes, and monotonic integer-sequence acknowledgements on the read scope. Restrict API writes to consumer positions with a SQLite authorizer, exclude feed footers from row counts, and document the feed configuration and tools.
Add HTTP acceptance tests covering independent positions, repeated reads, merge and deletion events, acknowledgement bounds, write restrictions, configuration, logging, and lock contention.
Validation: baseline 153 passed, 3 skipped; final suite 164 passed, 3 skipped. Mypy, Ruff, and source/wheel builds pass.
Closes #8
Co-Authored-By: gpt-6.1-sol noreply@openai.com
Architect verification on a scratch worktree at
efa70db(host voyager, 08:55Z):uv lock --checkclean. No nested.git.ruff format --checkreportstests/test_feed.pywould be reformatted (one assert wrapped differently). The architect folds the reformat into the next change that touches the file.Review notes:
open_positionsopensmode=rw, checks the schema version before installing the authorizer, and the allow-list admits reads plus INSERT and UPDATE onconsumersonly; PRAGMA, DDL, DELETE and ATTACH are denied by the default branch.feed.ackchecks the unknown-consumer and past-end cases inside the transaction and writes only whenseqexceeds the held position, so a repeated or backwards ack is a no-op. The gate rulings landed: parameterseq: int,[feed] consumers, footerack_seq=N more=true|false.Ready for the operator to merge.