中文版
Intelligence · Evidence Ledger

Seven Billion Tokens.
One Field Incident.

Tokens are not the claim. The claim is that a field fault became a design ruling, a machine-readable constraint, and a reproducible block while the same ledger kept the cost, code scale, and limitations visible.

7,007,437,567 recorded tokens repository-scale mapped block verified evidence before claims

BG1SB · · ~18 min read

Seven billion tokens is not a productivity trophy. It is a trace of an engineering system spending context to keep agents inside a contract: business intent enters the harness, the inner loop implements and verifies, the living SDD keeps what was learned, and field evidence decides what is true.

Author's thesis

A token count only matters when it is tied to repositories, code volume, evidence, and failure boundaries. Without that map it is vanity accounting. With it, the number shows where the system paid for uncertainty, iteration, context reloads, and correction.

Volume I

Investigating Things

Go to the thing itself: session stores, tests, code, radio behavior, and the places where the first measurement failed.

Start with the bill, then demote it

The bill is useful because it can be checked. It is not useful because it is large.

Recorded volume

7,007,437,567

tokens across seven harnesses, 41,257 turns, and 882 sessions.

Cache-read share

95.2%

6,670,776,092 tokens were context being reloaded, not new prose being produced.

Fresh work

4.8%

336,661,475 fresh input plus output; model output was 30,061,161 tokens.

Priced sample

$9.30 / B

Pi recorded $15.11 for 1,625,562,962 tokens.

HarnessTokensTurnsSessionsSource
claude-code3,129,411,48121,648194~/.claude/projects/**/*.jsonl
pi1,625,562,9628,71960usage.totalTokens plus cost
kimi-code1,201,837,5379,769229usage.record
codex547,796,667717116JSONL cross-checked with threads.tokens_used
mulerun471,558,325181181session.tokens_*
cursor27,079,70521796non-zero bubbleId:* records
opencode4,190,89066opencode.db
Claim: recorded token volume. Source artifact: seven local harness stores. Version / commit: census 2026-09-05. Environment: macOS arm64. Verification method: JSONL parse plus SQLite checks. Result: 7,007,437,567 tokens / 41,257 turns / 882 sessions. Limitations: retained local stores only; some tools recorded no usage. Date: 2026-09-05.

Seven billion is a floor

The honest total has two columns: recorded and estimated. They must not be merged.

iFlow

37,202 assistant turns carry usage fields, but all report zero. The transcript body estimates to 234,247,399 tokens, range 187M-281M, and stays outside the recorded total.

Hermes

292 sessions, 9,121 messages and 4,336 tool calls are recorded, but every token_count is zero.

Cursor/Qoder

Cursor records 27,079,705 tokens but no working directory. Qoder is a strict duplicate subset and would double-count 1,500,804 tokens.

Retention

Claude Code starts at 2026-08-05, while older repository work predates that retained window.

Inference

With estimates included, the floor becomes 7,241,684,966 tokens, 87,580 interactions and 1,359 sessions. It is still a floor because Hermes contributes interactions but no recorded usage.

The first number was wrong by 1.6B

致知在格物, or in plain engineering: knowledge extends by investigating things, not by trusting labels.

The first pass reported 5,380,941,148 tokens. It under-counted because I searched only the stores I already knew. It over-counted because I added fields whose semantics were not siblings.

Codex correction

cached_input_tokens is a subset of input_tokens, not an additive field. The corrected transcript total is 547,796,667; the independent database sum is 546,858,767.

Pi correction

totalTokens already equals input + output + cacheRead + cacheWrite. Summing all exposed fields inflated the value by roughly its own size.

Author's thesis

A number not reconciled against a second source is a hypothesis about a number. Disagreement between sources is not noise; it is the finding.

One cable already on the bench

The starting intent was not "build an AI project". It was whether the FT-710 could be remotely operated over the USB cable already plugged into it.

Field observation

The FT-710 exposes an FT4222 SPI bridge that yields real spectrum data at roughly 21 fps.

Media path

The same cable carries bidirectional Opus audio at 48 kHz and full CAT control.

Product boundary

No SCU-LAN10, no Hamlib dependency for this path, and no second device between operator and radio.

Fact

FT-710 reached 439 automated tests: Ran 439 tests in 10.675s / OK. Source baseline is v1.8.1; packaged Windows installer is v1.8.0.

