Skip to content

refactor(gateway): keep admitted personal-profile requests running - #201083

Merged
obviyus merged 3 commits into
mainfrom
refactor/check-once-personal-profile
Nov 18, 2026
Merged

obviyus merged 3 commits into
mainfrom
refactor/check-once-personal-profile

Conversation

@obviyus

@obviyus obviyus commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

A plain sessions.github.options call can outlive its WebSocket. No profile write, policy reload, or generation bump is required to reproduce T04:

  • src/gateway/server/connection.ts:512 aborts the connection signal when the socket closes; :256 removes the socket from the client set.
  • The base personal-profile-authorization.ts:34,40-43 treats either event as lost personal authority.
  • The base github-personal-authorization.ts:134-140 retains that live check as currentClient, invoking it again after session preparation (:169) and during response reads (:186). An already-started read therefore throws the exact logged refusal: Personal profile request connection is no longer current; reconnect and try again.
  • Independently, base request-authorization.ts:285,518 calls the same authorizeGatewayMethod for one retained request. The later call can reach method-authorization.ts:56-57 after client.invalidated changes and refuse with Gateway requester authority changed.

This reproduces a concrete socket-close cause; the aggregated historical logs alone do not prove that every T04 event had this cause.

Rule

Authority is decided when work starts and remains fixed for that request. A reconnect, revocation, or role edit affects the next request. Queued/retried/replayed work admits again when it actually starts. A completed read may have no socket left to receive its response.

Change

  • Capture the personal profile, role/scope ceiling, and credential owner at admission. Reuse those facts while the request runs instead of consulting the socket and live role repeatedly.
  • Retain profile identity binding, not profile authority/role binding. The existing prepareUserProfileSelectionAuthority API preserves canonical identity and physical-store safety. Personal credential readers use the already-existing captureUserProfileAuthorityRead(..., "identity") mode; secret account/generation ownership is unchanged.
  • Preserve explicit request/admitted-run cancellation and read deadlines, release/use-after-close checks, session/workspace identity checks, and credential selection/generation fences. Socket currency and access-policy predicates remain admission-only in the personal helpers.
  • Keep authorizeGatewayMethod at admission, but remove its retained-request source/role reauthorization. Preserve the separate broad-versus-session-only dispatch-ceiling comparison through a shared grant-only calculation; profile/catalog preparation must not replace the selected ceiling. Canonical profile preparation and the existing operator/session admission owners remain in place.
  • Treat an OAuth browser callback as a new start: re-admit the initiating profile before exchanging its proof. Disconnect before callback admission is refused; disconnect during the admitted exchange no longer kills its write. Fresh personal GitHub status/poll requests already construct their own action.
  • No schema, stored-row, protocol, or Plugin SDK signature/export changes. No changes to PR 1's owned files.

Production remains net negative: the initial change removed 39 net lines; the dispatch-ceiling repair added 28 and the cancellation repair adds 6, leaving the PR at net -5 production lines. No exported production symbol is removed. Deleted private lifetime machinery: personal assertConnection, publication currentClient/resolveOwner, and the router's repeated full-method authorizeMethod closure. The personal read action now reuses its admitted profile binding rather than capturing it twice. The test-only blockAlice fixture moved to the existing authority support module; the redundant preparePoll wrapper was removed to keep the test file within its existing lint cap.

Threat model

  • Rows 1/2 — admission and whose data: method role/scope admission and personal human/profile selection remain. Captured requests do not acquire another person's identity or a larger ceiling. The next request is refused after a real role revocation.
  • Row 3 — secrets unchanged: the reader still binds to the same person and the same credential generation. Profile merge/identity changes cannot redirect an admitted read; disconnect/replacement/generation and exact pending-flow fences remain. A role edit is not a credential-identity change.
  • Row 4 — execution/approvals unchanged: no sandbox, tool-command admission, or approval boundary is changed.
  • Row 5 — later starts: OAuth callbacks explicitly re-admit; each new status/poll RPC creates fresh personal authority. Existing publication target/custody and resource-release fences remain.

Accepted edge case: the admitted request finishes after disconnect, but its result cannot be delivered to the closed socket. Closing before personal admission still refuses; the proof retains those negative controls.

