PLAN.md 2.6 KB

Prod2U 20 Hz PWM 与 UART 握手修复执行记录

  • run_id: 2b309dc4377143179824707be0f7a06b
  • baseline_commit: 4bb6dc95251900cfdbdf25b081abe8003a8a2c27
  • execution_branch: codex/prod2u-20hz-2b309dc4377143179824707be0f7a06b
  • execution_worktree: C:\\Users\\Administrator\\CodexTemp\\prod2u-20hz-2b309dc4377143179824707be0f7a06b
  • hardware boundary: no COM, JTAG, programming, driver installation, or global PATH changes
  • Adviser boundary: ChatGPT Adviser is prohibited

Scope

Implement the approved 20 Hz PTC/FAN PWM behavior, FAN board-level polarity metadata, default targets, UART TX ready/valid correction, real bit-level TX regression, cocotb receive-helper correction, and package/receipt consistency. Preserve the new protocol, motor, temperature, I2C, pins, and safety exclusions.

Execution order

  1. [completed] Configuration, schema, generator, generated artifacts, and config tests.
  2. [completed] PWM scheduler and focused Icarus regression.
  3. [completed] Top-level UART ready wiring, real frame-to-UART waveform regression, and cocotb helper/e2e updates.
  4. [completed] Documentation, verification targets, harness/package consistency.
  5. [in_progress] Integration smoke tests, full available validation, independent review, TD attempt, and fail-closed package evidence.

Current integration commits

  • configuration: f4ad327
  • PWM: 4690828
  • UART/e2e: 31e3c98
  • package/doc integration: 8c3dfcc
  • receipt-binding tooling: ca41ba4

Validation observed so far

  • Python targeted tests: pass (16 passed, 20 subtests passed)
  • Icarus full manifest: pass, including frame_tx_uart_tx_tb
  • Verilator top lint: pass
  • cocotb receipt: pass; the wrapper did not terminate cleanly after writing the pass receipt and was stopped as a stuck worker
  • formal: fail; simple_frame_contract returned ERROR 16 0 from undriven X/Z formal inputs, and the motor/temperature proof did not complete before the stuck worker was stopped
  • TD primary/confirmation for ca41ba42: pass; same synthesis hash and bitstream SHA, independent work roots and TD run IDs
  • candidate package: UNVERIFIED; package selftest pass, validation summary fail because formal is fail

Evidence policy

Every receipt or summary must bind run_id, commit, project configuration SHA-256, and where available bitstream SHA-256. Missing tools or unavailable TD evidence are blocked or not_run, never pass. A successful offline test does not establish physical hardware acceptance.

Rollback

All work is isolated on this branch/worktree. The dirty dev worktree remains untouched except for its pre-existing analysis-packaging changes.