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, and ledger_miss with gate_status=not_evaluated. Causal support is labeled caller_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.example stays tracked.

  • Cloud OpenAI testing with OPENAI_API_KEY fallback and default gpt-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_runs repair is exhausted (or a coding work item fails), ProjectCodingLocalWork builds 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 yields context_version=decompose guidance (decompose_guidance_ask) so the driver can clarify. Escalate briefs keep full goal text plus a fixed no-eval/exec/literal_eval non-negotiables block (no 400-char clip).

  • AnswerBody.on_decompose: durable answer may drain one context_version=decompose yield (accept_proposed) so linear coding story walks reach completed after verify escalate. Calc CLI stages set on_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 eval cheats: CodingWriteGuard refuses *.py writes that call eval / exec / literal_eval (AST, not substring). Verify hints and repair briefs use semantic “do not call …” wording; verify_runs with eval-style text_forbids also 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_checkpoint copy the suite workspace tree. Sequential suites refresh the checkpoint after each successful stage; ProjectCodingLocalWork refreshes at burst start and on ok. Restore refuses an empty checkpoint over a non-empty workspace (fixes escalate wiping calc.py after a stale empty 010 snapshot).

  • Suite / coding TIMING.jsonl: sequential suites append per-stage wall clock (and print STAGE START/OK/FAIL); ProjectCodingLocalWork appends 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, ProjectCodingLocalWork executes verify_runs; if they already pass it returns already_satisfied / changes_expected=false without write_file. Story expect includes_if (calc_cli) requires written_files only when changes were expected. Override with force_implement: true.

  • Coding write gutting guard: CodingWriteGuard on project-coding write_file refuses catastrophic shrink / syntax-breaking / def-dropping overwrites of existing files. verify_runs gains min_bytes and python_parses. Story fangore_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. Tools ci_checks / ci_job_log. LocalGitHttpPullRequestCodingGit when a token is bound. RecordingGitHubClient + story fangore_coding_ci_diagnose (coding_github: local_mock_ci) for forge lookup without network; repair remains fangore_coding_ci_repair.

  • Static-check repair lane: verify_runs accepts ruff / mypy rows. Story fangore_coding_static_checks seeds I001 / no-untyped-def and repairs under guided coding. Fixture suite sources/ trees are ignored by root pytest collection.

  • Injectable CodingGit for project coding: ABC mechaharness.coding_git.CodingGit with default LocalProcessCodingGit (local git / gh, SSH agent) and RecordingPullRequestCodingGit (local git + mock forge) for stories/CI. Hosts override via ProjectCodingConfig(coding_git=…) / get_coding_git() for HTTPS+token or forge-API backends. Tool names stay git_status / git_log / git_diff / git_push / create_pull_request. Stories fangore_coding_git_inspect / fangore_coding_git_open_pr seed a feature branch and keep GitHub mocked.

  • Sequential calc_cli coding suite (live-capable): ordered Fangore arc that grows a shared-workspace calc.py CLI through numbers → +− → ×÷ → ^ → parentheses → common functions. Suite injects environment.workspace: suite. Static CI uses coding_write stubs; live (MECHA_STORY_BACKEND=live) ignores stubs and drives ProjectCodingLocalWork with a real Completer via completer_as_tool_loop_complete. Coding bursts honor verify_runs (file text_contains plus python calc.py … checks, with one repair/refinement nudge), recover when the model finishes without write_file, and pass MECHA_MAX_TOKENS into completions. Goals require named def evaluate / def main. project_coding walks 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_id under .mechaharness/suite_runs/ (workspace + manifest). Banner / warning / LATEST make the id easy to find; MECHA_SUITE_RUN_ID + MECHA_SUITE_FROM resume or rerun from a stage without redoing priors.

  • counter_pkg coding-delegate suite: sequential multi-file arc (package + pytest + CLI) with coding_writes stubs, verify_runs.pytest, and the same live Completer / repair path as calc_cli. Roadmap: docs/guides/coding-delegate-suites.md.

  • delegate_pkg coding-delegate suite: one sequential Widget arc covering list-mode bootstrap, thorough guidance fork (code + README), red-green double(), and Widget→Gadget refactor. 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.json catalogs under static/fixture/v1/suites/ with execution.mode parallel | sequential, vars / setup / cleanup, and explicit stages (story + scenario). Every static scenario is in exactly one primary suite. Pytest test_user_story_suite; static suite members leave test_user_story (HTTP twins remain there). Schema: tests/stories/suite_spec.py; membership helper scripts/generate_user_story_suites.py. Guide Suites section regenerated from fixtures.

  • Workspace verify verbs: run_python and workspace_read put stdout / stderr / exit_code or exists / text into the step observation bag for ordinary expects. ProjectCodingLocalWork records written_files / workspace_root on completed yields. Story environment.workspace / local_work: project_coding / coding_write bind a temp coding host. Durable + coding local work share the CLI EventLog so stories can pin core:graph_yield / core:guidance_resume / graph lifecycle via tapped_event_types. Scenario: fangore_guided_coding_recipe helper_run_python.yaml.

  • Story observation paths + plan classify: CLI expect key resolves dotted / indexed paths (plan.items[0].instruction). Durable step observations lift allowlisted yield payload fields (context_version, mode, plan, result, error). PlanClassifyLocalWork and environment.local_work: plan_classify run 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/call with _meta.progressToken emits notifications/progress messages such as guided_coding › plan_tile › work_item 1 › tool_round 2 › write_file during generator local work (keeps Cursor stdio idle timeout alive).

  • Inference progress watchdog: await_while_running ticks MCP progress only while a Completer awaitable is still pending, then fails with InferenceTimeoutError after MECHA_INFERENCE_TIMEOUT_SECONDS (fallback MECHA_HTTP_TIMEOUT_SECONDS). Wired through ConversationalToolLoopRunner.

  • Instruction todo plan (instruction_todo_plan): classify oneshot vs ordered list, refine conflicts, pre / per-item / post-list acceptance. Optional scope_refinement / list_refinement guidance is requested by local work (request_guidance); answering restarts the plan. Domain mechaharness.instruction_plan. Story: fangore_instruction_todo_plan.

  • Guided coding Agentic Recipe (guided_coding): frontier MCP guidance soft point tiles instruction_todo_plan (plan_tile) + audited_infer_accept (audit_tile). Host Config ProjectCodingConfig registers workspace coding tools and a GeneratorLocalWork burst after guidance. MCP MECHA_MCP_HOST=project_coding binds that Config; inference endpoints belong on the Cursor MCP env block. 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 host ideation.infer.accept for library reuse. Domain module mechaharness.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_route walks 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 / stepped RunControl as 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): RunControl on GraphExecutor.run (one_step / until / paused); soft subgraph enter-before-first-child; product verb graph_walk; graph.inline on user_story YAML. Owns fangore_graph_until_before, fangore_graph_one_step, fangore_graph_soft_enter; migrates fangore_insp_effect_revalidation.

  • JobLaneBroker (JL-01..10): lane-scoped run sequences, WalkBags, exposure / grants / handoff, and authorized observe (mechaharness.job_lane_broker). Config bind via get_job_lane_broker(); CLI verbs lane_publish / lane_observe / lane_grant / lane_handoff; story YAML environment.job_lanes + step lane / run_id. Matrix stories fangore_job_lane_*; fangore_insp_cross_task_isolation retargeted. CrossTaskIsolationGuard remains as a deprecated shim.

  • Product CLI verb transactional_resume: crash-window durable coding-job resume via host_graph_executor + ArmedCrashProbe (DR-10). Wave 2 P1 stories (fangore_tdr_crash_*) migrate onto kind: user_story.

  • Product CLI verb judge: judge-lane twin of infer (typed questions over state via JudgeProvider + cassette/live). JEV citation / route / safety / requirements stories walk this verb with real inputs.

  • Agentic Recipe context_pack: host RagRetriever → assemble_context_within_budget (fixture retriever for stories).

  • Product CLI verb tool_lifecycle: Config-bound lifecycle extensions on tool-loop or tiny graph (replaces lifecycle_case).

  • Product CLI verb assemble_context: thin pack leaf for already-scored candidate lists.

  • decision_plane execute: decision_plane_runner + DecisionPlaneRecipeAdapter (run_recipe). Restores fangore_decision_plane_{projection,policy,shadow,telemetry} and promotes recipe / model_policy stories off instantiate-only (G0).

  • verify_repair / bounded_retry execute: fixture runners + VerifyRepairRecipeAdapter / BoundedRetryRecipeAdapter promote those stories to run_recipe outcome walks (G1 batch 1).

  • fangore_bounded_repair_loop: migrated from bounded_repair_loop probe onto verify_repair run_recipe (G1 batch 2).

  • independent_review execute: independent_review_runner + IndependentReviewRecipeAdapter promote inspiration + JEV shape stories (G1 batch 3).

  • environment_repair / initialize_preflight execute: fixture runners + adapters promote those stories to run_recipe (G1 batch 4).

  • produce_critique_refine / safety_eval execute: fixture runners + adapters complete G1 control-recipe promotion (G1 batch 5).

