Status: implemented, 2026-09-25. First of two pieces of work that add cable ends (DAC, ACC, AEC, AOC) and the copper SFP as pluggable choices. This one gives a pluggable a HEAD, the part that stands outside the cage, and ships the first two things that need one: a copper SFP and a real QSFP pull tab. The cable ends follow in a second design note and reuse everything here.
Related: pluggables-design.md (the umbrella, decisions 1-10),
pluggables-generics-design.md (spec A, where
generic/sfp-rj45 was gated), pluggables-3d-design.md (spec D).
Three things are wrong or missing today, and all three have the same cause: the library has no way to say how big a module is OUTSIDE its cage.
- The copper SFP is gated for the wrong reason. Spec A refused
generic/sfp-rj45because every RJ45 jack in the library (11.0 and taller) is taller than the 8.55 SFP envelope. But 8.55 is the envelope INSIDE the cage. The jack sits in the head, outside it, and the head is allowed to be larger. - The QSFP pull tab is a brick.
generic/qsfp-lc@1andgeneric/qsfp-dd-lc@1draw the tab as one solid 19.0 x 3.4 rectangle from 20.0 to 34.8 mm. In 3D that is a block, and in 2D it is a grey band painted ACROSS the face, over the LC bores. They stopped composingcommon/qsfp-pull-tab@1(which has the real loop) only because a composed part could not take the generic'slatch-colorfield at build time. - The protrusion is a bare number. Each generic carries its protrusion as
relief.features[body].outwith prose provenance, and nothing checks it against the standard that governs it.
All three MSAs define a maximum envelope for the section outside the cage, separate from the module envelope inside it:
| form | width | above the module top | below the module bottom | length | source |
|---|---|---|---|---|---|
| SFP | 14.00 MAX (D) | 2.10 MAX (L) | 1.40 MAX (AK) | 10.00 RECOMMENDED MAX (A): "other lengths are application specific" | SFF-8432 Rev 5.2a, Table 4-3, Note 4 ("maximum envelope outside of cage") |
| QSFP | 19 MAX | 3.4 MAX (Note 6: includes bail travel) | 1.6 MAX | 20 MAX | SFF-8661 Rev 2.5, Figure 5-1, Note 1 ("enlarged section of transceiver that extends outside of cage to accommodate mating plug and actuator mechanism") |
| QSFP-DD | 19 MAX | 3.4 MAX | 1.6 MAX | 20 MAX Type 1, 35 MAX Type 2 | QSFP-DD HW Rev 6.3, Figure 52, Note 4; section 7.1 |
QSFP-DD HW 6.3 Appendix B also dimensions the pull handle (about 50 long on a Type 1, 118 REF overall from datum D, at the 13.5 REF latch height).
Real copper SFPs exceed SFF-8432's outside envelope. Four independent drawings agree:
| source | head height | head width | outside the cage | overall |
|---|---|---|---|---|
| Finisar FCLF852xP2BTL product spec Rev E, Fig 2 (toleranced table) | C 13.20 +/-0.2 | A 13.55 +/-0.25 | X 22.70 +/-0.3 | K 70.20 REF |
| Optcore SFPP-T-TCA5 datasheet (10GBASE-T) | 13.7 +/-0.10 | 13.4 +/-0.10 | 20.4 (67.90 - 47.5) | 67.90 +/-0.10 |
| FS SFP-GE-T datasheet (1000BASE-T) | 14 (2.70 above, 2.70 below an 8.60 body, untoleranced) | 13.40 +/-0.1 | 21 | 68 MAX |
| Cambium SFP-10G-Copper Rev .02, Fig 6 | 2.70 +/-0.10 above, 2.60 below an 8.50 body | 13.70 +/-0.10 | - | - |
SFF-8432 lets the length run long ("application specific"), but it states the height as a MAXIMUM, and every copper SFP is 1.2 to 2 mm over it. A contract therefore has to be able to say "this part exceeds the standard's outside envelope" and cite why. That is not an error to suppress, it is a fact about the part class.
The real QSFP pull tab (the maintainer's photographs of a QSFP28-SR4 module, top, side and end views; QSFP-DD HW Rev 6.3 Appendix B, Type 1, for the reach) is:
- a flat U-loop in plan, with two thin arms along the module's side edges and a wider grip pad at the far end; the middle is open, so the fibre connector passes through it;
- a reach of 49.8 measured from the NOSE FRONT (118 REF - 48.2 MIN - 20 nose, per Appendix B's Type 1 drawing), corroborated by the photographs (mean 49.9, within 8%). The ProLabs PAN-QSFP28-100GBASE-CWDM4-C drawing's 34.80 does not describe this tab;
- a thin strap in side view, S-bent: it leaves the riser 0.47 above the body top, dips 1.53 below that at about 31 from the nose front, and rises through the grip pad to 0.76 above where it left (read on fitted body edges in 2.2.0; the median-edge draft said a 1.8 dip and a 0.5 rise);
- seen end on, a grip pad that straddles the face's top edge rather than sitting wholly above it: it is 1.23 above the body top (1.07 on median edges), so the receptacle stays partly visible. This is what SFF-8661's "3.4 MAX above, including bail travel" allows for.
- A pluggable declares a
head:, the box it occupies outside the cage. It is a contract key, not relief: relief still builds the solid,head:is the envelope that relief, lint and a downstream tool read. - The standards' outside envelopes go in the registry as
head:onsfp-module,qsfp-moduleandqsfp-dd-moduleinspec/schemas/standards.yaml. Maximums are maximums; SFF-8432's length is markedrecommended. - A head may exceed its registry envelope only with
exceeds:, which names the dimension or dimensions and carries a source. The copper SFP is the first user. - A composed part inherits a field value from its host when both declare the same
field key. That is already true at runtime (
kit/fields.jsrepaints every matching node in the part's group, composed children included); this makes the build agree. - The QSFP generics compose the pull tab again, a revised
common/qsfp-pull-tabmeasured against the photographs: arms at the side edges, grip straddling the body top, colour fromlatch-color. The speed lettering on the grip (100G) is dropped from the default, because a generic carries no rate (L99). generic/sfp-rj45@1composesstd/rj45-ganged@2in its head (11.91 x 10.5 opening, 18.6 deep,interface: rj45), which fits inside a 13.55 x 13.20 head and a 22.70 protrusion. The singlestd/rj45@2(15.8 wide) does not fit and is not used.- The copper SFP is modelled on the Finisar table, the only one toleranced on every dimension; Optcore, FS and Cambium corroborate it and their spread is recorded.
- Every module-conforming occupant declares a head, so the check applies to the four existing optical generics too, not just the new part.
sfp-module:
head:
w-max: 14.00
above-max: 2.10
below-max: 1.40
length-max: 10.00
length-kind: recommended # SFF-8432 A: "other lengths are application specific"
source: 'SFF-8432 Rev 5.2a Table 4-3 designators D, L, AK, A; Note 4'
qsfp-module:
head: {w-max: 19.0, above-max: 3.4, below-max: 1.6, length-max: 20.0,
source: 'SFF-8661 Rev 2.5 Figure 5-1, Notes 1 and 6'}
qsfp-dd-module:
head: {w-max: 19.0, above-max: 3.4, below-max: 1.6,
length-max: {type-1: 20.0, type-2: 35.0},
source: 'QSFP-DD HW Rev 6.3 Figure 52, Note 4; section 7.1'}On any occupant that conforms: to a module envelope:
head:
at: [0.0, -2.70] # top-left of the head's front outline, in face coordinates (illustrative)
size: {w: 13.55, h: 13.20, d: 22.70} # d is the length outside the cage
size-confidence: {w: drawing, h: drawing, d: drawing}
type: 1 # qsfp-dd only; selects the registry's length-max
exceeds: # only when the head is larger than the registry envelope
- {dimension: above, source: '...'}The prose for it lives in provenance.head, as for every other key. at may be
negative and size may exceed the contract's size: the head overhangs the face the
cage accepts. The skin draws the head's front outline over that box. Art outside
the viewBox already renders (the QSFP tab straddles the face by 0.325 each side today); a
gate confirms it for a head that overhangs in y.
Standalone preview framing. A part that declares head: gets a standalone component
preview (library/dist/components, the explorer's module view) framed to the union of its
size box, its head box, and its composed parts' boxes, keeping its own origin. A part
without a head is untouched. The 3D module face is unaffected: it keeps its size box, since
the kit's relief.js consumer assumes a face's viewBox equals its size (a sizeBox: true
flag on the viewer3D component face preserves this).
For every component with behaviour: occupies and a conforms: naming a registry entry
that has head::
- It declares
head:. head.sizeis within the registry's head envelope, measured against the module's ownsize(above=-head.at[1],below=head.at[1] + head.size.h - size.h, width and length direct), or every dimension over it is listed inexceeds:with a source. Arecommendedlength that is exceeded is a note, not an error.exceeds:names only dimensions that actually exceed (a stale waiver is an error).- Every relief feature's
outis at mosthead.size.d. This checks only the host's OWN relief features: a composed part (such as the pull tab) has its own contract, on its own mounting plane, and its relief is never compared to the host's head. There is noreach:key. - The face's front outline node carries the head's bbox to within 0.25, not 0.05: a skin insets its outline by half a stroke, and 0.05 would fail every real part. The head's own figures (in the registry and the contract) stay at 0.05.
The rule is L121, the next free rule number on main when it was written.
render.py's instance_group passes the host's merged field values to a composed part
(its inherited_fields= argument), keeping only the keys the part's contract declares, and
they feed that part's fill_from_attrs. A part's own parts: entry attrs still win,
so a host that pins a colour on a composed part keeps doing so. Test:
spec/tests/test_fields_reach_composed_parts.py, built against the defect first.
- Arms
arm-l,arm-r: thin, at the module's side edges, from the nose front forward. - Grip
grip: at the far end, spanning the 19.0 MAX width, positioned where it was measured: it straddles the body's top edge (y -1.23 to 1.67 in the face), its top 1.23 above the body top, inside the 3.4 above allowance. - A riser block at each arm root (
riser-l,riser-r, since 2.1.0): a post the arm's width, 7.5 out from the nose front and 7.8 tall from the strap top, photo-measured. It is the strap's own moulding (beige, no seam) and rides with the tab, so it is the tab's and not the module head's. Drawn below the arm's cross-section, so the two boxes share no volume. - The S-bend as a staircase (since 2.2.0, #647): each arm is six boxes
along the reach,
arm-l(the root, flush with the riser) thenarm-l-2toarm-l-6, each the arm's 1.95 x 2.9 section with its top at the mean of the photographed curve over its span. Each box'sliftis where the one before it ends, so they meet with no gap and no overlap, and the last one ends where the grip begins. Relief builds boxes; no new primitive, and no kit or build change. The rounduhandleprimitive is wrong for a flat strap and is not used. Face-on the strap is end-on and the dip lies inside the arm root and riser outline, so the five lower boxes are drawn first, under that art. - Reach 49.8 from the nose front (QSFP-DD HW 6.3 Appendix B, Type 1; drawing), corroborated by the photographs; arm width, grip length and grip height are MEASURED off the top and side photographs against the known 18.35 module width, and say so.
- A
defaultskin whose fill followslatch-color(data-fill-from,data-stroke-derive), default the neutral grey#6f6f6f(decision taken in #473). - No speed lettering.
@1keeps itswhiteandblueskins and its100Gcut, and is markedsuperseded-by: common/qsfp-pull-tab@2.
- Drop the painted
tabrectangle; composecommon/qsfp-pull-tab@2withid: tab, so thetabaddress still resolves (now to a group). - Declare
head:(18.35 x 8.5 face, protrusion 20.0; within the envelope, noexceeds:). The head node is the face's body (a rect, 0.1 inset for the skin's stroke — within the 0.25 tolerance of L121 point 5). - The bump is a major:
generic/qsfp-lcandgeneric/qsfp-dd-lcgo to@2(the CONTRIBUTING versioning rule — the tab geometry moved, not just the address).@1stays, markedsuperseded-by: @2, so the mechanism tests that use@1as a fixture keep working. - The nose (#646):
generic/qsfp-lc@22.1.0 draws its head as the nose the maintainer's photographs of a QSFP SR4 module show, 1.4 above and 1.4 below the body (11.3 tall; within SFF-8661's 3.4/1.6 allowance). An earlier reading of the same photographs split it 1.6 above and 1.4 below; both side views are slightly rotated, and once each body edge is fitted along the body and read at the nose, the two views agree on an even split.generic/qsfp-dd-lc@2keeps the 18.35 x 8.5 face: no QSFP-DD module has been photographed, and HW Rev 6.3 Figure 102's 13.5 REF is the envelope's sum, not a module's nose. The riser arrives on both through the composed tab (section 4.5).
class: transceiver,behaviour: occupies,mates: sfp,conforms: sfp-module,size: {w: 13.55, h: 8.55, d: 47.50}(registry, L9).head:from the Finisar table: 13.55 x 13.20, 22.70 outside the cage;exceeds: [above, below, length]with the four sources in section 2.- Composes
std/rj45-ganged@2in the head face, so it PRESENTSrj45and a configuration can seatgeneric/rj45-plug@1+common/rj45-boot@1in it (the iterativemate-tochain from spec B). - The jack is composed at rotate 180, keyway up (the Finisar and FS front views agree; see Decisions taken). No latch is drawn: the bail's pivot is vendor-specific (next item).
- No
latch-colorfield: no bail is drawn (the pivot is vendor-specific — Finisar draws a top-front bail, Cambium and Optcore pivot at the bottom-front), so there is no colour for a field to paint (L73 is right to not require one). - L76 does not ask this jack for lamps: copper SFPs carry no link LEDs (the host port's
LEDs report the link), and L76 skips any contract whose class is
transceiver. The Finisar and Cambium front-view drawings were checked and show no LED window. - No rate, no reach, no power: it stands for 1000BASE-T, 10GBASE-T and NBASE-T alike (L99). The 10GBASE-T parts are a little shorter (Optcore 67.90 vs Finisar 70.20) and that spread goes in provenance, not in a second part.
generic/sfp-lc@1 and generic/sfp-lc-simplex@2 declare head: (13.55 x 8.55, protrusion
10.0, within the envelope). Additive, so a minor bump each.
- Portrayal still ships devices bare (umbrella decision 2). A copper SFP appears in a cage's
accept list because it
mates: sfp; nothing seats it by default. - The explorer's swap menu offers
generic/sfp-rj45automatically, and now also offers a plug INTO the copper SFP's jack: RJ45 connector slots are in the swap menu (#610, #611 and #570 delivered them; #648 is closed). A configuration can seat one; that is tested. - Head collisions between neighbouring cages (a copper SFP beside another in a tight 2xN) are real and vendors warn about them, but checking them needs seated occupants, which the library does not ship. Noted, not built.
Parked follow-ups, not built this piece of work:
- The pull tab's S-bend is a six-step staircase per arm, not a curve (#647): the steps stand up to 0.45 off the curve on the dip's flanks. The grip pad is still one box at its top, so its first 4 mm, where the strap is still rising, are drawn up to 0.9 high. The riser's chamfered lower corners are not drawn.
- A kit-vs-build coordinate check for the full copper-SFP-to-boot chain needs kit support the explorer does not have yet (the kit seats one occupant per cage); the copper chain's JS coverage stops one link short of that.
- Unit: L121 each clause, with a passing and failing fixture per clause; the stale-waiver
case; the
recommendednote. - Build: a composed part takes its host's field (runs RED against today's render first).
- Seating: SFP cage ->
generic/sfp-rj45->generic/rj45-plug->common/rj45-boot, tested in the build (test_copper_sfp_chain.py). The kit's coverage is thebodyRolecase intest_body_role_js.py(the boot is its own removable part, three deep); a kit coordinate check of the chain is a parked follow-up (section 5). - 3D: checks that read the compiled SVG's relief attributes (
data-z-out,data-z-lift, the cavities) for the copper SFP head (its top at the settledabove, section 8) and for the pull tab (two arms, one grip, no solid between the arms), per pluggables-3d-design.md. The composed tab'soutmust not be double-lifted (theout-absolute,lift-summed rule). - 2D: head art that overhangs the viewBox in y is present in the compiled SVG and on screen.
- Census tests: the new part joins every count and exemption table it should; nothing is waived.
- A human review page before the full rebuild: the photographs and drawings beside the
2D and 3D renders of
generic/sfp-rj45,generic/qsfp-lcandgeneric/qsfp-dd-lc, seated in a real device, with close-ups. Sign-off, then gates. - Gates: lock, lint (no change against the baseline except L121's new passes), build,
publish, catalogue, the full suite with
-n auto, and CI time compared with main's last green run.
The cable ends: generic/sfp-cable, generic/qsfp-cable, generic/qsfp-dd-cable, one
per form, closed face, pull strap and ring, strain relief, a cable stub with OD and colour
as fields, and DAC/ACC/AEC/AOC on the vendor wrapper. Their heads are already sourced
(SFP+ DAC: Molex 747520001, Amphenol C-NJDDGN-0099; QSFP28 DAC and ACC: FCI 10121178,
Amphenol C-NDAAFR-0099, C-NDAAXF-0099, C-NJAAF3-0099; QSFP-DD DAC: Volex; QSFP28 AOC: FS),
except the AEC head, which is known only as a QSFP-DD Type 2 extension.
The exactResolved: 2.50 above, 2.15 below (see Decisions taken).aboveandbelowsplit of the copper SFP head.Whether the QSFP generics' bump is a minor or a major (section 4.6).Resolved: major (see Decisions taken).WhetherResolved: top level, because a downstream tool that never builds 3D still needs it;head:belongs in the component JSON schema as a new top-level key or underrelief:.components.jsonpublishes it.
- 2026-09-25: the pull tab fix belongs in this piece of work, not a separate one, because its height allowance is the same outside envelope the copper SFP needs.
- 2026-09-25: DAC, ACC, AEC and AOC are one generic cable end per form; the kind, cable OD and colour live on the vendor wrapper and in fields.
- 2026-09-25: the copper SFP jack's rotate is 180 (Finisar Rev E and FS SFP-GE-T front
views agree: keyway up, contacts down, label-side up;
std/rj45-ganged@2at rotate 0 has its slot down). - 2026-09-25: the copper SFP head splits 2.50 above / 2.15 below (Finisar Y 2.50 +/-0.2, head top to body top, same on both revisions, against the registry's 8.55 body; 13.20 - 8.55 - 2.50 = 2.15). Finisar's own 2.25 against its 8.45 body is within tolerance.
- 2026-09-25: the head node (L121 point 5) is compared to its bbox at 0.25, not 0.05: a skin insets its outline by half a stroke, so 0.05 would fail every real part. The head's own figures, in the registry and the contract, stay at 0.05.
- 2026-09-25: the pull tab's reach is measured from the nose front, 49.8 (QSFP-DD HW 6.3 Appendix B, Type 1), corroborated by the photographs (mean 49.9); the ProLabs 34.80 does not describe this tab and is dropped as a source for it.
- 2026-09-25:
generic/sfp-rj45carries nolatch-colorfield, because it draws no bail (the pivot is vendor-specific); L73 correctly does not require a field with nothing to paint. - 2026-09-25: L76 skips a contract whose class is
transceiverwhen checking for lamps: copper SFPs carry no link LEDs, so asking their jack for one is a false positive. - 2026-09-25: a composed part's own relief (such as the pull tab's) is never compared to
its host's
head.size.d(L121 point 4) — it lives on the composed part's own contract and its own mounting plane, not the host's. - 2026-09-25: the standalone component preview of a part with
head:frames to the union of its size, head and composed-parts boxes; the 3D module face keeps its size box. - 2026-09-25:
generic/qsfp-lcandgeneric/qsfp-dd-lcbump to@2(major, per CONTRIBUTING's versioning rule) because the tab's geometry moved, not just its address;@1is kept, markedsuperseded-by, so fixtures pinned to it keep working. - 2026-09-25: the pull tab is placed where it was MEASURED, straddling the body's top edge (its grip at y -1.07 to 1.83, its top 1.07 above the body top), not wholly above the face as first specified. In 2D it therefore hides about 0.9 mm of the bore housing's top.
- 2026-09-25: the pull tab's grip length is the orthographic top view's 11.2 alone; the other top view failed the orthography check and is a cross-check only. The arms run out 49.8 - 11.2 = 38.6, and the grip from 38.6 to 49.8.
- 2026-09-25: the S8901-54XC management jack's finish correction (the black plastic finish
now reaches the composed
std/rj45@2housing, matching what the kit already painted at runtime) is an intended fix, not a regression, and its changed front-view render is expected. - 2026-09-26: the QSFP riser block belongs to
common/qsfp-pull-tab@2, not to the module's head: the photographs show it beige and seamless with the strap, standing 0.1 to 0.3 off the metal nose. The nose goes ongeneric/qsfp-lc@2's head (1.4 above, 1.4 below), and not ongeneric/qsfp-dd-lc@2's until a QSFP-DD module is measured. Both corrections are minor bumps: ids, connection points and placements are unchanged, and the nose and riser were known to be missing (#646). - 2026-09-27: the pull tab's vertical figures were read again on fitted body edges in the side view that passes the orthography check (#685): the grip top moved beyond its uncertainty, 1.07 to 1.23, and the strap top within it, 0.57 to 0.47. The second side view agrees on the shape once a 1.7 deg pitch of the tab is removed, so its pose is taken from the view of record. The S-bend is modelled as a staircase of relief boxes that follows the sampled curve, not as a new swept primitive (#647). All three QSFP parts take minor bumps to 2.2.0: ids and connection points are unchanged, boxes were added, and the hosts move the tab 0.16 up to where it was measured.