Skip to content

refactor(ui): bind browser input through viewport refs - #174138

Merged
steipete merged 3 commits into
mainfrom
solid2/w-idiom-components-browser-input
Oct 16, 2026
Merged

steipete merged 3 commits into
mainfrom
solid2/w-idiom-components-browser-input

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Browser input still searched the panel host for the stage, textarea, and annotation canvas on every gesture and reset. Those elements belong to the rendered viewport, while the input owner must keep synchronous command ordering and cancellation.

User Impact

No intentional behavior or visual change. Clicks, typing, paste, touch scrolling, annotation, and inspection retain their current ordering and native-mode routing.

Why This Change Was Made

Bind the three elements through Solid refs and clear their references with the viewport lifetime. Remove the input owner's render-root dependency and rename it to BrowserPanelInputOwner: it owns synchronous admitted input, pointer capture, and FIFO command delivery, not a view lifecycle or rendering updates. The browser panel's wider host adapter stays for the separately scoped panel lifecycle cut.

No markup, CSS, tag, route, dependency, or lazy import boundary changes. The mounted inspection fixture now supplies geometry for its actual rendered stage instead of an unrelated synthetic host node.

Evidence

Proof Result
Codemod dry-run Both changed implementations: no diagnostics or unresolved markers
Focused input, annotation, paste tests; one worker 44/44 passed
Annotation panel fixture after CI repair 11/11 passed, including close and suppress pointer release
UI typecheck Passed again after the fixture repair
Targeted lint, format, diff check Passed
Production Knip Same single unused export on exact base and head: src/media/media-facts.ts:readRuntimePromptImageOrder
Independent review Clean through P2
Startup performance PR CI; imports and lazy boundaries unchanged

No local build or E2E suite was run because this changes no startup code. Full UI CI is selected with ci:full. No visual design change requiring separate screenshots.

Touched production metric Before After
LOC 2256 2254
Controller-pattern references 6 5
createEffect 0 0
createRenderEffect 0 0
untrack 1 2
addEventListener 0 0
DOM queries, including generic calls 7 3
Hand-built class strings 0 0
flush 0 0
Owner captures 0 0

The additional untrack deliberately captures the viewport's lifetime-stable synchronous input owner, matching the existing viewport resource binding. Production shrinks by two lines. The annotation regression fixture now uses the rendered canvas and its JSX handlers; it no longer fabricates a parallel stage or listener path.

CI attribution

The first run (38891292434) exposed two annotation tests that fabricated their own stage and bypassed the new refs. The replacement fixture uses the real rendered viewport; all 11 panel tests pass locally and the replacement has independent P2 review.

Five Models layout widths in that run expect six rows, while main already renders the seventh Utility Fallback Model row introduced by #173906 (6861671). Those tests passed the older scheduled main run 38887900861, so this is recorded as an unrelated later main change, not a matching scheduled-main failure. This PR changes only Browser implementation/test files.

The replacement CI test-type leaf found a missing synthetic target ID in the updated annotation fixture. The fixture now passes target-1; the UI-component test typecheck passes and an independent P2 review of the correction is clean.

@clawsweeper

clawsweeper Bot commented Oct 16, 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.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 16, 2026
@steipete
steipete marked this pull request as ready for review October 16, 2026 11:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T11:36:47.630368Z e98c95e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR binds browser input elements through Solid refs while preserving the synchronous input owner.

Example: Click a remote field and paste “Hello” in the Browser panel.

  • Before: The input owner finds the stage and textarea through DOM queries.
  • After: The input owner uses renderer-bound elements while retaining click-before-paste ordering.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The ownership change is coherent and narrowly scoped, but the incomplete fixture migration causes a concrete UI test failure.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored internal refactor is outside the ordinary contributor proof gate; supplied validation consists of focused tests and CI rather than a manual shipped-entry-point capture.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Browser input relies on repeated host DOM searches rather than the renderer's element ownership.
Reason: The maintainer-authored direction matches the existing Solid migration contract and removes the input owner's render-root dependency without adding user settings or changing intended behavior.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-directed refactor is useful, but an annotation fixture regression needs repair before merge.

Priority: P3
Reviewed head: 0f10314f3a78f844d842f61c9a5831730bf0a6f8

Before merge

  • Migrate the annotation lifecycle fixture to the bound stage (P2) - The new lookup stops discovering the synthetic stage created by attachAnnotationOverlay in browser-panel.test.ts. That helper only appends its stage to renderRoot, so input.elements.stage remains unset and pointerdown returns before acquiring capture. Both close and suppress cases consequently fail at line 338 in checks-ui (3/3), before exercising lifecycle cleanup. Bind the fixture's stage through the new element contract, or exercise the rendered stage with supplied geometry, and retain the capture/release assertions.

