Skip to content

fix: preserve private hook checks and diagnostics - #132403

Merged
steipete merged 3 commits into
mainfrom
steipete/fix-private-hook-boundaries
Aug 29, 2026
Merged

steipete merged 3 commits into
mainfrom
steipete/fix-private-hook-boundaries

Conversation

@steipete

@steipete steipete commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor
Additional instructions

This is a maintainer-owned branch; repository maintainers can update it. The maintainer explicitly approved the narrowly scoped Vitest dependency patch described below to repair the CI blocker discovered while validating this change.

Follow-up to the private-rule commit guard.

What Problem This Solves

Fixes four independently reproduced boundary defects in the local commit guard: a valid filename beginning with U+FEFF can make the scanner inspect a different path; an incomplete formatter capture can expose a private-value fragment; failed piped output can lose its actionable tail and final failure line; and supported Git glob/icase modes can cause configured clean commits to fail.

The first exact-head CI run also exposed missing CPU-profile output in the existing forked test-runner cleanup test. Investigation reproduced two Vitest shutdown defects: forced termination can interrupt exit cleanup/profile writes, and the first SIGTERM can race natural shutdown after Node retires its JavaScript signal handler. The historical CI log does not identify which mechanism occurred in that run; the new deterministic regressions prove both repaired mechanisms independently.

Why This Change Was Made

Repair the owning hook boundaries rather than add exceptions: preserve Git path data separately from UTF-8 rule-file decoding, isolate internal literal-path operations while retaining the effective Git index/context, reject incomplete formatter captures before replay, and let complete diagnostics drain before a nonzero exit. The approved private-file setting and overlap redaction remain unchanged.

The approved temporary [email protected] patch repairs worker completion at the dependency owner. Built-in fork transports declare willExit when sending their stopped response and exit explicitly after delivery. The parent joins actual exit within the existing 60-second stop deadline, before computing the run result. Custom entrypoints that do not declare self-exit retain their existing parent-owned stop protocol; explicit custom opt-in and vmForks are covered. Timeout and abnormal-exit paths still fail visibly and terminate/join the worker. The existing 500 ms forced escalation is unchanged.

No OpenClaw setup refactor, new user configuration, dependency version bump, capture-limit increase, timeout increase, forced thread pool, or artifact retry is included. The patch is generated/registered through pnpm, with an exact-version policy exception and a documented removal condition. Its zero-context insertion hunks use unchanged-line replacement anchors; standard Git and the installed pnpm result were verified byte-identical to the reviewed package. The existing @vitest/runner patch remains unchanged.

User Impact

Configured commits correctly inspect BOM-prefixed paths, including content introduced through formatting/restaging, and work with supported Git pathspec modes. Incomplete captures are withheld rather than partially echoed; complete formatter failures retain useful diagnostics and exit status, including when the optional content guard is unconfigured.

The safeguard remains local and opt-in. No private rules are checked in and no tracked file is exempt. Unchanged history, symlink targets, submodule contents, and explicit hook bypass remain outside its scope.

For development tooling, completed forked profiling runs retain their native CPU/heap artifacts, and teardown failures cannot be reported as successful test runs. OpenClaw's application runtime is unchanged.

Evidence

  • Hook regressions: all 68 repository tests passed, including all 45 original cases. Before production edits, 15 new cases failed for the intended boundary defects.
  • Independent hook replay: the verifier prepared assertions before seeing the implementation, then ran its unchanged driver against an immutable candidate on Node 24.20.0/Apple Git 2.54.0 and Node 26.7.0/Git 2.55.0. All 116 fixtures and 214 actual commit invocations passed. Driver/assertion hashes stayed unchanged, source copies matched the manifest, and temporary repositories were removed.
  • Dependency regressions: three profile-preservation cases failed against unpatched Vitest. A real custom-entrypoint case passed upstream, failed against the first patch candidate, and passed after the transport-declared capability repair. The final clean Linux/Node 24.19.0 install passed all 12 shutdown cases plus 105 sibling tests, including the original 16-case cleanup matrix in its original order and all 68 hook tests.
  • The shutdown tests cover native CPU/heap JSON, slow exit cleanup, the natural-exit signal window, ordinary forks, threads, vmForks, custom parent-owned stop, explicit opt-in, test failure, abnormal exit, and bounded hung/forced termination. They assert worker termination and owned/caller-state cleanup. Test-local clocks advance the existing stop deadline only after the hung boundary is reached; production deadlines remain unchanged.
  • The first candidate was rejected because teardown errors could still leave a successful CLI result. Joining the existing pool shutdown before result computation repaired that owner ordering; the retained failure cases verify it.
  • Full frozen Linux installation applied the exact pnpm patch hash, with all installed patched files matching the generated package. Core and root-test typechecks, focused lint, formatting, patch-policy checks, and test-target routing passed. A separate host typecheck failure was traced to missing SDK files in the local dependency installation; a normal frozen pnpm install restored them, and the full local changed-file gate then passed without provider changes.
  • An additional independent dependency runtime replay was blocked by the review service after its baseline/candidate environments were prepared. No completed replay verdict is claimed or included in the passing counts. Its task-owned container was removed; the executed 117 focused Linux tests and independent source review remain separate evidence.
  • Fresh combined Codex review after the custom-entrypoint correction was scoped-clean at P0–P2, with no actionable findings. This was source review, not independently executed tests.
  • The real private-rule configuration was verified without logging its values. All reproductions and fixtures use synthetic data.

