master
AdityaAngajala Preserve source for molecule-pipeline-2.0.0 f67c92c
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>The molecule pipeline, step by step</title>
<style>
  :root { --bg:#051d1a; --bg2:#072722; --panel:rgba(7,34,29,.6); --line:#1c5247; --text:#d7f4ec; --muted:#7fb5a9; --head:#f2fbf8; --accent:#2ee6c8; --accent2:#38a6f8; --accent3:#a06bfa; }
  * { box-sizing:border-box; }
  body { margin:0; font-family:'Segoe UI',system-ui,-apple-system,sans-serif; background:radial-gradient(1400px 900px at 20% 0%, #0c3a33 0%, var(--bg2) 45%, var(--bg) 100%) fixed; color:var(--text); line-height:1.55; }
  main { max-width:1080px; margin:0 auto; padding:48px 32px 96px; }
  .band { border-radius:18px; padding:26px 28px; margin-bottom:34px; background:linear-gradient(100deg,var(--accent) 0%,var(--accent2) 55%,var(--accent3) 100%); color:#04211c; box-shadow:0 18px 50px rgba(46,230,200,.18); }
  .band .k { font-size:13px; font-weight:800; letter-spacing:3px; text-transform:uppercase; color:#063b31; }
  .band h1 { margin:6px 0 0; font-size:34px; font-weight:800; letter-spacing:-.4px; color:#04211c; }
  h1 { color:var(--head); font-size:32px; letter-spacing:-.4px; }
  h2 { color:#9fe8d8; font-size:22px; letter-spacing:1px; margin-top:46px; padding-top:18px; border-top:1px dotted var(--line); }
  h3 { color:var(--head); font-size:17px; margin-top:28px; }
  p, li { font-size:15.5px; }
  a { color:var(--accent); text-decoration:none; } a:hover { text-decoration:underline; }
  code { font-family:'Cascadia Mono','Consolas',ui-monospace,monospace; font-size:13.5px; color:#e9fff9; background:rgba(46,230,200,.10); border:1px solid rgba(46,230,200,.18); border-radius:6px; padding:1px 6px; }
  pre { background:var(--panel); border:1.5px solid #2b6a5c; border-radius:14px; padding:16px 18px; overflow-x:auto; }
  pre code { background:none; border:0; padding:0; font-size:13px; line-height:1.5; color:#d7f4ec; }
  table { width:100%; border-collapse:collapse; margin:14px 0 22px; font-size:14.5px; }
  th, td { text-align:left; padding:9px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
  th { color:#9fe8d8; font-weight:700; letter-spacing:.5px; font-size:13px; text-transform:uppercase; }
  strong { color:var(--head); }
  .foot { margin-top:60px; color:var(--muted); font-size:13px; border-top:1px dotted var(--line); padding-top:16px; }
</style></head><body><main>
<div class="band"><div class="k">adom &middot; molecule-pipeline</div><h1>The molecule pipeline, step by step</h1></div>

<p>How a board leaves your EDA tool, becomes a molecule on the wiki, and lands in a Hydrogen account wireable in the 3D editor. Every tool in the chain, in the order it runs, with the command each step issues and the gate that has to pass before the next step starts.</p>
<p>This page is the process; the <a href="../README.md">README</a> is the one-sentence front door.</p>
<h2>The chain at a glance</h2>
<pre><code> YOUR LAPTOP                       YOUR CONTAINER                                     ADOM CLOUD
 -----------                       --------------                                     ----------
 KiCad 10   --kicad bridge--+
 Fusion 360 --fusion bridge-+-&gt; EDA export skill: STEP, board, schematic,
 Altium     --altium bridge-+      &lt;slug&gt;-fab.zip, export.json (sources only)
                                         |
                                         v
                                  molecule-publish: bundle check, package.json
                                         |
                                         v
                                  adom-wiki pkg publish --private --wait ---------&gt; wiki page (private)
                                         |                                              |
                                         |                                              v
                                         |                                  3D model registry, program molecule/7:
                                         |                                  &lt;slug&gt;.glb, &lt;slug&gt;.web.glb,
                                         |  &lt;------- build passed ---------  &lt;slug&gt;_footprint.json, &lt;slug&gt;_symbol.json
                                         v
                                  hero from the built model, page public
                                  adom-nucleus --render-board (APM render/ archive)
                                         |
                                         v
                                  adom-wiki model import &lt;owner&gt;/&lt;slug&gt; ----------&gt; Hydrogen /api/molecules/import
                                                                                        |
                                                                                        v
                                                                         3D Editor V2: load, place, wire</code></pre>
<p>Every arrow is a real package. The release set this page describes (2026-10-21, landing 2):</p>
<table><thead><tr><th>Layer</th><th>Package</th><th>Version</th><th>Runs where</th></tr></thead><tbody><tr><td>Router (this page)</td><td><code>adom/molecule-pipeline</code></td><td>2.0.0</td><td>container skill</td></tr><tr><td>Laptop bridge</td><td><code>adom/adom-bridge</code> (<code>adom-bridge</code> CLI)</td><td>^2.0.0</td><td>laptop app, driven from the container</td></tr><tr><td>KiCad and Fusion bridges</td><td><code>adom/kicad-bridge</code>, <code>adom/fusion-bridge</code></td><td>current release</td><td>inside Adom Bridge</td></tr><tr><td>Altium bridge</td><td><code>adom/altium-bridge</code></td><td>^0.2.54</td><td>inside Adom Bridge</td></tr><tr><td>EDA export skills</td><td><code>adom/kicad-export-molecule</code> · <code>adom/fusion-export-molecule</code> · <code>adom/altium-export-molecule</code></td><td>2.0.0 · 2.0.0 · 3.0.0</td><td>container skills</td></tr><tr><td>Check + publish</td><td><code>adom/molecule-publish</code></td><td>3.0.0</td><td>container skill (+ scripts)</td></tr><tr><td>Wiki CLI</td><td><code>adom/adom-wiki-cli</code> (<code>adom-wiki</code>)</td><td>1.8.0 or newer</td><td>container</td></tr><tr><td>Model build</td><td>the wiki&#x27;s 3D model registry, program <code>molecule/7</code></td><td>contract <code>adom.molecule-contract/1</code></td><td>cloud</td></tr><tr><td>Render archive</td><td><code>adom/adom-project-manager</code> (<code>adom-nucleus</code>, alias <code>adom-project-manager</code>)</td><td>current release</td><td>container</td></tr><tr><td>Import</td><td><code>adom/adom-wiki-cli</code> (<code>adom-wiki model import</code>)</td><td>1.8.0 or newer</td><td>container</td></tr><tr><td>Destination</td><td>Hydrogen (<code>hydrogen.adom.inc</code>)</td><td>current release</td><td>cloud</td></tr></tbody></table>
<p>Install the container side in one go:</p>
<pre><code>adom-wiki --version                                   # 1.8.0 or newer; else: adom-wiki self-update
adom-wiki pkg install adom/molecule-pipeline          # router; pulls molecule-publish
adom-wiki pkg install adom/kicad-export-molecule      # or fusion-export-molecule / altium-export-molecule
adom-wiki pkg install adom/adom-project-manager       # adom-nucleus --render-board</code></pre>
<h2>Stage 0: Before you export, the board must be a molecule</h2>
<p>A molecule is a board that carries the Adom furniture: <strong>machine pins</strong>, two or four, named <code>MP1</code> to <code>MP4</code> and all one size and length, and <strong>machine contacts</strong> named <code>MC1</code>, <code>MC2</code>, ..., from the Adom library, with unique designators. The registry&#x27;s <code>names</code> stage applies this rule to every build, and <code>molecule-publish</code> ships the same rule as <code>scripts/pin_names.py</code>, so an export can be checked before it is published.</p>
<ul><li>KiCad: <code>kicad-to-molecule</code> adds wings and machine pins to a plain board; footprints come from <code>adom/kicad-library-manager</code>.</li><li>Altium: <code>adom-library-importer</code> (over <code>adom/adom-machine-parts-library</code>) puts the machine-pin libraries inside Altium.</li><li>Fusion/EAGLE: use the Adom library parts (<code>MACH_PIN_LRG_SHORT</code>, etc.); the package names carry the pin size. Older boards that number contacts <code>MP&lt;n&gt;</code> on <code>CONTACT_MED</code> are refused (<code>contact-names</code>): rename those contacts <code>MC1</code>, <code>MC2</code>, ... in the board and the schematic, then export again.</li></ul>
<p>Gate: the 3D models for the pins, contacts and markers <strong>resolve in your EDA&#x27;s 3D viewer on the machine that will export</strong>. A STEP only contains what resolved at export time; a model referenced by a path that only exists on someone else&#x27;s machine is dropped, and the build&#x27;s anchor check fails.</p>
<h2>Stage 1: Export on the laptop (EDA export skill + Adom Bridge)</h2>
<p>The STEP is always exported <strong>on the design machine</strong>, driven from the container through Adom Bridge. Every export also writes the fabrication files: Gerbers and drill from the same saved board, packed in the container into <code>&lt;slug&gt;-fab.zip</code> and <code>export.json</code> by molecule-publish&#x27;s <code>scripts/fab_bundle.py</code> (see its <code>docs/fabrication.md</code>). Pull everything into a <strong>fresh</strong> container folder, never a clone of the page. Nothing in this stage makes a GLB.</p>
<h3>KiCad (<code>kicad-export-molecule</code>)</h3>
<ol><li>Preflight: <code>adom-bridge ping</code>; kicad-cli is KiCad 10.</li><li>Export on the laptop, through Adom Bridge&#x27;s <code>shell_execute</code>, into an empty <code>fab/</code> folder:
<pre><code>kicad-cli pcb export step --subst-models --force -o &lt;slug&gt;.step ABC.kicad_pcb
kicad-cli pcb export gerbers --layers F.Cu,B.Cu,F.Mask,B.Mask,F.Silkscreen,B.Silkscreen,Edge.Cuts --check-zones -o fab/ ABC.kicad_pcb
kicad-cli pcb export drill --format excellon --excellon-units mm --excellon-separate-th --drill-origin absolute -o fab/ ABC.kicad_pcb</code></pre>
Read the STEP output: every <code>Could not add 3D model for MPn</code> line means a pin did not bake in. Fix the model path and export again. Do not use the bridge&#x27;s <code>kicad_export_molecule</code> verb or its <code>nextSteps</code>.</li><li><code>adom-bridge pull_file</code> the sources (<code>&lt;slug&gt;.step</code>, <code>ABC.kicad_pcb</code>, every <code>.kicad_sch</code> sheet, <code>ABC.kicad_pro</code>) into <code>/tmp/&lt;slug&gt;-bundle</code> and everything in <code>fab/</code> into <code>/tmp/&lt;slug&gt;-gerbers</code>.</li><li>In the container: <code>fab_bundle.py create</code> (records KiCad&#x27;s version, the exporter&#x27;s version and every source), <code>fab_bundle.py check</code>, <code>pin_names.py check</code>.</li></ol>
<h3>Fusion 360 Electronics (<code>fusion-export-molecule</code>)</h3>
<ol><li><code>adom-bridge fusion_start</code> if Fusion is closed (blocks until the add-in is ready; the first <code>fusion_get_app_state</code> after that can take a minute).</li><li>Open the <strong>board file directly</strong> so the multi-design picker never appears:
<pre><code>adom-bridge fusion_open_cloud_file {&quot;projectName&quot;:&quot;Main&quot;,&quot;folderPath&quot;:&quot;COSMIIC&quot;,&quot;fileName&quot;:&quot;PM COIL Molecule&quot;,&quot;fileExtension&quot;:&quot;fbrd&quot;,&quot;recovery&quot;:&quot;discard&quot;}</code></pre>
Find the design first with <code>fusion_mcp_call {&quot;tool&quot;:&quot;fusion_mcp_read&quot;,&quot;arguments&quot;:{&quot;queryType&quot;:&quot;document&quot;,&quot;operation&quot;:&quot;search&quot;,&quot;name&quot;:&quot;...&quot;}}</code> (APS search needs a fresh sign-in; MCP search works with any open document).</li><li>Export sources: <code>fusion_export_eagle_source</code> for the <code>.brd</code>, switch with <code>fusion_electron_run {&quot;command&quot;:&quot;EDIT .s1&quot;}</code>, export the <code>.sch</code>, switch back with <code>EDIT .brd</code>.</li><li><code>fusion_show_3d_board</code>, then <code>fusion_export_step</code> to <code>&lt;slug&gt;.step</code> (and <code>fusion_export_f3d</code> / <code>fusion_export_usdz</code> for the extras).</li><li>Back in the PCB editor, <code>fusion_export_gerbers {&quot;outputDir&quot;:&quot;C:/tmp/export/fab&quot;}</code>; use <code>data.zipPath</code> from the reply.</li><li><code>pull_file</code> the sources into <code>/tmp/&lt;slug&gt;-bundle</code> and the Gerber zip into <code>/tmp/&lt;slug&gt;-gerbers</code>, then <code>fab_bundle.py create</code>, <code>check</code> and <code>pin_names.py check</code> in the container.</li></ol>
<h3>Altium (<code>altium-export-molecule</code>)</h3>
<ol><li><code>altium_export_step</code> (headless) to <code>&lt;slug&gt;.step</code>. The STEP holds the board and component bodies, no copper and no silkscreen.</li><li><code>altium_export_manufacturing</code> for Gerbers and NC drill; check the outline and drill outputs.</li><li><code>pull_file</code> the STEP, <code>.PcbDoc</code>, every <code>.SchDoc</code> and the <code>.PrjPcb</code>, and the fabrication files, then <code>fab_bundle.py create</code>, <code>check</code> and <code>pin_names.py check</code> in the container.</li></ol>
<p>An Altium page builds a full molecule on the board route: the registry reads the <code>.PcbDoc</code> with the STEP and builds the model, footprint and symbol, as for KiCad and Fusion.</p>
<p>Gate for all three: the bundle folder holds <strong>STEP + board + every schematic sheet + <code>&lt;slug&gt;-fab.zip</code> + <code>export.json</code></strong> and no GLB, <code>_footprint.json</code>, <code>_symbol.json</code>, <code>.pipeline.json</code> or <code>.metadata.json</code>; <code>fab_bundle.py check</code> passes; <code>pin_names.py check</code> passes on the board (<code>.kicad_pcb</code>, <code>.brd</code> or <code>.PcbDoc</code>).</p>
<p><strong>A STEP on its own</strong> is refused (<code>board-file-required</code>): the registry places the model from the board file, so export the board with it.</p>
<h2>Stage 2: Check and package (<code>molecule-publish</code>)</h2>
<pre><code>python3 scripts/bundle_check.py &lt;folder&gt; --slug &lt;slug&gt;     # recipe, route, sources, refused files
python3 scripts/pin_names.py check &lt;folder&gt;/&lt;board&gt;       # board route
python3 scripts/fab_bundle.py check &lt;folder&gt; --slug &lt;zip stem&gt;</code></pre>
<p><code>bundle_check.py</code> applies the registry&#x27;s recipes (<code>scripts/contract.json</code>, a byte copy of the wiki&#x27;s molecule contract) to the folder and, for an existing page, to the files the page already holds. It names the recipe (<code>molecule-board/1</code> for KiCad, Fusion and Altium; <code>molecule-step/1</code> for a STEP with no board file, which the build refuses), each source, and every problem: no recipe, a STEP with no board file, two STEPs or boards at one depth, a generated file in the folder, a fab zip without its record, a record that names another STEP or board.</p>
<pre><code>&lt;slug&gt;/
  package.json            type &quot;component&quot;, kind &quot;molecule&quot;, component.mpn, dependencies
  ABC.step                STEP
  ABC.kicad_pcb | .brd    board (.PcbDoc on the Altium route)
  ABC.kicad_sch | .sch    every schematic sheet
  &lt;slug&gt;-fab.zip          Gerbers and drill
  export.json             exporter versions and source/member hashes
  README.md, 3d/, [.kicad_pro, silk PNGs, .f3d, .usdz, bom, cpl]</code></pre>
<p>Rules that bite:</p>
<ul><li><strong>Nothing generated in the folder</strong>: no <code>&lt;slug&gt;.glb</code>, <code>&lt;slug&gt;.web.glb</code>, <code>*_footprint.json</code>, <code>*_symbol.json</code> or <code>&lt;slug&gt;.pipeline.json</code>. The registry builds them, and a publish that carries them is refused (<code>REGISTRY_MODEL_FILE_REFUSED</code>).</li><li><code>&quot;kind&quot;: &quot;molecule&quot;</code> in <code>package.json</code>: the recipes apply to molecule pages only.</li><li>The <code>component</code> block creates the page&#x27;s component metadata. Key the page by MPN, never by value. Do not ship a hand-made <code>page.json</code>.</li><li>Component dependencies are enforced before publish: <code>python3 scripts/component_graph.py plan &lt;board&gt; --out &lt;work&gt;/component-plan.json</code> then <code>gate package.json --plan &lt;work&gt;/component-plan.json --expect-board &lt;board&gt; --resolve</code> (declared coverage, and every dependency resolves to a real page). Missing component pages: molecule-publish Stage 2.6 creates them.</li><li>Stamp what you tested on: <code>python3 scripts/tested_with.py stamp package.json --family &lt;model&gt;</code>.</li></ul>
<h2>Stage 3: Publish private, wait for the build (<code>adom-wiki</code> 1.8.0)</h2>
<pre><code>adom-wiki --json pkg publish --private --wait --timeout 1200 [--org adom]   # first publish
adom-wiki --json pkg publish --wait --timeout 1200                          # update of an existing page</code></pre>
<p>The one private <code>pkg publish</code> is the only write of the sources; its commit carries every recorded source and <code>export.json</code>, and the registry queues one build from it (<code>molecule/7</code>: names, metadata, anchor, fabrication, normalize, attachments, optimize). <code>--wait</code> follows that build. Before an update, <code>adom-wiki model status &lt;owner&gt;/&lt;slug&gt;</code> must say the registry builds the page; otherwise stop, and never fall back to pushing a GLB.</p>
<p>Done check, before anything else runs:</p>
<ul><li>the build after the publish is <code>passed</code> with <code>error</code> null (<code>data.model</code> in the JSON reply);</li><li>the page&#x27;s <code>model</code> slot has <code>origin: pipeline</code> (<code>adom-wiki model status &lt;owner&gt;/&lt;slug&gt;</code>);</li><li>the build wrote the footprint and symbol (<code>metadataComplete: true</code>); molecule-publish warns when it did not, since the page then has no wire attach points.</li></ul>
<p>A failed build stops the pipeline: <code>adom-wiki model report &lt;owner&gt;/&lt;slug&gt;</code> names the failed checks with their fix (rename pins in the board and the schematic, export again). A refused publish names the files the registry generates; delete them from the folder and publish again.</p>
<h2>Stage 4: Hero and public</h2>
<p>The hero is posed from the registry&#x27;s model: <code>adom-wiki repo show &lt;owner&gt;/&lt;slug&gt; &lt;slug&gt;.glb --out &lt;work&gt;/&lt;slug&gt;.glb</code> (sha256 equal to the served model&#x27;s), <code>python3 scripts/hero_camera.py pose</code> into the page&#x27;s <code>page.json</code> and the package&#x27;s <code>package.json</code>, a 16:10 PNG at that pose, <code>adom-wiki page hero &lt;owner&gt;/&lt;slug&gt; --image screenshots/hero.png</code>. Then:</p>
<pre><code>adom-wiki page visibility &lt;owner&gt;/&lt;slug&gt; --preset open</code></pre>
<p>The gate passes once a build has passed: a public molecule page needs a served registry model.</p>
<h2>Stage 5: Render archive (<code>adom-nucleus --render-board</code>)</h2>
<p>Run <strong>after</strong> the publish, every time (it stamps the archive with the version it reads from the published <code>package.json</code>):</p>
<pre><code>adom-nucleus --render-board &lt;owner&gt;/&lt;slug&gt;       # alias: adom-project-manager --render-board</code></pre>
<p>It renders <code>render/pcb.svg</code>, <code>render/sheet-*.svg</code> and <code>render/board.glb</code>, content-hashes them and archives <code>render/&lt;version&gt;/</code> + <code>render/manifest.json</code> only when the content changed. <code>render/</code> is never a generated file, so the push is accepted on molecule pages; the page&#x27;s 3D viewer shows the registry model, not <code>render/board.glb</code>. Check <code>manifest.current == &lt;version&gt;</code>. EAGLE/Fusion sources report &quot;nothing rendered&quot; and skip today.</p>
<h2>Stage 6: Import into Hydrogen (<code>adom-wiki model import</code>)</h2>
<pre><code>adom-wiki model import &lt;owner&gt;/&lt;slug&gt; --owner &lt;your-user-or-org&gt; [--name &lt;name&gt;]</code></pre>
<p>What it does: reads the page (<code>GET /api/pages/&lt;ref&gt;</code>) and refuses one with no model yet before anything is sent to Hydrogen (<code>MODEL_IMPORT_NO_MODEL</code>, exit 1, with the command <code>adom-wiki model status &lt;ref&gt;</code>). Then it asks Hydrogen (<code>POST https://hydrogen.adom.inc/api/molecules/import</code>, with <code>includeSource: true</code>) to read the model the page serves and the page&#x27;s sources (board, schematic, footprint and symbol JSON) with your own token, so a private page imports for anyone who can read it. Hydrogen <strong>reuses the registry&#x27;s model</strong> (no re-optimization, no silkscreen, no Blender), carries the sources, and attaches the footprint (<code>&lt;slug&gt;_footprint.json</code>) so the molecule lands with wire-attach points. A page an older registry program built 3D-only (Altium or STEP only) has no footprint and imports without them until a build from its board file passes. Re-importing creates a new version of the same molecule. <code>--name</code> defaults to the page slug less a trailing all-digit part. With the CLI pointed at a wiki other than wiki.adom.inc and <code>ADOM_HYDROGEN_URL</code> unset, it refuses before sending (<code>MODEL_IMPORT_OTHER_WIKI</code>, exit 2), because Hydrogen reads pages from wiki.adom.inc.</p>
<p>Same thing from any script:</p>
<pre><code>curl -X POST https://hydrogen.adom.inc/api/molecules/import \
  -H &quot;X-Api-Key: $(cat /var/run/adom/api-key)&quot; -H &quot;Content-Type: application/json&quot; \
  -d &#x27;{&quot;wikiRef&quot;:&quot;&lt;owner&gt;/&lt;slug&gt;&quot;,&quot;owner&quot;:&quot;&lt;you&gt;&quot;,&quot;includeSource&quot;:true}&#x27;</code></pre>
<p>Gate: exit 0 with the line <code>&lt;owner&gt;/&lt;slug&gt;: imported into Hydrogen as &lt;your-owner&gt;/&lt;name&gt;, version &lt;v&gt;, from &lt;glb&gt;</code> and no <code>HYDROGEN_IMPORT_WARNING</code> hint (with <code>--json</code>, <code>data</code> is <code>{ ref, url, hydrogen }</code>: <code>hydrogen.version</code> set and <code>hydrogen.warnings</code> empty); the printed link <code>https://hydrogen.adom.inc/&lt;your-owner&gt;/molecules/&lt;name&gt;</code> renders it, and the name is on your owner&#x27;s list (<code>https://hydrogen.adom.inc/users/&lt;you&gt;/molecules</code> or <code>https://hydrogen.adom.inc/orgs/&lt;org&gt;/molecules</code>). Hydrogen refusing is <code>HYDROGEN_IMPORT_FAILED</code>, exit 1, with its status and message: 401 sign in, 403 an owner you may act for, 404 a page you can read, 422 no model yet.</p>
<p><code>adom-molecule</code> is deprecated: its last release (1.2.0) only prints the replacements above, and its <code>import</code> runs <code>adom-wiki model import</code> with the same arguments.</p>
<h2>Stage 7: Use it in Hydrogen</h2>
<p>Open a repo&#x27;s editor (<code>https://hydrogen.adom.inc/&lt;owner&gt;/&lt;repo&gt;/edit</code>), add a <strong>3D Editor V2</strong> tab, then:</p>
<ol><li><strong>Browse and Load Molecule</strong> → pick the owner → the molecule → Load → set the placement position → OK.</li><li><strong>More Objects tools → Add Wires</strong> (tick <em>Draw Multiple Wires</em>) → hover a machine pin until the &quot;Machine Pin: FL/BL/FR/BR&quot; tooltip shows → click → click the second molecule&#x27;s pin. The console logs <code>New contact-based wire created from &lt;a&gt; - Pin: X to &lt;b&gt; - Pin: Y</code>.</li><li>Save the layout.</li></ol>
<p>The in-app <strong>Optimize / Regenerate 3D model</strong> button is retired (it pointed at a worker that no longer exists); the registry build optimizes the model in Stage 3 and import reuses it.</p>
<h2>Regression: the e2e harness</h2>
<p><code>project/molecule-e2e/run-e2e.sh</code> on gallia republished two private test molecules, <code>drew2/e2e-kicad-solonoid</code> (KiCad) and <code>drew2/e2e-fusion-pmcoil</code> (Fusion/EAGLE), through the stack whenever a molecule-family package changed (cron, every 30 minutes, <code>check-and-run.sh</code>). Its gates belong to the old flow: OCCT conversion stats, a pushed GLB, the wiki GLB checksum and the APM render archive. The cron is paused before the production campaign (landing 2 release order, step 7), because a sources-only publish fails the GLB checksum gate and a pushed GLB would split the page&#x27;s model. Before it runs again its gates become: the bundle check, the build after the publish passed with no error, <code>model</code> served with <code>origin: pipeline</code>, the render archive, and the private import into Hydrogen. <code>last-status.json</code> is the verdict; <code>e2e.log</code> is the trail.</p>
<h2>The one-sentence versions</h2>
<ul><li>&quot;Move molecule ABC from KiCad on my computer up to the wiki.&quot; → Stages 1 to 5.</li><li>&quot;Get molecule ABC into my Hydrogen account.&quot; → Stage 6.</li><li>&quot;Publish my molecule ABC and import it into my Hydrogen account.&quot; → Stages 1 to 6, each gated before the next.</li><li>&quot;I only have a STEP of ABC.&quot; → not enough: a STEP alone is refused (<code>board-file-required</code>); export the board too, then Stages 1 to 5.</li><li>&quot;Wire ABC to DEF in the 3D editor.&quot; → Stage 7.</li></ul>
<div class="foot">adom/molecule-pipeline &middot; landing 2 release set, 2026-10-21 &middot; source: docs/process.md</div>
</main></body></html>