v7.0.0: Mutation testing, structured repair, goal scoring, repo maps, optimize mode#9
Merged
Merged
Conversation
… optimize mode - scripts/mutate-contract.sh: 20 sed-level mutation operators, 70% threshold gate - scripts/localize-failure.sh: structured failure localization (Agentless pattern) - scripts/extract-requirements.sh: spec requirements extraction for coverage tracking - scripts/score-build.sh: 4-dimension build scoring (spec/security/mutation/health) - scripts/build-repo-map.sh: hierarchical cross-layer interface map from ABI - commands/buidl-optimize.md: autonomous optimization loop (Karpathy/Shopify pattern) - Phase R1/R2/R3 structured repair replacing full agent re-dispatch - Cross-layer repo map shared across all 12 domain agents - 607/607 tests passing (110 new tests for v7 features)
…stash inversion - MAJOR: build-repo-map.sh — init variables before isinstance check (NameError fix) - MAJOR: mutate-contract.sh — add source restoration to trap handler (corruption guard) - MINOR: Remove no-op cp, add /g flag to gte-to-lte operator, fix stash to git checkout - 607/607 tests passing
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
scripts/mutate-contract.shapplies 20 sed-level mutation operators to contracts, blocks loop exit below 70% kill ratescripts/localize-failure.sh+ R1/R2/R3 phases replace full agent re-dispatch with targeted Localize→Patch→Validatescripts/score-build.shscores across 4 dimensions (spec coverage, security delta, mutation score, code health) — ALL must meet thresholdsscripts/build-repo-map.shgenerates shared interface map from ABI, referenced by all 12 domain agentscommands/buidl-optimize.mdruns autonomous optimization loops for measurable goals without human gatesChanges
Verification
mutate-contract.shwith empty test dir → mutation_score: 0, verdict: FAILscore-build.sh→ progress-tracker.yaml with 4 dimension scoresbuild-repo-map.shwith minimal ABI → repo-map.md with Contract Layerbuidl-optimize.mdexists with correct frontmattergrep -r "repo-map.md" agents/→ 12 agent filesTest plan
bash tests/plugin-tests.sh— 607/607 PASS