Skip to content

feat: 5.1 — transform-all replaces the removed translate alias#51

Merged
coryhubbell merged 1 commit into
mainfrom
feat/5.1-transform-all-alias-removal
Jul 4, 2026
Merged

feat: 5.1 — transform-all replaces the removed translate alias#51
coryhubbell merged 1 commit into
mainfrom
feat/5.1-transform-all-alias-removal

Conversation

@coryhubbell

Copy link
Copy Markdown
Owner

Summary

Executes docs/PLAN-5.1.md: the translate deprecation window closes, and the replacement lands first.

  • New devtb transform-all <source> <file> — fans one source out to all 13 other frameworks through the universal route with a per-target fidelity table (live run: divi source → 13 outputs, 96–100% per target).
  • Removed: translate / translate-all CLI commands (deprecated since 4.14.0). Wrapper and PHP CLI both exit with pointers to the replacements. DEVTB_Translator::translate() — the WordPress runtime engine — is untouched.
  • Fixed: help no longer over-claims deprecation of list-frameworks/validate; the fidelity-gate fallback message no longer references the removed command.
  • Keep-decisions from the plan (Python component-dict acceptance, vestigial stats keys, extraction fallback) are unchanged by design.

Test evidence

Python 307 passed (new removal + fan-out tests) · PHPUnit 344/5,691 · 3 e2e smokes × 2 engines — green, plus live wrapper runs of transform-all, the removed-command error path, and list-frameworks.

🤖 Generated with Claude Code

Executes docs/PLAN-5.1.md.

- New `devtb transform-all <source> <file>` (Python engine): one source →
  every other framework through the universal route, per-target fidelity
  table, --output-dir/--dry-run; framework extension map completed
- Removed: the `translate` and `translate-all` CLI commands (deprecated
  since 4.14.0) — both exit with a pointer to transform/transform-all;
  the wrapper rejects them; PHP CLI stubs error cleanly;
  DEVTB_Translator::translate() (WordPress runtime engine) unaffected
- Fixed: devtb help no longer lists list-frameworks/validate as
  deprecated (they never were); fidelity-gate fallback message no longer
  points at the removed command
- Tests: translate-removal + transform-all fan-out (13 outputs) pinned

Suites: Python 307 · PHP 344/5,691 · 3 e2e smokes × 2 engines — green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coryhubbell
coryhubbell merged commit fe724ce into main Jul 4, 2026
10 checks passed
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