Repository navigation
fix: preserve Hosted minimization rules and source evidence - #123
Conversation
|
@Sonike is attempting to deploy a commit to the priyanshu's projects Team on Vercel. A member of the Team first needs to authorize it. |
CodewithJha
left a comment
There was a problem hiding this comment.
MERGE READY — clears the hardcoded refund_limit default (MUT-008) and preserves original evidence via a child candidate (MUT-019). Real demo-adapter integration suite (16) fails under mutation. Docs contract update is clear. Vercel fork auth ignored; GitHub Actions green.
|
Merged — thank you @Sonike. Violated-hit defaults (no more hardcoded Related follow-ups that match this Hosted/API work: |
Summary
Fixes #61 (MUT-008, MUT-019).
Posting
{}to minimize a delete-rule finding currently checksrefund_limit, and a successful minimization overwrites the original candidate's conversation and trace. Resolve targets from explicit non-empty rule ids, then violated hits, then the genome's targets. Return400 target_rules_requiredbefore execution if none exist.Persist a successful minimized genome as a child candidate using the existing
parent_idrelationship. Keep the original genome, trace and hits available; store the child's own trace and evaluated hits. The response and event retain the originalcandidate_idand exposeminimized_candidate_id(null on non-reproduction). Repeated minimization starts from the original evidence and creates separate children. Document this API contract in the Hosted guide.This uses existing tables without a migration. The trusted demo execution boundary, local CLI/Core behavior and regression-name default (#36) are unchanged.
Type of change
Checklist
Test plan
ea35ad4:uv sync --locked --group dev;uv run --locked ruff check.MUTINY_SAMPLE_OFFLINE=1 OPENAI_API_KEY='' FEATHERLESS_API_KEY='' uv run --locked pytest tests/unit tests/integration tests/reliability -q --tb=short— 692 passed on Python 3.12.scripts/verify_release_artifacts.sh— builds, isolated wheel installation, offline CLI regression fail/fix/pass and database backup/restore passed on the updated base.mutiny --help,mutiny init,mutiny runpassed offline during initial validation on October 12.npm ci,npx tsc --noEmit,npm run buildpassed during initial validation on October 12. The web source and lockfile are unchanged in the refreshed base;npm run lintalso passes on October 15.git diff --check.All six jobs passed in GitHub CI at commit
e17f5cd28110f8533dfe980e4813c3be0b4e7de0: Python lint, backend tests on Python 3.11 and 3.12, CLI smoke, web lint/typecheck/build, and package build. Vercel preview deployment separately requires upstream team authorization.Created with Codex assistance.