Skip to content

feat(config_schema): govern actors, a choice of free or declared - #1

Merged
adammharris merged 1 commit into
mainfrom
claude/project-thread-nnmbqu
Oct 7, 2026
Merged

adammharris merged 1 commit into
mainfrom
claude/project-thread-nnmbqu

Conversation

@adammharris

@adammharris adammharris commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Before: prov now writes an actors: key (free or declared, from prov #9), but provui's config schema did not govern it. A settings editor showed it as free text, and diaryx's every_key_prov_writes_is_governed test fails as soon as diaryx takes current prov.

After: actors is a picker with two options. "However they are written" is free, and "By a link to their page" is declared. It sits next to confirmations.

How: one choice rule in crates/provui-core/src/config_schema.rs, a test that the rule offers exactly those two values, and a prov bump in Cargo.lock to the commit that reads the key. fmt, clippy and the workspace tests pass locally.

This unblocks diaryx #121, which bumps prov and will bump provui once this merges.

🤖 Generated with Claude Code

prov writes `actors` since it learned declared people, and a config schema
that does not govern a key prov writes leaves it as free text. Takes the prov
that reads it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@adammharris
adammharris merged commit 7087dc4 into main Oct 7, 2026
7 checks passed
@adammharris
adammharris deleted the claude/project-thread-nnmbqu branch October 7, 2026 19:34
adammharris added a commit that referenced this pull request Oct 7, 2026
feat(config_schema): govern `actors`, a choice of free or declared
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