Skip to content

refactor: consume existing channel and SDK type owners - #174010

Merged
steipete merged 7 commits into
mainfrom
deslop/z21-4-channel-type-owners-20261015
Oct 16, 2026
Merged

steipete merged 7 commits into
mainfrom
deslop/z21-4-channel-type-owners-20261015

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Several channel adapters and SDK helpers restate records or literal vocabularies already owned by their producers. Those mirrors can drift independently.

What changed

Consume existing producer types in channel/session adapters, setup and secret-reference helpers, and UI metadata. Matrix's six config string fields now have one tuple for its type and both consumers. No protocol/config shape, authorization check, feature, persisted schema, or SDK export name changes.

The original 533-line cleanup hit two unattributed CI failures. Following the campaign's rule 8, this revision restores all 104 conservatively reachable changed files and four dependent consumers to pinned main, then removes orphaned documentation and fixture/baseline repairs. The remaining cut is 100 net production lines removed across 23 files, below the normal floor because the mandatory CI recovery takes precedence. The original reviewed work is preserved on deslop/z21-parked-unattributed-reachability-20261015 without a PR, pending scheduled-send/compaction proof.

Best-effort tradeoffs accepted

None: this cut removes duplicate type/vocabulary definitions, not runtime guards. Existing external validation, authorization, persistence, and concurrency behavior stays in place.

Evidence

The reduced-source core production typecheck passed, the runtime cycle check passed with zero value cycles, and the required suppression suite passed all three cases. All 108 restored paths match pinned main byte-for-byte. Fresh reduced-cut independent review completed through P2 with no findings; post-review and committed diff hashes still match. One unchanged credentials-owner context file was unavailable to the reviewer; its exact two-field type was personally checked against the removed mirror.

UI typechecking and the static cycle check also passed. Local extension typechecking stopped at an absent installed saxes package, which is already declared in the unchanged Nextcloud Talk manifest and lockfile; the importer is also unchanged. No dependency was changed or shared install reconciled. The focused batch reached the existing 900-second no-output guard before kept-case results. Neither is claimed passing or inherited CI proof. The committed-source changed check passed conflict-marker and line-cap checks, then reported max-lines suppressions in three untouched UI files; those paths are byte-identical to the base. The slow local execution was stopped, not claimed green. The earlier frozen-revision SDK API comparison also did not complete; this reduced cut adds no SDK export name or subpath.

Exact-head hosted CI run 38888130475 at 70ce3e3d5423284c09832a1dec6306513c80aab3 completed green through the repository watcher. Two PR-context checks failed because this body used noncanonical headings; the authored headings were corrected, and metadata run 38888976078 passed without a code push or rerun. Superseded metadata failures are not an admin exception. Current-head hosted code review reports no findings.

Previous exact-head run 38879226161 at 2ee8710 failed four test jobs. Two CLI fixture failures came from the now-dropped proxy-key consolidation; both the consolidation and its fixture/baseline repairs are restored to main. The other failures were a scheduled-send provider-boundary deadline and a compaction rejection/result assertion. Serial head/base attempts did not reach those cases; neither failure is claimed inherited. All changed files conservatively reachable from those two tests are now restored, not waived. No admin exception or CI rerun was requested.

An earlier pre-reduction suppression execution failed its unchanged Git-listing timeout (two of three cases passed); the reduced-source execution passed all three. One UI typecheck invocation used a nonexistent config path and was corrected to the package-owned root tsconfig.ui.json; it is not a product diagnostic. No assertion, timeout, retry, skip, suppression, or kept-behavior baseline was weakened. Exact new-head hosted CI is the broad landing gate.

@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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: imessage Channel integration: imessage channel: matrix Channel integration: matrix channel: nextcloud-talk Channel integration: nextcloud-talk channel: slack Channel integration: slack app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts commands Command implementations agents Agent runtime and tooling extensions: qa-lab extensions: codex extensions: openrouter extensions: github GitHub plugin: link previews and reader channel: x size: XL labels Oct 16, 2026
@steipete
steipete marked this pull request as ready for review October 16, 2026 08:22
@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-16T10:37:42.696270Z 70ce3e3 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.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

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

  • Current SHA: 70ce3e3d5423284c09832a1dec6306513c80aab3
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/secrets/plugin-setup-plan.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR derives duplicated configuration, protocol, and plugin types and vocabularies from shared owners.

