Skip to content

feat: share selected sessions publicly in a read-only view - #139489

Merged
steipete merged 10 commits into
mainfrom
codex/public-session-sharing
Sep 6, 2026
Merged

steipete merged 10 commits into
mainfrom
codex/public-session-sharing

Conversation

@steipete

@steipete steipete commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Sharing a session currently sends recipients to an authenticated workspace. Social previews provide a card, but people outside the team still cannot read a selected conversation.

Why This Change Was Made

Adds explicit, confirmed Public access to the session sharing menu. Owners and admins can publish a live, read-only transcript, copy its public URL, and revoke it. Public access is independent of teammate visibility and editing permissions.

The public URL contains one versioned AEAD-encrypted bearer token: /share/session?token=<opaque>. Agent IDs, session keys, session IDs, peer/channel/account identifiers, and the internal publication ID never appear in the URL or public protocol response. The token key is derived with domain-separated HKDF from the Gateway installation identity, so links survive normal restarts and full backups but fail closed if the installation identity is replaced.

The grant lives in existing internal session metadata and is bound to the exact session generation and storage target. Reset, replacement, deletion, fork, incognito conversion, explicit revocation, or a routing change invalidates access. Token encoding is proved before the publication commit. Anonymous reads recheck the exact grant before transcript I/O, after the awaited read, and synchronously at the final response edge.

The anonymous route runs under Gateway work admission. It limits each client to 20 requests/minute and each publication to 120, caps unique reads at 8 globally and 2 per publication, coalesces identical reads, bounds limiter state without denying all new viewers at capacity, rejects HEAD without transcript work, and requires a secure ingress: direct TLS; a configured trusted proxy with exact X-Forwarded-Proto: https; managed HTTPS ingress; or direct loopback development traffic.

The script-free renderer publishes user text and assistant final answers only. Tool output, reasoning, files, images, internal provenance, and MEDIA: attachment paths or signed URLs are omitted. Built-in secret rules and operator logging.redactPatterns are both enforced. Responses are no-store, noindex, no-referrer, frame-denied, and restricted by CSP. Revocation cannot recall copies already downloaded.

Published sessions keep an amber Public indicator in wide and compact headers, including after reload. Connection changes, same-key generation replacement, off-screen publish/revoke completion, and stale post-mutation refreshes all invalidate or rehydrate the exact cache so the indicator cannot silently disagree with durable publication state.

The new RPC descriptor is appended after every existing method to preserve advertised method indices. No SQLite schema, configuration option, dependency, or protocol version changes are required.

User Impact

