Skip to content

test(core): differential conformance corpus — fold-output === run-output #1025

Closed

Description

@lex00

Part of the fold epic. Cold-handoff. The safety net — build this early, alongside #1.

Context

The entire migration is only safe if folded output is provably identical to run output. This issue is the differential harness and CI gate that guarantees it.

Scope

  • A test that, for each source in a corpus, builds it both ways (run path and --fold path) and asserts byte-identical serialized specs.
  • Corpus = existing examples/ + lexicon build fixtures (aws/gcp/k8s/temporal), covering leaves, cross-file refs, intrinsics, and composites.
  • A CI job runs the differential and fails on any drift (a zero-diff gate), analogous to the generated-CI no-drift tests.
  • Report per-source: fold-only, run-only (fallback), or both-identical.

Acceptance criteria

Epic: #1019

Activity

  1. added
    enhancement
    on Jul 24, 2026
  2. changed the title [-]refactor(core): demote EVL to a diagnostic over one shared subset definition[/-] [+]test(core): differential conformance corpus — fold-output === run-output[/+] on Jul 24, 2026
  3. lex00 commented on Jul 26, 2026

    @lex00
    ContributorAuthor

    Shipped in a6c2cffb ("epic: fold TypeScript-as-Data instead of running it — #1026,#1021,#1022,#1024,#1025 + #1032"). The squash message listed the children without closing keywords, so none of them auto-closed and they stayed open after the epic #1019 was closed. Closing as bookkeeping — the work is on main and verified: fold coverage 15/98 at that commit, drift 0 across the 98-entry differential.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions