fabro/lib/components/fabro-workflow/src/transforms
Bryan Helmkamp 74e2c3597c
Simplify model stylesheet template plumbing
Apply cleanup review findings on the model stylesheet template branch:

- Move the root-only stylesheet rule into visit_graph_references via a
  GraphPosition parameter, so the bundler and workflow-version stop
  re-implementing the entrypoint guard with duplicated match arms
- Let ModelStylesheetTemplateTransform build its own template store and
  skip the pass entirely when the graph has no stylesheet; drop its dead
  Transform impl and the template_render_store re-export
- Parse fix-message namespaces with the typed Namespace enum, share the
  vars/goal fix strings with script_interpolation_fix, and replace the
  attribute_name magic-string check with a restricted-namespace fix the
  stylesheet transform sets on its own render target
- Drop template_render_store's content parameter; the store's render
  always overwrites it before rendering
- Trim redundant tests and add a transform_options() helper in
  pipeline/validate.rs tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019FBHEs42qNHDeKmsqTSDSQ
2026-08-25 18:54:06 -04:00
..
file_inlining.rs Simplify model stylesheet template plumbing 2026-08-25 18:54:06 -04:00
import.rs Simplify model stylesheet template plumbing 2026-08-25 18:54:06 -04:00
importable_field.rs Unify the workflow graph reference walkers 2026-08-13 14:34:23 -04:00
mod.rs Simplify model stylesheet template plumbing 2026-08-25 18:54:06 -04:00
model_resolution.rs refactor: reuse ModelResolutionTransform instead of a parallel options type 2026-07-28 14:24:26 -04:00
model_stylesheet_template.rs Simplify model stylesheet template plumbing 2026-08-25 18:54:06 -04:00
preamble.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
stylesheet.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
stylesheet_application.rs refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00
variable_expansion.rs Simplify model stylesheet template plumbing 2026-08-25 18:54:06 -04:00