# ACTIVE TASK LOCK — 6400-front-rear-v1 production migration - Owner: single Codex production writer; no sub-agents. - Branch: `codex/6400-front-rear-v1-prod`. - Worktree: `/data/prod2u/worktrees/6400-front-rear-v1-prod`. - Base: `127db8eef879a6c0cad0e97b485c28d59944afa9` (`dev`). - Authority: root `AGENTS.md` plus the delegated 2026-08-25 production contract. - Hardware: 6400 V1.1, EF2L45BG256B, 25 MHz, no PLL. - Protected: no COM/JTAG/programming/driver install/global PATH changes. - External run roots: `/data/prod2u/cpld-runs/`, `/data/prod2u/deliveries/`. - Evidence boundary: Hardware and PRE_CONFIGURATION_OUTPUT are NOT RUN / NOT VERIFIED. ## Frozen decisions for this task - Host RS232/TTL 921600 8N1; BMC RS232 115200. - Output order is PTC0..23, Front0..3, Rear0..3. - Connector-side duty is canonical everywhere; `FAN_BOARD_INVERT_MASK=8'h0F` is the only fan polarity adapter. - Safe output is PTC 0 and all connector fans 20 for Reset, Boot, Standby, watchdog transition, PID wait, and ordinary non-overtemp global fault. - Only confirmed >=77 C lane hard protect may force lane PTC 0 / fans 100. - Modes: BOOT_WAIT, MANUAL_SET_ALL, PID_WAIT_SENSOR, PID_AUTO, HARD_PROTECT. - Watchdog: 10 s; default PID target: 70 C. - `0x03` remains SET_STIMULUS; Production returns UNSUPPORTED NACK; Identification/Sim Debug retain payload/behavior. - Host commands: 01 SET_ALL, 02 GET_SNAPSHOT, 03 SET_STIMULUS, 04 SET_PID_TARGET, 06 ACK_NACK, 82 SNAPSHOT_DATA. - Unified response payload: `[ok, request_type, status, detail]` with status 0..4. - Invalid header/CRC/partial/timeout/framing are silent; each complete CRC-valid request gets exactly one ACK/NACK, GET additionally gets DATA. - Only a legal atomically committed SET_ALL feeds the watchdog; commit wins over same-cycle expiry. - Snapshot and selected Host port stay locked through final DATA CRC stop bit. - GUI is HEX-only, generated from the same Host Contract and Golden Vector; no serial access. ## Ordered gates 1. Q0 contract/generator/RTL/golden/GUI and static invariants. 2. Q1 deterministic generation, hashes, lint, focused unit/Icarus/cocotb. 3. Q2 clean committed source, fresh TD synth/P&R/setup/hold/bitgen. 4. Q3 same commit/profile packages under `/data/prod2u/deliveries/6400-v11-quick/-/`. 5. Q4 report QUICK CANDIDATE READY with WSL and Windows absolute paths; then continue automatically. 6. L1-L6 bounded formal, full integration, fuzz/soak/mutation/race, legacy once after freeze, resource/timing capture, separate FINAL candidate. ## Current state - Q0: COMPLETE — active registry 01/02/03/04 unique; responses 06/82; invert mask 0F; V1.1 PTC/FAN/ADC constraints unchanged. - Q1: COMPLETE — deterministic generator 10 files; Verilator+Yosys lint PASS; focused unit 21 PASS (related expanded set 43 PASS); Icarus Host/mode/PWM PASS; cocotb full-bit Host protocol 1 PASS. - Focused reset proof: three consecutive 50,000-clock periods each PTC high 0, connector FAN high 10,000, Front Ball low 10,000, Rear Ball high 10,000. - Q2-Q4: PENDING. - L1-L6: PENDING. - Hardware: NOT RUN.