Six months without a harness

The same person, radios and field problems produced a different kind of output before there was somewhere for knowledge to land.

iFlow covers 2025-10-20 to 2026-04-16: 185 sessions, 37,202 assistant turns, and six model backends. Useful work came out of it, including MRRC ancestors and PSK Reporter analysis, but there was no AGENTS.md, no versioned SDD, no machine-readable constraint registry, and no gate.

Analogy

Wang Yangming's investigating the bamboo story is useful here as a warning about method: enormous sincerity applied to a procedure with no feedback path does not converge. That is the shape of pre-harness work.

Volume II

Extending Knowledge

A field observation becomes a contract, a contract becomes a gate, and many gates become a reusable ontology.

Harness outside, execution inside

This is the mechanism page reduced to the parts this incident uses.

Harness

Business, technical and product constraints define why the work exists, which interfaces and safety boundaries matter, and what evidence can change a claim.

Loop

Echo -> Delta -> Product contains the inner loop: Specify -> Implement -> Test -> Review -> Deploy / Observe -> Update SDD.

Living SDD

The SDD links intent to code, tests, deployment, known issues and reusable decisions. Runtime prompts load the contract, not a stale copy.

Fact

The inner loop is the part executed by agents with real repositories and gates. Intent, architecture boundaries and the judgment of sufficient evidence stay human.

A field fault became an executable rule

This is 物格而后知至: things investigated, then knowledge arrives, and then the knowledge has to block a bad edit.

Incident

On the FT-710, DN; is not a DNR query. It steps the active VFO down by about 20 Hz per call, so polling it caused live frequency drift.

Ruling

The incident became AD-014: DNR level is intentionally not polled.

Reproduced block, 2026-09-05
$ python3 .agents/skills/sdd-guardian/harness/sdd_context.py check probe_b4_tmp.py
SDD-GUARDIAN: blocking violations found:
[BLOCK] cat-no-dn (AD-014; SDD V1.2 freq-drift incident) probe_b4_tmp.py:2: return c.query("DN;")
$ echo $?
2
Fact

The chain is field incident -> SDD ruling -> machine-readable constraint -> non-zero pre-edit block in mrrc_ft710. Every link is an artifact and the last link is reproducible by command.

Token volume does not follow LOC

The useful question is not "how much AI was used?" It is where the loop had to keep reloading context to resolve uncertainty.

Repository / bucketTokensTracked source linesTokens / lineEngineering reading
ft81,875,258,56669,97226,800Small codebase, high risk density: DSP, slot timing and TX guards.
mrrc_ft7101,275,611,389728,6321,751Large tracked native/mobile tree; vertical slice produced the reusable contract.
mrrc_modern1,260,804,213744,1951,694Platform extraction and three radio profiles.
MRRC1,150,197,250150,3457,650Universal family; longest history, partly truncated by retention.
website819,343,92635,81622,876Evidence reconciliation, bilingual structure and cross-site consistency.
sunsdr64,490,89838,3611,681Station server and client website; much protocol learning predates retained logs.
pskreporter54,409,498not availablen/aNo standalone local checkout for reproducible line count.
efhw-knowledge45,949,58422,4252,049Reading, synthesis and ontology extraction.
wfview23,459,822172,509136Reference tree with small local agent spend.
unattributed bucket410,832,716n/an/aParent-directory sessions plus non-radio work.
working-directory total6,980,357,8621,962,255 countedmixedradio-ecosystem repositories alone: 6,491,655,826
Analogy

Zhu Xi's phrase sudden thorough comprehension is a useful analogy for this accumulation: one thing today, another tomorrow, then consolidation. The ontology came after repeated evidence across product boundaries, not before.

Inference

Tokens do not measure productivity and source lines do not measure difficulty. Their ratio is a diagnostic for uncertainty, context reload, evidence alignment and safety-boundary work.

Volume III

Unity of Knowing and Acting

Knowing that does not act is not yet knowing; acting without evidence is not knowledge either.

Shipping is evidence work

The suites were run, not read, on 2026-09-05.

FamilyCommandResult
FT-710venv/bin/python -m unittest discover -s testsRan 439 tests / OK
Modernvenv/bin/python -m unittest discover -s testsRan 682 tests / FAILED (errors=1); Windows-only launcher import on macOS.
FT8venv/bin/python -m pytest tests -q --collect-only937 tests collected, collected not passed.
Fact

