Skip to content

fix(update): name the failure cause in generated reports without exposing private data - #178301

Merged
steipete merged 3 commits into
mainfrom
upd/upd-l1720
Oct 20, 2026
Merged

steipete merged 3 commits into
mainfrom
upd/upd-l1720

Conversation

@steipete

@steipete steipete commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Generated update failure reports hide actionable candidate startup causes and collapse config fields, leaving reports such as #178094 and #178244 difficult to triage.

Refs #178094, #178244, #145390.

User Impact

Reports name recognized startup causes such as plugin load failed: discord, port in use, schema migration, native-module failures, readiness timeout, and process signals. Config errors retain schema vocabulary, for example agents.entries.<id>.model.primary: expected string, got number. Unknown plugin IDs, arbitrary keys, rejected values, and free-text diagnostics remain private.

Why This Change Was Made

The #145390 allowlist is an intentional privacy boundary. The canary now records fixed facts before rolling logs or cleanup can obscure them, reusing the existing candidate-startup-failed code. One fixed condition/template table serves capture and public admission. Config projection uses the existing core-schema classifier and existing key-redaction owner. The report projects each fact once and reuses it for summary and detail. The report exporter injects schema classification into shared redaction, keeping the trusted PR wrapper import closure free of the config-schema graph. The phase summary retains existing allowlisted stderr facts before adding fixed producer facts.

The compression removes the standalone startup classifier, config adapter module, extracted type-only module, duplicate config/startup report projections, redundant code registration, and the second union-issue mapper. Existing canary types live beside the command type they describe; no new cause model or failure-fact shape is introduced. The existing private diagnostic contract remains intact.

Evidence

The held-head CI failures were traced to three regressions: config projection treated the existing package field engines.node as an unknown config key; removing the free-text error-name bypass also lost fixed transaction/pipe causes; and shared redaction imported the config-schema lookup outside the trusted PR wrapper inventory. This revision restores the exact engine field and closed phrases (attempt state write refused, sentinel transaction refused, sentinel transaction unavailable, pipe closed) without restoring arbitrary prose. Schema projection is injected by the exporter. Both eager import-closure checks and the previously failing ordinary provisioning cases pass.

The consumer sweep also caught a structured startup fact displacing existing stderr facts. The new regression fails before the repair: plugin load failed: discord hides EACCES; Permission denied. Summaries now merge and deduplicate sanitized components within the existing 200-byte bound. The exact-template shortcut accepts only a single physical line, so it cannot discard later stderr lines.

The 55-file report/triage/wrapper consumer selection ran on both Node and Bun. The final focused Node replay passes 201 tests across seven files, including the CLI runtime-fact handoff, campaign persistence/transfer failures, all public redaction cases, and the candidate startup cases. The final Bun sweep passes 1,033 tests, with one platform skip and two failures: the inherited APFS timeout described below, and an exact startup expectation that still expected only the config field. That expectation now explicitly requires both the retained generic config fact and the schema path; all 16 startup cases pass on Node and Bun after the update. Separately, all 151 report/redaction tests pass on both runtimes.

Core types, strict scoped test types, lint and formatting on the changed files, git diff --check, and Madge (0 cycles) pass. The final isolated five-file review completed with no actionable P0–P2 findings. The earlier Node discovery failures from missing CommonJS fixture receipts and dropped fixed causes are resolved; the final targeted replay is green. Intermediate runs invalidated by source changes were discarded and the final proofs use a frozen source revision.

The existing CLI subprocess group passes all 21 tests on both runtimes (Node 124.52s, Bun 160.34s); its serial real-process/timeout fixtures account for the measured cost. The full check:changed SQLite inventory remains omitted under the campaign's local gate budget; no baseline, timeout, or assertion was weakened.

The UI failure is inherited from the CI merge base: 7a0c15b15693 intentionally retained header rename during reconnect, while the old test expected detachment. Main fixes that assertion in 80afbe1b7950116b6d55c557c7c7d4bc5fd01330. This branch has no UI diff; the complete five-case file passes on both Node (25.99s) and Bun (21.13s). An initial setup attempt could not find Chromium under the isolated HOME; using the existing Playwright binary cache with fresh test profiles resolved setup without changing product code.

