figure-agent v0.1.7
v0.1.7 plumbed the previously-orphan spec.yaml.selection_notes field into the LLM TikZ authoring prompt.
This release was hardened pre-publish: see v0.1.7.1 for the agent-team mid-review fixes that landed before the first remote push.
Added
prompts/llm_author_tikz.md### Selection notessection with priority order text directing the LLM to honorbriefing.md§6 invariants over selection notes.commands/fig_preview_select.mdstep 6: recommended 4-heading template (Visual motifs to preserve/Preview errors to fix in TikZ/Labels to lift/Style overrides). Free-form remains accepted; HTML-comment author-only notes are stripped.commands/fig_new.mdscaffoldsspec.yamlwith an emptyselection_notes: ""key.docs/design-v0.1.mdper-figure folder contract listsselection_notesas a recognizedspec.yamlkey.docs/roadmap-v0.1.7-selection-notes.mdrecords the audit-driven rationale for plumbing this orphan field instead of adding a/fig_decomposeslash command.tests/test_llm_author_prompt.pyfour new tests: plumbing, HTML strip, fallback, backslash safety.examples/fig3_trap_schematic_v97/activated as tracked dogfood demonstrating the 4-heading convention.
Changed
scripts/llm_author_prompt.pyreadsspec.yaml.selection_notes, strips HTML comments usinginputs._HTML_COMMENT(parity withparse_briefing), and substitutes the result into{{selection_notes}}with a fallback when the field is missing or whitespace-only.
105 pytest pass, ruff clean.