Passing DRC and liking your 3D renders is not the finish line — manufacturing failures most often happen between “DRC passes” and “boxes arrive on the bench.” A missing paste check, an unrouted NPTH slot, a rotated diode in the CPL preview, an out-of-stock timing capacitor substituted without updating bring-up math, or an unwashed high-impedance node around the slew capacitor can turn a clean layout into a rework weekend.
In Stage 7 — captured across Session Traces 10-a47d447e (prompts/10-a47d447e-please-create-markdown-checklists-main-board-order.md), 12-0e25fc0a (prompts/12-0e25fc0a-please-update-readme-md.md), 14-f42ac6f5 (prompts/14-f42ac6f5-i-m-attempting-to-create-a-bom.md), and 16-cd7d0409 (prompts/16-cd7d0409-i-d-like-to-design-a-front.md), and extended in the EnvelopeFollowerWithSkewLimiter Decision Trail (PR #1, PR #2, and PR #28) — you export upload-ready fabrication archives for both boards, pair PCB-verified Build Checklists with 81 deterministic visual verification PNGs, generate a THT-only interactive assembly map, archive real-world vendor order substitutions, author 8 musical Patch Guides, and run ruff hygiene plus a Living Context Map sync before preparing the Companion Site.
flowchart TD
PCB["Verified Main PCB<br/>+ Mated Panel PCB"] --> S71["7.1 manufacturing/ Exports<br/>Dual Gerbers, Routed Slots & CPL"]
S71 --> S72["7.2 PCB-Verified Build Checklists<br/>01, 01b, 02–05 + 81 Visual PNG Cards"]
S72 --> S73["7.3 THT-Only bom/ibom.html<br/>14 Rows / 18 Hand-Soldered Parts"]
S72 --> S74["7.4 Real-World Order Record<br/>manufacturing/orders/tayda-1000489380"]
S72 --> S75["7.5 Musical Patch Guides<br/>patches/01–08 (20-File Corpus Ready)"]
S73 --> S76["7.6 ruff Hygiene, Living Context Map<br/>& Reproducible Renders → Stage 8"]
S74 --> S76
S75 --> S76Step 7.1: Dual-Board manufacturing/ Exports & Gerber/CPL Verification
Your finished ENV / SKEW module ships as two separate JLCPCB items inside one shared cart: a 2-layer FR-4 main board with Bottom-Side Economic PCBA (envelope_follower.kicad_pcb, 30.0 × 108.0 mm) and a 2-layer FR-4 bare front panel (envelope_follower_panel.kicad_pcb, 30.0 × 128.5 mm, Matte Black + ENIG). Generating both fabrication sets deterministically inside manufacturing/ in EnvelopeFollowerWithSkewLimiter prevents stale archives from accumulating (Trace 16):
| Artifact Path | Contents | Purpose at Fabrication |
|---|---|---|
manufacturing/gerbers/ & envelope_follower_gerbers.zip | F.Cu, B.Cu, F.Paste, B.Paste, F.SilkS, B.SilkS, F.Mask, B.Mask, Edge.Cuts, separated PTH/NPTH Excellon + GerberX2 drill map | Main board PCB + bottom-side SMT stencil |
manufacturing/jlcpcb_cpl.csv | 50 translated SMD rows (Designator,Mid X,Mid Y,Layer,Rotation, every row Layer = B) | JLCPCB Pick-and-Place alignment |
manufacturing/panel_gerbers/ & envelope_follower_panel_gerbers.zip | F.Cu, B.Cu, F.SilkS, B.SilkS, F.Mask, B.Mask, Edge.Cuts, separated PTH/NPTH Excellon with routed oval slots H1/H2 | Bare Matte Black + ENIG 6 HP panel |
Exporting Gerbers, Routed Excellon Slots & Translated CPL
After re-running clean DRC checks on both boards (0 errors on main PCB; 0 non-library violations on panel PCB after filtering the 13 expected lib_footprint_issues warnings), export both fabrication packages with identical origin conventions (--use-drill-file-origin + --drill-origin plot):
# 1. Main board Gerbers & separated Excellon drills
mkdir -p manufacturing/gerbers
kicad-cli pcb export gerbers --output manufacturing/gerbers/ \
--layers F.Cu,B.Cu,F.Paste,B.Paste,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts \
--subtract-soldermask --use-drill-file-origin --check-zones \
envelope_follower.kicad_pcb
kicad-cli pcb export drill --output manufacturing/gerbers/ \
--format excellon --drill-origin plot --excellon-units mm \
--excellon-separate-th --excellon-oval-format route \
--generate-map --map-format gerberx2 \
envelope_follower.kicad_pcb
(cd manufacturing/gerbers && zip -r ../envelope_follower_gerbers.zip .)
# 2. Back-side SMD CPL translated & parity-filtered against jlcpcb_bom.csv (50/50)
kicad-cli pcb export pos --format csv --units mm --side back --smd-only --exclude-dnp \
--use-drill-file-origin --output /tmp/raw_cpl.csv envelope_follower.kicad_pcb
.venv/bin/python .agents/skills/bom/scripts/translate_bom_pnp.py pnp \
/tmp/raw_cpl.csv -o manufacturing/jlcpcb_cpl.csv \
--units mm --bom jlcpcb_bom.csv
# 3. Front panel Gerbers & routed M3 oval slots (no paste layers needed on bare panel)
mkdir -p manufacturing/panel_gerbers
kicad-cli pcb export gerbers --output manufacturing/panel_gerbers/ \
--layers F.Cu,B.Cu,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts \
--subtract-soldermask --use-drill-file-origin --check-zones \
envelope_follower_panel.kicad_pcb
kicad-cli pcb export drill --output manufacturing/panel_gerbers/ \
--format excellon --drill-origin plot --excellon-units mm \
--excellon-separate-th --excellon-oval-format route \
--generate-map --map-format gerberx2 \
envelope_follower_panel.kicad_pcb
(cd manufacturing/panel_gerbers && zip -r ../envelope_follower_panel_gerbers.zip .)Notice two critical KiCad 10 CLI flags here:
--excellon-oval-format route+--excellon-separate-th: Exports the front panel’s top and bottom M3 mounting slots (H1,H2,5.50 × 3.20 mm) as routedG00 ... M15 / G01 ... M16slot toolpaths insideenvelope_follower_panel-NPTH.drlalongside the3.20 mmLED1NPTH bore, cleanly separated fromenvelope_follower_panel-PTH.drl(10grounded control cutouts).translate_bom_pnp.py pnp --bom jlcpcb_bom.csv: Rewrites KiCad’sPoscolumns into JLCPCB’s exactDesignator,Mid X,Mid Y,Layer,Rotationformat while assertingrows_out: 50,bom_designators: 50,filtered_orphans: 0, andset(Layer) == {"B"}.
Running analyze_gerbers.py & Understanding B.Paste Heuristic Parity
Verify both output directories with .agents/skills/kicad/scripts/analyze_gerbers.py:
.venv/bin/python .agents/skills/kicad/scripts/analyze_gerbers.py manufacturing/gerbers/ --full --output /tmp/main_gerbers.json
.venv/bin/python .agents/skills/kicad/scripts/analyze_gerbers.py manufacturing/panel_gerbers/ --full --output /tmp/panel_gerbers.jsonWhen auditing manufacturing/gerbers/, automated Gerber analyzers sometimes emit a paste-coverage warning (~37% of all B.Cu features) if they compare total B.Paste flashes against every copper feature on B.Cu (including through-hole component pads and 133 vias). Do not blindly dismiss or blindly panic over that number — verify SMD pad-to-paste parity directly: across all 50 SMD parts (47× 2-pin = 94 + 1× 3-pin D3 = 3 + 2× 14-pin U1/U2 = 28 = 125 total SMD pads), B.Paste contains 125 / 125 exact stencil flashes while F.Paste contains 0.
Step 7.2: PCB-Verified Build Checklists (checklists/) & 81 Visual Cards
Rather than trusting hand-written lists typed from memory, generate all seven operational documents under checklists/ in EnvelopeFollowerWithSkewLimiter (checklists/README.md plus 01, 01b, 02–05) directly against envelope_follower.kicad_pcb, envelope_follower_panel.kicad_pcb, and jlcpcb_bom.csv. Builders can also step through interactive, persistent web Build Checklists on the live ENV / SKEW Companion Site (/build/). Enforce completeness with a KiCad Python assertion checking:
50 / 50SMD RefDes, values, LCSC SKUs, and bothboard=(X, Y)and back-flippedback=(30.0 - X, Y)coordinates match.kicad_pcb(0mismatches).18 / 18populated THT designators (C1,C2,C7,C11–C13,RV1–RV4,SW1–SW2,LED1,J1–J4,J_PWR) appear explicitly in both the Tayda ordering Build Checklist (03) and hand-assembly Build Checklist (04).12 / 12Keystone test points (TP1–TP12) and their exact silkscreen names (GND,+12V,-12V,PRE,RECT,ENV,INV,OUT,HWR,DRV,OFF,GND2) appear in the bring-up Build Checklist (05).
What Each Build Checklist Verifies
-
01-main-board-ordering.mdinEnvelopeFollowerWithSkewLimiter— Main PCB & Economic Bottom-Side PCBA:- Fabrication settings:
FR-4,2layers,30.0 × 108.0 mm,1.6 mm,Blacksoldermask (note: Matte Black can force Standard PCBA pricing — keep standard Black on the hidden main board to preserve Economic PCBA),Whitesilkscreen,LeadFree HASL (RoHS)orENIG-RoHS, andTentedvias. - PCBA settings: Bottom Side only,
SAC305lead-free solder, Specify a location for QR placement (JLCJLCJLCJLC) on the solid5.0 × 5.0 mmF.SilkSbox at top-right (X = 23.8–28.8 mm, Y = 1.0–6.0 mm), and strictly3Extended SKUs ($3/SKU =$9feeder fees total):C2878713(TL074HIDR×2),C83935(BAT54S×1), andC95204(10k 0.1%RT0603BRD0710KL×14). Pre-order CLI steps stay marked[x]; interactive web/cart checks remain[ ].
- Fabrication settings:
-
01b-front-panel-ordering.mdinEnvelopeFollowerWithSkewLimiter— Mated 6 HP Front Panel (Same JLCPCB Cart):- Fabrication settings:
FR-4,2layers,30.0 × 128.5 mm,1.6 mm(or2.0 mm),Matte Blacksoldermask,Whitesilkscreen,ENIG-RoHSsurface finish (required so all33F.Maskopenings gleam overF.Cu),PCB Assembly = OFF, and QR/order number placed exclusively onB.SilkS((22.50, 121.00)) with a PCB remark forbidding any stamp onF.SilkS. - Combine in the same JLCPCB checkout cart as
envelope_follower_gerbers.zipto share international shipping.
- Fabrication settings:
-
02-pcba-part-alignment.mdinEnvelopeFollowerWithSkewLimiter— JLCPCB 2D/3D Viewer Sign-Off (Dual Coordinates):- When staring straight at JLCPCB’s Bottom Side viewer with top (
Y = 0) up, horizontal coordinates mirror left-to-right (back_X = 30.0 - board_X). Printing bothback=(X, Y)andboard=(X, Y)on every one of the50items lets you inspect directly without mental mirroring. - Highlights the “WATCH FOR JLCPCB ROTATION OFFSET” table for all
7polarized / multi-pin SMDs — expect to inspect (and rotate in JLCPCB’s viewer if shifted by90°/180°):
Ref Part / Package LCSC jlcpcb_cpl.csvRotExpected Visual Alignment in JLCPCB Bottom Viewer ( Y=0Up)U1TL074HIDR(SOIC-14)C28787130.0°Pin 1 bevel/dot at bottom-right ( +12Vpin4upper side,-12Vpin11lower side)U2TL074HIDR(SOIC-14)C2878713180.0°Pin 1 bevel/dot at top-left ( U2C/U2Dpins face output jacks & LED)D3BAT54S(SOT-23)C839350.0°2 pins on right ( D3.1top-right,D3.2bottom-right), 1 common pin on left (D3.3)D1,D2B5819W(SOD-123)C8598180.0°Cathode band facing left (vertical rail protection polarity) D41N4148W(SOD-123)C815980.0°Cathode band facing right (charges NET_ATK_DIODEtowardRV2)D51N4148W(SOD-123)C81598180.0°Cathode band facing left (discharges NET_REL_DIODEtowardRV3) - When staring straight at JLCPCB’s Bottom Side viewer with top (
-
03-tayda-ordering.mdinEnvelopeFollowerWithSkewLimiter— Canonical18-Part THT Shopping Template & Knob Constraint:- Lists explicit RefDes alongside verified Tayda SKUs (
A-1855A100KRV1,A-16722× A1MRV2/RV3,A-8401B10Kcenter-detentRV4,A-60872× Dailywell 2MS1SW1/SW2,A-10763 mmanti-parallel Red/GreenLED1,A-72572× 47 µF / 35 VC1/C2,4× WIMA MKS25.0 mmbox film caps [2× 470 nFC7/C11,2× 2.2 µFC12/C13],4× WQP-PJ398SMjacksJ1–J4, and1× 2×5shrouded2.54 mmEurorack power headerJ_PWR). - Enforces the
15.50 mmpot pitch geometry guard: becauseRV1–RV4shafts sit15.50 mmapart vertically (Y = 11.0, 26.5, 42.0, 57.5 mmon PCB), select knobs with outer skirt diameter<= 14.0 mmand verify shaft style against Tayda (T18splined vs round/D) before checkout. Keep this file untouched as your reusable baseline template; record batch-specific purchases and substitutions separately in Step 7.4.
- Lists explicit RefDes alongside verified Tayda SKUs (
-
04-hand-assembly.mdinEnvelopeFollowerWithSkewLimiter— THT Build Sequence (ibom.html+ Matte Black Panel Hygiene):- Links directly to
bom/ibom.html(and the hosted interactive BOM on theENV / SKEWCompanion Site) for visual click-to-highlight placement. - Solder
B.Cuparts first (J_PWRnotch toward right board edge /-12Vwhite bar onB.SilkS,C1/C2opposite polarities —C1+->+12V,C2+->GND, thenC7,C11–C13) and trim leads flush onF.Cuso nothing shorts against the metal panel shells or PCB standoffs. - Test
LED1(A-1076) before soldering: Connect5 V + 1 kΩacross its two pins to identify which lead lights Green vs Red so positive envelope (+OUT) glows Green and negative offset/inverted swing glows Red consistently with+ / -panel marks. - Dry-fit panel hardware cleanly: Snap off Alpha potentiometer anti-rotation tabs (
envelope_follower_panel.kicad_pcbintentionally omits tab holes to keep the matte black face unblemished), seatRV1–RV4,SW1–SW2,J1–J4, andLED1hand-tight into the panel using nylon M3 mounting washers on the front screw slotsH1/H2, verify square alignment, then solder all11panel controls. - Clean high-impedance nodes with IPA: Thoroughly flush flux around
U2A.3,C11,C12,C13, andSW2using isopropyl alcohol so surface leakage cannot skew slow3.0 srelease times (RV2/RV3up to1 MΩ). Confirm toggle states:SW1UP =SMOOTH/ DOWN =RAW,SW2UP =SLOW/ DOWN =FAST.
- Links directly to
-
05-board-bringup.mdinEnvelopeFollowerWithSkewLimiter— Bench Bring-Up,12-TP Map & Musical Testing:- Perform cold ohmmeter rail-to-rail and rail-to-GND checks before applying power, set bench supplies to
±12.0 Vcurrent-limited at40–50 mA, and initializeSW1DOWN (RAW/OFF),SW2DOWN (FAST), andRV4at center detent. - Verify every DC and AC signal stage across all
12test points (TP1GND,TP2+12V~+11.5–11.8 V,TP3-12V~-11.5–11.8 V,TP4PRE×2preamp,TP9HWR,TP5RECT|preamp|,TP10DRV,TP6ENV,TP11OFF±4.98 V,TP7INV,TP8OUT,TP12GND2), test normalled breakout behavior onJ2(SLEW INbreaks normalization from internal FWR), run kick-ducking patches onJ4(INV OUT), and follow decision-tree troubleshooting steps if any rail or stage deviates.
- Perform cold ohmmeter rail-to-rail and rail-to-GND checks before applying power, set bench supplies to
Deterministic Visual Verification Cards (81 PNGs via KiCad + Cairo)
Coordinates and text tables still leave room for human orientation mistakes at 2 AM in JLCPCB’s viewer or on the soldering bench. Following the initial 4a02c46 release, three deterministic Python scripts (culminating in PR #1 in EnvelopeFollowerWithSkewLimiter) render envelope_follower.kicad_pcb via kicad-cli pcb render and composite rulered crops, board mini-maps, polarity callouts, and probe overlays with Cairo (pycairo):
Generator Script (8ad81d0) | Output Directory | Count | What It Hides vs. Shows |
|---|---|---|---|
checklists/generate_pcba_alignment_images.py | images/pcba_alignment/ | 51 | Bottom (B.Cu) 3D render with SMD 3D bodies enabled and THT/DNP bodies hidden (board_overview.png + 50 620 × 412 px SMD alignment cards for 02-pcba-part-alignment.md) |
checklists/generate_hand_assembly_images.py | images/hand_assembly/ | 21 | B.Cu & F.Cu renders with SMDs (insert) visible and THT/DNP bodies hidden so plated holes and silkscreen polarity stay unobstructed (3 overviews + 18 Manual THT cards for 04-hand-assembly.md) |
checklists/generate_bringup_images.py | images/board_bringup/ | 9 | B.Cu render with SMDs + 7 B.Cu THT parts visible and DNP TP1–TP12 bodies hidden, plus bare F.Cu control view (00_test_point_map.png–08_troubleshooting_hotspots.png for 05-board-bringup.md) |
Together, 51 + 21 + 9 = 81 annotated PNGs turn every checklist step into an unmistakable visual check (embedded directly in the repository Build Checklists and as lightbox-zoomable images on the live Companion Site):
Step 7.3: Generating the THT-Only Interactive HTML BOM (bom/ibom.html)
JLCPCB handles all 50 rear SMDs automatically, so using an unfiltered KiCad interactive BOM during hand assembly clutters the table with resistors and 0603 capacitors you will never touch with an iron. Using InteractiveHtmlBom (v2.11.1+) inside KiCad PCB Editor (Trace 14), filter the HTML output strictly to the 18 manually soldered parts by reading the JLCPCB_Class footprint field embedded by generate_kicad_pcb.py:
- Open
envelope_follower.kicad_pcbin KiCad PCB Editor -> launch Generate Interactive HTML BOM. - General / Html tabs: output to
bom/ibom.html, default to F (or Front & Back) view showing silkscreen, fabrication, and pads. - Fields tab:
- Set Board variant field =
JLCPCB_Class. - Set Variants whitelist =
Manual THT. - Include extra columns:
Value,Footprint,MPN, andManufacturer.
- Set Board variant field =
- Output scope check: Inspect the generated
bom/ibom.htmlinEnvelopeFollowerWithSkewLimiterheader/BOM table and confirm14grouped rows covering18THT components (11F.Cupanel controls +7B.Cucomponents), with0SMDs,0DNPTP1–TP12, and0FID1–FID3. Link../bom/ibom.htmlinsidechecklists/04-hand-assembly.mdinEnvelopeFollowerWithSkewLimiter, and try the hosted interactive map directly viabom/ibom.htmlon the liveENV / SKEWCompanion Site.
Step 7.4: Recording Real-World Parts Orders & Substitutions (manufacturing/orders/)
A real vendor checkout almost never matches your ideal BOM one-to-one: box film capacitors go out of stock, lead-pitch options differ, and you already have jacks or IDC headers in your bench bins. When PR #28 in EnvelopeFollowerWithSkewLimiter archived a 5-board Tayda Electronics build order, it introduced a clean separation rule:
- Keep canonical
checklists/03-tayda-ordering.mduntouched as a reusable baseline shopping template for future builders. - Log each concrete batch purchase under
manufacturing/orders/— pairing a human-readable engineering record (manufacturing/orders/tayda-1000489380.md) with the verbatim 4-column quick-order cart import (manufacturing/orders/tayda-1000489380.tsv,9SKUs), own-stock allocations (J1–J4Thonkiconn jacks,J_PWR2×5headers, Eurorack ribbon cables, M3 mounting screws), and non-Tayda items (JLCPCB front panels, omitted optionalTP1–TP12test loops).
Recording the exact substitutions in manufacturing/orders/tayda-1000489380.md preserves critical mechanical and bench bring-up traceability:
- Straight-lead electrolytics (
C1/C2→A-6764): SelectedA-6764(47 µF / 35 V,5 × 11 mm,2.0 ± 0.5 mmstraight leads) overA-7257(6.3 × 11 mm,5.0 mmpre-formed leads) so both rail decoupling capacitors seat flush into the2.50 mmPCB footprint without bending leads. - Out-of-stock timing capacitor substitution (
C12/C13→A-6940) &SLOWbring-up math: Because Tayda’s2.2 µFand4.7 µFWIMA MKS2 SKUs (A-5753,A-5786,A-5695) were out of stock, the order substitutedA-6940(KEMET R821.5 µF / 63 V 5%box film,5.0 mmpitch). Logging that change updates totalSLOWtiming capacitance (C11 + C12 + C13) from4.87 µFto3.47 µF(~7.4×overFAST), shifting expectedchecklists/05-board-bringup.mdSLOWtimes from~3.0 srise /~1.84 sfall (CW) to~2.13 srise /~1.31 sfall (and~2.1 ms/~1.3 msat CCW) so bench measurements match the real soldered components. - Pot shaft & Davies 1900H knob verification (
A-4559): Verified that all four ordered pots (A-1855,A-1672,A-8401) use6.35 mmsmooth round shafts (15R1) matchingA-4559(12.7 mmOD Davies 1900H clone knobs with set screws), preserving2.8 mmof clearance on the15.50 mmvertical pot pitch.
Step 7.5: Authoring the 8 Musical Patch Guides (patches/)
Once your boards pass checklists/05-board-bringup.md, document how the finished instrument plays in a Eurorack system. Under patches/ in EnvelopeFollowerWithSkewLimiter (initially drafted under effects/ in commit 15287c0 and renamed to patches/ in dd6c559 so directory paths, headings, and Patch Guide terminology converged cleanly), patches/README.md plus 8 standalone Patch Guides cover both operating modes — and power the interactive Studio Rack workbench at /patches/ on the live ENV / SKEW Companion Site:
| Mode | Patch Guides (8ad81d0) | Musical Applications |
|---|---|---|
Envelope Follower Mode (IN patched, SLEW IN unpatched) | 01-sidechain-ducking.md, 02-auto-wah-envelope-filter.md, 03-compression-expansion-gating.md, 04-ducking-and-blooming-fx.md, 05-cross-modulation-push-pull.md | Techno kick ducking, funk auto-wah, opto-style compression/gating, blooming reverb swells, push-pull stereo panning |
Asymmetric Skew Limiter Mode (SLEW IN patched) | 06-audio-rate-slew-waveshaping.md, 07-asymmetric-portamento-slides.md, 08-gate-to-ar-envelope-and-slewed-mod.md | Audio-rate nonlinear LPF & harmonic fuzz, asymmetric 303-style portamento slides, linear AR/ASR envelopes & smoothed S&H |
Adding these 9 files (patches/README.md + 01–08) alongside the 4 Reference Specs (DesignSpec.md, EnvelopeFollower.md, EnvelopeFollowerImprovements.md, panel_svg_spec.md) and 7 Build Checklists (checklists/README.md, 01, 01b, 02–05) completes the 20-file single-source Markdown corpus that Stages 8 and 9 ingest directly into the Companion Site without duplicating content.
Step 7.6: Python ruff Hygiene, Living Context Map Sync & Reproducible images/ Renders
Before handing the hardware repository over to Companion Site planning, run three final housekeeping passes (Trace 12, Trace 16, and PR #2).
Python ruff Lint & Format (DTZ011 Timezone-Aware Date Fix)
The three checklist generators (generate_pcba_alignment_images.py, generate_hand_assembly_images.py, generate_bringup_images.py) and generate_schematic.py total thousands of lines of CAD automation. In PR #2 in EnvelopeFollowerWithSkewLimiter, running ruff check and ruff format across all non-skill Python scripts caught:
DTZ011ingenerate_schematic.py: Replaced naivedatetime.date.today()in the A3 title-block date stamp with timezone-aware UTC-to-local conversion (datetime.datetime.now(tz=datetime.timezone.utc).astimezone().date().isoformat()).- Type-import & cleanup hygiene: Moved
Callableimports tocollections.abc, removed unused variables and unpacks, and dropped redundantint()wrappers aroundmath.floor,math.ceil, andround.
Living Context Map Sync (Foreshadowing Stage 9’s Repository Front Door)
Update root README.md as a Living Context Map so its quick-start CLI flags (--silk-only, --sync-silk, --check-silk, --show-silk, --auto-silk), /edit-silkscreen workflow, panel_art/, manufacturing/ (including orders/), bom/ibom.html, checklists/, patches/, and images/ (86 files: 5 module renders + 81 checklist PNGs) mirror what is actually on disk for upcoming agent sessions.
Keep that comprehensive Living Context Map alive while hardware and planning work are active. Once the dedicated ENV / SKEW Companion Site goes live in Stage 9, you will slim that 195-line hardware index down into a compact 123-line Repository Front Door (README.md @ 8ad81d0) that orients visitors and points straight to the published site.
Reproducible images/ Export, Cropping & Link Audit
Generate uniform, tight-cropped renders for both the main PCB and mated Matte Black + ENIG panel directly from the command line:
mkdir -p images
# 1. Schematic preview (rasterize KiCad PDF at max edge 2400 px on macOS)
sips -s format png -Z 2400 envelope_follower.pdf --out images/schematic.png
# 2. High-quality raytraced 3D renders with transparent backgrounds
kicad-cli pcb render --side top --width 900 --height 2400 --background transparent --quality high \
--output images/pcb_front.png envelope_follower.kicad_pcb
kicad-cli pcb render --side bottom --width 900 --height 2400 --background transparent --quality high \
--output images/pcb_back.png envelope_follower.kicad_pcb
kicad-cli pcb render --side top --width 900 --height 2400 --background transparent --quality high \
--output images/panel_front.png envelope_follower_panel.kicad_pcb
kicad-cli pcb render --side bottom --width 900 --height 2400 --background transparent --quality high \
--output images/panel_back.png envelope_follower_panel.kicad_pcbNormalize pairs (pcb_front.png/pcb_back.png and panel_front.png/panel_back.png) onto matching canvases using Pillow getbbox() with 16 px padding and optimize=True so side-by-side comparison tables align edge-for-edge, and always run a quick Python check verifying zero dead relative Markdown links or <img src> attributes before pushing:
import pathlib, re
text = pathlib.Path("README.md").read_text(encoding="utf-8")
targets = [m.group(1) for m in re.finditer(r"\[[^\]]*\]\(([^)]+)\)", text)]
targets += [m.group(1) for m in re.finditer(r'(?:src|href)="([^"]+)"', text)]
missing = [
t for t in targets
if not t.startswith(("http://", "https://", "#"))
and not pathlib.Path(t.split("#", 1)[0]).exists()
]
assert not missing, f"Broken local links in README.md: {missing}"Pitfalls Caught in Stage 7
| Pitfall Discovered | Symptom | Fix Applied |
|---|---|---|
Default Excellon ovals without route | JLCPCB flags H1/H2 M3 oval NPTH slots or converts them to round drills | Pass --drill-origin plot --excellon-separate-th --excellon-oval-format route on both boards |
Raw B.Paste coverage heuristic (~37%) | Static Gerber analyzer warns on paste-to-copper ratio when comparing paste against 133 vias + THT pads | Verify exact 125 / 125 paste-flash parity against the 50 SMD footprints (0 on F.Paste) |
Uploading envelope_follower_bom.xml | JLCPCB tries to source THT jacks/pots/film caps and DNP Keystone test points (TP1–TP12) | Upload jlcpcb_bom.csv (17 rows, 50 SMDs, 3 Extended SKUs) paired with manufacturing/jlcpcb_cpl.csv |
Mentally flipping B.Cu viewer coordinates | Misreading left/right cathode bands (D1–D5) or Pin 1 (U1/U2) in JLCPCB’s bottom viewer | Print both board=(X, Y) and mirrored back=(30.0 - X, Y) coordinates in 02-pcba-part-alignment.md and pair them with the 51 pcba_alignment PNGs |
Oversized knobs on 15.50 mm pot spacing | Skirted knobs wider than 14.0 mm rub against neighbors on RV1–RV4 | Cap knob outer skirt at <= 14.0 mm in 03-tayda-ordering.md, snap off Alpha pot anti-rotation tabs, and verify round-shaft match (A-4559 12.7 mm OD) |
Mutating canonical 03-tayda-ordering.md on stock-outs | Future builders inherit batch-specific capacitor substitutions or misread expected SLOW bring-up times | Keep checklists/03-tayda-ordering.md untouched and log order substitutions (A-6764, A-6940 3.47 µF → ~2.13 s rise / ~1.31 s fall) in manufacturing/orders/ |
| Unwashed flux around slow-mode nodes | SLOW release sags prematurely when flux leakage shunts 1 MΩ (RV2/RV3) | Scrub U2A.3, C11–C13, and SW2 thoroughly with IPA during hand assembly |
Naive datetime.date.today() & broken post-rename links | ruff flags DTZ011 in generate_schematic.py, or README.md points to effects/ after renaming to patches/ | Use UTC-aware .astimezone().date(), run ruff check / ruff format, and audit local Markdown/HTML targets before committing |
Next: Planning the Companion Site (Stage 8) & Tutorial Appendix
Your hardware design is now fabrication-ready, visually documented across 81 Build Checklist renders, backed by real-world vendor order logs, and paired with 8 musical Patch Guides — completing the 20-file Markdown corpus. Next, in Stage 8: Planning the Companion Site with /wayfinder, you shift from hardware CAD into software/site planning: layering mattpocock/skills atop your hardware skills and running a structured /wayfinder planning arc (from one seed Prompt Block through parallel research, HITL grilling, GLOSSARY.md, ADR 0001, throwaway UI prototypes, and an implementation spec) before building and shipping the live ENV / SKEW Companion Site in Stage 9.
You can also consult the Tutorial Appendix at any time:
- Netlist, BOM & Silkscreen Schedule — Complete
80-component (+ 3fiducials) BOM, verbatim17-rowjlcpcb_bom.csv, all48active nets,9-section schematic capture checklist, and fullsilk_layout.jsonschedule. - Engineering Sign-Off Checklist — Printable end-to-end summary tying engineering phases directly to the
EnvelopeFollowerWithSkewLimiterrepository deliverables.