Skip to content

refactor(cli): place translate files and prove both paths agree - #1255

Merged
blafourcade merged 4 commits into
refactor/cli-targetfrom
refactor/translate-ab
Nov 16, 2026
Merged

blafourcade merged 4 commits into
refactor/cli-targetfrom
refactor/translate-ab

Conversation

@blafourcade

Copy link
Copy Markdown
Contributor

Summary

Translate phases A and B, stacked on #1253. Folds into refactor/cli-target and closes once folded; opened so CI runs the translate mutation scope and macOS and Windows.

  • A: translate files moved to their target contexts (canon to installation domain, plugin distribution and skip to shared domain, schema validator port to translate/ports), imports only, no logic.
  • B: a conformance test compares the install path with the build path for every tool and every source format, manifests included, with each byte difference named in DIVERGENCES. It replaces the manifest matrix test; its collision and placeholder cases moved to the unit tier.
  • Proofs: dropping the plugin-root token rewrite turns copilot and codex red; dropping .cursor-plugin/plugin.json from the manifest probes turns the cursor-source cases red; a one-byte manifest change turns all 12 native cases red.
  • Test lines vs cb5f32f7d: +362 / -227, net +135. Overrun recorded; translate phase F deletes the golden-overlap tests and pays it back.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XeK3mFAeMojRabhZQ9z9iq

blafourcade and others added 4 commits November 16, 2026 05:05
…ild-target

Move canon to installation, the distribution and skip shapes to shared, the
schema validator to translate/ports, and the build target to translate/contract.
Split the canonical format constants into canon-format. Fold the build-target
unit tests into plugin-format.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeK3mFAeMojRabhZQ9z9iq
…r the named divergences

Path B (install) and path A (build strategies) are compared file by file over the real
framework fixture for every tool, with each known difference named in a list that only shrinks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeK3mFAeMojRabhZQ9z9iq
…nd translate conformance

The manifest was exempt as absent from the disk path. It is now compared, for the four source
formats, with its path and its byte differences named.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeK3mFAeMojRabhZQ9z9iq
…ep its two other cases

The cross-format manifest matrix is replaced by the conformance test, which turns red when a source
format's manifest path or a manifest's content changes. The flat collision and placeholder cases
move into the translator's unit test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeK3mFAeMojRabhZQ9z9iq
@blafourcade
blafourcade merged commit 79ee40e into refactor/cli-target Nov 16, 2026
@blafourcade
blafourcade deleted the refactor/translate-ab branch November 16, 2026 08:47
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