Repository navigation
Skaza - mutation lib - #307
Open
davidabram wants to merge 3 commits into
Open
davidabram wants to merge 3 commits into
davidabram wants to merge 3 commits into
Conversation
Plan a standalone `skaza` Rust crate under `crates/skaza/` that discovers Rust mutation candidates without executing them, copying and simplifying the Rust-only source discovery, six mutation operators, Tree-sitter queries, candidate deduplication, and skip rules from Ooze. The plan defines the `--src`/`--limit`/`--format` CLI contract, acceptance criteria AC1-AC11, and independent Skaza flake checks, while narrowing the CLI Nix source fileset so Skaza edits leave `sce` derivations unchanged. Mutation application and execution are deferred to a follow-up. Plan: skaza-rust-mutation-discovery Tasks: T01-T08 (added, status:todo) Co-authored-by: SCE <sce@crocoder.dev>
Introduce the standalone `skaza` package under `crates/skaza/` as the foundation for discovery-only Rust mutation candidate finding. It ships its own lockfile and is not part of a root workspace, so `cli/` stays untouched. `skaza::Args` (clap derive) exposes exactly `--src` (repeatable, default `.`), `--limit` (`NonZeroUsize`, default 10, actionable error on 0 or non-numeric input), and `--format` (`text`|`json`, default `text`), with no subcommands. `main.rs` only parses arguments; the `source`, `mutation`, `rust`, and `report` modules are empty placeholders, and `queries/rust/` and `tests/` are reserved. Unit tests cover defaults, repeated `--src`, explicit values, zero/non-numeric limit, invalid format, and subcommand rejection. Ignore `crates/skaza/target/`. Plan: skaza-rust-mutation-discovery Tasks: T01 (status:done) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: SCE <sce@crocoder.dev>
This branch has not been deployed
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.
No description provided.