Selected sessions can be read worldwide without an account. Normal Control UI, Gateway API, and private session access remain authenticated. Operators behind a login proxy must expose only /share/*, configure the public HTTPS origin, and have the trusted proxy overwrite X-Forwarded-Proto with the external request scheme.

Evidence

Focused Gateway and UI suites cover opaque token tampering/cross-installation rejection, anonymous no-create behavior, URL grammar, precommit failures, exact storage remap races, reset/fork/revoke behavior, triple grant revalidation, HTTPS ingress, invalid-token/client/publication rate limits, map saturation, concurrency/coalescing, media and custom-pattern redaction, Markdown/XSS boundaries, persistent indicators, connection/session guards, and both off-screen mutation races. The final affected suites pass.

check:changed completed locally through protocol, formatting, generated metadata, docs, all TypeScript graphs, dead exports, core/UI/extension/script lint, and the repository architecture/security guards. Remote ci-fast providers were unavailable, so the wrapper correctly fell back to local execution. Android lint passed with Gradle's normal cache access. All three macOS CI groups passed in the native host environment: 152 elevation/lifecycle tests, 570 packaging/signing/worker tests, and seven final platform shards. pnpm build passed with the bundled Control UI performance budgets and SDK declaration graph checks.

The final packaged Gateway and matching bundled Control UI passed a synthetic browser flow: publish with confirmation, persistent Public indicator after a full reload, token-only copied URL, anonymous text-only view, attachment/custom-secret omission, protected private bootstrap, HEAD rejection, automatic future-text refresh, indicator removal on revoke, and 404 from the same revoked URL. Screenshots and recordings contain synthetic data only. Independent P0–P2 review completed scoped-clean with no actionable findings.

Before publication: private session sharing menu

Explicit confirmation that existing and future text becomes world-readable

Persistent Public indicator after a full authenticated reload

Anonymous read-only transcript

The same public link becomes unavailable after revocation

attachment-870353098.webm
attachment-3122611204.webm

@clawsweeper

clawsweeper Bot commented Sep 5, 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 app: android App: android app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Sep 5, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 5, 2026
@clawsweeper

clawsweeper Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 6, 2026, 8:34 AM ET / 12:34 UTC.

ClawSweeper review

What this changes

Adds confirmed public session publishing, encrypted revocable links, an anonymous read-only transcript page, and publication indicators in chat.

Merge readiness

⛔ Blocked before merge - 15 items remain

This remains useful, distinct work, but all four prior findings remain supported by the current source. Publication can survive a normal reset, stale consent can publish the reset conversation, anonymous responses use stale routing configuration, and another client's publication changes leave the indicator stale.

Priority: P2
Reviewed head: 3712cf713280c003a650b16a9b26056e4094387b

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful implementation and packaged-flow evidence are outweighed by three concrete authority defects and a stale publication indicator.
Proof confidence 🦐 gold shrimp (3/6) Needs stronger real behavior proof before merge: Authority-chain proof required: the captured packaged Gateway/browser report supports publication and explicit revocation, but does not establish rejection before anonymous output after normal same-ID reset, stale confirmation, or live store remapping. Add redacted production-path request/response evidence for those cases and the allowed case; screenshots alone cannot establish this boundary. Linked-media retrieval failed separately and is not the reason for this classification. Updating the PR body should trigger re-review; otherwise ask a maintainer to comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🧂 unranked krab (1/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: Authority-chain proof required: the captured packaged Gateway/browser report supports publication and explicit revocation, but does not establish rejection before anonymous output after normal same-ID reset, stale confirmation, or live store remapping. Add redacted production-path request/response evidence for those cases and the allowed case; screenshots alone cannot establish this boundary. Linked-media retrieval failed separately and is not the reason for this classification. Updating the PR body should trigger re-review; otherwise ask a maintainer to comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 11 items Current main still provides authenticated session sharing: Current-main documentation describes social previews as generic landing pages whose session links require authentication. The new public transcript route is absent from both fetched main and v2026.9.2.
Main and release route check: Both ls-tree checks returned no public transcript route. No verified merged replacement was supplied.
Normal reset preserves the session ID: The reset service retains currentEntry.sessionId, generates a new lifecycleRevision, and constructs an entry without publicShare. resetSessionEntryLifecycle passes that entry through writeSessionEntry, whose introduced copy-forward rule restores the old grant. These reset-owner files are unchanged between fetched main and the reviewed head.
Findings 4 actionable findings [P1] Revoke publication when the real reset lifecycle runs
[P1] Reject publication consent captured before a same-ID reset
[P1] Revalidate live routing before releasing anonymous content
Security Needs attention Reset does not terminate publication or stale consent: Publication lifetime and consent are fenced only by session ID, while normal reset preserves that ID; subsequent conversation text can become anonymously readable without renewed consent.
Anonymous output accepts retired routing authority: The final response check uses captured configuration, so a pending read can still release content from a store that current routing no longer authorizes.

How this fits together

Session sharing connects authenticated owner actions to durable session metadata. The new anonymous Gateway route consumes an encrypted publication link, checks that metadata, and renders filtered conversation text.

flowchart TD
  A[Owner confirms publication] --> B[Gateway checks authority]
  B --> C[Durable publication grant]
  C --> D[Encrypted public link]
  D --> E[Anonymous Gateway request]
  C --> F[Check current publication]
  E --> F
  F --> G[Read and filter transcript]
  G --> H[Read-only public page]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: Authority-chain proof required: the captured packaged Gateway/browser report supports publication and explicit revocation, but does not establish rejection before anonymous output after normal same-ID reset, stale confirmation, or live store remapping. Add redacted production-path request/response evidence for those cases and the allowed case; screenshots alone cannot establish this boundary. Linked-media retrieval failed separately and is not the reason for this classification. Updating the PR body should trigger re-review; otherwise ask a maintainer to comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Revoke publication when the real reset lifecycle runs (P1) - Normal reset in session-reset-service.ts retains sessionId, changes lifecycleRevision, and builds an entry without publicShare. resetSessionEntryLifecycle then calls this writer, which restores the old grant because the ID still matches. The old public URL consequently remains valid for post-reset messages, contrary to the documented revocation contract. Revoke at the reset owner or bind the grant to a reset-aware generation; the current test only replaces the session ID.
  • Reject publication consent captured before a same-ID reset (P1) - Open the publication confirmation, reset the session from another client, then accept the old confirmation. The UI sends only expectedSessionId, and this check plus the commit guard still accept it because normal reset preserves that ID and the owner. This publishes the replacement conversation using consent captured before reset, even if grant revocation is repaired separately. Carry and validate a reset-aware consent generation through confirmation and the synchronous commit boundary.
  • Revalidate live routing before releasing anonymous content (P1) - This final check reuses the request's configSnapshot after awaited work. If runtime configuration retires the agent or remaps its session store while the read is pending, the old configuration still resolves the old store and accepts its retained grant, allowing the response to release text after the publication's routing authority changed. Re-resolve the live configuration and verify the exact original storage target before transcript I/O and final output.
  • Invalidate publication state on sharing changes from other clients (P2) - Once a session's sharing result is cached, this same-ID early return prevents another fetch. Publishing or revoking from a second client emits sessions.changed with reason sharing, but the event path updates roster state without invalidating this cache, and the public grant is excluded from roster projections. The first client's Public indicator therefore stays absent or stale until it explicitly reloads sharing. Invalidate the matching cache and supersede outstanding reads on sharing changes.
  • Resolve security concern: Reset does not terminate publication or stale consent - Publication lifetime and consent are fenced only by session ID, while normal reset preserves that ID; subsequent conversation text can become anonymously readable without renewed consent.
  • Resolve security concern: Anonymous output accepts retired routing authority - The final response check uses captured configuration, so a pending read can still release content from a store that current routing no longer authorizes.
  • Resolve merge risk (P1) - The supplied runtime evidence does not establish rejection before anonymous output for same-ID reset, stale confirmation, or live routing changes.
  • Resolve merge risk (P1) - The new durable grant's upgrade, downgrade/re-upgrade, and backup/restore behavior lacks observed compatibility evidence.
  • Resolve merge risk (P1) - Linked media could not be inspected, and the earlier reviewed commit could not be retrieved for a direct continuity comparison.
  • Complete next step (P2) - Resolve the four findings and provide production-boundary authority proof plus durable-state compatibility evidence before merge.
  • Improve patch quality - Repair all four findings, including regression coverage through the normal same-ID reset lifecycle.
  • Improve patch quality - Show allowed and rejected anonymous responses after reset, stale confirmation, revocation, and live routing changes using redacted production-path evidence.
  • Improve patch quality - Record the accepted durable-publication contract and demonstrate upgrade, downgrade/re-upgrade, and backup/restore behavior.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Revoke publication when the real reset lifecycle runs — src/config/sessions/session-accessor.sqlite-entry-store.ts:450-454
  • [P1] Reject publication consent captured before a same-ID reset — src/gateway/server-methods/sessions-sharing.ts:408
  • [P1] Revalidate live routing before releasing anonymous content — src/gateway/control-ui-public-session.ts:290-291
  • [high] Reset does not terminate publication or stale consent — src/config/sessions/session-accessor.sqlite-entry-store.ts:450
  • [high] Anonymous output accepts retired routing authority — src/gateway/control-ui-public-session.ts:291
Agent review details

Security

Needs attention: The encrypted-token and renderer safeguards are useful, but reset and routing checks leave concrete stale-publication authority paths.

PR surface

Source +1653, Tests +1750, Docs +56, Config +1, Other +75. Total +3535 across 56 files.

View PR surface stats
Area Files Added Removed Net
Source 36 1974 321 +1653
Tests 16 1752 2 +1750
Docs 1 56 0 +56
Config 1 1 0 +1
Generated 0 0 0 0
Other 2 75 0 +75
Total 56 3858 323 +3535

Review metrics

Metric Value Why it matters
Publication contract 1 new RPC and 1 durable grant field; no schema-version change The additive representation still introduces persistent anonymous-read authority that needs lifecycle and upgrade validation.

Stored data model

Persistent data-model change detected: unknown-data-model-change: packages/gateway-protocol/src/schema/sessions-sharing.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Finish lifecycle fencing and compatibility proof (recommended)
    Repair reset, consent, routing, and cache invalidation, then demonstrate rejected stale access and preserved private state across upgrade and restore.
  2. Hold public access until the boundary is proven
    Keep this PR unmerged while retaining its renderer and UI work until publication lifetime and durable-state behavior are verified.

Technical review

Best possible solution:

Bind publication and consent to the real lifecycle and storage owner, enforce current authority at anonymous output, and keep every client's publication indicator synchronized.

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

Yes, the reviewed source establishes concrete paths: publish then run the normal same-ID reset; confirm publication after that reset; change routing during an anonymous read; or publish from a second client. These paths were traced, not executed.

Is this the best way to solve the issue?

The existing session-sharing and Gateway boundaries are appropriate, but the implementation is not yet safe: session ID equality does not identify the reset lifecycle, and captured configuration does not establish current routing authority.

Full review comments:

  • [P1] Revoke publication when the real reset lifecycle runs — src/config/sessions/session-accessor.sqlite-entry-store.ts:450-454
    Normal reset in session-reset-service.ts retains sessionId, changes lifecycleRevision, and builds an entry without publicShare. resetSessionEntryLifecycle then calls this writer, which restores the old grant because the ID still matches. The old public URL consequently remains valid for post-reset messages, contrary to the documented revocation contract. Revoke at the reset owner or bind the grant to a reset-aware generation; the current test only replaces the session ID.
    Confidence: 0.99
  • [P1] Reject publication consent captured before a same-ID reset — src/gateway/server-methods/sessions-sharing.ts:408
    Open the publication confirmation, reset the session from another client, then accept the old confirmation. The UI sends only expectedSessionId, and this check plus the commit guard still accept it because normal reset preserves that ID and the owner. This publishes the replacement conversation using consent captured before reset, even if grant revocation is repaired separately. Carry and validate a reset-aware consent generation through confirmation and the synchronous commit boundary.
    Confidence: 0.99
  • [P1] Revalidate live routing before releasing anonymous content — src/gateway/control-ui-public-session.ts:290-291
    This final check reuses the request's configSnapshot after awaited work. If runtime configuration retires the agent or remaps its session store while the read is pending, the old configuration still resolves the old store and accepts its retained grant, allowing the response to release text after the publication's routing authority changed. Re-resolve the live configuration and verify the exact original storage target before transcript I/O and final output.
    Confidence: 0.97
  • [P2] Invalidate publication state on sharing changes from other clients — ui/src/pages/chat/chat-pane-sharing.ts:30-34
    Once a session's sharing result is cached, this same-ID early return prevents another fetch. Publishing or revoking from a second client emits sessions.changed with reason sharing, but the event path updates roster state without invalidating this cache, and the public grant is excluded from roster projections. The first client's Public indicator therefore stays absent or stale until it explicitly reloads sharing. Invalidate the matching cache and supersede outstanding reads on sharing changes.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is an optional sharing feature with concrete pre-merge defects, rather than a reported outage in shipped behavior.
  • merge-risk: 🚨 security-boundary: The introduced publication authority can survive reset or stale routing and release conversation text anonymously.
  • merge-risk: 🚨 compatibility: Publication adds durable session semantics whose upgrade, downgrade, and restore guarantees are not demonstrated.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🦐 gold shrimp and patch quality is 🧂 unranked krab.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: Authority-chain proof required: the captured packaged Gateway/browser report supports publication and explicit revocation, but does not establish rejection before anonymous output after normal same-ID reset, stale confirmation, or live store remapping. Add redacted production-path request/response evidence for those cases and the allowed case; screenshots alone cannot establish this boundary. Linked-media retrieval failed separately and is not the reason for this classification. Updating the PR body should trigger re-review; otherwise ask a maintainer to comment @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [high] Reset does not terminate publication or stale consent — src/config/sessions/session-accessor.sqlite-entry-store.ts:450
    Publication lifetime and consent are fenced only by session ID, while normal reset preserves that ID; subsequent conversation text can become anonymously readable without renewed consent.
    Confidence: 0.99
  • [high] Anonymous output accepts retired routing authority — src/gateway/control-ui-public-session.ts:291
    The final response check uses captured configuration, so a pending read can still release content from a store that current routing no longer authorizes.
    Confidence: 0.97

What I checked:

  • Current main still provides authenticated session sharing: Current-main documentation describes social previews as generic landing pages whose session links require authentication. The new public transcript route is absent from both fetched main and v2026.9.2. Public docs: docs/web/urls.md. (docs/web/urls.md:155, e16e60af09fc)
  • Main and release route check: Both ls-tree checks returned no public transcript route. No verified merged replacement was supplied. (src/gateway/control-ui-public-session.ts, e16e60af09fc)
  • Normal reset preserves the session ID: The reset service retains currentEntry.sessionId, generates a new lifecycleRevision, and constructs an entry without publicShare. resetSessionEntryLifecycle passes that entry through writeSessionEntry, whose introduced copy-forward rule restores the old grant. These reset-owner files are unchanged between fetched main and the reviewed head. (src/gateway/session-reset-service.ts:1634, 3712cf713280)
  • Publication consent lacks a reset-generation fence: The new RPC and UI confirmation carry expectedSessionId only. Both checks accept an existing session after its normal same-ID reset; manager authorization does not establish renewed publication consent. (src/gateway/server-methods/sessions-sharing.ts:408, 3712cf713280)
  • Anonymous response checks captured routing: server-http.ts passes configSnapshot into the new route. The reader resolves its store from that configuration, and the final response check reuses the same cfg after awaited work. A live routing change therefore does not invalidate an already admitted response against the old store. (src/gateway/control-ui-public-session.ts:291, 3712cf713280)
  • Publication cache ignores remote sharing changes: Hydration skips any cached session with the same sessionId. The existing sessions.changed handler reconciles roster state but does not invalidate sessionSharingStates or sessionSharingHydrationTargets, while publication mutations emit reason: sharing. (ui/src/pages/chat/chat-pane-sharing.ts:31, 3712cf713280)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (12 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-06T07:43:57.490Z sha 5989d9c :: needs real behavior proof before merge. :: [P1] Revoke publication when the real reset lifecycle runs | [P1] Reject publication consent captured before a same-ID reset | [P1] Revalidate live routing before releasing anonymous content | [P2] Invalidate publication state on sharing events from other clients
  • reviewed 2026-09-06T08:54:19.215Z sha 5989d9c :: needs real behavior proof before merge. :: [P1] Revoke publication when the real reset lifecycle runs | [P1] Reject publication consent captured before a same-ID reset | [P1] Revalidate live routing before releasing anonymous content | [P2] Invalidate publication state on sharing events from other clients
  • reviewed 2026-09-06T09:30:59.205Z sha d9c80a5 :: needs real behavior proof before merge. :: [P1] [P1] Revoke publication when the real reset lifecycle runs | [P1] [P1] Reject publication consent captured before a same-ID reset | [P1] [P1] Revalidate live routing before releasing anonymous content | [P2] [P2] Invalidate publication state on sharing events from other clients
  • reviewed 2026-09-06T09:54:54.070Z sha 6b4ac8a :: needs real behavior proof before merge. :: [P1] [P1] Revoke publication when the real reset lifecycle runs | [P1] [P1] Reject publication consent captured before a same-ID reset | [P1] [P1] Revalidate live routing before releasing anonymous content | [P2] [P2] Invalidate publication state on sharing events from other clients
  • reviewed 2026-09-06T10:10:32.771Z sha e9e2a1e :: needs real behavior proof before merge. :: [P1] [P1] Revoke publication when the real reset lifecycle runs | [P1] [P1] Reject publication consent captured before a same-ID reset | [P1] [P1] Revalidate live routing before releasing anonymous content | [P2] [P2] Invalidate publication state on sharing events from other clients
  • reviewed 2026-09-06T10:21:37.607Z sha ef01607 :: needs real behavior proof before merge. :: [P1] Revoke publication when the real reset lifecycle runs | [P1] Reject publication consent captured before a same-ID reset | [P1] Revalidate live routing before releasing anonymous content | [P2] Invalidate publication state on sharing changes from other clients
  • reviewed 2026-09-06T10:30:34.789Z sha 4d172ce75b130ae2e35b0bb5a9f0d6db9b1c696e :: needs real behavior proof before merge. :: [P1] Revoke publication when the real reset lifecycle runs | [P1] Reject publication consent captured before a same-ID reset | [P1] Revalidate live routing before releasing anonymous content | [P2] Invalidate publication state on sharing changes from other clients
  • reviewed 2026-09-06T11:30:59.227Z sha d8d5374 :: needs real behavior proof before merge. :: [P1] Revoke publication when the real reset lifecycle runs | [P1] Reject publication consent captured before a same-ID reset | [P1] Revalidate live routing before releasing anonymous content | [P2] Invalidate publication state on sharing changes from other clients

@steipete
steipete marked this pull request as ready for review September 5, 2026 23:17
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 6, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 6, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 6, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 6, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 6, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 6, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 6, 2026
@steipete
steipete force-pushed the codex/public-session-sharing branch 2 times, most recently from d9c80a5 to f1a591a Compare September 6, 2026 09:39
@blacksmith-sh

This comment has been minimized.

@blacksmith-sh

This comment has been minimized.

@steipete
steipete force-pushed the codex/public-session-sharing branch from d8d5374 to 3712cf7 Compare September 6, 2026 12:28
@steipete
steipete merged commit 48307ec into main Sep 6, 2026
329 of 331 checks passed
@steipete
steipete deleted the codex/public-session-sharing branch September 6, 2026 13:33
@steipete

steipete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 7, 2026
…139489)

* feat: share selected sessions publicly in a read-only view

* test: align public sharing fixtures with strict types

* refactor: isolate session sharing management actions

* fix: harden public session sharing

* test: stabilize public share hydration proof

* fix: preserve public share method ordering

* refactor: avoid public token lint suppressions

* fix: bind history sharing to loaded session

* test: align public sharing contract fixtures

* build: refresh generated public sharing references
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. plugin: workboard rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant