Seed standard label set on new repos (story:*, arch:*, type:*) #311
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform#311
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?
Type
Chore
Lineage
Discovered scope from Wave 2A of westside-admin bootstrap (2026-04-26). Dev agent on PR #10 (Dockerfile) tried to apply
story:admin-row-crudandarch:harborlabels but the westside-admin repo has no labels defined at all. Same gap likely exists for any newly-created Forgejo repo. Worth a one-time bootstrap ticket so the next new-repo arc doesn't hit the same friction.Repo
forgejo_admin/pal-e-platform (or wherever the repo-init scripts live — verify)
What Broke
When a brand-new Forgejo repo is created via the platform's onboarding flow, no labels are pre-defined. Dev agents writing PRs that reference
story:*andarch:*labels perfeedback_traceability_trianglefind the labels don't exist, so labels can't be applied (or worse, agents try to create labels ad-hoc with inconsistent naming).Repro Steps
story:admin-row-crudlabel to a PR viamcp__forgejo__set_labelor via the UIarch:harbor,type:bug, etc.Expected Behavior
Newly-created repos have the standard pal-e label set seeded at creation:
type:bug,type:feature,type:chore,type:infra,type:spikestory:*(the active story labels)arch:*(the canonical arch IDs perconvention-architecture-ids)status:approved,status:needs-changes, etc. (whatever the existing repos use)Environment
pal-e-services(per Service Onboarding SOP) OR via manual UI /mcp__forgejo__create_repoUser Story
story:platform-stability — As a dev agent dispatched against a new repo's first ticket, I need the standard label set already present so I can apply traceability labels per
feedback_traceability_trianglewithout filing yet another bootstrap ticket.Context
Two implementation paths:
forgejo_labelresource per label,for_eachover the standard set, applied to every repo in the services map. Cleanest, version-controlled.mcp__forgejo__create_repo(or as part of an extendedservice-onboarding-sop).Prefer (1) — single source of truth, applies to existing repos retroactively, matches platform IaC philosophy.
File Targets
pal-e-services/terraform/services.tf(or a newterraform/labels.tf) —forgejo_labelresources or a module wrapping themservice-onboarding-sopto remove any "manually create labels" step if presentAcceptance Criteria
mcp__forgejo__set_labelagainst a new repo's first PR without errorsconvention-architecture-ids,feedback_traceability_triangle)Test Expectations
Constraints
lifecycle.ignore_changesfor label color if operators have customized colors)Checklist
convention-architecture-idsor newconvention-labels)Closes #THISRelated
feedback_traceability_triangle,feedback_discovered_scope_always_tracked