Findings

  • [P2] Migrate the annotation lifecycle fixture to the bound stage — ui/src/components/browser/browser-panel-input-owner.ts:424-426
Agent review details

How this fits together

The Control UI Browser panel translates pointer, keyboard, paste, and annotation events into browser actions through its existing synchronous input and operation owners.

flowchart LR
  User[User input] --> Viewport[Solid viewport]
  Viewport --> Refs[Bound DOM elements]
  Refs --> Owner[Browser input owner]
  Owner --> Operations[Operation ownership and queues]
  Operations --> Browser[Gateway browser]
Loading

Technical review

Best possible solution:

Keep the ref-based implementation and migrate the annotation lifecycle fixture to bind its stage while preserving capture and release assertions.

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

Existing CI observes both annotation fixture failures on the reviewed head, and source inspection establishes the missing stage binding; no local tests were run.

Is this the best way to solve the issue?

Renderer refs fit the established ownership boundary and preserve the existing input queues, but the remaining synthetic annotation fixture must migrate with the production lookup.

Full review comments:

  • [P2] Migrate the annotation lifecycle fixture to the bound stage — ui/src/components/browser/browser-panel-input-owner.ts:424-426
    The new lookup stops discovering the synthetic stage created by attachAnnotationOverlay in browser-panel.test.ts. That helper only appends its stage to renderRoot, so input.elements.stage remains unset and pointerdown returns before acquiring capture. Both close and suppress cases consequently fail at line 338 in checks-ui (3/3), before exercising lifecycle cleanup. Bind the fixture's stage through the new element contract, or exercise the rendered stage with supplied geometry, and retain the capture/release assertions.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Synchronous browser input owner keeps the original intent (0f0d222: The commit extracted browser input handling from the panel controller while adding viewport synchronization; subsequent paste, gesture, and scrolling work retained synchronous input ownership.)
  • Viewport rendering and resource lifetime keeps the original intent (ff13ebe: Move rendered viewport resources into Solid while leaving command admission and browser authority with their existing synchronous owners.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm --dir ui test src/components/browser/browser-panel.test.ts --maxWorkers=1
  • pnpm --dir ui test src/components/browser/browser-panel-controller-input.test.ts src/components/browser/browser-panel-paste.test.ts src/components/browser/browser-panel-touch-input.test.ts --maxWorkers=1
  • pnpm tsgo:ui
  • git diff --check

What I checked:

PR surface

Source -2, Tests +7. Total +5 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 24 26 -2
Tests 2 8 1 +7
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 32 27 +5

Review metrics

Metric Value Why it matters
Production versus test LOC Production −2; tests +7 The refactor reduces production code; test growth supplies element bindings and rendered-stage geometry without adding duplicate test cases.

Labels

Label changes:

  • add P3: This is internal UI ownership cleanup with a focused fixture repair and no established user-facing production regression.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is internal UI ownership cleanup with a focused fixture repair and no established user-facing production regression.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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 October 16, 2026, 7:21 AM ET / 11:21 UTC.

@steipete
steipete merged commit 53eb8f9 into main Oct 16, 2026
96 of 100 checks passed
@steipete
steipete deleted the solid2/w-idiom-components-browser-input branch October 16, 2026 13:15
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

vincentkoc added a commit that referenced this pull request Oct 16, 2026
* commit '3f14c05236f10ad9a833770ee5962d4dd6c22110': (74 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (#174249)
  perf(agents): release completed attempt transcript references (#174236)
  refactor(ui): bind board frames through Solid refs (#174180)
  fix: stop repetitive output from small models (#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (#174241)
  refactor(ui): remove transcript virtualizer controller registry (#174231)
  fix(ai): surface bounded response errors before cancellation settles (#174238)
  refactor(test): reuse descendant-death waits (#174240)
  refactor: consume existing channel and SDK type owners (#174010)
  refactor(ui): bind sidebar session classes directly (#174229)
  fix(logging): omit content from AI transport diagnostics (#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (#174224)
  feat(build): support selected standalone plugins (#173794)
  refactor(ui): bind browser input through viewport refs (#174138)
  refactor(ui): simplify multi-select callback ownership (#174225)
  refactor: simplify settings input ownership (#174222)
  refactor(ui): pair popup and hovercard listener teardown (#174209)
  ...

# Conflicts:
#	scripts/plugin-sdk-surface-report.mts
vincentkoc added a commit that referenced this pull request Oct 16, 2026
* commit 'ad851536ea160d43294fb35e3e3cb9a7011d3873': (74 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (#174249)
  perf(agents): release completed attempt transcript references (#174236)
  refactor(ui): bind board frames through Solid refs (#174180)
  fix: stop repetitive output from small models (#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (#174241)
  refactor(ui): remove transcript virtualizer controller registry (#174231)
  fix(ai): surface bounded response errors before cancellation settles (#174238)
  refactor(test): reuse descendant-death waits (#174240)
  refactor: consume existing channel and SDK type owners (#174010)
  refactor(ui): bind sidebar session classes directly (#174229)
  fix(logging): omit content from AI transport diagnostics (#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (#174224)
  feat(build): support selected standalone plugins (#173794)
  refactor(ui): bind browser input through viewport refs (#174138)
  refactor(ui): simplify multi-select callback ownership (#174225)
  refactor: simplify settings input ownership (#174222)
  refactor(ui): pair popup and hovercard listener teardown (#174209)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
* commit 'c99bc43bffb351d0e37d72b2f4aa89f7d4fd116b': (157 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (#174249)
  perf(agents): release completed attempt transcript references (#174236)
  refactor(ui): bind board frames through Solid refs (#174180)
  fix: stop repetitive output from small models (#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (#174241)
  refactor(ui): remove transcript virtualizer controller registry (#174231)
  fix(ai): surface bounded response errors before cancellation settles (#174238)
  refactor(test): reuse descendant-death waits (#174240)
  refactor: consume existing channel and SDK type owners (#174010)
  refactor(ui): bind sidebar session classes directly (#174229)
  fix(logging): omit content from AI transport diagnostics (#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (#174224)
  feat(build): support selected standalone plugins (#173794)
  refactor(ui): bind browser input through viewport refs (#174138)
  refactor(ui): simplify multi-select callback ownership (#174225)
  refactor: simplify settings input ownership (#174222)
  refactor(ui): pair popup and hovercard listener teardown (#174209)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
* commit 'ad851536ea160d43294fb35e3e3cb9a7011d3873': (157 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (#174249)
  perf(agents): release completed attempt transcript references (#174236)
  refactor(ui): bind board frames through Solid refs (#174180)
  fix: stop repetitive output from small models (#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (#174241)
  refactor(ui): remove transcript virtualizer controller registry (#174231)
  fix(ai): surface bounded response errors before cancellation settles (#174238)
  refactor(test): reuse descendant-death waits (#174240)
  refactor: consume existing channel and SDK type owners (#174010)
  refactor(ui): bind sidebar session classes directly (#174229)
  fix(logging): omit content from AI transport diagnostics (#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (#174224)
  feat(build): support selected standalone plugins (#173794)
  refactor(ui): bind browser input through viewport refs (#174138)
  refactor(ui): simplify multi-select callback ownership (#174225)
  refactor: simplify settings input ownership (#174222)
  refactor(ui): pair popup and hovercard listener teardown (#174209)
  ...
vincentkoc added a commit that referenced this pull request Oct 16, 2026
…157148)

* feat: describe decision capabilities in model catalogs

Keep task, protocol, modalities, reasoning, grounding, probability semantics,
abstention and route billing distinct without changing chat Model types.

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* fix: apply shared plugin model policy to decisions

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* feat: support plugin-owned model credentials

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* feat(decisions): preserve richer answers with versioned data codecs

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* chore(sdk): record approved Decision V2 data allowance

Apply only the +14 exports / +6 callables for the existing decisions data contract. Peter Steinberger explicitly approved the complete +18/+6 stack allowance on 2026-09-26; the remaining four execution types belong to the dependent PR. No additional API or guard exception.

Co-authored-by: steipete <[email protected]>

* fix(models): retain decision facts on their declared routes

Merge current main and reconcile the original Decision capability metadata with the canonical catalog. Preserve facts for matching hosted routes, clear stale facts on route changes, and retain chat:false. Validated 50 focused tests, planner replay, types, lint, formatting, and full build.

* feat(decisions): enforce shared plugin model policy

Integrate current model metadata while preserving the original decision-policy ancestry. Apply the reviewed shared completion authorization port without changing its six-file patch.

Validated 112 focused tests, targeted typecheck/lint/format, and the strict plugin SDK smoke build.

Original PR: #156621

* fix(models): include inference metadata in extracted tooling

* chore(models): include metadata tooling closure repair

* commit '00d93bb011fd8ac55d72623d1bd9e5bbcdb7d301':
  fix(models): include inference metadata in extracted tooling

* feat(auth): integrate plugin-owned model credentials

Preserve contributor history while integrating physical credential ownership with the shared model policy. Plugin-owned routes bypass agent profile discovery and agent no-auth substitution; agent-owned routes retain explicit no-auth behavior.

Co-authored-by: steipete <[email protected]>

* fix(models): preserve decision policy on current main

* merge: integrate current model policy into plugin auth

Preserve both signed ancestry chains and current-main OAuth refresh, secret-owner, abort, and authentication bootstrap behavior. The plugin-owned authentication patch is unchanged.

* feat(decisions): integrate versioned data codecs on shared auth

Preserve the original contributor PR ancestry while applying the reviewed V2 data contract to the shared-policy and plugin-owned-auth stack. The fourteen-file feature delta matches the qualified candidate exactly, including the measured SDK budget expansion.

* fix(decisions): preserve explicit owner-agent selection

* merge: preserve decision owner selection in plugin auth

Integrate the reviewed explicit owner-agent selection repair while preserving the unchanged plugin-owned authentication patch and both ancestry chains.

* fix(decisions): carry owner-bound policy repair into data stack

Merge the repaired shared-auth parent while preserving the qualified fourteen-file V2 data delta. Frozen dependency inputs are unchanged; the incoming policy runtime and tests retain their independent qualification.

* merge: reconcile plugin auth with landed model policy

Preserve the original contributor and signed integration ancestry while basing the unchanged plugin-owned authentication patch on the landed shared model policy.

* chore(decisions): reconcile data stack with published auth ancestry

Merge the qualified shared-auth head while preserving the byte-identical fourteen-file V2 data patch. Dependency declarations and frozen lock/workspace inputs are unchanged; the existing physical install remains available to the native PR tooling owner.

* fix(auth): retain plugin credential authority through dispatch

* chore(decisions): integrate canonical auth authority fix

* fix(decisions): distinguish plain record validation

* test(auth): preserve health probe exports in lifecycle fixture

* chore(auth): integrate repaired main for credential lifecycle gates

* chore(decisions): integrate repaired auth authority

* chore(auth): integrate current main for landing

* chore(decisions): integrate current auth authority

* commit '3f14c05236f10ad9a833770ee5962d4dd6c22110': (74 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (#174249)
  perf(agents): release completed attempt transcript references (#174236)
  refactor(ui): bind board frames through Solid refs (#174180)
  fix: stop repetitive output from small models (#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (#174241)
  refactor(ui): remove transcript virtualizer controller registry (#174231)
  fix(ai): surface bounded response errors before cancellation settles (#174238)
  refactor(test): reuse descendant-death waits (#174240)
  refactor: consume existing channel and SDK type owners (#174010)
  refactor(ui): bind sidebar session classes directly (#174229)
  fix(logging): omit content from AI transport diagnostics (#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (#174224)
  feat(build): support selected standalone plugins (#173794)
  refactor(ui): bind browser input through viewport refs (#174138)
  refactor(ui): simplify multi-select callback ownership (#174225)
  refactor: simplify settings input ownership (#174222)
  refactor(ui): pair popup and hovercard listener teardown (#174209)
  ...

# Conflicts:
#	scripts/plugin-sdk-surface-report.mts

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
* refactor(ui): bind browser input through viewport refs

* test(ui): exercise mounted browser annotation canvas

* test(ui): supply browser annotation fixture target
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
…penclaw#157148)

* feat: describe decision capabilities in model catalogs

Keep task, protocol, modalities, reasoning, grounding, probability semantics,
abstention and route billing distinct without changing chat Model types.

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* fix: apply shared plugin model policy to decisions

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* feat: support plugin-owned model credentials

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* feat(decisions): preserve richer answers with versioned data codecs

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>

* chore(sdk): record approved Decision V2 data allowance

Apply only the +14 exports / +6 callables for the existing decisions data contract. Peter Steinberger explicitly approved the complete +18/+6 stack allowance on 2026-09-26; the remaining four execution types belong to the dependent PR. No additional API or guard exception.

Co-authored-by: steipete <[email protected]>

* fix(models): retain decision facts on their declared routes

Merge current main and reconcile the original Decision capability metadata with the canonical catalog. Preserve facts for matching hosted routes, clear stale facts on route changes, and retain chat:false. Validated 50 focused tests, planner replay, types, lint, formatting, and full build.

* feat(decisions): enforce shared plugin model policy

Integrate current model metadata while preserving the original decision-policy ancestry. Apply the reviewed shared completion authorization port without changing its six-file patch.

Validated 112 focused tests, targeted typecheck/lint/format, and the strict plugin SDK smoke build.

Original PR: openclaw#156621

* fix(models): include inference metadata in extracted tooling

* chore(models): include metadata tooling closure repair

* commit '00d93bb011fd8ac55d72623d1bd9e5bbcdb7d301':
  fix(models): include inference metadata in extracted tooling

* feat(auth): integrate plugin-owned model credentials

Preserve contributor history while integrating physical credential ownership with the shared model policy. Plugin-owned routes bypass agent profile discovery and agent no-auth substitution; agent-owned routes retain explicit no-auth behavior.

Co-authored-by: steipete <[email protected]>

* fix(models): preserve decision policy on current main

* merge: integrate current model policy into plugin auth

Preserve both signed ancestry chains and current-main OAuth refresh, secret-owner, abort, and authentication bootstrap behavior. The plugin-owned authentication patch is unchanged.

* feat(decisions): integrate versioned data codecs on shared auth

Preserve the original contributor PR ancestry while applying the reviewed V2 data contract to the shared-policy and plugin-owned-auth stack. The fourteen-file feature delta matches the qualified candidate exactly, including the measured SDK budget expansion.

* fix(decisions): preserve explicit owner-agent selection

* merge: preserve decision owner selection in plugin auth

Integrate the reviewed explicit owner-agent selection repair while preserving the unchanged plugin-owned authentication patch and both ancestry chains.

* fix(decisions): carry owner-bound policy repair into data stack

Merge the repaired shared-auth parent while preserving the qualified fourteen-file V2 data delta. Frozen dependency inputs are unchanged; the incoming policy runtime and tests retain their independent qualification.

* merge: reconcile plugin auth with landed model policy

Preserve the original contributor and signed integration ancestry while basing the unchanged plugin-owned authentication patch on the landed shared model policy.

* chore(decisions): reconcile data stack with published auth ancestry

Merge the qualified shared-auth head while preserving the byte-identical fourteen-file V2 data patch. Dependency declarations and frozen lock/workspace inputs are unchanged; the existing physical install remains available to the native PR tooling owner.

* fix(auth): retain plugin credential authority through dispatch

* chore(decisions): integrate canonical auth authority fix

* fix(decisions): distinguish plain record validation

* test(auth): preserve health probe exports in lifecycle fixture

* chore(auth): integrate repaired main for credential lifecycle gates

* chore(decisions): integrate repaired auth authority

* chore(auth): integrate current main for landing

* chore(decisions): integrate current auth authority

* commit '3f14c05236f10ad9a833770ee5962d4dd6c22110': (74 commits)
  fix(update): compare each recovery manifest once during cleanup confirmation (openclaw#174249)
  perf(agents): release completed attempt transcript references (openclaw#174236)
  refactor(ui): bind board frames through Solid refs (openclaw#174180)
  fix: stop repetitive output from small models (openclaw#173844)
  fix(update): stop listing missing recovery originals as cleanup candidates (openclaw#174241)
  refactor(ui): remove transcript virtualizer controller registry (openclaw#174231)
  fix(ai): surface bounded response errors before cancellation settles (openclaw#174238)
  refactor(test): reuse descendant-death waits (openclaw#174240)
  refactor: consume existing channel and SDK type owners (openclaw#174010)
  refactor(ui): bind sidebar session classes directly (openclaw#174229)
  fix(logging): omit content from AI transport diagnostics (openclaw#174217)
  test(tooling,talk,sessions,infra,browser,github): remove low-value tests (batch d121) (openclaw#173137)
  fix(ci): drop orphaned exports and copy cli-invocation into the package harness
  refactor(ui): derive login drafts and share native input bindings (openclaw#174223)
  refactor(ui): own chat locale and clock lifetime in Solid (openclaw#174224)
  feat(build): support selected standalone plugins (openclaw#173794)
  refactor(ui): bind browser input through viewport refs (openclaw#174138)
  refactor(ui): simplify multi-select callback ownership (openclaw#174225)
  refactor: simplify settings input ownership (openclaw#174222)
  refactor(ui): pair popup and hovercard listener teardown (openclaw#174209)
  ...

# Conflicts:
#	scripts/plugin-sdk-surface-report.mts

Co-authored-by: steipete <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
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 ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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