SHIRE-Unified-Learning-0005-CORRECTED2 — OFFLINE BUILD VALIDATION

Corrected-2 purpose
-------------------
- Continue safely from verified 0004 or any exact hash-known partial-0005 state.
- Treat only approved pause/resume/timer fields in autopilot_state.json as
  operational while keeping Forge, qualification, curriculum and certification
  fields protected.
- Use the same immutable-state snapshot for live acceptance, final verification
  and rollback verification.
- Accept verified 0004, first partial 0005, corrected-1 partial 0005, or an
  idempotent corrected-2 partial state by exact source hashes.
- Recover the Academy timer's intended active state when the interrupted
  installer left it stopped.
- Make every generated learning artifact carry an explicit, deterministic
  SHiRE evidence-boundary footer.
- Ensure an invalid model-assessor JSON response can fall back to a separate
  deterministic boundary assessment without falsely certifying anything.
- Make every explicit installer failure visibly execute verified rollback.

Retained release purpose
------------------------
- Canonical scheduler: /home/ray/shire-academy-safe-autonomous.
- Legacy hidden path retained only as a compatibility symlink.
- Systemd executes the canonical /home/ray scheduler path.
- Bounded direct localhost SHiRE model route with Brain API fallback.
- Persistent learning artifacts, separate assessments and preserved retries.

Validated contracts
-------------------
PASS: Python syntax for backend, native dashboard and control helper.
PASS: Bash syntax for corrected installer and complete offline runner.
PASS: Corrected-2 installer recognises verified-0004 and all known safe partial-0005 states.
PASS: Interrupted-0005 timer recovery is explicit and bounded by scheduler state.
PASS: Explicit fail paths call visible verified rollback after live changes begin.
PASS: Scheduler bytes and executable mode remain unchanged during migration.
PASS: Systemd drop-in executes only /home/ray/shire-academy-safe-autonomous.
PASS: Legacy path resolves to the canonical scheduler as a compatibility link.
PASS: Activate, Pause, Resume and Emergency Stop preserve safety state.
PASS: Direct localhost SHiRE model route works with bounded Brain API fallback.
PASS: Non-local Ollama fallback addresses are rejected.
PASS: Every generated artifact receives the SHiRE truth-boundary footer.
PASS: Footer explicitly records no external research, tool execution, physical
      testing, certification, counted Academy attempt or Forge permission.
PASS: Real acceptance artifacts and separate assessments persist.
PASS: Deterministic assessor fallback is explicit, non-certifying and reviewable.
PASS: Three-stage jobs persist artifacts and independent assessments.
PASS: Assessment failures remain preserved and pause for review.
PASS: Failed or safety-stopped jobs can be retried without overwriting evidence.
PASS: 1,000/1,001-character request boundary remains enforced.
PASS: Approved operational autopilot fields may change without weakening protection.
PASS: Forge, qualification, curriculum and certification changes are rejected.
PASS: No certification, counted attempts, Forge unlock or immutable protected-state writes.
PASS: Installer contains full SHiREVault rollback and receipt generation.
PASS: Sentinel stop/restart/disable operations are absent.

Live-only validation performed by install.sh
--------------------------------------------
- Exact verified-0004 or known partial-0005 source hashes.
- Sentinel protected hash.
- CIFS-backed SHiREVault mount and write access.
- No active custom learning job before service replacement.
- Canonical scheduler status and systemd ExecStart.
- Unified Learning, Academy proxy and control-helper endpoints.
- Real live Brain generation.
- Real persistent writer artifact plus separate assessment.
- ARMOR OS process/window stability.
- Academy timer active/enabled restoration.
- Field-aware immutable Academy state, Forge lock and retired-worker invariants.
- Post-timer-restoration immutable-state verification.
