Skip to content

feat(goal-driver): completion contracts, wait barriers, and an optional completion judge - #103586

Closed
100yenadmin wants to merge 61 commits into
openclaw:mainfrom
100yenadmin:feat/goal-driver-hermes-upgrades
Closed

100yenadmin wants to merge 61 commits into
openclaw:mainfrom
100yenadmin:feat/goal-driver-hermes-upgrades

Conversation

@100yenadmin

@100yenadmin 100yenadmin commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

feat(goal-driver): completion contracts, wait barriers, and an optional completion judge

Stacked on #102261 (feat/interactive-parity) — only the last 3 commits are new here
(82879720c8, 21792a1a3f, 67c5600a13). Merge the parity PR first; this one then reduces to
a small, purely-additive goal-driver series.

What

Three opt-in upgrades to the experimental goal driver that make long goal runs converge
instead of firing continuations until the no-progress ceiling trips.

1. Completion contracts (82879720c8)

SessionGoal gains an optional structured contract — outcome / verification / constraints[] / boundaries[] / stopWhen — settable at goal-create time or later via the new set_goal_contract
tool. The driver folds the contract block into every continuation prompt, so each nudge restates
what "done" means and which constraints bound the work, instead of re-sending a bare objective.

  • Absent or all-empty contracts are dropped on normalize → a free-form goal's prompt is
    byte-for-byte unchanged.
  • Also fixes a pre-existing broken completeQueuedChatTurn(2-arg) call in
    driver.integration-probe.test.ts that left tsgo:test red on the base branch.

2. Wait barriers — gate g5 (21792a1a3f)

