You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sergio velderrain edited this page Nov 9, 2026
·
1 revision
REQ-040: Optional companion-label creation/update is idempotent and reports failure
Requirement
When -Label is nonblank, Enable-RepoIssueTracking.ps1 shall idempotently create or update the one specified companion label as its only other disclosed repository mutation.
Rationale
Keeps the optional label-seeding side effect explicit and repeatable without masking errors. This splits the second obligation out of REQ-004 and records the existing blank-label opt-out.
Fit Criterion
A nonblank -Label (default needs-human-decision) causes one gh label create call with --force; a non-zero exit is surfaced as a failure. An empty or whitespace-only -Label skips label creation.
Verification
TEST-040: code review of Enable-RepoIssueTracking.ps1; no new live run or automated regression test was performed for this split.