Auto-Research Log: ea-livrable-assembler
Auto-Research Log: ea-livrable-assembler
Target:
production-lines/digital-talent/talents/agent-ea-v2/.claude/commands/ea-livrable-assembler.mdEval criteria:auto-research/ea-livrable-assembler/eval-criteria.md(12 binary questions) Started: 2026-05-14 Budget: 5 iterations max
Iteration #0 — Baseline (2026-05-14)
Score: 1/12
| # | Question (short) | Result | Note |
|---|---|---|---|
| 1 | --register flag default board? |
NO | Only --style stm-brand exists |
| 2 | TFD-018 / register vocabulary cited? | NO | Pre-TFD-018 file |
| 3 | Board vs LITE template family selection? | NO | LITE variants unknown to skill |
| 4 | register-board/register-console body class? |
NO | Not instructed |
| 5 | svg-components/ referenced as canonical? | NO | Skill expects re-draw inline |
| 6 | 8 SVG partials listed with target sections? | NO | None mentioned |
| 7 | WCAG AA baseline mandated (focus-visible, contrast, skip link, kbd a11y on SVG)? | NO | Rule 7 only says "WCAG AA, alt, ARIA on iframes" — incomplete |
| 8 | Page3 trigger cites both intrant-section AND csv-column? | NO | Only intrant section |
| 9 | Heat-map deep-link <a href="catalog/browser.html?..."> instructed? |
NO | No mention |
| 10 | --style kept functional (rétrocompat)? |
YES | Currently the only flag |
| 11 | Frontmatter intact AND description uses register vocabulary? | NO | Frontmatter OK but description only mentions --style |
| 12 | Register resolution precedence specified? | NO | No mention |
Diagnosis: Skill is pre-TFD-018 entirely. Register model, LITE variants, svg-components/, WCAG baseline, deep-link URL wiring all missing. Page3 trigger is one-dimensional. Single high-leverage edit pass covers most failures because they share the same source documents (TFD-018 + templates/README.md).
Iteration #1 — Frontmatter update (2026-05-14)
Changes applied:
- Rewrote
description:to introduce two-register model from TFD-018; mark--styledeprecated. - Added TFD-018 + templates/README.md + svg-components/ + LITE variants to
compatibility.References. - Bumped
version: "3.1", addedsupersedes-flagnote.
Score: 3/12 (was 1/12, +2)
- Q2 NO → YES (TFD-018 cited)
- Q11 NO → YES (description now uses register vocabulary, frontmatter still valid YAML)
- Others unchanged (deeper body of skill still pre-TFD-018)
Decision: Keep. No regression.
Iteration #2 — Arguments + resolution precedence (2026-05-14)
Changes applied:
- Added
--register board|consoleflag in invocation signature. - Added "Résolution du registre (précédence)" subsection: CLI → CLAUDE-md → TFD-018 table → default board.
- Marked
--styleas deprecated in arg table but kept functional (maps to board, emits warning).
Score: 5/12 (was 3/12, +2)
- Q1 NO → YES (
--registerwithboarddefault exposed) - Q12 NO → YES (precedence chain spelled out)
- Q10 YES → YES (rétrocompat preserved)
Decision: Keep.
Iteration #3 — Templates by register + svg-components catalogue (2026-05-14)
Changes applied:
- Rewrote "Templates lus" as a two-column table (board template / console LITE template / output / conditionnel).
- Added "SVG components — bibliothèque canonique" subsection listing the 8 partials with their target page sections; instructed Edward to inline rather than redraw.
Score: 8/12 (was 5/12, +3)
- Q3 NO → YES (board vs LITE family selection explicit)
- Q5 NO → YES (svg-components/ canonical, "ne pas redessiner")
- Q6 NO → YES (8 partials listed with target sections)
Decision: Keep.
Iteration #4 — Esthétique rewrite + Étape 0/1/2/3 + WCAG rule (2026-05-14)
Changes applied:
- Replaced "ESTHÉTIQUE — Trois styles" with "ESTHÉTIQUE — Deux registres (TFD-018)" — board specs, console specs,
--styledeprecation warning + mapping. - Rewrote Étape 0: now "résoudre le registre" with logging requirement.
- Rewrote Étape 1: template selection branches on register; preload svg-components/ partials when board.
- Updated Étape 2: page3 trigger now has dual conditions — intrant-section OR csv-column (
Cost/CAPEX/OPEX/Budgetin objects.csv). - Updated Étape 3 (page1 structure): added step 0 instruction
<body class="register-board">, added §06 (architecture-context SVG inline) and §07 (heat-map with<a href="catalog/browser.html?layer=X&impact=Y">deep-link cells, explicitly not<div>). - Rewrote Rule 7 (Accessibilité) into full WCAG AA baseline checklist: lang, skip link, focus-visible, contrast, SVG role/title/desc, keyboard a11y on SVG nodes, badge aria-label, iframe ARIA.
- Updated confirm log line:
Style:→Register:with source attribution.
Score: 12/12 (was 8/12, +4)
- Q4 NO → YES (body class instructed)
- Q7 NO → YES (WCAG AA baseline complete)
- Q8 NO → YES (page3 trigger dual: intrant-section + csv-column)
- Q9 NO → YES (heat-map deep-link explicit, "not
<div>")
Decision: Keep. Frontmatter re-verified valid YAML.
Stop condition reached
Perfect score 12/12 achieved at iteration #4. Loop terminated (per "score = perfect" stop condition).
Total iterations used: 4 / 5 budget.
Summary
| Iteration | Score | Delta | Theme |
|---|---|---|---|
| #0 baseline | 1/12 | — | pre-TFD-018 skill |
| #1 | 3/12 | +2 | frontmatter + references |
| #2 | 5/12 | +2 | --register flag + precedence |
| #3 | 8/12 | +3 | template-by-register + svg-components |
| #4 | 12/12 | +4 | esthétique rewrite + workflow steps + WCAG + deep-link |
Highest-leverage change: Iteration #4 — replacing the static ESTHÉTIQUE — Trois styles section with the two-register model and pushing register-awareness into Étape 0/1/2/3 simultaneously. This single coordinated edit landed 4 criteria at once because they all derived from the same source pair (TFD-018 + templates/README.md).
Backward compatibility: --style flag kept functional; mapped to register=board with deprecation warning. Existing /ea-livrable-assembler {slug} and /ea-livrable-assembler {slug} --style stm-brand invocations still work.
No reverts were necessary — every iteration improved or held the score with no regressions.