Evidence

Base 6ec27bd739c7 (merge base). Both arms: a real Gateway from source (ocx src), isolated state and ports, and a synthetic trusted-proxy Control UI-like identity. No predicates, thrown errors or Gateway handlers were injected.

Scenario Base Head
sessions.github.options, socket closes 3 ms after sending Exact T04 refusal at 6 ms Request finishes at 112 ms; nothing is delivered to the closed socket
Same request, socket closes after 5 ms Exact T04 refusal, 19 ms Finishes after close, 11 ms
Same request, socket closes after 10 ms Exact T04 refusal, 13 ms Finishes after close, 13 ms
Close before personal admission (0/1 ms) Refused Still refused at admission
Real users.setRole to denied, then a fresh request FORBIDDEN: missing scope: operator.read Same admission refusal
Retained method request invalidated during preparation (regression test) Gateway requester authority changed Request completes; next request refused

Tests and checks

Obsolete tests were rewritten, not deleted: personal ingress/role changes, coverage/receipt/repository reads across disconnect, role edits during OAuth polling/status, and disconnect during an admitted OAuth callback now require completion. Their next-request controls still require refusal. Merge, credential generation, selected target/workspace, cancellation, expiry and replacement controls remain.

CI follow-up classification:

  • github-publication-native.test.ts, personal publisher custody / original requester-revoked: during the admitted publication. The action was admitted before requestPersonalForSessionV2, and the source disappears inside prepareRepositoryIntegration during that publication. Renamed the scenario to requester-disconnected; require successful publication with the same personal publisher, worker execution credential isolation, and exact physical CAS. A fresh preparePersonalPublicationFixtureAction after disconnect must refuse at admission. Credential reselection and explicit cancellation scenarios still refuse.
  • session-row-prepared-read.test.ts, settles startup discovery after revoked before dispatch: during the admitted request. Method admission already passed before the test pauses the running prepareSqliteTargetFromSessionStorePath discovery. Its internal readiness loop resumes the same request, not a queued RPC or new execution. Require it to finish; the next call with the revoked scopes must be refused without starting another discovery. The adjacent bounded-startup test likewise keeps the original request's timeout result and refuses the next call.
  • server-methods.profile-authorization.test.ts, models.list / sessions.groups.list scope permutations: before final profile/catalog dispatch admission completes. These tests enforce the retained pre-dispatch scope-ceiling selection fence. My change mistakenly deleted that comparison together with the source/role reauthorization, causing three base-passing cases to dispatch. The table is restored exactly to its base expectations. authorizeGatewayMethodScopes now owns the existing grant-only calculation, shared with admission and the dispatch-ceiling comparison, without rereading client.invalidated or current role policy. In particular, the groups read→session-read refusal also remained protected at b040dd4b by captureGatewayRequestOperatorGuard's live-scope comparison; that router-owned lifetime check is untouched and remains for a separate S1 PR with its own proof.
  • Direct-importer follow-up, server-methods.canonical-validation.test.ts / exact-row authorization: during the admitted read. The scope mutation happens only after withSessionRowDatabaseFacts has entered and paused. The prepared authorization now finishes; a fresh call with those revoked scopes must return MISSING_SCOPE. Bulk-validation independence, unavailable-method refusal, and corrupt-subscription fences remain unchanged.

The fix does not restore retained source/role authorization or cut the router guard. The separate OAuth-callback later-start admission added in this PR remains in place.

  • CI-repair commit 5976f5173b1a0496adf0480c78c5e7b9ffc5722c: priority files 3 files / 76 tests passed (359.53 s Vitest duration); this includes the original profile-authorization expectations, the admitted-discovery controls, and personal publisher custody.
  • The scope-fence follow-up passed changed-file oxfmt/oxlint, tsgo:core, and tsgo:core:test.
  • Direct-importer follow-up: the other 11 files / 154 tests passed unchanged. The remaining canonical-validation file passed all 4 tests after updating its obsolete mid-read revocation expectation. Together with the priority files, this verifies 15 files / 234 unique tests, reusing unchanged passing results rather than rerunning the full batch.

