{
  "schemaVersion": 2,
  "date": "2026.10.24",
  "publishedAt": "2026-10-24T13:00:16-07:00",
  "timeZone": "America/Los_Angeles",
  "title": "Integrating model experiments with the continuous queue and comparative dashboard",
  "publicationStatus": "Implemented in draft PR #15 against the running production baseline; production not activated",
  "executiveSummary": [
    "Implemented a typed model_evaluation experiment in the existing continuous idea queue. The existing canonical runner owns discovery, scheduling and the evaluation lease; no second daemon or promotion path was introduced.",
    "Discovered that the repository already has a newer frozen model qualification suite: harness 2.1.0, suite 2.0.0, 24 cases and 72 full-run trials. Its cases, scoring, repetitions and integrity manifest remain unchanged. The legacy 120-case bakeoff and agent-level evidence remain separate.",
    "Extended the existing Benchmarks page with model comparisons, category plots, resource and reliability evidence, history, failed-case inspection, queue requests and priority controls. Recommendations remain bounded and provisional; production routing never changes automatically.",
    "The full regression run completed with 1166 passed, 4 skipped, 1 environment/setup failure and 22 warnings in 1063.59 seconds. The isolated checkout was missing the ignored pinned runtime; provisioning it with the existing helper made all three Windows preflight tests pass. The final focused regression set passed 115 tests. No safe spare capacity was available for a real separate model campaign."
  ],
  "workstreams": [
    {
      "title": "Architecture and duplicate-work intake",
      "status": "Inspected",
      "details": [
        "Read current project instructions, actual queue/supervisor/lease architecture, model launchers, frozen v1/v2 benchmark packages, scoring and ledgers, FastAPI routes and existing dashboard navigation. Open handoffs concern experience reuse and autonomy qualification; neither duplicates this feature. They were not executed.",
        "Used an isolated feature checkout based on production revision fd0f46d. The active model and production services were left running."
      ]
    },
    {
      "title": "Persistent model discovery and queue execution",
      "status": "Implemented in candidate",
      "details": [
        "Added approved-publisher and repository metadata discovery with configurable daily cadence, exact artifact/version identity, immutable hash-based deduplication and reviewed metadata qualification. Unknown release dates, architecture support, context or memory fit produce explicit blocked evidence. Repository creation dates are never asserted as model release dates.",
        "Added model/job/audit/discovery records to the existing model SQLite ledger. Typed jobs reference the canonical queue ID and are not a second scheduler. The terminal evaluated state distinguishes experiment completion from deployed software.",
        "Added screened then complete frozen evaluations, fresh isolated primary baselines, per-case results and partial-run retention, status updates, independent comparability checks and provisional primary/specialist/comparable/inferior/inconclusive recommendations. Specialists create an observing routing-validation followup requiring independent end-to-end measurement.",
        "A real metadata-only integration check fetched six approved public repositories and persisted 90 pinned GGUF artifacts and 90 blocked typed jobs in the isolated candidate store. Repeating discovery produced zero new artifacts or jobs; no model downloads or inference occurred. These are artifact records, not 90 qualified experiments or improved models.",
        "Added strict reuse of a recent complete baseline only when frozen suite/scorer, current artifact, hardware, sampling, context, reasoning, runtime binary and loading configuration match. This avoids redundant large baseline loads when genuinely comparable evidence exists. Establishing the first qualified control still requires enough spare capacity.",
        "Invalid model specifications close immediately as blocked eligibility assessments, rather than filling the runnable backlog. Temporary resource blocks remain deferred queue work. Complete reviewed specification receipts are retained in the append-only audit."
      ]
    },
    {
      "title": "Resource ownership and truthful evidence",
      "status": "Implemented and fixture-tested",
      "details": [
        "Added an owned loopback-only llama.cpp child launcher using the existing normalized inherited environment. It checks artifact and runtime hashes, current-primary artifact reference, port ownership, production quiet time, concurrent candidate/promotion work, free memory and disk budgets. Cleanup stops only the created child. Production settings and processes are never changed.",
        "Downloads default off. Supported downloads are bounded, approved-source, pinned single GGUF artifacts with verified size/hash, redirect and storage controls. Model repository code and paid inference are not executed.",
        "A read-only local sample found 13.13 GiB free GPU memory and 4.97 GiB free system memory while production health remained okay. This does not permit an additional full baseline under the configured reserves. No production-serving process was interrupted to create capacity.",
        "Owned runtime configuration supports reviewed backend/vendor library directories and a configured non-mmap loading mode for the known Windows runtime constraint. GPU placement is bound to the resource-budgeted device with splitting disabled. Artifact preparation and model work share the total job deadline."
      ]
    },
    {
      "title": "Dashboard, API and historical evidence",
      "status": "Implemented in candidate",
      "details": [
        "Extended existing Benchmarks navigation with Model benchmarks while retaining Frozen archives and existing agent evaluation views. Added numeric sorting, role/suite filters, selected category graphs, comparison reasons, queue priority and requests, configuration history, failed cases and raw artifact links. Missing results stay missing.",
        "Added private API controls which enqueue work rather than running inference in HTTP handlers. Preserved previous model ledger rows and added immutable raw historical JSON import with non-comparable labels. Scheduled adapter runs cannot receive an aggregate winner from the legacy archive comparison endpoint.",
        "Added operator documentation for discovery configuration, exact baseline/runtime qualification, manual requests, resource constraints, statuses, persistence, imports and acceptance verification.",
        "The preview explicitly labels its scheduler-disabled state. Clicking a model brings its precise eligibility evidence into view; a real discovered oversized artifact correctly reports unverified architecture/specification details and an estimated memory requirement beyond local capacity.",
        "Draft PR https://github.com/avonhun/hiro/pull/15 contains only the thirteen feature files. Its review base pins actual production fd0f46d because remote main is behind the operating checkout; no unrelated historical changes were merged into main. Candidate head is 00d1961d48a0839889f34f724af2c7e0f4cdd558."
      ]
    }
  ],
  "decisions": [
    "Reuse the current frozen v2 scorer/cases/ledger without modifying protected evaluator, governor, policy or benchmark thresholds.",
    "Model-only scenarios and deterministic substring/structural checks are bounded evidence, not proof of general reasoning or end-to-end improvement.",
    "No automatic production-model promotion; no wholesale process termination; no model load when spare RAM/VRAM cannot cover the isolated campaign.",
    "Do not activate candidate changes or implicitly reset unrelated failed idea budgets before regression and integration review."
  ],
  "validation": [
    {
      "check": "Focused Python regression",
      "status": "passed",
      "result": "112 passed in 28.16 seconds across new pipeline, frozen v1/v2 model benchmarks, active loop, continuous queue and evaluation dashboard tests."
    },
    {
      "check": "Additional lease/archive coverage",
      "status": "passed",
      "result": "14 pipeline tests passed in 19.54 seconds, including real canonical tick lease ownership and legacy comparison segregation."
    },
    {
      "check": "JavaScript behavior",
      "status": "passed",
      "result": "New model dashboard interaction tests and existing dashboard reconnect and touch tests passed."
    },
    {
      "check": "Real child process startup",
      "status": "passed",
      "result": "New launcher test started an actual Python child with one normalized Path; a real non-model startup failure cleaned its owned child."
    },
    {
      "check": "Full regression suite",
      "status": "completed_with_corrected_environment_failure",
      "result": "1166 passed, 4 skipped, 1 failed, 22 warnings in 1063.59 seconds. The single failure was test_nightly_api_preflight_validates_pinned_runtime_and_endpoints before the ignored pinned runtime was exposed in the isolated checkout. Existing provision_worktree_runtime repaired that setup; all 3 preflight tests then passed in 0.82 seconds. No test or launcher contract was weakened."
    },
    {
      "check": "Real model campaign",
      "status": "not_run",
      "result": "Insufficient spare system RAM and VRAM for separate primary baseline without disturbing production."
    },
    {
      "check": "Journal validation",
      "status": "passed",
      "result": "npm run test:hiro and npm run build passed with 270 entries after adding the required currentState source field. Final source updates are rebuilt and validated again before push."
    },
    {
      "check": "Real metadata discovery and idempotency",
      "status": "passed",
      "result": "Six source-fetch receipts; 90 artifact records and blocked jobs; repeated discovery unchanged; zero benchmark runs. This is an isolated integration demonstration, not admission or model-quality validation."
    },
    {
      "check": "Browser verification",
      "status": "passed",
      "result": "Actual local preview rendered navigation, truthful missing scores, current model placeholder, real discovered blocked artifacts, exact detail evidence and explicit scheduler-disabled labeling."
    },
    {
      "check": "Final focused regressions",
      "status": "passed",
      "result": "115 passed in 37.24 seconds across model pipeline, frozen v1/v2 benchmarks, active loop, continuous queue and evaluation dashboard. New model UI behavior tests passed. Final specification-audit refinement: 2 relevant discovery/dedup tests passed in 1.18 seconds."
    },
    {
      "check": "Final production identity and health",
      "status": "passed_after_transient_timeout",
      "result": "One initial health read timed out. Subsequent direct checks of API ports 8765 and 8001 both returned okay with loaded/checkout revision fd0f46d matching; the model endpoint responded. Production API PID 39860 and model PID 40084 remained unchanged. Read-only queue state showed no active/pending candidates, and the existing canonical runner lease was alive and left untouched."
    }
  ],
  "limitations": [
    "Implementation is in an isolated candidate and is not yet loaded by the running production API/scheduler.",
    "The default runtime executable hash/version and current-primary baseline key need explicit local qualification. Metadata discovery cannot infer unsupported architecture compatibility.",
    "Peak model RAM/VRAM are unavailable and remain null. Admission memory requirements are labeled estimates; free-resource snapshots are separately measured.",
    "Hard parent-process termination may leave an owned child listening; uncertain process ownership blocks further loading and requires operator inspection.",
    "Specialist routing followups remain observing until independently qualified overhead-aware agent measurements exist."
  ],
  "nextSteps": [
    "Review and qualify the thirteen-file candidate before activating it in normal Hiro; no production branch/service was changed in this session.",
    "Configure reviewed artifact/runtime identities and the current primary baseline. Reuse only a genuinely compatible recent baseline; otherwise wait for sufficient spare resources to establish a fresh control.",
    "Use measured category advantages to select independent specialist routing experiments including loading/routing cost; never replace or reroute production based solely on a benchmark score."
  ],
  "currentState": [
    "Feature implemented and pushed as draft PR #15, candidate revision 00d1961. The thirteen-file review is based on the actual running production revision, without changing that running service.",
    "Full run completed with one isolated-checkout setup failure, corrected by the existing runtime provisioner and passing preflight rerun. Final focused regressions and JavaScript checks passed; live model quality remains unmeasured.",
    "The local preview is explicitly scheduler-disabled and contains real metadata discovery records with blocked qualification reasons, not invented benchmark scores.",
    "Default discovery and idempotent requests are configured for the canonical scheduler once loaded. Downloads remain off; exact runtime/baseline pins and architecture qualification are required before inference. Available spare RAM/VRAM did not permit a real separate baseline campaign.",
    "Final health and loaded-revision checks confirm production still runs its original code/model. The feature preview was restarted only within its explicitly owned loopback process and remains scheduler-disabled."
  ]
}
