Skip to content

fix(agents): eval-runner full-evidence + never-leave-VM; cold-reader artifacts-only - #160

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/runner-coldreader-contracts
Sep 8, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/runner-coldreader-contracts

Conversation

@atrawog

@atrawog atrawog commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Approved workflow-design amendments (plan plan/eval-omarchy-pi-plugin.md §THE WORKFLOW) to three agent contracts:

  1. omarchy-eval-runner: owns the FULL evidence evaluation — the PR code/diff, check results (summary.yml + per-step logs), the asciinema screencast (.cast text), and the media frames/video — assembling the complete evidence packet (both recording lanes non-empty, rule 6) — plus a MANDATORY cleanup clause: never leave a VM running when done (probe-fail VM and eval teardown both destroyed + domstate-gone verified; zero residual domains or golden locks at handoff; a leftover VM is a runner defect).
  2. omarchy-cold-reader: explicitly ARTIFACTS-ONLY — re-evaluates everything from the available artifacts (report draft, plan, summary.yml, logs, .cast, media via vision) and NEVER from a running VM (the runner has torn everything down; consulting a live system would be a contract violation). Every claim must reference an artifact.
  3. omarchy-eval-supervisor: lane concurrency default changed to ONE EVAL LANE PER CPU CORE (concurrency = nproc, capped so 2G × lanes ≤ host RAM — this host: 16 cores → 16 lanes), replacing the hardcoded "16 lean lanes concurrent" wording (this change is the amended accounting: it landed in commit 510baeb after the original body was written).

How tested

Current diff against main (matches the live head 510baeb):

$ git diff main...feat/runner-coldreader-contracts --stat
 .pi/agents/omarchy-cold-reader.md     | 2 ++
 .pi/agents/omarchy-eval-runner.md     | 3 ++-
 .pi/agents/omarchy-eval-supervisor.md | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)
$ ./scripts/check-omarchy-eval-agents.sh
check-omarchy-eval-agents: OK — 5 unique agents tracked + parseable, staged agents ignored
$ git status --porcelain .pi/agents/
(clean)

Rulebook compliance

Rule How / N/A
R1 Both amendments + the concurrency amendment are corrections to the workflow design found in the operator review — fixed here, gated by the agent gate.
R2 N/A — no rulebook/API wording changed.
R3 Single home: the agent definitions are the only place these contracts live; the design section points at them.
R4 N/A — the cleanup clause is a contract, not a hack.
R4a N/A.
R5 N/A — additive wording.
R6 feat/ branch, no force-push, gate green.
R7 Agent gate + diff-stat pasted (current-head accounting per the A1 finding).
R8 N/A.
R9 N/A.
R10 N/A for contract wording; the batch re-run exercises the lane live.
RDD N/A.
ADE The cold-reader artifacts-only rule strengthens ADE grading.
SDD N/A.
B14 Evidence pasted, matching the live head.
B15 N/A.
B17 N/A.
B18 N/A.

Change classification

  • Change class: harness config (agent contract wording).
  • Verification gate: agent gate script + pasted current-head diff.
  • Attribution tier: analysed on a live system.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)

…a VM running; cold-reader is ARTIFACTS-ONLY (approved workflow design)
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: dcbf42ba1b9025494e0270a11f049456d07e125e (branch: feat-branch)

Security screen: PASS — docs-only agent contract wording; no scope mismatch, no secrets/exfiltration, no weakened guardrails, no supply-chain changes.

Checklist: All applicable rules PASS or NA. Docs-only change class (two .pi/agents/*.md contract files); no bed required. Body accounts for both files, pastes coherent gate/grep/diff-stat evidence (4 insertions / 1 deletion matches the diff; grep counts of CLEANUP (mandatory) and ARTIFACTS-ONLY each = 1 match the diff), attribution tier analysed on a live system is not inflated, and the Assisted-by: footer is present in the exact required form. No comments on the thread to adjudicate.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 8, 2026 05:20
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 510baebf8618 (branch: feat-branch)

Change class: docs-only (three .pi/agents/*.md agent-contract files).

Security screen: PASS — no scope mismatch beyond the accounting defect below, no secrets/exfiltration, no weakened guardrails, no supply-chain changes.

Blocks

  1. A1 — body does not account for the full diff; pasted evidence is stale. The current diff touches three files: omarchy-cold-reader.md, omarchy-eval-runner.md, and omarchy-eval-supervisor.md (the lane-concurrency amendment: "16 lean lanes concurrent" → "ONE LEAN LANE PER CPU CORE … nproc-derived, RAM-capped"). The body's Summary covers only the runner and cold-reader changes — the supervisor concurrency change is entirely unaccounted for. The body's pasted git diff --cached --stat shows 2 files changed, 4 insertions(+), 1 deletion(-), but the CURRENT diff is 3 files, 5 insertions, 2 deletions (matches get_pr_meta: changed_files 3, additions 5, deletions 2). The evidence contradicts the current diff — the supervisor change landed in the later commit (510baebf8618) after the body's evidence was captured. The author must add the supervisor change to the summary and re-paste current diff-stat evidence that matches the live head.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

…sor-concurrency amendment + current-head diff evidence
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 2879e85d600e9499d52a3ee303287b4a8a90b7dc (branch: feat/runner-coldreader-contracts)

Security screen: PASS — docs-only agent-contract wording; no scope mismatch (all 3 files accounted for), no secrets/exfiltration, no weakened guardrails, no supply-chain changes.

Checklist: All applicable rules PASS or NA.

Comment intake:

  • github-actions[bot] PASS @ dcbf42b — stale-superseded (covered only 2 files; current head is 2879e85 with 3 files).
  • github-actions[bot] BLOCK @ 510baeb (A1: supervisor concurrency change unaccounted) — stale-superseded: the current body now explicitly accounts for the supervisor lane-concurrency amendment (commit 510baeb) and re-pastes diff-stat matching the live head (3 files changed, 5 insertions(+), 2 deletions(-)), which reproduces against the current diff. The finding is resolved.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: f7c88e766d9d (branch: feat/runner-coldreader-contracts)

Security screen: PASS — docs-only agent-contract wording; no scope mismatch (all 3 files accounted), no secrets/exfiltration, no weakened guardrails, no supply-chain changes. The amendments strengthen the eval pipeline (cold-reader artifacts-only, runner never-leaves-VM cleanup, nproc-derived concurrency) — no T4 concern.

Checklist: All applicable rules PASS or NA.

Comment intake:

  • github-actions[bot] PASS @ dcbf42b — stale-superseded (covered only 2 files; current head has 3).
  • github-actions[bot] BLOCK @ 510baeb (A1: supervisor concurrency unaccounted) — stale-superseded: the current body explicitly accounts for the supervisor lane-concurrency amendment and re-pastes diff-stat matching the live head (3 files changed, 5 insertions(+), 2 deletions(-)), which reproduces against the current diff. Finding resolved.

Cross-checks: Body's pasted diff-stat (3 files, 5 insertions, 2 deletions) matches get_pr_meta and the current diff. All three files (cold-reader +2, eval-runner +2/-1, supervisor +1/-1) are accounted in the Summary. Docs-only change class — no bed required; attribution tier analysed on a live system is not inflated; Assisted-by: footer present in exact required form.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant