feat(setup): wizard seeds label_catalog + service_config at scope='global' #945
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/938"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exports
LABEL_PRESETSfromdefaults.tsand updatesseedPresetto unconditionally seed oneservice_configrow fromSERVICE_CONFIG_DEFAULTS(withjanitor_jsonpopulated) and onelabel_catalogrow perLABEL_PRESETSentry — both idempotent. The blank preset now also seeds labels and service_config. All writes carry aconfig_revisionaudit row.Test plan
presets.test.tspass (3 new describe blocks for AC coverage)labelsInserted = LABEL_PRESETS.length,serviceConfigInserted = trueserviceConfigSkipped = true, no extra revision rowsgetServiceConfig()returnsjanitor = JANITOR_CONFIG_DEFAULTSafter wizardCloses #938
All AC met:
insertServiceConfigIfAbsentunconditionally seeds fromSERVICE_CONFIG_DEFAULTS(idempotent),LABEL_PRESETSreplaces per-preset label lists,config_revisionrows written for both. 22 tests cover fresh-DB, idempotency, and smoke-test paths. CI green.