Skip to content

fix(canvas): preserve widgets across derived-name collisions - #117132

Merged
vincentkoc merged 1 commit into
openclaw:mainfrom
harjothkhara:oss-find/openclaw-2026-07-31-b
Aug 1, 2026
Merged

vincentkoc merged 1 commit into
openclaw:mainfrom
harjothkhara:oss-find/openclaw-2026-07-31-b

Conversation

@harjothkhara

@harjothkhara harjothkhara commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #116945

What Problem This Solves

Fixes an issue where pinning distinct dashboard widgets could silently replace an existing widget when their titles reduced to the same short ASCII name.

This also preserves widgets created by earlier 2026.7.2 beta builds. Because historical rows do not record whether their names were automatic or explicit, generated pins never overwrite or reclassify an unmarked row.

Why This Change Was Made

Derived widget names are many-to-one, but the board store upserts by name. The canonical repair therefore lives at the storage owner:

  • show_widget sends a full normalized-title identity plus a deterministic fallback name.
  • the board store resolves that identity atomically with the write.
  • generated and explicitly named widgets carry distinct durable ownership markers in the existing manifest column.
  • only a durable generated marker authorizes reuse of an existing generated widget.
  • all pre-marker rows are treated as potentially explicit and preserved; a generated collision uses the deterministic fallback.
  • explicit names keep their existing overwrite-by-name semantics and remain explicit across restarts.

No SQLite schema-version bump is required. The current schema stays at version 16; identity metadata uses the existing widget manifest.

User Impact

Distinct pinned widgets no longer overwrite each other merely because their titles share an ASCII slug. Existing beta.5 widgets retain their stable names, layout, grants, and content.

The resolution is deterministic across Unicode normalization variants, long titles, concurrent requests, and Gateway restarts. Unmarked historical rows are preserved, while newly generated widgets use and persist their fallback identity.

Evidence

  • Exact v2026.7.2-beta.5 schema-16 SQLite upgrade proof: a database created solely from the tagged schema preserves an unmarked explicit row's name, content, relative position, dimensions, and granted capability; allocates the deterministic generated fallback; and reuses that marked fallback after restart without a schema bump or duplicate. Inspectable output: fix(canvas): preserve widgets across derived-name collisions #117132 (comment)
  • 133 focused tests before final rebase, covering in-memory/SQLite parity, beta storage, concurrency, explicit-name takeover, restart reuse, Unicode normalization, empty/missing titles, 80-codepoint truncation, malformed markers, and fallback conflicts.
  • Post-rebase affected matrix: 72 tests passed across unit, Gateway, and Gateway-client Vitest shards.
  • Real Gateway server proof on Blacksmith Testbox: two independent WebSocket clients pin colliding widgets, the server restarts, and both identities remain distinct and reusable: https://github.com/openclaw/openclaw/actions/runs/30686324826
  • Protocol registry and Swift/Kotlin generation checks pass locally with a clean generated tree.
  • tsgo:core, tsgo:core:test, core lint, Kysely guardrails, and SQLite transaction-boundary checks passed on Blacksmith Testbox. Its delegated sync omitted the tracked generated Swift file before protocol:check; exact-head GitHub CI is the authoritative remote generator proof.
  • Local autoreview found no actionable findings; secret scan and git diff --check are clean.

Production delta: +289/-39. The added production surface is the additive protocol metadata/result, canonical store-owned resolver, and durable manifest codec. Tests are +820/-0.

@harjothkhara
harjothkhara marked this pull request as ready for review August 1, 2026 00:45
@clawsweeper clawsweeper Bot added 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. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 2:39 AM ET / 06:39 UTC.

ClawSweeper review

What this changes

This PR adds durable generated-name identity to Canvas board writes so colliding automatic show_widget names resolve to distinct persisted widgets and return the final name to callers.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open: current main still has the lossy short-slug path, while this branch moves generated-name resolution to the board-store owner and preserves ambiguous historical rows instead of overwriting them. The prior unmarked-row finding is addressed by the exact-head beta upgrade proof and focused persistence coverage; no new blocking patch defect was established.

