Skip to content

Gate 4: enforce same-batch storyline clip isolation - #87

Merged
vebbaybi merged 2 commits into
mainfrom
codex/sprint1-gate4-isolation-cors
Sep 22, 2026
Merged

vebbaybi merged 2 commits into
mainfrom
codex/sprint1-gate4-isolation-cors

Conversation

@vebbaybi

@vebbaybi vebbaybi commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Bounded isolation repair

Candidate: 04a7e51.

The original real-Postgres probe at 6cbc5e3 demonstrated disclosure through malformed cross-batch storyline membership. The fix adds clips.batch_id = $2 using the already-authorized batch ID. Existing batch ownership authorization is unchanged. Valid owner data must still return HTTP 200; foreign membership is omitted. Batch detail and JSON export share the repaired loader.

The original regression test and its assertions are unchanged. No schema or dependency changes. Local go test -timeout 90s ./... and go vet ./... passed. CI 35747193645 and Security source 35747193714 are running.

This PR remains draft. This repair does not accept the entirety of Gate 4 or its remaining CORS work. The original failed probe is retained in CI 35745286414, isolation job 106805210514.

@vebbaybi vebbaybi changed the title Gate 4: real Postgres ownership boundary diagnostic Gate 4: enforce same-batch storyline clip isolation Sep 22, 2026
@vebbaybi

Copy link
Copy Markdown
Owner Author

Focused repair verified at 04a7e51: CI 35747193645 passed the unchanged Gate 4 real Postgres isolation test, Go API, Python Worker, Web Build, and Compose configuration jobs. Security source 35747193714 passed. Full Compose runtime verification is still running; no full Gate 4 or release acceptance is claimed. Local go test -timeout 90s ./... and go vet ./... passed. No regression-test assertions, schema, or dependencies changed.

@vebbaybi
vebbaybi marked this pull request as ready for review September 22, 2026 15:39
@vebbaybi
vebbaybi merged commit 6e82b77 into main Sep 22, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from Product Backlog to Done in ClipSense Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant