Design spike: issue-triggered project AI wakeup + tmux session convention #28
Labels
No Label
P0
P1
P2
P3
afk-ready
hitl
next
ready-for-agent
review
semi
waiting
wayfinder:grilling
wayfinder:map
wayfinder:research
wayfinder:task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jared/cc-os#28
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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).