| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| mini_ork-0.10.0-py3-none-any.whl | 2026-10-29 | 3.6 MB | |
| mini_ork-0.10.0.tar.gz | 2026-10-29 | 3.4 MB | |
| README.md | 2026-10-29 | 37.7 kB | |
| v0.10.0 -- review layers, self-repairing runs, remote nodes source code.tar.gz | 2026-10-29 | 25.4 MB | |
| v0.10.0 -- review layers, self-repairing runs, remote nodes source code.zip | 2026-10-29 | 27.8 MB | |
| Totals: 5 Items | 60.2 MB | 0 | |
Headline: more checks before a change lands, and runs that recover on their own. A change
now passes a test-gaming scan, a pre-push code review and a risk-tiered merge gate in which
sensitive paths need a person's typed approval; mini-ork reviewer-eval scores the reviewer and
mini-ork undo reverts a landed commit through the same gates. Failed lane calls are classified
and acted on, a hung lane is cut at a first-output deadline, and a failed run repairs itself from
its failed node. Runs can be driven from a Zed thread or mini-ork board, and placed on remote
nodes or Daytona / E2B / Modal sandboxes. The verification stack is on by default.
Added
- Test-gaming scan:
mini_ork.verify.gaming_scanflags production code a change adds that probes the test harness (PYTEST_CURRENT_TEST, pytest imports, MonkeyPatch, frame walks, writes into another module's attributes). It runs by default as framework-edit static-check'sno-test-gamingrow (a kickoffAllow-test-probe: <path>line exempts a path) and inmake worktree-merge. (961fe0ef, edb6b9b2, 08229cad) - Pre-push code review: the pre-push hook runs the code review again (it had been skipping it
since before v0.9.0) through
mini-ork review gate, cached pergit patch-id. Lenses are heuristic unlessMO_REVIEW_LLM_LENSES=1, and the LLM review never runs inside the merge lock. The simple tier warns when the review cannot run;tier: secureinconfig/review.yamlblocks. Findings persist across pushes:mini-ork review findingsandmini-ork review resolve <fp> --as fixed|dismissed|pre_existing. (f9a73858, 476e3648, fd5ce288, 702123f9) - Merge risk tiers:
make worktree-mergeclassifies a branch againstconfig/risk-tiers.yaml(enabled as shipped; the rules are read from origin/main, so a branch cannot loosen its own check). A high-tier change (frozen kernel, CI, git hooks, migrations, installers, vault and secrets, merge and approval code) merges only aftermini-ork approvals approve wt:<slug>, typed at a TTY with the first 8 characters of the patch id. The merge driver also refuses paths outside the worktree's--ownsclaims and confidential terms or credential shapes (MO_MERGE_ALLOW_UNCLAIMED=1,MO_MERGE_ALLOW_OSS=1), and pushes under a lock withMO_MERGE_PUSH_ATTEMPTS(5) retries. (08229cad, bb308428, 64a4a42d) - Human review gates and
mini-ork approvals(off by default): withbefore_merge: requiredinconfig/review.yaml, a workspace merge waits for an approval bound to its exact content, andmini-ork runworks in its own worktree (also selectable with--workspace worktree|in-place).after_nodesparks a run asreviewing(rc 9, no rollback) untilmini-ork approvals approve|request-changes <run> --node <id>. (9c4a48f7, e71555a7, e27da337, a8dbc2dd) mini-ork undo <commit|rsi-cycle-id|run-id>: reverts a commit that landed on origin/main as a newgit revertcommit, through a claimed worktree, the green gate and the merge script's locked push. It never rewrites main and refuses unsafe targets (a merge commit without--mainline, a commit already reverted). Each undo writes anundorow toaudit_log;--dry-runprints the plan. (27f04217)mini-ork reviewer-eval: scores the framework-edit reviewer on recorded incidents and clean landings (evals/reviewer/cases/), with the inputs a real run gives the reviewer. Verbs:list,add-case,refresh-evidence,run,status,score;run --dry-runspends nothing, andstatusexits 1 (andmini-ork gardenwarns) when the reviewer changed since its last score. (36715db8, 2340482d, 1ccebeb7)- Revise loop:
retriesedges, which the compiler accepted but the runtime ignored, now send a failed verifier's or reviewer's findings back to the implementer for up tomax_roundsrounds before rollback (MO_REVISE_ROUNDS, default 2;0restores the old behaviour); code-fix and framework-edit declare them. From round 2 the framework-edit reviewer sees its open findings (revise/findings.json) and only the changes since its last review (MO_REVIEW_CONVERGE, on). (2be82523, 547d0522) - Typed failure classes, a first-output deadline and lane affinity: a failed lane call is
classified (rate_limit, quota, credential, timeout, environment, ...) and one action table
decides whether to retry, move to the next lane or stop. A streaming lane that is not last in its
fallback chain is cut after
MO_DISPATCH_FIRST_OUTPUT_S(default 300 s;0disables) with no model output. A node's later rounds start on the lane that served it while the routing lead is unchanged (MO_LANE_AFFINITY=0disables). The lane fuse is now on by default (MO_FUSE_ENABLED=1), keys on the lane that ran rather than the node's role, and ignores faults the lane did not cause. (437b2fa3, 7a9affcf, f6b762e0, edd0f1db, e3649b22) - Lane health gate before a run starts:
mini-ork runprobes every lane its LLM nodes will use (native Anthropic lanes included) and refuses to start (rc 75) when one is unhealthy, naming the lane, role and node.MO_LANE_HEALTH_GATE=0skips it; a lane that could not be probed blocks only withMO_LANE_REQUIRE_VERIFICATION=1.mini-ork validateruns the same probe. (b3c80bb5, aaac165d, cbc6088b, 1172a9fd) - Per-node
retry:and conditionalretriesedges: a node that fails for an infra reason (timeout, provider limit, network, killed) is re-dispatched with LangGraph RetryPolicy defaults (3 attempts, exponential backoff with jitter) unless itsretry:block says otherwise; a malformed block fails closed. Aretriesedge can carry acondition:(a JSON pointer into the node's output, a JSON Schemamatch, optionalnegate). (aadb712a, d6ebca30) kind: mockprovider: a lane that answers from a YAML rules file (match on prompt regex, lane and attempt number; reply with text or a preset failure such as rate_limit, quota or timeout) with no network call or subprocess, for deterministic retry, fallback and fuse tests. Seedocs/operator/mock-provider.md. (f8dad712)- Auto-repair (on by default): a failed run is revived from its failed node: a lane switch for
a dead lane, a re-run for an infra fault, a revise round for a code fault, otherwise a hand-off
to a person. Capped by
MO_AUTO_REPAIR_MAX(2) andMO_AUTO_REPAIR_BUDGET_USD(10);MO_AUTO_REPAIR=0turns it off, andmini-ork repair <run> [--dry-run]runs one decision. (42318604, 21306bf7, 331dc5c6, 6a812d5f) - Failure attribution and fix epics:
mini-ork triage --run <id>|--latest [--promote](orMO_FAILURE_TRIAGE=1) attributes a failed run to mini-ork or to the consumer repo and can queue a fix epic. Auto-repair writes a typed, evidence-citingdiagnosis.json; an engine fault opens a linkedframework-editepic and parks the run until the fix lands (MO_AUTO_ESCALATE, on), under a policy those epics cannot edit (config/kernel-frozen.yaml). (c94a9a29, 8932a011, 1d88b72e, f36e372d) mini-ork supervise [--once|--interval S]: a sweep that revives runs parked on a fix epic once the fix lands on origin/main, marks failures that were delivered another way with a newsupersededstatus, and applies proposed graph patches. Starting one ready epic per sweep is opt-in (dispatch_epics.enabled; needs atarget_rootoutside the engine checkout). (f1f93760, a9cbcfc0, e15d8f42, c6de292b)mini-ork recoveroptions, retry hints and graph patches:--lane <alias>=<lane>resumes from the failed node on another lane,--strategy verifyre-runs only the verifier chain, and--carry-patchre-applies a rolled-back run's patch. A failed run'sretry-hint.jsonnames the failed node, the cause and the command to continue.mini-ork graph-patch list|propose|validate|apply|creditmanages write-once patches (rerun, swap_lane, insert_before, replace, replan, split) applied throughrecover --workflow. (d0813766, e77fc90f, cfb33dee, 7a85d5df)- Epic queue commands:
mini-ork epics add --title T --kickoff FILEqueues a task,epics status <id> <status> --notecorrects a row (cascading ondone), andepics archive <id> --noteretires one that will never run.scheduler --epic ID/MO_SCHED_EPIC_FILTERlimits a pass to named epics, andbudget.per_epic_usd, previously display-only, now stops an epic whose attempts reach it (MO_PER_EPIC_USDoverrides). (446277b7, 35bc52d1, 69c1122d, 7aa2611f) - Per-run orchestrator, on by default: on dependency-graph runs it reads each node's typed
outcome at the node boundary and picks one action (advance, help with a guarded steering nudge,
repair through a retries edge, mutate as a proposal only, or promote), recorded as an
orchestrator.<action>run event; green nodes are skipped. Spend is capped byMO_ORCH_BUDGET_USD(default 1.0) against the run's ledger;MO_RUN_ORCHESTRATOR=0turns it off. (3a913a81, ec0edcd5, 0af700ca) - One orchestrator per run, on two cadences: the per-run orchestrator keeps its node-boundary
decisions and gains an interval cadence hosted by one detached, model-free process per run
(
mini-ork orchestrator watch <run_id>): everyMO_ORCH_WATCH_INTERVAL_S(20 s) it samples the live node with the ACP thread's own detector, writesorchestrator.watching/.signal/.steered/.endedrows the run page already renders, and — on a stall, withinMO_ORCH_WATCH_MAX_STEERSandMO_ORCH_BUDGET_USD, and afterguard_steer— injects one operator-steering nudge.MO_ORCH_WATCH_AUTONOMYselectssteer(default) /notify/off. Zero model calls, one OS process per run, never one per node. A live watcher suppresses the ACP thread's duplicate sampling; the attention strip now names a run whose watcher raised trouble or whose dispatcher died. Seedocs/operator/feature-flags.mdanddocs/OPERATOR-STEERING.md. (fae2a7a5, 3f1634b9, c204a836, 59589568) - Runs and slash commands in the Zed thread: a run streams each agent's live output under its
node, shows its workflow as Zed's live plan, puts its changes in Review Changes as per-file
diffs, and titles the thread with its state (working, needs you, done, failed); Thread History
reopens past runs and attaches to live ones.
/runs,/status,/cost,/lanes,/stop,/kill,/resume,/recover,/certify,/recipes,/automationsand others act directly;/recipe new,/automation new,/kickoffand/taskshow a draft card and create nothing until you click. (058a1fc7, 3b413bfe, 1aef1721, 70d5e08a) - Review and merge in Zed: a thread's run works in its own git worktree and branch; a verified
result arrives as Zed agent edits, otherwise the card offers Merge / Discard / Keep for later (a
parked run: Approve / Request changes).
/race [lanes] <task>runs one task on 2-3 models (MO_RACE_LANES, default sonnet, glm, minimax) and merges the one you keep. (8711b309, 54080b00, c942f63c, 5f073f9f) mini-ork zed setup|status|uninstallandmini-ork mcp-context:zed setupwrites the ACP agent and MCP server entries into Zed'ssettings.json(absolute paths, the shell's PATH, a backup first;--layoutarranges the panels), andmini-ork acp --setupchecks the project, the claude login and lane keys and offers fixes.mcp-contextis a read-only stdio MCP server over the project's.mini-ork(runs, learnings, cost, lanes, recipes, automations);--controlorMO_MCP_CONTROL=1addsstart_run,wait_for_run,run_status,stop_run,certifyand recipe-draft tools that render a small JSON spec into a schema-valid recipe under.mini-ork/recipe-drafts/. (6d742553, 2fc35f25, 6115a29e, 3c6c0c39, ff362bc9)mini-ork board: the project's live state as one JSON document (runs, learnings, automations, scheduler, recipes, workspaces).board run <id>adds the kickoff, artifacts and diff,board page <key>returns any IDE page as data, and verbs (merge,discard,stop,kill,resume,gate,steer,answer,race-keep, ...) back the IDE's buttons;mini-ork serveanswers the same reads under/ide. (cb4e8c24, 8595ddb5, 70635759, bec8543f)- IDE pages: the run page (DAG, Outcome, Checks, Changes, Orchestrator, Messages, Kickoff,
Agents, Learnings, Artifacts) names the failed node and whether the fault looks like mini-ork's
or the task's, checks each success criterion against evidence, and shows spend against its caps.
Other pages: an attention-first Inbox, a Board with epics and imported tickets, an Orchestrator
page, Learning & memory, Setup & health (writes
.mini-ork/config/features.yaml), Nodes, and Context pages over ContextNest. (3ff8d045, 22c36d27, cd8774a8, 301af361) - Threads (
mini-ork threads list|show|send|continue|attach): durable multi-turn work driven from the CLI with no server.sendsteers a live run or, once it has finished, starts the next attempt with the transcript and prior outcome in its kickoff;continueforces a new attempt;attachadds files the next run is told about. The agent-server'sPOST /api/conversations/{id}/eventsnow continues a finished conversation instead of answering - (76051a32, 214895ce, 1c575dc0, 012d3fe9)
- Work intake from tickets:
mini-ork pm sources|add|test|remove(config/pm.yaml) registers mini-ork's own epics and read-only GitHub, Linear and Jira sources (onlylocalis enabled as shipped; tokens resolve from the vault).mini-ork intake once|poll|status|reportstarts a run, or continues the ticket's thread, for a ticket that matches the source's opt-in trigger rules. The simple tier polls outbound; the secure tier is a signedPOST /api/v1/intake/{source}, off unlessMO_INTAKE_WEBHOOKS=1. Withwrite_back: true, a finished run comments on its Linear or Jira ticket. (789a1376, e29fa1b3, 5dd61439, 1be093e8) - Chat transports (Telegram, Slack, Discord): a message from a channel listed in
config/chat.yaml(allow_channelsis required and default-deny) launches, steers or continues a thread's run. Simple tier:mini-ork threads serve, with no public URL (Discord:--onceonly). Secure tier: signedPOST /api/v1/chat/{telegram,slack,discord}, which answers 503 while the vault reports a protection gap. Replies are not posted back to the chat. (bb258b91, 991a8f59, 47de862d, 2d1852b2) - Secret vault (
config/vault.example.yaml,mini-ork vault status|which):${NAME}secrets resolve through a backend chain: env, the 0600secrets.local.sh, sops, acommand(pass, op, ...) or OpenBao KV-v2 with per-role policies (docker/openbao/). With novault.yamlthe chain is env thensecrets.local.sh, andmini-ork doctornames that protection gap.mini-ork mcp launch|proxy <name>lets Zed start MCP servers without holding their secrets. (35d04ace) - Scheduled automations (
mini-ork automations add|list|pause|resume|run|remove): a recipe, a kickoff and a 5-field cron schedule per automation, stored in<home>/automations.json.automations scheduler installadds a 60 s tick (a LaunchAgent on macOS, a crontab line on Linux) that fires each due automation as an ordinary run in its own worktree, with the editor closed. Missed windows are not backfilled. (9570a943, c699b834) - Remote nodes:
mini-ork node-agentserves a bearer-token HTTP node agent (--runtime docker|host), andmini-ork run --placement remote --env <profile>(MO_PLACEMENT,MO_NODE_ENV) runs agent CLI spawns and verifiers there, while in-process logic, tool-less HTTP lanes and the publisher stay local. The target syncs as git snapshots that never touch your index, HEAD or stash, and the run dir is mirrored back. Profiles (config/environments/<name>.yaml) set setup, resources andnetwork: allowlist. Output streams live, kill stops remote processes, and a restarted control plane reattaches instead of re-spawning. The node agent can also run long-lived services (/v1/services) with volumes, snapshots, private networks, exec and logs. (f7050f0d, fdc18a99, 2b499be3, 5748273f, c554c0ad) - Cloud sandbox providers: Daytona, E2B, Modal (profile
provider:,MO_NODE_PROVIDER): each run gets one sandbox running the node agent, removed at run end (sandbox-gc --backend allsweeps leaks); credentials fail closed. Daytona and E2B passed live smoke runs; Modal is tested offline only. A baremini-ork runadoptsMO_DEFAULT_NODE_ENV(defaultdaytona) when that profile exists (--placement localorMO_DEFAULT_NODE_ENV=offopts out), andMO_NODE_ISOLATION=1(off by default) gives each workflow node its own sandbox. (8ac86ae9, 418286f8, cac7749b, 64a3426c, dd15418f) - Per-lane secrets on remote nodes and
mini-ork nodes ls|ping|doctor: a remote spawn gets only the lane keys the profile'ssecrets:allows, or is refused before any request; anthropic-native lanes needCLAUDE_CODE_OAUTH_TOKENorANTHROPIC_API_KEY. Secrets in output are masked, andnodes doctor --env <profile>checks a node end to end. (74b22675, 1bd68763) - The verification stack, on by default: six techniques from the 2000-paper verification
review (see
docs/architecture/verification-stack.md). Metamorphic relations in the certify oracle (certify/relations.py, veto + rescue); differential base-vs-patch check (certify/differential.py, collateral-damage veto); mutation-based suite adequacy in the code-fix verifier (gates/suite_adequacy.py); non-nested five-level verdict vector + publisher gate (verify/levels.py); gate-hackability audit + promotion consumer (gates/hackability.py,gate-fuzz --hackability); declared equivalence operator for the behavioral verifier (verify/equivalence.py). Each was built by a mini-ork framework-edit run with RSI on and proven by a real mini-ork run. Disable any feature with its master knob set to0. (b976ca71, 0e41c887, a7516a5b, f39cd4c6, cf5c4acf, 98145717, f4110a93) - Fail-to-pass replay beyond pytest: the code-fix/certify delta-gate replay reads jest/vitest
JSON and JUnit XML (or results a script writes to
MINI_ORK_TEST_RESULTS_DIR), parsesgo testandcargo test, and judges any other command by an exit-code delta when both logs show tests ran. Overlapping tests run a second time so flaky ones are dropped (MO_REPLAY_FLAKE_RERUN=0turns this off). (3a943c58, 31770020, ad507150, fc4e94ec) - Toolchain failures abstain instead of failing the code: a verifier may report
failure_kind: code | toolchain | infra. Atoolchainfailure (the tool never started, or a signal killed it) gives the node a third outcome (rc 3): no failure is counted, nothing goes back to the implementer, the edit is kept, publish is held and the run shows as needing you. The tier1 verifier emits it. (d00d0baa, 94333d9b, ce92f4d0) - Certify vetoes in the code-fix verifier: on a green replay the test verifier also runs the
metamorphic-relations and differential vetoes and records them under
certifyinverifier_test.json.MO_CODEFIX_CERTIFY=shadow(default) never changes the verdict,gatewithholds publish on a REFUTED veto without rolling back, and0turns it off. When the suite is INADEQUATE, a lane writes tests aimed at the surviving mutants, recorded only (MO_SUITE_STRENGTHEN=shadow). (bdd5e02b, d526ca21, 564ce92f) - framework-edit verification gates: before the implementer starts, a second model writes blind
spec tests from the kickoff;
spec_test_verifierruns them and fails any test edited after it was written.kickoff_contract_verifierruns the kickoff'smeasureblocks and checks every "Required artifacts" path. static-check runs the repo's ruff blocking tier and fails files outside an "ONLY" scope, and publish is refused if the diff changed after verification. (640f80d3, a7caba16, 9ce327e0, 0e0c9bd4) mini-ork rsi-cycle: runs self-improvement cycles. A cycle harvests gaps from the state DB, code checks and probes, hasrecipes/rsi-cyclepropose a fix for the top one, and has a framework-edit child build it; it merges only if merge gates G1-G11 pass and two critics from distinct model families (neither the implementer's) agree, and otherwise quarantines.plananddoctorare read-only;list,show,quarantine,revert,haltandresumemanage cycles. Config is one strict file (config/rsi-cycle.example.yaml; withoutdecide.auto_mergeevery cycle quarantines), with a launchd plist and a collapse halt that writes<home>/rsi/DISABLED. (7321323d, 1a5b6075, 382bd86f, 785e91f7)- Research-driven RSI candidates and gate G12 (
research.enabled, off by default): technique reviews become candidates that merge only when a sealed, paired test on a benchmark (built-inverifier-replay) shows a gain with no regressions; a no-gain attempt is revised from dev-split feedback. With research on, each cycle first refreshes a stale technique review and runs the benchmark canary, which drops technique candidates once it halts adoption. Addsrsi-cycle researchandrsi-cycle impact. (d07ffa2a, d9ef99cc, 108e8d1e, 81272738, 18ac9954) mini-ork prefs list|set|approve|rm|preview: operator preferences reach every researcher, implementer and reviewer prompt (before, they reached only the planner's context pack, which no prompt read).--scope path --target <glob>limits a rule to runs whose file scope matches, andprefs preview <kickoff> --node implementerprints what that node would get. (4d21a384, 4ceb277c)- Context v2 (
MO_CONTEXT_V2=off|shadow|on, defaultshadow): selects prompt context by the kickoff's files in scope, mainly review and verifier findings on those files, instead of by task class.shadowonly recordscontext-pack.v2.json, andmini-ork metrics contextmeasures it. Findings expire afterMO_CONTEXT_V2_MAX_AGE_DAYS(30), or once stale at HEAD or landed. (eb00a784, 39cda6c3, 2c5f5ad9, 3515640d) mini-ork onboard: a first-run wizard that takes a fresh machine to a runnable workspace: prerequisites (python≥ 3.11,git),mini-ork init, and a credential check that never calls a provider. It can also install the two optional satellites: ContextNest (clone,cargo build --release, seedconfig/contextnest.yaml) and Zed (wiremini-ork acp/mini-ork mcp-contextintosettings.jsonviamini-ork zed setup). Components default to on only when their toolchain is present. Flags:-y,--workspace,--with,--no-contextnest,--no-zed,--secure(fails closed instead of writing a local secret file),--skip-build,--dry-run,--strict,--json.install.shoffers the wizard at the end of an interactive install (including pipedcurl … | sh, via/dev/tty) and runs it in the directory the user started from; setMINI_ORK_NO_ONBOARD=1to skip. (c084b1a4, cb18ec78)spec-driven-deliveryrecipe: spec-dir → verified features with live smoke + UI-craft gates. Each spec in a## Spec dir:directory becomes a SpecCard whose acceptance gates are written before implementation and must fail on the untouched tree. Every deliverable goes through its ownrecursive-validate-implchild run; per-gate verdicts land in a traceability ledger.mini-ork specs ingest|lintchecks a spec dir without a run, andtests/test_sdd_e2e_dryrun.pyruns the deterministic spine on a fixture repo with no LLM lane. (9bbe170b, 041222ff, 6266ebeb, 37ae45b9)- New recipes: judge panels
audit-judge-panel-3l,audit-judge-panel-4l(its gate needs four distinct served models),session-task-judgeandstar-growth-panel; literature reviewscoord-technique-review,verification-technique-review,author-style-imitation-review,self-improving-harness-researchandcoverage-planning-research; andregistry-audit, which audits each feature-registry row in its own read-only child and resumes from a per-item checkpoint. (ccef3fd8, 738a938b, 0918cf4f, 1e96793c, c944bbba)
Changed
mini-ork acpthreads talk to an orchestrator: in v0.9.0 each prompt launched a run; now a Zed thread is a conversation with an orchestrator agent (default lane opus, switchable from Zed's model picker) that answers, starts runs or edits files itself;/run <task>still launches directly. Threads persist in<home>/acp-threads/, reopen from Thread History and accept images. The orchestrator reads only the project's Claude settings, not the user's. (eca51e38, 7c0aa9e4, 784532f5, 26424c4b)- Agent sessions use mini-ork's Claude settings, and lanes cannot push: claude-CLI nodes run
with
--setting-sources project,localplusconfig/agent-claude-settings.json, so the operator's personal hooks, CLAUDE.md and skills stay out (MO_NODE_SETTING_SOURCES=empty restores the old behaviour). Anygit pushinside a lane fails unlessMO_LANE_ALLOW_PUSH=1. (b9242dc5, e34d4942) mini-ork run --resume <run_id>skips what succeeded, andrun --set K=V:--resumere-dispatches only the nodes that did not succeed, from a per-node completion ledger and the run's existing plan;--checkpoint-idrewinds in completion order; a run with no checkpoints or no plan is refused instead of restarted.--set K=V(repeatable) overrides a feature flag for one run; premium knobs are dropped unlessMO_ACCEPT_PREMIUM=1. (bd789718, c96414b1, 8c612b92)- Publish lands only the run's own, verified change: an in-place publish commits the run's
authored patch through a private index (it used to
git addwhole files, which swept in other sessions' edits). It abstains when the patch drops a declared file, when a gating verifier orverdict.jsonsayspass:false, or when it touches a frozen path (config/kernel-frozen.yamlplus a built-in floor;MO_ALLOW_FROZEN_EDIT=1overrides). (3b56dbe3, c61236c8, b2814a35, e0e99542) - Rollback saves the run's work first: before a failed run is reverted, its change set goes to
refs/mini-ork/salvage/<run_id>plus<run_dir>/salvage.patchandsalvage.json(restore commands), files it created are copied to<run_dir>/rolled-back-created/, and the revert is skipped if nothing could be saved. (a677ef1c, 1cd279d7, 16bc38a7) - Only verified learnings reach prompts: nodes no longer get raw gradient records or patterns
without an authored lesson (
MO_INJECT_UNVERIFIED=1restores gradients), and the planner drops ContextNest, role-pack and active-state blocks unlessMO_PLANNER_SHARED_CONTEXT=1.mini-ork apply --revert-unverifiedremoves prompt directives that were never measured. (b13a285d, 2f99fee8, ea1ecd9d, c4e853b3) - The code-fix test verifier no longer passes a red or unrunnable baseline: a red base is
judged test by test (a test that passed on base and fails after the patch fails it; no
regression means abstain;
MO_TEST_LEGACY_RED_BASE=1restores the old pass). A base that never ran (rc 126/127/77 or a launch error) abstains asbase_unrunnable. Deleting a test or adding skip/xfail markers fails unless the kickoff orders it (MO_ALLOW_TEST_CHANGES=1overrides). (4a958cde, d293ab0c, eef720b2, 86a0cf87) mini-ork validatechecks recipes againstschemas/workflow.schema.json: it reports schema violations, errors when two recipes declare the same task class, and warns when a workflow or contract names a different one. Five edge types (supplies_context_to,verifies,blocks,human_decision_gate,verifies_user_choice) are now deprecated aliases ofdepends_onfor one release;validatewarns once per recipe that uses them (rc 1 under--strict) and on plain-stringcondition:values, which the runtime ignores. (a7e1c07f, b10821ea)- README is install-first:
README.mdnow covers quick start, themini-ork onboardsteps, the optional ContextNest and Zed components, a first verified run, everyday commands, upgrade/uninstall, and a docs index. The positioning, measurements, feature inventory, self-improvement loops, and safety discussion moved todocs/WHY.md, which the README links to. The large in-README certify demo is condensed to one example. (c084b1a4) - License names the copyright holder:
LICENSEwas the untouched Apache-2.0 boilerplate, so its appendix still readCopyright [yyyy] [name of copyright owner]and no distribution metadata named an author. It now carriesCopyright 2026 Amir Khakshour,pyproject.tomldeclareslicense = "Apache-2.0"(PEP 639) withlicense-files = ["LICENSE", "NOTICE"], andauthorsnames Amir Khakshour instead of the org. The wheel'sLicensefield had been empty; it is nowLicense-Expression: Apache-2.0. (9d264aa6) - One version source, and CI is the release gate:
pyproject.tomlnow readsmini_ork/version.py(dynamic = ["version"]), so the distribution metadata,mini-ork version, the--helpheader and the ACPinitializehandshake cannot disagree — they did:--helpsaidv0.1whileversionsaid0.9.0.release.ymlnow calls.github/workflows/ci.ymlas a reusable workflow instead of running its own narrower ruff + unit gate, and it fails closed when the pushed tag does not matchmini_ork/version.pyor when the built wheel does not carry the tagged version. Av*tag can no longer publish an artifact from a commit the full matrix never accepted. (0264da4d) - The IDE crate has its own repository:
SourceShift/mini-ork-ui, vendored here as theui/git submodule — and in thezed-mini-orkfork atcrates/mini_ork_ui/— instead of being checked in. Clone with--recurse-submodules; edit the crate in its own repo.install.shnow fills the submodule in (best-effort — the Python runtime does not need it, so a fetch failure warns and continues), anddocs/UI.mdgained a Building the IDE section pointing atgit clone --recurse-submodules+script/mini-ork-buildin the fork. (e335370a, 6ba54378)
Fixed
- Run cost, budget guards and the cost pause: the
MO_DAILY_BUDGET_USDcircuit and a run's reported cost now read thellm_callsledger; guards that summedtask_runs.cost_usdsaw about a third of real spend, and each planner dispatch added a flat $0.05. TheMO_PAUSE_EVERY_USDpause now stops new dispatches, andmini-ork resume <run_id>restarts the run (--no-restartonly clears the sentinel). (5aa7f824, c975c84b, 0438ab65, ac76a64a) - Timeouts and kills stop everything a run started: a node timeout also kills the commands the
agent ran in their own process groups, killing a run signals the owner's whole process tree, and
the wait after a kill is bounded (
MO_KILL_REAP_TIMEOUT_S, default 30 s). A run whose dispatcher died no longer reads as in flight;mini-ork reap [--dry-run] [--stale-after DUR]fails such runs. (2b3532de, a0085c50, be27fb4d, 7954fa6f) - Run targets and failure records: a named target that is missing (
MO_TARGET_CWD,MINI_ORK_TARGET_REPO, profiletarget_repo) fails the run instead of falling back to the engine checkout, and a kickoff stored under the mini-ork home no longer pins the run to the engine checkout. Every failed run records why, andexecute.logis written as the run goes. (83421eaa, 30b18f02, 85672b8f, ca261195) mini-ork recoveron dead or stopped runs: it closes the dead attempt's open nodes, so the stale-heartbeat watchdog no longer aborts it or leaves the rowexecuting; clears a stale stop request that made it skip every node; keeps the run's task class so the right publish gates apply; and no longer reuses a node whose verifier failed after it. (bfe2f838, 623e91ad, d53b5bb9, 53004136)- Web control routes refuse a foreign Origin:
POST /api/v1/task-runs/{id}/stop,/killand/answersnow use the local-caller guard; before, any web page the operator visited could fire them with a no-cors POST or through DNS rebinding. Callers that send no Origin (IDE, ACP, SDK, curl) are unaffected. (c0f1b1e6) MINI_ORK_ON_EVENTand OTel export run: v0.9.0 documented both, but nothing called them. The hook fires after every run event plus a newrun_finished(split with shlex, no shell, at most 8 at once; heartbeats only withMINI_ORK_ON_EVENT_HEARTBEATS=1). Every finished run is exported to Langfuse/OTLP when the Langfuse keys resolve through the vault (MO_OTEL_EXPORT=0opts out); the unwiredMO_OTEL=1buffer andotel_export --from-jsonlare removed. (d322c5ab, d10a34a2)- Reflect and lesson injection: nodes got an empty learned block when only
MINI_ORK_HOMEwas set, and a refused dispatch ended gradient extraction with no message. The extractor's fixed 120 s cap is nowMINI_ORK_GRADIENT_TIMEOUT_S(default 300), and post-run reflect reads only its own run's traces and runs detached (MO_REFLECT_INLINE=1keeps it inline). (ef1765de, cd107afd, f1dc3604, 26717cdf) - Verifiers run the right command against the right tree: the code-fix test gate uses the
run's declared verification command before auto-detecting a runner; when the implementer
committed its patch the replay base is
pre-implementer-ref, not HEAD (correct patches were refuted astests-do-not-exercise-change). A project recipe under.mini-ork/recipes/supplies its own contract and verifiers (such runs endedvacuous), framework-edit verifiers test the target worktree with its submodules rather than the engine checkout, and shell-out verifiers use the target's package manager instead of a hard-codednpx. (be67f084, 2591ca86, 1abbd531, f1ca58d9, c9e15858) install.shon a fresh Linux host: runsscripts/install-system-deps.shwith bash instead ofsh(dash on Debian/Ubuntu) and stops with a clear message if bash is missing, probespython3.13before a possibly-3.14python3, limits the optionalverifiersengine to Python < 3.14, and keeps the runtime pointer inside the venv. (90e08e75)- certify bounds and retries every oracle lane call:
certifyused to call the lane with the dispatcher's defaults (25 min, 60 turns), so one stalled gateway call pinned a verdict for up to 25 minutes with nothing printed; the demo's PROVEN path made six such calls (one measured at 6m43s on a lane that answers in 4 s). Calls now run underMO_CERTIFY_LANE_TIMEOUT_S(180 s) andMO_CERTIFY_LANE_MAX_TURNS(8), are retriedMO_CERTIFY_LANE_RETRIES(1) times, and print one progress line per call on a terminal (MO_CERTIFY_PROGRESS=1elsewhere); a call that still fails makes the oracle abstain (UNVERIFIED) instead of hanging.mo_llm_dispatchnow threads itsmax_turnsargument into the request; it was accepted and dropped on both the single-lane and fallback paths. (ca2074af) - Certifying oracle gates defer on absent evidence: the coalition, liveness and stability gates defer instead of passing when there is no evidence (hackability 0.8 → 0.0). (b53b6c0d)
- framework-edit verifier nodes: they no longer require the
verdict.jsonthey are about to write (6/6 builds skipped review), and recipe verifiers import the engine that dispatched them. (ad37d26f, fc9a210a) mini-ork verifyevidence: evidence logs are unique and diff paths are key-level, and the hackability proposer dispatches from a scratch target dir. (f5aa21ed, d69cbafd)
Removed
- Browser UI: the vendored agent-canvas SPA that lived in
ui/and the olderui.old/frontend are gone (ui/now holds the IDE crate submodule; see Changed), with the release's SPA tarball and theweb-deps,web-build,web-dev,web-upandweb-snapshotmake targets.mini-ork servekeeps the JSON API and answers/with a{ui_built: false}stub; the UI is now the Rust IDE crate in thezed-mini-orkfork. (40903048) mini-ork improve,mini-ork evalandmini-ork promote: removed with theirbin/shims andlearning/group_evolver.py. They never promoted anything (evalskipped every task,promoterefused every candidate); promotion goes throughmini-ork apply. (222219e0)- Unread
workflow.yamlkeys: per-nodegates:and nodemax_cost_usdleave the schema; runs ignore them as before, andmini-ork validatenow errors on them. The abstain gate evaluator, which only that list could turn on, is gone too.recursion:takes exactlymax_iterationsandbudget_cap_total_usd;budget_cap_per_iter_usd,convergence_checkordivergence_killnow fail the load. (04b67bd5, e9682838, 669c181c) - Bash-era code with no caller: the healer/cleaner/finalize chain,
mini_ork/cache.pyand the epic auto-merge/PR helpers.MO_AUTO_MERGEleaves the settings catalogue, and the docs stop advertising it andMO_OPEN_PR(neither did anything). Also gone:scripts/mini-ork-worktree.sh(make worktree*usesscripts/mini_ork_worktree.py) and the emptytextual_gradientstable (migration 0068). (e404bd14, b1c8e475, bcee2dff)
Full changelog: CHANGELOG.md (github.com) · v0.9.0...v0.10.0
Install: curl -fsSL https://raw.githubusercontent.com/SourceShift/mini-ork/main/install.sh | sh