Skip to content

fix(share): reject malformed workspace capability responses - #7472

Merged
terencecho merged 1 commit into
codex/share-reinvite-revisionfrom
codex/share-review-spaces-validation
Nov 10, 2026
Merged

terencecho merged 1 commit into
codex/share-reinvite-revisionfrom
codex/share-review-spaces-validation

Conversation

@terencecho

Copy link
Copy Markdown
Contributor

Reject successful review-spaces responses that do not contain a workspace list before returning capability flags. A malformed response must not enable sharing. Empty lists remain valid, and flags still require explicit boolean true.

Five focused regressions cover missing, null and non-list payloads plus valid empty lists. Four fail without the guard. All 48 shared-kernel tests, declaration build, lint/format and normal commit hooks pass. No live backend or visual behavior was exercised.

Stacked on #7470; this follow-up does not change that queued PR.

@terencecho
terencecho merged commit 00d2562 into codex/share-reinvite-revision Nov 10, 2026
54 of 55 checks passed
@terencecho
terencecho deleted the codex/share-review-spaces-validation branch November 10, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant