Repository navigation
Watchface gate: refuse what can't be parsed or measured - #115
Merged
Merged
Conversation
A file parseBin couldn't read went to the watch with no checks, and on a Watch 3 Pro whatever the parser couldn't follow counted as zero bytes of the memory budget. The face that boot-looped a Watch 3 Pro passed the gate in four such shapes. A file that doesn't parse now goes to no watch; one that can't be measured doesn't go to a Watch 3 Pro. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8MMWXV9aP97uzpiX18
freethinkel
added a commit
to fmctools/companion
that referenced
this pull request
Nov 22, 2026
Both apps passed a file that didn't parse, and counted whatever the parser couldn't follow as zero bytes of a Watch 3 Pro's memory budget. Same rules as fmctools/fmc#115, held to it by shared vectors. Claude-Session: https://claude.ai/code/session_01CQSU8MMWXV9aP97uzpiX18 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
The bug
The pre-install gate failed open.
assertFlashablereturned on a parse error, and the Watch 3 Pro memory budget counted whatever the parser couldn't follow as zero bytes. The face that boot-looped a Watch 3 Pro passed the gate in four shapes:These are constructed files. Whether the watch's own installer would accept each one has not been tried on hardware or in the emulator.
The change
measurable()inbudget.ts: a face whose memory can't be counted doesn't go to a Watch 3 Pro. Watch Pro 2 is unaffected by this rule.Effect on existing faces
Old and new gate compared for three device values (none, Watch Pro 2, Watch 3 Pro) on the 936 catalog faces of 2026-11-22, the 100 stock faces, the 130 Watch Pro 3 faces from #49 and the 19 fixtures.
Every file parses, and no factory face changes verdict. Four catalog faces are now refused, on a Watch 3 Pro only. Each has an image reference that points at no resource:
dwf3dime0v738ivnv9vkdfbj4aptancuc26dfn9965rdt3l3zu68h4esp842Decide before merging: SoftGlow may have been working for the people who installed it. Its creator would need to repair and republish it.
Not covered
CONTAINERS).Testing
pnpm lint(0 errors),pnpm format:check,pnpm check,pnpm test(482 passed, 1 skipped),vite build.Merging deploys fmc.tools once CI passes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CQSU8MMWXV9aP97uzpiX18