feat(aterm): complete role slugs and seats from the live roster #1243
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
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/devrel
role/eval
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/sysadmin
role/tpm
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1243
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/vk48-completion"
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?
Closes #1241.
atermrefused a role that left the roster but could not offer the live ones,so the seven current slugs stayed invisible until the command ran.
Seats are scoped to the role, so
gooseappears forsysadminand nowhereelse, and a catalogue seat with no native harness (
penpot) never completesinto a candidate the launcher would then refuse. Past the seat it is silent,
and flags still fall through to the framework.
The two open questions in the issue
Caching. Measured rather than assumed: the roster read is under 10ms, so
there is no cache and nothing to go stale.
Failure. Completion runs on a keystroke, so it never prints. A missing,
off-PATH, or broken
agent-composeyields silence. I verified all threeexplicitly, and caught one bad test of my own along the way: an
AGENT_COMPOSE_BINoverride is not applied during completion, so my firstattempt was silently exercising the real binary and proving nothing.
Verification
shell/common.shregisters both shells throughaterm completion <shell>,after
compinitin zsh because the generated script usescompdef.I drove an interactive zsh over
zptyand sent a real TAB rather than readingthe script and assuming. Role listing, seat listing, and partial-word
completion (
aterm plat<TAB>->aterm platform) all resolve. bashregistration is confirmed via
complete -p; bash-completion is not installedon this host, and the upstream script requires it, so the bash tab loop itself
is unverified here.
61 Go tests, 76.3% coverage, 717 pytest tests, full pre-commit suite.
🤖 Generated with Claude Code