Landing integration: a necessary, conflict-free native-wrapper trust rebase preserved the reviewed hook and Vitest runtime bytes. The rebased focused run passed 440 tests across eight files. CI then identified the shutdown fixture as unused because its process-spawn reference was not visible to Knip; the test now uses the same static module-URL reference as the adjacent Vitest runner regression. Both Knip unused-file scans passed with zero entries, all 12 shutdown cases passed again, the changed-file gate passed, and a fresh P0–P2 Codex review found no actionable issue in this two-line repair. No fixture, dependency behavior, assertion, ignore list, or baseline changed.

Focused behavior commands:

node scripts/run-vitest.mjs test/git-hooks-pre-commit.test.ts test/git-hooks-pre-commit-boundaries.test.ts
node scripts/run-vitest.mjs test/scripts/vitest-fork-shutdown.test.ts test/scripts/run-vitest-state-cleanup.test.ts test/scripts/run-vitest-profile.test.ts test/scripts/vitest-runner-task-updates.test.ts test/scripts/check-package-patches.test.ts

The hook repair adds net +32 hook-tooling lines, +4 test-routing lines, and net +255 tests/shared-fixture lines. The additional dependency patch's semantic delta is +44/-17 (net +27), including five declaration lines; patch headers and unchanged replacement anchors are not counted as production code. It adds 10 tooling routing/policy lines, one explicit tooling-test ownership entry, and 428 regression/test-support lines, plus exact registration, generated lock metadata, and four README lines. Growth supplies distinct ownership and completion contracts, not new options or duplicate implementations.

The formatter's check-ignore call retains its required native literal-mode exception and ./ prefix. Existing index context, overlap redaction, forced-stop budgets, and private-file scope are preserved. Linux proof used arm64 Node 24.19.0, not the original x64 hosted runner's load state; Windows runtime proof is left to hosted CI. Fresh exact-head CI must be green before native preparation and merge. The initial failed run and investigation remain documented in the PR discussion; no gate is bypassed.

AI-assisted implementation and review.

@clawsweeper

clawsweeper Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L labels Aug 29, 2026
@steipete
steipete marked this pull request as ready for review August 29, 2026 05:37
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Aug 29, 2026
@steipete

steipete commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Land-ready proof

The maintainer explicitly approved the narrow Vitest dependency repair needed to resolve the earlier CI blocker. Reviewed source is now 7afd43b14d3e2d9758bc5eb08ac964280418bc94, after one conflict-free rebase required for native wrapper trust. Both focused commits remain, followed by the small CI fixture-reference repair. Hook/runtime bytes are unchanged from the reviewed candidates; in that rebase, the only range-diff change was lockfile importer ordering already present on main.

The four hook repairs preserve BOM-prefixed path identity, suppress incomplete formatter captures, drain complete diagnostics in order, and normalize pathspec modes without losing the selected Git index/context. The approved exact-version Vitest patch makes built-in fork transports declare self-exit and joins actual exit before computing results, within the existing 60-second stop deadline. Custom transports that omit the declaration retain parent-owned termination; the existing 500 ms forced escalation is unchanged.

Before/after evidence: 15 hook regressions failed before repair and all 68 hook tests passed afterward. Three native profile cases failed against upstream Vitest. Source review caught a custom-entrypoint compatibility regression in the first patch; that real custom case passed upstream, failed the first candidate, and passed after moving the self-exit declaration to the responding transport. The final clean Linux Node 24.19.0 run passed 12 shutdown cases plus 105 siblings, including the original 16-case cleanup matrix in order. Independent hook replay passed 116 fixtures and 214 actual Git commits with unchanged assertions.

Fresh Codex P0–P2 source review found no actionable findings after the correction; review did not execute tests. An additional independent dependency replay did not complete because the review service blocked it after install preparation. It is not counted as a pass, was not retried, and its owned container was removed. The executed Linux tests, separate source review, and exact-head hosted CI are the accepted proof. The historical failed CI log cannot identify which demonstrated shutdown mechanism caused that incident.

After the necessary rebase, the actual local integration command below passed 440 tests across eight files:

node scripts/run-vitest.mjs test/scripts/vitest-fork-shutdown.test.ts test/scripts/run-vitest-state-cleanup.test.ts test/git-hooks-pre-commit.test.ts test/git-hooks-pre-commit-boundaries.test.ts test/scripts/run-vitest-profile.test.ts test/scripts/vitest-runner-task-updates.test.ts test/scripts/check-package-patches.test.ts test/scripts/test-projects.test.ts

Run 33267247220 then caught an undeclared static fixture dependency in Knip. The test now uses the adjacent regression's module-URL reference pattern; both real unused-file scans passed with zero entries, all 12 shutdown cases passed again, and the changed-file gate passed. Separate fresh P0–P2 source review found no actionable finding in that two-line repair. No ignore list, baseline, fixture, or assertion changed.

node --import ./scripts/tsx.mjs scripts/check-deadcode-unused-files.mts
node scripts/run-vitest.mjs test/scripts/vitest-fork-shutdown.test.ts
node scripts/check-changed.mjs -- test/scripts/vitest-fork-shutdown.test.ts

Exact-head hosted CI is complete and green: run 33267691622, attempt 1 for 7afd43b14d3e2d9758bc5eb08ac964280418bc94. The required openclaw/ci-gate and repaired check-dependencies are successful. The exact-head watcher finished GREEN; no stale-run result or check bypass is used.

Hook tooling is net +32 lines, with +4 routing lines and +255 tests/shared-fixture lines. The Vitest patch's semantic delta is +44/-17 (net +27, including five declaration lines); patch headers and unchanged anchors are excluded. Its additional routing/policy is +10, isolated ownership +1, tests/support +428, with exact patch registration, generated lock metadata and four documentation lines. These lines express the path/output and shutdown ownership contracts; no timeout increase, pool override, artifact retry, weakened assertion, new product setting or application-runtime change was added. The temporary patch has a documented upstream-removal condition.

ClawSweeper's fresh review found no introduced P0–P2 defect. Its rank-up requests were direct installed-dependency inspection and green exact-head CI. I personally inspected Vitest 4.1.11's PoolRunner.stop, ForksPoolWorker, pool result/teardown ordering, built-in transport, public init stop handling, and exported PoolWorker, WorkerResponse, and protected custom entrypoint declarations. The key installed files were dist/chunks/cli-api.CnMVyzaz.js (stop at 3010–3070, fork owner at 3130–3215, result join at 3798), dist/chunks/init-forks.H5ZuobOQ.js, dist/chunks/init.k9zZ9sLh.js (339–364), dist/node.d.ts (161–180), and dist/chunks/reporters.d.DtoKVV2s.d.ts (2053–2088 and 2135–2150). The normal frozen pnpm install produced byte-identical reviewed runtime/type files. The custom-entrypoint contract, unchanged budgets, and temporary upstream-removal condition remain preserved. The later fixture-reference correction is mechanical and independently source-reviewed; no redundant re-review was requested.

Native review artifacts are validated. The merge must use OPENCLAW_TESTBOX=1 scripts/pr prepare-run 132403 followed by scripts/pr merge-run 132403. No required check or approval is bypassed. The publication patch and this comment were checked quietly against the configured private rules without exposing their values.

@clawsweeper

clawsweeper Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 2:10 PM ET / 18:10 UTC.

ClawSweeper review

What this changes

The PR hardens the opt-in local pre-commit content guard and adds a temporary Vitest patch so forked test workers can finish shutdown cleanup before Vitest reports the run result.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

No introduced P0–P2 correctness defect was found, but this maintainer-labeled PR should remain open until exact-head CI completes and the temporary Vitest patch is independently checked against its installed dependency source.

