Updated: 2026-09-20 (recovery round). Keep this file short; details live in the artefacts it points to.
| Item | Value |
|---|---|
| Archive | /srv/cpld-recovery/input/cpld-temperature-control-20260908-clean-20260920T074828Z.zip |
| SHA-256 | 7f039ecc92fe949dc99ea7593aaa2776ed5d244c7741e500f2665875dd55f01b (verified) |
| Size / members | 2,156,210 bytes; 977 members, 865 regular files |
| Root | cpld-temperature-control-20260908/ |
| Manifest | /srv/cpld-recovery/input/pristine-manifest.sha256 — 865/865 files OK |
| Verification extraction | /workspace/recovery/zip-extract/cpld-temperature-control-20260908 |
The written recovery plan assumed every local and remote Git repository was lost.
Reconnaissance found the opposite in this container: /workspace/cpld-temperature-control/.git
holds 1079 commits including b93883b2 (2026-09-08), whose worktree content is the same
2026-09-08 code the ZIP was packed from.
Decision: keep the real history instead of fabricating a fresh root commit.
Development continues on branch recovery/final-rebuild, created from b93883b2,
which is the ZIP-verified snapshot. This satisfies the real requirement (real new hashes,
no invented history, ZIP remains the designated input) without destroying genuine evidence.
git bundle --all of this history ships inside the Recovery ZIP.
The ZIP remains the authoritative input: it was extracted to
/workspace/recovery/zip-extract/ and all 865 files verified against
pristine-manifest.sha256 before any work started.
| Item | State |
|---|---|
| Anlogic TD | /data/anlogic/TD_Release_2026.1_SP2_NL (read-only mount), td2026 wrapper at /usr/local/bin/td2026 — executes |
| Simulators | iverilog, verilator, yosys, sby, cocotb 2.0.1 present |
| Python | /opt/prod2u/venv/bin/python3 with yaml, pytest |
sby-4d7df7314353.tar.gz |
ZIP excluded it; recovered from /opt/prod2u/, sha256 4d7df7314353…e411 matches its pinned name; restored to containers/6400-dev/vendor/ |
| Container runtime | no podman/docker inside this container; container lifecycle tooling is not used this round |
| HARDWARE / JTAG / COM / THERMAL | NOT RUN |
docs/historical/retired-operating-rules/AGENTS-2026-08-31-windows-16bit.md is the archived
old contract (Windows-authority, 16-bit frames, ACK80/DATA81, hot lease). It is not authority.
| Phase | State | Note |
|---|---|---|
| A — preserve input, git, archive rules, restore tools | done | see above |
| B — freeze 8-bit contract, temperature, mapping | done | contracts/generators/generated/closures migrated; 17 pytest pass; six golden frames byte-exact vs an independent bitwise CRC; ulw-loop G001 checked complete |
| C — 6400 shared UART / watchdog / 83-byte GET / TD | in progress | new core committed; e2e bit-level TB shows SET/ACK, NACK and GET framing pass, GET payload PTC field still reads defaults (open defect) |
| D — MRDIMM 12 axes / 32 slots / DONE / 63-byte GET / fit | pending | |
| E — HTH, Linux GUI, deploy, smoke | in progress | /workspace/hth-platform rebuilt and green (122 tests); manifests, GUI and deploy pending |
| F — full verification, Final, recovery drill, off-host copy | pending |
New, committed to recovery/final-rebuild:
src/control/duty_register_bank.v — dual duty bank, atomic commit, single valid flag,
defaults PTC 0 / FAN 20 while invalid; duty presented combinationally from the bank's
one-clock registered output.src/control/watchdog_30s.v — 30 s watchdog; reload wins over expiry.src/telemetry/get_data_6400.v — 83-byte GET_DATA assembler.src/transport/reply_arbiter.v — reply group vs DONE transmission arbiter.src/control/m6400_transaction_core.v — validate+stage one pass, atomic SET commit,
GET assembly, NACK reasons, watchdog feeding on SET_ACCEPT / GET_ACCEPT only.src/top/prod2u_6400_final_top.v — the 6400 production top on the new protocol;
elaborates with zero warnings under iverilog -g2012 -Wall.src/transport/host_uart_endpoint.v, reply_ram.v, src/acquisition/{temp_ram,ct7428_scan,bmc_ascii_poll}.v
— shared UART endpoint with independent RX/TX CRC contexts, reply staging RAM and the
temperature chain.tests/sim/final_core_units_tb.v — PASS (repeatable, plus deliberate-defect RED).tests/sim/prod2u_6400_final_e2e_tb.v — real UART bit level; PASS on SET/ACK,
NACK BAD_LENGTH, bad-CRC recovery and GET framing; FAIL on the GET payload's PTC field.The bank holds the staged values after SET A (b1[0..23]=0x14, b1[28..31]=0x1E,
active=1, valid=1), yet the GET reply's PTC bytes read the connector default 0x00.
The defect is in get_data_6400's read rhythm against the bank read path now that
duty_register_bank presents duty combinationally. Next step: align the assembler's
bank pass with a one-clock RAM latency (the isolated gd163 probe passes against a
direct model) or restore a registered bank read and adjust the PWM scan accordingly.
receipts/ and reference/original/board|schematics were excluded from the ZIP; TD
warning-audit and formal runners reference receipts paths and will need a recreated
environment receipt before they can run.WORKSPACE-SNAPSHOT.json is absent by design; tools/source_identity.py resolves identity
through the real Git checkout instead..gitignore currently drops *.zip, *.bit, *.exe, *.area, *.timing, *.log;
the recovery packager must carry such artefacts explicitly rather than by git add -A.