CI run 44297089334 follow-up classification:

  • Readiness post-await connection / grant: during the admitted read. The grant is the Gateway operator-access policy signal, not a personal credential generation or data-store lease. The read finishes; the next request is denied. Profile/session/visibility/source replacement and registry custody controls remain.

  • Cold configured locator (shared.sqlite, role reader): initial allowed cold/warm reads were already passing. The failure was in the later sessions.others policy-reload check, during an admitted observation. That observation finishes; the next read is denied before receipt observation (INVALID_REQUEST for the now-hidden session). The separate named-role scope veto remains in its base form because the router guard is outside this PR.

  • CLI-owner readiness: explicit supplied source/run cancellation, not a role-policy edit. Keep the existing allowed-path and cancellation assertions unchanged. Read cancellation now includes the admitted run's AbortSignal; no live source/role predicate was restored.

  • Legacy DROP TABLE / DELETE lifecycle recovery: explicit request cancellation after a durable claim. This was a production regression: ignoring options.signal allowed publication after controller.abort(). Personal actions again honor the request/caller cancellation signal, including before/after profile preparation. Both legacy recovery tests stay unchanged.

  • revoked-after-create: during the admitted confirmation/readback, after the remote effect. The existing closed-PR observation is now delivered as the original request's terminal github_rejected result, retaining its observed PR effect and URL. Fresh publish/confirm requests with the reduced grant are refused and add no effects. This is not a credential-identity or generation change.

  • CI repair 7b9b97c9ca3f88e3daab69cf9f871d2fac931eca verifies 4 reported files / 49 unique tests, plus 11 profile-read ownership/control tests. The unchanged legacy-recovery and CLI-owner cancellation assertions pass with the production fix. After the final test-only denial-code/observation assertion correction, readiness passes all 34 cases; other unchanged passing results are reused.

  • Changed-file format/lint and tsgo:core:test passed for the cancellation repair. No further declaration-generating lint/typecheck cycle was run after the final readiness-test-only change.

  • Base regressions: four personal read/role cases fail on base; the retained-method regression fails with the exact requester-authority error.

  • Initial runtime head b040dd4b: six focused files, 148 passed.

  • tsgo:core, tsgo:core:test, every baseline sub-ratchet, changed-file oxfmt/oxlint: pass.

  • Lifetime ratchet (chore(ci): ratchet mid-request authority re-checks #201072): no per-file growth against the merge base; current changed-production-file count is 5. The restored scope-selection refusal remains in the inventory; source/role reauthorization remains removed.

  • LSP references and consumer sweeps cover changed owners and removed private helpers; no export removed.

  • Tier full: the initial runtime head b040dd4b passed ocx build --dts and a packed tarball install into a clean prefix (CLI, doctor). Packaging proof has not been repeated for the scope-fence follow-up.

- Keep admitted personal reads and actions running across reconnects and role changes.
- Bind personal credentials to identity and generation while preserving later callback admission and data fences.
- Remove retained method reauthorization and rewrite obsolete revocation expectations.
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: M labels Nov 18, 2026
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 7b9b97c9ca3f88e3daab69cf9f871d2fac931eca
  • Maintainer: @obviyus
  • Repository role: admin

These security sensitive changes were made:

  • src/gateway/server-methods/github-personal-authorization.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/method-authorization.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/personal-profile-authorization.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/request-authorization.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@obviyus
obviyus marked this pull request as draft November 18, 2026 08:28
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR lets admitted personal-profile requests finish after disconnects or role changes while preserving identity, credential, and target isolation.

Example: A sessions.github.options request loses its WebSocket 3 ms after sending.

  • Before: The admitted read fails with “Personal profile request connection is no longer current; reconnect and try again.”
  • After: The read finishes using its admitted authority; a subsequent request must pass admission again.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The central behavior has concrete production-entry-point evidence, but the consumer-test cutover is incomplete and causes the observed CI failures.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The PR records real isolated-Gateway base/head results through sessions.github.options: admitted reads complete after socket closure, closure before admission still refuses, and a fresh request after a real role change remains forbidden; OAuth callback coverage is supporting in-process test evidence.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: An admitted personal-profile request can fail when its socket closes or its role changes during preparation.
Reason: The failure is concrete, the repository explicitly permits admitted work to finish, and the maintainer-authored PR records the intended tradeoff.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this PR open: it addresses a concrete admission-lifetime failure, but remaining consumer tests still enforce the superseded behavior and fail CI.

Priority: P2
Reviewed head: b040dd4bc12164b2728b4a26af58344602777ebb

Before merge

  • [P2] Migrate the remaining consumer tests to the admission contract (P2) - The removal of retained reauthorization leaves six assertions failing in current-head CI: three scope-transition cases in server-methods.profile-authorization.test.ts, two revoked startup-read cases in session-row-prepared-read.test.ts, and requester-revoked in github-publication-native.test.ts. Source inspection confirms that each changes authority after work has already been admitted, so its old refusal expectation contradicts this PR's intended behavior. Update these consumers to verify completion under the original admission and refusal of a fresh request, preserving the independent credential, cancellation, and target-isolation controls; do not restore mid-request revocation to satisfy them.

Findings

  • [P2] [P2] Migrate the remaining consumer tests to the admission contract — src/gateway/server-methods/request-authorization.ts:242-250
Agent review details

How this fits together

The Gateway admits RPC callers, prepares profile and session facts, and supplies bounded authority to GitHub reads, publication, and personal account linking.

flowchart TD
  A[Gateway RPC caller] --> B[Method and profile admission]
  B --> C[Captured request authority]
  C --> D[Session and credential owners]
  D --> E[GitHub read or publication]
  C --> F[Account linking]
  F --> G[Fresh OAuth callback admission]
Loading

Technical review

Best possible solution:

Keep the existing admission and identity owners, and finish migrating consumer tests to completion-under-admission plus next-request refusal.

Do we have a high-confidence way to reproduce the issue?

Current-main source shows socket cancellation and retained reauthorization reaching the reported refusal; the PR supplies matching real-Gateway base/head results, which were not rerun during this read-only review.

Is this the best way to solve the issue?

Capturing admission facts while retaining canonical identity, credential-generation, cancellation, and target guards is a focused solution using existing owners; the remaining consumer expectations must follow the same contract.

Full review comments:

  • [P2] [P2] Migrate the remaining consumer tests to the admission contract — src/gateway/server-methods/request-authorization.ts:242-250
    The removal of retained reauthorization leaves six assertions failing in current-head CI: three scope-transition cases in server-methods.profile-authorization.test.ts, two revoked startup-read cases in session-row-prepared-read.test.ts, and requester-revoked in github-publication-native.test.ts. Source inspection confirms that each changes authority after work has already been admitted, so its old refusal expectation contradicts this PR's intended behavior. Update these consumers to verify completion under the original admission and refusal of a fresh request, preserving the independent credential, cancellation, and target-isolation controls; do not restore mid-request revocation to satisfy them.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against c8da4b7fbc40.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/gateway/server-methods.profile-authorization.test.ts src/gateway/session-row-prepared-read.test.ts src/gateway/github-publication-native.test.ts
  • pnpm test src/gateway/server-methods/request-authorization.test.ts src/gateway/server-methods/github-personal-authorization.test.ts src/gateway/server-methods/sessions-github-read.test.ts src/gateway/server-methods/sessions-github-read.target.test.ts src/gateway/server-methods/users-github.test.ts src/gateway/server-methods/users-channel-identity.test.ts
  • git diff --check
  • Verify normal PR CI passes for the repaired head.

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit c183920 adds src/gateway/server-methods/request-authorization.ts:73 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c183920e8fbc; files: src/gateway/server-methods/request-authorization.ts)
  • Josh Lehman: Raw commit 35b110b adds src/gateway/server-methods/personal-profile-authorization.ts:59 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 35b110b0cfc5; files: src/gateway/server-methods/personal-profile-authorization.ts)

