AI Flow
Public Made by Adomby adom
Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board.
finish/deliver accept a molecule run with no project page built from its final board: the published page kept the previous revision's sim figures and explorer
What happened
The ESC rev B run (a molecule; 4-layer to 2-layer redo) finished and delivered, and its page (adom/esc-am32-4in1-aiflow 1.1.0, private) was published. The page still showed rev A's Fields figures (current density, temperature, rating sweep) and rev A's circuit explorer. The rev B solve was never put on the page as pictures; the README only named a PNG path in text. Noah: "there were no heat and current sims with pictures??"
Nothing in the run said so:
- The rev B run never ran
project-page --molecule-bundle. It only ranproject-page --page ... --page-dir revbat the start (README revision 1). finishanddeliverjudge the page withpage_check_lines(), which returnsNonewhen there is nopage-buildoutcome. With no page built, there is no open item at all.molecule_publish_hint()says "First build its page into molecule-publish's Stage 2 package folder" only until the molecule publish is recorded. Oncestage end molecule-publish --resultis recorded, a run with no page built is silent.page_results_hint()(#147) prints "still shows the design review of ..." after a result, but only as a hint, and it never reaches finish or deliver.
So a molecule run can be delivered and published while its page shows another board's simulation figures and explorer.
Versions
- adom-aiflow 0.2.56 (+noah.1 local patches; finish, deliver and page-build are stock)
- Run: ~/project/esc-am32-4in1-revb/aiflow/run, hands-off full-ai, molecule
Repro
- Run a molecule board to
finishwith a Fields solve, and do not runproject-page --molecule-bundle. - Record
stage end molecule-publish --result <page>. - Run
finishanddeliver: neither mentions the page. - Publish a package folder that still holds an older build's docs/figures.json and readme.html. The page shows the old board's figures.
Proposed fix
- In finish and deliver, for a molecule run (or any run with
projectPage), add an open item when there is nopage-buildoutcome, or when itsboardSha256is not the current board's:project page: not built from this board (shows <board sha or nothing>): project-page --molecule-bundle <folder>, then project-page check. - In
project-page check, also compare docs/figures.jsonboardSha256and the explorer proof's netlist against the run's current board, not only against the folder's own board file. - In the molecule-publish skill (bundle_check.py), warn when a bundle's readme.html or docs/figures.json was made from a board other than the one in the bundle.
Related: #147 (page results after a solve), #164 (molecule pages), #197 (explorer auto-drawn not an open item).
1 Reply
Log in to reply.