feat(rows): the future folds — 7d tail token, hour cells, forecast guard, meter demo - #26
Merged
Merged
Conversation
…ard, meter demo The live 7d strip stops drawing thirty hollow cells: after the now-marker it keeps two and folds the rest into a counted tail (...▯5hx28; × red when the learned forecast dries the week). The 5h strip reads by the hour (5 cells, was 10x30min). _profile_walk refuses a corrupt weekday profile (>100%/day of a 100-point pool — measured live from a stale pre-envelope writer) and clamps recent_24h to the pool. The Pages demo drops the fake terminal window for a meter: recessed register, № edge-codes the anatomy cites, answering-pair rows, odometer digits, a self-served glyph subset, and truthful narrow-screen compaction. Stale proof numbers fixed everywhere (417 tests; README said 383, the site 384, llms.txt 379). 417 bats tests, shellcheck clean. Co-Authored-By: Claude Fable 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.
Why
Two 7d burnouts in a row exposed both halves of this PR. A stale pre-envelope build had poisoned
forecast.cache(recent_24h: 343, Thursday at 145%/day of a 100-point pool) and the walk called a 2%-used fresh window dry in 30 hours, red, on every render. And even with sane data, the 7d strip spent 30 columns drawing hollow future cells that all said one thing.What
▮, two kept cells, then...▯5hx28— count of 5h slots to the reset,×red when the tail projects dry. Folds only when it hides ≥ 10 cells; theweekreport still draws all 34._profile_walktreats a weekday profile > 100%/day as corrupt (no verdict beats a red siren) and clampsrecent_24hto the pool (legitimately larger across a reset, unusable as a within-window rate).Verify
npm exec --yes bats -- t/→ 417 pass (2 new fold tests, 2 new guard tests; layout test moved to COLUMNS=88 since the narrower strips merge at 96)shellcheck -S error statusline.sh install.sh→ clean🤖 Generated with Claude Code