Skip to content

Compiler deep gate — nightly meta/native/compiled semantic parity #71

Description

@juv4uk

Goal

Extend the new fast/deep CI split so compiler optimizations can never quietly drift from Lisp semantics.

Fast lane

On ordinary PRs, run a bounded compiler parity corpus:

meta-eval == native == compiled

with exact values/errors for the admitted scope.

Deep lane

On the scheduled/manual deep workflow, run the full compiler oracle corpus plus expensive cases after the existing meta Advice Taker witness. The purpose is architectural falsification, not just build health.

Required invariants

  • Deep compiler failures block claims of semantic equivalence even if fast CI is green.
  • Optimized and unoptimized compiled paths are both compared where applicable.
  • Exact-number identity and proof/provenance structures remain byte/structure comparable where contractual.
  • No test is weakened merely to meet runtime targets; expensive witnesses may move to nightly instead.

Acceptance evidence

  • Manual deep workflow can run the complete compiler parity gate on demand.
  • A deliberately perturbed compiled observation is caught by both the appropriate fast/deep gate.
  • Runtime and test scope are reported separately so speed gains cannot hide evidence loss.

Dependencies

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions