Repository navigation
Conversation
Greptile SummaryThis PR adds a new Two issues were found:
Confidence Score: 3/5
Prompt To Fix All With AIThis is a comment left during a code review.
Path: src/commands/doctor-node-runtime.ts
Line: 222-227
Comment:
**Home directory prefix check doesn't respect directory boundaries**
`displayPath.startsWith(homeDir)` will produce a garbled path whenever the home directory string is a prefix of another user's home (or any sibling directory). For example, if `HOME=/home/alice` and `execPath=/home/alice2/.nvm/bin/node`, the check passes and the result becomes `~2/.nvm/bin/node` instead of the full path.
The fix is to ensure a directory separator follows the prefix:
```suggestion
if (homeDir && (displayPath === homeDir || displayPath.startsWith(homeDir + "/"))) {
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: src/commands/doctor-node-runtime.ts
Line: 11
Comment:
**Incorrect year in module-level comment**
The comment says "Oct **2026**" but the actual `maintenanceStart` value in `NODE_RELEASE_SCHEDULE` is `"2025-10-21"` — October **2025**. Node 22 already entered maintenance mode in Oct 2025. The comment would mislead readers into thinking maintenance hasn't started yet.
```suggestion
* 3. EOL proximity warning — Node 22 enters maintenance Oct 2025, EOL Apr 2027
```
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "feat(doctor): add Node.js runtime info h..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bbe5911f7c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
3aae01b to
3401ccf
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3401ccfd02
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
3401ccf to
6dcf0f4
Compare
|
Codex review: needs real behavior proof before merge. What this changesThis PR adds maintenance and end-of-life advice to standalone Doctor while preserving compatibility checks in other diagnostic modes. Example: Standalone Doctor runs on capable Node 24.19.0 on October 21, 2026.
Review scores
ProductKind: Feature · Worth it: Needs a maintainer decision · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open: it contains useful, actively maintained lifecycle advice absent from current main, with no concrete code defect found; EOL severity remains a product decision. Priority: P3 Decision needed
Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherDoctor passes its mode and environment to the shared Node diagnostics collector, which inspects CLI and recorded-service runtimes and returns structured findings for rendering. flowchart TD
A[Doctor command] --> B[Health contribution context]
B --> C[Node diagnostics collector]
D[Runtime capabilities and release dates] --> C
E[Installation owner] --> C
C --> F[Structured findings]
F --> G[Doctor notes and health classification]
Technical reviewBest possible solution: Keep lifecycle advice in the existing diagnostics owner with owner-approved severity, installation-owner guidance, and updater suppression. Do we have a high-confidence way to reproduce the issue? This is a feature proposal; current-main source confirms compatibility checks exist without upstream lifecycle advice, and no target code was executed. Is this the best way to solve the issue? The patch uses the smallest existing owner: a bounded release schedule and advisory branch in the shared collector, with mode and environment supplied by canonical Doctor context. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9102fe6c6205. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +46, Tests +197, Docs +9. Total +252 across 7 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (29 earlier review cycles; latest 8 shown)
Reviewed October 21, 2026, 7:50 PM ET / 23:50 UTC (Revision 30). |
|
ClawSweeper PR egg ✨ Hatched: 💎 rare Velvet Shellbean Hatch commandComment Hatchability rules:
Rarity: 💎 rare. What is this egg doing here?
|
|
@clawsweeper re-review Rebased onto current |
6dcf0f4 to
a59dbcc
Compare
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Addressed the findings:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Re-review at 8085c07 noted — both contract-alignment findings cleared, thanks. On the two remaining items:
The remaining proof ask (registered-command-path transcript) becomes possible the moment the wiring lands; I'll post it then. |
Reuse the shared version-manager classifier and remove the duplicate detector. Incorporate upstream main to obtain the canonical owner while preserving branch history.
…tor-node-runtime-info
|
@clawsweeper re-review Conflict resolution and verification are current for |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review Conflict repair and focused verification are current for |
|
🦞👀 Re-review progress:
|
|
Thanks @alkor2000 for the work here and for aligning the checks with the shared engines contract. Closing this as superseded for the actionable runtime-advice gap: #143344 ( Verified on main |
What Problem This Solves
Doctor does not explain when an admitted Node runtime has entered upstream maintenance or reached end of life.
User Impact
Standalone
openclaw doctorreports maintenance information or an EOL warning and respects the app that owns the runtime. Main's compatible-version security-patch warnings remain visible in Doctor, lint and status. Updater-owned Doctor retains compatibility/security findings without adding standalone lifecycle advice to update results.Acceptance of the existing EOL-warning health classification remains a maintainer decision. Current installed-upgrade, platform and Gateway proof remain open.
Why This Change Was Made
The existing diagnostic owner collects canonical compatibility/SQLite failure, main's soft security warning and the standalone lifecycle advisory. It loads install ownership once when a failure, security warning or EOL note needs repair guidance. Doctor carries its mode/environment through that owner; status continues through its actual command entry without a registered health-check mode.
This normal maintenance merge integrates official main
bb4be6d2c9d801f03d3a25b01b79254d68b3bf68with original headd1208b232bd28e759f20149e126b889b1df002aa. It retains main's new security-warning path, TTY capture owner, complete findings-priority documentation, and the existing lifecycle/mode proposal. No authored runtime floor, flag, config, schema, dependency, protocol, permission or service operation is added. Original human commits51509e6and9c40ec8remain ancestors.Evidence
Head
625d987afecd58c04f67e28a6d8b88f3ddda54aa; treea9b89cfa2e99f95eb456df87c71e5505a171a066. Actual checkout runtime is Node 24.22.1 / pnpm 12.15.0, compatible with the current manifest; the canonical dependency definitions/lock are unchanged.statusCommandNode-finding prelude (the JSON report backend remains stubbed). Compatible older Node keeps its security warning; standalone lifecycle advice does not enter status, lint or updater Doctor. Canonical unsupported/capability/service controls remain.9a8414b0f50b46c89b72c3742cca31cd976e8fc9. Dates remain advisory and UTC-based; canonical version/security/SQLite owners still decide admission.The native test-line gate remains failed: 6,300,663 / ceiling 6,299,646, over 1,017; measured PR net +217 lines. The ceiling stays exactly official main. Allocations authorized for PR165583 and PR167670 are not used here; no exception or gate waiver is claimed.
New-head CI is pending. Earlier CI39806928371 succeeded on
d1208b232; older 38-case/updater IPC and platform investigations retain their original heads and are not added to current totals or described as current installed-upgrade proof.Remaining Validation
Maintainer acceptance of EOL-warning health classification, current installed-candidate execution through the published updater, physical platform/Gateway behavior, new-head CI and required review remain separate. The current registered contribution/environment cases exercise updater suppression, but the full installed-upgrade/real-Gateway flow was not rerun. No Gateway start/restart/install, paid lease, release, CI rerun or upstream merge was performed.
Current-head CI update
CI 40677589920 and its aggregate gate completed successfully for head
625d987afecd58c04f67e28a6d8b88f3ddda54aa. The final 20:27 Asia/Shanghai scan finds 123 completed check records and no failed checks, with dependency/security statuses successful. This is current-head remote evidence. The fixed-bb4 local test-budget failure above remains recorded; this CI success does not turn it into a local pass or identify a local repair. Product review, real installed upgrade and platform/Gateway proof retain their stated limits.