TC #79 — Phase 8 estimate_tokens char/4 path unchanged when no tokenize_fn #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
Context.new with NO tokenize_fn; verify estimate_tokens returns char/4 of (sys + sum(turn.content)).
Expected
Matches Phase 0 §8 char/4 formula exactly. No behavior change for existing configs that don't opt into tokenize.
Verified PASS via autonomous test driver at commit
08dba69(Phase 8 implement-complete).Context.new with no tokenize_fn: estimate_tokens returns floor((#sys + #turn.content)/4) exactly. Phase 0 §8 behavior preserved bit-for-bit.
Closed by Phase 8 verify.