Skip to content

[codex] Extract Rails compiler artifact path helpers#8

Draft
fullofcaffeine wants to merge 1 commit into
codex/rails-output-and-hhx-helpersfrom
codex/rails-compiler-module-extraction
Draft

[codex] Extract Rails compiler artifact path helpers#8
fullofcaffeine wants to merge 1 commit into
codex/rails-output-and-hhx-helpersfrom
codex/rails-compiler-module-extraction

Conversation

@fullofcaffeine

Copy link
Copy Markdown
Owner

What Changed

  • Extracted Rails artifact path normalization and fail-closed path validation into reflaxe.ruby.rails.RailsArtifactPaths.
  • Left small delegating wrappers in RubyCompiler.hx so existing call sites stay stable while the compiler is split incrementally.
  • Added docs/ruby-compiler-rails-module-extraction.md to map RailsHx compiler surfaces, target module boundaries, extraction order, and coverage expectations.
  • Added AGENTS guidance that new RailsHx compiler behavior should prefer focused modules over adding more bulk to RubyCompiler.hx.
  • Closed bead haxe.ruby-67c with code/docs/bead state together.

Why

RubyCompiler.hx has become the orchestration root plus the home for many RailsHx surfaces. This starts the refactor with a low-risk, behavior-preserving extraction that is deterministic and snapshot-covered, while documenting the larger module plan.

Validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant