alizainx/intelligence-systems-skills/translation-validation-self-hosting

Claude Code and agent skill by alizainx/intelligence-systems-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Alive2 SMT translation validation, differential compiler fuzzing (Csmith/YARPGen), Diverse Double-Compiling (DDC), and 3-stage self-hosting bootstrap.

Install

npx vskill@latest install alizainx/intelligence-systems-skills/translation-validation-self-hosting

SKILL.md

The same SKILL.md was published earlier as alizainx/intelligence-systems-skills/translation-validation-self-hosting.

translation-validation-self-hosting (ISS-080)

1. First-Principles Invariant

  • Wheeler Diverse Double-Compiling & 3-Stage Fixed-Point Law: A self-hosting compiler is verified iff Stage 2 (compiled by Stage 1) and Stage 3 (compiled by Stage 2) produce bit-for-bit identical (SHA-256(Stage2) == SHA-256(Stage3)) binaries, and compiling the source through an independent bootstrap compiler reproduces the identical Stage-3 hash.

2. Fast-Pass Low-Token Protocol (Web & Coding Agents)

  • Verify individual IR optimization rewrites $(S \to T)$ by encoding source and target semantics in SMT bitvector + poison logic (Z3) and proving that $T$ refines $S$ ($\text{defined}(S) \implies \text{defined}(T) \land \text{val}(S) = \text{val}(T)$).

3. Zero-Bug & Zero-Vulnerability Guards

  1. Eliminate non-determinism in the compiler (never iterate over pointer-hashed sets/maps when emitting symbol tables, register numbers, or basic block IDs; use deterministic insertion-order IndexMaps).
  2. Zero out all padding bytes in emitted AST/IR/object file structures (memset(&hdr, 0, sizeof(hdr))) so uninitialized stack padding cannot break Stage-2/Stage-3 binary equality.
  3. Run differential testing across randomized valid programs: compare exit code, stdout, and memory checksums across -O0, -O1, -O2, and -O3.
  4. Shrink failing compiler test cases automatically via syntax-aware delta debugging (creduce/llvm-reduce).
  5. Gate every compiler PR on sha256sum stage2/compiler == sha256sum stage3/compiler.

4. Verification Gate

  • python3 -c 'import hashlib; ...' && gcc -std=c11 -O2 -Wall -Wextra -Werror

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alizainx/intelligence-systems-skills/translation-validation-self-hosting/badge)](https://verified-skill.com/skills/alizainx/intelligence-systems-skills/translation-validation-self-hosting)

Something wrong with this skill or its page? Tell us.