centerpixel.com

Increase YYA's capacity for executive functioning

Eight programs so far, across five parts of one job: what is in context, what the team knows, what it is doing, how it gets run, and whether any of it worked.

tc ยท tokdumptc and tokdump, the free end of the toolchain.tc ยท tokdump$tc README.md main.go encoding.go2288 README.md1304 main.go389 encoding.go3981 total$printf '๐Ÿ’ฏ๐Ÿ”ฅ' | tokdump -n0000000 31446 107 \xf0\x9f\x92|\xaf0000002 96606 ๐Ÿ”ฅ0000003$Like wc, but for tokens.Like hexdump, but for tokens.Narrow: two token IDs per row instead offour.
Hover to stop the playback and read the parts.

What goes into the window, and what it costs.

tctc counting tokens in three files, then in a pipeline.tc$tc main.go encoding.go utf8.go1304 main.go389 encoding.go968 utf8.go2661 total tc shipped Like wc, but for tokens. Counts tokens in files or stdin with the o200k_base encoding. Plain tc always means o200k_base โ€” there is no configuration to get wrong. tokdumptokdump showing where a string splits into tokens.tokdump$printf '๐Ÿ’ฏ๐Ÿ”ฅ' | tokdump -n0000000 31446 107 \xf0\x9f\x92|\xaf0000002 96606 ๐Ÿ”ฅ0000003 tokdump shipped Like hexdump, but for tokens. Dumps token IDs in the three-column layout hexdump(1) has used since 1978, so you can see exactly where a string splits โ€” and why an emoji costs you four tokens.

What the team and its models read.

metadata-enforcermetadata-enforcer catching a field that drifted.metadata-enforcer$metadata-enforcer check --schema @v.schemaERROR essays/drift.md: latex: must be a booleanChecked 4 file(s), found 1 invalid metadata-enforcer shipped Django-style schemas for Markdown frontmatter. Declare the shape of a note collection in plain Python, then enforce it. No intermediate YAML DSL, no JSON Schema. cqcq, run as a suite over a codebase.cq$cq srclint cq early The codebase smells a staff engineer would notice. Mega-files, import cycles, pages that reach into each other, naming that drifts halfway through. Not strong opinions โ€” OSHA best-practices. Run it as a suite and watch the trend.

What is being done, and by whom.

The infrastructure to actually run it.

Whether any of it worked.