# Optimus showcase PDF: inventory, sources and QA

Repository revision used: `199276d0fa374fe81a5ed4d693b0c66ecc9a2bf3` (main, 25 Nov 2026 16:06 +0100, "Video: proof captions enter with their pages…"), cloned read-only. No repository file was modified, and no Kane run was triggered.

The live example report (`/report/`) was fetched on 25 Nov 2026. Its matrix, contract hash and counts match the committed fixture `tests/fixtures/report-bundle/`, so the fixture was used for the screenshots.

## 1. Asset inventory

| Asset | File path | Available? | Suitable? | Quality | Action |
|---|---|---|---|---|---|
| Website hero screenshot | uploaded `mypostred.png` (1600×900) | Yes | Yes, cover | Good. Has a scrollbar strip on the right and a white strip at the bottom | **Needed cropping**: cropped to 1547×870 (16:9), scrollbar and white strip removed. Used on p.1 |
| Clean hero illustration | uploaded `download.png` (1920×1080) | Yes | Optional | Good | Not used, to keep the real website screenshot as the single hero |
| Verdict matrix | `tests/fixtures/report-bundle/index.html` `#matrix table` | Yes (rendered) | Yes | Captured at 2× (2268×1104) | **Captured** headless from the committed report. Used on p.3 |
| U failure: after add | `…/evidence/repair-20261123014521-c61591-run-0/L4-add.jpg` | Yes | Yes | 1920×1080 | **Needed cropping** (Books section). Used on p.4 |
| U failure: after reload | `…-run-0/L4-reload.jpg` | Yes | Yes | 1920×1080; byte-identical to the empty-state image | **Needed cropping + annotation**. Used on p.4 |
| U re-test: after reload | `…-run-2/L4-reload.jpg` | Yes | Yes | 1920×1080 | **Needed cropping + annotation**. Used on p.4 |
| U brief screenshot | `…/repair-20261123014521-c61591/attempt-1-brief.jpg` | Yes | Redundant | Same image as run-0 L4-reload | Not used (duplicate) |
| A and B interfaces | `…/gate-g5-a-2/L3-add_alpha.jpg`, `…/gate-g5-b-2/L3-add_alpha.jpg` | Yes | Yes | 1920×1080 | **Needed cropping**. Used on p.3 |
| C and D evidence | `…/repair-20261122205046-1b7e12-run-*`, `…/repair-20261123000518-fe7a64-run-*` | Yes | Yes | 1920×1080 | Ready to use. Not needed (U is the case study) |
| Repair U records | `runs/repair-u/` (REPORT, history, brief, diff, agent message, unsealed defect) | Yes | Yes | Text | Ready to use. Recreated on p.4 and p.6 |
| Repair C / D records | `runs/repair-c/`, `runs/repair-d/` | Yes | Yes | Text | Ready to use. Session data used on p.5 |
| Calibration and cross-tab | `runs/gate1-v5`, `runs/gate2-v5`, `runs/kane-vs-optimus/REPORT.md` | Yes | Yes | Text tables | **Must generate**: charts redrawn as vectors on p.5 |
| Architecture diagram | README Mermaid block | Yes (source only) | No, as is | Mermaid text | **Must generate**: redrawn as a vector on p.2 from README, `src/loop/*` |
| Pixel agents (5) | `website/public/art/agents/{contract,runner,evidence,verdict,smith}.png` | Yes | Yes | Indexed PNG, ~90×85 | Rest pose cut, 4× nearest-neighbour. Used as chapter markers |
| Editorial scenes E-01…E-04 | `website/public/art/editorial/` | Yes | Possible | 320 px wide | Not used (too low resolution for the page) |
| Source art boards | `assets/source/*.png` | Yes | No | Presentation boards | Not used |
| Logo mark | `src/report/mark.ts` (SVG path) | Yes | Yes | Vector | Used in the cover bar |
| Fonts | `src/report/assets/fonts/*.woff2` (OFL 1.1) | Yes | Yes | Subset variable fonts | Embedded as subsets. Licences included in the source zip |
| Code diffs | `runs/repair-*/attempt-1-change.diff` | Yes | Yes | Text | U diff excerpt used on p.4 |
| Demo video | https://youtu.be/HVrF3K6DIGg (from the owner); Remotion source in `video/` | Link yes; recordings gitignored | Yes, as a link | n/a | Linked on p.6 |
| Raw Kane streams / INCONCLUSIVE evidence | `.optimus/`, `runs/**/raw/` | No (gitignored) | n/a | n/a | **Unavailable**, see section 2 |
| Existing PDFs / decks | none in repo | No | n/a | n/a | n/a |

## 2. Missing assets that would strengthen the submission

1. **Demo video link.** Resolved: https://youtu.be/HVrF3K6DIGg (supplied by the owner) is now linked on page 6.
2. **Kane's own "passed" line for U run-0 L4 (optional, would strengthen p.4 step 1).** The claim is documented in `runs/kane-vs-optimus/REPORT.md` and the video facts. The raw line is only on your machine: `.optimus/runs/pack-library/c61591-run-0-UK7fOa/scenario-L4/attempt-1/stdout.ndjson`, around line 141 (`test_md_summary`, `overall_status`). To capture it, open the file in VS Code and screenshot that line at 100% zoom.
3. **An INCONCLUSIVE example (optional screenshot 7).** Good candidates are B L4 under v4 (the reload that never reloaded) and C L1 Gate 1 v5 trial 2 (wrong site). Their evidence is in the gitignored `runs/gate1-v4/raw/` and `runs/gate1-v5/raw/` folders on your machine. Left out on purpose: page 5 already covers both cases in numbers, and adding them would make the PDF denser.

## 3. Source and evidence manifest

| Page | Item | Source |
|---|---|---|
| 1 | Hero image | Uploaded website screenshot (cropped only) |
| 2 | Flow, gate outcomes | README "How it works"; `src/loop/decision.ts` (COMPLETE / REPAIR / RETRY_INFRASTRUCTURE / STOP) |
| 2 | Agent tools | `src/loop/agent.ts` (`--allowedTools Read Edit Write Glob Grep`, `--disallowedTools Bash WebFetch WebSearch Task`) |
| 2 | Integrity, caps | `src/loop/integrity.ts`, `src/loop/repair.ts` lines 294–306 (STOP on failure); README caps |
| 2 | Contract hash | README "Library contract versions", v5 |
| 3 | Matrix | Committed report fixture. Rows: A/B `gate/g5-*-2`; C `1b7e12` run-0/1; D `fe7a64` run-0/1; U `c61591` run-0/1/2 (`bundle.json` `builds[].latestRuns`) |
| 3 | A vs B screenshots | `evidence/gate-g5-a-2`, `gate-g5-b-2` `/L3-add_alpha.jpg` |
| 4 | Verdicts, decisions, IDs, revisions, 35 s, credits | `bundle.json` repairs[u-unseen]; `runs/repair-u/REPORT.md`, `repair-history.json` |
| 4 | Brief excerpt, diff, agent quote | `runs/repair-u/attempt-1-brief.md`, `attempt-1-change.diff`, `attempt-1-agent-message.md` |
| 4 | Unsealed defect quote | `runs/repair-u/DEFECT-unsealed.txt` |
| 4 | Two earlier stopped sessions | `runs/repair-u/REPORT.md` "Sessions" |
| 5 | 24/24, 0 replays | `runs/gate1-v5/REPORT.md` |
| 5 | 4/4, no negative control | `runs/gate2-v5/REPORT.md` |
| 5 | 191 tests, 10 files | README "Current status"; `video/src/config.ts` FACTS.tests (recorded run, 25 Nov). `docs/DEMO.md` still says 184 (**outdated**) |
| 5 | 97-run cross-tab, 11 + 1 split | `runs/kane-vs-optimus/REPORT.md` |
| 5 | 8 sessions, stop reasons, credits | `runs/repair-c|d|u/REPORT.md`, `bundle.json` budgets |
| 6 | Design decisions | `AGENTS.md` rules 1–9, `src/loop/*`, `src/core/lint.ts` |
| 6 | Evidence chain IDs | `bundle.json` (execution `78dd65b8…`, brief `a6a0d9cc…`, agent `6b2986d2…`, grader `fcdbfa8c…`) |
| 6 | Limitations, credit range | Gate 2 report; "reviewed by Claude" notes in the gate and repair reports; `docs/DEMO.md` (300–370 credits) |

Discrepancies found and how they were handled:
- `docs/DEMO.md` says 184 tests, while the README says 191. The PDF uses 191, the newer figure, which is backed by the recorded test run.
- U decision-1 says "the whole scope is run again", but run-2 contained only L3 and L4. The PDF follows the recorded runs and REPORT.md: L3 and L4 only.
- Grader hashes differ between the C, D and U sessions because the adapter was fixed between sessions. The PDF only claims the hash was unchanged *within* each session.
- The DESIGN.md font subset claims to cover `→ ✓`, but the subsets do not include them. They were replaced with vector icons, so no fallback font is embedded.

## 4. QA summary (checks actually performed)

- **Pages:** 6, landscape 16:9 (960×540 pt = 1280×720 px).
- **File size:** 1.47 MB, under the 25 MB limit and the 10 MB target.
- **Rendering:** all 6 pages rasterised and reviewed. Zoomed checks were done on the cover bar, the diagram labels and small text. A DOM overflow check found no element outside its page. Two collisions found in review were fixed: an overflowing caption on p.3 and a label over an arrow on p.2.
- **PDF structure:** `qpdf --check` reports no errors.
- **Fonts:** only Bricolage Grotesque, Atkinson Hyperlegible Next and Atkinson Hyperlegible Mono are embedded (subset). The fallbacks found in the first build (Liberation Sans, Inter, DejaVu Sans Mono) were eliminated.
- **Text:** selectable and extractable (1,396 words via `pdftotext`). No replacement characters.
- **Links:** 11 link annotations, including the demo video, (live site, report, GitHub, hackathon site, Kane #252, #253). The URLs were checked by inspecting the annotations. The live report URL was loaded and returned the expected content. The GitHub and issue URLs were not fetched in this session.
- **Images:** all embedded. Cover at about 116 ppi effective, matrix at 295 ppi, evidence crops at 229–305 ppi. Pixel sprites were scaled with nearest-neighbour, so edges stay crisp.
- **Vectors:** the diagram, charts, timeline and icons are vector.
- **Remaining limitations:** the video URL was not opened from here (YouTube rate-limited the check). The fonts are embedded as Type 3, which is normal for Chrome with variable fonts. They display and print correctly, but some older PDF editors cannot edit them. The cover uses the supplied 1547 px-wide screenshot. It is sharp on a laptop screen, but a full-page print would only reach about 116 ppi.