Goals can now park instead of burning continuation turns on async waits. SessionGoal gains an
optional barrier (waitingUntil epoch or waitingOnSessionKey), surfaced via the new
set_goal_wait tool (seconds backoff | session_key watch). New driver gate g5:

  • While a barrier is set and unsatisfied → re-arm at the floor, do not fire, and do not
    consume a no-progress turn from the ceiling.
  • A satisfied barrier (deadline passed / watched session's run ended) clears itself; the next wake
    resumes normal gating. Barriers auto-drop on any goal status change.

This is the "waiting on CI / waiting on a subagent" primitive: the goal stays alive without the
driver nudging a session that has nothing to do yet.

3. Optional LLM completion judge (67c5600a13)

Config-gated via tools.experimental.goalDriver.judge.enabled (default: off). After a goal turn
completes and gates g1–g5 pass — and before a continuation fires — a bounded judge call classifies
the run: done → mark the goal complete (no continuation), wait → park behind the g5
barrier, continue → fire exactly as before.

  • No new provider plumbing. The judge reuses the existing simple-completion utility-model seam
    (prepareSimpleCompletionModelForAgent + completeWithPreparedSimpleCompletionModel) — the same
    seam conversation-label-generator uses. judge.modelRef overrides the model if desired.
  • Fail-open by construction. Unavailable model, transport error, empty/unparseable output, or a
    thrown judge all resolve to a normal continuation — a broken judge can never wedge progress; the
    no-progress ceiling remains the backstop.
  • No async-gap races. The judge await re-checks the pre-fire gates before firing
    (queue-nonempty → re-arm; goal deactivated mid-judge → safe no-op), so a user message landing
    during judge deliberation behaves exactly like the sync path.

What Problem This Solves

Today the goal driver fires continuations blindly until the no-progress ceiling trips: a goal whose
work is actually finished keeps getting nudged, a goal waiting on CI or a subagent burns its
continuation budget on "still waiting" turns, and each nudge re-sends a bare objective with no
definition of done. With contracts + barriers + judge enabled, a goal run converges instead: every
continuation restates the verification surface (contract) → async waits park instead of spinning
(barrier) → the driver notices verifiable completion instead of nudging a finished session until the
ceiling trips (judge). Each piece is independently useful and independently off by default.

Behavior when you change nothing

None. No contract → identical prompts. No barrier → g5 passes trivially. No judge config → the
driver fires continuations exactly as on main. All config additions are .strict() zod objects with
help + labels wired.

Example

// openclaw.jsonc
{
  "tools": {
    "experimental": {
      "goalDriver": {
        "enabled": true,
        "judge": { "enabled": true } // optional; uses the agent's utility model
      }
    }
  }
}
agent → set_goal_contract { outcome: "PR #42 merged", verification: "gh pr view 42 → MERGED",
                            stopWhen: "CI green and merged" }
agent → set_goal_wait     { seconds: 300 }        // parked: waiting on CI
driver: [g5] barrier unsatisfied → re-arm (no ceiling turn consumed)
driver: barrier cleared → gates pass → judge → { verdict: "done", reason: "PR is merged" }
driver: goal marked complete — no further continuations

Evidence

  • 40 passing in the focused goal-driver suite (node scripts/test-projects.mjs src/agents/goal-driver/) plus 27 in src/config/sessions/goals.test.ts, including new
    suites: contract prompt folding, g5 barrier gating (fire/park/clear/auto-drop), judge branching
    (done/continue/wait), judge fail-open (undefined/throw), mid-judge race regressions
    (queue-flip / run-flip / goal-deactivated), and the atomic requireActiveStatus store guard.
    The race regressions were proven fail-without/pass-with: the pre-fix judge path fired/mutated
    unconditionally after the await.
  • pnpm tsgo:prod and pnpm tsgo:test clean (test-side was red on the base branch before commit 1;
    commit 1 fixes the broken completeQueuedChatTurn call in driver.integration-probe.test.ts).

100yenadmin and others added 30 commits July 8, 2026 12:01
Mirrors ExecApprovalManager: synchronous register, async promise parks the
asking tool, resolve/expire/list, emitter hooks for gateway broadcast+delivery.
No default timeout (a human may be asleep); explicit expiresAtMs honored.
Structured question (1-3 items, 2-4 options, Recommended-first, auto 'Other'),
hard input validation rejecting unknown fields, registers with the global
QuestionManager and parks on its promise until any surface answers. Registered
unconditionally in the core tool directory (human-in-the-loop, read-only).
…s (U3)

- QuestionResolveParams/QuestionListParams protocol schemas + validators
- question.list (visibility-filtered) and question.resolve gateway handlers
- question.pending/resolved/expired events; manager emitter bound to the
  persistent gateway broadcast at startup so the tool's lifecycle reaches
  Control UI and channels from outside any request context
- wire-contract integration test asserting the exact {id,answers:{[id]:{text}}}
  param shape crosses the client<->gateway seam; drifted param names FAIL
- rename __resetGlobalQuestionManagerForTest -> resetGlobalQuestionManagerForTest
  (no-underscore-dangle); drop unused protocol re-exports; unknown->GatewayClient
  double-cast + remove redundant String() in the wire-contract test.
…estions (U5)

Kills the hang-trap: /answer <n|text> resolves the session's pending
ask_user_question via the process-global QuestionManager, reusing the shared
harness answer parser (numbered select, free-text Other, multi-part
'header: answer' lines). Authorized-sender gated; looks up live registrations
(no stale session read). Adds the remote-agent scoping caveat comment at the
tool registration site (coordinator-approved).
…sweep (U2)

Completes U2: a core-owned SessionEntry.pendingQuestion slot (goal-slot
precedent, one-line reserved-slot addition) written when ask_user_question
registers and cleared when it resolves/expires. On gateway startup a sweep
emits question.expired for orphaned breadcrumbs (whose in-memory record died
with the previous process) so no Control UI card or channel prompt silently
hangs after a restart. Best-effort store writes; back-compat safe (additive
optional field). Tests: record/clear, id-guarded clear, pure collect, restart
sweep emits+clears, no-op for sessions that never asked.
Telegram: buildQuestionInlineKeyboard -> inline keyboard; each option is a
native-command callback running /answer <n> (existing tgcmd: routing), plus a
free-text Other button. Slack: buildQuestionAnswerBlocks builds a portable
InteractiveReply (callback-value buttons, since Slack gates command-type buttons
to exec-approval commands) rendered via the existing buildSlackInteractiveBlocks.
Both route clicks to the shared /answer handler. Single-question prompts only;
multi-part uses the numbered /answer text fallback. Tests assert exact payload
shapes on both channels.

Note: the question.pending -> deliver-to-channel forwarder wiring (subscribe +
send the rendered buttons to the turn-source chat) remains follow-up; /answer
already answers on these channels as text today.
- app/question-card.ts: parse question.pending/list/resolved payloads + queue store
- components/question-card.ts: Lit card modelled on exec-approval — numbered
  options with a Recommended badge on the first, per-question groups, free-text
  Other input, submit -> question.resolve
- overlays.ts: subscribe question.pending/resolved/expired, refresh via
  question.list on connect, submitQuestionAnswers over the gateway
- app-host.ts: mount <openclaw-question-card> beside the exec-approval prompt
- i18n: question.* keys in en.ts, propagated to all locales (ui:i18n:sync)

Gates: ui:i18n:check, ui:build, ui vitest (store 5 + overlays 3 + exec 25),
full pnpm lint — all green.
…(U6)

- harness/question-bridge.ts: registerAgentHarnessQuestion adapter registers
  harness questions with the global QuestionManager and returns a wait promise
  (harness-shaped answers) + cancel() to dismiss the pending question.
- plugin-sdk/agent-harness-runtime: export the adapter + manager accessor/reset.
- codex user-input-bridge: on requestUserInput, ALSO register with the manager
  so it renders as a Control UI card / channel buttons; whichever resolves first
  — a structured question.resolve OR the legacy next-free-text reply — wins, and
  resolvePending cancels (expires) the other. Abort also dismisses the question.
- race test: structured-wins, free-text-wins (expires the card), abort-dismisses.
…ttons (U5c)

- infra/question-forwarder.ts: on question.pending, resolve the record's
  turn-source target and push a ReplyPayload (question text + option buttons) via
  the durable outbound path (sendDurableMessageBatch) — reusing the exec-approval
  delivery route, not a new one. Per-channel button contract matching the
  standalone renderers: Telegram command-action (/answer <n> native-command
  callback), Slack callback-action (Slack gates command buttons to approvals).
  Deduped by record id (pushed once; not re-pushed on reconnect/replay), cleared
  on resolve/expiry.
- question.ts bindQuestionManagerEmitter composes the forwarder sink alongside
  the broadcast emitter; server.impl wires it at startup.
- Codex questions register without turnSourceChannel, so the forwarder no-ops for
  them (no double delivery) — the codex bridge delivers its own prompt.

Tests: telegram push payload, slack push payload, no-turn-source no-op, dedupe.
Gates: core+core-test tsgo 0, full pnpm lint 0, touched suites green.
…ls (U1)

Core-owned plan-state slot on the session entry (goal-slot precedent):
inactive|planning|pending_approval, with a plan-state module mirroring goals.ts.
enter_plan_mode flips to planning; exit_plan_mode persists the plan doc under
~/.openclaw/agents/<id>/plans/, requests approval through PR-A's QuestionManager
(2-option approve/keep-planning + auto-Other feedback), and returns approved/revise.
No parallel approval path. Migration/roundtrip + lifecycle tests included.
…all choke point (U2)

Core policy inside runBeforeToolCallHook (skill-workshop core-policy precedent): when the
session plan-state is planning|pending_approval, veto every tool not on the read-only
allowlist (read/ls/grep/find/search/fetch/update_plan/ask_user_question/enter|exit_plan_mode
/read-only session introspection; exec/bash only for read-only command prefixes). Default-deny
for unknown/plugin/MCP tools; mutation/read suffix patterns for MCP; dangerous-flag + shell-
operator rejection ported from the Smarter-Claw 156-case parity gate. Subagent spawn is blocked
(a child runs outside the gate). Deny messages point at exit_plan_mode.

Choke-point verified: every in-session dispatch path (built-in incl. exec, plugin/MCP-backed,
catalog, code-mode, client tools) funnels through runBeforeToolCallHook with sessionKey+config;
the only ctx-less path (ACPX MCP bridge exposing tools externally) is not in-session dispatch.

Includes the NON-NEGOTIABLE adversarial bypass suite (exec/MCP/plugin/subagent-spawn all
vetoed through the real hook) + gate matrix.
update_plan is now the live plan-mode checklist for every model; tools.experimental.planTool
becomes a kill-switch (false removes it, true force-enables). Explicit allowlist still wins;
explicit deny of update_plan opts out. update_plan tool description carries plan-mode checklist
semantics (keep exactly one step in_progress, then exit_plan_mode). Gating tests rewritten to
the default-on contract.
…n summary (U5)

/plan show|status (state + summary), /plan accept|approve and /plan reject|revise <feedback>
resolve the pending PR-A approval question via the process-global QuestionManager (turn-source
routing preserved; the parked exit_plan_mode tool makes the state transition, avoiding the
dup-approval bug class), /plan enter and /plan exit aliases. streaming.ts case plan now renders
a structured multi-step summary (count + first steps) through the edit-in-place progress-line
correlation key. Plan-state module exported from the sessions barrel.
…shot (U4 backend seam)

The plan slot rides the same session event payload as goal (state chip + summary), so the
Control-UI plan panel reads plan-mode state and the pending-approval flag without a new gateway
method — approve/reject reuse the existing question.pending/question.resolve events (no new
approval path) and the live checklist reuses the existing stream:plan broadcast. GatewaySessionRow
carries plan; the builder emits an explicit null when inactive so clients drop the chip on merge.

NOTE: the Lit panel view itself is intentionally deferred — see manifest (no panel precedent in
this base + PR-A's question-card UI lands in the parallel lane; building it here would collide).
The compile-time _AssertAllSessionEntryKeysAreReserved guard requires every SessionEntry key to
be in the plugin-collision reserved list; add 'plan' next to 'goal' (same precedent).
…tend)

Self-contained plan-panel render component: plan-mode state chip (Planning / Awaiting approval),
live plan checklist with per-step status icons + accessible labels, progress summary, presented
plan summary, and — only when awaiting approval — Approve / Keep-planning controls. The controls
send /plan accept|reject through the existing composer command sender, which resolves the PR-A
approval question (no new approval path). Reads plan state from the session snapshot (U4 backend
seam). Full i18n: new plan.* keys in en.ts propagated to all 20 locales (English fallback pending
localization). Panel CSS matches the goal-chip design tokens; render test covers chip/checklist/
approval-controls/empty states.

The live stream:plan checklist data-source threading is the one remaining seam (panel already
renders a checklist when fed; mounted with session-derived state today).
Exercises the REAL exit_plan_mode <-> QuestionManager <-> /plan accept|reject seam (no mocks):
the tool parks on the PR-A question, the channel command resolves it through the same
process-global manager, and the tool returns approved (state cleared) / revise (back to planning
with feedback). Completes U6 alongside the state-machine, gate-matrix, adversarial-bypass,
panel-render, and store-migration suites.
…ignment, dangle)

