U5 remainder: same-tx outbox, S3-compatible blobstore, real-process acceptance (pin #157) #380

Merged
weichen merged 7 commits from feature/collab-storage-u5-outbox into main 2026-10-11 16:11:35 +00:00
Owner

Plan U5 remainder (KTD5/KTD9 + section-5 exit), continuation toward completion.

  • backend PR #157: EnqueueCommandInTx in-transaction command outbox (rollback removes, commit publishes both, idempotent); AppendEvents notifies in the same transaction (KTD6 front half); blobstore.S3 (SigV4, presigned GET, prefix isolation, idempotent delete, env-driven with local fallback) injected at the composition root; realproc acceptance - testbinary self-spawn of two real serve processes (per-process identity + command consumers, one schema): same-conversation contention, cross-instance cancel claimed exactly once, stale-owner settle fenced with run unchanged.
  • Dev: architecture baseline ratchet for app->blobstore.

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 first run on this PR (test-pg runs the real-process matrix).

Task card: .task/feature-collab-storage-u5-outbox.md

Plan U5 remainder (KTD5/KTD9 + section-5 exit), continuation toward completion. - backend PR #157: EnqueueCommandInTx in-transaction command outbox (rollback removes, commit publishes both, idempotent); AppendEvents notifies in the same transaction (KTD6 front half); blobstore.S3 (SigV4, presigned GET, prefix isolation, idempotent delete, env-driven with local fallback) injected at the composition root; realproc acceptance - testbinary self-spawn of two real serve processes (per-process identity + command consumers, one schema): same-conversation contention, cross-instance cancel claimed exactly once, stale-owner settle fenced with run unchanged. - Dev: architecture baseline ratchet for app->blobstore. 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 first run on this PR (test-pg runs the real-process matrix). Task card: .task/feature-collab-storage-u5-outbox.md
weichen added 5 commits 2026-10-11 16:07:37 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-collab-storage-u5-outbox.md; R0=0933a3be588739f867abebaa3aa4c0283d005e40.

Impact: task metadata only; the feature workspace starts at 0933a3be58.

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

Evidence: backend origin-main merge of #157 fetched post-merge.

Impact: gitlink only.

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

Evidence: SELF recursive component checks; sync_base=0933a3be588739f867abebaa3aa4c0283d005e40; candidate=8b3ebb31a1aeed0af580bebc5e57bd246c6177c2.

Impact: task metadata only.

Refs: .task/feature-collab-storage-u5-outbox.md
Why: U5 injects the S3-compatible blobstore from the app composition root (env-driven, local fallback) - a legitimate dependency recorded in the baseline.

Evidence: lint-boundaries green after the update.

Impact: baseline bookkeeping only.

Refs: backend PR #157.
Record the U5-remainder delivery state and evidence in the task card
ci / test-pg (pull_request) Successful in 1m19s
ci / test (pull_request) Successful in 3m58s
9f888b7ac8
Why: stage review needs results and evidence in the card before the PR.

Evidence: make test / test-backend-pg / make build exit 0 via the evidence tool.

Impact: task metadata only.

Refs: backend PR #157.
weichen added 1 commit 2026-10-11 16:07:51 +00:00
Fill the task record PR link
ci / test-pg (pull_request) Successful in 1m23s
ci / test (pull_request) Successful in 4m9s
7a897d4743
Why: card and PR description are one document.

Evidence: Dev PR #380 created via Gitea API.

Impact: task metadata only.

Refs: PR #380.
weichen added 1 commit 2026-10-11 16:08:04 +00:00
Merge authoritative main into the task branch
ci / test-pg (pull_request) Successful in 1m24s
ci / test (pull_request) Successful in 3m16s
f7ac9fa080
weichen merged commit b5f766a9ae into main 2026-10-11 16:11:35 +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#380