Repository navigation
feat(changelog): readable terminal output and a clear project baseline - #82
Merged
Merged
Conversation
Render each release from its structured fields instead of printing the raw markdown: highlights as wrapped bullets, then changed artifacts grouped by type with a coloured status mark and summary. Remote strings are sanitized; colours follow NO_COLOR and stderr TTY. The header now states the project's recorded toolkit version, and without one it says so and explains that 10x sync starts tracking. The ANSI helpers move from bench to lib/format for reuse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
10x changelogprinted each release's raw markdown (### Highlights,**\name`**`). It now renders from the entry's structured fields and states where the project stands.vX.Y.Z — <date>, highlights as wrapped•bullets, then changed skills / prompts / rules / config templates grouped by type with a status mark (+new,~changed,-removed,>renamed) and a one-line summary. Wrapping follows the terminal width (max 100 columns).This project is on toolkit v2.59.2 (recorded by 10x sync on 2026-10-05) — 2 newer releases:/You're up to date — no toolkit changes since then.Without a recorded version it says so and ends with: run10x syncto record this project's toolkit version so10x changelogshows only what changed since.sanitizebefore reaching the terminal (the raw markdown path didn't). Colours only on an interactive stderr and respectNO_COLOR.benchtolib/format.ts(pluswrapText), shared by both commands.baseline.recordedAtfor a synced baseline;markdownstays in the entries for JSON consumers.Test plan
bun test— 999 pass; 3 failing Stop-hook tests are the known local bash 3.2 (mapfile) failures###), synced/up-to-date header, sync hint for none/applied, colours on TTY vsNO_COLOR, control-code stripping,wrapText🤖 Generated with Claude Code