Deployment rules also came from defects: quoted remote heredocs, explicit remote deletes because tar -x never deletes, lean per-site backups, and rollback hints scoped to one site directory.

The ledger also goes stale

The system has to check its own evidence, not just product code.

Landing page drift

V1.0 · 180+ tests -> v1.8.1 · 439 tests; v1.10.1 · 593 tests -> v1.12.1 · 682 tests; 40 tests -> 937 collected.

Evidence ledger drift

v1.12.0 · 633 tests -> v1.12.1 · 682 tests.

Constraint metadata drift

Registry versions lag the SDDs: V1.7 vs v1.8.0, V2.27 vs V2.30, V1.0 vs V1.8.

Version ambiguity

FT-710 source is v1.8.1 while the Windows package is v1.8.0. One version field would be wrong.

Author's thesis

Precision is what survived. A dated evidence record and a current-state claim are different artifacts even when they contain the same number.

What was never delegated

Agents carry execution. Humans retain intent, boundaries and judgment.

Non-compressible gates

Hardware fabrication and bench bring-up, RF safety, live station verification, and publication labels cannot be bought with more tokens.

Open defect

FT710Mobile keeps an unresolved P0 PTT safety issue open. 439 server-side tests do not close a client safety claim.

Product maturity

  1. design target
  2. simulation result
  3. automated test
  4. bench verified
  5. field verified
  6. released / operational
  7. known issue

Process constraint

  1. B1 registry entry
  2. B2 spec / plan trail
  3. B3 enforced in session
  4. B4 block verified

A B4 process badge never promotes a product claim. This is why knowing and not acting is not enough, but acting is not knowing either.

What transfers outside radios

The method is domain-independent: constrain, execute, verify, record, and keep product maturity separate from process evidence.

  1. Define success first

    Write acceptance conditions and explicit non-goals before implementation.

  2. Make constraints machine-readable

    Each rule needs severity, scope, patterns and a citation to the decision or incident that produced it.

  3. Load the live contract

    Reference the SDD and slice it at runtime. Do not copy it into a stale prompt.

  4. Gate before write

    In mrrc_ft710, a pre-edit gate prevents the defect; a later review depends on someone noticing.

  5. Turn incidents into rules

    The frequency drift bug became AD-014, then cat-no-dn, then a blocked edit.

  6. Reconcile every number

    The first census was wrong by 1.6B while another database on the same disk held the correction.

  7. Keep two ladders

    Process evidence and product maturity are different claims and must stay separate.

Every number has a boundary

Census date for all rows: 2026-09-05 unless stated.

ClassEvidence
Token ledgerclaude-code 3,129,411,481 / 21,648 / 194; pi 1,625,562,962 / 8,719 / 60; kimi-code 1,201,837,537 / 9,769 / 229; codex 547,796,667 / 717 / 116; mulerun 471,558,325 / 181; cursor 27,079,705; opencode 4,190,890. Total 7,007,437,567 / 41,257 / 882.
Excluded or estimatediflow estimate 234,247,399 tokens, range 187M-281M; all usage fields recorded zero. Hermes: 292 sessions, 9,121 messages, 4,336 tool calls, no token usage. Qoder excluded as duplicate subset.
Tests and constraintsFT-710 439 tests OK; Modern 682 tests with one macOS environment error; FT8 937 tests collected. Constraint registries: 17, 21 and 14 rules; total 52.
Lineagemrrc_modern and mrrc_ft710 share initial commit 9403e2e. mrrc_ft8 introduced AGENTS.md, SDD and guardian skill in first commit d4a7a32. Registry growth includes 2bc3d30.
Method limitsAttribution uses each tool's recorded working directory. Source-line counts come from local git ls-files at each git root, with common text/source extensions and generated dependency directories excluded. Model identifiers are as recorded by each harness.
Classical sourcesGreat Learning: "致知在格物,物格而后知至". Zhu Xi: "一旦豁然贯通焉". Wang Yangming / Chuanxi lu: investigating the bamboo and "知而不行,只是未知". These are analogies and framings, not evidence that the method works.
Related pagesAgentic Engineering; Engineering Mechanism; product families: MRRC Universal, MRRC FT-710, MRRC Modern, SunMRRC, SunsdrMobile, MRRC-FT8, EFHW.