The worktree-local temp root initially made CommonJS triage fixture children inherit the repository's ESM package scope, causing eight missing receipt files. A minimal Node probe reproduced require is not defined in ES module scope; a private temp-root package.json with type: commonjs restores the same package scope as the usual OS temp directory. This is proof setup only, not a repository change.

The cold/warm APFS provisioning case has an inherited local timing failure: 161.430s on Node against its existing 120s limit. It runs six real wrapper invocations serially; the preceding single-invocation cases average 21.777s, so six already exceed 130s. Its test, fixture, and provisioner are unchanged from main. No timeout or assertion was relaxed. Bun reproduces the same unchanged local timeout at 150.426s.

Earlier compression validation: the 18-file consumer run passed 812 tests and exposed three relocated-package fixture failures; those three cases now pass after enforcing the fixture's dependency boundary (6.82s wrapper, 5.85s test file). One existing platform case was skipped. All report, config, Gateway and canary cases passed, including 119 canary cases, 86 config/report cases, and 44 Gateway report cases.

The new unterminated-stderr regression fails without the fix: a recognized plugin cause becomes [redacted-diagnostic]. Attaching the captured facts after pipe closure makes it pass. The original config/startup regressions also failed against the original producers. Privacy tests retain token, email, path, host/IP, credentialed URL, phone, dynamic-key and arbitrary-prose coverage.