Removed

  • Case-bag verbs decision_case and lifecycle_case: replaced by instrumented judge / context_pack / tool_lifecycle / instantiate_recipe walks (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.json kind is now a reusable harness family (pure_api, access_authority, graph_execution, …) under tests/stories/harness/; request.json requires op for the surface within that family. New acceptance coverage should be fixtures-only by default — register a new op or 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 @parametrize over 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 on main, and Host integration requirements (HOST-01..07). Maintainer requirement: keep them in sync when public host APIs / correlators / promote guidance change (see project-docs skill). Docs index has a Downstream consumers section.

  • Dots / personal-agent safety primitives: CapabilityEnvelope execution-token fields (principal, expires_at, trust_origin, authorization_epoch) with attenuation-only narrow(); ToolPhase (observe / prepare / execute) on Tool and OperationContract; authorization epoch persisted on graph checkpoints and checked on GraphExecutor.run(resume=True); ToolResult provenance/freshness fields + tool_result_freshness; effect_revalidation, AuthorityGate, DenialStore, CrossTaskIsolationGuard; HandoffRecord goals / exclusions / verdict.

  • Self-revising recipe substrate: GraphTemplateRegistry versions, active pointer, promote / rollback, lineage, evaluation attachments, and composition_violations; SoftPoint.evolvable allowlist; Agentic Recipe produce_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 optional PromotionRecord.record_id; decision_conflict_checkpoint neighbor-revisit helpers over concurrent_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 on ResearchLab.promote when held_out_protected and available as GraphTemplateRegistry.promote_with_final_test; recipe_evolution (trace summaries → registry-bounded soft-binding candidates → objective selection, no model calls); Agentic Recipe safety_eval; GraphTemplate.io_contract and recipe_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 on DecisionRecord and TraceEnvelope (+ policy_revision); ReviewAuditRecord and summarize_recipe_audit; summarize_freshness; MechaHarnessConfig.get_recipe_promotion_policy() and get_evolution_campaign_hooks() (no-op defaults, DI-first).

  • Inspiration surface consistency pass:

    • Observability: GraphExecutor merges graph_id, graph_goal, recipe_id / recipe_version / recipe_instance_id, authorization_epoch (and live_authorization_epoch), and nested parent_run_id / nest_depth into every core:graph_* lifecycle event; GraphExecutor.run(parent_run_id=); mechaharness.event_correlators (graph_trace_context, project_node_attempt_rows); DecisionRecord / TraceEnvelope gain matching graph_id / authorization_epoch fields. Contract: docs/requirements/event-analytics-schema.md (OBS-A01..A06) and the event-observability skill.

    • Host wiring: MechaHarnessConfig.get_authority_gate(), get_denial_store(), get_tool_result_freshness_policy(); host_kit.host_authority_gate / host_denial_store; mechaharness.host_apis re-export catalog; promote_recipe(..., hooks=) calls EvolutionCampaignHooks.on_promotion after a successful pointer move; GraphTemplateRegistry.search_compatible.

    • Shared helper: CapabilityEnvelope.authority_issue is now the single source of envelope reason codes for AuthorityGate and revalidate_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_phase folded into operation_registry, specification_debt into rule_promotion, review_audit into decision_log; graph_template shim now re-exports the full graph_templates surface (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; dead inspiration_delta_contract runner removed; tests/stories/runners.py split into a tests/stories/runners/ package of domain modules with a thin run_story dispatcher; new story nubble_graph_event_correlators; deleted eight 5–9 line unit tests that only duplicated insp stories.

  • ResearchLab.promote now requires final_test= (a passing held-out EvaluatorResult) unless the EvalProtocol sets held_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: judge from_env, checkpoint stamps, LoggingEventLog, decision JSONL.

  • Inference and judge HTTP use injectable AsyncHttpClient (AsyncUrllibHttpClient by default; MemoryAsyncHttpClient in tests) instead of raw httpx. Dropped runtime httpx; keep it as a dev extra for FastAPI/Starlette TestClient (tests/test_api.py).

  • Shared services bind in configure() and are consumed by constructor injection / inject(T). Removed Config getattr service caches and sibling get_* 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, checkpoint DateTimeService, SimpleHttpConnectionConfig.from_env / for_judge(env=…), OpenAI/Anthropic/SystemOne AsyncHttpClient.

  • Normative docs: docs/requirements/dependency-injection.md; di-first rule and di-config-ownership skill updated.

Migration

  • Subclass Config (or use run() / host kit); do not hand-wire services via Config getters as a locator.

  • Pass Environment / Filesystem / DateTimeService / AsyncHttpClient explicitly 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 and embed_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=) and tapping_event_log / TappingEventLog for blessed-path event taps.

  • HF-07: Agentic Recipe conversational_tool_loop + ConversationalToolLoopRunner expanding tools.subgraph rounds.

  • Harness emits enrich turn_start / inference / tool_call / tool_result with parent_node_id and component_id for 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 recipes group: list / show / render / run. render writes an SVG from recipe_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_run and backend_describe (CLI run / describe library 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. GraphTemplateRegistry is injected from the GraphTemplate map (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-injected GraphExecutor with runners + optional SQLite durability; SubmitOnceEffectfulRunner covers the common submit-once / complete-on-accept / never-silent-redispatch effect pattern; effectful_external_handle() reads the recorded handle from a GraphResult without scraping node maps by hand. Owning story fangore_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 GraphTemplate substrate: composition helpers (instance_key, tile), catalog docs, and requirements in docs/requirements/recipes-and-decision-plane.md.

  • Reference recipes decision_plane and bounded_retry, plus owning stories for verify_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, and action_question_id routing.

  • 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 CheckpointStore seam, SqliteCheckpointStore reference backend, opt-in EffectfulGraphNodeRunner with 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-modules over src/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-in base_url; set MECHA_BASE_URL). Live story shorthand is MECHA_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_templates package (fan-out/aggregate, verify/repair, independent review, environment repair) with soft points, provenance stamp, and demotion; reference docs under docs/reference/graph-templates/.

  • BudgetPolicy / Budget with soft wind-down and hard fail; required on GraphExecutor.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() (Named tag sets) and host Annotated[T, Named|Matched] constructor params. Story: fangore_completer_flavors.

Changed

  • pyiv ≥ 0.4.2 — floor bumped for Named / Matched / Key and Annotated[...] constructor injection. Constructor injection for harness/strategy; hosts must subclass MechaHarnessConfig (or use run()). AbstractHarness requires injectable deps; HarnessConfig.subagent_tools replaces the harness kwarg. InMemoryAccessControl / InMemoryCostAccountant require event_log (and policy for access).

Fixed

  • Install eval_type_backport on all Python versions so CI (3.12) and the CLI can import mechaharness.di (previously gated behind python_version < '3.10').

  • Normalize PEP 604 optional Named/Matched constructor hints for pyiv on Python 3.12; stop injecting GraphExecutor.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-in

  • Persona user stories as acceptance vocabulary (Nubble / Fangore / Taloneth), including gap stories for tool gating, human review, repair loops, and related paths; story footnotes and generated guide sync

Changed

  • Keep docs/adr/ and REQUIREMENTS.md local-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). OpenAPI RunRequest / run() remains the non-DI facade

  • EventLog — namespaced, host-extendable event types; queryable in-memory / logging logs; harness lifecycle, inference, tools, cost, and access checks

  • Cost — Ability units, CostAccountant, core:cost on harness runs

  • Access — deny-by-default grants, AccessPolicy, CompoundPolicy composition, AccessControl / Config get_access_policy()

  • Harness families — pass_through, tool_loop, react, OpenAI/Anthropic tool families on the shared EventLog + cost path; Completer nesting

  • Lanes — InferenceEnvironment.active_lane() (reason / judge / media); wrong-lane errors name operator load hints

  • Judge — typed judge() → Judgement (signals); JudgementPolicy / decide() verdicts; System One adapter; injectable APIConnectionConfig / SimpleHttpConnectionConfig.from_env (MECHA_JUDGE_*); outcomes Completion / Judgement / Generation

  • Phase 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_BACKEND

  • Docs site — Sphinx + Pages at https://rl337.org/mechaharness/; founding principles on the home page; packaging, Trusted Publishing, and auto version bump

Changed

  • junespark backend no longer ships a private LAN base_url default; set MECHA_BASE_URL

  • Settings stays slim: judge HTTP knobs bind on APIConnectionConfig, not as a provider bag on Settings

Security

  • Purged historical REQUIREMENTS.md (host LAN inventory) from git history prior to public release