PR surface

Source -39, Tests +74, Docs +3. Total +38 across 14 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 96 135 -39
Tests 7 135 61 +74
Docs 1 5 2 +3
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 236 198 +38

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: The change addresses bounded Gateway request failures; the identified repair is a focused migration of affected consumer tests.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The change addresses bounded Gateway request failures; the identified repair is a focused migration of affected consumer tests.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 18, 2026, 3:45 AM ET / 08:45 UTC.

- Restore the dispatch-ceiling fence without repeating source or role authorization.
- Keep profile-admission expectations unchanged and verify admitted publication/read completion with fresh-request refusal controls.
@obviyus obviyus closed this Nov 18, 2026
@obviyus obviyus reopened this Nov 18, 2026
@obviyus
obviyus marked this pull request as ready for review November 18, 2026 11:42
@obviyus
obviyus marked this pull request as draft November 18, 2026 12:05
- Preserve caller and admitted-run AbortSignals without restoring live policy or socket checks.
- Reuse the admitted profile binding for personal read actions.
- Update in-flight readiness/readback policy expectations and keep fresh-request denial controls.
@obviyus
obviyus marked this pull request as ready for review November 18, 2026 13:36
@obviyus

obviyus commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Maintainer override: the red job is not caused by this PR.

Job Failing test
checks-node-changed-extensions-bundle-1 src/agents/subagents/spawn/subagent-spawn.production-boundary.test.ts > "preserves routed native Stop authority and existing receipts" (consumed-channel, consumed-command-handler, consumed-generation-replaced, consumed-session, consumed-active-revoked)