Core types, strict scoped test types (with the repository's allowJs setting), lint, formatting on all 32 changed files, git diff --check, and Madge (0 cycles) pass. The first expanded temporary test config omitted allowJs and rejected existing .mjs imports; correcting that config resolved the setup error without source suppressions.

The earlier compression review at 9d51c9c8 completed 40 passes but returned incomplete because its file chunks omitted cross-file context; this is not a clean automated verdict. Its two P2 claims requested public schema projection inside the local config-fact producers. Both were rejected after tracing the complete path: local facts intentionally retain scrubbed concrete keys, and update-failure-report-prepare.ts schema-projects every affected key before either CLI or Gateway submission. The validator-to-public-report privacy tests cover that boundary. A separate full-context read-only review found no actionable issue. The GitHub review's unterminated-stderr finding is fixed and has a red/green regression.

The five build-dependent suites previously stopped before execution because compatibility discovery treated two sealed recovery bundles as shared runtime chunks. The build owner now excludes their canonical entrypoint paths using its existing independent-graph set. Genuine shared-graph ambiguity still throws. Both new regression cases fail before the fix; all 19 tests pass after it (2.823s test time, 45.35s wrapper including compiled preparation).

Size: production +371 / -128 (net +243), tests/support +466 / -21, docs +7 / -0, against f7908148d72e52c7deeca5520e1dfa71fa0c2655. The complete change removes 185 net production lines from the earlier net +428 proposal. This CI repair adds 21 net production lines to 9d51c9c8 while retaining the compression. The deleted adapter/classifier/type files account for 234 removed lines; the former report projection loses 90 lines, replaced by 49 lines sharing the existing fact projection.

Remaining production blocks and why they are required

Net +243 remains above the requested ~150 target. This accounts for every remaining production hunk, including mechanical moves and formatting; none adds a new config, CLI, dependency, or storage contract.

Owner / diff Remaining blocks
scripts/lib/bundled-plugin-source-utils.mts +3/-0 and bundled-plugin-build-entries.mjs +3/-0 A root without its own .git uses filesystem discovery. This prevents a staged candidate under a parent checkout from inheriting an empty parent git ls-files result and losing its plugin assets.
scripts/lib/update-compat-chunks.mts +7/-1 Two canonical entrypoint imports and two entries in the existing independent-bundle set; array formatting accounts for the rest. Required to let the five real-runtime suites build while retaining ambiguity rejection.
src/cli/update-cli/update-command-config-failure.ts +10/-5 Imports the shared fixed-kind formatter and existing concrete-path formatter; uses validator path segments instead of dropping the fixed issue kind.
src/config/validation-issues.ts +12/-8 Extends the existing union-branch selector to ignore root-only type mismatches and recover the unique nested object error. Required for model.primary instead of the enclosing model union. Binding-specific selection remains unchanged.
src/infra/update-candidate-canary-commands.ts +32/-0 and update-candidate-canary.ts +62/-62 Moves the 28 existing type lines plus four import/spacing lines beside the existing command type; no new types. Startup catch records the natural signal/timeout before teardown; fixed facts attach after the pipes close, preserving final unterminated diagnostics. The pending step replaces the former lint-only slot so cleanup warnings cannot displace its exactly-once receipt. The one-use cleanup wrapper is inlined; remaining edits are references and formatter changes.
src/infra/update-candidate-canary-process.ts +32/-1 One bounded fact array; direct condition-table lookup at the existing stderr observer; fixed config field recognition after its heading; duplicate/bound checks; optional plugin identity capture; returns the same facts to the canary. No classifier pipeline or new state owner.
src/infra/update-candidate-canary-readiness.ts +5/-3 Marks the three existing deadline failures with the standard TimeoutError name so the producer can distinguish timeouts from crashes. No new error class.
src/infra/update-preflight-details.ts +27/-0 The single closed table covers the real config, schema migration/newer-schema, plugin, port, native ABI/missing-module, and fatal-memory envelopes. Patterns choose fixed text only; matched error prose never enters a public message.
src/infra/update-failure-facts.ts +23/-9 Shares the fixed config grammar, preserves bounded field lines from admission protocol 1, and scrubs paths separately from fixed kinds. This avoids erasing apiKey diagnostics as apparent secret assignments on a second normalization pass. Unknown prose keeps the existing private-only redaction path.
src/infra/update-failure-report-prepare.ts +71/-29 Loads the core schema once and supplies its segment classifier to redaction, including the exact package engines.node exception; projects each fact once; preserves the old sanitized aggregate before adding fixed field/message/plugin facts and deduplicates within 200 bytes. Distinguishes validator kinds from non-validation field errors; removes the duplicate renderer and error-name free-text bypass.
src/logging/diagnostic-support-redaction.ts +84/-10 Reuses the existing path tokenizer and an injected segment classifier, keeping the schema outside the shared wrapper closure; projects schema-owned segments with <id>/<key> and retains the no-schema fallback. A closed validator-kind formatter/parser handles type, required and unrecognized-key issues, exposing only the known retired approvalPolicy key. Exact single-line startup templates and OS signals are admitted; the existing config-field branch uses the same parser. The closed cause list retains the four existing transaction/pipe phrases.
Proof commands and limitations

All runtime/test commands used isolated HOME, OPENCLAW_STATE_DIR, and TMPDIR beneath this worktree's .artifacts/. No operator state or unrelated Gateway was touched.

node scripts/run-vitest.mjs \
  src/gateway/server-methods/update-report-run.test.ts \
  src/infra/update-candidate-canary.cleanup.test.ts \
  src/infra/update-candidate-canary.startup-diagnostics.test.ts \
  src/infra/update-candidate-canary.test.ts \
  src/infra/update-failure-report-config.test.ts \
  src/infra/update-failure-report-prepare.test.ts \
  test/scripts/build-all.test.ts \
  test/scripts/bundled-plugin-build-entries.test.ts \
  test/scripts/bundled-plugin-source-utils.test.ts \
  test/scripts/capability-catalog-artifacts.test.ts \
  test/scripts/channel-contract-test-plan.test.ts \
  test/scripts/ci-node-test-plan.test.ts \
  test/scripts/openclaw-live-updater.test.ts \
  test/scripts/plugin-contract-test-plan.test.ts \
  test/scripts/runtime-postbuild.test.ts \
  test/scripts/test-extension.test.ts \
  test/scripts/tsdown-config.test.ts \
  test/scripts/update-compat-external-bindings.test.ts --maxWorkers=1
# 812 passed, three relocated-package fixture failures, one existing skip;
# four shards completed in 301.69s. The three failures are fixed below.
node scripts/run-vitest.mjs test/scripts/tsdown-config.test.ts \
  -t 'loads the Bash grammar from the relocated' --maxWorkers=1
# 3 passed. All other cases in this file passed in the full consumer run.

node scripts/run-tsgo.mjs -p tsconfig.core.json --incremental \
  --tsBuildInfoFile .artifacts/lane-core.tsbuildinfo
node scripts/run-tsgo.mjs -p .artifacts/scoped-types/tsconfig.json --incremental
python3 - <<'PY_CHECKS'
import subprocess
files = subprocess.check_output([
    "git", "diff", "--name-only", "--diff-filter=ACMRT",
    "f7908148d72e52c7deeca5520e1dfa71fa0c2655"
], text=True).splitlines()
subprocess.run(["node", "scripts/run-oxlint.mjs", "--tsconfig", "tsconfig.json"] +
               [p for p in files if p.endswith((".ts", ".mts", ".mjs"))], check=True)
subprocess.run(["node_modules/.bin/oxfmt", "--check"] + files, check=True)
PY_CHECKS
node --import ./scripts/tsx.mjs scripts/check-madge-import-cycles.ts

The previously blocked built-runtime selection was the original 13-file report/canary selection plus these five files: legacy-config-migrate.e2e.test.ts, config-startup-corpus.test.ts, update-candidate-canary.integration.test.ts, openshell-agent-workspace.e2e.test.ts, and required-native-same-session.e2e.test.ts. Its real runtime preparation passed: tsdown 2m51.4s, external-plugin assets 13.4s, bootstrap guard 9.23s, copies 16.9s, runtime postbuild 13.7s. The first three suites passed; OpenShell is platform-skipped. The native-session suite started its isolated Gateway and installed the worker, then failed after 44.235s because workspace materialization rejects the worktree volume's inherited group-writable permissions. The trust check and mount permissions were not weakened.

The real built candidate integration passed in 65.481s, including snapshot preparation, Doctor/config/plugin/runtime checks, Gateway startup/readiness, and reaping the candidate while the preoccupied sandbox listener remained up. This is an existing full-flow test, not a unit test starting a real update per case. The existing test-plan suite repeatedly evaluates repository-wide selections; the final tooling shard took 221.5s. The CLI-process consumer group previously passed 21 tests in 162.86s, dominated by separate CLI boots. These measured costs remain recorded; no timeout was increased.

Two existing build collectors previously inherited an ancestor checkout for staged, unpacked roots. Both now require their own .git marker before using the Git inventory. A new nested-root regression fails without this guard. The no-scan tests permit only the exact root-marker probe and still reject every extension-directory scan. The three relocated grammar cases now reject dependencies resolved outside their copied package, retaining both the absent-native-grammar assertion and the real parse assertions.

The full check:changed SQLite inventory remains omitted under the campaign's local gate budget. PR CI is the broad authority. No baseline or timeout was increased and no test was skipped by this revision.

CI repair runtime commands

All invocations use an isolated HOME, OPENCLAW_STATE_DIR, and TMPDIR inside this worktree. The private temp root declares CommonJS for synthetic executable fixtures; no repository package metadata changes.

OPENCLAW_VITEST_RUNTIME=node node scripts/run-vitest.mjs \
  src/infra/update-failure-report-prepare.test.ts \
  src/logging/diagnostic-support-redaction.test.ts \
  src/infra/update-startup-campaign-run.test.ts \
  src/infra/update-startup.campaign-apply-error.test.ts \
  src/cli/update-cli/update-command-report-handoff.test.ts \
  src/cli/update-cli/update-command-triage.test.ts --maxWorkers=1
# 185 passed.

OPENCLAW_VITEST_RUNTIME=bun node scripts/run-vitest.mjs \
  src/gateway/server-methods/update-handoff-failure.test.ts \
  src/gateway/server-methods/update-report.test.ts \
  src/gateway/server-methods/update-unexpected-error.test.ts \
  src/infra/update-startup.campaign-apply-error.test.ts \
  src/infra/update-failure-report-transport.test.ts \
  src/infra/package-update-swap.bounds.test.ts \
  src/infra/update-candidate-canary.lint.test.ts \
  src/infra/update-run-step-key.test.ts \
  src/infra/package-update-refusal.test.ts \
  src/infra/update-failure-report-artifact.test.ts \
  src/cli/update-cli/update-command-terminal-triage.test.ts \
  src/cli/update-cli/update-command-failure-report.test.ts \
  src/cli/update-cli/update-finalization-lifecycle.test.ts \
  src/infra/update-candidate-canary.exit.process.test.ts \
  src/infra/update-failure-report-prepare.test.ts \
  src/cli/update-cli/update-command-metadata-diagnostics.test.ts \
  src/cli/update-cli/update-command-triage.test.ts \
  src/infra/package-update-activation-journal.test.ts \
  src/infra/update-startup-campaign-run.test.ts \
  src/infra/update-npm-failure.test.ts \
  src/infra/update-candidate-canary.startup-diagnostics.test.ts \
  src/infra/update-managed-service-preflight-report.test.ts \
  src/infra/update-failure-report-config.test.ts \
  src/infra/update-run-report.test.ts \
  src/infra/update-failure-report-recovery.test.ts \
  src/infra/update-failure-report.test.ts \
  src/infra/restart-sentinel.update-result.test.ts \
  src/infra/package-update-swap.integrity.test.ts \
  src/cli/update-cli/update-command-report-handoff.test.ts \
  src/infra/update-candidate-state.budget.test.ts \
  src/cli/update-cli/update-command-rollback-report.test.ts \
  src/cli/update-cli/update-command-terminal-unreported.test.ts \
  src/gateway/server/ws-connection/update-report-authority.server.test.ts \
  src/cli/update-cli/update-command-verification.test.ts \
  src/cli/update-cli/update-command-package.test.ts \
  src/cli/update-cli/update-command-finalize-refusal.test.ts \
  src/cli/update-cli/update-command-run.test.ts \
  src/cli/update-cli/update-command-pending-recovery.test.ts \
  src/cli/update-cli/update-command-terminal-outcome.test.ts \
  src/cli/update-cli/update-command-plugin-caller.test.ts \
  src/cli/update-cli/progress.test.ts \
  src/cli/update-cli/update-command-report.test.ts \
  src/cli/update-cli/update-command-candidate-exit.test.ts \
  src/cli/update-cli/update-command-service-plan.test.ts \
  src/cli/update-cli/update-command-install-layout.test.ts \
  src/cli/update-finalization-output.process.test.ts \
  src/logging/diagnostic-support-redaction.test.ts \
  src/commands/triage-update-rollback.test.ts \
  src/commands/triage-update.test.ts \
  src/commands/triage.test.ts \
  src/commands/doctor-maintenance.settlement.test.ts \
  src/gateway/methods/core-descriptors.since.test.ts \
  src/gateway/server-methods/update-report-run.test.ts \
  test/scripts/eager-import-closure.test.ts \
  test/scripts/pr-worktree-provision.test.ts --maxWorkers=1
# 1,033 passed, one platform skip, inherited APFS timeout, and stale config-summary expectation.
# The corrected expectation is replayed below.

OPENCLAW_VITEST_RUNTIME=node node scripts/run-vitest.mjs \
  src/infra/update-candidate-canary.startup-diagnostics.test.ts --maxWorkers=1
OPENCLAW_VITEST_RUNTIME=bun node scripts/run-vitest.mjs \
  src/infra/update-candidate-canary.startup-diagnostics.test.ts --maxWorkers=1
# 16 passed per runtime, including the exact generic-plus-schema-path summary.

# Each runtime also executes the exact UI file through Chromium:
OPENCLAW_VITEST_RUNTIME=node node scripts/run-vitest.mjs run \
  --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner \
  ui/src/e2e/session-management.account-label.e2e.test.ts --maxWorkers=1
OPENCLAW_VITEST_RUNTIME=bun node scripts/run-vitest.mjs run \
  --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner \
  ui/src/e2e/session-management.account-label.e2e.test.ts --maxWorkers=1
# 5 passed per runtime.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review blocked

Automated review did not run, so no review verdict was produced.

Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here.

Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update.

Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes size: L labels Oct 20, 2026
@steipete
steipete marked this pull request as ready for review October 20, 2026 09:11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 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-20T11:13:52.798339Z edefdf6 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 20, 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: edefdf67932a8e1e0314d022b0ca2f871cd7e717
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/logging/diagnostic-support-redaction.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.

@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: de41c2258c

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

Comment thread src/infra/update-candidate-canary.ts Outdated
Comment on lines +615 to +619
activeCheckStep = startupDiagnostics.failure(
currentStep(running.child.exitCode || 1),
running.child.signalCode,
error instanceof readiness.UpdateCandidateReadinessTimeoutError,
);

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 Finalize startup facts after pipe flushing

When a candidate exits nonzero before its stdout/stderr pipes close—especially when a child inherited those pipes or the final diagnostic has no trailing newline—launchCanary.result resolves on exit, but buffered lines are only delivered by the flushers on close. Calling startupDiagnostics.failure() here therefore freezes activeCheckStep before those recognized config/plugin/native-module diagnostics are observed; stopCanary() may flush them afterward, but the generated report still falls back to a generic failure. Preserve the natural signal/timeout here, then finalize the collected facts after teardown has flushed the streams.

AGENTS.md reference: AGENTS.md:L73-L76

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 20, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Compressed the implementation at 9d51c9c; evidence and the production-block accounting are current in the PR body. The startup pipe-flush finding is fixed with a failing-before/passing-after regression. The new privacy-test identifiers and credential examples are synthetic fixtures.

The isolated automated review returned incomplete because its chunks omitted callers. Its producer-path findings were checked against the complete CLI/Gateway submission flow: local facts retain concrete keys, while the public renderer schema-projects every affected key before submission. The end-to-end privacy tests cover that boundary; the review limitation and disposition are recorded in Evidence.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime scripts Repository scripts labels Oct 20, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Updated at edefdf6. Restored the existing public facts, removed the schema dependency from the trusted wrapper closure, and refreshed Node/Bun evidence plus inherited-failure notes in the PR description.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…sing private data (openclaw#178301)

Refs openclaw#178094, openclaw#178244, openclaw#145390. Generated update-failure reports collapsed candidate-startup failures to [redacted-diagnostic] and config paths to agents.*, leaving them untriageable. The candidate canary now emits fixed producer-owned cause templates and invalid-config reports keep schema-owned path segments with <id> for dynamic map keys; existing allowlisted facts are preserved. The openclaw#145390 public allowlist is unchanged: no free-text diagnostics, paths, hosts or user values reach the public report.
RomneyDa added a commit that referenced this pull request Nov 14, 2026
…sing private data (#178301)

Refs #178094, #178244, #145390. Generated update-failure reports collapsed candidate-startup failures to [redacted-diagnostic] and config paths to agents.*, leaving them untriageable. The candidate canary now emits fixed producer-owned cause templates and invalid-config reports keep schema-owned path segments with <id> for dynamic map keys; existing allowlisted facts are preserved. The #145390 public allowlist is unchanged: no free-text diagnostics, paths, hosts or user values reach the public report.

(cherry picked from commit f642756)

Release adaptation: preserve named canary imports, rehearsal cleanup, current
release fixture isolation and TypeScript API. Carry the schema-path callback
through the release report context type and adapt the startup fixture to the
release rehearsal preparation contract. The bundled build Git-root guard and
relocated-package isolation are already covered. Adapt compatibility discovery to exclude the two existing sealed helper
entrypoints; do not import the later standalone-graph registry.

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: vincentkoc <[email protected]>
(cherry picked from commit 1898acb4d7017f51e7e765500c563edabd44ce23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. cli CLI command changes docs Improvements or additions to documentation gateway Gateway runtime scripts Repository scripts security-sensitive-changed size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant