Repository navigation
test(claw): pin every pair of the social_visuals format table - #10775
Merged
Merged
Conversation
The mutation sweep caught 30 of 35. Line 118 (ch == CH_LINKEDIN to !=) lived because no test read the link row past X and Site. Two tests pin all 40 pairs and count 20 supported ones; now 31 of 35, the 4 left are equivalent (two comments, two guards the factory makes unreachable). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
October 19, 2026 02:12
Contributor
This was referenced Oct 19, 2026
Merged
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.
What
The mutation sweep of
specs/claw/social_visuals.t27caught 30 of 35 mutants. This PR adds 2 tests and leaves the production code unchanged.every channel and kind gets exactly the format of the tablepins all 40 (channel, kind) pairs ofpick_format, using the factory's FMT_* names. It kills line 118,ch == CH_LINKEDINchanged to!=. That mutant gave a link card to Instagram, TikTok, Shorts and YouTube and took it away from LinkedIn.negative control the table supports exactly twenty of the forty pairscounts the supported pairs and checksimages_foron a supported link pair and on an unsupported one.The 4 survivors that remain are equivalent:
and/or//comments.a >= ARCHSto>reel_factory::content(t, ARCHS)returns 0, soscene_backedis false either way.> 0to>= 0arche(t)has content above 0, as asserted for all 27 lessons.Seals
claw_ClawSocialVisuals. It is the only seal that recordssocial_visuals.t27. The diff changes only the spec hash, the four gen hashes, the test count (14 to 16) andsealed_at. Both dependency hashes (reel_factory,reel_topics) match master.social_visualshas no committedgen/cfile.Verification (Railway lab, master 797bd09)
test-report: 16 of 16 tests pass, with 0 vacuous passes.seal --verify: 32 of 32 overspecs/claw/*.t27andspecs/verified/gen_file_check.t27.python3 tools/dupe_scan.py: "no new duplicate body".Closes #10773.
🤖 Generated with Claude Code