Four-person daily workspace.yaml and ws commands (v0.2.0)

root b26d8111f2 docs(round-11): formal repairs, Linux TD schema, matrix python wrapper hai 3 meses
.cursor dd25f5e866 docs(loop): hard-gate exec-before-send; tighten compact git selftest hai 3 meses
config 2f18bee2a3 fix(door): idempotent SET_ALL must not swallow planner_done or STEP tick hai 3 meses
constraints 3356de260c feat(prod2u): close 3-axis six-limit Linux product path hai 3 meses
docs 8fa4dcfbaa docs(activity): bind Round-10 tip ff480c0 TD bitstream 299ef1cf hai 3 meses
projects 3ad444fbc8 feat(door): percent positioning motion stack on preview branch hai 3 meses
receipts bbf17f11c9 fix(formal): reset/window harness so door-percent BMC passes hai 3 meses
reference 3ad444fbc8 feat(door): percent positioning motion stack on preview branch hai 3 meses
requirements 831164b495 feat(prod2u): add profile 4 fan tach control hai 4 meses
runs a09ff02405 chore: align verification package contract hai 4 meses
schemas b26d8111f2 docs(round-11): formal repairs, Linux TD schema, matrix python wrapper hai 3 meses
src 2f18bee2a3 fix(door): idempotent SET_ALL must not swallow planner_done or STEP tick hai 3 meses
td 52aae27701 wip(door): round-9 formal packaging exhaustive (pre-TD) hai 3 meses
tests b26d8111f2 docs(round-11): formal repairs, Linux TD schema, matrix python wrapper hai 3 meses
tools b26d8111f2 docs(round-11): formal repairs, Linux TD schema, matrix python wrapper hai 3 meses
.gitattributes ddd52a2aef chore(snapshot): checkpoint normal v3 before minimal motion rewrite hai 4 meses
.gitignore d4f3df2549 feat(board-viewer): index resistors and support front/back board views hai 3 meses
ACCEPTANCE_MATRIX.md 8fa4dcfbaa docs(activity): bind Round-10 tip ff480c0 TD bitstream 299ef1cf hai 3 meses
AGENTS.md 3ad444fbc8 feat(door): percent positioning motion stack on preview branch hai 3 meses
BASELINE_REPORT.md fef3c9d92a docs: align active truth to Linux 11-byte contract hai 3 meses
FINAL_DELIVERY_REPORT.md 8fa4dcfbaa docs(activity): bind Round-10 tip ff480c0 TD bitstream 299ef1cf hai 3 meses
OPEN_QUESTIONS.md bbf17f11c9 fix(formal): reset/window harness so door-percent BMC passes hai 3 meses
PACKAGE_FOR_AGENT_ANALYSIS.README.zh-CN.md 8895c57438 fix(packaging): emit live Git provenance for review-compact hai 3 meses
PLAN.md bbf17f11c9 fix(formal): reset/window harness so door-percent BMC passes hai 3 meses
README.zh-CN.md b26d8111f2 docs(round-11): formal repairs, Linux TD schema, matrix python wrapper hai 3 meses
package_for_agent_analysis.py ff480c0a91 fix(package): final-only fail-closed selftest and clean worktree gate hai 3 meses
pyproject.toml 818a603b1f Final convergence: startup limit close/seek, source-of-truth refactor, verification matrix. hai 4 meses

README.zh-CN.md

Prod2U 三轴风门温控板(door-percent)

活动产品:三轴风门 闭合百分比定位(0=全开 … 100=全关)+ FAN/PTC PWM + UART 协议。

破坏性协议:旧上位机若把三门填 00 当心跳,将驱动三轴到全开限位。合法门字节为十进制 0..100;101..255 整帧拒绝。

合同要点

  • UART 25 MHz / 115200 8N1;帧头 A5 5A;CRC-16/CCITT-FALSE。
  • 0x01 SET_ALL(11B:4 FAN + 4 chamber PTC + Z/X/Y percent)、0x02 GET_TEMPERATURE → 0x82、0x03 GET_MOTOR_STATUS → 0x83(31B payload)。
  • Watchdog 30 s → PTC 0 / FAN 10(仅 startup_complete 后)。
  • 标定:seek-close → measure-open(各 ≤5000 gated STEP);无 500 backoff;latest-wins;无 ACK/队列。
  • 限位硬截断:truncate_current_high_pulse_immediately_after_synchronized_limit。
  • Motor EN:permanent_high。Active IO:CON104/105/106/120/12/129(非电磁铁 / CON68/CON34)。

当前基线与验证真相(Round-9)

项 值
预览分支 preview/door-percent-positioning
TD-bound tip 52aae2770152cf957e57e7443d95c9f576ce73b9
base dev(本轮未改) d4f3df2549efeb1e9227f62d1d71c6179c9f9160
合同迁移 百分比定位 + 30 s WD + GET_MOTOR_STATUS
RTL P0/P1 watchdog drain / status mux / startup commit — 已修
Formal BMC pass(bounded):limit gate、planner、cal、commit、watchdog、drain、motion、status
Fresh TD / bitstream pass 1e784d303b98a185bda5a608e58ae310 / SHA 71a571a3…;LUT 2644 / slices 1335
Hardware / JTAG / 烧录 NOT RUN(未授权)
合入 dev 不做;preview tip 由用户独立决定是否合并

中间百分比仍是开环估算(无编码器)。

离线验证入口(Linux)

python -B tools/run_verification_matrix.py \
  --work-root-prefix "${TMPDIR:-/tmp}/prod2u-matrix" \
  --verification-run-id "<run_id>" \
  --report-file "${TMPDIR:-/tmp}/prod2u-matrix/matrix-receipt.json"

TD:仅用 td2026(Anlogic TD 2026.1 SP2 Linux)。勿把 TD 的 LD_LIBRARY_PATH 导出到全局 shell。说明见 docs/TD_USAGE.zh-CN.md。

合同与工具

  • 合同:projects/prod2u-door-temp/project.json、requirements.zh-CN.md、协议文档、AGENTS.md
  • 协议参考:tools/prod2u_simple_protocol.py、tools/door_percent_planner_ref.py
  • 源码审计包:package_for_agent_analysis.py(--package-stage intermediate-review|final-review)
  • 固件包:tools/build_firmware_package.py(需绑定 --td-root;仅 final)
  • IO / 硬件期望:docs/IO_EVIDENCE_MATRIX.zh-CN.md、docs/HARDWARE_TEST_ORDER_WAVEFORMS.zh-CN.md

Round-11 preview status (2026-08-10)

  • Branch: preview/door-percent-positioning
  • RTL tip: 2f18bee2… · TD-bound: 3a750d37…
  • Bitstream SHA-256: 4ce1dd7c3f2007562a2ba1d9e70b5b1fcde83879dbe835ab05c082a4c07589ca
  • dev immutable: d4f3df2549efeb1e9227f62d1d71c6179c9f9160
  • Hardware validation: NOT RUN
  • Same-% SET_ALL heartbeat no longer swallows planner_done / STEP tick; planner DIR uses effective_current_position.