Skip to content

refactor: centralize small helper owners and core callers - #174859

Merged
steipete merged 5 commits into
mainfrom
deslop/z16-8-helper-owners-core-20261015
Oct 17, 2026
Merged

steipete merged 5 commits into
mainfrom
deslop/z16-8-helper-owners-core-20261015

Conversation

@steipete

@steipete steipete commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Private copies of coercion, collection, text, hashing, shell-quoting, and JSON response helpers repeat across core and bundled plugins. This is the owner-first area of the coordinator-authorized split of the parked helper family. Later area PRs migrate callers without repeating SDK registration.

What changed

Reuse existing normalization record and number owners for string-array admission, conditional record creation, ordinary integer admission, and positive-number flooring. Remove exact named private copies required by the strict declaration guard; retain differently named nonblank and bounded-array domain policies. The string-array primitive lives in the foundational package, not in core above its package consumers.

Reuse existing SHA and content-block owners, retire the memory-host hash forwarding file while preserving exported signatures, and introduce narrow bundled-only collection and HTTP response facades. Preserve sparse arrays, conditional assignment and record identity, unsafe integers, signed zero, sub-one flooring, hash preimages, two POSIX quote spellings, and distinct HTTP framing/header/serialization contracts.

The candidate is trimmed to 71 paths. Twenty-two Gateway/infra callers are preserved for their later area, not dropped for a CI failure. Gateway's exported JSON writer stays in this first area so the new canonical writer does not land beside an exported duplicate. Phase E standalone session-memory backend, factory, registry, expiry, federation, and tests are untouched. No config key, protocol shape, dependency, persisted schema, security authority, or durability change is included. SDK budgets and lint suppressions are not relaxed.

Best-effort tradeoffs accepted

  • The private snapshot lstat helper no longer accepts an options bag whose sole current value is bigint:true. It originated as a mixed Stats/BigIntStats helper in a8c4230 (refactor: adopt fs-safe 0.16 and remove duplicate filesystem logic #152972); all remaining callers require BigIntStats. It now always requests that representation. Absence, ownership, integrity, and durability checks remain unchanged.
  • Other changes consolidate equivalent implementations rather than remove runtime protections. External input is still admitted at the same boundaries. Strict canonical-helper registration is strengthened without exceptions.

Size

Against base b7cbaf1: 71 total paths, +507/-337. Runtime/tooling source excluding tests/support is 58 paths, +254/-320: 66 net source lines removed. Charging documentation, SDK metadata, and registration overhead gives 65 non-test paths, +283/-324: 41 conservative net production lines removed. Six test/support paths add 211 net lines and do not count as production savings. The floor is waived for this owner-first reconstruction; later area migrations carry the corresponding reductions.

Evidence

Existing component evidence is retained only where source identity matches: collection 13/13; HTTP 6/6 plus expanded real Node GET/HEAD/serialization matrix 10/10; shell/numeric 40/40; ten pure-leaf typechecks. Serial repair proof previously passed collection, wrapper closure, coercion declaration fixtures, lint suppressions, and legacy config: 33 tests. Independent isolated P0-P2 reviews cover the original components and conditional ensureRecord repair.

The 70-path owner candidate passed fresh independent isolated P0-P2 review (confidence 0.90), with no actionable findings. All 70 source identities and patch SHA-256 d559ea3a41beaa2c87945fdaff4e9a9053d4ec53e3b034a1f04798b7fb49a898 match that frozen review. The subsequent one-file Gateway JSON writer cutover passed fresh independent P0-P2 review (confidence 0.99); the canonical function body, public signature, header commitment and serialization ordering are unchanged. Fresh focused serial proof passed collection 13/13, all 11 selected numeric-policy cases, mandatory lint suppressions 3/3, and two wrapper-closure cases before the 600-second outer budget stopped the tooling project. The remaining closure case and coercion fixtures are incomplete, not failed assertions; prior component results are retained separately. Broad caller types, builds, SDK API/surface, and architecture checks remain exact-head hosted-CI proof. No retries, timeout increases, skips, or budget weakening were used.

On repaired head e7cc471, another isolated serial focused attempt passed mandatory lint suppressions 3/3. Gateway http-common produced no assertion results before the unchanged 600-second outer budget stopped cold compiled-subprocess preparation (collector exit124, child143). All owned children drained. This is incomplete local preparation, not a failed product assertion; the unchanged writer's 10-case real Node HTTP boundary matrix and direct-equivalence review remain the scoped contract evidence. No local retry or broad build was used.

Exact head b349034 completed CI run 38992254476 attempt 1: 179 successful jobs, 17 skipped, three substantive failures and the aggregate gate. The source-contract failure was PR-caused: Gateway's still-private-area sendJson implementation collided with the new owner. The repair restores only its direct canonical reexport to this first area, without a guard exception. The fast mock-export failure exactly matches scheduled main run 38991549274/job117275051710 at src/cli/update-cli/update-command-service-maintenance-native.test-support.ts:52 for update-command-database-context.js. All five quiet-child restart cases again match the serial head/base missing-original-operator-source diagnosis below. These are prior-head observations, not passing proof for the repaired head.

Current exact-head CI and inherited-failure qualification

Head e7cc471 completed CI run 38995261929, attempt 1: 177 successful jobs, 18 skipped, four nonaggregate failures and their aggregate gate. Build artifacts, caller types, source contracts, architecture guards, security-fast, and PostgreSQL conformance passed. The hosted checkout was merge 0f7aad424aed91d0bb129faf9f5f0beb63bb9c02, with ordered parents aec89e4 and the exact PR head.

Failed job Attribution
compact-large-13 (117286702197) Inherited prefix-delivery assertion: the same test at embedded-agent-subscribe.directive-delivery.test.ts:354 expects length 2 and gets 3 in scheduled main 38995631641/job117287637037. The two bounded isolated local attempts ended before assertions and are not passing proof.
extensions-bundle-1 (117286702711) Inherited Codex native-finalizer fixture contradiction: upstream acd2763 moved settled-tool capture/warnings inside optional onSettledTurn, but the unchanged direct fixture omits that callback. Its six failed cases require capture/warning that cannot run. The determining finalizer, native test, and fixture blobs are identical at the tested merge and baseline.
node-changed-17 (117286705037) The five quiet-child restart cases match the retained serial PR/base reproduction: missing original operator source, waiting-for-continuation, parent/parent/child calls, inactive completion authority. Both revisions failed; collector success is not passing proof.
ios-screenshots (117286700453) Infrastructure: iPhone/iPad snapshots passed, then Watch simulator creation failed because watchOS 27.0 runtime is unavailable (SimError 401, exit 145). No Watch test ran and no Swift/Fastfile code changed.
openclaw/ci-gate (117292075688) Aggregate of the four preceding failures; not a green CI claim.

The complete exact-head check inventory was also inspected, not just ci.yml. Six separate CodeQL Security High boundary jobs, the precise scan's SARIF upload, and the Critical Quality selector failed with individually verified GitHub installation API-rate-limit errors. They are infrastructure failures, not asserted security findings or successful coverage. Current dependency-review and security-sensitive-review status projections are successful; the combined CI gate remains failed. Native landing still revalidates the actual enforced reviews, security authority, and effective required checks. No CI rerun, repush for green, timeout increase, skip, or weakened assertion was used.

Attributed prior-head CI

These observations belong to prior exact head 016763a, run 38985939338 attempt 1; they are not evidence for the next head.

Failed check Attribution and evidence
check-guards (117257873307) PR-caused remaining ensureRecord copies; repaired by complete canonical cutover. Final candidate also closes exact isStringArray copies in the correct package owner.
compact-small-11 (117257878946) Inherited ONNX catalog omission. Exact doctor catalog test failed on main 72e16e3: Missing modelCatalog.providers.onnx.baseUrl; introduced by #174162 / 317eb48.
node-changed-28 (117257878746) Inherited quiet-child restart failure. All five selected cases failed serially at both exact PR head and base b7cbaf with the same missing-original-operator-source, waiting-for-continuation, and parent/parent/child call signatures. A passing shard 20 is not evidence for this test, which moved to shard 28.
ios-screenshots (117257873285) Infrastructure before app tests: Fastfile simulator creation failed with SimError 401, missing watchOS runtime/path. No Swift or Fastfile changes.
ci-gate (117261464767) Derivative of preceding failures.

Serial diagnostic run: https://github.com/openclaw/openclaw/actions/runs/38987871909 . Each revision had its own clean worktree/install and isolated runtime directories. The collector exited successfully but the selected tests failed as described; collector success is not passing proof. Its task-owned Testbox lease is stopped and settlement reconciled. The older metadata-observation failure also matched scheduled main run 38981593815, job 117243595187, at ece4639 with identical test bytes; retained as historical evidence, not substituted for current-head attribution.

@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 marked this pull request as ready for review October 16, 2026 23:58
@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-17T01:48:54.731538Z b349034 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: e7cc4717f636bc5c7ff74337af61b8460716ed72
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/mcp-oauth-identity.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/sandbox/remote-shell-command.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.
  • src/agents/sandbox/runtime-status.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.

Carefully review these changes before merging.

@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 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR centralizes small normalization, hashing, text, shell-quoting, and HTTP helpers and migrates core and bundled-plugin callers.

Example: The Gateway sends an HTTP 401 Unauthorized JSON response.

  • Before: The Gateway-local writer returns application/json; charset=utf-8 and the Unauthorized error body.
  • After: The shared writer returns the same status, headers, and body through the existing Gateway export.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The substitutions preserve the inspected contracts and resolve prior findings; evidence is strongest at the in-process boundary, and exact-head CI still has unresolved failures.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored refactor is outside the ordinary contributor proof gate; supplied evidence covers real Node HTTP sockets and focused contracts, without establishing a shipped Gateway flow.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Duplicated private helpers create maintenance work and opportunities for parsing, identity, and response behavior to drift.
Reason: The maintainer has approved the scoped consolidation, which reduces production code while preserving established behavior.

Merge readiness

✅ Ready for maintainer review

The previous owner-cutover findings are fixed, and no additional actionable code defect was found. Keep this maintainer-authored PR open while exact-head CI remains unresolved.

Priority: P3
Reviewed head: e7cc4717f636bc5c7ff74337af61b8460716ed72

Before merge

None.

Findings

None.

Agent review details

How this fits together

Core callers and bundled plugins use these helpers to admit input, derive stable identities, prepare text, and serialize HTTP responses.

flowchart TD
  A[Core callers] --> C[Normalization core]
  B[Bundled plugins] --> D[Private SDK facades]
  D --> C
  A --> E[Shared text and HTTP helpers]
  D --> E
  C --> F[Admitted values and stable hashes]
  E --> G[Quoted text and JSON responses]
Loading

Technical review

Best possible solution:

Keep the canonical helper owners and existing caller contracts, including byte-identical identity hashes and HTTP serialization behavior.

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

This PR claims a behavior-preserving refactor, not a user-facing bug; the review inspected source and supplied evidence without executing target code.

Is this the best way to solve the issue?

The approved owner-first scope appropriately reuses foundational helpers and narrow bundled facades while preserving the distinct caller policies.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Record and numeric normalization keeps the original intent (c23d66e: Earlier consolidation established shared coercion ownership; this PR extends those owners without replacing domain-specific admission policies.)
  • Gateway JSON writer keeps the original intent (f06ad45: Shared response input handling established the Gateway writer; the new canonical body preserves its operations and order.)
  • Assistant text extraction keeps the original intent (refactor(agents): share strict text content validation #163469: The existing owner centralizes strict text-block validation; session extraction now consumes that contract and retains string passthrough and concatenation.)
  • MCP OAuth identity hashing keeps the original intent (feat(mcp): per-requester OAuth for MCP servers #122166: Per-requester OAuth partitions persisted credentials by channel, account, and sender; the same tuple, separators, digest, and key suffix remain.)
  • Snapshot filesystem identity keeps the original intent (refactor: adopt fs-safe 0.16 and remove duplicate filesystem logic #152972: Exact bigint filesystem identities preserve snapshot verification and recovery; the private helper still always requests bigint stats, as all callers require.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Previous HTTP finding resolved: The repair replaces the Gateway sendJson declaration with an import and re-export of the canonical writer; status assignment, Content-Type preparation, and serialization order match the original implementation. (src/gateway/http-common.ts:68, e7cc4717f636)
  • Earlier coercion findings resolved: ensureRecord now has one declaration in normalization-core, the legacy config export forwards to it, and the affected plugins use the bundled SDK facade; isStringArray likewise has one canonical declaration while bounded and nonblank domain policies retain distinct names. (packages/normalization-core/src/record-coerce.ts:34, e7cc4717f636)
  • Stable identity and security semantics: The SHA substitutions preserve the existing preimages, NUL separators, truncation, and identity fields; both POSIX quoting spellings retain their original escaping expressions. (src/agents/mcp-oauth-identity.ts:32, e7cc4717f636)
  • Bundled SDK registration: Both new runtime subpaths are registered in package exports, entrypoint metadata, private-local metadata, declaration exclusions, package-boundary paths, and SDK documentation; the maintainer-authored body explicitly selects this bundled-only scope. (src/plugin-sdk/collection-input-runtime.ts:1, e7cc4717f636)
  • Boundary coverage inspected: The HTTP suite exercises real Node request/response sockets for GET and HEAD and independently checks framing, cache policy, UTF-8 bytes, and serialization failures; collection and numeric cases protect established admission semantics. (src/infra/http-json.test.ts:25, e7cc4717f636)
  • Current CI needs attribution: Exact-head run https://github.com/openclaw/openclaw/actions/runs/38995261929 reports settled-turn-finalizer.native failures and a directive-delivery assertion failure; neither was established as diff-caused or inherited. Separate scan, shard-selection, and CodeQL annotations identify installation API rate limiting. Job-log retrieval was blocked by the review host's Azure-domain allowlist. (e7cc4717f636)

Likely related people:

  • Peter Steinberger: Raw commit f06ad45 adds src/gateway/http-common.ts:17 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f06ad4502b4a; files: src/gateway/http-common.ts)
  • Ayaan Zaidi: Raw commit 6a4a546 adds src/agents/mcp-oauth-identity.ts:24 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6a4a54659329; files: src/agents/mcp-oauth-identity.ts)

PR surface

Source -61, Tests +211, Docs +2, Config +14, Other +4. Total +170 across 71 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 57 254 315 -61
Tests 6 224 13 +211
Docs 1 3 1 +2
Config 2 15 1 +14
Generated 0 0 0 0
Other 5 11 7 +4
Total 71 507 337 +170

Review metrics

Metric Value Why it matters
Production versus test changes Non-test +283/-324; tests/support +224/-13 Production shrinks by 41 lines including registration overhead; test growth protects distinct framing, admission, quoting, and truncation contracts.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦪 silver shellfish.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove merge-risk: 🚨 automation: Current PR review merge-risk labels are merge-risk: 🚨 compatibility.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P3: This is an approved behavior-preserving cleanup without an established urgent user-facing defect.
  • merge-risk: 🚨 compatibility: The PR adds two bundled-only SDK subpaths and helper exports; their scope is maintainer-approved, registrations are aligned, and existing exported signatures remain intact.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦪 silver shellfish.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-17T00:19:33.404Z sha f3f9eeb :: needs changes before merge. :: [P2] Complete the ensureRecord cutover through the legacy config export
  • reviewed 2026-10-17T00:32:24.287Z sha 016763a :: needs changes before merge. :: [P2] Migrate the remaining ensureRecord declarations before enforcing the name
  • reviewed 2026-10-17T01:57:01.448Z sha b349034 :: needs changes before merge. :: [P2] Complete the sendJson owner cutover

Reviewed October 16, 2026, 10:45 PM ET / October 17, 2026, 02:45 UTC (Revision 4).

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The repair head is 016763a. It shrinks the assertion baseline and consolidates ensureRecord in the existing normalization record owner, preserving the legacy config export and protected wrapper import closure. The seven-file repair received a fresh isolated scoped-clean review; all five focused files passed (33 tests). The PR body records the measured area size and remaining exact-head CI attribution.

@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

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 Oct 17, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The final owner-first area is now 70 paths at b349034. The body records the complete canonical guard repair, frozen independent review, focused proof and incomplete local tooling cases, and attributed prior-head failures. The 23 Gateway/infra caller paths are preserved for their separate area.

@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Oct 17, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The owner-first area is now 71 paths at e7cc471. The one-file repair replaces Gateway's duplicate sendJson body with a direct canonical reexport; its function body, signature, serialization timing and header commitment are unchanged. Fresh independent P0-P2 review found no actionable issue. Mandatory lint-suppressions passed 3/3 again; focused Gateway proof is in progress, with unchanged HTTP owner socket proof retained separately. The body distinguishes prior-head CI attribution from the repaired head. Twenty-two deferred Gateway/infra callers remain preserved for their separate area.

@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 17, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Landing evidence for exact reviewed/prepared head e7cc4717f636bc5c7ff74337af61b8460716ed72.

Native review validation and preparation completed without changing the head. Exact-head CI 38995261929, attempt 1 completed all 200 jobs: 177 successful, 18 skipped, four failed root jobs and their aggregate gate. The inspected checkout was 0f7aad424aed91d0bb129faf9f5f0beb63bb9c02, with ordered parents aec89e4ab0ba7595268342a5306b2bd2e1fdfb2e and the exact PR head; tree bf57f77f1060450cf27fc4688795344b89cb5e92. CI remains failed, not relabeled green.

Failed job Investigated attribution
compact-large-13 / 117286702197 Prefix-delivery assertion at line 354, expected length 2 but got 3; exact same assertion on scheduled main run 38995631641, job 117287637037. Both bounded local prefix attempts ended before assertions and are not passing proof.
extensions-bundle-1 / 117286702711 Six unchanged native-finalizer fixture failures: the upstream owner captures context/warnings only through optional onSettledTurn, while the direct fixture omits that callback and expects capture/warning. Determining baseline/tested-merge blobs are identical; the full fixture/owner chain was independently inspected.
changed-17 / 117286705037 Five quiet-child restart cases match retained serial prior-head and baseline failures: missing original operator source, waiting-for-continuation, parent/parent/child ordering and inactive authority. Both diagnostic test runs failed; their collector completion was not test success.
ios-screenshots / 117286700453 iPhone/iPad snapshots passed. Watch setup then failed before Watch tests because watchOS 27 runtime was unavailable, SimError 401 / exit 145; the Fastfile is unchanged.
openclaw/ci-gate / 117292075688 Downstream aggregate of the four root failures above.

Builds, caller types, PostgreSQL conformance, source contracts, architecture guards, guards and security-fast passed at this head. The complete current head inventory is 285 checks: 203 successful, 65 skipped, 13 failed and four cancelled, none active. The eight additional reds are six Security High CodeQL boundary jobs, the precise SARIF scan and Critical Quality selector; each was diagnosed as GitHub installation API rate-limit infrastructure, not an inferred passing scan or a dismissed security finding. The optional shared-kit iOS job is cancelled after successful consumer indexing, scan and report upload, while its completion phase stalled; the cross-platform intersection was skipped. That overall cancellation remains a proof gap. The macOS shared-kit scan passed. No CI rerun, artificial repush or local broad replacement suite was used.

Two consecutive native admission attempts on the unchanged exact head both passed merge-verify and then stopped at GitHub's 60-second UNKNOWN mergeability deadline. Both explicitly confirmed pre-dispatch abort, absent merge outcome/capture and no merge request sent; the native operation locks were released only after all owned process/pipe holders drained. The second attempt also completed a whole REST observation against stable main 5e5ce57d0c0c39b76c40cc5c1f5bc9e01a967114; GitHub still did not finish its mergeability projection. Local composition at the first captured base was conflict-free, but that was not treated as server mergeability authority.

The coordinator authorized the supported exact-head guarded REST squash fallback after those two native infrastructure/startup-deadline failures. Remote reconciliation still showed OPEN, exact head, no auto-merge or prior merge intent/outcome. Current effective policy requires GitHub Actions openclaw/ci-gate (integration 15368), linear history and code-owner review with zero required approvals; classic protection explicitly reports Branch not protected. No enforced review or security requirement is waived. The current dependency-review and security-sensitive-review statuses are successful, backed by successful exact-head enforcement in trusted Security Review run 38997155930; the combined CI gate remains failed. The existing native security owner revalidation passed, including enforced rollout, live exact-head author/admin approval and all 13 protected publisher source identities against captured main. The guarded squash request pins the exact head; any uncertain response is reconciled rather than blindly retried.

@steipete
steipete merged commit 64c5efe into main Oct 17, 2026
270 of 288 checks passed
@steipete
steipete deleted the deslop/z16-8-helper-owners-core-20261015 branch October 17, 2026 04:38
roboclaw-bot added a commit that referenced this pull request Oct 17, 2026
#174744 and #174859 landed together; the consolidated lstatIfExists helper is always bigint and takes one argument, so tsgo failed on main.

Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
…74859)

* refactor: centralize small helper owners and core callers

* refactor: give nested record coercion one canonical owner

* refactor(helpers): finish canonical record helper cutover

* refactor(shared): finish canonical coercion owners and split caller areas

* refactor(http): finish canonical Gateway JSON writer cutover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui clawsweeper:intake:feature Preliminary submission classification; full source review pending. commands Command implementations docs Improvements or additions to documentation extensions: amazon-bedrock extensions: clickclack extensions: elevenlabs extensions: firecrawl extensions: lmstudio extensions: memory-wiki extensions: openrouter extensions: policy extensions: xai gateway Gateway runtime merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts security-sensitive-changed size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant