compile-output-size-diff-probe
Runtime projection of
SKILL_COMPILE_OUTPUT_SIZE_DIFF_PROBE_001. Edit the canonical, not this file. Source of truth:platform/sdlc/13_skills/active/SKILL_COMPILE_OUTPUT_SIZE_DIFF_PROBE_001.playbook.md
compile output size diff probe
Summary. Empirical diagnostic for silent-drop / miscompile bugs in two-stage compiler bootstraps (seedc -> scc, gcc -> llvm, host -> cross). When a compiler emits much-smaller object files than a reference compiler for the same source, internal helper functions are likely being silently truncated. Use this skill to per-function-localize the emit-size loss BEFORE diving into source-line debugging. Triggers on: "silent drop", "compiler emit-size diff", "scc-built vs seedc-built size mismatch", "scc2 SIGSEGV without sema error", "bootstrap binary smaller than canonical", "scc emit-direct output truncated", or any case where a bootstrap target compiler produces a noticeably smaller .o or binary than the reference toolchain.
Relative links from the source skill body were rewritten to the archived source directory when possible.
Compile-Output Size-Diff Probe
Version: v1.1 (2026-05-27)
DIRECTIVE: When a bootstrap compiler emits less code than the reference for the same source, run a per-function size diff to narrow the failure before touching source.