Why it is unrelated:

  • The same cases fail on fix: avoid repeated model setup before fallback attempts #201216 (job), which only changes model-fallback and provider-normalization files and touches nothing in authority, Stop or subagents.
  • This PR changes only src/gateway/ (personal-profile and GitHub authorization), src/state/ and docs; it does not touch src/agents/subagents/ or the operator run authority the spawn boundary uses.

The local ClawSweeper review on this exact head (7b9b97c9ca3f) is clean; the packed smoke passed on this head; every other check passes.

@obviyus
obviyus merged commit 461319f into main Nov 18, 2026
202 of 208 checks passed
@obviyus
obviyus deleted the refactor/check-once-personal-profile branch November 18, 2026 14:05
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…penclaw#201083)

Problem: a personal GitHub request (`sessions.github.options`, status, polls) was refused mid-request with "Personal profile request connection is no longer current; reconnect and try again." whenever its WebSocket closed, and retained requests could be refused with "Gateway requester authority changed". 21 such refusals were logged on one host in four days.

Fix: personal-profile authority (profile, role/scope ceiling, credential owner) is checked once at admission and fixed for the request. A socket close, role edit or policy change applies to the next request. Explicit request cancellation, admitted-run cancellation, profile merge identity, credential generation and target fences still stop or refuse work. OAuth callbacks re-admit as a new start. The router's dispatch-scope check is unchanged.

User impact: a started GitHub read or publication finishes even if the dashboard disconnects or the role changes meanwhile; the next request reflects the change.

Proof: real Gateway from source: socket closed 3/5/10 ms after sending refuses with the exact logged error on base and finishes on head; closing before admission and a fresh request after real role revocation are refused on both. Regression and consumer tests cover cancellation, merge, generation and next-request refusal.

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…201083)

Problem: a personal GitHub request (`sessions.github.options`, status, polls) was refused mid-request with "Personal profile request connection is no longer current; reconnect and try again." whenever its WebSocket closed, and retained requests could be refused with "Gateway requester authority changed". 21 such refusals were logged on one host in four days.

Fix: personal-profile authority (profile, role/scope ceiling, credential owner) is checked once at admission and fixed for the request. A socket close, role edit or policy change applies to the next request. Explicit request cancellation, admitted-run cancellation, profile merge identity, credential generation and target fences still stop or refuse work. OAuth callbacks re-admit as a new start. The router's dispatch-scope check is unchanged.

User impact: a started GitHub read or publication finishes even if the dashboard disconnects or the role changes meanwhile; the next request reflects the change.

Proof: real Gateway from source: socket closed 3/5/10 ms after sending refuses with the exact logged error on base and finishes on head; closing before admission and a fresh request after real role revocation are refused on both. Regression and consumer tests cover cancellation, merge, generation and next-request refusal.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit 461319f)

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. security-sensitive-changed size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant