Establish MNCS language semantic foundation and recursive refinement model - #1
Merged
Merged
Conversation
epi13
marked this pull request as ready for review
August 3, 2026 06:43
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Establishes the MNCS Language Project as a semantics-first, verification-native general-purpose language research repository rather than prematurely selecting a surface grammar.
This PR defines the initial project boundaries, documents recursive self-debugging and refinement as a foundational requirement, and adds an executable Rust semantic model capable of validating experimental MNCS manifests.
What changed
Project foundation
Architecture and specification
Recursive debugging and self-improvement
Recursive refinement is treated as part of the language architecture rather than only a Forge or RAVEL orchestration feature.
The proposed bounded cycle is:
The model explicitly rejects unrestricted self-modification, evidence laundering, unbounded recursion, silent capability expansion, and a generator automatically certifying its own repair.
RFC foundation
The first two are represented experimentally in the prototype. The verified-IR and recursive-refinement RFCs define the next architectural direction.
Executable semantic model
Adds a Rust workspace containing:
mncs-model— semantic entities and deterministic structural validation;mncs-cli— a JSON manifest validator;Initial validation rules include:
The JSON form is explicitly a bootstrap transport format, not proposed surface syntax.
CI
Adds GitHub Actions checks for:
cargo fmt;cargo clippy -D warnings;Why
MNCS Language should first prove that it has a distinct semantic purpose. Contracts, authority, effects, assumptions, evidence, failure behavior, diagnostics, and repair relationships should be part of program meaning rather than reconstructed from ordinary source after the fact.
The recursive model also allows the language, Forge, and RAVEL to evolve toward micro-debugging: local failed obligations and causal paths can drive bounded repair cycles instead of repeatedly feeding enormous Clang, LLVM, or Joern reports back to an agent.
Project-family boundaries
Validation status
The branch includes CI as the authoritative validation path. Local Rust execution was not available in the environment used to construct this PR, so formatting, linting, compilation, tests, and example checks should be reviewed from the GitHub Actions result before merge.
Deliberately unresolved