Likely related people: harjothkhara for the current repair, steipete for the original Canvas board path, and vincentkoc for recent upgrade-proof work.

Priority: P1
Reviewed head: bdf5b08ba5d21ac37bc1f6af8d493492f7365909

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch has strong real-behavior and upgrade proof, follows the storage-owner boundary, and has no remaining discrete correctness finding; its compatibility-sensitive contract still needs normal exact-head merge gates.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body and member-authored exact-head comment provide after-fix real Gateway and SQLite restart evidence, including a redacted beta.5 upgrade case that preserves an unmarked explicit widget and reuses the generated fallback.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body and member-authored exact-head comment provide after-fix real Gateway and SQLite restart evidence, including a redacted beta.5 upgrade case that preserves an unmarked explicit widget and reuses the generated fallback.
Evidence reviewed 7 items Current main still reproduces the source defect: slugWidgetName returns a non-empty short ASCII slug without a suffix, and show_widget sends that name directly to board.widget.put; distinct titles can therefore select one name before the name-keyed store write.
Storage owner performs the repair: The PR reuses a widget only when its persisted marker matches the full generated identity; an occupied preferred name instead selects the deterministic fallback, leaving ambiguous historical rows untouched.
Resolved name reaches the operator-visible reply: The PR supplies generated identity only for automatic names, consumes resolvedWidgetName from the Gateway result, and reports that final name in the tool output.
Findings None None.
Security None None.

How this fits together

Canvas converts an agent show_widget call into a Gateway board write backed by the per-agent SQLite board store. The store now owns collision resolution and persists identity metadata before Gateway returns the resolved widget name to the tool and connected clients.

flowchart LR
  A[Agent show_widget request] --> B[Generated title identity]
  B --> C[Gateway board write]
  C --> D[Board store resolution]
  D --> E[SQLite widget manifest]
  E --> F[Resolved dashboard widget]
  F --> G[Gateway event and tool reply]
Loading

Before merge

  • Resolve merge risk (P2) - Older board rows have no ownership marker, so the conservative upgrade policy preserves an unmarked row and creates a marked fallback on a later generated re-pin; this avoids destructive overwrite but can leave both widgets present.
  • Resolve merge risk (P1) - The branch changes the Gateway request/result contract and persisted widget-manifest semantics, so it should land only after the exact-head CI matrix completes successfully.
  • Complete next step (P2) - This linked implementation PR already owns the concrete repair; normal exact-head CI and merge review are the remaining actions, not a separate repair worker.
Agent review details

Security

None.

PR surface

Source +194, Tests +820, Other +56. Total +1070 across 15 files.

View PR surface stats
Area Files Added Removed Net
Source 7 232 38 +194
Tests 7 820 0 +820
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 57 1 +56
Total 15 1109 39 +1070

Review metrics

Metric Value Why it matters
Gateway contract 1 optional request field and 1 result field added Clients need to send the generated identity and consume the store-selected widget name without assuming the preferred name won.
Persisted identity 1 widget-manifest marker added The existing SQLite schema remains unchanged, but upgrade behavior now depends on durable generated-versus-explicit ownership metadata.

Stored data model

Persistent data-model change detected: serialized state: src/boards/sqlite-board-codec.test.ts, unknown-data-model-change: packages/gateway-protocol/src/schema/board.ts, vector/embedding metadata: packages/gateway-protocol/src/schema/board.test.ts, vector/embedding metadata: src/boards/sqlite-board-codec.test.ts. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #116945
Summary: This PR is the active candidate repair for the linked Canvas derived-name collision and silent widget replacement.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Land the conservative upgrade policy (recommended)
    Merge after exact-head checks pass, accepting the documented behavior that an ambiguous historical row is preserved and a generated collision uses a separate marked fallback.
  2. Pause for a legacy migration design
    Hold the PR only if maintainers require older unmarked generated widgets to be adopted rather than preserved, which needs an explicit migration policy despite missing historical ownership facts.

