Skip to content

The command line refuses the key the deployment would - #32

Merged
thankywal merged 1 commit into
mainfrom
one-number-two-programs
Sep 3, 2026
Merged

thankywal merged 1 commit into
mainfrom
one-number-two-programs

Conversation

@thankywal

Copy link
Copy Markdown
Owner

Found by running muxel init --console-key short: it was accepted, the command went on to its preflight, and a real run would have provisioned a D1 database, a KV namespace and a Vectorize index before the setup page said the key was too short.

The file already made this argument for the Telegram id — "a typo in a number should not cost a provisioning run" — and a key is the same argument with more at stake.

The number is one number now. It lived in packages/runtime/src/env.ts, which the command line cannot import, so it lives in @muxel/core and both read it. Two copies of a number are two numbers, and the one that drifted would be the one the owner met first.

$ muxel init --prefix t --console-key short
error: --console-key has to be at least 16 characters, and this one is shorter.
       Your deployment answers on a public address, so that key is the whole lock on its console

4 tests, RED-checked by taking the guard back out. 946 pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FMFyy3oXb9u2AxoYQKRXHu

Found by running `muxel init --console-key short`: it was accepted, the
command went on to its preflight, and a real run would have provisioned
a D1 database, a KV namespace and a Vectorize index before the setup
page said the key was too short. The file already made this argument for
the Telegram id — "a typo in a number should not cost a provisioning
run" — and a key is the same argument with more at stake.

The number is one number now. It lived in the runtime, which the command
line cannot import, so it lives in @muxel/core and both read it. Two
copies of a number are two numbers, and the one that drifted would be
the one the owner met first.

4 tests, RED-checked by taking the guard back out. 946 pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMFyy3oXb9u2AxoYQKRXHu
@thankywal
thankywal merged commit d11a20b into main Sep 3, 2026
@thankywal
thankywal deleted the one-number-two-programs branch September 3, 2026 12:13
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