Skip to content

feat(jelly): settings declare their choices; release v0.0.2 - #7

Merged
joe-broadhead merged 3 commits into
masterfrom
feat/settings-choices
Nov 13, 2026
Merged

joe-broadhead merged 3 commits into
masterfrom
feat/settings-choices

Conversation

@joe-broadhead

Copy link
Copy Markdown
Owner

Two commits.

  1. feat(jelly): settings declare their choices — the access setting declares Jelly's three choices (Allowed, Ask before changes, Read only) with Jelly's own words; all stays the default. test/support/jelly-settings.ts restates Jelly's setting rules (PluginSettingSchema, settingValueIssue) without a schema library, and the jelly test checks the declaration against it, and that the options parser takes every declared value and refuses one outside them. docs/jelly.md describes the setting, which it said was absent.
  2. chore(release): prepare v0.0.2 — version, lockfile, CHANGELOG released as 0.0.2 (2026-11-13), install specs at #v0.0.2, the upgrade example removing #v0.0.1, and a Known limits line.

Needs a Jelly that includes app#1301: an older Jelly refuses a declaration with choices. requires names declaration fields, not a Jelly version, so it is not set.

npm run check passes locally.

The access setting declares Jelly's three choices (Allowed, Ask before changes, Read only) with Jelly's own words, keeping all as the default. A vendored copy of Jelly's setting rules checks the declaration, and the jelly test checks that the options parser takes every declared value and refuses one outside them. docs/jelly.md describes the setting, which it said was absent.
Version 0.0.2 in package.json and the lockfile, the CHANGELOG's Unreleased section released as 0.0.2, and every install spec at #v0.0.2; the upgrade example removes #v0.0.1. Known limits say the access choices need a Jelly that reads them.
test/support/jelly-settings.ts is now the family's one copy of Jelly's PluginSettingSchema, settingValueIssue and the declaration's list rules, dependency-free, checked against Jelly's zod schema by a differential check, and pinned by hash in scripts/check-copies.mjs.
@joe-broadhead

Copy link
Copy Markdown
Owner Author

Added one commit: test/support/jelly-settings.ts is now the family's one copy of Jelly's setting rules (PluginSettingSchema, settingValueIssue, and the declaration's list rules: 32 settings at most, unique keys, visibleWhen targets). It needs no zod, agrees with Jelly's zod schema (app 6af624591, zod 4.6.7) on all 2922 cases of a differential check, and is pinned by hash in scripts/check-copies.mjs. The tests now import it from there. npm run check passes locally.

@joe-broadhead
joe-broadhead merged commit e3fa3e7 into master Nov 13, 2026
5 checks passed
@joe-broadhead
joe-broadhead deleted the feat/settings-choices branch November 13, 2026 16: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