Repository navigation
Gate 4: enforce same-batch storyline clip isolation - #87
Merged
Merged
Conversation
5 tasks
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.