Milestone 13 — Complete control plane and self-hosted release
Status: active. Implementation and live acceptance now include a real isolated agent run through a merged PR, archive/cleanup, duplicate webhook handling, browser accessibility checks, synthetic fresh-instance restore, worker crash/restart recovery, and automatic event-stream reconnect after an API restart. Deterministic fault-injection acceptance also covers 429 fallback, primary/probe capacity, and promotion/rollback. A real learning candidate/promotion rollback, provider-generated 429, live primary/probe contention, and independent holdout result remain unverified. No unavailable integration, benchmark result, or production deployment is claimed as passed.
Authorized external spend ceiling: €20 total across the remaining milestones, including provider, evaluator, and judge calls. The rotated provider credentials were loaded from the user's login zsh configuration. The latest acceptance LiteLLM readback (2026-10-25 15:32–20:08 UTC) returned 150 spend-log rows totaling $0.05846088666 (approximately €0.0522 at the 23 October ECB reference rate of $1.1193 per euro). Harnessa's separate current lifetime ledger remains capped at $20 and reports $0.59677173 estimated, $0.00002280 billed in its settlement field, and $0 reserved. The estimate conservatively includes unknown-usage reservations; runtime MODEL_GLOBAL_BUDGET_USD=$10 is the lower application ceiling. These accounting views must not be added together. No provider call was made during the latest readback. ECB rate.
Branch and scope
- M13's original implementation branch was
codex/m13-release, based on M12 archive commit853c3e05cd202a95ed70453ecde95b51aced7779. The current tracing follow-up is based on the durable-metrics merge42318f4bbef0507293672ba43017ac44934fb990. - M13 implementation now covers task/OpenSpec browsing, grouped local Harness² runs, independent interactive/probe budget ceilings, persisted execution-adapter selection, icons, Compose artifact persistence, and operator backup/restore/doctor workflows.
- M13 implementation PR #43 merged to
mainat4081c998bf6c9df2f639f47dd63cadee358fd53a. The initial review's P2 findings were fixed at7bc9f0fc285064edae852e003be99c53730603e4; subsequent review proposals drove the local evaluator, independent budgets, adapter selection, aggregate evaluation ceiling and correct shared-baseline sample count. Review of exact headf832521f26f0b4d472bd869354d7dbfde5fed069found no new actionable code issues (final disposition comment6384280186); it confirmed prior findings6378082966,6384248497, and6384249788are resolved and the migration graph has one head. - No model-backed benchmark run or external environment deployment was performed. A no-model Harbor Oracle setup smoke was run on the public SWE-bench Pro V2 split and is documented in
acceptance-report.md; it is harness setup evidence, not a model score. The administrator authorized two one-token gateway checks and the bounded issue #4 agent run through the.zshrc-sourced LiteLLM environment. Current provider logs, Harnessa estimates, and the €20 aggregate cap are recorded below and in the acceptance report.
Deterministic evidence
| Check | Result |
|---|---|
| Python unit suite | 313 passed, 1 skipped. |
| Python integration suite | 75 passed against fresh disposable PostgreSQL and Redis services, including empty and populated operational metrics queries. |
| Web tests | 46 passed; cloud portal 2 passed. |
| Sign-in and project administration semantic UI follow-up | apps/web/app/login/page.tsx and apps/web/app/projects/page.tsx now use shared token-based controls and visible form labels; selected project state is exposed with aria-pressed, loading/error messages use status/alert semantics, stale project selections cannot replace repository grants or trigger a redirect, and initial project and repository requests are invalidated on unmount. The unused local button copy was removed. apps/web/tests/pages.test.tsx: 15 passed, including out-of-order selection, stale 401, unmount, and API failure handling; pnpm typecheck:web, pnpm build:web, lint, and the package coverage gate passed (web statements: 85.34%). Browser Harness acceptance is now recorded below. |
| Focused setup and evaluator tests | After the final mode=both rollout multiplier adjustment: 2 grouped-evaluation integration tests passed against the disposable PostgreSQL/Redis services; 36 setup/workspace UI tests passed. Coverage includes separate primary/probe budgets, adapter selection, grouped run estimates, summaries, rejected stale actions, cancellation and resume. |
| Grouped evaluation follow-up | Integration coverage includes immutable manifest idempotency, model-step/retry/policy-multiplier worst-case estimate, independent remaining probe budgets, rollout-level missing/failure/unknown counts, delivery Wilson interval, cost/latency aggregation, and cancellation. |
| Aggregate evaluation spend regression | tests/integration/test_evaluation_runs.py: 2 passed against disposable PostgreSQL/Redis. A child model reservation is rejected when its aggregate evaluation ceiling is below the worst-case request reservation, including after cancellation is requested while the child run is still active. The child-to-evaluation FK provides direct lookup; mode=both, k=1 expects the one shared baseline plus four lane-specific rollouts (5 total). |
| Rendered acceptance evidence | Strict MkDocs build passed after the provider evidence row was repaired. Inspection of milestones/13/index.html confirmed both gateway request IDs, costs, the current €20 ceiling, and the credential-rotation boundary are present in the rendered report. |
| Resume route | Five integration tests passed against a fresh disposable PostgreSQL database and Redis DB 7, including requeue of an unchanged frozen manifest. Disposable containers were stopped after the run. |
| API lint and types | Ruff and mypy passed. |
Current hosted gates at reviewed head f832521f26f0b4d472bd869354d7dbfde5fed069 |
CodeQL Python and JavaScript/TypeScript passed; aggregate CodeQL passed; Documentation build passed. Required Local CI was still pending in GitHub Actions at report refresh. The independent reviewer left a no-new-findings disposition in comment 6384280186; this is a conversation comment, not a formal approval. |
Report follow-up gates at head 11732eb2aee6b53c4d114c1fe5e5b7db80834bfb |
CodeQL Python and JavaScript/TypeScript, aggregate CodeQL, and Documentation passed. Required Local CI remained pending. Independent review of this report follow-up found no new issue (comment 6384300556); this conversation comment is not a formal approval. |
Latest report-head gates at 2bf94fc59e4d9f8cd81ac2e7fee91a6a5f914d74 |
CodeQL Python and JavaScript/TypeScript, aggregate CodeQL, and Documentation passed. Required Local CI remained pending. Independent review found a Markdown table rendering defect (comment 6384317314); the provider evidence has been moved into a two-column row and rendered-page verification passed. The correction still needs fresh exact-head review and hosted checks. |
Provider-evidence correction at 73fbc218ed58c848d2196a2eca8d7594c7798944 |
Independent review confirmed the Markdown evidence row renders fully and found no new actionable issues (comment 6384335535). CodeQL Python and JavaScript/TypeScript, aggregate CodeQL, and Documentation passed; required Local CI was still pending. This review comment is not a formal approval. |
| Web lint and typecheck | Passed after the latest UI changes. |
| Documentation build | Strict MkDocs initially identified unlisted M13 pages; all new guides, report, provenance, and milestone pages were added to navigation. uvx --with-requirements requirements-docs.txt mkdocs build --strict --site-dir /tmp/harnessa-m13-docs passed. |
| Shell and patch validation | bash -n and git diff --check passed. |
| Compose validation and image build | Isolated Compose configuration validated; API, worker, and web images built. Acceptance-created default and isolated containers were stopped after evidence collection; persistent volumes were preserved. The user-requested LiteLLM gateway remains running. |
| Browser acceptance | Browser Harness verified desktop and 390-pixel mobile layouts, keyboard focus, accessible control names, light/dark contrast, reduced motion, and reload/resume from cursor 259. A true mid-stream disconnect and automatic reconnect without page reload remain unverified. |
| Backup and restore | The synthetic fresh-instance restore included database/provenance rows, a linked CAS artifact, checksums, and a separate Git root. It does not represent a production-scale restore. The restore script checks the artifact volume before database mutation. |
| First-party coverage gate | Latest full rerun passed at the configured 85% line and statement minimum: API 85.09%; web 91.74% lines / 85.07% statements; React UI 100%; cloud portal 96.00% lines / 98.86% statements; Svelte UI 100%; aggregate 85.50% lines / 85.26% statements. |
| Doctor | Passed Compose, database, Redis, API readiness, LiteLLM process readiness, and runtime secret-presence checks on the isolated acceptance instance. Secure-cookie state is read from parsed application settings; COOKIE_SECURE=1 was confirmed to parse as enabled. The loopback HTTP instance correctly warned that secure cookies were disabled. LiteLLM process readiness is not provider capability proof. |
| Fresh-install rerun on current main | At ca5e449d62affa0f52c6a5f8ba933b2abc717923, rootless Podman 5.7.0 and Docker Compose 2.40.3 built and started isolated project harnessa_acceptance_m13 on loopback ports 13000/18010. Generated secrets were held in a mode-0600 temporary env file; provider and GitHub App credentials were empty. |
| Operator recovery CLI | Added apps/api/harnessa/recovery_cli.py with audited project dead-letter listing/replay and organization-admin GitHub delivery retry. The client prompts for passwords without echo, keeps cookies in memory, sends CSRF/origin headers, uses exact UUID confirmation for writes, creates a fresh dead-letter replay idempotency key, and omits payload/error details from display. |
| Durable operational metrics and traces | The protected scrape reports aggregate queue count/age, active stale leases, open dead letters, unpublished outbox, unreconciled effects, pending/unknown reservation spend, artifact count/bytes/24-hour growth, GitHub webhook outbox age, failed cleanup steps, and model route candidates that pass deployment and workload-pool capacity checks. OpenTelemetry creates API, run, model, GitHub webhook, and GitHub effect spans; W3C context persists through task/run and webhook inbox/outbox boundaries. No prompt, completion, answer, payload, credential, or raw exception is captured. Five focused metrics unit tests and two PostgreSQL integration cases pass. Tracing unit tests pass for W3C extraction, legacy trace ID continuity, invalid stored-context handling, and OTLP/HTTP export to a loopback receiver. Ruff and mypy pass. No production collector is configured or verified; provider reachability remains unverified. |
| M13 tracing follow-up | API server, task/run execution, model calls, webhook processing, and GitHub effects use a shared redaction-safe OpenTelemetry span helper. W3C trace context is persisted through task/run and webhook outbox boundaries. Optional OTLP/HTTP export is configurable for API and worker. The exported protobuf regression confirms exception messages and stack events are omitted while the safe error type is retained. |
| Approval-gated GitHub publication | Local approval changes the immutable review bundle to published; GitHub publication now accepts that state only when an approve decision matches the exact bundle ID, digest, and head SHA. The prepared-bundle path remains supported. |
| Provider route and checks | DeepSeek account/deployment/alias and both pool routes were configured in the disposable project. The pinned proxy was recreated by a login zsh that loaded ~/.zshrc; only variable presence was inspected, not key values. Two user-authorized one-token checks passed with known usage, each billed $0.0000114. Route identity: deepseek-flash-primary / harnessa-deepseek-flash; request IDs a52f5fa2-539d-4387-b76e-f6169986d5c1 and 0d2bb7fc-9c9c-46cd-80bf-21032266943e. The disposable project, task, and run ceilings were each $0.01. These historical checks predated the current €20 total ceiling; the local provider variables were later removed from ignored .env, and no further provider calls will be made until credentials are rotated and validated from ~/.zshrc. |
The latest full pnpm test sequence on the shared redaction-helper revision completed with 317 unit tests passed, 1 skipped, 76 integration tests passed, 41 React/web tests passed, and 2 cloud-portal tests passed. The Astro static artifact check and combined coverage gate passed at 85.50% lines / 85.26% statements. The API suite emitted four upstream Starlette/httpx deprecation warnings. Disposable PostgreSQL and Redis services were digest-pinned, bound only to loopback, and stopped after verification.
Implementation delivered so far
- Task board now supports local search, stage filtering, and cursor-based loading of older task rows.
- OpenSpec explorer now has search, section filtering, incremental display, and safe GitHub revision links when repository target and full commit SHA are available.
- Evaluation center projects task readiness and project-authorized immutable Harness² experiment context, distinguishes blocked/unavailable external benchmarks, and does not fabricate scores.
- Setup & health checklist reports administrator, repository-grant, model-route, GitHub installation, and runtime status. Route verification is an explicit one-token action guarded by administrator identity, a checkbox, and the selected project's existing budget controls; its default state makes no provider request.
- API request records are structured JSON with validated request/trace correlation IDs; protected metrics include process-local HTTP counters/histograms and five-second cached, aggregate database gauges for queue/lease/dead-letter/outbox/effect/spend/artifact/GitHub/cleanup/route-candidate state. Collection failures are explicit and redacted, and metric labels omit tenant identifiers.
- Next.js and Astro receive native SVG favicon/app-icon assets. A generated editorial workflow illustration with recorded prompt provenance is integrated into the marketing hero and README.
- Compose persists shared API/worker artifacts in a named volume and adds restart, grace-period, and resource controls.
- Operator, recovery, and acceptance guides document bootstrap, readiness, backup/restore, secrets, and current boundaries.
- Restore now checks the artifact volume before restoring the database, avoiding a database-only partial restore when the target volume is occupied.
Acceptance gaps that keep the milestone active
- Harness² grouped evaluations enforce immutable manifests, conservative full-context estimates, independent probe budgets, and an aggregate ceiling. A bounded live probe executed five rollout samples (three successful deliveries and two failures) and was blocked at the independent holdout gate; it is not a model score. A separate deterministic gateway test injects a primary-route 429 and verifies bounded retry/fallback and ledger attribution; live provider-generated 429 and concurrent primary/probe contention remain unverified. WorkBuddy-Bench remains blocked by its published EU-use restriction; JobBench and Harvey LAB remain unavailable pending an isolated, metered judge setup.
- The selected-only GitHub App and rootless host runner completed the live issue-to-interview-to-READY-to-agent-to-exact-head-review-to-PR-merge-to-archive/cleanup flow. Issue #4 is recorded as complete in
acceptance-report.md. This closes the earlier no-agent-run blocker. - The learning step on the real merged task was skipped because there was no completed Harness² experiment. Deterministic integration coverage verifies candidate promotion and rollback, but no real task-derived candidate was promoted and rolled back.
- Live recovery and stream reconnect are now evidenced in the latest acceptance report. Remaining live resilience gaps are provider-generated 429 failover and concurrent primary/probe contention. Webhook redelivery of an already processed issue #4 was exercised; the same delivery ID remained processed, task count stayed five, and no duplicate task was created. Deterministic tests are not presented as live provider evidence.
- The synthetic clean-instance restore verifies database/provenance rows, a linked CAS artifact, checksums, and Git-root continuity. It does not establish production-scale restore or continuity for a real Harnessa agent run.
- Browser Harness verified desktop/mobile layout, keyboard focus, accessible names, contrast in light/dark themes, reduced-motion behavior, and online reload/resume from stored event cursor 259. A mid-stream network failure followed by automatic reconnect without page reload has not been proved. The legacy README raster remains unprovenanced and unused.
- No confidential holdout account or endpoint is available to this project. The Scale private subset has no public enrollment/submission path; the Harbor Oracle smoke used the public SWE-bench Pro V2 split without model calls and is not confidential holdout evidence. SWE-bench-Live remains a self-hostable public-data option, not a confidential holdout, and has not been integrated with Harnessa's spend ledger. The external OTLP collector is also not configured. These remain explicit external setup blockers, not fabricated passes.
The external evaluator decision remains as recorded in acceptance-report.md: Harbor 0.24.0 with the public SWE-bench Pro V2 split is a protocol-isolated development option, not confidential holdout evidence, and has no Harnessa spend-ledger adapter. Scale's private set remains unavailable absent an authorized account/task feed. No score is claimed. M13 remains active until its required lifecycle/resilience evidence is completed and external blockers are resolved or explicitly accepted by the milestone's release policy.
PR and archive lifecycle
Tracing follow-up PR #47 was reviewed at final head b274cd611bfe73b24a69806d60f7b37640d64ad1; the independent reviewer found no actionable issues in comment 6386134959, and no formal approval was submitted. Earlier exact-head findings were accepted and fixed: the P1 exception-redaction issue was resolved at 9b4e53359c3662b06614f4ba6f4d77041f2e2965, and two P2 findings on shared span coverage and stale operator guidance were resolved at the final head. No inline review threads remained. Current-head checks passed: Local CI push run 40107927199, Local CI pull-request run 40107930343, CodeQL run 40107930271 plus aggregate CodeQL check 120913543158, and Documentation build 40107930300 (deploy skipped because this was not a main-branch deployment). The repository ruleset allowed merge with zero required approvals, retained thread resolution and required status checks, and had no bypass actors. PR #47 merged to main at 1386f3fdb1cf86198b412052eccb581968d22d6d on 2026-10-24. This follow-up does not close the live release blockers; M13 remains active and its prompt remains unarchived.
M13 implementation PR #43 was based on M12 merge 853c3e05cd202a95ed70453ecde95b51aced7779, reviewed through successive exact heads, and merged to main at 4081c998bf6c9df2f639f47dd63cadee358fd53a on 2026-10-24. Exact-head review of 7e605ad087a5ddc39b4de12ef3232fdc0f8569ec identified aggregate-spend and sample-count defects; review of bbba6d39a2e20fccf7b39aef2a28f40acd6d1a48 confirmed those fixes and identified cancellation-race and historical-row-lock defects. Review of f832521f26f0b4d472bd869354d7dbfde5fed069 resolved those proposals, confirmed one migration head, and found no new actionable issue (6384280186). Reviews then identified and resolved a Markdown table rendering defect (6384317314); review of 73fbc218ed58c848d2196a2eca8d7594c7798944 verified the rendered evidence and found no new actionable issue (6384335535). Review of a770167df644f7654d30660625cb834af5ea6176 found no actionable issues (6384388172); no unresolved review threads remained. Required CodeQL, Local CI, and Documentation checks passed; the final PR check list included Local CI runs 40095814291 and 40095810692, CodeQL Python/JavaScript analyses in 40095814298, and Documentation build 40095814296. The Protect main ruleset has zero required approvals, last-push approval disabled, Local CI and CodeQL required, review-thread resolution required, and bypass disabled.
The PR #43 implementation head before merge was 5e5d010c1d2392e3488b40e2397e404a85dbf64c. It included the test synchronization fix that waits for the asynchronously loaded eligible task option before selection. Acceptance-evidence PR #44 was reviewed at exact final head cbcc7fe6e9137eb8d7ad634a76f80be08d433162. The reviewer found and the maintainer accepted one P2 on boolean parsing; the fix uses the API's parsed settings.cookie_secure, was checked with COOKIE_SECURE=1, and received a fresh no-findings review in comment 6385293281. The current head passed CodeQL, Documentation, and Local CI (push run 40101860689 and pull-request run 40101862415) and merged to main at 5d9976b110e7c966036e109788a5701fef063dd6 on 2026-10-24. The full offline acceptance rerun passed after one asynchronous cancellation-test failure on the first attempt; the failing case passed alone and the complete rerun passed. Fresh doctor, shell syntax, patch whitespace, and strict documentation checks also passed. Live GitHub App/repository, real-agent/provider resilience, hidden holdout access and browser accessibility/reconnect scenarios remain unverified and keep M13 active.
Operator recovery CLI follow-up PR #51 was independently reviewed at exact head e31bd6603032f55bd69ad799575ba88f8355a72f; the reviewer found no actionable findings in comment 6386880013, and no formal approval was submitted. Required checks passed at that head: Local CI push run 40113106462, Local CI pull-request run 40113109095, aggregate CodeQL check 120928933388 with Python and JavaScript/TypeScript analyses, and Documentation build 40113109131 (deploy skipped because this was not a main-branch deployment). There were no unresolved review threads. The active Protect main ruleset had zero required approvals, last-push approval disabled, Local CI and CodeQL required, review-thread resolution required, and no bypass actors. PR #51 merged to main on 2026-10-24 at 3d0946f3b9f085dec16cd69bb85e8b3831290576. This report-only lifecycle update does not close the live release blockers; M13 remains active and its prompt remains unarchived.
Global lifetime spend-cap PR #53 was independently reviewed at exact head 886f23870fd66b896648dffa7d34ce96edf4800c; the no-actionable-findings disposition was posted in comment 6387521521. No formal approval was submitted. Required Local CI passed in push run 40117684175 and pull-request run 40117687820; CodeQL Python and JavaScript/TypeScript passed in run 40117687950 with aggregate check 120942503278; Documentation build 40117687816 passed (deploy skipped because this was not a main-branch deployment). The active Protect main ruleset retained required checks and thread resolution, optional approval, and no bypass actors. PR #53 merged to main at 1cb986bd9dd6f5d708855cdfb3081c5f90eecd0a on 2026-10-24. It establishes the €20 user-authorized aggregate spend cap in the project and does not authorize further paid calls before key rotation.
Independent evaluator evidence follow-up PR #54 was reviewed at exact head 238a5f8e078bb7efb753c9f8f6eaa0a9875d46c6; the reviewer found no actionable issues in comment 6387816661. No formal approval was submitted and no unresolved review threads remained. Required Local CI passed in push run 40119951092 and pull-request run 40119965596; CodeQL analyses passed in run 40119965448 and aggregate check 120949356350; Documentation build 40119965640 passed (deploy skipped because this was not a main-branch deployment). Under the active Protect main ruleset, PR #54 merged to main at dbcc18638530b3efd870cca7e3f372242770c0ab on 2026-10-24. This evidence update keeps M13 active; the prompt remains unarchived while live release blockers remain.
Milestone-report consistency follow-up PR #55 was independently reviewed at exact head 9134dda66ad8dc2cd0ae244c37e63b7543ed65f9; the reviewer found no actionable issues in comment 6387921506. No formal approval was submitted and no unresolved review threads remained. Required Local CI passed in push run 40120733939 and pull-request run 40120742001; CodeQL analyses passed in run 40120742108 with aggregate check 120951713248; Documentation build 40120742029 passed (deploy skipped because this was not a main-branch deployment). The active Protect main ruleset retained all required gates and had no bypass actors. PR #55 merged to main at af4b8116ca863e53fc325a1549f46b7a946f98ce on 2026-10-24. This report follow-up did not close any live M13 acceptance blockers.
Evaluator-report consistency PR #56 was re-reviewed at exact head 8a93ad4bda03ac4d59d33e9b7935bfd3e2be5643; the reviewer confirmed finding M13-RPT-001 was resolved and found no further actionable issues in comment 6388114090. The report distinguishes the local no-model Harbor Oracle smoke from paid provider requests and remote holdout submissions. No inline threads remained and no formal approval was submitted. Local CI passed in push run 40122195405 and pull-request run 40122190080; CodeQL passed in run 40122195406 and aggregate check 120956155761; Documentation build 40122195403 passed (deploy skipped). PR #56 merged at ca5e449d62affa0f52c6a5f8ba933b2abc717923 on 2026-10-24.
Clean-install evidence PR #57 was independently reviewed at exact head 90404b3de5e7abc31291d3bbf54584d3e6333cd6; the reviewer found no actionable issues in comment 6388324732. The changes record isolated Compose/readiness and authenticated API setup results, explicitly leave provider/browser/repository acceptance pending, and do not claim live model evidence. No inline threads remained and no formal approval was submitted. Local CI passed in push run 40123721751 and pull-request run 40123709368; CodeQL passed in run 40123721714 and aggregate check 120960769337; Documentation build 40123721687 passed (deploy skipped). PR #57 merged at 9a51247e4688067be42f39ea7765fce284425397 on 2026-10-24.
Sign-in and project administration accessibility follow-up PR #58 was independently reviewed at final exact head 6c86610d91ced326707f648c8db2af233be45e6e; the reviewer found no actionable issues in comment 6388586771. Source and documentation findings on out-of-order selection responses, stale 401 redirects, request cleanup after unmount, and the malformed report table were fixed and re-reviewed. Separately, an earlier Local CI run on a superseded head reported web statement coverage at 84.25%, below the 85% gate. Error-path tests raised final-head web package coverage to 85.34%; the final-head push and pull-request Local CI runs both passed. All four inline threads were resolved; no formal approval was submitted. CodeQL passed in run 40125636535 and aggregate check 120966483711; Documentation build 40125636574 passed (deploy skipped). Under the active Protect main ruleset, required checks and thread resolution remained enabled, approvals remained optional, and no bypass actors were configured. PR #58 merged to main at 75a304ed188b7c287f003acbcca645ae5ca7dec6 on 2026-10-24. This source-level follow-up does not replace the remaining browser acceptance or close the live M13 blockers.
Evaluator-source correction PR #60 updated the hosted SWE-bench Multimodal test evidence and narrowed the Scale access claim. Separate Standards and Spec reviews of exact head 4ca804fbae05aa42e0176e3d512728a8c6196a8b found no actionable findings (comments 6388907864 and 6388905952); no formal approval was submitted and no inline threads remained. Local CI passed in push run 40128018006 and pull-request run 40128024111; CodeQL analyses passed in run 40128024128 with aggregate check 120973671930; the documentation workflow build 40128024129 passed (deployment skipped). git diff --check and the strict MkDocs build passed locally. The active Protect main ruleset required Local CI, CodeQL and review-thread resolution, allowed zero approvals, and had no bypass actors. PR #60 merged to main at 848c93d968e5045fe359afd99670cf8611d87b2e on 2026-10-24. This report-only correction does not close M13's live blockers.
Next work
The following setup entries record intermediate state from earlier on 2026-10-25. They are historical snapshots and are superseded by “Latest live acceptance evidence” below; do not treat their pending-state statements as current.
The user-authorized €20 aggregate ceiling applies across remaining milestone work, inclusive of recorded prior route-check spend. On 2026-10-25, the user confirmed credential rotation; redacted SHA-256 comparisons showed both fresh login-zsh provider keys match the running LiteLLM container, with no values or fingerprints printed. The existing M13 acceptance database was upgraded to Alembic revision 92d4a1b8c6f0; its shared lifetime row reports a $20 maximum, $0.0000228 billed, and no estimated or reserved spend. That acceptance API runs with MODEL_GLOBAL_BUDGET_USD=10, so its effective ceiling is the lower $10 limit. The restored stack is loopback-only, and the LiteLLM proxy has no host-published port. API readiness and the web root both returned HTTP 200; both configured aliases were verified without a provider request. The API container has no provider keys or GitHub App private/webhook secrets. The separate LiteLLM spend database remains the provider transaction record; readiness does not prove that a provider route works. A separately configured holdout evaluator must declare a positive maximum cost per request; Harnessa books that maximum against the shared ledger before dispatch and retains it when billing is unknown. Other separately billed judges remain unavailable unless their worst-case cost is also booked. The shared model/evaluator spend cases and all 78 database-backed integrations passed on fresh disposable services. No provider or evaluator spend occurred during the 2026-10-25 setup. The grouped evaluation also enforces its aggregate USD ceiling independently of project/task/run limits.
Intermediate issue-to-interview progress snapshot (before issue #4)
The user-authorized private disposable repository and narrowly scoped GitHub App were configured in the local Harnessa instance. A real labeled issue delivery produced an interview; the administrator answered its repository-specific question, and OpenSpec validation passed. The initial issue delivery exposed a missing source-checkout mapping in Compose; PR #63 adds named shared source/specification volumes and explicit source mappings. At this snapshot the replacement interview was NOT_READY, and no agent run had occurred. Issue #4 later completed the live run and merge lifecycle as recorded under “Latest live acceptance evidence” below.
A second live failure exposed a stale-session PostgreSQL advisory lock under concurrent issue processing and readiness recovery. The interview creator now holds its idempotency lock on a dedicated DB connection through task creation and releases it on the same connection. A focused concurrent-replay regression passes. Readiness transitions now include task version and target stage in their idempotency keys; the route-recovery regression passes. The disposable default branch has an approved verification manifest at 3adf0776c53cd090c5938170804a66418af115f4. The first issue was superseded and rejected because it was frozen to the earlier source head; replacement issue #2 is awaiting webhook processing against the manifest-bearing head. No provider call or real agent run has occurred yet.
Latest live acceptance evidence (2026-10-25)
Task b939f514-1de6-4c06-abfa-186429555c93 from the authorized private repository completed successfully. Its run made eight Harnessa-routed model calls with known usage (53,918 input and 923 output tokens), estimated at $0.017283; the aggregate per-run cap was $0.25. The manifest-gated agent produced a prepared verification bundle at exact head ceaf0d290ab425c26357662fae5ed46b36e6fa86; the README verifier passed, the review digest 2e0768d46d0ba8a3831f22a68b4c50caf55328ae0932fb36d2f97c473115ad3e was approved, and repository PR #5 merged at 09a974beb42c1aec32c1cf8090b51fd3ea981768. Integration evidence was confirmed against the merge SHA; archive and cleanup succeeded. The optional learning step was skipped because there was no completed Harness² experiment, so no candidate or rollback was produced.
A GitHub redelivery of the already processed issue #4 event reused delivery ID ae308e6c-d08f-11f1-9687-b1fbb7358eeb. Harnessa retained one processed record for that delivery and the existing task; task count remained five. The local browser admin account had been provisioned without a known password; after a mode-0600 database backup, the password was reset for this disposable instance and the existing Chrome session now authenticates. No password was provided to or requested from the user.
The current LiteLLM acceptance database later recorded $0.028482925 total billed for 2026-10-25, including $0.000873661 for the bounded OpenRouter probe route. The Harnessa global ledger remains capped at $20 and reads $0.20809141 estimated and $0.00205562 reserved; its settlement field remains $0.00002280 billed. Runtime $10 is the lower application control. Exact bounded evaluation evidence and unverified failover, in-flight worker recovery, learning rollback, mid-stream reconnect, and independent holdout scenarios are recorded in acceptance-report.md. M13 remains active; prompt 13 is not archived.
Bounded live Harness² probe follow-up (2026-10-25)
Added the pinned OpenRouter openai/gpt-oss-20b LiteLLM route and registered it only for the disposable acceptance probe pool. The OpenRouter provider catalog identified Darkbloom at 131,072 context with $0.018/M input and $0.090/M output; the acceptance project model policy used a 50-step bound, 4,096 output tokens, 500,000-token scope limits, and $2 probe project/task/run ceilings. The immutable evaluation estimate was $1.492992. Provider request and spend evidence is recorded in acceptance-report.md; no provider secrets were added to Harnessa.
The evaluation returned five samples (three successful deliveries, two failures), $0.00090260 known sample cost, p50 68,945 ms and p95 81,160 ms. Eleven successful gateway calls had known usage (61,075 input and 1,540 output tokens); four unauthorized alias attempts and four transport failures were also recorded, with transport usage conservatively unknown. The experiment is blocked at evaluator_not_configured; it is not a benchmark score and no improvement is asserted. The baseline and one candidate rollout failed, and there is no independent holdout result. This partially exercises a bounded live probe and confirms the evaluator isolation gate, but does not close M13's holdout requirement.
Current-main live acceptance refresh (2026-10-25)
The clean worktree was refreshed to origin/main at 21f20195a5ce2f9c2203e78e17966be357bc4e23. The previously unreported task recovery, PR #19 integration, archive/cleanup, and automatic board-stream reconnect are detailed in acceptance-report.md. In brief, the first in-flight attempt was fenced as worker_lost; the second was rejected on token headroom; a project token-limit increase without any dollar-limit increase allowed attempt 3 to pass. The exact approved bundle was published, the PR passed its fixture check, and the merge was recorded through explicit local-manual integration evidence because the local approval was not a GitHub review on the published head. The close webhook was processed, the task reached DONE, and archive/cleanup succeeded. Restarting the idle API caused the open board stream to fail and automatically reconnect at the same durable cursor without a page reload.
Current local deterministic acceptance on fresh disposable PostgreSQL and Redis passed: 35 tests across tests/integration/test_model_gateway.py, tests/integration/test_harness_experiment_worker.py, and tests/test_harness_experiment_worker.py. It covers injected 429 retry/fallback and ledger attribution, primary/probe capacity reservation, and experience promotion/rollback idempotency. It does not count as a provider-generated 429 or live cross-pool contention test. Current LiteLLM spend-log readback totaled $0.05846088666 across 150 returned rows; Harnessa's current separate global ledger reports $0.59677173 estimated, $0.00002280 billed in its settlement field, and zero reserved against the $20 lifetime cap. No model/provider request occurred during the refresh or local verification.
Earlier 2026-10-25 key-pairs snapshot (superseded by the credential follow-up below): the page showed four keys, including the configured replacement and the previously exposed key. At that point the replacement authenticated and the webhook secret was rotated, but GitHub disabled Delete controls with “You cannot delete the only private key. Generate a new key first.” The exposed key was still pending revocation in that snapshot. The later verified refresh and deletion are recorded below; do not use this historical snapshot as current key status. No provider requests were made during this security follow-up.
M13 remains active and prompt 13 remains unarchived: the real merged task had no completed Harness² experiment, so its optional learning step was skipped; no task-derived candidate was promoted or rolled back. The experiment evaluator remains unconfigured for Harnessa, and no confidential performance holdout result exists. SWE-bench-Live remains a public-data, self-hostable option without a Harnessa spend-ledger adapter. Provider-generated rate limiting and live primary/probe contention are also outstanding. These claims remain distinct from the passing deterministic fixtures and local restart/reconnect evidence.
The acceptance stack exposed an evaluation-resume bug when its parent row remained queued after all child experiments failed. The resume route now checks the API's child-derived summary, and a new PostgreSQL/Redis integration regression reproduces and passes the stale-parent case. Focused contract, route, and LiteLLM config tests passed (16); the integration regression passed (1). Self-review was performed at the user's direction and is not independent review. No formal GitHub approval has been submitted.
Credential and failure-redaction follow-up (2026-10-25)
After PR #67, origin/main was refreshed at 24982ed1b1a79a8fa884850b5ffb928a10a12826; Prompt 8 remains archived unchanged at the previously recorded SHA, and prompts 13–17 remain active. GitHub's live App key-pairs page initially showed six keys. The configured old PEM was matched to its row locally without printing key material, and that exact row was deleted through GitHub's UI after the user's completed access challenge. The page then showed five rows. The configured replacement PEM matched its retained GitHub row; the local acceptance .env and Compose API environment had still contained the revoked key, so .env was updated with the replacement, a redacted mode-0600 backup was kept, and the API container was recreated. The container's configured key fingerprint matched the replacement, readiness returned HTTP 200, and the authenticated Harnessa GitHub view reported the App ready, installation active, and the opted-in disposable repository ready. The revoked PEM file was removed. Four other key rows remain and were not confirmed as active or inactive; they were left untouched. No provider request was made.
PR #68 carries the bounded exception-chain diagnostics, removal of raw exception text from scheduler/ACP failure persistence, and serialized native relay/tool compiler builds. Its accepted review finding on child-process cancellation is addressed by terminating, reaping, and cleaning the shared temporary output before releasing the build lock. A parameterized regression covers both builders and verifies a queued build cannot overlap a still-running compiler. Verification passed: 23 focused ACP/Podman unit tests, one scheduler redaction integration test on fresh disposable PostgreSQL 16.13 and Redis 8.10.2, Ruff on the changed paths, strict API mypy (62 files), and git diff --check. An independent reviewer found no actionable issues on exact head 934ac163fa1f162f865cfd8da2c3bed96ac7937d; hosted required checks are still running. M13 remains active: an independent holdout evaluator, a task-derived candidate with promotion and rollback, and remaining live resilience evidence are still absent.
Harness² evidence and JSON-mode follow-up (2026-10-25)
The probe proposer now requests JSON object mode only from deployments explicitly declaring that capability; streaming JSON requests and unsupported protocol/capability combinations are rejected. Candidate evidence is stored in content-addressed artifacts and bound to a canonical digest over the cue, lesson, scope, and exact successful probe traces. Promotion gates require the returned candidate and metadata artifacts to verify, the matched regression checks to pass, and known usage to remain under the project probe task limit. The post-merge learning hook re-computes the candidate digest from persisted evidence before it creates an inactive, review-required experience.
Focused offline tests passed: 46 unit tests, Ruff, strict mypy for seven changed API modules, and git diff --check. The two affected PostgreSQL/Redis integration test files had passed earlier against fresh disposable services (17 tests total). This refresh could not reproduce them because the acceptance Redis host port refused connections; the failed attempt created and removed a uniquely named disposable PostgreSQL database and did not alter the acceptance database. No provider/evaluator request or spend occurred during this refresh. No live candidate, promotion, or rollback was produced.