hex/ios/TypingConfig
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel cee0aa06ed ios: typing config package: check_config.py says which parts Hex would skip, and why
A config could pass check_config.py with a part the phone's review then skips: the checker compared
the evidence with the logs but never applied the review's own evidence gate. It now does, for every
part (words, aim, zones), from the evidence the file carries, and reports a part that falls short as
"Hex would skip it, notEnoughEvidence: ..." with the field and the threshold (a zone with tap counts
only: "no checked.wordsRight / checked.wordsWrong"); it notes what Hex will apply. simulate_zones.holds
compares the numbers as the phone does, with no rounding (2.3 right and 0.3 wrong is under 2 net).
The reference gains a table of the evidence each part must carry to be applied.

Verified: on 62 configs (242 parts), the checker's gate and TypingConfigReview agree on every part
(196 aim and 35 words applied, 4 zones applied, 7 tap-only zones skipped; 0 disagreements). The
key-off fixture's tap-only zone is reported as skipped with its reason; with today's evidence (1.0
word right on half A, 0.0 on B) it still is, as it should be.
2026-11-23 12:47:08 -05:00
..
package ios: typing config package: check_config.py says which parts Hex would skip, and why 2026-11-23 12:47:08 -05:00
limits.json ios: typing config: judge a zone by the words it makes right and wrong, not its taps 2026-11-23 12:47:08 -05:00
README.md ios: typing config format 0 (.mhexconfig), frozen: reference, schema and one limits table 2026-11-23 12:47:08 -05:00
typing-config.schema.json ios: typing config: judge a zone by the words it makes right and wrong, not its taps 2026-11-23 12:47:08 -05:00

Typing configs: the format and the agent package

A typing config (.mhexconfig) is a file a person's own agent writes from their Hex typing export, and Hex applies after showing and checking it. The format and every field are in package/reference/typing-config.md.

  • limits.json: the one table of the format's limits. ios/scripts/build-typing-config.py generates the phone's clamps (HEXShared/FullKeyboard/TypingConfig/TypingConfigLimits.swift), the package's scripts/limits.py and typing-config.schema.json from it; --check fails when any of them is out of date.
  • typing-config.schema.json: the JSON schema an agent's file is checked against (strict).
  • package/: what the export carries besides the logs: SKILL.md, reference/ and scripts/ (Python 3 standard library only, no network).