Technical review

Best possible solution:

Land the storage-owned marker design after exact-head checks pass, retaining the conservative rule that ambiguous pre-marker rows are preserved and only durable generated markers authorize reuse.

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

Yes—source provides a high-confidence path: two automatic titles can derive the same short ASCII name, which current main passes unchanged into the name-keyed board write. The linked report and the PR’s Gateway/SQLite proof cover the user-visible overwrite path.

Is this the best way to solve the issue?

Yes—the board store is the best repair boundary because it owns both the atomic write and persisted widget identity; a suffix-only Canvas change would not protect other generated callers or distinguish historical explicit rows.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 51c41c25c8c3.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body and member-authored exact-head comment provide after-fix real Gateway and SQLite restart evidence, including a redacted beta.5 upgrade case that preserves an unmarked explicit widget and reuses the generated fallback.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The repaired default Canvas path can silently replace one pinned dashboard widget with another while both calls report success.
  • merge-risk: 🚨 compatibility: The PR adds public board.widget.put request and result fields, plus generated native protocol-model output.
  • merge-risk: 🚨 session-state: The PR changes how persisted session dashboard widgets are identified and reused across Gateway restarts.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body and member-authored exact-head comment provide after-fix real Gateway and SQLite restart evidence, including a redacted beta.5 upgrade case that preserves an unmarked explicit widget and reuses the generated fallback.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body and member-authored exact-head comment provide after-fix real Gateway and SQLite restart evidence, including a redacted beta.5 upgrade case that preserves an unmarked explicit widget and reuses the generated fallback.

Evidence

What I checked:

  • Current main still reproduces the source defect: slugWidgetName returns a non-empty short ASCII slug without a suffix, and show_widget sends that name directly to board.widget.put; distinct titles can therefore select one name before the name-keyed store write. (src/canvas/widget-tool.ts:73, 51c41c25c8c3)
  • Storage owner performs the repair: The PR reuses a widget only when its persisted marker matches the full generated identity; an occupied preferred name instead selects the deterministic fallback, leaving ambiguous historical rows untouched. (src/boards/board-store.ts:178, bdf5b08ba5d2)
  • Resolved name reaches the operator-visible reply: The PR supplies generated identity only for automatic names, consumes resolvedWidgetName from the Gateway result, and reports that final name in the tool output. (src/canvas/widget-tool.ts:171, bdf5b08ba5d2)
  • Exact-head upgrade and restart proof: The supplied member comment for the reviewed head demonstrates that a schema-16 beta.5 unmarked explicit widget is preserved, a marked fallback is allocated, and that fallback is reused after reopening the SQLite store. (src/boards/board-generated-identity.test.ts:266, bdf5b08ba5d2)
  • Feature provenance: The original lossy Canvas slug and name-keyed board behavior date to the Canvas introduction commit; the PR head is a distinct repair commit on a branch from the same current-main ancestor. (src/canvas/widget-tool.ts:73, a7e0ebe8e68e)
  • Current-main and release check: The PR head is not an ancestor of current main, and no reachable release tag contains it; the repair remains an open merge candidate rather than an already-shipped implementation. (src/canvas/widget-tool.ts:80, bdf5b08ba5d2)

