Repository navigation
Conversation
Greptile SummaryThis PR fixes a regression (introduced in v2026.3.23) where Root cause: Fix: A one-line change replaces
Confidence Score: 5/5Safe to merge — minimal one-line fix with no test changes needed and verified backward-compatibility with the test capture harness. The change is a single-line swap from log to writeStdout, directly addresses the root cause described in the PR, is consistent with the existing pattern in the same file (skills search --json), and has no impact on test coverage since createCliRuntimeCapture routes writeStdout through log internally. No P0/P1 issues found. No files require special attention.
|
| Filename | Overview |
|---|---|
| src/cli/skills-cli.ts | One-line fix replacing defaultRuntime.log with defaultRuntime.writeStdout in runSkillsAction, correctly routing JSON output to stdout instead of stderr when --json is active. |
Reviews (1): Last reviewed commit: "fix(cli): route skills list output to st..." | Re-trigger Greptile
1cf2d0d to
f2ac558
Compare
8d4e528 to
16e7e25
Compare
|
no worries i understand this is pending since days would request you to
merge it @*altaywtf*
…On Sat, 4 Apr 2026 at 20:39, Altay ***@***.***> wrote:
*altaywtf* left a comment (openclaw/openclaw#57611)
<#57611 (comment)>
@Aftabbs <https://github.com/Aftabbs> sorry, codex messed up this branch,
created another PR: #60914
<#60914>
attribution is also adjusted properly. 🙏
—
Reply to this email directly, view it on GitHub
<#57611 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A25PTGHERAENNLPM33TO6ND4UEQRDAVCNFSM6AAAAACXF35KZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCOBXGI2DSNJZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
@altaywtf noting that #56520 addresses the same Feishu re-registration symptom with a plugin-level guard. This PR fixes the root cause (schema loads should never activate the plugin registry), which prevents the issue for all channel plugins, not just Feishu. Happy to rebase or address any concerns. |
Summary
openclaw skills list --json(andskills info --json,skills check --json) was writing JSON output to stderr instead of stdout since v2026.3.23, breaking any tooling that captures stdout.Root cause:
runSkillsActionuseddefaultRuntime.log()which callsconsole.log. The--jsonCLI preAction hook callsrouteLogsToStderr(), redirectingconsole.logto stderr. Commands that correctly emit JSON usedefaultRuntime.writeStdout()/defaultRuntime.writeJson(), which write directly toprocess.stdoutand bypass the redirect.Fix: Replace
defaultRuntime.log(render(report))withdefaultRuntime.writeStdout(render(report))inrunSkillsAction. This is a one-line change that aligns with the existing pattern already used byskills search --json.Affected commands (all sharing
runSkillsAction)skills list --json(primary reporter)skills info --jsonskills check --jsonTest impact
No test changes needed. The test runtime capture (
createCliRuntimeCapture) already routeswriteStdoutthroughloginternally, soruntimeLogscontinues to capture output in tests exactly as before.Verification
Fixes #57599