Repository navigation
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close: the same useful fix is already covered by an open, clean, proof-positive canonical sibling with broader regression coverage; this PR is directionally correct but redundant and lacks its own real CLI behavior proof. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Land #95923 as the canonical commitments-table fix, then close the duplicate candidate PRs and the linked issue after merge. So I’m closing this here and keeping the remaining discussion on #95923. Review detailsBest possible solution: Land #95923 as the canonical commitments-table fix, then close the duplicate candidate PRs and the linked issue after merge. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection and a focused helper evaluation show current main returns an 18-character truncated ID for a 16-character cell, which deterministically shifts later fixed-width columns. Is this the best way to solve the issue? No for this PR as the landing vehicle, though the fix direction is correct. The open canonical sibling applies the same one-character ellipsis fix with stronger regression coverage and real CLI proof. Security review: Security review cleared: The diff only changes CLI string formatting and colocated tests; it does not touch dependencies, workflows, secrets, package metadata, or other supply-chain surfaces. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 654544b6b7c4. |
|
Closing as superseded by the canonical proof-positive fix in #95923, per ClawSweeper's duplicate/root-cause triage. Thanks for the review. |
Closes #95921
What Problem This Solves
Fixes an issue where users running
openclaw commitmentswould see the fixed-width table drift out of alignment when long commitment fields were truncated.The commitments table reserved one character for truncation but appended the three-character string
..., so every truncated cell overflowed itspadEndwidth by two characters and shifted later columns.Why This Change Was Made
The table truncation helper now uses a single ellipsis character for shortened values, matching the one-character budget used before padding. A focused regression test covers a long commitment row and verifies that each displayed value starts under the same column as its header.
This is limited to the text table output path; JSON output and commitment storage/delivery behavior are unchanged.
User Impact
Users can read
openclaw commitmentsoutput reliably even when commitment ids, agent ids, recipient addresses, or suggested text are long enough to be truncated.Evidence
AI-assisted: yes. I used Codex to inspect the issue, implement the patch, and run validation; I reviewed the final diff and understand the change.
Validation run locally: