05-multirepo-environment-replay.md 1.8 KB

Audit 5 - repositories, environment, and replay

Result: PASS for the migration plan; repository creation and current-run gates remain execution work.

Independent reproducibility review

  • Four and only four current-scope repositories are planned: engineering-manifests, cpld-temperature-control, hth-platform, thermal-control-lab.
  • HTH has a substantial Host-bearing history on origin/dev and HTH branches. A history split is required; copying the directory and claiming history would fail.
  • Legacy remains a CPLD profile and build target. Its nearest AGENTS.md owns door behavior; 6400 authority moves away from the root.
  • Android Repo XML is the single repository inventory. No workspace YAML duplicates repository rows.
  • The authoritative editable workspace is Linux-native under /root/workspaces/thermal-system; Windows copies and unknown worktrees remain untouched.
  • The base runtime is Debian, not Ubuntu. Container digest and every tool version must be recorded; TD environment variables are scoped to the TD subprocess.
  • Lab uses only the HTH API and never opens a serial device directly.
  • Snapshot and release manifests bind exact full commits, generated-contract hashes, container digest, TD version, source manifest, commands, statuses, and bitstream hash.
  • Historical receipts are never promoted to current PASS. Clean replay must rebuild from the manifest without cache dependence.

Corrective action before PASS

The original task branch did not contain the latest Host tree. The migration basis was changed to a Git-history split from the Host-bearing lineage while leaving the dirty Windows worktree untouched.

Follow-up gates

Each new repository must end on clean dev, the snapshot verifier must resolve exact commits, HTH and Lab must pass standalone tests, and L14 must replay generation/test/TD/package from clean detached worktrees.