fix(config): regenerate schema with distinct suggested_value for noun/verb#46
fix(config): regenerate schema with distinct suggested_value for noun/verb#46c1-squire-dev[bot] wants to merge 1 commit into
Conversation
…/verb Bumps baton-sdk to the build that emits WithSuggestedValue into a separate suggested_value schema field instead of folding it into default_value. noun/verb now export suggestedValue (GUI pre-population) with an empty defaultValue, so c1 no longer injects the narrow set into deployed connectors' resolved config -- they fall back to the full runtime default noun/verb set. Fixes the "fewer resources synced" regression. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Connector PR Review: fix(config): regenerate schema with distinct suggested_value for noun/verbBlocking Issues: 0 | Suggestions: 1 | Threads Resolved: 0 Review SummaryScanned the full PR diff for security and correctness. The change is a config-schema regeneration: Security IssuesNone found. Correctness IssuesNone found. Suggestions
Prompt for AI agents |
What
Regenerates the committed connector config schema (
config_schema.json) after bumpingbaton-sdkto the build that emitsWithSuggestedValueinto a distinctsuggested_valueschema field instead of folding it intodefault_value.The
nounandverbconfig fields now exportsuggestedValue(noun:["space"]; verb: the 6-verb setadminister,create,delete,export,read,restrict_content) with an emptydefaultValue.No connector source changed —
pkg/config/config.goalready usesWithSuggestedValue. Only the SDK dependency bump + schema regeneration.Why (the regression)
Previously the SDK folded
WithSuggestedValueintodefault_valuein the exported schema. Because c1 injects a field'sdefault_valueinto a deployed connector's resolved config, the narrow suggested set (noun=["space"], the 6 verbs) was being baked in as the effective runtime config — so deployed connectors synced fewer resources than the connector's own full runtime defaults intended.With the fix,
suggestedValueis purely for GUI pre-population and is no longer injected into resolved config. Deployed connectors fall back to the full runtime default noun/verb set, restoring the expected resource coverage.Diff shape
config_schema.json: only the noun/verbdefaultValue→suggestedValueflips (values unchanged).baton_capabilities.json: unchanged.go.mod/go.sum/vendor/:baton-sdkbump tov0.20.2-0.20260723131150-d8580bf69231.Dependency note
This depends on baton-sdk PR #1034 (the
WithSuggestedValue→ separatesuggested_valuefield change). Thego.modcurrently pins a pseudo-version off that PR's commit (d8580bf); once #1034 merges and a release is cut, the pin should move to the released SDK tag.🤖 Generated with Claude Code