尽快推进:提高align-linuxcnc迭代效率
This commit is contained in:
@@ -61,6 +61,47 @@ For switchkins/remap table changes, also run:
|
||||
5. Run required tests.
|
||||
6. Report percent complete, source basis, changed files, and tests.
|
||||
|
||||
## Acceleration Rules
|
||||
|
||||
When the user says "尽快推进", optimize for completion progress, not just
|
||||
more source-map anchoring.
|
||||
|
||||
- Prefer work that changes runnable coverage or removes a real blocker:
|
||||
source-linked RS274 behavior, WASM-safe LinuxCNC dependency wrapping,
|
||||
generated LinuxCNC config/remap fixtures, OPFS browser persistence checks, or
|
||||
source-backed bridge/API paths.
|
||||
- Do not spend consecutive turns on documentation/source-map-only tightening
|
||||
unless it unblocks a build/test, covers a newly added source path, or the user
|
||||
explicitly asks for documentation. After two source-map-only commits, the next
|
||||
iteration must attempt code, generated fixture, manifest, or executable test
|
||||
progress.
|
||||
- Batch one coherent mini-slice instead of one-line guard churn: update the
|
||||
LinuxCNC source basis, the relevant manifest/generator/test, and the minimal
|
||||
shim/bridge in the same commit when they belong to one workstream.
|
||||
- Time-box source discovery. If the LinuxCNC source basis cannot be located
|
||||
quickly, switch to another listed target and report the blocked symbol/path
|
||||
instead of inventing behavior.
|
||||
- Keep smoke behavior shrinking. Never add project-authored smoke parser
|
||||
semantics; prefer routing tests to LinuxCNC source-linked paths or proving why
|
||||
a fallback remains a tracked blocker.
|
||||
|
||||
Impact priority for "尽快推进":
|
||||
|
||||
1. Replace or bypass temporary smoke/fallback behavior with LinuxCNC
|
||||
source-linked execution.
|
||||
2. Make browser-hostile LinuxCNC dependencies wasm-safe without changing CNC
|
||||
semantics: Python/remap, Boost.Python, dlopen, HAL/filesystem, tooldata.
|
||||
3. Add real browser OPFS persistence coverage for WASM reads/writes.
|
||||
4. Expand generated LinuxCNC config/remap/kinematics fixtures from source INI,
|
||||
HAL, and remap files.
|
||||
5. Strengthen source maps only when they protect one of the above changes.
|
||||
|
||||
Commit discipline:
|
||||
|
||||
- Commit each coherent slice once required checks pass.
|
||||
- Push once after each commit. If HTTP credentials are missing, record the
|
||||
failure and do not waste additional retries in the same turn.
|
||||
|
||||
## Source Pointers
|
||||
|
||||
- RS274: `../linuxcnc/src/emc/rs274ngc/`
|
||||
|
||||
Reference in New Issue
Block a user