mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 13:26:10 +00:00
Derive whole-collection membership per checked list line while preserving recorded membership, counters, source Evidence and independent write claims. Integrate current main without losing its shared path decoder. Keep later or ambiguously positioned pages recorded rather than inventing earlier entities. Validation: 543 focused/adjacent tests, nine README checks, complete static/docs checks, repeated regression runs, and real retained GitHub-label CLI/MCP load/reset workflows. An actual Codex session returned the correct facts; its over-strict grader failure and same-trace semantic verification are recorded. Evidence and limitations: https://github.com/morluto/rea/pull/5787#issuecomment-6338446674 Tracking: #6262; feature scope: #4933. Assisted-by: Kogasa (gensokyo-skills:kogasa-surprise-testing)
884 B
884 B
Implementation plan
- Gate. Judge each latest list recording on its own for paging-only query, totals, next page and state order;
keep
allwhen every line passes and otherwise name the passing lines inall_record_ordinals; reproduce each line with its own membership. - Counters. Count
number-of-items members as item totals. - Consumers. One helper says whether a view lists all on a line; serving, the write gate's list checks and the insert retry use it, and an argument-less call may answer on any such line.
- Absences. When a read shows an entity absent, drop it from every write's claim on its collection, so a write left with none no longer counts there.
- Tests and docs. Domain and serving tests as the acceptance lists; the membership row of the environment-state docs and the list answer row of the agent-environment docs.