ADR proposal: Comment-driven agent orchestration / Agent Wake Bus #134
Labels
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform#134
Loading…
Add table
Add a link
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?
ADR proposal: Comment-driven agent orchestration / Agent Wake Bus
Status
Proposed
Context
Piotr is exploring a delivery architecture where multiple long-lived coding-agent threads coordinate through project-management artifacts instead of only through chat memory or ad-hoc terminal sessions.
Current mental model:
The desired behavior:
Piotr writes in upstream Kan, e.g.:
Iskra performs a real delivery sweep:
Iskra may then route work:
Agent threads may also wake each other through structured Forgejo issue comments, e.g.:
A dispatcher listens to issue/comment events, validates them, and wakes the right persistent session/thread.
This is close to public patterns such as
@claudeissue/PR triggers and GitHub Agent HQ, but the proposed architecture is more explicit about:Decision to consider
Adopt a first-class architectural pattern for delivery coordination:
Forgejo/Kan comments and labels become controlled, auditable wake signals for long-lived coding-agent sessions.
Proposed architecture
Core objects
Kan card
Forgejo issue
Dispatcher
Persistent agent sessions
Iskra supervisor
@iskraqueries,Event examples
Codex handoff to orchestrator
Dispatcher wakes Claude Code Opus orchestrator.
Orchestrator asks Codex to fix missing evidence
Dispatcher wakes Codex thread.
Piotr asks for delivery status from Kan
Iskra maps Kan card -> linked Forgejo issue(s), scans state, and answers Piotr. Iskra may also nudge agents if stage/evidence is stale.
Labels / gates
Candidate labels:
agent:pending-reviewagent:needs-approvalagent:blockedagent:ready-to-mergeagent:codex-workingagent:opus-reviewingagent:scout-neededrisk:highsource:iskrasource:swarmheartgate:human-approvalgate:yubikey-requiredSafety rules
Non-goals
Near-term implementation sketch
/swarmheart checkpoint ready/swarmheart request-review/swarmheart request-changes/swarmheart blocked/swarmheart needs-human@iskra co tam się dzieje?sweep from Kan:Open questions
platformvsiskra-openclawvs Swarmheart?Acceptance criteria for ADR completion
This ADR proposal is ready for acceptance/rejection when we have:
@iskra co tam się dzieje?in Kan,Related issues
platform#132— YubiKey-backed operator consent for bounded agent execution.platform#133— Forji iOS Forgejo PAT auth and upstream PR exploration.iskra-openclaw#100— Swarmheart / Kan / Forgejo-style coordination kernel context.Small but important anti-pattern discovered live in Signal:
Anti-pattern: Surprise Pikachu ACK Bus
Do not build a sophisticated Agent Wake Bus if the human-facing frontend responds to state changes with standalone low-information ACKs like:
This creates the same failure mode at the social/operator layer that the architecture is trying to remove at the agent layer: noisy wake signals without useful state, evidence, or next action.
Preferred behavior:
Widzęas a Signal text message.Mascot: surprised Pikachu ACK daemon.
M10 disposition: moved to
10 - Improvements.What this is: Comment-driven Agent Wake Bus ADR proposal.
Why parked here: This overlaps with #565 and belongs to future orchestration design, not current closeout.
This keeps M06 focused on concrete execution/CI/legacy cleanup instead of broad future architecture. Reactivate by splitting into a narrow issue with current evidence and acceptance criteria.
Parked (p3, M10 closure plan #653 + Judging Claw priority). Reactivate when comment-driven agent orchestration (Wake Bus) is needed — design is ADR-ready.
{
"confidence": 5,
"effort_hint": "large",
"escalation": {
"kind": "none",
"reason": ""
},
"evidence_refs": [
{
"note": "Issue proposes an ADR for comment-driven agent orchestration and an Agent Wake Bus.",
"type": "forgejo",
"value": "issue-title-body-labels-and-target-snapshot"
},
{
"note": "Body frames coordination through Kan, Forgejo issues, coding agents, review agents, Iskra, and companion hosts.",
"type": "forgejo",
"value": "issue-body-context"
},
{
"note": "Snapshot labels mark the target as priority p3 and parked.",
"type": "snapshot",
"value": "target-snapshot-labels"
}
],
"impact": 3,
"judge_actor": {
"name": "iskra",
"runtime": "openclaw"
},
"judged_at": "2026-06-09T01:01:00Z",
"labels_to_apply": [
"judge/p3"
],
"piotr_fit": "medium",
"priority": "p3",
"rationale_summary": "This is P3 parked architecture work because comment-driven orchestration is directionally relevant but still an ADR-level coordination idea, not an immediate implementation lane.",
"reach": 4,
"recommended_next_action": "observe",
"rerun_reason": "no_prior_judgment",
"schema": "openclaw.judge.v0",
"target": {
"kind": "issue",
"number": 134,
"repo": "pdurlej/platform"
},
"target_snapshot": {
"body_hash": "sha256:7b04e67bb91c78d30a65dd3f78e25831738424f5cb68efc611b27bea1c8e5ebd",
"commit_count": null,
"evidence_hash": "sha256:eb08e35cac5cf065d8c72522f1da9853895e596fcad7a1d43e7765a570e62ae6",
"head_sha": null,
"labels": [
"agent/claude-code",
"priority:p3",
"status:parked"
],
"labels_hash": "sha256:9e8ed9cb7b1b30f4dcf389e2b3d1f8e66c19eb940504926be5872a601be5b3ab",
"state": "open",
"title_hash": "sha256:f49e12a72b9156fdc875bed7dc0d60be70c9fdd00df47e8c4a23d5d50512b9a1",
"updated_at": "2026-06-01T11:18:29+02:00"
},
"top_caveat": "Keep it parked until simpler agent handoff and approval primitives prove stable in production-like use."
}