Hiro development journal

Hiro moves toward continuous improvement with an eight-hour control cycle

Redesign validated and staged; live activation held until the current probation boundary Machine-readable JSON

Executive summary

The user replaced the nightly-lab operating model with a continuous evidence-driven improvement loop and authorized routine Stage 5 work to proceed under a standing report-only policy instead of per-candidate approval.

A new isolated implementation branch now makes both the Stage 6B promotion-admission interval and probation eight hours, limits admission to one promotion per rolling eight hours, and lets monitoring and rollback continue for an already-started promotion after its admission packet expires.

Eligible Stage 4 candidates can proceed automatically through Stage 5 isolated integration, smoke tests, canaries, and repeated monitoring. Each outcome requires a post-action report; Stage 5 still cannot alter Hiro's active branch, deploy, restart services, or bypass Stage 6.

The former automatic Daylab, Nightlab, and internet-observation probation cadence is retired. A new continuous coordinator reacts to new response evidence after a bounded minimum interval and performs a bounded idle discovery cycle when no new evidence arrives.

The benchmark interface was realigned around the current pipeline: discovery, specification, construction, evaluation, Stage 5 integration, Stage 6 probation, candidate evidence, performance, and history. Obsolete Nightly, Internet Observations, and Lineage tabs were removed from navigation.

Stage 6C remains disabled, but it now has a risk-specific accelerated readiness gate without an arbitrary 30-day wait: one retained 6B promotion, 30 perfect 6C shadow decisions, ten hot-reload rehearsals, three rollback drills, five interruption boundaries, full validation, and one exact policy activation.

The redesign passed 50 focused control tests, 17 focused dashboard and policy tests, 445 repository-wide tests, and an additional Stage 6C policy test. JavaScript syntax, Python compilation, and Git whitespace checks also passed.

The live Stage 6B promotion was not disturbed. It remains on the original checkout and has passed its zero-, 15-, and 60-minute checkpoints. The redesign is committed separately and is not yet active.

Work completed

Unified eight-hour Stage 6B cycle

Implemented and validated in isolation
  • Changed the active policy from a 24-hour probation to an eight-hour probation with checkpoints at zero, 15, 60, 360, and 480 minutes.
  • Changed the primary admission rate to one promotion per rolling eight hours, while preserving an additional three-per-24-hour ceiling and the existing seven-day boundary.
  • Separated admission expiry from post-promotion monitoring authority. An already-started promotion can complete monitoring and rollback after the admission window closes, but the expired packet cannot admit another promotion.
  • Reduced the active policy's maximum enablement window to eight hours and retained exact revision, policy, candidate, environment, sentinel, lease, and kill-switch checks.

Stage 5 report-only authorization

Implemented and validated
  • Stage 4 now returns eligible-for-controlled-integration rather than eligible-for-human-review when every evaluation gate passes.
  • Stage 5 defaults to a standing user policy that binds the exact recommendation, candidate hash, allowed paths, tests, and monitoring plan without requiring a new user packet for every candidate.
  • Successful and failed Stage 5 outcomes require a post-action report. Legacy approval packets remain verifiable for historical evidence and compatibility.
  • The active branch, deployments, service restarts, external actions, high-risk changes, and unresolved recovery work remain outside the standing Stage 5 authority.

Continuous improvement coordinator

Implemented and validated
  • Added a versioned active-improvement policy and coordinator with a durable cross-process lease, evidence fingerprints, bounded minimum interval, idle discovery interval, atomic state, and append-only events.
  • The coordinator composes proposal discovery, autonomous external construction, public and held-out evaluation, automatic isolated Stage 5 integration, and post-action reporting.
  • The scheduler now launches the evidence-driven coordinator rather than automatic Daylab, Nightlab, or internet-observation probation.
  • The machine-local legacy nightly schedule was disabled immediately so the former 22:00 job cannot revive while the code change waits for safe activation.

Benchmark control-center realignment

Implemented and validated
  • Renamed the page to Improvement Control Center and made Pipeline its primary view.
  • Added a six-stage operating flow, live Stage 6 checkpoint progress, continuous-loop status, and Stage 6C readiness summary.
  • Retained candidate, evaluation-health, performance, evidence-history, and comparison views.
  • Removed obsolete Nightly, Internet Observations, and Lineage tabs from navigation while leaving historical evidence APIs intact.

Accelerated Stage 6C path

Designed and policy-tested; not enabled
  • Defined 6C as one schema-validated assistant-behavior fragment with atomic hot reload and a known-good fallback.
  • Excluded arbitrary Python or shell changes, service restarts, and external actions from the first 6C scope.
  • Replaced the 20-promotion and 30-day calendar requirement with direct 6C evidence: 30 perfect shadow decisions, ten reload rehearsals, three rollback drills, five interruption boundaries, and full tests.
  • Kept one exact Stage 6C policy activation as the final gate; routine candidates after that activation would use post-action reporting rather than per-candidate approval.

Decisions and reasoning

Validation and evidence

CheckStatusResult
Focused Stage 5, Stage 6, scheduler, and notification suite passed 50 tests passed, including automatic isolated integration, legacy approval compatibility, eight-hour checkpoint retention, scheduler behavior, and post-action reporting.
Focused active-loop, dashboard, and policy suite passed 17 tests passed for evidence-triggered execution, idle suppression, dashboard navigation, API behavior, and active Stage 6 policy bounds.
Repository-wide suite passed 445 tests passed after linking the existing ignored pinned runtime into the isolated worktree. Two earlier failures were reproduced as missing-worktree-runtime infrastructure issues and then passed without product-code waivers.
Stage 6C readiness policy passed The additional policy test confirmed that 6C remains design-only, runtime-fragment bounded, eight-hour monitored, and separately activated.
Static validation passed Python compilation, benchmark-page JavaScript parsing, and Git diff whitespace checks passed.
Live probation preservation passed The active checkout remained on the promoted revision; zero-, 15-, and 60-minute checkpoints passed and no terminal outcome has yet been recorded.

Current state

Next steps