Files
cbb-refresh-verify-795/docs/superpowers/plans/2026-09-16-real-verify.md
T
阿白叔 11a2b2e46e Import CBB refresh verify r4 stability baseline
Preserve tested Verify source, authoritative READY checks, bounded bridge retries, diagnostics and failure-only reporting. Include 336-test suite and packaging assets; exclude live Mentor samples, field logs, backups and distributions.
2026-09-29 15:05:20 +08:00

1.8 KiB

Real Library Manager Verify implementation

Goal: execute the demonstrated Verify / Project Integration / save-cell / close workflow serially. The older contents-check plan is superseded. Batch upload and parallel PCB editing are excluded from this release.

Evidence: Audio_D2128_ESD opened through its real Verify menu; ForwardAnnotation moved 1 -> 2; all four statuses reached 2; official 32-bit licensing helper authenticated Save; reusable-cell Yes confirmation was required; Save, IsSaved, Close returned true; LM returned Ready.

  • Test integration state transitions and late-bound COM invocation in tests/test_integration.py; implement integration.py.
  • Replace verify_runner.py with preflight, isolated timed worker, serial queue, per-item evidence and failure report. Missing PCB must be BLOCKED without launching. Stop queue after timeout or unresolved PCB session.
  • Implement mentor_adapter.py: exact library/tree identity; UIA physical bounds (native TVM rectangles are logical pixels at 125% scaling); real Verify menu; confirm actual project identity before editing. Use official 32-bit save helper and scope confirmation to launched PCB PID.
  • Reuse replacement ServiceWorker and logging for asynchronous UI. Remove LibSpec/DMS inputs and unsupported concurrency. Expose library, CBB, timeout, single/batch, stop-after-current, logs.
  • Test guards, UI responsiveness and library-path invalidation; run latest Audio and completed 2GPHY serially, with per-block backup. Skip two missing-PCB records.
  • Package VBS resource and pywinauto, run frozen UI smoke and real frozen batch, document actual results. No PASS without statuses=2, Save/IsSaved/Close success, PCB exit and LM Ready.

This is a standalone non-git project. Preserve existing work and output a separate batch build so the old distribution remains recoverable.