Skip to content

feat(protocol): establish deterministic Engine Protocol schema#34

Merged
Dencyuman merged 29 commits into
mainfrom
feat/engine-protocol-schema
Jul 15, 2026
Merged

feat(protocol): establish deterministic Engine Protocol schema#34
Dencyuman merged 29 commits into
mainfrom
feat/engine-protocol-schema

Conversation

@Dencyuman

@Dencyuman Dencyuman commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • establish the language-neutral Engine Protocol schema dialect and deterministic Go/TypeScript generation pipeline
  • publish closed compile/handshake wire contracts, canonical codecs, cross-language fixtures, View address semantics, bounded recursive validation, and fail-closed Ajv parity
  • enforce typed Query/View/Export recipe authority, identity and ownership invariants, exact locally derivable dependencies, effective automatic Relation columns, and deterministic normalized artifact publication
  • align compiler, generated Go/TypeScript codecs, and independent Ajv authority for canonical string and datetime formats
  • make generated-file verification deterministic and offline-safe, including schema-closure digests and packaged protocol checks

Validation

  • COREPACK_ENABLE_NETWORK=0 NODE_VERSION=24.18.0 /Users/dencyu/.nvm/nvm-exec make ci
  • 986 TypeScript/Ajv protocol tests, 0 failures
  • Go race, conformance, integration, packaged, vulnerability, license, and deterministic generation gates
  • 94.9% overall Go coverage and 90.1% patch coverage

Closes #27

  • 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 added 18 commits July 15, 2026 03:25
Run generated-output verification in an isolated clean worktree and self-test repository-wide drift detection. Ensure packed protocol artifacts cannot ship maps with unavailable sources, and record the public package decision and release intent.
Bind View query, parameter, column, relation, entity, and state fields to their exact Language 1 authorities. Enforce canonical sorted-set contracts across generated Go, TypeScript, and independent Ajv, with shared cross-authority vectors and regenerated digests.
@Dencyuman Dencyuman merged commit 8a43fe3 into main Jul 15, 2026
2 checks passed
@Dencyuman Dencyuman deleted the feat/engine-protocol-schema branch July 15, 2026 08:24
@github-project-automation github-project-automation Bot moved this from Triage to Done in LayerDraw Development Jul 15, 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]: Establish deterministic Engine Protocol schema and code generation

1 participant