Skip to content

fix: tighten Swift CLI command surface#132

Open
hankbobtheresearchoor wants to merge 1 commit into
Layr-Labs:swift-providerfrom
hankbobtheresearchoor:fix/swift-cli-smoke-findings
Open

fix: tighten Swift CLI command surface#132
hankbobtheresearchoor wants to merge 1 commit into
Layr-Labs:swift-providerfrom
hankbobtheresearchoor:fix/swift-cli-smoke-findings

Conversation

@hankbobtheresearchoor
Copy link
Copy Markdown
Contributor

Summary

Tightens the Swift provider CLI surface based on local smoke-test findings:

  • adds a real darkbloom serve foreground command
  • rejects unknown top-level subcommands instead of printing top-level help with exit 0
  • validates darkbloom-enclave attest --pub-key as base64-encoded 32-byte X25519 input
  • clarifies that darkbloom-enclave wallet-address is ephemeral for the stateless helper
  • fixes the local metallib README example

Validation

  • swift build --product darkbloom -c debug
  • swift build --product darkbloom-enclave -c debug
  • swift test --filter attestationInputValidatorRequiresBase64X25519PublicKey
  • DARKBLOOM_NO_UPDATE_CHECK=1 .build/debug/darkbloom serve --help
  • DARKBLOOM_NO_UPDATE_CHECK=1 .build/debug/darkbloom foobar --help exits 64
  • DARKBLOOM_NO_UPDATE_CHECK=1 .build/debug/darkbloom-enclave attest --pub-key not-base64 exits non-zero
  • DARKBLOOM_NO_UPDATE_CHECK=1 .build/debug/darkbloom-enclave attest --pub-key <32-byte-base64> succeeds
  • DARKBLOOM_NO_UPDATE_CHECK=1 .build/debug/darkbloom-enclave wallet-address --help

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

@hankbobtheresearchoor is attempting to deploy a commit to the EigenLabs Team on Vercel.

A member of the Team first needs to authorize it.

@ethenotethan ethenotethan requested a review from Gajesh2007 May 4, 2026 06:21
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