Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[0.18.0] - 2026-11-19
Changed
Releases are manually dispatched from a reviewed versioned commit. Validation, archives, and tags use that same SHA; the independent auto-bump workflow is removed. Conflicting tags and existing registry versions fail closed.
Diagnostic verbs require supplied topology, layout, observation, and evaluator inputs. Research promotion no longer synthesizes a passing final test.
Experimental admission reports use
source_label_accepted,ledger_match, andledger_misswithgate_status=not_evaluated. Causal support is labeledcaller_asserted; consumers should update comparisons with the former labels.Provider normalization is owned by injectable
OpenAIRequestPolicy. Inspection hashes the full normalized body, including tool descriptions, without a cache hit claim. Denial memory is injector-scoped and shared with its authority gate.Obsolete migration guides and overlapping Trouble notes are consolidated. Published HTML paths redirect; repository source citations use the new paths.
Added
A tracked-file hygiene check rejects local artifacts and recognizable secrets with redacted findings. Dotenv files stay ignored;
.env.examplestays tracked.Cloud OpenAI testing with
OPENAI_API_KEYfallback and defaultgpt-6-luna. Chat Completions maps completion-token limits and keeps internal graph metadata out of provider requests. Static stories use memory responses; cloud tests require explicit live opt-in.Nested graph calls preserve frame return metadata so parents can resume from committed child results. Recursive and inference-frame stories cover returns.
Experimental offline reports for claim/ledger review, paired task/harness verdicts, and selected request-prefix fields, with attributed Fangore and Taloneth walks. These helpers consume caller-supplied evidence; source verification, effect dispatch, and provider cache measurement remain host work.
Release documentation now includes provider API reference, executable report examples, and an explicit list of remaining Trouble acceptance gaps.
Verify failure escalate to decompose: after
verify_runsrepair is exhausted (or a coding work item fails),ProjectCodingLocalWorkbuilds one consolidated restore-and-finish brief (decompose_instructions_from_failures), restores a pre-burst workspace checkpoint, and retries once in oneshot mode; if that still fails it yieldscontext_version=decomposeguidance (decompose_guidance_ask) so the driver can clarify. Escalate briefs keep full goal text plus a fixed no-eval/exec/literal_evalnon-negotiables block (no 400-char clip).AnswerBody.on_decompose: durableanswermay drain onecontext_version=decomposeyield (accept_proposed) so linear coding story walks reachcompletedafter verify escalate. Calc CLI stages seton_decompose: accept_proposed.Coding implementation scope preamble: project-coding tool-loop system prompt and per-todo work brief constrain speculative next-stage features while requiring previously green host checks to stay green (extend, do not replace). Planning / ideation paths are unchanged.
Coding write / verify ban on
evalcheats:CodingWriteGuardrefuses*.pywrites that calleval/exec/literal_eval(AST, not substring). Verify hints and repair briefs use semantic “do not call …” wording;verify_runswith eval-styletext_forbidsalso AST-check; repair bursts get the same host-verify hint list as the first attempt.Coding workspace checkpoint advances on success:
save_coding_workspace_checkpoint/restore_coding_workspace_checkpointcopy the suite workspace tree. Sequential suites refresh the checkpoint after each successful stage;ProjectCodingLocalWorkrefreshes at burst start and onok. Restore refuses an empty checkpoint over a non-empty workspace (fixes escalate wipingcalc.pyafter a stale empty 010 snapshot).Suite / coding
TIMING.jsonl: sequential suites append per-stage wall clock (and printSTAGE START/OK/FAIL);ProjectCodingLocalWorkappends burst / work-item / verify-repair / escalate spans under the suite run root (…/TIMING.jsonl), including inference timeout and coding iteration knobs so live dogfood can see where hours go.Coding already-satisfied preflight: before the Completer runs,
ProjectCodingLocalWorkexecutesverify_runs; if they already pass it returnsalready_satisfied/changes_expected=falsewithoutwrite_file. Story expectincludes_if(calc_cli) requireswritten_filesonly when changes were expected. Override withforce_implement: true.Coding write gutting guard:
CodingWriteGuardon project-codingwrite_filerefuses catastrophic shrink / syntax-breaking / def-dropping overwrites of existing files.verify_runsgainsmin_bytesandpython_parses. Storyfangore_coding_write_guard.HTTP GitHub client (PR + CI logs):
HttpGitHubClient/GitHubConnectionConfig(MECHA_GITHUB_*/GITHUB_TOKEN, not Settings) for pull requests, check runs, and job logs. Toolsci_checks/ci_job_log.LocalGitHttpPullRequestCodingGitwhen a token is bound.RecordingGitHubClient+ storyfangore_coding_ci_diagnose(coding_github: local_mock_ci) for forge lookup without network; repair remainsfangore_coding_ci_repair.Static-check repair lane:
verify_runsacceptsruff/mypyrows. Storyfangore_coding_static_checksseeds I001 / no-untyped-def and repairs under guided coding. Fixture suitesources/trees are ignored by root pytest collection.Injectable
CodingGitfor project coding: ABCmechaharness.coding_git.CodingGitwith defaultLocalProcessCodingGit(localgit/gh, SSH agent) andRecordingPullRequestCodingGit(local git + mock forge) for stories/CI. Hosts override viaProjectCodingConfig(coding_git=…)/get_coding_git()for HTTPS+token or forge-API backends. Tool names staygit_status/git_log/git_diff/git_push/create_pull_request. Storiesfangore_coding_git_inspect/fangore_coding_git_open_prseed a feature branch and keep GitHub mocked.Sequential
calc_clicoding suite (live-capable): ordered Fangore arc that grows a shared-workspacecalc.pyCLI through numbers →+−→×÷→^→ parentheses → common functions. Suite injectsenvironment.workspace: suite. Static CI usescoding_writestubs; live (MECHA_STORY_BACKEND=live) ignores stubs and drivesProjectCodingLocalWorkwith a real Completer viacompleter_as_tool_loop_complete. Coding bursts honorverify_runs(filetext_containspluspython calc.py …checks, with one repair/refinement nudge), recover when the model finishes withoutwrite_file, and passMECHA_MAX_TOKENSinto completions. Goals require nameddef evaluate/def main.project_codingwalks are live-eligible; the suite harness asserts live HTTP POSTs occurred. Authoring:scripts/write_calc_cli_suite.py+suites/calc_cli/sources/.Sequential suite run ids: each sequential suite attempt gets a durable
run_idunder.mechaharness/suite_runs/(workspace + manifest). Banner / warning /LATESTmake the id easy to find;MECHA_SUITE_RUN_ID+MECHA_SUITE_FROMresume or rerun from a stage without redoing priors.counter_pkgcoding-delegate suite: sequential multi-file arc (package + pytest + CLI) withcoding_writesstubs,verify_runs.pytest, and the same live Completer / repair path ascalc_cli. Roadmap:docs/guides/coding-delegate-suites.md.delegate_pkgcoding-delegate suite: one sequential Widget arc covering list-mode bootstrap, thorough guidance fork (code + README), red-greendouble(), andWidget→Gadgetrefactor. Live Completer is the gate; static stubs provisional. MCP reuses the same graph (no fourth suite). Authoring:scripts/write_delegate_pkg_suite.py.User-story suites: thematic
suite.jsoncatalogs understatic/fixture/v1/suites/withexecution.modeparallel|sequential,vars/setup/cleanup, and explicitstages(story+scenario). Every static scenario is in exactly one primary suite. Pytesttest_user_story_suite; static suite members leavetest_user_story(HTTP twins remain there). Schema:tests/stories/suite_spec.py; membership helperscripts/generate_user_story_suites.py. Guide Suites section regenerated from fixtures.Workspace verify verbs:
run_pythonandworkspace_readputstdout/stderr/exit_codeorexists/textinto the step observation bag for ordinary expects.ProjectCodingLocalWorkrecordswritten_files/workspace_rooton completed yields. Storyenvironment.workspace/local_work: project_coding/coding_writebind a temp coding host. Durable + coding local work share the CLIEventLogso stories can pincore:graph_yield/core:guidance_resume/ graph lifecycle viatapped_event_types. Scenario:fangore_guided_coding_recipehelper_run_python.yaml.Story observation paths + plan classify: CLI expect
keyresolves dotted / indexed paths (plan.items[0].instruction). Durable step observations lift allowlisted yield payload fields (context_version,mode,plan,result,error).PlanClassifyLocalWorkandenvironment.local_work: plan_classifyrun classify/refine offline without a coding tool loop. Story scenarios:oneshot_from_goal,numbered_list,conflict_list_refinement,explicit_list_mode.MCP progress paths:
tools/callwith_meta.progressTokenemitsnotifications/progressmessages such asguided_coding › plan_tile › work_item 1 › tool_round 2 › write_fileduring generator local work (keeps Cursor stdio idle timeout alive).Inference progress watchdog:
await_while_runningticks MCP progress only while a Completer awaitable is still pending, then fails withInferenceTimeoutErrorafterMECHA_INFERENCE_TIMEOUT_SECONDS(fallbackMECHA_HTTP_TIMEOUT_SECONDS). Wired throughConversationalToolLoopRunner.Instruction todo plan (
instruction_todo_plan): classify oneshot vs ordered list, refine conflicts, pre / per-item / post-list acceptance. Optionalscope_refinement/list_refinementguidance is requested by local work (request_guidance); answering restarts the plan. Domainmechaharness.instruction_plan. Story:fangore_instruction_todo_plan.Guided coding Agentic Recipe (
guided_coding): frontier MCP guidance soft point tilesinstruction_todo_plan(plan_tile) +audited_infer_accept(audit_tile). Host ConfigProjectCodingConfigregisters workspace coding tools and aGeneratorLocalWorkburst after guidance. MCPMECHA_MCP_HOST=project_codingbinds that Config; inference endpoints belong on the Cursor MCPenvblock. Story:fangore_guided_coding_recipe.Audited infer-accept (
audited_infer_accept): RDG-aligned spine collect → freeze → decide → independent QA → deterministic → gate, lifted from the video production hostideation.infer.acceptfor library reuse. Domain modulemechaharness.audited_decision. Migration notes:docs/inspiration/video-production-audited-infer-migration.md. Story:fangore_audited_infer_accept.
[0.7.0] — 2026-10-22
Job lanes, stepped graph execution, user-story migration / recipe execute,
live model verification against reason + judge hosts, and pyiv ≥ 1.1.1 (#32,
#33). Tip auto-bumped past unreleased 0.6.0 after the #33 merge.
Changed
Floor pyiv ≥ 1.1.1.
Live story mode collects HTTP twins and static
infer/judge/judge_routewalks against real reason + judge hosts; cassette-exact token counts are soft while behavioral expects stay hard. Aligns two JEV fixtures with live Laya classifications.Docs: mark
JobLaneBroker/ steppedRunControlas shipped in architecture and DI guides; align judge / openai-local / CLI-universe live-suite notes with expanded live story collection (#32 / #33).
Added
Stepped graph execution (SG-01..10):
RunControlonGraphExecutor.run(one_step/until/paused); soft subgraph enter-before-first-child; product verbgraph_walk;graph.inlineon user_story YAML. Ownsfangore_graph_until_before,fangore_graph_one_step,fangore_graph_soft_enter; migratesfangore_insp_effect_revalidation.JobLaneBroker (JL-01..10): lane-scoped run sequences, WalkBags, exposure / grants / handoff, and authorized
observe(mechaharness.job_lane_broker). Config bind viaget_job_lane_broker(); CLI verbslane_publish/lane_observe/lane_grant/lane_handoff; story YAMLenvironment.job_lanes+ steplane/run_id. Matrix storiesfangore_job_lane_*;fangore_insp_cross_task_isolationretargeted.CrossTaskIsolationGuardremains as a deprecated shim.Product CLI verb
transactional_resume: crash-window durable coding-job resume viahost_graph_executor+ArmedCrashProbe(DR-10). Wave 2 P1 stories (fangore_tdr_crash_*) migrate ontokind: user_story.Product CLI verb
judge: judge-lane twin ofinfer(typed questions over state viaJudgeProvider+ cassette/live). JEV citation / route / safety / requirements stories walk this verb with real inputs.Agentic Recipe
context_pack: hostRagRetriever→assemble_context_within_budget(fixture retriever for stories).Product CLI verb
tool_lifecycle: Config-bound lifecycle extensions on tool-loop or tiny graph (replaceslifecycle_case).Product CLI verb
assemble_context: thin pack leaf for already-scored candidate lists.decision_planeexecute:decision_plane_runner+DecisionPlaneRecipeAdapter(run_recipe). Restoresfangore_decision_plane_{projection,policy,shadow,telemetry}and promotes recipe / model_policy stories off instantiate-only (G0).verify_repair/bounded_retryexecute: fixture runners +VerifyRepairRecipeAdapter/BoundedRetryRecipeAdapterpromote those stories torun_recipeoutcome walks (G1 batch 1).fangore_bounded_repair_loop: migrated frombounded_repair_loopprobe ontoverify_repairrun_recipe(G1 batch 2).independent_reviewexecute:independent_review_runner+IndependentReviewRecipeAdapterpromote inspiration + JEV shape stories (G1 batch 3).environment_repair/initialize_preflightexecute: fixture runners + adapters promote those stories torun_recipe(G1 batch 4).produce_critique_refine/safety_evalexecute: fixture runners + adapters complete G1 control-recipe promotion (G1 batch 5).
Removed
Case-bag verbs
decision_caseandlifecycle_case: replaced by instrumentedjudge/context_pack/tool_lifecycle/instantiate_recipewalks (Wave 3).
Changed
User-story litmus (recipe expansion): missing graph path ⇒ add Agentic Recipe / runners, do not demote valid persona claims. Wave 3 demotion of
fangore_decision_plane_{projection,policy,shadow,telemetry}retracted — restore under G0 (recipe expansion guide). Remaining probe batches regrouped as G0–G7 (recipe-first), not thin-verb then YAML.Story harness redesign:
story.jsonkindis now a reusable harness family (pure_api,access_authority,graph_execution, …) undertests/stories/harness/;request.jsonrequiresopfor the surface within that family. New acceptance coverage should be fixtures-only by default — register a newopor harness only when the execution shape changes, never a per-story kind. Catalog validation rejects unknown kinds/ops.Unit tests table-driven where cheap:
test_api_connection, access-policy / grant-key matrices, tool-phase effect matrix (assert + registry in one loop), event query filters, and recipe evolvable-allowlist cases use@parametrizeover structs instead of near-clone functions.
Added
Customer-facing agent skills under
agent-skills/(use-mechaharness,mechaharness-observability,mechaharness.mdc) plus Agent skills for your project with GitHub raw links onmain, and Host integration requirements (HOST-01..07). Maintainer requirement: keep them in sync when public host APIs / correlators / promote guidance change (seeproject-docsskill). Docs index has a Downstream consumers section.Dots / personal-agent safety primitives:
CapabilityEnvelopeexecution-token fields (principal,expires_at,trust_origin,authorization_epoch) with attenuation-onlynarrow();ToolPhase(observe/prepare/execute) onToolandOperationContract; authorization epoch persisted on graph checkpoints and checked onGraphExecutor.run(resume=True);ToolResultprovenance/freshness fields +tool_result_freshness;effect_revalidation,AuthorityGate,DenialStore,CrossTaskIsolationGuard;HandoffRecordgoals/exclusions/verdict.Self-revising recipe substrate:
GraphTemplateRegistryversions, active pointer,promote/rollback, lineage, evaluation attachments, andcomposition_violations;SoftPoint.evolvableallowlist; Agentic Recipeproduce_critique_refine.Alerts, correction debt, conflict checkpoints (phase 4):
AlertEscalationPolicy(once/log → repeated/surface → persistent/propose, deterministic);SpecificationDebtRecord/SpecificationDebtLedger/capture_correction(schema only; hosts generate tests) with optionalPromotionRecord.record_id;decision_conflict_checkpointneighbor-revisit helpers overconcurrent_write_conflicts(no second CR engine).Eval, evolution, safety, port search (phase 5): held-out final-test gate (
require_held_out_final_test,FinalTestGateError) mandatory onResearchLab.promotewhenheld_out_protectedand available asGraphTemplateRegistry.promote_with_final_test;recipe_evolution(trace summaries → registry-bounded soft-binding candidates → objective selection, no model calls); Agentic Recipesafety_eval;GraphTemplate.io_contractandrecipe_port_search.search_compatible_recipes(catalog ids only).Audit and ownership hooks (phase 6): optional
recipe_id,recipe_version,freshness_summary, approval / denial / effect ids onDecisionRecordandTraceEnvelope(+policy_revision);ReviewAuditRecordandsummarize_recipe_audit;summarize_freshness;MechaHarnessConfig.get_recipe_promotion_policy()andget_evolution_campaign_hooks()(no-op defaults, DI-first).Inspiration surface consistency pass:
Observability:
GraphExecutormergesgraph_id,graph_goal,recipe_id/recipe_version/recipe_instance_id,authorization_epoch(andlive_authorization_epoch), and nestedparent_run_id/nest_depthinto everycore:graph_*lifecycle event;GraphExecutor.run(parent_run_id=);mechaharness.event_correlators(graph_trace_context,project_node_attempt_rows);DecisionRecord/TraceEnvelopegain matchinggraph_id/authorization_epochfields. Contract:docs/requirements/event-analytics-schema.md(OBS-A01..A06) and theevent-observabilityskill.Host wiring:
MechaHarnessConfig.get_authority_gate(),get_denial_store(),get_tool_result_freshness_policy();host_kit.host_authority_gate/host_denial_store;mechaharness.host_apisre-export catalog;promote_recipe(..., hooks=)callsEvolutionCampaignHooks.on_promotionafter a successful pointer move;GraphTemplateRegistry.search_compatible.Shared helper:
CapabilityEnvelope.authority_issueis now the single source of envelope reason codes forAuthorityGateandrevalidate_before_effect.
Changed
Module layout (shims keep old imports working):
isolation/package (isolation_contract,workspace_isolation,cross_task_isolation),recipe_lifecycle/package (recipe_evolution,recipe_promotion_policy,evolution_campaign_hooks,recipe_port_search);tool_phasefolded intooperation_registry,specification_debtintorule_promotion,review_auditintodecision_log;graph_templateshim now re-exports the fullgraph_templatessurface (ProduceCritiqueRefineTemplate,SafetyEvalTemplate, …).Story hygiene: removed native/insp twin stories (
fangore_tool_gating,fangore_consequence_risk_scale,fangore_sparse_advisor_consult,fangore_verification_outcome_gate,taloneth_harness_experiment_retire,fangore_insp_capability_envelope) keeping one story per concept with the richer implementation text; deadinspiration_delta_contractrunner removed;tests/stories/runners.pysplit into atests/stories/runners/package of domain modules with a thinrun_storydispatcher; new storynubble_graph_event_correlators; deleted eight 5–9 line unit tests that only duplicated insp stories.ResearchLab.promotenow requiresfinal_test=(a passing held-outEvaluatorResult) unless theEvalProtocolsetsheld_out_protected=False.
[0.5.0] — 2026-10-18
pyiv 1.1 HTTP + stdlib DI cut (#30). Manual minor after a squash merge
auto-bumped the tip to 0.4.2.
Changed
Floor pyiv ≥ 1.1.0. Register use-case stdlib injectables on
MechaHarnessConfig(Environment,DateTimeService,Filesystem,Clock,LoggerFactory) and route high-residue edges through them: judgefrom_env, checkpoint stamps,LoggingEventLog, decision JSONL.Inference and judge HTTP use injectable
AsyncHttpClient(AsyncUrllibHttpClientby default;MemoryAsyncHttpClientin tests) instead of rawhttpx. Dropped runtimehttpx; keep it as a dev extra for FastAPI/StarletteTestClient(tests/test_api.py).Shared services bind in
configure()and are consumed by constructor injection /inject(T). Removed Configgetattrservice caches and siblingget_*collaborator pulls (EventLog,AccessControl, judge connection,CheckpointStore,LinkageResolver, …). Missing bindings fail at inject time.Domain ctors require injectables (no silent OS/stdlib/HTTP defaults):
DecisionLog,GraphStore,LoggingEventLog, checkpointDateTimeService,SimpleHttpConnectionConfig.from_env/for_judge(env=…), OpenAI/Anthropic/SystemOneAsyncHttpClient.Normative docs:
docs/requirements/dependency-injection.md;di-firstrule anddi-config-ownershipskill updated.
Migration
Subclass Config (or use
run()/ host kit); do not hand-wire services via Config getters as a locator.Pass
Environment/Filesystem/DateTimeService/AsyncHttpClientexplicitly in tests, or bind Memory*/Mock* doubles through Config /pyiv.override(tests/support/stdlib_doubles.py).
[0.4.1] — 2026-10-14
Node components, recipe CLI/SVG render, and pyiv catalog multibinds (#26).
Patch tip auto-bumped to 0.4.1 before this PyPI publish.
Added
Node components (
mechaharness.node_component): queryable sub-node elements that must render within a parent graph node; kinds project existing events / soft points / nest / stop / budget / effects. Traversal projector andembed_recipe_as_tool(HF-08). Docs:docs/reference/node-components.md,docs/requirements/dynamic-tool-graph.md; the AI assistant host HF inspiration + map.HF-05:
host_graph_executor(event_log=)andtapping_event_log/TappingEventLogfor blessed-path event taps.HF-07: Agentic Recipe
conversational_tool_loop+ConversationalToolLoopRunnerexpandingtools.subgraphrounds.Harness emits enrich
turn_start/inference/tool_call/tool_resultwithparent_node_idandcomponent_idfor traversal.Stories:
fangore_host_kit_event_tap,fangore_node_components,fangore_traversal_contract,fangore_harness_tool_loop_graph,fangore_conversational_tool_loop,fangore_recipe_as_tool,fangore_harness_run_recipe,fangore_backend_describe_recipe.CLI
recipesgroup:list/show/render/run.renderwrites an SVG fromrecipe_diagram(ER field tables, harness loop containers, serpentine interiors, fan-out/fan-in stack bands) with explanations below; built on node components + graph structure (not Mermaid).Agentic Recipes
harness_runandbackend_describe(CLIrun/describelibrary paths) with recipe runners.Agent guidance:
.cursor/skills/node-components/SKILL.md; agentic-recipes skill/rule require declaring node components on new recipes.
Changed
Floor pyiv ≥ 0.4.3 (catalog introspection /
contribute_map).Agentic Recipe / backend / harness membership is a pyiv map multibind:
graph_template_classes()/inference_classes()/harness_classes()→contribute_map+catalog_keys.GraphTemplateRegistryis injected from theGraphTemplatemap (hosts extend via class-map hooks, not a second list).
[0.4.0] — 2026-10-11
Host kit cut (#25). Merge tip auto-bumped to 0.4.0 before this PyPI publish.
Added
Host kit (
mechaharness.host_kit):host_graph_executor()builds a Config-injectedGraphExecutorwith runners + optional SQLite durability;SubmitOnceEffectfulRunnercovers the common submit-once / complete-on-accept / never-silent-redispatch effect pattern;effectful_external_handle()reads the recorded handle from aGraphResultwithout scraping node maps by hand. Owning storyfangore_host_kit_submit_once; pydoc doctests +tests/fixtures/host_kit/matrix; DI guide host-kit section.
[0.3.2] — 2026-10-10
Agentic Recipes / typed decision-plane cut (#23) plus Jev typed-judgment
domain stories (#24). GitHub tagged v0.3.2 from the merge tip before this
PyPI publish.
Added
Agentic Recipes as a top-level product concept on the
GraphTemplatesubstrate: composition helpers (instance_key,tile), catalog docs, and requirements indocs/requirements/recipes-and-decision-plane.md.Reference recipes
decision_planeandbounded_retry, plus owning stories forverify_repair,environment_repair, and recipe namespace tiling.decision_plane_runtime: structured projection, batched typed questions, code-owned policy with escalation, shadow compare, evaluation telemetry,assemble_context_within_budget, andaction_question_idrouting.Jev typed-judgment inspiration + requirements map, with Fangore domain stories:
fangore_jev_citation_matching_claim,fangore_jev_context_budget_pack,fangore_jev_req_review_template_shape,fangore_jev_task_route_simple_local,fangore_jev_action_safety.
[0.3.1] — 2026-10-06
PyPI cut of the 0.3.0 library (GitHub also tagged v0.3.0 before auto-bump
raced the publish).
[0.3.0] — 2026-10-06
Evaluation/rollout provenance cut inspired by FineEnvs multi-harness RL, plus transactional durable resume and WalkingLabs eval substrate.
Added
FineEnvs
MH-MHRL-*library surfaces:HarnessFingerprint,EvaluationOutcome,ObjectivePolicy, run parity, experiment lineage,RolloutGraph, trace reconciliation, eval matrix, cross-harness failure taxonomy,InferenceCapture+ linkage preflight, learning export packs, experiment dimensions, exposure/discriminative telemetry, and efficiency scorecards. Map:docs/inspiration/fineenvs-mh-mhrl-requirements-map.md.Transactional durable graph resume: injectable
CheckpointStoreseam,SqliteCheckpointStorereference backend, opt-inEffectfulGraphNodeRunnerwith effect intent/acceptance/reconciliation, and crash-injection probes. Story:fangore_tdr_crash_after_accept_before_record. Requirements:docs/requirements/transactional-durable-resume.md. Module doctests (and Sphinx API pages) document Config wiring and SQLite restart usage; pytest runs--doctest-modulesoversrc/mechaharness.WalkingLabs / eval-research inspiration primitives and persona stories (trace envelope, claims/evaluators/trials, context layers, WIP/fan-in, and related surfaces). Map:
docs/inspiration/walkinglabs-eval-requirements-map.md.
Changed
Rename inference backend
junespark→openai_local(same OpenAI-compat client, no baked-inbase_url; setMECHA_BASE_URL). Live story shorthand isMECHA_LIVE_OPENAI_COMPAT. Guide:docs/guides/openai-local.md.
[0.2.0] — 2026-09-30
Inspiration-aligned library cut for client orchestrators (graph templates, budgets, linkage, and related primitives).
Added
Parameterized
graph_templatespackage (fan-out/aggregate, verify/repair, independent review, environment repair) with soft points, provenance stamp, and demotion; reference docs underdocs/reference/graph-templates/.BudgetPolicy/Budgetwith soft wind-down and hard fail; required onGraphExecutor.run; nested subgraph spend rolls into the shared ledger. Stories:fangore_insp_graph_budget,fangore_insp_budget_subgraph_rollup.Pre-exec
LinkageResolver,StopContract, capability envelopes, context providers, verification / delegation / advisor policies, consequence scaling, harness experiments, instruction gotchas, and failure attribution.Inspiration requirements map and persona stories covering reqs 1–19.
Same-lane Completer / JudgeProvider flavors via
MechaHarnessConfig.completer_bindings()/judge_bindings()(Namedtag sets) and hostAnnotated[T, Named|Matched]constructor params. Story:fangore_completer_flavors.
Changed
pyiv ≥ 0.4.2 — floor bumped for
Named/Matched/KeyandAnnotated[...]constructor injection. Constructor injection for harness/strategy; hosts must subclassMechaHarnessConfig(or userun()).AbstractHarnessrequires injectable deps;HarnessConfig.subagent_toolsreplaces the harness kwarg.InMemoryAccessControl/InMemoryCostAccountantrequireevent_log(and policy for access).
Fixed
Install
eval_type_backporton all Python versions so CI (3.12) and the CLI can importmechaharness.di(previously gated behindpython_version < '3.10').Normalize PEP 604 optional
Named/Matchedconstructor hints for pyiv on Python 3.12; stop injectingGraphExecutor.fingerprint_parts(GenericAlias is not a concrete optional type).
[0.1.2] — 2026-09-25
PyPI cut of the #12 requirements-addendum library (GitHub also tagged v0.1.1
for the intermediate TestPyPI upload; production skipped that number after
auto-bump raced the publish).
Added
REQUIREMENTS.md addendum incorporation: decision plane, convergence, context experiments, graph resume/fan-in, validator qualification, OBS export/metrics, ATK-style research; host track generalized to a nameless local inference source
Library implementations:
OperationContract,ConvergenceGuard, decision surfaces, shadow decision-backend reports, context compiler / derived memory / topology / cache layout, offline decision export, topology metrics, validator qualification, hierarchical fan-inPersona user stories as acceptance vocabulary (Nubble / Fangore / Taloneth), including gap stories for tool gating, human review, repair loops, and related paths; story
footnotesand generated guide sync
Changed
Keep
docs/adr/andREQUIREMENTS.mdlocal-only (gitignored; not published)Story acceptance is story-id primary; former INF/POL codes retired to local archaeology mapping
[0.1.0] — 2026-09-25
First public library cut: DI-first agent harness with native lanes, cost on the run path, built-in EventLog, judge/decide outcomes, and persona user stories.
Added
pyiv DI —
MechaHarnessConfig/SettingsConfig; hosts subclass hooks (get_inference_class,get_harness_class,get_access_policy, judge connection/provider). OpenAPIRunRequest/run()remains the non-DI facadeEventLog — namespaced, host-extendable event types; queryable in-memory / logging logs; harness lifecycle, inference, tools, cost, and access checks
Cost — Ability units,
CostAccountant,core:coston harness runsAccess — deny-by-default grants,
AccessPolicy,CompoundPolicycomposition,AccessControl/ Configget_access_policy()Harness families —
pass_through,tool_loop,react, OpenAI/Anthropic tool families on the shared EventLog + cost path; Completer nestingLanes —
InferenceEnvironment.active_lane()(reason/judge/media); wrong-lane errors name operator load hintsJudge — typed
judge()→Judgement(signals);JudgementPolicy/decide()verdicts; System One adapter; injectableAPIConnectionConfig/SimpleHttpConnectionConfig.from_env(MECHA_JUDGE_*); outcomesCompletion/Judgement/GenerationPhase 1–5 scaffolds — routing, graph, research, context experiments, operation registry, decision log
Persona user stories — Nubble / Fangore / Taloneth prose narratives; dual-mode static cassettes (CI, zero skips) / live via
MECHA_STORY_BACKENDDocs site — Sphinx + Pages at https://rl337.org/mechaharness/; founding principles on the home page; packaging, Trusted Publishing, and auto version bump
Changed
junesparkbackend no longer ships a private LANbase_urldefault; setMECHA_BASE_URLSettings stays slim: judge HTTP knobs bind on
APIConnectionConfig, not as a provider bag onSettings
Security
Purged historical
REQUIREMENTS.md(host LAN inventory) from git history prior to public release