Skip to content

docs: align README with PulseEngine visual identity#51

Merged
avrabe merged 6 commits intomainfrom
feat/fused-component-optimization
Feb 20, 2026
Merged

docs: align README with PulseEngine visual identity#51
avrabe merged 6 commits intomainfrom
feat/fused-component-optimization

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Feb 20, 2026

Summary

  • Strip all emoji from headers and section titles
  • Replace badges with flat-square style matching org profile
  • Condense README from ~490 to ~130 lines, referencing docs/ for details
  • Apply PulseEngine crown jewel template with pipeline nav ring and verification callout

Test plan

  • Verify badge rendering on GitHub
  • Confirm all docs/ links are valid

🤖 Generated with Claude Code

avrabe and others added 6 commits February 18, 2026 07:45
      Adds specialized optimization passes for WebAssembly modules produced by
      component fusion tools (meld). Targets adapter trampolines, duplicate
      types/imports, and dead functions introduced by the fusion process.

      New files:
      - loom-core/src/fused_optimizer.rs: 4-pass fused optimization pipeline
        - Pass 1: Adapter devirtualization (bypass trivial trampolines)
        - Pass 2: Function type deduplication (merge identical types)
        - Pass 3: Dead function elimination (remove unreachable functions)
        - Pass 4: Import deduplication (merge duplicate imports)
      - docs/FUSED_COMPONENT_OPTIMIZATION.md: full design document
      - proofs/simplify/FusedOptimization.v: Rocq correctness proofs

      Integration:
      - Wired into component_optimizer.rs (runs before standard 12-phase pipeline)
      - Wired into optimize_module() for standalone module optimization
      - Safe no-ops on non-fused modules
Adds specialized optimization passes for WebAssembly modules produced by
component fusion tools (meld). Targets adapter trampolines, duplicate
types/imports, and dead functions introduced by the fusion process.

New files:
- loom-core/src/fused_optimizer.rs: 4-pass fused optimization pipeline
  - Pass 1: Adapter devirtualization (bypass trivial trampolines)
  - Pass 2: Function type deduplication (merge identical types)
  - Pass 3: Dead function elimination (remove unreachable functions)
  - Pass 4: Import deduplication (merge duplicate imports)
- docs/FUSED_COMPONENT_OPTIMIZATION.md: full design document
- proofs/simplify/FusedOptimization.v: Rocq correctness proofs

Integration:
- Wired into component_optimizer.rs (runs before standard 12-phase pipeline)
- Wired into optimize_module() for standalone module optimization
- Safe no-ops on non-fused modules

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rename all SCREAMING_CASE doc files to kebab-case and organize into
design/, guides/, and bugs/ subdirectories. Rewrite fused component
optimization doc with 8 mermaid diagrams, proof status tables, and
tiered roadmap. Update all cross-references in README and related docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ete proofs

- Add Pass 2: trivial call elimination for meld's cabi_post_return stubs
  (detects () -> () functions with empty bodies, removes all calls)
- Enhance dead function elimination with element segment parsing using
  wasmparser to extract indirect call targets from element sections
- Rebuild element sections with remapped indices via wasm_encoder after DCE
- Complete all 4 previously Admitted Rocq proofs in FusedOptimization.v:
  * adapter_devirtualization_correct (via trivial_adapter_equiv axiom)
  * type_dedup_idempotent (via strengthened is_canonical_type_remap)
  * import_dedup_preserves_semantics (via identical_import_equiv axiom)
  * fused_then_standard_correct (via reachability preservation hypothesis)
- Add new Pass 2 proof: trivial_call_is_nop (via trivial_call_nop axiom)
- Zero Admitted proofs remaining in FusedOptimization.v

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…pipeline

Update proof status table (all 11 theorems now Qed, zero Admitted),
add Pass 2 (trivial call elimination) to pipeline diagrams, fix pass
numbering to reflect 5-pass pipeline, update DCE description to mention
element segment parsing, add proof architecture diagram showing axiom
dependencies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…y modules

In single-memory modules produced by meld, adapters that allocate a buffer
via cabi_realloc and memory.copy within the same linear memory are redundant.
This pass detects these adapters and collapses them to trivial forwarding
trampolines, which Pass 1 then devirtualizes to eliminate the call overhead.

Adds 9-predicate detection (single memory, has locals, same-memory copy,
realloc call, single target call, no control flow/stores/global writes,
signature match), collapse_to_forwarding transformation, 12 unit tests,
Rocq axiom (same_memory_adapter_equiv) and theorem (same_memory_collapse_correct).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avrabe avrabe merged commit 8181aa2 into main Feb 20, 2026
17 of 18 checks passed
@avrabe avrabe deleted the feat/fused-component-optimization branch February 20, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant