P0–P2 polish: badges, architecture diagram, annotated segments, RU mirror, CI#1
Merged
Conversation
…rror, CI P0 — credibility & accuracy - Hero: badges for License, Stars, Validate CI, Habr (9.3K reads), Claude Code Opus 4.7, bash + jq, platforms - Hero blurb leads with social proof (Habr + 9.3K reads) and the one-line value prop (pure bash + jq, no Node.js) - Description update with "Featured on Habr (9.3K reads)" — applied via gh api after merge - Topics — applied via gh api after merge P1 — structural strengthening - docs/architecture.svg — cache-decoupling design diagram: vps-poller (daemon) → /tmp/vps-*.json (cache) → statusline.sh (fast read), with Claude Code transcript driving auto-focus - docs/segments-annotated.svg — per-segment breakdown with colour-coded labels above and below the rendered bar (model · git · lines · cost · 5-hour quota · weekly quota · duration · auto-focused VPS · context %) - docs/screenshots/statusline-live.png — embedded production capture from the Habr article (1560x256, 220KB) showing a 100-hour Opus session with VPS auto-focus active - New "Architecture" section in README with diagram + component-role table — was implicit in config knobs only - "What every segment tells you" section anchored by the annotated SVG - Configuration table extended with previously undocumented knobs: VPS_POLL_INTERVAL, VPS_SSH_TIMEOUT, VPS_STALE_SEC, COST_MODEL, TMUX_BRIDGE - Troubleshooting gained "VPS shows DOWN but server is fine" and "Auto-focus picks the wrong VPS" - "Limitations" section: transcript-window heuristic, OS credential storage assumption, bash + jq required, global SSH timeout, no metric history, Windows-tmux unsupported, daemon best-effort - "Related" section cross-links to claude-code-antiregression-setup and ai-context-hierarchy (sister repos, same author) - CLAUDE.md — Level 1 file documenting architecture, key files, CRITICAL RULES, commands, patterns. Pairs with ai-context-hierarchy. - CHANGELOG.md (Keep a Changelog) starting at 0.1.0 → 0.2.0 - CONTRIBUTING.md with priority list (per-distribution packages, language locales, alternative VPS metric backends, Fish/Zsh, glyph theming, systemd-user unit) - .github/workflows/validate.yml — bash -n syntax, ShellCheck warning level, Markdown link resolution, presence of LICENSE/CHANGELOG, every docs/* asset referenced from README exists, SVG well-formed XML, statusline.conf sourceable P2 — content - README.ru.md — full Russian translation, mirrored structure, links to the Habr article as primary social proof for Russian audience - Author signature expanded with Habr / dev.to profile links Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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
Single PR addressing the README/structure gap identified in deep comparison with the Hydrowatch standard. The actual tool was solid — install flow clean, VPS auto-focus from transcript is novel, cost auto-detection sensible. The README was understating the design (no architecture diagram, the cache-decoupling trick was invisible) and missing the social proof from the Habr article (9.3K reads).
What changed
P0 — credibility & accuracy
pure bash + jq, no Node.js)docs/screenshots/statusline-live.png(220 KB) from the Habr article: 100-hour session, 8320 lines, $40 saved, three VPS at a glancegh apiafter merge (next message)P1 — structural strengthening
docs/architecture.svg— cache-decoupling diagram. Three boxes with arrows:vps-poller.sh(daemon) →/tmp/vps-*.json(cache) →statusline.sh(fast read), plus the Claude Code transcript driving auto-focus. The architectural insight that makes a per-prompt statusline feasible.docs/segments-annotated.svg— per-segment breakdown with colour-coded labels above and below the rendered bar (model, git, lines, cost, 5-hour quota, weekly quota, duration, auto-focused VPS, context).Architecturesection with the diagram and a component-role table.Configurationtable extended with the previously undocumentedVPS_POLL_INTERVAL,VPS_SSH_TIMEOUT,VPS_STALE_SEC,COST_MODEL,TMUX_BRIDGEknobs.TroubleshootinggainedVPS shows DOWN but server is fineandAuto-focus picks the wrong VPSentries.Limitationssection: transcript-window heuristic, OS credential storage assumption, bash + jq required, global SSH timeout, no metric history, Windows-tmux unsupported, daemon best-effort.Relatedcross-link to claude-code-antiregression-setup and ai-context-hierarchy (sister repos, same author).CLAUDE.mdfor this repo — Level 1 example documenting architecture, CRITICAL RULES, commands, patterns. Pairs with theai-context-hierarchypattern.CHANGELOG.md(Keep a Changelog) starting at 0.1.0 → 0.2.0.CONTRIBUTING.mdwith priority list (per-distribution packages, language locales, alternative VPS metric backends, Fish/Zsh, glyph theming, systemd-user unit)..github/workflows/validate.yml—bash -nsyntax, ShellCheck warning level, all internal Markdown links resolve, presence of LICENSE/CHANGELOG, everydocs/*asset referenced from README exists, SVG well-formed XML,statusline.confsourceable.P2 — content
README.ru.mdrewritten to mirror the new English structure. The Habr badge in Cyrillic, links to the Habr article as primary Russian social proof.What is NOT in this PR
statusline-live.pngfrom the article carries the value proposition; a recorded GIF is a separate task per user instruction.awesome-claude-code. That channel is currently blocked for non-collaborators across the maintainer's repo; deferred until they re-open.AndyShaman/claude-statuslinewith a back-link. Tracked separately.Test plan
bash -nclean onstatusline.sh,vps-poller.sh,install.sh,statusline.confdocs/*assets referenced from README and README.ru.md exist on disk🤖 Generated with Claude Code