Skip to content

feat(engine): complete deterministic LDL compiler facade#26

Merged
Dencyuman merged 1 commit into
mainfrom
feat/ldl-compiler-facade
Jul 14, 2026
Merged

feat(engine): complete deterministic LDL compiler facade#26
Dencyuman merged 1 commit into
mainfrom
feat/ldl-compiler-facade

Conversation

@Dencyuman

Copy link
Copy Markdown
Contributor

Summary

  • add the transport-neutral Engine.Compile facade over the complete LDL compiler pipeline
  • validate closed Project and Pack inputs, resolved dependency metadata, assets, resource limits, and cancellation atomically
  • publish complete defensive snapshots containing normalized artifacts, indexes, hashes, recipes, search documents, diagnostics, and authoring classifications
  • add deterministic, race-safe, fuzz, large-graph, package-boundary, and conformance coverage

Guarantees

  • semantic rejection publishes diagnostics only, with no partial artifact
  • cancellation, resource exhaustion, and invariant failures return typed errors with an empty result
  • repeated and permuted equivalent inputs produce identical semantic output
  • the compiler performs no filesystem, network, credential, state, clock, framework, or TypeScript access
  • raster resources are bounded before full image decoding

Validation

  • NODE_VERSION=24.18.0 /Users/dencyu/.nvm/nvm-exec make ci
  • overall coverage: 95.7%
  • internal/engine coverage: 96.0%
  • patch coverage: 95.9%
  • race, conformance, fuzz smoke, license, vulnerability, audit, build, and packaged binary checks passed

Closes #18

  • I have read and agree to the LayerDraw Contributor License Agreement 1.0 and confirm that I have the rights and any employer authorization required to submit this Contribution.

@Dencyuman Dencyuman merged commit c82d0cb into main Jul 14, 2026
2 checks passed
@Dencyuman Dencyuman deleted the feat/ldl-compiler-facade branch July 14, 2026 07:21
@github-project-automation github-project-automation Bot moved this from Triage to Done in LayerDraw Development Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Feature]: Complete the LDL Compiler facade and conformance contract

1 participant