Brace the setTimeout poll executors, collapse the plan-status read to a single expression, and
drop the unused __planModeGateContract introspection export.
…seam 5)

handleAgentEvent captures each update_plan tool result (the stream:plan / tool agent-event path)
into a per-session plan-checklist store; the chat composer reads it when mounting the panel, so
the checklist updates in real time with per-step status transitions as the agent plans.
Re-render + coalescing reuse the existing throttled scheduleToolStreamSync (no new throttle);
cleared on run reset. Pure extraction + types live in a dependency-free lib/plan-checklist.ts so
the node-tested tool-stream module never pulls in i18n/lit. Tests: extraction unit + a live
stream:plan sequence asserting the panel re-renders step transitions.
… (U1)

Adopt the spike GoalContinuationDriver (4-gate debounced scheduler, no
self-re-arm after fire) and bind it to real gateway primitives in a
testable createGoalDriverService factory. Ships behind
tools.experimental.goalDriver (default off) with schema + labels + help.

- Durable no-progress counter: first writers of SessionGoal.continuationTurns
  (recordSessionGoalContinuation / resetSessionGoalContinuations via
  patchSessionEntry) so the ceiling survives a gateway restart.
- Fold the driver continuation marker into isFormattedGoalContinuationPrompt
  so both /goal and driver turns are classified uniformly (ceiling reset).
- FIRE = enqueueSystemEventEntry + immediate targeted heartbeat together
  (enqueue alone strands the event, per spike).

Spike suites: 11/11 pass. tsgo:core clean.
- extractGoalBudgetFlag parses inline --budget N|=N off the objective for
  /goal set|start|create (codex parity).
- Add /goal stop as the host-facing verb for ending goal pursuit (clears
  the goal, disarming the driver on its next wake).
- Host-only pause/resume already enforced: update_goal tool restricts the
  model to complete|blocked (MODEL_UPDATABLE_SESSION_GOAL_STATUSES); no fix.

commands-goal suite: 14/14 pass.
…ility tests (U1/U3/U5)

