Port mutation harness to Node (drop the lone .py) - #19
Merged
Conversation
The harness was the only Python in an otherwise all-TypeScript/Node repo — it started as bash, went Python to escape shell-quoting of TS string literals, but that's a non-issue in Node. Rewrite as scripts/invariant-mutation-probe.mjs (Node built-ins only: child_process/fs/path), delete the .py, and point the CI step at `node` instead of `python3`. No new language in the stack, no python3 dependency in CI or pre-push. Behaviour is identical: same edge table, same ANCHORED/VACUOUS/SHADOWED/INVALID classification (NO_COLOR + ANSI strip + multi-marker match), --changed incremental mode, strict exit, captured-output diagnostics, git-revert safety. Verified locally: full sweep 6 anchored / 1 shadowed / exit 0; fail path (drifted match) exit 1. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
mnemion | 35f7972 | Jun 25 2026, 07:37 PM |
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.
The mutation harness was the only Python in an all-TypeScript/Node repo (it went Python to dodge bash string-quoting, a non-issue in Node). Rewrite as
scripts/invariant-mutation-probe.mjs(Node built-ins only), delete the.py, and point the CI step atnodeinstead ofpython3— no new language in the stack, nopython3dependency in CI/pre-push.Behaviour identical: same edge table, same ANCHORED/VACUOUS/SHADOWED/INVALID classification (NO_COLOR + ANSI strip + multi-marker match),
--changedincremental mode, strict exit, captured-output diagnostics, git-revert safety. Verified locally: full sweep 6 anchored / 1 shadowed / exit 0; fail path exit 1. This PR touches no chokepoint, so the PR-event step runs--changed(trivial pass); full-mode runs on the post-merge main push.🤖 Generated with Claude Code