Example: A Slack account config contains dm.groupEnabled=true and dm.groupChannels=["G123"].

  • Before: Slack validates these fields through its separately declared DM schema.
  • After: Slack composes the shared DM schema while accepting the same values.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful consolidation with reported parity checks, but two independently attributable dependency defects prevent a passing patch verdict.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored refactor is outside the ordinary contributor proof gate; the supplied schema-equivalence and correlation-probe reports support preservation, and no material authority-chain change was identified.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Parallel configuration and protocol declarations can drift from the validators and contracts that govern actual behavior.
Reason: Maintainer-authored direction continues existing schema ownership work and removes duplicated declarations while preserving the intended runtime contracts.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep open: this maintainer-approved consolidation is useful, but two introduced dependency-closure defects need repair before merge.

Priority: P2
Reviewed head: cd33fe683ba8e8d5cbd649c12a55730dc76a0a83

Before merge

  • Include the new proxy constants module in the wrapper inventory (P2) - The trusted-anchor wrapper extracts only its recorded component closure. This new runtime import points to src/infra/net/proxy-env-keys.ts, but scripts/pr-lib/wrapper-components.txt still includes only proxy-env.ts. When the wrapper materializes its trusted source, the imported module is absent and module resolution fails. CI independently reports both the missing inventory entry and unresolved import. Add the new module to the inventory.
  • Derive proxy-capture types from an acyclic schema leaf (P2) - Importing cli-contract.ts here creates types.ts → cli-contract.ts → store.types.ts → types.ts. The repository's static architecture checker includes type-only imports, so pnpm check:madge-import-cycles rejects this component; the corresponding CI check is failing. Extract the event and preset schemas into a leaf consumed by both the CLI contract and these types, preserving their existing shapes.

Findings

  • [P2] Include the new proxy constants module in the wrapper inventory — src/infra/net/proxy-env.ts:6
  • [P2] Derive proxy-capture types from an acyclic schema leaf — src/proxy-capture/types.ts:3-6

Provenance

  • Remaining declaration aliases and vocabulary extractions: original intent not found (unknown: The supplied provenance was partial; extended git history identified related consolidations, but unavailable old blobs prevented complete line-level introduction research.)
Agent review details

How this fits together

Shared schemas and contracts define configuration and protocol shapes consumed by core, bundled plugins, and the Control UI; runtime validators and consumers retain their existing responsibilities.

flowchart TD
  A[Shared schema owners] --> B[Derived configuration types]
  A --> C[Protocol validators]
  D[Shared vocabulary constants] --> C
  B --> E[Core and bundled plugins]
  C --> F[Gateway clients and Control UI]
  D --> E
Loading

Technical review

Best possible solution:

Retain the shared-owner consolidation, complete the wrapper extraction inventory, and derive proxy-capture types from an acyclic schema leaf.

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

The extraction defect is demonstrated by CI annotations and the inventory contract; source inspection establishes the new static import cycle without executing target code.

Is this the best way to solve the issue?

Deriving shapes from existing owners fits the established architecture, but schema leaves and extracted tooling dependencies must remain complete and acyclic.

Full review comments:

  • [P2] Include the new proxy constants module in the wrapper inventory — src/infra/net/proxy-env.ts:6
    The trusted-anchor wrapper extracts only its recorded component closure. This new runtime import points to src/infra/net/proxy-env-keys.ts, but scripts/pr-lib/wrapper-components.txt still includes only proxy-env.ts. When the wrapper materializes its trusted source, the imported module is absent and module resolution fails. CI independently reports both the missing inventory entry and unresolved import. Add the new module to the inventory.
    Confidence: 1
  • [P2] Derive proxy-capture types from an acyclic schema leaf — src/proxy-capture/types.ts:3-6
    Importing cli-contract.ts here creates types.ts → cli-contract.ts → store.types.ts → types.ts. The repository's static architecture checker includes type-only imports, so pnpm check:madge-import-cycles rejects this component; the corresponding CI check is failing. Extract the event and preset schemas into a leaf consumed by both the CLI contract and these types, preserving their existing shapes.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Channel configuration schema ownership keeps the original intent (4939f59: Derive common messaging contracts from schemas while retaining channel-specific generic overlays.)
  • Talk protocol vocabulary and inference keeps the original intent (c022c08: Consolidate ordered literal construction without changing protocol serialization or static inference.)
  • Proxy capture storage boundary keeps the original intent (94907ee: Keep capture writes with the Gateway state owner and preserve session-bound transport authority.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test test/scripts/eager-import-closure.test.ts --maxWorkers=1
  • pnpm check:madge-import-cycles
  • pnpm test src/proxy-capture --maxWorkers=1

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit c022c08 adds packages/gateway-protocol/src/schema/channels.ts:44 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c022c0891424; files: packages/gateway-protocol/src/schema/channels.ts)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Labels

Label changes:

  • add P2: The refactor introduces focused defects in maintainer tooling and an enforced architecture gate.
  • add merge-risk: 🚨 compatibility: The public channel-account schema builder gains groupDmShape in its return contract; this additive direction is approved through maintainer authorship and preserves the existing fields.
  • add merge-risk: 🚨 automation: An extracted trusted PR wrapper cannot resolve the newly imported proxy constants module.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: The refactor introduces focused defects in maintainer tooling and an enforced architecture gate.
  • merge-risk: 🚨 automation: An extracted trusted PR wrapper cannot resolve the newly imported proxy constants module.
  • merge-risk: 🚨 compatibility: The public channel-account schema builder gains groupDmShape in its return contract; this additive direction is approved through maintainer authorship and preserves the existing fields.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • 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, 4:40 AM ET / 08:40 UTC.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2ee8710ef9

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

max_price?: ModelRoutingMaxPrice;
preferred_min_throughput?: number | ModelRoutingPercentiles;
preferred_max_latency?: number | ModelRoutingPercentiles;
[Key in keyof OpenRouterRouting]: OpenRouterRouting[Key];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep catalog routing aligned with its normalizer

When a plugin augments OpenRouterRouting with another routing option, this mapped type now advertises that option as valid model-catalog metadata, but normalizeOpenRouterRouting in model-catalog-normalize.ts still copies only its fixed built-in field list, so the accepted option is silently discarded before reaching request metadata. Keep the catalog contract as the explicit normalized subset or update the normalizer to preserve every supported member.

AGENTS.md reference: AGENTS.md:L17-L20

Useful? React with 👍 / 👎.

Restore all 104 conservatively reachable changed files and four dependent
consumers after serial scheduled-send and compaction replay preparation
could not settle attribution. Remove orphaned fixture, baseline and docs edits.

Keep the independent 23-file owner derivations: 100 net production lines
removed. Preserve the original reviewed cut on the parked reachability branch.
@steipete steipete changed the title refactor: derive config and protocol mirrors from shared owners refactor: consume existing channel and SDK type owners Oct 16, 2026
@steipete
steipete force-pushed the deslop/z21-4-channel-type-owners-20261015 branch from 2ee8710 to 70ce3e3 Compare October 16, 2026 10:34
@openclaw-barnacle openclaw-barnacle Bot added size: M and removed docs Improvements or additions to documentation channel: discord Channel integration: discord channel: slack Channel integration: slack gateway Gateway runtime commands Command implementations agents Agent runtime and tooling size: XL labels Oct 16, 2026
@steipete
steipete merged commit b7f7928 into main Oct 16, 2026
164 of 172 checks passed
@steipete
steipete deleted the deslop/z21-4-channel-type-owners-20261015 branch October 16, 2026 13:28
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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: derive config and protocol mirrors from shared owners

* refactor: reuse schema and runtime vocabulary owners

* fix: keep schema owners acyclic and wrapper imports closed

* refactor: keep capture codec independent of store contracts

* test: preserve proxy environment exports in CLI fixtures

* chore: shrink completed CLI mock allowances

* refactor: isolate the type-owner cut from unattributed CI failures

Restore all 104 conservatively reachable changed files and four dependent
consumers after serial scheduled-send and compaction replay preparation
could not settle attribution. Remove orphaned fixture, baseline and docs edits.

Keep the independent 23-file owner derivations: 100 net production lines
removed. Preserve the original reviewed cut on the parked reachability branch.
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 channel: imessage Channel integration: imessage channel: matrix Channel integration: matrix channel: nextcloud-talk Channel integration: nextcloud-talk channel: x cli CLI command changes extensions: codex extensions: github GitHub plugin: link previews and reader extensions: openrouter extensions: qa-lab scripts Repository scripts security-sensitive-changed size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant