fix(agent): read the scoped autonomy labels, restoring the live-collab guard #1667
No reviewers
Labels
No labels
burndown-2026-06
pressure-test
sunday-sprint
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/ward!1667
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/bk79-autonomy-label-scope"
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?
Refs
coilyco-flight-deck/umbra#292, which is filed on umbra but the gate is here.The risk is the opposite of what the report says
The report predicts everything fails closed and nothing dispatches. Reading the tree, that is not what happens:
issueModeCeilinghas no production callers. Only a test calls it. The fail-closed ceiling is dead code, so no queue goes quiet.agent.go:1102and:1164refuse an engineer dispatch when the issue carriesinteractive. After the rename that never matches, so an issue marked as needing a human present dispatched to an autonomous engineer with no refusal.A guard that quietly stopped guarding, rather than a queue that quietly emptied. umbra#292 itself carries
autonomy/live-collab, so it was in exactly that state.The fix
autonomyNamereduces a label to its ceiling name:A prefix strip alone is not enough -
live-collabandasync-consultare new words, not rescoped old ones - so an alias map carries them. Bare old names still resolve, so nothing that worked stops.Tests
Three, and they fail without the fix with the defect stated in the message:
The third pins that
priority/*,role/*andautonomy/epicare not autonomy ceilings, so the scope prefix cannot swallow a neighbouring axis.Deliberately not decided
live-collabshould gate differently from theinteractiveit replaced. The report is right that they are not synonyms. This restores the pre-rename behaviour exactly rather than folding a semantic change into a string fix.autonomy/epicshould mean at the gate. It resolves to no ceiling, which is the status quo, not an answer.Both are decisions on umbra#292.
Verification
go build ./...andgo vet ./cmd/...clean; the ceiling and dispatch tests pass.go test ./cmd/ward/does not finish - it hangs and is killed at a 400s timeout. That is pre-existing: I ran the identical command on a clean tree and it fails the same way, same duration, with a goroutine dump throughlumberjackandos/exec. Not caused by this change, and worth its own issue - a package suite that cannot complete locally means the commit gate is effectively unrunnable here.