Repository navigation
fix: scoped Wyrm compiler, CLI, tooling and CI repairs (non-reserved) - #1
Merged
Merged
Conversation
added 5 commits
November 18, 2026 23:34
…ic literals Worker A (backend semantics) handoff accepted by Main Agent. - C backend emits conditional control flow for and/or with single LHS eval and operand-value semantics matching the interpreter. - LLVM backend emits br/phi-style short-circuit blocks and operand copy. - Number literals use round-trip-safe std::to_chars(max_digits10). - Added focused transpiler and LLVM structural regression tests.
…sion lockfile Worker B (package CLI) handoff accepted by Main Agent. - add/lock integrated into dispatch; unknown-command fallback corrected. - Versioned JSON lockfile with remote identity + immutable git revision, strict parsing, stable serialization, drift rejection, rollback on failure. - Full pinned checkout for fresh remote installs remains BLOCKED by reserved WYRM-12 shell-invocation scope; fail-fast drift semantics implemented. - Added wyrpkg regression suite (146 checks).
…ped clean Worker C (CLI formatting/cleanup) handoff accepted by Main Agent. - fmt is lexical-state-aware: strings/comments preserved, malformed input rejected with no overwrite; backup contract retained. - help/README now state self-hosted vs Stage 0 command gap and that check is syntax-only (no semantic type checking). - C++ clean restricted to Wyrm-owned artifacts; self-hosted clean remains BLOCKED by reserved WYRM-12 shell-invocation scope. - Added CLI formatting/cleanup regression suite (45 cases).
…aller toolchain, safe Windows process handling Worker D (portability/installation) handoff accepted by Main Agent. - Removed hard-coded Windows triple/data layout; clang derives host target. - Installers now build/link the full 14-object runtime set and require clang for the LLVM self-hosting stage. - Removed global name-based process kill; installer-owned PID tracking and actionable file-lock diagnostics instead (runtime-unverified: no pwsh host). - Added installer static and LLVM target-inference tests.
Worker E (CI gates) handoff accepted by Main Agent. - Preserved existing Linguist policy checks; added ubuntu-latest build-and-test job. - Added reproducible scripts/ci-tests.sh driver covering lexer/parser/interpreter, C runtime, transpiler, wyrpkg, wyrmc Stage 0 CLI and a tiny run smoke test. - No always-failing jobs; LLVM structural test intentionally excluded (no reproducible .ll fixture in-repo). - CI Run #131 root cause not asserted: no log evidence exists in the repository.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
neofilisoft
marked this pull request as ready for review
November 19, 2026 04:23
Owner
|
OK |
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.
Scope
This Draft PR publishes the already-completed scoped repairs for review. It covers 11 audit findings only:
WYRM-01, 04, 07, 08, 09, 10, 11, 13, 15, 16, 17Local branch:
fix/scoped-audit-nonreserved→ baseneofilisoft/wyrm:main.Baseline
a000a55a2f71d2ef4f46555b48767806589f9030→ final HEAD299b368ecacdc577f6a96f82b371297ef7b18949.Five local commits, 18 changed files,
+2755 / -151.Result summary
WYRM-01, 04, 07, 08, 09, 10, 11, 13WYRM-15,WYRM-16— the remaining portions are blocked by reserved-scope overlap (WYRM-12)WYRM-17(PowerShell is unavailable on the Android host)What changed
WYRM-08: C and LLVM backends now emit real short-circuit control flow forand/or, preserving operand-result semantics.WYRM-10: round-trip-safedoubleliterals viastd::to_chars(max_digits10).WYRM-04:wyrpkg add/wyrpkg lockintegrated into command dispatch.WYRM-16: versioned lockfile with remote identity + immutable Git revision, strict parsing, stable serialization and drift rejection. Pinned checkout for fresh remote installs remains blocked.WYRM-09: lexical-state-awarefmtthat preserves strings/comments and refuses to overwrite malformed input.WYRM-11: Stage 0 vs self-hosted CLI gap documented truthfully in help/README;checkis explicitly syntax-only.WYRM-15: C++cleanrestricted to Wyrm-owned artifacts; self-hosted shell-basedcleanleft untouched.WYRM-07: removed hard-coded Windows x86-64 LLVM triple/data layout; clang now derives the host target.WYRM-13: installers build/link the full runtime object set and explicitly require clang for the LLVM stage.WYRM-17: removed global name-based process killing; installer-owned PID tracking and actionable file-lock diagnostics.WYRM-01: preserved Linguist policy checks and added working build/unit/CLI/smoke CI gates via.github/workflows/ci.yml+scripts/ci-tests.sh.Reserved findings — untouched
Six findings are reserved for other contributors and were not modified:
WYRM-02, 03, 05, 06, 12, 14.Verification: the remove/uninstall branch and all shell-invocation surfaces (
system(),cmd.exe/powershellcommand strings, clone/pull/build command strings) are byte-identical to the baseline; no interpreter/ast/runtime/thread files were changed. No opportunistic refactoring was performed.Test evidence
Important: the counts below were recorded in the preceding agent report. The Main Agent independently re-ran the full CI driver on the final HEAD (scratch overlay) and confirmed: lexer/parser/interpreter PASS, transpiler
23 passed, 0 failed, wyrpkg146/146 checks passed, CLI45 passed, 0 failed, and the run smoke test PASS (exit 0). Installer static tests (72/72) and LLVM target-inference tests (8/8) were also re-run and passed locally.23/23, LLVM structural0 failureswyrpkg)146/146 checks passedwyrmcStage 0 CLI /fmt/clean45 passed, 0 failed72 passed, 0 failed8 passed, 0 failedwyrmc_stage0 run)These were executed on aarch64 / clang in an Android Termux environment. A scratch, out-of-repo shim was used for the pre-existing x86 inline asm in
wyrm/lib/stdlib/wyrm_std_random.c; that source file was not modified.Known gaps and limitations
x86_64/ GNU gcc CI is unverified locally until this PR's checks run.WYRM-17is therefore UNVERIFIED at runtime.WYRM-15/WYRM-16retain the blocked portions described above (reservedWYRM-12overlap).> nul; user programs calling os/fs/path/io/http may still fail to link on that route. This is inside a reserved region and was deliberately left untouched.WYRM-08emitted C relies on GNU statement expressions (({ ... })), which gcc/clang accept under-std=c11but are not strict ISO C11.Review status
This is a Draft PR for review only. It is not approved for merge. No GitHub issues are being closed by this PR.