GeezerVison is showing github.com — Pilot: OpenClaw comment loop — status request, session report, instruction obedience on one issue · Issue #1190 · developing-today/code
Pilot: OpenClaw comment loop — status request, session report, instruction obedience on one issue #1190DescriptionPilot — OpenClaw integration, information gathering
The long-term design (OpenChamber dispatch + babysitter design,
2026-10-26) ends at babysitting-by-comment for OpenClaw: the monitor
posts a routine status-request comment on the issue; OpenClaw sees it,
answers with its session report in the thread, and acts on
instructions left there — GitHub as the bus, no API polling of the
gateway. This pilot proves or kills that loop on ONE issue before
anything is built on it.
Run
- One real but low-risk task owned by an OpenClaw session (the gateway
install landed via PR feat(home): install OpenClaw gateway via nix-openclaw #1025, 2026-10-26).
- The monitor (a human-driven pass by Muse is fine for the pilot)
posts a status-request comment in the agreed format.
- Measure: does OpenClaw notice, how fast, and does its reply contain
the fields the babysitter needs (progress verdict, pool/route used,
quota left, blockers)?
- Then post an instruction comment (checkpoint, then continue; or hand
back) and record whether it is obeyed precisely.
- Cost the loop: tokens/messages per check-in round vs an API-driven
babysitter round over the same session.
Acceptance criteria
- A written pilot report: loop latency, reply completeness against
the babysitter's field list, instruction obedience, cost per
round, failure modes seen.
- A go / no-go recommendation for mirror mode (babysitter posts
verdicts as comments for OpenClaw locations), with the comment
format pinned if go.
- Any OpenClaw-side setup the loop needs is listed as concrete
follow-up work, not left as folklore.
Filed by Muse (operator) 2026-10-26 at Drew's direction. Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 31, 2026 dezren39 commented on Nov 14, 2026 pilot-loop:v1
TYPE: STATUS-REQUEST
ROUND: R1
FROM: monitor (lane code-d, task 15863)
ASK: reply with a SESSION-REPORT for ROUND R1 carrying progress_verdict, pool_route, quota_left, blockers. dezren39 commented on Nov 14, 2026 pilot-loop:v1
TYPE: SESSION-REPORT
REPLY: R1
progress_verdict: OpenClaw main session is idle besides serving this scheduled pilot-1190-comment-loop watcher turn; random task activity is none, and the watcher is polling issue #1190 every 2 minutes for unanswered pilot-loop:v1 rounds.
pool_route: opencode-route/workhorse (default and active route for this session)
quota_left: unknown
blockers: none for this turn; noted on arrival that the OpenClaw gateway service had been down earlier and was restarted by lane code-d, and this watcher now runs fine. dezren39 commented on Nov 14, 2026 pilot-loop:v1
TYPE: INSTRUCTION
ROUND: R2
ACTION: checkpoint-then-continue
FROM: monitor (lane code-d, task 15863)
DETAIL: post your CHECKPOINT reply for R2, then continue the pilot watcher loop and post your CONTINUED reply for R2. dezren39 commented on Nov 14, 2026 pilot-loop:v1
TYPE: CHECKPOINT
REPLY: R2
FROM: openclaw-watcher (pilot-1190-comment-loop)
STATE: pilot watcher loop running; R1 SESSION-REPORT posted and this is round R2 (checkpoint-then-continue). dezren39 commented on Nov 14, 2026 pilot-loop:v1
TYPE: CONTINUED
REPLY: R2
FROM: openclaw-watcher (pilot-1190-comment-loop)
STATE: checkpoint for R2 posted; watcher loop continuing on its 2-minute schedule, polling issue #1190 for the next unanswered pilot-loop:v1 round. dezren39 commented on Nov 14, 2026 agent-note:v1
state: done
task: 15863
lane: code-d
worker: repo-worker-code
at: 2026-11-14T06:58:00Z
Pilot report — OpenClaw comment loop on issue #1190
The loop ran end to end on 2026-11-14. Setup: OpenClaw cron watcher pilot-1190-comment-loop (isolated session, light context, every 2m) polling this issue for pilot-loop:v1 comments; pinned format as posted in the setup note (comment 6873242489). Watcher removed at teardown (its job is done; production form is follow-up issue #9818 / task 16505).
Rounds
- R1 STATUS-REQUEST posted 06:39:38Z (comment 6873253583). First watcher turn (06:41:22Z) TIMED OUT at 150s in phase model-call-started (opencode-route/workhorse cold start). Watcher recreated with a 600s timeout; the answering turn ran 06:46:25Z and the SESSION-REPORT landed 06:47:15Z (comment 6873337871). End-to-end latency 7m37s including the failure and recovery; the answering turn itself took ~50s, so steady-state latency is the 2m poll interval plus ~1m of turn time.
- R2 INSTRUCTION (ACTION: checkpoint-then-continue) posted 06:50:36Z (comment 6873375886). CHECKPOINT reply 06:50:51Z (+15s), CONTINUED reply 06:50:53Z (+17s). Obedience: exact — both replies, in order, no extra actions; the issue was never edited, closed, or labeled by the watcher in any round.
Completeness (SESSION-REPORT vs babysitter fields)
progress_verdict: present and substantive. pool_route: present (opencode-route/workhorse). blockers: present. quota_left: present as a field but value unknown — the session has no quota source. Score: 4/4 fields, 3/4 substantive.
Cost per round (OpenClaw cron run usage, total tokens incl. cache reads)
- Answering turns: R1 125,083 tokens (57.8s); R2 67,230 tokens (33.2s).
- Idle polls (no unanswered round): 80,703 / 68,182 / 39,454 tokens each, output NO_REPLY.
- An API-driven babysitter round is two HTTP reads at ~0 tokens. At a 2m cadence the naive watcher burns roughly 1.2-2.4M tokens/hour doing nothing — that kills the naive design, not the loop.
Failure modes seen
- Gateway down on arrival: openclaw-gateway.service inactive, port 18789 refusing (the packet evidence from 2026-11-13 no longer held). Started manually by this lane; still active at teardown. is-enabled reads linked, so enablement alone did not keep it up.
- Cold-route turn timeout at 150s (model-call-started); 600s timeout fixed it.
- Cron CLI needs OPENCLAW_GATEWAY_TOKEN in the caller environment; from a bare shell every cron verb fails until the token is sourced from the gateway service environment.
- quota_left has no source (above).
Recommendation
GO for mirror mode on the pinned pilot-loop:v1 format — noticing, completeness, and obedience are proven. NO-GO for the naive every-2-minute LLM poll as the production watcher. The conditional path is filed as issue #9818 with follow-on task 16505: shell command-payload pre-filter (agent turn only on a new round, ~0 idle tokens), gateway resilience, a wired quota source for quota_left, and a >=600s turn timeout.
Acceptance for #1190 is met by this report; closing the issue. The gateway service is left running.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|