Design spike: issue-triggered project AI wakeup + tmux session convention #28
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#28
Loading…
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?
What to build
Design-spike / HITL. The automation stage beyond cross-project filing (#27): when an issue is filed with a project, that project's AI is awakened to triage or act on it.
Questions the spike must answer (outcome is an ADR + a thin pilot, not a full build):
tea). Polling is likely the simpler, host-agnostic first cut; webhooks need a listener endpoint.claude -p/ Agent SDK) vs a tmux session the human can attach to, inspect, and take over. Related: establish a general tmux session convention (naming scheme per project, lifecycle, when an AI-run session is created/kept/killed, how a human discovers running sessions) — this convention is useful beyond issue-wakeup and should be its own ADR section or ADR.Acceptance criteria
Blocked by
Discoverer: jared/cc-os session 5b0af6f9-ee11-4f48-b497-f971a7c7c298, 2026-07-13.
Spike complete in
43932d4, both ADRs Accepted at the human gate (2026-07-13): ADR-0035 (wakeup via polling — opt-in wakeup=true in .cc-os/config, per-repo last-seen state, afk-ready→act / semi→triage-only / else pull-only notify, explicit non-goals recorded) and ADR-0036 (tmux convention cc--[-], kill-after-clean-completion, keep-on-error/hitl). Thin pilot bin/wakeup-poll demonstrated: real-index dry run correctly skipped cc-os (planka: tracker), synthetic forgejo project correctly detected issue #28 as new and classified it notify-only. No cron installed. Follow-up recorded: single designated poller machine; cadence + config-write wakeup key deferred to first opt-in project. Closing — acceptance criteria met (ADRs approved, pilot demonstrated, non-goals recorded).