Skip to content

Dev - #304

Merged
vsilent merged 2 commits into
mainfrom
dev
Oct 19, 2026
Merged

Dev#304
vsilent merged 2 commits into
mainfrom
dev

Conversation

@vsilent

@vsilent vsilent commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Release #301 (config_contract pattern / max_length; alphanumeric length generated exactly).

Needed on production now: awesome-selfhosted-stacker main (local-ai-packaged, merged #35) uses pattern / max_length; production stacker without #301 refuses that contract (prepare and bake of local-ai-packaged at ref main fail). Quick Deploy links pinned to fe92a73 are not affected.

🤖 Generated with Claude Code

https://claude.ai/code/session_012TKZy6f5shPzM9WLdswH6f

robotizeit and others added 2 commits October 19, 2026 14:03
A Quick Deploy buyer could type 4 characters into SUPABASE_SECRET_KEY or
OPENAI_API_KEY: the contract had no way to say what a key looks like, so
nothing could refuse it.

- FieldPolicy gains pattern (whole-value regular expression) and
  max_length; the platform checks them in the Quick Deploy form and in the
  deploy start.
- A contract nothing could satisfy is refused when parsed: a pattern that
  does not compile, min_length over length, min_length over max_length,
  length over max_length.
- The alphanumeric generator honours length (it used min_length only and
  ignored length, so length 16 produced 32 characters).

Tests first: tests/config_contract_pattern.rs and the shared contract's new
examples failed, then passed. cargo test --lib 2275 passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012TKZy6f5shPzM9WLdswH6f
…ength

config_contract: pattern and max_length; length means exactly
@vsilent
vsilent merged commit a7aac3f into main Oct 19, 2026
27 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.

2 participants