Likely related people:

  • harjothkhara: Authored the reviewed repair commit that changes the generated-name and board-store paths. (role: current repair author; confidence: high; commits: bdf5b08ba5d2; files: src/canvas/widget-tool.ts, src/boards/board-store.ts, src/boards/sqlite-board-store.ts)
  • steipete: The current-main slug and board-write behavior originate in the Canvas introduction commit, which added both central paths. (role: original feature contributor; confidence: high; commits: a7e0ebe8e68e, 154a49a78b05; files: src/canvas/widget-tool.ts, src/boards/board-store.ts, src/boards/sqlite-board-store.ts)
  • vincentkoc: Provided the exact-head beta.5 upgrade proof and recent review-context updates for the preserved-unmarked-row behavior. (role: recent upgrade-proof contributor; confidence: high; files: src/boards/board-generated-identity.test.ts, src/boards/sqlite-board-store.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let the in-progress exact-head checks complete before landing.

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 (5 earlier review cycles)
  • reviewed 2026-08-01T01:20:31.732Z sha 2583133c63b2ae7c17490a1403534e2dafcfd97e :: needs changes before merge. :: [P1] Preserve existing lossy widget identities across upgrades
  • reviewed 2026-08-01T01:40:41.280Z sha 174b123657fb7a774d8c832a7adb96464b7e2c3c :: needs real behavior proof before merge. :: [P1] Preserve legacy automatically generated widget identities
  • reviewed 2026-08-01T01:50:45.620Z sha 174b123657fb7a774d8c832a7adb96464b7e2c3c :: needs real behavior proof before merge. :: [P1] Migrate legacy generated widget identities
  • reviewed 2026-08-01T06:18:54.849Z sha f05bd55165c3b8dff013813982bacc9e2e6d6ca2 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-01T06:29:41.727Z sha 08148b56fbe9056874d5d2b1e3cc58d44d4e088f :: needs changes before merge. :: [P1] Do not adopt unmarked rows by title alone

@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 1, 2026
@vincentkoc
vincentkoc force-pushed the oss-find/openclaw-2026-07-31-b branch from 174b123 to f05bd55 Compare August 1, 2026 06:08
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: XL and removed size: S labels Aug 1, 2026
@vincentkoc vincentkoc changed the title fix(canvas): keep pinned widgets distinct when titles share a short ASCII slug fix(canvas): preserve widgets across derived-name collisions Aug 1, 2026
@vincentkoc vincentkoc self-assigned this Aug 1, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 1, 2026
@vincentkoc
vincentkoc force-pushed the oss-find/openclaw-2026-07-31-b branch from f05bd55 to 08148b5 Compare August 1, 2026 06:23
@vincentkoc

Copy link
Copy Markdown
Member

Exact-head beta.5 upgrade proof for 08148b56fbe9056874d5d2b1e3cc58d44d4e088f.

The proof created a fresh SQLite database solely from:

git show v2026.7.2-beta.5:src/state/openclaw-agent-schema.sql

It seeded two canonically ordered widgets. The target legacy row had no generated identity marker, name cafe-menu, layout {tabId: main, sizeW: 8, sizeH: 6, position: 1}, and a byte-frozen granted capability. Current SqliteBoardStore then adopted the same title through its generated identity, closed all database handles, reopened the store, and queried the persisted row.

Redacted output:

{
  "exactHead": "08148b56fbe9056874d5d2b1e3cc58d44d4e088f",
  "sourceSchema": {
    "tag": "v2026.7.2-beta.5",
    "sha256": "75953ef97a738251822fc5aaf283bbe55fbcabe8702ad771892cdafc85d8e6b9",
    "userVersionBefore": 16,
    "userVersionAfter": 16
  },
  "before": {
    "name": "cafe-menu",
    "tabId": "main",
    "sizeW": 8,
    "sizeH": 6,
    "position": 1,
    "grantState": "granted",
    "targetRowCount": 1,
    "hasNameIdentity": false
  },
  "adopted": {
    "resolvedWidgetName": "cafe-menu",
    "totalRowCount": 2,
    "widget": {
      "name": "cafe-menu",
      "tabId": "main",
      "sizeW": 8,
      "sizeH": 6,
      "position": 1,
      "grantState": "granted",
      "revision": 2
    }
  },
  "afterRestart": {
    "totalRowCount": 2,
    "widget": {
      "name": "cafe-menu",
      "tabId": "main",
      "sizeW": 8,
      "sizeH": 6,
      "position": 1,
      "grantState": "granted",
      "revision": 2
    }
  },
  "persisted": {
    "targetRowCount": 1,
    "nameIdentity": {
      "kind": "generated",
      "source": "show_widget",
      "key": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
    }
  },
  "assertions": {
    "exactBetaSchemaStayedAt16": true,
    "sameName": true,
    "noDuplicateTarget": true,
    "layoutPreserved": true,
    "grantPreserved": true,
    "identityPersisted": true
  }
}

The committed regression now also includes the anchor widget and asserts the target remains at relative position 1 after adoption and after reopening the SQLite store.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 1, 2026
@vincentkoc
vincentkoc force-pushed the oss-find/openclaw-2026-07-31-b branch from 08148b5 to bdf5b08 Compare August 1, 2026 06:34
@vincentkoc

Copy link
Copy Markdown
Member

Superseding exact-head beta.5 upgrade proof for bdf5b08ba5d21ac37bc1f6af8d493492f7365909.

Historical beta rows cannot prove whether their names were automatic or explicit, so this head no longer adopts any unmarked row. The proof creates a database solely from:

git show v2026.7.2-beta.5:src/state/openclaw-agent-schema.sql

It seeds an unmarked, explicitly named cafe-menu widget with layout and a byte-frozen grant. A generated pin with the same normalized title must preserve that row, allocate cafe-menu-eeeeeeee, persist its generated identity, and reuse that fallback after closing and reopening the store.

Redacted output:

{
  "exactHead": "bdf5b08ba5d21ac37bc1f6af8d493492f7365909",
  "sourceSchema": {
    "tag": "v2026.7.2-beta.5",
    "sha256": "75953ef97a738251822fc5aaf283bbe55fbcabe8702ad771892cdafc85d8e6b9",
    "userVersionBefore": 16,
    "userVersionAfter": 16
  },
  "before": {
    "name": "cafe-menu",
    "tabId": "main",
    "sizeW": 8,
    "sizeH": 6,
    "position": 1,
    "grantState": "granted",
    "hasNameIdentity": false
  },
  "firstGeneratedWrite": {
    "resolvedWidgetName": "cafe-menu-eeeeeeee",
    "widgetCount": 3
  },
  "afterRestart": {
    "secondResolvedWidgetName": "cafe-menu-eeeeeeee",
    "legacyWidget": {
      "name": "cafe-menu",
      "sizeW": 8,
      "sizeH": 6,
      "position": 1,
      "grantState": "granted",
      "revision": 1
    },
    "generatedWidget": {
      "name": "cafe-menu-eeeeeeee",
      "revision": 2
    }
  },
  "persisted": {
    "counts": {
      "total": 3,
      "legacyCount": 1,
      "generatedCount": 1
    },
    "legacy": {
      "name": "cafe-menu",
      "sizeW": 8,
      "sizeH": 6,
      "position": 1,
      "grantState": "granted",
      "revision": 1,
      "hasNameIdentity": false
    },
    "generated": {
      "name": "cafe-menu-eeeeeeee",
      "revision": 2,
      "nameIdentity": {
        "kind": "generated",
        "source": "show_widget",
        "key": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
      }
    }
  },
  "assertions": {
    "exactBetaSchemaStayedAt16": true,
    "ambiguousLegacyPreserved": true,
    "legacyLayoutPreserved": true,
    "legacyGrantPreserved": true,
    "deterministicFallbackAllocated": true,
    "generatedFallbackReusedAfterRestart": true,
    "noOverwriteOrDuplicate": true,
    "identityPersisted": true
  }
}

The committed regression covers this same pre-marker explicit-name case and verifies the original row remains unchanged while the marked fallback is reused after restart.

@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added 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. and removed 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. labels Aug 1, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Final maintainer landing gate for exact head bdf5b08ba5d21ac37bc1f6af8d493492f7365909:

  • exact-head CI: 87 successful, 0 failed/pending; openclaw/ci-gate green
  • ClawSweeper: exact-head no findings; its sole rank-up move (wait for checks) is satisfied
  • autoreview: clean
  • real Gateway restart proof: green
  • beta.5 migration proof preserves ambiguous legacy rows and deterministically allocates a fallback identity
  • no SQLite schema bump; explicit-name overwrite semantics remain intact
  • review threads: 0 unresolved
  • live main: 11069c3df574fd6346b913918f2bcf3722247a77
  • touched-path drift: 0
  • clean synthetic merge tree: 47b644da8db0aa2f3d72681be759e17538ea9b17

Landing via squash with contributor authorship preserved.

@vincentkoc
vincentkoc merged commit b97a214 into openclaw:main Aug 1, 2026
131 of 138 checks passed
vincentkoc added a commit that referenced this pull request Aug 1, 2026
* origin/main: (41 commits)
  test(ci): update memory helper routing expectation (#117295)
  fix(canvas): emit successful control results in JSON mode (#117297)
  fix(imessage): settle native inbound reply delivery (#117282)
  fix(agents): reject invalid UTF-8 LSP responses (#117271)
  fix(line): centralize card and template message alt text (#117280)
  fix(release): validate candidates before Docker publication (#117252)
  fix(media): validate provider-owned generated media downloads (#117281)
  fix(feishu): restore custom HTTPS API domains (#117278)
  fix(models): reuse prepared plugin metadata (#117131)
  fix(agents): stop fallback after delivered-but-failed attempts (#114628)
  fix(memory): reuse targeted session corpus snapshot (#117247)
  fix(matrix): reconcile durable sends after response loss
  test(release): repair full validation regressions (#116931)
  fix(linux-canvas): report socket watcher fallback (#109502)
  fix(codex): preserve authoritative turn completion (#117185)
  fix(canvas): preserve widgets across derived-name collisions (#117132)
  fix(channels): config validation rejects documented channels.<id>.configWrites on 13 channels (#117206)
  fix(msteams): prevent duplicate final replies (#116398)
  fix(doctor): session SQLite restore installs an empty session index over the valid archive (#117221)
  fix(plugins): preserve workspace plugins across CLI and control UI (#117265)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* origin/main: (41 commits)
  test(ci): update memory helper routing expectation (openclaw#117295)
  fix(canvas): emit successful control results in JSON mode (openclaw#117297)
  fix(imessage): settle native inbound reply delivery (openclaw#117282)
  fix(agents): reject invalid UTF-8 LSP responses (openclaw#117271)
  fix(line): centralize card and template message alt text (openclaw#117280)
  fix(release): validate candidates before Docker publication (openclaw#117252)
  fix(media): validate provider-owned generated media downloads (openclaw#117281)
  fix(feishu): restore custom HTTPS API domains (openclaw#117278)
  fix(models): reuse prepared plugin metadata (openclaw#117131)
  fix(agents): stop fallback after delivered-but-failed attempts (openclaw#114628)
  fix(memory): reuse targeted session corpus snapshot (openclaw#117247)
  fix(matrix): reconcile durable sends after response loss
  test(release): repair full validation regressions (openclaw#116931)
  fix(linux-canvas): report socket watcher fallback (openclaw#109502)
  fix(codex): preserve authoritative turn completion (openclaw#117185)
  fix(canvas): preserve widgets across derived-name collisions (openclaw#117132)
  fix(channels): config validation rejects documented channels.<id>.configWrites on 13 channels (openclaw#117206)
  fix(msteams): prevent duplicate final replies (openclaw#116398)
  fix(doctor): session SQLite restore installs an empty session index over the valid archive (openclaw#117221)
  fix(plugins): preserve workspace plugins across CLI and control UI (openclaw#117265)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

canvas: show_widget slug collision silently overwrites an existing pinned dashboard widget

2 participants