U3 slice 1: request atomicity, card versions, atomic rate limit, recovery holds (pin backend #140) #328

Merged
weichen merged 5 commits from feature/collab-storage-u3-atomicity into main 2026-10-11 04:48:03 +00:00
Owner

Plan U3 slice 1, user confirmed to proceed (2026-10-11).

  • backend PR #140 (pin 3def525): message append allocates seq under the conversation advisory lock in one transaction; activity_cards version (v19) with optimistic saves, user-facing card mutations map to 409; recovery_holds (v20) with fail-closed resume skip and admin list/release; Redis limiter as one Lua INCR+PEXPIRE script with a conservative per-instance fallback and Degraded counter.
  • U3 remainder (PG admission hard budget, KTD13 action-authz matrix, admission_pg_test) is explicitly deferred to slice 2 pending confirmation.

Evidence (SELF via evidence tool in the task card): make test, make test-backend-pg against isolated real PostgreSQL 18.6 + Redis, make build - all exit 0. CI GATE (test + test-pg) first run on this PR.

Task card: .task/feature-collab-storage-u3-atomicity.md

Plan U3 slice 1, user confirmed to proceed (2026-10-11). - backend PR #140 (pin 3def525): message append allocates seq under the conversation advisory lock in one transaction; activity_cards version (v19) with optimistic saves, user-facing card mutations map to 409; recovery_holds (v20) with fail-closed resume skip and admin list/release; Redis limiter as one Lua INCR+PEXPIRE script with a conservative per-instance fallback and Degraded counter. - U3 remainder (PG admission hard budget, KTD13 action-authz matrix, admission_pg_test) is explicitly deferred to slice 2 pending confirmation. Evidence (SELF via evidence tool in the task card): make test, make test-backend-pg against isolated real PostgreSQL 18.6 + Redis, make build - all exit 0. CI GATE (test + test-pg) first run on this PR. Task card: .task/feature-collab-storage-u3-atomicity.md
weichen added 4 commits 2026-10-11 04:41:00 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-collab-storage-u3-atomicity.md; R0=6479eb5c38636e758b7e44a36fdc7ce6883ad1c9.

Impact: task metadata only; the feature workspace starts at 6479eb5c38.

Refs: .task/feature-collab-storage-u3-atomicity.md
Why: the parent must pin the merged component SHA for the combined build and CI gates.

Evidence: backend origin-main merge of #140 fetched and checked out.

Impact: gitlink only.

Refs: backend PR #140.
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=6479eb5c38636e758b7e44a36fdc7ce6883ad1c9; candidate=f3e7e67fb31cd4a7a1f77394eb7650a8230fb490.

Impact: task metadata only.

Refs: .task/feature-collab-storage-u3-atomicity.md
Record the U3 slice-1 delivery state and evidence in the task card
ci / test-pg (pull_request) Successful in 54s
ci / test (pull_request) Successful in 2m22s
b680b95f24
Why: stage review needs the results, stage verdicts and three evidence segments in the card before the PR.

Evidence: make test / test-backend-pg (real services) / make build all exit 0 via the evidence tool.

Impact: task metadata only.

Refs: backend PR #140.
weichen added 1 commit 2026-10-11 04:41:09 +00:00
Fill the task record PR link
ci / test (pull_request) Successful in 2m32s
ci / test-pg (pull_request) Successful in 54s
8fc7c64595
Why: card and PR description are one document; record the PR link on the branch before merge.

Evidence: Dev PR #328 created via Gitea API.

Impact: task metadata only.

Refs: PR #328.
weichen merged commit b2dd0c845d into main 2026-10-11 04:48:03 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#328