Repository navigation
Conversation
…ever a turn count Byte-identical to the opencharly/opencharly leg: the PURE-TYPESCRIPT `agent_progress` OpenCode plugin + its three-layer gate. It reads the opencode store READ-ONLY and reports, per session, the turns/span/age, the tool mix, the LAST action, artifact hints, and a VERDICT (WORKING / IDLE / LOOP / DONE). A "message" is an ASSISTANT TURN, never a stall signal — the RCA this fixes rotated a working session for "79 messages / no artifact". Rotate/take over ONLY on >2 orchestrator re-briefs, idle-past-window with no artifact, or a loop; NEVER on turn count. PURE TS — no `.sh`, no spawnSync, no `marketplace` pin. Gate: `scripts/check-agent-progress.mjs` — (A) static, (B) the classifier including the RCA regression + a real read-only SQLite fixture, (C) LIVE_OPENCODE=1 drives the real binary (live-or-skip).
Review — BLOCKHead SHA: Change class: code/config — a new opencode plugin ( Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Byte-identical to the opencharly/opencharly leg (review round 1, #150): - B14a: remove the zero-caller `KNOWN_TOOLS` export; render `userTurns` as `briefs N`; WIRE the schema-declared `all` boolean (`all: false` restricts the set to ROOT sessions). The gate asserts the `all:false`/`all:true` split.
… unprovable charly.yml step Review round 1 (#310, opencharly/.github#150): - B14a dead surface: remove the zero-caller `KNOWN_TOOLS` export; render `userTurns` as `briefs N` in the report (it was computed and never read); WIRE the schema-declared `all` boolean — `all: false` now restricts the set to ROOT sessions (no `parent_id`) instead of silently doing nothing. The gate asserts the `all:false`/`all:true` split. - Drop the `charly.yml` verify task addition: the umbrella tree gate cannot execute in a worktree (submodules unpopulated) and the file's operability is another session's scope (#306 / merged #309). The gate is run directly (`node scripts/check-agent-progress.mjs`).
Review — PASSHead SHA: Security screen: PASS — no secrets/egress, no network calls, no guardrail/rulebook/validator edits, no injected instructions in body or code (T1–T4 clean). Comments considered (1):
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Byte-identical to the umbrella leg: `SQL.lastEvent` and `ToolCall.turn`/`ToolCall.time` (never read) are removed. `node scripts/check-agent-progress.mjs` stays green (65 PASS).
Review — BLOCKHead SHA: Change class: code/config — a new Security screen: clean — no secrets/egress, no network calls, no guardrail/rulebook/validator edits, no injected instructions (T1–T4). Blocks
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config — a new Security screen: clean (T1–T4) — no secrets/egress, no network calls, no guardrail/rulebook/validator edits, no injected instructions in body or code. Blocks
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Pull request was closed
|
RESOLVED — superseded by This PR is closed, not merged: the same scope (the Why this is a clean supersession, not a loss of work:
The maintainer-account STATUS on Companion legs: Agent: |
Summary
Add the
agent_progressOpenCode plugin and its three-layer gate to the org's.githubrepo — byte-identical to theopencharly/opencharlyleg(opencharly/opencharly#310).
The plugin is pure TypeScript: it reads the opencode store read-only and reports,
per session, the turns/span/last-activity age, the tool mix, the LAST action
(text/reasoning snippet + last tool + input), artifact hints, and a VERDICT —
WORKING/IDLE/LOOP/DONE.A "message" is an ASSISTANT TURN, never a stall signal. The RCA this fixes: a session
was rotated for "79 messages / no artifact" while it was 74 assistant turns with
shell/read/writefiring ~73× each — it was reading, writing, and running its task.Rotate/take over ONLY on >2 orchestrator re-briefs, idle-past-window with no artifact,
or a loop — never on turn count.
No
.sh, nospawnSync, nomarketplacepin (operator directive;opencharly/opencharly#302).
Review round 2 — fixed in
eda6073SQL.lastEvent(zero callers) andthe unread
ToolCall.turn/ToolCall.timefields (plus the gate'smkCallfixture).The gate stays green, and the file is byte-identical to the umbrella leg.
Review round 1 — fixed in
7fcb4dbnot deferred to the sibling PR. Byte-identity with the umbrella leg is asserted by
cmp, and the full A/B output runs here too.allboolean is now wired:all: falserestricts the set to ROOT sessions (noparent_id). The gate asserts theall:false/all:truesplit. (The zero-callerKNOWN_TOOLSexport is removed anduserTurnsis now rendered, matching the umbrella fix.)How tested
All commands executed on head
7a6d1eed527fe3da7a7aacc553253e05da24860a(the mergehead after
gh pr update-branch; the plugin + gate are byte-identical to9887a76).Byte-identity with the umbrella leg (the cross-repo contract this change preserves):
The gate, run on this head (full A/B output):
The LIVE layer was run on the identical umbrella head
fb3076a(byte-identical plugin):PASS real opencode: the plugin loaded,no server reload,the model called the agent_progress tool,agent_progress returned a verdict line,the report carries the turn count— the full captured report and the exactagent_progressoutput are pasted inopencharly/opencharly#310.
Rulebook compliance
eda6073/7fcb4db), no deferral.the real binary against the real store.
feat/branch + PR; no force-push.LIVE_OPENCODE=1gates the live layer; it SKIPs visibly when unset.7a6d1eebefore the push.Change classification
scripts/check-agent-progress.mjs(A/B/C), green on this head;byte-identity with the umbrella leg proven by
cmp.analysed on a live system— the plugin ran live against the realstore and the real binary with retained output.
Agent:
agent-progress-monitor· sessionses_f13f9137cffewtTZQkScc7eREEAssisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)