LBL-2: Label sync reads from label_catalog #755
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#755
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
As a platform engineer, I want
infrastructure/forge/labels.ts::ensureRepoLabelsto read throughgetLabelCatalogForRepo(repo)instead oflabels.json, so that operator label edits land at the next ensure-labels pass without a restart and without editing the file.Acceptance criteria
Loader
labels.jsonreads outsidebuiltin-sync.ts.ensureRepoLabels(repo)resolves through the catalog resolver.Behaviour
scope='repo'colour override forarea:dashboardlands on the next ensure-labels run without a restart.scope='global'rename of a label name propagates across every repo on the next pass.Tests
scope='repo', assert the next ensure-labels call updates Forgejo.Out of scope
References
specs/config-to-db.md§ Story LBL-2.