Repository navigation
docs: fix tilde paths in CLI output examples - #114595
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 29, 2026, 11:14 AM ET / 15:14 UTC. ClawSweeper reviewWhat this changesThis PR changes two Merge readinessThis is a narrow, source-aligned documentation correction: the CLI contract reports a resolved absolute Priority: P3 Review scores
Verification
How this fits togetherThe configuration CLI resolves the active configuration file and includes that resolved path in JSON command results. The CLI reference documents those results for operators, so its examples should distinguish shell shorthand from the literal path returned by the program. flowchart LR
A[Operator runs config command] --> B[Configuration CLI]
B --> C[Resolve active config file]
C --> D[JSON result with configPath]
D --> E[CLI reference examples]
E --> F[Operator expectations]
Before merge
Agent review detailsSecurityNone. PR surfaceDocs 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Merge the focused documentation correction after normal exact-head automerge gates; keep runtime behavior and the existing CLI contract unchanged. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a documentation-only PR, and the relevant check is a source comparison between the documented JSON examples and the existing CLI output contract. Is this the best way to solve the issue? Yes. Updating the two output examples is the narrowest maintainable fix because the existing test already defines the runtime behavior and no CLI change is required. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 383f8947c1da. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
d5c179d to
49370b0
Compare
|
@clawsweeper automerge |
|
🦞🧹
Draft PRs stay fix-only until GitHub marks them ready for review. Pause with Automerge progress:
Re-review progress:
|
|
🦞✅ Source: Why human review is needed: What the maintainer can do as a next step: I added |
|
Merged via squash.
|
…odels-20260729 * origin/main: fix(tui): canonical terminal outcomes, cancellation, and error privacy (#117044) fix(cron): avoid phantom message tool guidance (#116908) fix(test): avoid macOS release gate deadlocks (#116972) fix(openai): canonical Chat cache-hit and billing accounting (#117043) fix(memory-wiki): salvage human Notes before pruning imported source pages (#102294) fix(memory): suggest reindex, not --fix, for a missing qmd index (#116958) chore(msteams): add private Gateway QA adapter fix(ui): make session controls and failures accessible (#117019) docs: fix tilde paths in CLI output examples (#114595) fix(plugins): canonical discovery diagnostics and deterministic lifecycles (#117025) fix(ui): honor Gateway readiness abort and subscription ownership (#117048) fix(updater): harden launchd replacement timing (#117030) fix(gateway): preserve static asset HEAD representation metadata (#117049) fix(gateway): abort embeddings when clients disconnect (#116146) fix(googlechat): retain fallback thread continuity (#117053)
What Problem This Solves
CLI output examples show
~/.openclaw/openclaw.json, but the CLI always outputs absolute paths.Why This Change Was Made
Test at
src/cli/config-cli.test.ts:2461-2464assertsconfigPathis absolute and not containing~.Evidence
src/cli/config-cli.test.ts:2461-2464:expect(path.isAbsolute(payload.configPath)).toBe(true)andexpect(payload.configPath).not.toContain('~')/home/user/.openclaw/openclaw.json