Skip to content

Prefer standard shards semantics in native setup#21

Open
crimson-knight wants to merge 1 commit intomainfrom
codex/shards-compatibility-story
Open

Prefer standard shards semantics in native setup#21
crimson-knight wants to merge 1 commit intomainfrom
codex/shards-compatibility-story

Conversation

@crimson-knight
Copy link
Copy Markdown
Member

Summary

Document Amber CLI's compatibility target for upstream Shards plus the additive fork currently distributed as shards-alpha, and make the native scaffold prefer shards install before falling back to the fork's current binary name.

Why

If the fork is truly compatible, Amber should keep teaching the standard shards workflow first. The CLI only needs a light adjustment here, but it helps keep the public story clean while the fork grows stronger compatibility guardrails.

Decision Record

The generated app should center the standard Shards command path and let PATH or a fallback handle compatible forks. That keeps onboarding stable for new Amber users while still tolerating the current shards-alpha distribution name.

Verification

  • git diff --check
  • AMBER_CLI_PATH=../amber_cli CRYSTAL_OPTS='--link-flags=-fuse-ld=ld' ../shards/scripts/validate_amber_cli_compatibility.sh

Release Impact

This keeps Amber's generated native setup aligned with the compatibility contract now enforced in the Shards fork.

Risks And Rollback

The main risk is very small: a machine with only shards-alpha installed still depends on the fallback branch of the setup command. If that becomes noisy, this is easy to revert without affecting the broader compatibility work.

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