Wire the driver into the live gateway (behind tools.experimental.goalDriver):
- startGoalDriverWiring: rearm persisted active goals on startup; arm the idle
  debounce on the clearTrackedActiveRun turn-completed seam; classify each turn
  as a driver continuation (via the driver's own 'fired' events) vs a real
  inbound turn (ceiling reset).
- Register + broadcast 'goal.updated' on driver-initiated status changes
  (auto-pause); teardown via server-close goal-driver-stop step.

Tests (U5):
- goals.test: durable continuation-counter record/reset survives reload.
- goal-driver-wiring.test: flag gate; fire onto system-event queue + heartbeat
  wake together; auto-pause ceiling -> durable goal.updated; SAFETY: a
  driver-continued turn does NOT bypass the exec-approval gate.

Suites: goal-driver 11/11, wiring 4/4, commands-goal 14/14, goals 18/18.
tsgo core + core-test clean.
…utations (U3)

Backend: single-source goal.updated broadcast via a goals.ts change-emitter
(setGoalUpdatedEmitter/emitGoalUpdated), bound to the gateway in
bindGoalUpdatedBroadcast — every mutation path (/goal commands, model tools,
driver auto-pause) now emits goal.updated {sessionKey,status,objective,
tokensUsed,tokenBudget,source}. Drops the driver wiring's separate broadcast
(dedupe). /goal edit gains --budget N (updateSessionGoalObjective sets budget).

Control UI: openclaw-goal-chip Lit component (persistent 'Pursuing goal' chip
+ objective/status/usage) and edit dialog (objective textarea + budget +
pause/resume/stop/save). overlays.ts subscribes to goal.updated and routes chip
actions through the existing /goal host verbs via chat.send. i18n en keys +
sync-generated fallbacks for all 20 locales (ui:i18n:check clean). Mounted in
app-host next to the question card.

Tests: goal-chip store 12 + goalActionCommand, component render 6 (15 UI total),
commands-goal 14, goal-driver 11, wiring 4. ui:build green; tsgo core + test:ui
clean; oxlint clean on touched files.
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Jul 10, 2026
@clawsweeper

clawsweeper Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 5, 2026, 5:39 AM ET / 09:39 UTC.

ClawSweeper review

What this changes

Adds automatic goal continuation with completion criteria, timed or session-based waits, and an optional model judge, alongside inherited question, planning, channel, and chat UI changes.

Merge readiness

⛔ Blocked before merge - 30 items remain

Keep open: current main does not cover the central request, and the proposed replacement is incomplete. The pinned branch has blocking scheduler, approval, and authorization defects.

Priority: P2
Reviewed head: 67c5600a136898ea3d5d9fc8e52a626eec3f6c7c
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful feature intent and focused tests are outweighed by reachable authorization defects, broken continuation lifecycle, and missing driver runtime proof.
Proof confidence 🦪 silver shellfish (2/6) Needs stronger real behavior proof before merge: Authority-chain proof required: demonstrate allowed answers and rejection of stale buttons or command-disallowed Slack users before plan state clears or tools execute. Inspected media shows inherited UI; the new driver still lacks observed wait-expiry/resumption and judge-completion results through a real Gateway. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🧂 unranked krab (1/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: Authority-chain proof required: demonstrate allowed answers and rejection of stale buttons or command-disallowed Slack users before plan state clears or tools execute. Inspected media shows inherited UI; the new driver still lacks observed wait-expiry/resumption and judge-completion results through a real Gateway. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 16 items Pinned introduction boundary: The complete local merge-base comparison includes the inherited interactive-session stack. The final three commits change 18 paths relative to that stack; reviewing only those commits would omit changes this PR still introduces.
Current main and release boundary: Current main retains goal creation, status, budgets, and structured goal controls, but has no goal-driver directory or matching contract/wait/judge implementation. The available v2026.9.1 goal-store source also exposes ordinary goal operations rather than this driver.
Existing supported question implementation: Current main already supplies ask_user, Gateway-owned question requests, question-specific button identities, session authorization, and requester-lifetime checks. These provide the integration boundary for retained planning work; an unresolved merge must not be assumed to preserve or remove them.
Findings 16 actionable findings [P1] Rearm from the completed lifecycle's session key
[P1] Rearm after persisting a judge wait barrier
[P1] Apply every post-judge gate before done or wait
Security Needs attention Stale buttons can approve a different plan: An old option number resolves against the newest session question and can clear a later plan's approval gate without approval of that displayed plan.
Slack answers bypass the configured command allowlist: Channel-authorized users excluded from commands.allowFrom can still resolve the new answer-button path and release plan execution.
Plan-mode shell prefixes do not establish read-only execution: Ripgrep's executable preprocessor is accepted by the gate and can mutate files when ordinary exec policy allows the command.

How this fits together

The goal driver watches idle sessions and uses stored goals, active runs, queued work, and an optional model judgment to decide whether to start another agent turn. The inherited question and planning services collect human answers that can release the agent from read-only planning.

flowchart TD
  A[Stored session goal] --> B[Idle scheduler]
  C[Active runs and queued work] --> B
  B --> D[Wait and budget checks]
  D --> E[Optional completion judge]
  E --> F[Complete or park goal]
  E --> G[Queue continuation and wake agent]
  G --> H[Agent turn and human approval gates]
  H --> B
Loading

Decision needed

Question Recommendation
Should this work be narrowed onto current goal APIs, with judging deferred until deterministic continuation is proven, or should the full interactive stack remain in scope? Narrow onto current owners: Coordinate with the deterministic continuation candidate and retain contracts or waits only as focused additions, deferring automatic judging until its completion policy is approved.

Why: The prerequisite closed unmerged, current main now owns overlapping question and goal UI capabilities, and the proposal adds autonomous completion policy, configuration, and SDK contracts.

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: Authority-chain proof required: demonstrate allowed answers and rejection of stale buttons or command-disallowed Slack users before plan state clears or tools execute. Inspected media shows inherited UI; the new driver still lacks observed wait-expiry/resumption and judge-completion results through a real Gateway. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Rearm from the completed lifecycle's session key (P1) - Heartbeat continuations call getReplyFromConfig directly and do not register in chatAbortControllers. This callback therefore finds no goalTurnSessionKey when a driver-fired turn finishes, although server-chat.ts supplies sessionKey. Since firing deliberately removes the timer, unattended pursuit stops after that continuation. Use the authoritative lifecycle session identity. This is a late finding on the unchanged reviewed head.
  • Rearm after persisting a judge wait barrier (P1) - A wait verdict writes a barrier and returns after the current timer has been removed. No agent turn was fired, so no completion callback will schedule another wake; the deadline can pass without resuming the goal. Persist the barrier and schedule its next check.
  • Apply every post-judge gate before done or wait (P1) - Both verdict branches reject only disarm. If user work queues, a run starts, or a wait barrier is installed while the judge awaits, the returned rearm outcome is ignored and stale judgment still completes or parks the goal. Apply every non-fire outcome before either mutation, as the continue branch already does.
  • Bind judge mutations to the evaluated goal revision (P1) - An operator can edit the objective during the judge call and leave the goal active with empty queues. All gates then pass, and a verdict for the old objective completes the edited goal. The snapshot omits goal identity/revision, and requireActiveStatus only checks status. Compare the evaluated identity and content revision inside the durable mutation. This is a late finding on unchanged code.
  • Persist continuation admission before enqueueing work (P1) - The driver calls recordContinuation before firing, but this production callback discards the persistence promise and only logs failures. With an unwritable store, work is still enqueued while the durable counter remains unchanged, defeating the advertised continuation ceiling. Require successful reservation before enqueueing and handle rejected enqueue separately. This is a late finding on unchanged code.
  • Read the session entry's actual transcript (P2) - Reconstructing the path from session ID and agent ID ignores entry.sessionFile and custom store directories. Topic or relocated sessions therefore supply a missing or unrelated response to the judge. Use the existing session-file resolver with the loaded entry and owning store.
  • Recover active goals from every owning agent store (P1) - resolveStorePath without an agent ID scans only the default store. Goals in other supported per-agent stores receive no startup timer and remain idle until unrelated activity occurs. Enumerate existing session-store targets and preserve each goal's owning agent/store.
  • Register delivery guards for the new event names (P1) - Advertising events here does not permit broadcasting them: server-broadcast.ts rejects unregistered names. In particular, question.pending, question.expired, and goal.updated have no guards, so live cards and goal updates never reach connected clients. Reconcile the event contract with the current question service and test actual broadcaster delivery. This is a late finding on unchanged code.
  • Bind channel answer buttons to their question identity (P1) - Buttons encode only /answer N, while resolution selects the session's newest pending question. Answer an old prompt elsewhere, open a plan approval, then click the old first-option button: it now selects the new plan's Approve option and clears planning state. Carry and validate an immutable question identity, rejecting resolved or replaced prompts. This is a late finding on unchanged code.
  • Enforce command authorization before Slack answer resolution (P1) - A user allowed into the Slack channel but excluded by commands.allowFrom.slack can resolve an answer button here, including plan approval. Channel ingress authorization does not check that command-specific list; typed /answer does. Invoke the existing command authorization check before resolving the question. This is a late finding on unchanged code.
  • Reject executable preprocessors in read-only plan commands (P1) - rg --pre=rm x victim.txt passes the prefix and flag checks, but ripgrep runs rm victim.txt. When ordinary exec policy permits the command, files can be deleted before plan approval. Use a validated read-only argument contract or deny shell execution in plan mode. This is a late finding on unchanged code.
  • Validate plan state before publishing its approval question (P2) - exit_plan_mode can run outside planning, but registers and publishes its question before setPlanPendingApproval rejects the missing state. The failed tool leaves a live approval prompt with no waiter. Validate or transition first, and expire any registration if subsequent persistence fails.
  • Recover or expire persisted plan approval waits (P2) - The saved plan retains pending_approval and an in-memory question ID across restart, but this path creates no pending-question breadcrumb and startup does not repair plan waits. After restart /plan accept cannot find the question. Restore an answerable wait or explicitly return the plan to planning during recovery.
  • Give plan cancellation one state-transition owner (P2) - Resolving Keep planning wakes the parked tool, which calls revisePlanMode, while this command independently clears the plan. The competing transitions can throw not in plan mode or report revision after cancellation. Use a cancellation outcome and one owner for the final state change.
  • Keep background-session questions discoverable in chat (P2) - The chat route hides the entire app-level question queue, while each composer selects only its own session's questions. A background session's pending question therefore has no visible prompt when another chat is open. Preserve a cross-session indicator or fallback for questions outside visible panes.
  • Distinguish clearing a budget from leaving it unchanged (P2) - Deleting an existing budget and saving emits /goal edit without a budget. The store interprets omission as preserving the old value, so the apparently cleared limit still stops the goal. Send an explicit clear operation or make the editor accurately reflect the supported behavior.
  • Resolve security concern: Stale buttons can approve a different plan - An old option number resolves against the newest session question and can clear a later plan's approval gate without approval of that displayed plan.
  • Resolve security concern: Slack answers bypass the configured command allowlist - Channel-authorized users excluded from commands.allowFrom can still resolve the new answer-button path and release plan execution.
  • Resolve security concern: Plan-mode shell prefixes do not establish read-only execution - Ripgrep's executable preprocessor is accepted by the gate and can mutate files when ordinary exec policy allows the command.
  • Resolve merge risk (P1) - The inherited stack changes planning-tool exposure and adds public SDK functions; its compatibility contract and rollout are not approved.
  • Resolve merge risk (P1) - Persisted goal/plan additions need fresh-install and upgrade proof against current main's newer state and question owners; no pinned reconciled merge result is available.
  • Resolve merge risk (P1) - The judge treats the last assistant response as completion evidence; whether that is sufficient authority to end a goal requires an explicit product choice.
  • Complete next step (P2) - Resolve the scope decision and retained findings, then add after-fix production evidence with credentials, private identifiers, and endpoints redacted. Update the PR body to trigger re-review; if it does not run, ask a maintainer to comment @clawsweeper re-review.
  • Improve patch quality - Reconcile a focused proposal with current goal/question APIs and obtain agreement on configuration, SDK, and judge scope.
  • Improve patch quality - Repair the retained findings with regression coverage through production lifecycle, persistence, and answer-resolution boundaries.
  • Improve patch quality - Add redacted Gateway or terminal evidence for resumed waits, judged completion, and rejection of unauthorized or stale answers before final effects.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Rearm from the completed lifecycle's session key — src/gateway/server-runtime-subscriptions.ts:130-134
  • [P1] Rearm after persisting a judge wait barrier — src/agents/goal-driver/driver.ts:407-413
  • [P1] Apply every post-judge gate before done or wait — src/agents/goal-driver/driver.ts:390-396
  • [high] Stale buttons can approve a different plan — src/infra/question-forwarder.ts:82
  • [high] Slack answers bypass the configured command allowlist — extensions/slack/src/monitor/events/interactions.block-actions.ts:633
  • [high] Plan-mode shell prefixes do not establish read-only execution — src/agents/plan-mode/mutation-gate.ts:175
Agent review details

Security

Needs attention: The inherited plan-approval boundary admits stale or command-disallowed answers and permits mutating commands through its read-only prefix check.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Configuration and defaults 6 configuration leaves added; 1 tool-exposure default changed Autonomous scheduling and judge selection accompany a broader planning default change than the three opt-in additions suggest.
Production versus test growth Production/tooling +6,974; tests +4,705 net lines, excluding locale bundles and docs/data Most growth supports the inherited interactive stack, so scope reconciliation matters more than the final three commits alone.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Reconcile with current goal and question owners (recommended)
    Resolve the retained defects and prove compatible persisted state, authorized answers, and resumed continuation on a focused branch.
  2. Pause the broader stack
    Keep this unmerged while maintainers settle scope and the narrower continuation candidate obtains implementation and runtime evidence.

Technical review

Best possible solution:

Build on current goal and question owners, with identity-checked durable transitions, reliable wait wakeups, and an explicitly approved opt-in judge.

Do we have a high-confidence way to reproduce the issue?

Yes for the patch defects: the pinned source provides deterministic wait, lifecycle, stale-answer, and authorization failure paths. No runtime reproduction or test execution was performed.

Is this the best way to solve the issue?

No, the full stack is not the best current integration shape: existing main question and goal APIs provide safer ownership boundaries, while the retained driver still needs lifecycle and durable-transition repairs.

Full review comments:

  • [P1] Rearm from the completed lifecycle's session key — src/gateway/server-runtime-subscriptions.ts:130-134
    Heartbeat continuations call getReplyFromConfig directly and do not register in chatAbortControllers. This callback therefore finds no goalTurnSessionKey when a driver-fired turn finishes, although server-chat.ts supplies sessionKey. Since firing deliberately removes the timer, unattended pursuit stops after that continuation. Use the authoritative lifecycle session identity. This is a late finding on the unchanged reviewed head.
    Confidence: 0.98
    Late finding: first raised on code an earlier review cycle already covered.
  • [P1] Rearm after persisting a judge wait barrier — src/agents/goal-driver/driver.ts:407-413
    A wait verdict writes a barrier and returns after the current timer has been removed. No agent turn was fired, so no completion callback will schedule another wake; the deadline can pass without resuming the goal. Persist the barrier and schedule its next check.
    Confidence: 0.99
  • [P1] Apply every post-judge gate before done or wait — src/agents/goal-driver/driver.ts:390-396
    Both verdict branches reject only disarm. If user work queues, a run starts, or a wait barrier is installed while the judge awaits, the returned rearm outcome is ignored and stale judgment still completes or parks the goal. Apply every non-fire outcome before either mutation, as the continue branch already does.
    Confidence: 0.99
  • [P1] Bind judge mutations to the evaluated goal revision — src/agents/goal-driver/goal-driver-service.ts:317-322
    An operator can edit the objective during the judge call and leave the goal active with empty queues. All gates then pass, and a verdict for the old objective completes the edited goal. The snapshot omits goal identity/revision, and requireActiveStatus only checks status. Compare the evaluated identity and content revision inside the durable mutation. This is a late finding on unchanged code.
    Confidence: 0.98
    Late finding: first raised on code an earlier review cycle already covered.
  • [P1] Persist continuation admission before enqueueing work — src/agents/goal-driver/goal-driver-service.ts:286-290
    The driver calls recordContinuation before firing, but this production callback discards the persistence promise and only logs failures. With an unwritable store, work is still enqueued while the durable counter remains unchanged, defeating the advertised continuation ceiling. Require successful reservation before enqueueing and handle rejected enqueue separately. This is a late finding on unchanged code.
    Confidence: 0.97
    Late finding: first raised on code an earlier review cycle already covered.
  • [P2] Read the session entry's actual transcript — src/agents/goal-driver/goal-driver-service.ts:173-175
    Reconstructing the path from session ID and agent ID ignores entry.sessionFile and custom store directories. Topic or relocated sessions therefore supply a missing or unrelated response to the judge. Use the existing session-file resolver with the loaded entry and owning store.
    Confidence: 0.99
  • [P1] Recover active goals from every owning agent store — src/agents/goal-driver/goal-driver-service.ts:343-352
    resolveStorePath without an agent ID scans only the default store. Goals in other supported per-agent stores receive no startup timer and remain idle until unrelated activity occurs. Enumerate existing session-store targets and preserve each goal's owning agent/store.
    Confidence: 0.99
  • [P1] Register delivery guards for the new event names — src/gateway/server-methods-list.ts:68-71
    Advertising events here does not permit broadcasting them: server-broadcast.ts rejects unregistered names. In particular, question.pending, question.expired, and goal.updated have no guards, so live cards and goal updates never reach connected clients. Reconcile the event contract with the current question service and test actual broadcaster delivery. This is a late finding on unchanged code.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.
  • [P1] Bind channel answer buttons to their question identity — src/infra/question-forwarder.ts:81-85
    Buttons encode only /answer N, while resolution selects the session's newest pending question. Answer an old prompt elsewhere, open a plan approval, then click the old first-option button: it now selects the new plan's Approve option and clears planning state. Carry and validate an immutable question identity, rejecting resolved or replaced prompts. This is a late finding on unchanged code.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.
  • [P1] Enforce command authorization before Slack answer resolution — extensions/slack/src/monitor/events/interactions.block-actions.ts:633-637
    A user allowed into the Slack channel but excluded by commands.allowFrom.slack can resolve an answer button here, including plan approval. Channel ingress authorization does not check that command-specific list; typed /answer does. Invoke the existing command authorization check before resolving the question. This is a late finding on unchanged code.
    Confidence: 0.98
    Late finding: first raised on code an earlier review cycle already covered.
  • [P1] Reject executable preprocessors in read-only plan commands — src/agents/plan-mode/mutation-gate.ts:175-179
    rg --pre=rm x victim.txt passes the prefix and flag checks, but ripgrep runs rm victim.txt. When ordinary exec policy permits the command, files can be deleted before plan approval. Use a validated read-only argument contract or deny shell execution in plan mode. This is a late finding on unchanged code.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.
  • [P2] Validate plan state before publishing its approval question — src/agents/tools/plan-mode-tools.ts:129-141
    exit_plan_mode can run outside planning, but registers and publishes its question before setPlanPendingApproval rejects the missing state. The failed tool leaves a live approval prompt with no waiter. Validate or transition first, and expire any registration if subsequent persistence fails.
    Confidence: 0.99
  • [P2] Recover or expire persisted plan approval waits — src/agents/tools/plan-mode-tools.ts:141-149
    The saved plan retains pending_approval and an in-memory question ID across restart, but this path creates no pending-question breadcrumb and startup does not repair plan waits. After restart /plan accept cannot find the question. Restore an answerable wait or explicitly return the plan to planning during recovery.
    Confidence: 0.98
  • [P2] Give plan cancellation one state-transition owner — src/auto-reply/reply/commands-plan.ts:158-165
    Resolving Keep planning wakes the parked tool, which calls revisePlanMode, while this command independently clears the plan. The competing transitions can throw not in plan mode or report revision after cancellation. Use a cancellation outcome and one owner for the final state change.
    Confidence: 0.97
  • [P2] Keep background-session questions discoverable in chat — ui/src/app/app-host.ts:932-938
    The chat route hides the entire app-level question queue, while each composer selects only its own session's questions. A background session's pending question therefore has no visible prompt when another chat is open. Preserve a cross-session indicator or fallback for questions outside visible panes.
    Confidence: 0.98
  • [P2] Distinguish clearing a budget from leaving it unchanged — ui/src/components/goal-editor.ts:48-52
    Deleting an existing budget and saving emits /goal edit without a budget. The store interprets omission as preserving the old value, so the apparently cleared limit still stops the goal. Send an explicit clear operation or make the editor accurately reflect the supported behavior.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ee16d5436f9b.

Labels

Label changes:

  • add P2: This is a substantial optional feature proposal with bounded user impact, not an established urgent production regression.
  • add merge-risk: 🚨 security-boundary: Stale answer buttons, skipped Slack command authorization, and executable command prefixes undermine the introduced plan-approval boundary.
  • add proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The actual introduced stack adds visible Telegram question and plan-approval buttons through the shared forwarder.
  • remove P3: Current review triage priority is P2, so this older priority label is no longer current.

Label justifications:

  • P2: This is a substantial optional feature proposal with bounded user impact, not an established urgent production regression.
  • merge-risk: 🚨 compatibility: The branch changes planning defaults, expands SDK functions, and persists new state without current-main upgrade proof.
  • merge-risk: 🚨 session-state: Judge races, missing wakeups, and incomplete restart recovery can prematurely complete or strand session goals and plans.
  • merge-risk: 🚨 security-boundary: Stale answer buttons, skipped Slack command authorization, and executable command prefixes undermine the introduced plan-approval boundary.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🦪 silver shellfish and patch quality is 🧂 unranked krab.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: Authority-chain proof required: demonstrate allowed answers and rejection of stale buttons or command-disallowed Slack users before plan state clears or tools execute. Inspected media shows inherited UI; the new driver still lacks observed wait-expiry/resumption and judge-completion results through a real Gateway. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Authority-chain proof required: demonstrate allowed answers and rejection of stale buttons or command-disallowed Slack users before plan state clears or tools execute. Inspected media shows inherited UI; the new driver still lacks observed wait-expiry/resumption and judge-completion results through a real Gateway.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The actual introduced stack adds visible Telegram question and plan-approval buttons through the shared forwarder.

Evidence

Security concerns:

  • [high] Stale buttons can approve a different plan — src/infra/question-forwarder.ts:82
    An old option number resolves against the newest session question and can clear a later plan's approval gate without approval of that displayed plan.
    Confidence: 0.99
  • [high] Slack answers bypass the configured command allowlist — extensions/slack/src/monitor/events/interactions.block-actions.ts:633
    Channel-authorized users excluded from commands.allowFrom can still resolve the new answer-button path and release plan execution.
    Confidence: 0.98
  • [high] Plan-mode shell prefixes do not establish read-only execution — src/agents/plan-mode/mutation-gate.ts:175
    Ripgrep's executable preprocessor is accepted by the gate and can mutate files when ordinary exec policy allows the command.
    Confidence: 0.99

What I checked:

  • Pinned introduction boundary: The complete local merge-base comparison includes the inherited interactive-session stack. The final three commits change 18 paths relative to that stack; reviewing only those commits would omit changes this PR still introduces. (67c5600a1368)
  • Current main and release boundary: Current main retains goal creation, status, budgets, and structured goal controls, but has no goal-driver directory or matching contract/wait/judge implementation. The available v2026.9.1 goal-store source also exposes ordinary goal operations rather than this driver. (src/config/sessions/goals.ts:30, ad6fe23aecb9)
  • Existing supported question implementation: Current main already supplies ask_user, Gateway-owned question requests, question-specific button identities, session authorization, and requester-lifetime checks. These provide the integration boundary for retained planning work; an unresolved merge must not be assumed to preserve or remove them. (src/agents/harness/user-input-bridge.ts:146, ee16d5436f9b)
  • Prior scheduler findings remain: The judge wait branch returns without arming a timer, and done/wait reject only disarm outcomes. The judge tests cover immediate parking and continue-path queue races, but do not cover wait expiry or done/wait with queued work. (src/agents/goal-driver/driver.ts:390, 67c5600a1368)
  • Production continuation lifecycle: The driver fires through heartbeat, whose runner calls getReplyFromConfig directly. The new completion subscription obtains its session key only from Gateway chat-abort registrations, although server-chat already passes the lifecycle event's session key. (src/gateway/server-runtime-subscriptions.ts:104, 67c5600a1368)
  • Storage and transcript contracts: Judge input reconstructs a transcript filename instead of honoring entry.sessionFile; startup recovery scans only the default store. Existing session-file and combined-store helpers support stored transcript paths and multiple agent stores. (src/agents/goal-driver/goal-driver-service.ts:174, 67c5600a1368)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Josh Lehman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (10 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-31T11:41:08.732Z sha 67c5600 :: needs real behavior proof before merge. :: [P1] Rearm after a judge wait verdict | [P1] Apply every post-judge gate before done or wait | [P2] Read the session entry's canonical transcript | [P1] Rearm active goals from every configured agent store
  • reviewed 2026-08-06T15:43:28.485Z sha 67c5600 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-14T07:16:03.575Z sha 67c5600 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-15T11:20:09.314Z sha 67c5600 :: needs real behavior proof before merge. :: none
  • reviewed August 16, 2026, 4:43 AM ET / 08:43 UTC sha unknown :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-20T05:15:26.030Z sha 67c5600 :: needs real behavior proof before merge. :: [P1] Re-arm after a judge returns wait | [P1] Apply done or wait only after every post-judge gate passes | [P2] Read the entry's canonical transcript file | [P1] Re-arm persisted goals from every configured agent store
  • reviewed 2026-08-28T07:02:20.317Z sha 67c5600 :: needs real behavior proof before merge. :: [P1] Re-arm the timer after a judge requests a wait | [P1] Defer judge mutations whenever a post-judge gate blocks | [P2] Read the session entry’s canonical transcript path | [P1] Rearm every configured agent store at startup
  • reviewed August 28, 2026, 3:53 AM ET / 07:53 UTC sha unknown :: needs real behavior proof before merge. :: [P1] Rearm after creating a judge wait barrier | [P1] Apply all post-judge gates before done or wait | [P2] Use the canonical transcript path for judging | [P1] Recover goals from every agent store at startup

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jul 13, 2026
@clawsweeper

clawsweeper Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@100yenadmin thanks for the PR. ClawSweeper is still waiting on real behavior proof before this can move forward.

Useful proof can be a screenshot, short video, terminal output, copied live output, linked artifact, or redacted logs that show the changed behavior after the fix. Please redact private tokens, phone numbers, private endpoints, customer data, and anything else sensitive.

Once proof is added to the PR body or a comment, ClawSweeper or a maintainer can re-check it.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 31, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed P2 Normal backlog priority with limited blast radius. labels Aug 14, 2026
@clawsweeper clawsweeper Bot added mantis: telegram-visible-proof Mantis should capture Telegram visible proof. and removed mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 28, 2026
@clawsweeper clawsweeper Bot added proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. and removed P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Sep 5, 2026
@VACInc

VACInc commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

This PR concerns goal-driver completion contracts, wait barriers, and an optional completion judge. PR #158884 adds a conditional background-exec warning and implements none of those goal-driver mechanisms, so it does not supersede or resolve this PR; leave it open.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 11, 2026
@steipete

Copy link
Copy Markdown
Contributor

Thanks for the PR. We're closing older pull requests that have gone stale against current main.

This 13.6k-line stacked PR has had no commits since July 10, still needs real behavior proof, and has many blocking review items. Please open a smaller, focused PR against current main if you'd like to pursue goal-driver completion contracts.

If this change is still needed, please open a fresh PR against current main and we'll review it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: slack Channel integration: slack docs Improvements or additions to documentation extensions: codex gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL stale Marked as stale due to inactivity status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants