Skip to content

fix(ci): dependency checks reject a private label and shared resolver - #198607

Merged
roboclaw-bot merged 1 commit into
mainfrom
roboclaw/main-ci-stop-and-script-consumer
Nov 14, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
roboclaw/main-ci-stop-and-script-consumer

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #198510, #198578

What Problem This Solves

Fixes: main CI dependency checks reject a private Stop label and a shared package resolver whose real consumer is omitted from the script audit.

User Impact

No user-visible behavior change. Manual-step Stop/Ready behavior and package-inventory CommonJS resolution stay unchanged. No migration or user action is required.

Why This Change Was Made

Keep REQUIRED_ACTION_STOP private to its owner, without changing its value or manual-step behavior. Preserve the genuinely shared resolvePackageDistCommonJs export and include its existing runtime-chunks consumer in the script audit entry/project graph, beside the existing bootstrap consumer. Extend the existing executable-root configuration contract. No ignore, baseline, dummy consumer or broad source glob is added.

Evidence

  • Natural main run 43546371724, dependency job 132298930665 reports these exact two findings. The other two findings are independently fixed by fix(ci): remove unused node publication exports #198578 and are not duplicated here.
  • Complete owner/caller inspection confirms Stop is local-only and the resolver has a real external production consumer. Runtime/declaration/behavior-test bytes are preserved.
  • Pinned formatting, syntax and diff checks passed. Independent P0–P2 review found no actionable issues.
  • Exact-head CI 43549881603 passed for 83a23498de9c5143b86c1f40b5072711e1a616c0 through merge checkout 2f93ec9f4c2045928aa53f56fa40880d61ab0d76. Actual logs prove 15 normalization cases and 35 ask-user cases passed, including Ready/Stop/cancel/expiry/pending handling.
  • Deadcode configuration regression job 132310119749 executed all 31 cases successfully, including “keeps the script unused-export scan scoped to real executable roots,” which requires both bootstrap consumers in entry and project.
  • Gaps: local named tests, scoped lint and typecheck were unavailable in the sparse implementation checkout. The successful PR run admitted no full dependency/Knip scan; an after-fix green script export graph is unproven. Natural-main dependency qualification remains separate from merge.

Contributor credit: @obviyus and @steipete.

Work sessions

Linked for team reference; these sessions aren’t public.

…olver

Keep the local Stop label private and include the existing runtime-chunks
consumer in the script export audit. Extend the executable-root contract
without changing manual-step semantics or the shared package resolver.

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

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Nov 14, 2026
@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. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed 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 Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes the local Stop label private and registers the shared resolver’s existing runtime-chunks consumer in the script export audit.

Example: The script export audit inspects resolvePackageDistCommonJs.

  • Before: Its runtime-chunks consumer is missing from the audit’s explicit entry and project lists.
  • After: Both lists include that consumer while the shared resolver remains exported.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The minimal patch is source-verified and supported by green exact-head CI, with the complete dependency-scan result still unestablished.
Proof confidence 🦐 gold shrimp (3/6) This internal CI repair changes no user-visible behavior; exact-head CI passed, while an after-fix full Knip scan and specific regression-test execution were not independently established.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Repository maintainers encounter dependency-gate failures from unnecessary export visibility and an incomplete audit graph.
Reason: The maintainer-authored direction restores the existing audit contract while preserving runtime behavior and shared resolution.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it provides a focused, still-needed CI repair with no actionable correctness or security findings.

Priority: P2
Reviewed head: 83a23498de9c5143b86c1f40b5072711e1a616c0

Before merge

None.

Findings

None.

Agent review details

How this fits together

Knip’s production, full-tree, and script scans consume repository source graphs and report unused exports to the dependency gate.

flowchart LR
  A[Repository source] --> B[Production and full tree scans]
  C[Script audit configuration] --> D[Script export scan]
  E[Runtime chunks consumer] --> D
  B --> F[Dependency gate]
  D --> F
Loading

Technical review

Best possible solution:

Keep the Stop label private and model the existing resolver consumer in the current audit owner without changing runtime behavior.

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

Source confirms the unused local export and omitted real consumer under the checker’s hard-zero contract, supported by the official baseline failure; no target code was executed.

Is this the best way to solve the issue?

This is the smallest complete repair using existing owners, and the added assertions protect the independent executable-root configuration contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5765898e1a29.

Provenance checked

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit dcc733d adds config/knip.scripts-exports.config.ts:78 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: dcc733dc20e8; files: config/knip.scripts-exports.config.ts)
  • Shakker: Raw commit 3db36fc adds test/scripts/check-deadcode-exports.test.ts:123 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3db36fc6fe87; files: test/scripts/check-deadcode-exports.test.ts)

PR surface

Source 0, Tests +6, Other +2. Total +8 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 1 1 0
Tests 1 6 0 +6
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 3 9 1 +8

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: This repairs an owned dependency-gate failure without a demonstrated user-facing runtime outage.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This repairs an owned dependency-gate failure without a demonstrated user-facing runtime outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • 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.

Reviewed November 13, 2026, 10:21 PM ET / November 14, 2026, 03:21 UTC.

@roboclaw-bot
roboclaw-bot merged commit db8cab9 into main Nov 14, 2026
147 checks passed
@roboclaw-bot
roboclaw-bot deleted the roboclaw/main-ci-stop-and-script-consumer branch November 14, 2026 03:29
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 14, 2026
…olver (openclaw#198607)

Keep the local Stop label private and include the existing runtime-chunks
consumer in the script export audit. Extend the executable-root contract
without changing manual-step semantics or the shared package resolver.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS 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