Priority: P2
Reviewed head: 1c0789c6747d5790caf1b6d0d4ac368d41187eb7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused and has substantial boundary coverage, with no concrete introduced defect found; dependency-contract inspection and exact-head CI remain merge gates.
Proof confidence 🌊 off-meta tidepool Not applicable: Not applicable to this maintainer-authored PR; its body records terminal evidence for real Git commits and installed Vitest fork shutdown, while this read-only checkout could not independently inspect or execute the unavailable Vitest installation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Not applicable to this maintainer-authored PR; its body records terminal evidence for real Git commits and installed Vitest fork shutdown, while this read-only checkout could not independently inspect or execute the unavailable Vitest installation.
Evidence reviewed 6 items Hook owner boundary: The hook enters through the pre-commit launcher, preserves filename bytes separately from rule-file text, scans staged paths before and after formatting, and emits its terminal failure after complete captured diagnostics.
Hook caller and boundary coverage: The launcher delegates to the guard; new integration coverage exercises BOM filenames and rule paths, literal pathspec modes, incomplete formatter capture, signal/spawn failures, and stdout/stderr diagnostic completion.
Fork lifecycle and sibling owner: The test fixture distinguishes built-in fork self-exit from custom parent-owned shutdown and asserts worker termination, profiles, timeout behavior, and abnormal exits; the outer process owner already joins child exit, pipes, and POSIX groups before cleanup.
Findings None None.
Security None None.

How this fits together

The local Git hook scans staged files for privately configured literals before and after formatting. Vitest runs OpenClaw test projects and must wait for forked workers to finish cleanup before test results and native profiles are finalized.

flowchart LR
A[Staged files] --> B[Content guard]
B --> C[Formatter and restaging]
C --> D[Final staged scan]
E[Test project] --> F[Vitest fork worker]
F --> G[Shutdown and profile cleanup]
G --> H[Test result reporting]
Loading

Before merge

  • Resolve merge risk (P1) - The temporary Vitest patch changes fork shutdown and result ordering across the test runner; installed Vitest 4.1.11 source/types were unavailable to independently confirm the patched contract, and exact-head CI is still incomplete.
  • Resolve merge risk (P1) - The bug fix adds approximately 34 net source/tooling lines plus a +27/-17 semantic dependency-patch delta; that growth is tied to path-identity and worker-exit contracts, but the patch should remain temporary under its documented upstream-removal condition.
  • Complete next step (P2) - No concrete automated repair is identified; the remaining work is dependency-contract and exact-head validation before a maintainer merge decision.
Agent review details

Security

None.

PR surface

Tests +684, Docs +4, Config +1, Other +154. Total +843 across 16 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 8 791 107 +684
Docs 1 4 0 +4
Config 1 1 0 +1
Generated 0 0 0 0
Other 6 174 20 +154
Total 16 970 127 +843

Review metrics

Metric Value Why it matters
Production vs test delta source/tooling +34 net; dependency patch +27/-17 semantic; tests/test-support +577 net Most growth is boundary regression coverage; the production growth encodes the local path-identity and Vitest worker-exit contracts.

Merge-risk options

Maintainer options:

  1. Verify the fork lifecycle before merge (recommended)
    Inspect the installed Vitest 4.1.11 shutdown implementation and require the current head's CI to finish green before accepting the temporary lifecycle override.
  2. Pause the dependency override
    Keep this PR open without merging if the exact package contract or CI result cannot confirm that graceful exit and forced termination remain bounded.

Technical review

Best possible solution:

Verify the patch against the installed Vitest 4.1.11 source/types and complete green exact-head CI, then retain the focused regressions until an upstream Vitest release removes the temporary patch.

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

Yes for the hook defects: current source and the new real-Git integration cases define concrete failing paths. The Vitest path is source-reproducible, but this read-only checkout lacks the installed dependency required to independently replay it.

Is this the best way to solve the issue?

Unclear for the dependency portion: the local-hook repair is at its owner boundary, but direct inspection of Vitest 4.1.11 source/types is still needed before calling the package patch the best solution.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 8e4eb78fa20b.

Labels

Label changes:

  • add P2: This is a bounded developer-tooling and test-runner repair rather than a user-facing runtime outage.
  • add merge-risk: 🚨 availability: The introduced temporary Vitest patch changes worker shutdown and result completion for forked test runs.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Not applicable to this maintainer-authored PR; its body records terminal evidence for real Git commits and installed Vitest fork shutdown, while this read-only checkout could not independently inspect or execute the unavailable Vitest installation.

Label justifications:

  • P2: This is a bounded developer-tooling and test-runner repair rather than a user-facing runtime outage.
  • merge-risk: 🚨 availability: The introduced temporary Vitest patch changes worker shutdown and result completion for forked test runs.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Not applicable to this maintainer-authored PR; its body records terminal evidence for real Git commits and installed Vitest fork shutdown, while this read-only checkout could not independently inspect or execute the unavailable Vitest installation.

Evidence

What I checked:

  • Hook owner boundary: The hook enters through the pre-commit launcher, preserves filename bytes separately from rule-file text, scans staged paths before and after formatting, and emits its terminal failure after complete captured diagnostics. (scripts/pre-commit/guard-staged-content.mjs:7, 8526829e6b10)
  • Hook caller and boundary coverage: The launcher delegates to the guard; new integration coverage exercises BOM filenames and rule paths, literal pathspec modes, incomplete formatter capture, signal/spawn failures, and stdout/stderr diagnostic completion. (test/git-hooks-pre-commit-boundaries.test.ts:45, 1c0789c6747d)
  • Fork lifecycle and sibling owner: The test fixture distinguishes built-in fork self-exit from custom parent-owned shutdown and asserts worker termination, profiles, timeout behavior, and abnormal exits; the outer process owner already joins child exit, pipes, and POSIX groups before cleanup. (test/fixtures/vitest-fork-shutdown.mjs:189, 1c0789c6747d)
  • Temporary dependency patch registration: The exact Vitest version is registered in workspace policy and the package-patch allowlist; the patch waits only for a transport-declared self-exit and otherwise retains parent-owned stop behavior. (patches/[email protected]:5, 1c0789c6747d)
  • Dependency-contract limitation: The review checkout has no installed Vitest package or virtual store, and GitHub/registry lookup failed DNS resolution, so the upstream Vitest 4.1.11 source/types could not be independently inspected here. (patches/[email protected]:1, 1c0789c6747d)
  • History and clean diff: Blame attributes the introduced hook boundary code to the first PR commit, while the lifecycle patch and its regression fixture are introduced by the second; the reviewed tree is clean and git diff --check reported no whitespace errors. (scripts/pre-commit/guard-staged-content.mjs:40, 1c0789c6747d)

Likely related people:

  • steipete: Authored both introduced commits and the preceding local-hook and process-lifecycle work visible in current history. (role: current change and feature owner; confidence: high; commits: 8526829e6b10, 1c0789c6747d, 4cd7741988a5; files: scripts/pre-commit/guard-staged-content.mjs, patches/[email protected], test/fixtures/vitest-fork-shutdown.mjs)
  • Vincent Koc: Recent history includes prior Vitest diagnostics and process-group lifecycle fixes adjacent to the changed shutdown owner. (role: prior lifecycle contributor; confidence: medium; commits: b7cafbe7e826, af497642062c, 9de9562cb78f; files: scripts/vitest-process-group.mts, scripts/pre-commit/format-staged.sh)

Rank-up moves

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

  • Inspect the installed Vitest 4.1.11 source/types against the patch and wait for the current head's required checks to complete green.

Rating scale

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

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

Workflow

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

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-29T05:46:51.962Z sha 9f27e95 :: needs maintainer review before merge. :: none

@steipete
steipete force-pushed the steipete/fix-private-hook-boundaries branch from 9f27e95 to 1c0789c Compare August 29, 2026 18:03
@steipete
steipete requested a review from a team as a code owner August 29, 2026 18:03
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfiles or workspace dependency policy changes are present.
  • Treat pnpm-lock.yaml and package-lock.json diffs as dependency security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of @openclaw/openclaw-secops, or an OpenClaw organization member with Maintain or Admin repository access.

  • Current SHA: 7afd43b14d3e2d9758bc5eb08ac964280418bc94
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The maintainer-approved Vitest shutdown repair is now included at 1c0789c6747d5790caf1b6d0d4ac368d41187eb7. The PR body records the dependency contract, the custom-entrypoint finding and correction, Linux before/after proof, scoped-clean Codex source review, and the uncompleted additional replay. The original hook bytes are unchanged. Fresh exact-head CI is running; this requests review only, not repair or automerge.

@clawsweeper

clawsweeper Bot commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

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

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 29, 2026
@steipete
steipete merged commit 0f22112 into main Aug 29, 2026
228 of 229 checks passed
@steipete
steipete deleted the steipete/fix-private-hook-boundaries branch August 29, 2026 18:25
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 30, 2026
* fix: preserve private hook checks and diagnostics

* fix(test): join graceful Vitest fork shutdown

* test: expose Vitest shutdown fixture dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant