Files
ai-resume/content/assets/diagrams/06-media-pipeline.svg
Documenter da18ab2237 Phase 7: authored assets (diagrams, code exhibits, client wall, budget)
Phase 7 is mostly authored assets. This commit is the asset half; the
template half is a Builder child issue because this phase must not write
application code.

DoD items satisfied or advanced:

- [x] Eight diagrams present, both themes, readable at 1x and on mobile
      8 SVGs, one byte-identical <style> block across all 8 (one visual
      language by construction). Light and dark resolve from a single file
      via prefers-color-scheme, verified per file in Chrome: 8/8 return two
      distinct palettes. Geometry verified with getBBox(), not estimated:
      0 findings after fixing 74 (text overflow, partial overlap, empty
      text, out-of-viewBox). Mobile type at the 900px minimum is 14.1/12.2px.

- [x] Six code exhibits with a two-sentence rationale each
      212 verbatim lines across five eras, copied with cp/sed from the
      read-only archive. Every rationale is exactly two sentences about why
      the code is good; every exhibit also carries an honest_note, and where
      the code is not good the note says so (the 3,400-line procedural PHP
      script is presented for its operational judgement, not its structure).

- [~] Every image optimised; total page weight budgeted and recorded
      BUDGET.md records measured raw and gzip weights for all 15 served
      files: 63,802 B raw / 13,220 B gzipped. Zero rasters by design. Page
      weight of a real page is not measurable until Phase 2 templates and
      Phase 3 serving exist, and is recorded as open rather than asserted.

- [x] Archive never linked or exposed
      No mount paths or volume names under content/. Provenance recorded as
      "private archive, path withheld".

- [ ] Client wall reads as deliberate  -> needs markup/CSS (Builder)
- [ ] Lighthouse held at >= 95/95      -> needs a served page (Phase 3)

Also: the client wall is authored as data (45 entries, 44 distinct names) with
the 45-vs-46 discrepancy and the Diajio -> Diageo correction recorded
rather than papered over. No commercial marks are enabled: that is a
permission decision for Sam, so availability is recorded and permission is not
implied.
2026-10-26 17:35:15 +11:00

