Repository navigation
docs(blog): re-measure the Todo and showcase sizes in the context-window post and correct the "half a window free" sentence - #22293
Merged
objectstack-fleet[bot] merged 1 commit intoOct 8, 2026
Conversation
…dow post and rewrite the sentence they no longer support The post's Todo and showcase figures (~14.5k, 83 files / ~101k) were derived as bytes of non-test .ts files under examples/<app>/src divided by 4. At this base the same method gives app-todo 27 files / 97,653 bytes (~24.4k) and app-showcase 91 files / 696,149 bytes (~174k), which is about 87% of the 200k window the post already uses for the CRM paragraph. "leaves half a modern context window free" is false at those numbers; the maximalist example still fits, with about 13% to spare. Claude-Session: https://claude.ai/code/session_0115N1oNnQS5WqofZ2DzaT3q Co-authored-by: Claude <noreply@anthropic.com>
objectstack-fleet
Bot
deleted the
claude/issue-22273-blog-example-sizes
branch
October 8, 2026 13:24
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.
Fixes #22273
Clause-②: no
What this changes
One paragraph of
content/blog/context-window-is-the-constraint.mdx(lines 49-52): the Todo and kitchen-sink showcase sizes, and the clause built on them. Nothing else on the page changes; the CRM table above it (corrected by PR #22267) is untouched.The argument is kept; one clause is not. The paragraph argues that even the maximalist example fits in one window. At ~174k of the 200k-token window the post already uses for the CRM paragraph two lines above, it still does, so that claim stays. "Leaves half a modern context window free" does not survive the new numbers (about 13% is free, not half), so it is replaced with the measured fraction. "A modern context window" became the explicit 200k so the CRM paragraph's "about 9%" and this paragraph's "about 87%" share one denominator. No other sentence on the page depends on the half-window claim; the rest of the post argues from the CRM example.
Measured at this PR's base
Base:
origin/main5870716 (the merge base, read in this PR's worktree). Method: bytes of the non-test.tsfiles under the example'ssrc/, divided by 4, as recovered on #22248 and applied in PR #22267. No new method and no new gate (triage ruling on the card).A second reading through git, not the filesystem, agrees on every file count and byte total:
git ls-tree -r -l 58707166ff -- examples/APP/src, summing the sizes of files ending.tsand not.test.ts.app-todoapp-showcaseRounding follows the precision the post already uses, as PR #22267 recorded it: the Todo figure to the nearest 500 (the post's "~14.5k"), the showcase figure to the nearest 1k (the post's "~101k"). 174,037 / 200,000 = 87.0%, so about 87% used and about 13% (25,963 tokens) free.
Control for the method: the same count over the tree the figures were first written on (
a6058728de) givesapp-todo25 files / 58,255 bytes / 14,564 andapp-showcase83 files / 405,447 bytes / 101,362, i.e. the post's original "~14.5k", "83 files" and "~101k". The card's readings at8cbe255efalso reproduce exactly (Todo 95,787 bytes / 23,947; showcase 695,310 bytes / 173,828). Between that commit and this baseapp-todogrew by 1,866 bytes (+1.9%) andapp-showcaseby 839 (+0.1%): the figures move withmain. The Todo rounding band (24,250 to 24,750 tokens, i.e. 97,000 to 99,000 bytes) holds the current reading at 97,653.The old sentence has no other copy:
git grepfor "half a modern context window" finds nothing in the tree after this change, and a grep of the tracked tree for the old figures ("~14.5k", "~101k", "83 files"; release notes and changelogs excluded) found them only in this paragraph; the other pattern hits are unrelated test-shard and vitest comments.Verification
Docs-only. The gate list was derived from the actual diff with
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack(no path arguments; 1 path against merge base 5870716, 8 changed lines), every command run with its exit code recorded to a file before any pipe, and the record reconciled with--ran:All 15 exit 0 at head bad1420 (including
check:doc-frontmatterand its self-test,check:doc-anchors,check:doc-authoring,check:nul-bytes,check:closing-keyword-parityand its self-test). One of them,pnpm --filter @objectstack/lint run check:doc-formula-expressions, first refused on the fresh worktree with exit 3 (PREREQUISITE NOT MET:@objectstack/formulaand@objectstack/lintwere not built). That first pass measured nothing and is not counted as a pass; the two closures were built under the shared verify lock (turbo run build --filter=@objectstack/formula --filter=@objectstack/lint --concurrency=2, VERDICT command-exit 0) and the gate was re-run: exit 0.No changeset,
skip-changeseton the PR: no published package shipscontent/**. Of the 82 trackedpackage.jsonfiles, 69 are non-private and all 69 declare afilesarray; none of those entries reachescontent/orblog/, and the same scan counts 69 entries namingdistas its positive control. No governed surface is touched (content/blog/**is not in the register).Acceptance notes
maindaily; the card names no gate and none is added.3513ac778) answers 1,932 at this base by the post's ownfind ... | xargs cat | wc -lcommand (app-crm, 31 files, 74,182 bytes, ~18,545 tokens);app-crm/srcchanged between docs: re-measure the example CRM size on the four pages that state it (31 files, 1,929 lines, ~18.5k tokens) #22267's base and its merge commitc8bb3c8d9(73,889 bytes then, 74,182 at the merge commit), and the bytes are identical at the merge commit and at this base. The tokens and "about 9%" figures still hold. Not edited here: the CRM row is carved out of this card. Same drift class the card already declares; noted, not filed.Generated by Claude Code