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.md Eval 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:

  1. Rewrote description: to introduce two-register model from TFD-018; mark --style deprecated.
  2. Added TFD-018 + templates/README.md + svg-components/ + LITE variants to compatibility.References.
  3. Bumped version: "3.1", added supersedes-flag note.

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:

  1. Added --register board|console flag in invocation signature.
  2. Added "Résolution du registre (précédence)" subsection: CLI → CLAUDE-md → TFD-018 table → default board.
  3. Marked --style as deprecated in arg table but kept functional (maps to board, emits warning).

Score: 5/12 (was 3/12, +2)

  • Q1 NO → YES (--register with board default 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:

  1. Rewrote "Templates lus" as a two-column table (board template / console LITE template / output / conditionnel).
  2. 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:

  1. Replaced "ESTHÉTIQUE — Trois styles" with "ESTHÉTIQUE — Deux registres (TFD-018)" — board specs, console specs, --style deprecation warning + mapping.
  2. Rewrote Étape 0: now "résoudre le registre" with logging requirement.
  3. Rewrote Étape 1: template selection branches on register; preload svg-components/ partials when board.
  4. Updated Étape 2: page3 trigger now has dual conditions — intrant-section OR csv-column (Cost/CAPEX/OPEX/Budget in objects.csv).
  5. 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>).
  6. 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.
  7. 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.