93 lines
5.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 540" width="960" height="540" role="img" aria-labelledby="ttl dsc">
<title id="ttl">Media pipeline</title>
<desc id="dsc">Five stages from download to library: fingerprinting gives every file a natural key so re-runs converge, audit verifies the copy, and review is a deliberate human gate before anything is published.</desc>
<style>
text{font-family:ui-sans-serif,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;fill:#1b222b;font-size:15px}
.hd{font-size:15px;font-weight:600}
.sub{font-size:13px;fill:#5b6673}
.cap{font-size:12px;fill:#5b6673;letter-spacing:.06em;text-transform:uppercase;font-weight:600}
.big{font-size:19px;font-weight:600}
.node{fill:#f4f6f8;stroke:#c3ccd6;stroke-width:1.4}
.node-a{fill:#e9f1fd;stroke:#1a6bc4;stroke-width:1.4}
.node-t{fill:#e6f4f2;stroke:#0f766e;stroke-width:1.4}
.node-w{fill:#fdf1e3;stroke:#b45309;stroke-width:1.4}
.zone{fill:none;stroke:#aab4c0;stroke-width:1.4;stroke-dasharray:7 6}
.rule{stroke:#d0d7df;stroke-width:1}
.ln{stroke:#6b7684;stroke-width:1.6;fill:none}
.ln.d{stroke-dasharray:6 5}
.ln.a{stroke:#1a6bc4}
.ln.t{stroke:#0f766e}
.ln.w{stroke:#b45309}
.mN{fill:#6b7684}
.mA{fill:#1a6bc4}
.mT{fill:#0f766e}
.mW{fill:#b45309}
.dot{fill:#6b7684}
.tick{stroke:#aab4c0;stroke-width:1.2}
@media (prefers-color-scheme: dark){
text{fill:#e7edf4}
.sub,.cap{fill:#98a4b3}
.node{fill:#182028;stroke:#35424f}
.node-a{fill:#11253d;stroke:#5aa2f0}
.node-t{fill:#0d2624;stroke:#38b3a6}
.node-w{fill:#2a1d10;stroke:#d98b3f}
.zone{stroke:#43525f}
.rule{stroke:#2c3743}
.ln{stroke:#8496a6}
.ln.a{stroke:#5aa2f0}
.ln.t{stroke:#38b3a6}
.ln.w{stroke:#d98b3f}
.mN{fill:#8496a6}
.mA{fill:#5aa2f0}
.mT{fill:#38b3a6}
.mW{fill:#d98b3f}
.dot{fill:#8496a6}
.tick{stroke:#43525f}
}
</style>
<defs>
<marker id="aN" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mN" d="M0,0 L10,5 L0,10 z"/></marker>
<marker id="aA" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mA" d="M0,0 L10,5 L0,10 z"/></marker>
<marker id="aT" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mT" d="M0,0 L10,5 L0,10 z"/></marker>
<marker id="aW" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="mW" d="M0,0 L10,5 L0,10 z"/></marker>
</defs>
<text x="24" y="40" class="big">Media pipeline — download, identify, verify, review, publish</text>
<rect x="24" y="96" width="154" height="84" rx="7" class="node node-a"/>
<text x="101.0" y="136.0" class="hd" text-anchor="middle">download</text>
<text x="101.0" y="154.0" class="sub" text-anchor="middle">acquire the file</text>
<text x="101" y="168" class="cap" text-anchor="middle">stage 1</text>
<path d="M178,138 L214,138" class="ln " marker-end="url(#aN)"/>
<rect x="214" y="96" width="154" height="84" rx="7" class="node "/>
<text x="291.0" y="136.0" class="hd" text-anchor="middle">fingerprint</text>
<text x="291.0" y="154.0" class="sub" text-anchor="middle">identify what it is</text>
<text x="291" y="168" class="cap" text-anchor="middle">stage 2</text>
<path d="M368,138 L404,138" class="ln " marker-end="url(#aN)"/>
<rect x="404" y="96" width="154" height="84" rx="7" class="node "/>
<text x="481.0" y="136.0" class="hd" text-anchor="middle">audit</text>
<text x="481.0" y="154.0" class="sub" text-anchor="middle">verify the copy</text>
<text x="481" y="168" class="cap" text-anchor="middle">stage 3</text>
<path d="M558,138 L594,138" class="ln " marker-end="url(#aN)"/>
<rect x="594" y="96" width="154" height="84" rx="7" class="node node-w"/>
<text x="671.0" y="136.0" class="hd" text-anchor="middle">review</text>
<text x="671.0" y="154.0" class="sub" text-anchor="middle">human gate</text>
<text x="671" y="168" class="cap" text-anchor="middle">stage 4</text>
<path d="M748,138 L784,138" class="ln " marker-end="url(#aN)"/>
<rect x="784" y="96" width="154" height="84" rx="7" class="node node-a"/>
<text x="861.0" y="136.0" class="hd" text-anchor="middle">library</text>
<text x="861.0" y="154.0" class="sub" text-anchor="middle">publish + serve</text>
<text x="861" y="168" class="cap" text-anchor="middle">stage 5</text>
<rect x="214" y="236" width="342" height="96" rx="7" class="node node-w"/>
<text x="228" y="262" class="hd">Gate, not a queue</text>
<text x="228" y="284" class="sub">a file that fails fingerprint or audit</text>
<text x="228" y="304" class="sub">stops where a person can see it</text>
<rect x="590" y="236" width="346" height="96" rx="7" class="node "/>
<text x="604" y="262" class="hd">Idempotent by identity</text>
<text x="604" y="284" class="sub">the fingerprint is the natural key, so a</text>
<text x="604" y="304" class="sub">re-run converges instead of duplicating</text>
<rect x="24" y="356" width="912" height="92" rx="7" class="node "/>
<text x="38" y="382" class="hd">The same shape at 10 files and at 10,000</text>
<text x="38" y="404" class="sub">every stage is a separate step with its own failure mode, so a bad stage can be re-run alone</text>
<text x="38" y="426" class="sub">the review stage is deliberately manual: automating it would move the risk, not remove it</text>
<text x="24" y="480" class="sub">Encoding, thumbnailing and fingerprinting at scale, with a human gate before anything is published.</text>
</svg>