AGENTS.md 4.3 KB

Prod2U current dual-product operating rules

Active products and authority

  • projects/registry.json maps the two current products; behavior comes from raw product contracts.
  • 6400 FCB V1.1: products/6400-front-rear/project.json, contracts/6400-manual.yaml, contracts/6400-wire.yaml, contracts/6400-snapshot.yaml, and docs/prod2u-6400-front-back-protocol.zh-CN.md.
  • MRDIMM FCB V1.2: projects/mrdimm-chamber/project.json, its requirements.zh-CN.md, and contracts/mrdimm-wire.yaml / contracts/mrdimm-status.yaml.
  • Generated interfaces, constraints, sources, tests and packages derive from raw contracts. Generated outputs are not templates for recovering missing raw inputs.
  • Historical design locks, old receipts and retired PID/calibration/percent-planner products are not current authority. Do not restore them to make an old test pass.
  • Both products use16-bit frame length, ACK80/DATA81, Host921600, BMC115200 and500Hz outputs. The30-second lease affects thermal outputs only. MRDIMM startup seeks lower limits through the shared runtime engine; planning stays in the SDK.
  • Model and effort do not form an acceptance gate. Preserve the user's chosen settings.

Source ownership and execution

  • Windows is the sole human source-edit, Git and log-analysis authority. Reuse current fixes; never substitute an older checkout or attachment for newer source.
  • LAN edk2-uefi-lab and persistent rootful prod2u-dev run deterministic generation, simulation, formal, TD and package replay. Do not start another remote LLM writer or a cloud HTTP build fallback.
  • Synchronize committed Windows changes through existing LAN Git/SSH. Build clean self-contained exact-commit snapshots, with multi-repository identities for final packages. Linux-generated changes return to Windows for adoption and commit.
  • One writer owns each active source tree. Do not reset, clean, stash, restore or overwrite unknown changes. Preserve unknown dirty work before integrating it.
  • Use temporary branches/worktrees to prevent conflicts when needed. Accepted code, tests and docs end in clean dev; remove only task-owned temporary branches/worktrees when finished.
  • Reuse tools/remote_job.py, tools/remote_transfer.py, tools/dev_container.py and tools/package_prod2u.py. Shell/PowerShell entries remain thin adapters. Do not create parallel runners, fixed agent rosters or another state platform.
  • Only workspace ACTIVE_TASK.md, PLAN.json and RESULTS.json are active global task state. Raw logs belong outside source, in Windows TEMP and immutable Linux run directories.

Hardware, resources and evidence

  • EF2L45BG256B,25MHz, one clock domain, no PLL or derived/gated clocks.
  • Pin, polarity, connector and sensor mapping require current board evidence. Unbound interfaces stay explicit and idle in the physical wrapper; never guess a ball.
  • Deterministic core behavior comes first, then actual LUT/packed-Slice reduction. DFF/BRAM/DSP may trade for LUT within real capacity. Preserve limits, pulse accounting, atomic queues, UART deadlines and complete status fields.
  • Share data paths where timing permits; no AXI/APB/crossbar, soft CPU or new controller platform.
  • Do not access real COM/JTAG/I2C/BMC or program/actuate hardware in this task. Software devices and offline simulation are allowed; physical validation stays NOT_RUN.
  • Use td2026, with vendor libraries scoped to its subprocess and durable tools/caches on persistent /data/prod2u mounts.
  • Every public tool needs a functional smoke. Version output, empty tests and exit0 without required artifacts are insufficient.
  • Distinguish source, simulation, formal, synthesis, place/route, timing, bitstream, package and hardware evidence. Preserve original failures and UNKNOWN timeouts; a scoped PASS never closes a broader gate.
  • Receipts bind actual inputs, full commits, tools, commands and applicable artifact hashes. Reused matching-content evidence must be identified as reused, not a new execution.
  • Windows GUI releases are real locally built EXEs bound to qualified BIT files. Base/Current and both Delivery packages require complete replay closures and byte verification.
  • Keep the full user objective active until all required software features, tests, tools and artifacts are complete. Missing fit, BIT, EXE or replay evidence cannot become software completion through NOT_RUN labels.