Skip to content

docs(roadmap): add #334 — version json omits build_date and uses short sha only#2842

Open
code-yeongyu wants to merge 1 commit intomainfrom
docs/roadmap-328-version-json-incomplete
Open

docs(roadmap): add #334 — version json omits build_date and uses short sha only#2842
code-yeongyu wants to merge 1 commit intomainfrom
docs/roadmap-328-version-json-incomplete

Conversation

@code-yeongyu
Copy link
Copy Markdown
Collaborator

Pinpoint #328

Gap: version --output-format json hides build_date in prose and provides only 7-char short SHA.

Live on e7074f4:

{"git_sha": "b878b3c", "kind": "version", "message": "Claw Code\n  Version 0.1.0\n  Git SHA b878b3c\n  Build date 2026-04-29", "target": "aarch64-apple-darwin", "version": "0.1.0"}
  • build_date only accessible by splitting the message prose on \n
  • git_sha is 7 chars — insufficient for unambiguous commit identity across forks/cherry-picks
  • message duplicates structured fields as embedded multi-line prose

Fix shape: add build_date top-level field; add git_sha_long (full 40-char SHA); deprecate prose message in JSON mode; add regression test.

ROADMAP.md only: 1 file changed, 2 insertions(+)

@code-yeongyu code-yeongyu force-pushed the docs/roadmap-328-version-json-incomplete branch from 05054b5 to 18548aa Compare April 29, 2026 13:34
@code-yeongyu code-yeongyu changed the title docs(roadmap): add #328 — version json omits build_date and uses short sha only docs(roadmap): add #334 — version json omits build_date and uses short sha only Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant