Skip to content

Apply phase 1a of the review-round analysis to the plan and review skills #315

Done

Description

@DocksDocks

Goal

Apply phase 1a of the review-round analysis (#305) to the kit plugin: a code-review pass from round 3 whose open findings are all LOW lands with one follow-up issue, in runs with and without a grant; each round comment records the reviewer and manager models; the plan-manager snippets lose the recursive removal, the unbounded check wait, and the variable worktree path; the reviewer agents use the frontmatter key that omp reads; the self-review runs before code round 1; the reviewer skills lose the volume framing; and panel findings are merged by location before repairs. The yolo and ultra-yolo skills follow the same rules. Reviewer model, effort, and tier stay unchanged.

Yolo: the user delegated every decision except the merge to the agent.

Mode: plan-and-implement

Research

Repository facts (main at 6da0d2e, after #308):

  • Code pass today. Contract review loop item 3 says Stop on pass. ### Round ceiling (## Yolo runs): fix every reproduced finding of every severity before the next round; a pass lands with open findings only from round 3 when all are Unreached: LOW (reach checked during reproduction; one follow-up issue that links the plan issue), or when the last ceiling round passes with MEDIUM or LOW findings; replay: the rule applied to every LOW finding removed at most 3 of 73 rounds in one arm, no known defect escaped. ### Repairs item 3: Before round k+1, account for every finding of round k. plan-manager phase 6: fix or reject every finding of the round, then A pass can carry MEDIUM and LOW findings. The yolo Review loops table has the Unreached: LOW row and a Code pass with other MEDIUM or LOW findings row (fix and review again); ultra-yolo Review loops follows yolo except Stalls; run-summary.md Open findings: names unreached LOW and ceiling findings. code-reviewer SKILL.md (Severity and verdict) rates reach and blast radius, says From round 3, the manager can land a pass whose open findings are all Unreached: findings, and rates CRITICAL for a demonstrated path to broad data loss or irreversible destructive impact. Categories: Bug, Security, Performance, Maintainability.
  • Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305: managers continued after 337 of 391 code passes with findings since 2026-11-15 (without a grant, 85 continued, 12 stopped) [INFERENCE in Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305]; the self-review ran beside round 1 in 63 of 65 cases and forced a round after a clean pass; reviewer spawns re-read their own skill in 97% to nearly 100% of cases.
  • Published text (## Yolo runs): when a write would make an undisclosed vulnerability or other sensitive finding public, stop before any write and report.
  • Round comment format: the manager response starts with #### Manager response to round <k> and holds Repaired, Rejected, and Redesigned; a run that stops between rounds posts the pending response as its own comment; the comment check runs before each post. The verdict parser (cli/src/plan/reviews.ts) reads nothing below a first-column MANAGER_RESPONSE_HEADING. Above it, after LINE_PREFIX strips quote and list markers, severeFinding reads [critical], [high], a line start critical: or high:, and severity: critical|high; REVIEW_VERDICT reads plan-review: and code-review:; REVIEW_HEADING reads plan review or code review headings. A comment whose first line names no kind is no review record. parseReviewComment(body) is exported.
  • Reviewer configuration (SoT/.omp/config.yml): task.agentModelOverrides maps code-reviewer to @code_reviewer and plan-reviewer to @plan_reviewer; modelRoles sets both to openai-codex/gpt-6.2-sol:high; retry.fallbackChains sets both to anthropic/claude-opus-5-5:high; task.agentServiceTierOverrides sets both to inherit. This is the intended route, not the model that served a round: the omp 19.4.1 executor can fall back to the parent model when the reviewer credentials fail (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/task/executor.ts#L5293-L5330). The runtime record of each dispatch is the model field of the omp task result (provider/model:effort); the manager's model is the model that its own session reports.
  • T6 targets. plan-manager phase 6 base-instructions block: inst="$scratch/code-review-<n>-round-<k>-base-instructions" and a recursive removal before mkdir -p "$inst"; no other file names that folder. Review scratch is git rev-parse --git-path docks-review, mode 0700; docks-kit scratch remove accepts only paths in the scratch root, the system temporary folder, or /var/tmp (docks-kit scratch --help). Contract ### Checks and merge: gh pr checks <pr> --repo <owner/repo> --watch. Contract ### Linked branch timing item 4 and practices ## Commits item 2: ${XDG_DATA_HOME:-$HOME/.local/share}/agent-worktrees/<repository-name>/.... Rules: worktree-location.md asks for the literal absolute path; literal-paths.md refuses ~ and $HOME in any command.
  • I2 targets. practices ## Self-review in code review: Dispatch code review round 1 first. While it runs, review your own candidate diff, and When the self-review found anything, review again, also when round 1 passed. practices ## Engineering standards: Run the self-review during code review round 1 and the table row Self-review during code review round 1. Contract ### Code-review rounds delta condition: Every change since that head repairs a finding of round k-1 or of the yolo self-review. plan-manager phase 6: While round 1 runs, run the practices Self-review. yolo Review loops: Dispatch code review round 1 first, and run the practices Self-review in code review while it runs.
  • V4 targets. plan-reviewer SKILL.md (finding bar): because each missed finding costs another round. code-reviewer SKILL.md (second constraint): Your job in this round is coverage. Both agent files hold neither phrase; they keep List every qualifying finding in one pass (plan-reviewer agent) and Report every defect that meets this bar, in one pass (code-reviewer agent, Workflow item 7).
  • A2 target. Contract ### Code-review rounds defines the panel mode and posts lens blocks unchanged; no rule merges findings that two lenses report at one location.
  • C2 evidence. Both agent files have autoload-skills: <skill> and open with Load and follow the <skill> skill at skill://<skill>/SKILL.md; skill-agent-pipeline (SKILL.md, agents-builder.md, role-mapper.md, explorer.md, pattern-extractor.md, verifier.md) teaches the kebab key in 10 lines. omp 19.4.1 (strings on the binary): the frontmatter parser rewrites each key with - to camelCase unless rawKeys is set, the agent parser reads autoloadSkills, and the spawn sends each named skill as a hidden message before the first turn. Upstream docs/task-agent-discovery.md lists autoloadSkills and says that the default parser normalizes kebab-case keys (https://github.com/can1357/oh-my-pi/blob/v19.4.1/docs/task-agent-discovery.md); the floor v19.2.1 has the same default (https://github.com/can1357/oh-my-pi/blob/v19.2.1/packages/utils/src/frontmatter.ts). Both spellings load.
  • Load proof surface. .agents/skills/verify/scripts/omp-smoke.ts (flow V6) links a checkout's plugin (--repo <path>) into an isolated omp state with a fake model that returns scripted tool_calls; REQUIRED_AGENTS is code-reviewer, plan-reviewer; a plugin agent without model uses the parent session model (cli/scripts/pluginContent/agents.ts). docks-kit agent-docs verify-skill detect prints verify skill: present.
  • Benchmark readers. .agents/skills/review-benchmark/scripts/omp.mjs: AUTOLOAD_KEY = 'autoload-skills', MODEL_KEYS = ['model', 'thinking-level', 'thinking', 'effort']; prepare.mjs renderAgent (lines 756-779) drops them when the agents command copies a reviewer agent, so the copy reads only the selected plugin copy; a kept autoloadSkills loads the installed skill, and a kept thinkingLevel overrides the pinned effort. The agents CLI tests only assert refusals (prepare-agents.test.mjs 261-267, prepare-variants.test.mjs 177-205). The skill runs the CLI with bun; the review-benchmark Vitest project runs on Linux (vitest.config.ts).
  • Check states. With --json, gh pr checks 2.103.3 writes the checks to stdout and exits 0 before its pending exit code 8; it returns before writing JSON both when no check exists (exit 1, no checks reported on the '<branch>' branch on stderr) and when the query fails (https://github.com/cli/cli/blob/v2.103.3/pkg/cmd/pr/checks/checks.go#L183-L190, L295-L317); GH_DEBUG=api writes diagnostics to stderr (https://cli.github.com/manual/gh_help_environment). bucket is pass, fail, pending, skipping, or cancel (gh pr checks --help); without --json, a cancelled check with no failure exits 0 (https://github.com/cli/cli/blob/v2.103.3/pkg/cmd/pr/checks/aggregate.go). Contract ### Checks and merge today: Wait up to five minutes for checks to appear. and If the repository has no configured checks, use the green local gate as the check result and say so in the merge question. An omp bash job (default 300 seconds, own shell, deadline enforced outside it) gets an explicit timeout clamped to 3600 and to a positive tools.maxTimeout (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/tools/bash.ts#L2153-L2186, https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/tools/tool-timeouts.ts); omp reports a job that reaches its deadline as a tool timeout (bash.ts L1810-L1843) and keeps output that the job already printed (bash.ts L1467-L1485); omp config get tools.maxTimeout printed 0 (no cap).
  • Check rules on main. Contract ### Checks and merge: Wait up to five minutes for checks to appear., then wait for every check to finish; A failed or cancelled check blocks the merge question until its fix passes code review.; the no-configured-checks sentence quoted above; right before the merge, it compares the head SHA and the base branch name (lines 982-991) and merges with --match-head-commit. The ultra-yolo gate (Merge without the question, item 2) collects its own evidence: Positive check evidence exists: each required check ran on the reviewed head against the tested base from its configured source, with the run, the attempt, the head SHA, and the base SHA, as Checks and merge records them. gh pr checks queries commits(last: 1), and its JSON fields hold no commit ID (https://github.com/cli/cli/blob/v2.103.3/api/query_builder.go#L275-L320), so a poll shows progress only. Known limits, pre-existing and outside the Goal (follow-up candidates for the run summary): the ordinary pre-merge check compares the base branch name, not baseRefOid; a result that GitHub reports only on the test merge commit is not seen by a head-commit poll, as with --watch today.
  • Follow-up issue facts. practices ## Recover after compaction: The issue is the run record. The contract's comment check: the helper counts a review or another record only when its author is the sole assignee of the issue (trustedComments, cli/src/plan/reviews.ts lines 193-211). practices ## Run summary makes the run summary the pull request description. The body of Apply phase 1a of the review-round analysis to the plan and review skills #315 links Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305, and the Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 timeline holds a CrossReferencedEvent from Apply phase 1a of the review-round analysis to the plan and review skills #315 (GraphQL timelineItems(itemTypes: CROSS_REFERENCED_EVENT), read 2026-12-02); a cross-reference can come from another repository and proves a mention, not a provenance (https://docs.github.com/en/graphql/reference/issues#crossreferencedevent), and triage users can edit titles (https://docs.github.com/en/rest/issues/issues#update-an-issue). The create endpoint takes no precondition or idempotency key (https://docs.github.com/en/rest/issues/issues#create-an-issue).
  • Release. package.json is 0.33.0; SoT/.omp/plugin/extensions/talk.js embeds it (bun cli/scripts/build-talk.ts); cli/src/generated/sotPayload.ts embeds the plugin (bun cli/scripts/generate-sot-payload.ts); cli/test/goldens/mutation.json pins plugin file hashes and version digests (bun cli/test/golden-mutation.ts --update-goldens); dryrun.json names no plugin file. bun cli/scripts/skill-content-hash.ts --write refreshes the skill metadata. The skill count (35) stays.

Tool facts (2026-12-02): Bun 1.4.5 (SoT/toolchain.json pin); Vitest 5.1.2 (bun.lock); omp 19.4.1 (omp --version; toolchain floor and verified 19.2.1); GNU grep 3.12 (grep --version); gh 2.103.3 (gh --version); mktemp from uutils coreutils 0.10.0 (mktemp --version): two mktemp -d "<dir>/code-review-1-round-1-base-instructions.XXXXXX" runs made two different folders with mode 700; macOS mktemp -d takes a template (https://keith.github.io/xcode-man-pages/mktemp.1.html); Git 2.53.0 (git --version); GNU strings 2.46 read the omp binary.

Engineering standards

  • Steps 1 and 2 (skill, reference, and agent text): skill-maintenance for frontmatter and content hashes, unslop and Simplified Technical English for the prose.
  • Step 2 (benchmark key lists): code-clarity, fix-workflow for the red case. Step 3 (smoke script): code-clarity, test-coverage for the red baseline of the new check.
  • Step 4: commit-discipline.

Request corrections

  • Asked: fix or reject every finding only after fixes-required or repair. Did: a pass that lands needs no fix and no rejection; a code pass that does not land keeps Repairs item 3. Reason: under the minimum variant only an all-LOW pass from round 3 and a ceiling pass land (Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 L1), so another pass continues within the ceiling, and at the last ceiling round another round runs only when the stall rule grants an extension; an open MEDIUM with neither a fix nor a rejection would block every later landing.
  • Asked: remove the V4 phrases in skills and agents. Did: the skills only. Reason: neither agent file holds them (grep above).
  • Asked (round 2): run the benchmark fixture with node .../prepare.mjs agents. Did: bun. Reason: the skill and its tests run the scripts on Bun (SKILL.md, tests/helpers.mjs BUN_RUNTIME).

Decisions

  • L1 merged code-pass rule:
    • Question: one post-pass rule for runs with and without a grant.
    • Options: (a) keep Stop on pass without a grant and the yolo rule with a grant; (b) the Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 minimum variant for every run; (c) the Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 full rule (a pass lands).
    • Evidence: (a) is the contradiction of Finding 1, and managers followed the stricter sentence; (b) the replay sentence of Round ceiling and the L1 estimate (at most -24% to -26% of code rounds); (c) 9 HIGH findings in 6 of 338 runs came after a first pass plus one delta round (Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 L1 risk).
    • Failure modes: (a) keeps the drift; (b) a real LOW defect lands, and a run without a grant gets one more round where it stopped before; (c) escapes of later HIGH findings.
    • Reversibility: text only; phase 1b can move to (c). Durability: (b) states the rule once in a new contract ### Code pass subsection under Phases and review comments; Round ceiling, Repairs item 3, plan-manager phase 6, the yolo table, and ultra-yolo Review loops point to it.
    • Pre-mortem: follow-up issues pile up unread. Guard: one issue per loop that links the plan issue, listed under Open findings in the run summary.
    • Choice: (b). Before any landing with open findings, reproduce each open finding and check its reach and impact with the code-reviewer rubric (Severity and verdict), also an Unreached: claim; record the rating and its evidence in the manager response. A code pass lands when no finding is open; from round 3 when every open finding is still LOW after that check, with or without Unreached: (one follow-up issue, no reviewed byte changed); at the last round of a yolo ceiling when no confirmed HIGH or CRITICAL finding stands, also with open MEDIUM findings (the existing ceiling exception). Before the ceiling, an open MEDIUM keeps the loop open. Any code pass that does not land continues: fix each reproduced finding, reject the others with evidence, and review again within the ceiling; at the last ceiling round, the next round runs only when the applicable stall rule grants an extension, and otherwise the run stops as that rule says. A confirmed HIGH or CRITICAL never lands: fix it, and review again under the same ceiling and stall rule. An open Security finding prevents landing in every run, also at the ceiling: fix it, and review again under the same ceiling and stall rule (another round only with an extension); it never goes to a follow-up issue, and Published text still applies. Rejected: (a) because the request asks one rule; (c) because it is phase 1b; a fixed promotion to MEDIUM, because a reproduced broad data loss is CRITICAL by the rubric and would land at the ceiling.
  • Security rule scope (delegated, one line): no follow-up issue for any Security finding, also in a private repository. Rejected: a visibility check, because it adds a read and a branch, and a private repository can become public.
  • Follow-up issue (redesigned in round 5; delegated tradeoff):
    • Question: how a stop around the create and the record is handled.
    • Options: (a) on resume, when a trusted manager comment of the current code round (its author is the sole assignee of the issue, as the contract's comment check and trustedComments in cli/src/plan/reviews.ts say) records a follow-up URL in its manager response, reuse it and create nothing; a lookalike comment by any other author counts as no record. Only when a successful read of the plan comments finds no trusted URL for the round, create the issue in the plan repository (title Follow-up review findings (#<n>, code round <k>), body that links the plan issue and lists the findings) and record its URL in the manager response in the next tool call; a failed read creates nothing; the run closes nothing; (b) a lookup before each create (rounds 1 to 3); (c) an automatic close of duplicates (round 3).
    • Evidence: Research Follow-up issue facts; round 4 found that the close of (c) took the plan number as its first argument and trusted an editable title.
    • Failure modes: (a) a stop between the create and the record leaves one unrecorded issue open; (b) each lookup left a duplicate or a trust gap; (c) it can close the wrong issue.
    • Reversibility and cost: the user closes an unrecorded issue with one command. Durability: no lookup and no close to maintain.
    • Pre-mortem: nobody sees the unrecorded issue. Guard: only the in-session final report, never the run summary or the pull request body, names each issue of the plan repository in the plan issue's cross-references whose title holds (#<n>, code round <k>) and whose URL differs from the recorded one, for the user to check; cross-references from other repositories are ignored, because practices Run summary makes the summary the pull request description and such an issue can be private.
    • Choice: (a), with that known limit accepted. Rejected: (b), because no GitHub precondition makes a lookup and a create race-free; (c), because no trusted record proves that a candidate is this round's follow-up.
  • M1a model record:
    • Question: where each round records its models.
    • Options: (a) a Models list in the manager response to round k, for round k, with the response to the last round of a loop posted as its own comment right after the pass; (b) model lines above the response heading in the comment of round k; (c) the run summary only.
    • Evidence: the parser ignores all text below the response heading (MANAGER_RESPONSE_HEADING); the pending-response comment already exists; above the heading severeFinding reads every line; configuration names only the intended route (executor fallback link above).
    • Failure modes: (a) one more comment per loop; (b) a line such as High: effort or [high] turns a pass into fixes-required; (c) no per-round record; any option that reads the model from configuration records Sol with Fallback: none when Opus served the round.
    • Reversibility: text only. Durability: M1b can parse the same list. Pre-mortem: the manager copies the model from the reviewer block; guard: the source rule below.
    • Choice: (a). Lines for each dispatch: Reviewer model: <provider/model>, <agent>, lens <lens> and Effort: <level> from the runtime record of that dispatch (in omp, the model field of the task result, provider/model:effort); Intended route: <value> from task.agentModelOverrides and modelRoles; Fallback: none when the runtime record equals the intended route, Fallback: <intended> to <observed> otherwise. Once per response: Manager model: <provider/model> from the manager's own session record (the model that its runtime reports to it). A value that no runtime record shows is unknown. Never take a model from the reviewer block or from configuration alone. No list line starts with critical, high, severity, plan review, or code review, and no line holds a bracketed severity. The response to a landing pass also names the follow-up issue URL. Rejected: (b) for the parser risk; (c) because a round type needs a per-round record.
  • T6 base-instructions folder (delegated): inst=$(mktemp -d "$scratch/code-review-<n>-round-<k>-base-instructions.XXXXXX") in review scratch, nothing removed; a failed attempt leaves a folder without MANIFEST, which Teardown's worktree removal clears, and the dispatch names $inst of the same run. Rejected: a system temporary folder removed with docks-kit scratch remove (one more step per round); the fixed name with a refusal when it exists (a retry needs a manual removal).
  • T6 check wait (redesigned in round 17; delegated): the finite poll replaces only the --watch example of Checks and merge, with sentences and no shell block. Main's rule stays: the merge question comes after every check finishes, a failed or cancelled check blocks the question until its fix passes code review, and the no-configured-checks fallback stays. Wait with finite async jobs. A job polls gh pr checks <pr> --repo <owner/repo> --json name,state,bucket, sleeps between polls, and prints one line for each poll at once. A poll that exits 0 is classified from stdout only: failed when a check has a fail or cancel bucket, pending when a check is pending, and done when every reported check is finished and none failed. A poll that exits nonzero with no checks reported on the '<branch>' branch on stderr prints checks: none; any other nonzero exit is a query failure, which proves nothing. The poll classifies progress only and is never merge evidence. omp keeps output that a job already printed when it times out. The manager keeps the latest classified result across jobs as the last known state; a later query failure or timeout does not replace it. One clock runs from the start of the wait, never reset: after five minutes (Wait up to five minutes for checks to appear.), none follows If the repository has no configured checks, use the green local gate as the check result and say so in the merge question. only with the separate proof that the repository has no configured checks; otherwise the wait goes on until 60 minutes from the same start. Give each job an explicit whole-second timeout that fits in the time left before the active cutoff after omp's clamps (the cap of 3600 seconds or a positive tools.maxTimeout, then the one-second minimum); with less than one second left, start no job (0 disables the deadline). A job that omp ends at its deadline is a tool timeout, not a progress result. New (redesigned in round 19, no exception path): at the 60-minute cutoff, when the last classified poll is pending or no poll was classified (every query failed or timed out), the run reports the last known state or unavailable, asks no merge question, and leaves the pull request open; every landing path (ordinary, yolo, ultra-yolo) honors this stop before any later gate. Before the stop for no classified poll, verified evidence may complete the wait: when the repository's own landing procedure (for this kit, the verified Full CI read) establishes the coverage and the result of every applicable check and commit status, all finished with no failure, the wait is complete; a partial read (for example head check runs alone, which omit commit statuses) is not such evidence; any check that stays unverified keeps the stop, and every merge gate stays unchanged. This only enforces main's rule to wait for every check to finish. A none result follows main's rules unchanged (the five-minute wait for checks to appear and the no-configured-checks fallback), so the poll adds no stop for it, and verified evidence elsewhere (a Full CI result on the test merge commit) is read by the existing landing procedure as before. The ultra-yolo gate is unchanged and collects its commit-bound evidence itself, independently of the poll. Rejected: --watch (no end; temp-and-background.md flags it); the plain exit code, which accepts a cancelled check; the shell blocks of rounds 1 to 3; the required-set inventory of rounds 13 and 14 and the shared commit-bound rule of round 16 (see the round 15 and 17 repair records).
  • T6 worktree path (delegated): <worktree> is the literal absolute path <data>/agent-worktrees/<repository-name>/issue-<n> (or check-<short-sha>); <data> is the output of printenv XDG_DATA_HOME, or .local/share under the output of printenv HOME when the first prints nothing (worktree-location rule). Rejected: the shell default expansion, which the rule refuses.
  • C2 key and text:
    • Question: which key, and why reviewers re-read their skill.
    • Options: (a) keep autoload-skills; (b) autoloadSkills in both agents and in the skill-agent-pipeline authoring text; (c) drop the key and keep the read instruction.
    • Evidence: C2 facts above. Failure modes: (a) works only through key normalization, while the docs and omp's template use (b); (b) none found at 19.2.1 or 19.4.1; (c) 10K to 14K more characters per spawn (Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 C2). Reversibility: one line per file.
    • Durability: (b) gives the kit one spelling; explorer.md and verifier.md say that omp also reads the key in kebab case, without the literal kebab form; the benchmark agent copy drops both spellings (AUTOLOAD_KEYS) and thinkingLevel too, because it also copies agents at historical refs.
    • Pre-mortem: a future omp drops the injection. Guard: the autoload smoke row fails.
    • Choice: (b), and each agent body says that omp loads the skill with the agent, to follow it, and to read skill://<skill>/SKILL.md only when its text is not in the conversation. Rejected: (a) and (c) for the reasons above.
  • I2 self-review:
  • A2 panel deduplication (delegated, one line): before repairs of a panel round, treat findings whose file and line ranges overlap across lens blocks as candidate duplicates. Merge two reports only when the reproduction shows the same defect (the same failure and the same fix); the merged finding takes the highest severity, gets one repair or rejection, and its line names each merged locator (round, lens, line). Separate defects at one location keep their own evidence and their own Repaired or Rejected lines. The posted blocks stay unchanged. Rejected: a merge by location alone, because Repairs needs evidence for every finding and a delta round settles each original finding.
  • Load proof (delegated, one line): a new smoke command agents: the fake model calls task once for each of REQUIRED_AGENTS with the argument shape of the task tool schema of the opening request, answers each subagent with a final text, and the check passes when the first request of each subagent holds the body of skill://<agent>/SKILL.md from the linked plugin; it prints ok agent-autoload <agent> or FAIL agent-autoload <agent>: <reason>.
  • Reviewer configuration (delegated, one line): no change to the reviewer model, effort, or tier in phase 1a, so that its effects are not confounded (Plan runs need too many review rounds: causes from seven weeks of runs, and a phased fix across round policy, reviewers, plans, implementation, tooling, and models #305 Phase 1a).
  • Version (delegated, one line): patch bump to 0.33.1 with a changelog entry; no helper output changes.

Steps

# Id Task Files Depends Effect Status Done when
1 loop Write the Code pass subsection (reach and impact check before an all-LOW landing from round 3, the ceiling exception without a confirmed HIGH or CRITICAL finding, the Security rule, the follow-up issue create in the plan repository, record, reuse of a URL from a trusted manager comment on resume, and the in-session report of an unrecorded issue) and point Round ceiling, Repairs item 3, review loop item 3, and the ultra-yolo Stalls text to it; add the Models list with its runtime sources, the pass response comment, and the comment check case; add the panel candidate-duplicate rule; remove the self-review delta case; replace the --watch example with the check-wait sentences, the worktree paths, and the base-instructions removal; rewrite the practices Self-review and Engineering standards sentences, the plan-manager phase 6 paragraphs, the yolo Review loops text and table, the ultra-yolo Review loops, and the run summary Open findings: line; refresh the content hashes SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md, SoT/.omp/plugin/skills/plan-manager/references/practices.md, SoT/.omp/plugin/skills/plan-manager/references/run-summary.md, SoT/.omp/plugin/skills/plan-manager/SKILL.md, SoT/.omp/plugin/skills/yolo/SKILL.md, SoT/.omp/plugin/skills/ultra-yolo/SKILL.md, cli/test/unit/plan/base-instructions.test.ts - local done the removed, present, m1, snippet, and hash rows pass for these files
2 reviewers Remove the two V4 phrases and keep the one-pass instruction; reword the code-reviewer landing sentence to the all-LOW rule; rename the agent key to autoloadSkills and rewrite both agent openings; teach autoloadSkills in the skill-agent-pipeline skill and references; make the benchmark agent copy drop autoload-skills, autoloadSkills, and thinkingLevel, with a red CLI test and the key sentence of its skill; refresh the content hashes SoT/.omp/plugin/skills/code-reviewer/SKILL.md, SoT/.omp/plugin/skills/plan-reviewer/SKILL.md, SoT/.omp/plugin/agents/code-reviewer.md, SoT/.omp/plugin/agents/plan-reviewer.md, SoT/.omp/plugin/skills/skill-agent-pipeline/SKILL.md, SoT/.omp/plugin/skills/skill-agent-pipeline/references/agents-builder.md, SoT/.omp/plugin/skills/skill-agent-pipeline/references/role-mapper.md, SoT/.omp/plugin/skills/skill-agent-pipeline/references/explorer.md, SoT/.omp/plugin/skills/skill-agent-pipeline/references/pattern-extractor.md, SoT/.omp/plugin/skills/skill-agent-pipeline/references/verifier.md, .agents/skills/review-benchmark/scripts/omp.mjs, .agents/skills/review-benchmark/scripts/prepare.mjs, .agents/skills/review-benchmark/tests/prepare-agents.test.mjs, .agents/skills/review-benchmark/tests/prepare-variants.test.mjs, .agents/skills/review-benchmark/SKILL.md, SoT/.omp/plugin/skills/code-reviewer/references/delta.md - local done the removed, plugin, bench, score, and hash rows pass
3 smoke Add the agents command to the V6 smoke with its red baseline, and document it in flow V6 .agents/skills/verify/scripts/omp-smoke.ts, .agents/skills/verify/SKILL.md 2 local done the autoload and smoke-unit rows pass
4 release Bump to 0.33.1, add the changelog entry, rebuild the talk bundle, regenerate the payload and the mutation goldens package.json, CHANGELOG.md, SoT/.omp/plugin/extensions/talk.js, cli/src/generated/sotPayload.ts, cli/test/goldens/mutation.json 1, 2, 3 local done the generated, goldens, v6, dry, package, and gate rows pass
5 repairs Repair code review round 1: the yolo phase table, adoption, recovery, and the pull-request review item count a code pass only when it lands under Code pass for the reviewed head; the check poll replaces only the --watch example, classifies progress only (unfiltered gh pr checks: pending, done, failed, none, or query failure), and is never merge evidence; main's Checks and merge rule stays, with the one cutoff addition below; the ultra-yolo gate is unchanged; an open Security finding prevents landing in every run, also at the ceiling; the ownership check runs before the follow-up issue is created, and on resume the run creates the issue only after a successful read of the plan comments finds no trusted URL for the round (a failed read creates nothing); the shared review loop stalls a ceiling round that ends on a pass that does not land, and the next round is dispatched only when the applicable stall rule grants an extension (otherwise the run stops as that rule says); the code-reviewer Unreached: paragraph and the verify flow V6 text say what each check proves; the agents smoke validates each agent file and a nonempty skill body, normalizes line endings, and turns off async task execution in its isolated configuration; the benchmark agent copy parses the agent frontmatter and removes entries by key (bare, quoted, and block-list forms), and the bench fixture holds a quoted key and a block-list value; the autoload check also fails the named agent, without suppressing the other result, for a missing agent file and for an empty skill body; the snippet and variant tests cover two runs and a camel-case key; the cutoff stop is the round-19 T6 rule (the cutoff stop and its one exception (only for no classified poll) are as the T6 decision states; none follows main), and every landing path, the yolo Landing text included, honors it; practices.md Recover after compaction matches the Landing: line of Code pass SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md, SoT/.omp/plugin/skills/plan-manager/SKILL.md, SoT/.omp/plugin/skills/yolo/SKILL.md, SoT/.omp/plugin/skills/ultra-yolo/SKILL.md, SoT/.omp/plugin/skills/code-reviewer/SKILL.md, .agents/skills/verify/SKILL.md, .agents/skills/verify/scripts/omp-smoke.ts, .agents/skills/review-benchmark/scripts/prepare.mjs, .agents/skills/review-benchmark/tests/prepare-agents.test.mjs, .agents/skills/review-benchmark/tests/prepare-variants.test.mjs, cli/test/unit/plan/base-instructions.test.ts, cli/src/generated/sotPayload.ts, cli/test/goldens/mutation.json, SoT/.omp/plugin/skills/plan-manager/references/practices.md 4 local done the bench, plugin, hash, autoload, v6, baseline, generated, goldens, and gate rows pass

Acceptance

ID Command Expected
deps bun install --frozen-lockfile in the linked worktree Exit 0
removed grep -rn -F -e 'costs another round' -e 'Your job in this round is coverage' -e 'of every severity' -e 'A pass can carry MEDIUM and LOW findings' -e 'round k-1 or of the' -e 'also when round 1 passed' -e 'While round 1 runs' -e 'Dispatch code review round 1 first' -e 'XDG_DATA_HOME:-' -e 'autoload-skills' -e 'Load and follow the' SoT/.omp/plugin; echo "exit $?"; grep -rn -E -e '--watch' -e 'rm -[r]f' SoT/.omp/plugin/skills SoT/.omp/plugin/agents; echo "exit $?" No match lines; both print exit 1, so no --watch remains in the plan-manager skill, the contract, practices, yolo, or ultra-yolo. Red on main (6da0d2e): 27 lines in 14 files from the first command, 2 from the second (one --watch in the contract)
present grep -c '^autoloadSkills: ' SoT/.omp/plugin/agents/code-reviewer.md SoT/.omp/plugin/agents/plan-reviewer.md; grep -c -F -e 'Reviewer model:' -e 'Intended route:' -e 'Manager model:' -e '### Code pass' -e 'code round <k>)' SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md 1 for each agent file; a count of 5 or more for the contract
m1 bun -e 'import { parseReviewComment as p } from "./cli/src/plan/reviews.ts"; const m = "Models:\n- Reviewer model: openai-codex/gpt-6.2-sol, code-reviewer, lens correctness\n- Effort: high\n- Intended route: openai-codex/gpt-6.2-sol:high\n- Fallback: none\n- Manager model: anthropic/claude-opus-5-5"; const b = "## Code review\n\nCode-review: pass\n\n- [LOW] Bug - a.ts:1 - x\n"; console.log(JSON.stringify([p(b + "\n#### Manager response to round 2\n\n" + m), p(b + "\n" + m), p("#### Manager response to round 3\n\n" + m), p(b + "\n- High: effort")]))' [{"kind":"code","verdict":"pass"},{"kind":"code","verdict":"pass"},null,{"kind":"code","verdict":"fixes-required"}]: the record keeps a pass also above the heading, a pass response comment is no review record, and the last value shows that a severity word at a line start would flip the verdict
snippet In the linked worktree, run the base-instructions block of plan-manager phase 6 two times, with <n> = 0, <k> = 1, the default branch for <default>, and an empty prev Each run exits 0 and prints nothing to stderr; the two $inst values differ; each folder holds MANIFEST with copied AGENTS.md; no removal ran
bench bun x --no-install vitest run --project review-benchmark .agents/skills/review-benchmark/tests/prepare-agents.test.mjs .agents/skills/review-benchmark/tests/prepare-variants.test.mjs Exit 0. The new case builds a fixture git repository with the kit layout, whose code-reviewer.md and plan-reviewer.md at the baseline ref and in the worktree hold autoload-skills:, a quoted "autoloadSkills": key whose value is a block list (- code-reviewer on the next line), and thinkingLevel: low; copies the scripts and their imports into it with copyScripts (tests/helpers.mjs, as prepare-pin.test.mjs does); and runs that copy: bun <fixture>/.agents/skills/review-benchmark/scripts/prepare.mjs agents --baseline-ref <ref> --baseline-dir <scratch> --model <model> --efforts high --project <project>, with fakeOmp first on PATH. For each of the four reviewer files review-bench-{baseline,candidate}-{code,plan}-<config>.md, a Bun child parses the written frontmatter with Bun.YAML.parse and prints it as JSON, as projectConfig in tests/helpers.mjs does (spawnSync(BUN_RUNTIME, ['-e', …]), because Vitest runs on Node); the Vitest case asserts that the child exits 0, that the parsed object holds no autoload-skills, autoloadSkills, or thinkingLevel key, that no frontmatter line is an orphan list item (- code-reviewer), that thinking-level is high, and that the body names <plugin root>/skills/<role>-reviewer/SKILL.md of its side. Red on main: the quoted key, its list value, and thinkingLevel stay
plugin bun x --no-install vitest run cli/test/unit/plugin Exit 0
score docks-kit skill score --per-file SoT/.omp/plugin/skills | grep -E 'plan-manager|yolo|code-reviewer|plan-reviewer|skill-agent-pipeline', docks-kit skill score --per-file .agents/skills | grep -E 'verify|review-benchmark', and docks-kit skill guard --strict SoT/.omp/plugin/skills/plan-manager SoT/.omp/plugin/skills/yolo SoT/.omp/plugin/skills/ultra-yolo SoT/.omp/plugin/skills/code-reviewer SoT/.omp/plugin/skills/plan-reviewer SoT/.omp/plugin/skills/skill-agent-pipeline .agents/skills/verify .agents/skills/review-benchmark Each skill at or above floors.skills in cli/src/skills/config.json; guard exit 0
hash bun cli/scripts/skill-content-hash.ts --check Exit 0
autoload After ./docks-kit sync in an isolated home as flow V6 of the verify skill runs it: PATH="$PWD:$PATH" bun .agents/skills/verify/scripts/omp-smoke.ts agents; echo "exit $?". Three red runs, each in its own ovnfs checkout of the candidate with --repo <checkout>: (1) the autoloadSkills: line removed from SoT/.omp/plugin/agents/code-reviewer.md; (2) that agent file removed; (3) the body of SoT/.omp/plugin/skills/code-reviewer/SKILL.md emptied below its frontmatter ok agent-autoload code-reviewer, ok agent-autoload plan-reviewer, exit 0. Each red run prints FAIL agent-autoload code-reviewer with its reason (no injected skill, missing agent file, or empty skill body), still prints ok agent-autoload plan-reviewer, and exits nonzero; each checkout is removed after its run
smoke-unit bun x --no-install vitest run cli/test/unit/verifySmokeScan.test.ts cli/test/unit/verifySmokeTalkTurns.test.ts cli/test/unit/verifySmokePeerShutdown.test.ts Exit 0
v6 On the commit of step 4 (regenerated talk bundle), flow V6 of the verify skill: PATH="$PWD:$PATH" bun .agents/skills/verify/scripts/omp-smoke.ts, then the same with hooks, talk, and talk-ui All four exit 0 with no FAIL line. Load mode: skills: 35, agents: code-reviewer,plan-reviewer. talk: the documented ok lines in order, ok install through ok talk-ask-reply, ok new-session-send, ok fork-send, ok extensions-loaded, and ok registry: talk registered only in the private folder. talk-ui: ok ui-ready through ok ui-tool-handover-cancel, then ok extensions-loaded and ok registry-removed
baseline Two fresh task subagents read the plan-manager, yolo, and ultra-yolo skills, the contract, and practices: arm 1 on the candidate, arm 2 on main. Cases: (a) no grant, code round 3 pass with two LOW Bug findings; (b) yolo grant, round 3 pass with one LOW Security finding; (c) round 2 pass with one LOW finding; (d) a committed candidate before code round 1; (e1) two lenses report the same defect at one line; (e2) two lenses report two different defects at that line; (f) a yolo grant and an ultra-yolo grant, each with a round 3 pass whose one open finding is a reached LOW Bug without Unreached:; (g) round 4 passes and ends the loop: what the run posts, and from which sources; (h1) a resume of a round 3 all-LOW landing whose trusted manager response already records a follow-up URL; (h2) the same resume without a recorded URL; (h3) the same resume where only a comment by a non-assignee records a URL; (i) yolo ceiling round 10 pass with one Unreached: LOW Bug: cleanup(target) deletes the whole tree of target, the reviewer found no caller with an empty target, and the documented sync --target "$DIR" passes an empty value, read as the home folder, when DIR is unset; (j) yolo ceiling round 10 pass with one non-Security LOW finding that the check rates MEDIUM Arm 1: (a) check reach and impact, create one follow-up issue, land, no byte change; (b) fix and review again, no follow-up issue; (c) fix and review again; (d) self-review, fix, commit, post Self-review, then dispatch round 1; (e1) one repair that names both locators; (e2) two entries, each with its own evidence; (f) land with the follow-up issue in both grants; (g) the response to round 4 as its own comment with Reviewer model: and Effort: from the task result, Intended route:, and Manager model: from its own session; (h1) reuse the recorded URL and create nothing; (h2) and (h3) after a successful comment read, create one issue in the plan repository and record its URL in the next tool call; none closes an issue, and an unrecorded candidate appears only in the in-session final report; (i) find the documented path, rate CRITICAL, fix, no landing, then stop or extend as the stall rule says (another round only when it grants an extension); (j) land with the MEDIUM finding listed in the run summary, no follow-up issue. Arm 2 differs at least in (a), (d), (f), and (g)
generated bun run check:generated Exit 0
goldens On the reviewed commit: bun run golden:dryrun && bun run golden:mutation Both suites OK
dry ./docks-kit sync --dry-run Exit 0
package bun run smoke:package Exit 0
gate bun run check Exit 0

Do not touch

  • The reviewer model, effort, and tier: SoT/.omp/config.yml task.agentModelOverrides, task.agentServiceTierOverrides, modelRoles, and retry.fallbackChains, and SoT/.omp/models.yml; the contract rule that every round runs at the configured effort; the panel size rule.
  • The trigger rules in SoT/.omp/plugin/rules/ (the T6 rule changes belong to a later phase).
  • The helper in cli/src/plan/ and its tests: the verdict parser, the grant forms, and plan edit advice; the one exception is the phase 6 snippet fixture of cli/test/unit/plan/base-instructions.test.ts, which reads the base-instructions folder by name (its base-blob helper assertions stay).
  • The plan review loop, plan severity, the plan-review delta reference, and the L1 full rule (phase 1b); the code-review delta reference changes only in its self-review paragraph (I2).
  • The review-benchmark skill, its scripts, and its results record, except the agent-copy key lists in scripts/omp.mjs and scripts/prepare.mjs and the agent frontmatter parsing of scripts/prepare.mjs that removes those keys, their tests in tests/prepare-agents.test.mjs and tests/prepare-variants.test.mjs, and the sentence of its SKILL.md that names those keys.

Open questions

Verification Results

Activity

  1. self-assigned this
    on Dec 2, 2026
  2. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Delegation grant: yolo: "continue with all remaining issues via yolo please, but its an "ultra-yolo" i allow you to review rounds untill it passes and i allow you to merge without asking."

  3. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 1

    Plan-review: repair

    • goal_fit - Research C2, Steps reviewers, and Do not touch review-benchmark - The rename leaves a live reader on the old key. .agents/skills/review-benchmark/scripts/omp.mjs:41 defines only autoload-skills, and prepare.mjs:764-778,3183-3191,3221-3227 strips only that spelling when it copies candidate agents. The candidate can then receive the installed reviewer skill before its first prompt, rather than using only the benchmark’s selected copy. omp 19.4.1 resolves autoload names from the parent session. - Keep the camel-case choice and bring the benchmark reader into scope. Strip both spellings because it also reads historical refs. - class: frontmatter rename leaves a live reader on the old key
    • goal_fit - Research L1 choice, “treat the finding as MEDIUM” - The blanket promotion can let a newly confirmed severe defect land at the yolo ceiling. For example, if a round-10 Unreached: LOW finding reproduces broad data loss, code-reviewer/SKILL.md:171-193 rates the demonstrated effect CRITICAL. The plan instead rates it MEDIUM and permits the recorded pass to land under plan-contract.md:1503-1510. - Reassess severity using the existing rubric and apply the ceiling exception only if no confirmed HIGH or CRITICAL finding stands. - class: severity override defeats a landing gate
    • goal_fit - Research L1 choice and M1a follow-up issue record, Steps loop - Inference: if GitHub creates the follow-up issue but the run stops before it posts the manager response, practices.md:409-423 recovers the round but has no way to identify the issue created for it. Retrying the prescribed create can produce two issues for the same loop. - Give the follow-up a stable plan-and-round identifier and check for an existing issue before creating or retrying it. Record and reuse its URL. - class: external write cannot be recovered without duplication
    • research_gap - Research M1a choice, “from the omp configuration ... or the reviewer’s session transcript” - Configuration gives the intended route, not the model that served the round. omp 19.4.1’s executor can fall back to the parent model when reviewer credentials fail. The proposed source rule allows the manager to record Sol with Fallback: none when Opus served the review. The reviewer’s transcript also does not establish the manager’s active model. - Use the reviewer’s runtime record for each dispatch and the manager’s own session record for its model. Use config only for the intended route, and mark unobserved values unknown. - class: configured value used as evidence of runtime behavior
    • research_gap - Research T6 check wait and Acceptance checks-wait - omp 19.4.1’s Bash tool gives explicit async jobs a 300-second default deadline. A check still pending at five minutes gets a timeout, not the promised result after 60 minutes. An explicit async job also uses a separate shell, so the caller cannot read its status variable afterward. The foreground check on an already-green PR misses both effects. - Set an explicit wall-clock deadline and report the result from inside the job. Make checks-wait exercise the managed job with a short pending case. - class: polling result does not survive the managed job boundary
    • goal_fit - Research T6 check wait, “0 pass … other values a failure,” and Acceptance checks-wait - GitHub CLI 2.103.3 counts cancellations separately and returns zero when there are cancellations but no failures or pending checks. It also errors when checks have not appeared. The planned mapping can accept a cancelled check or reject a PR before its checks start. plan-contract.md:949-953 requires the opposite and retains the local gate for repositories with no configured checks. - Classify check states explicitly. Preserve the appearance window and distinguish confirmed no-CI repositories from query errors. Make checks-wait distinguish those outcomes from a green PR. - class: exit code collapses distinct landing states
    • goal_fit - Research A2 and Acceptance baseline case (e) - Two lenses can report different defects on the same line. The plan gives them one repair or rejection, but plan-contract.md:383-393 requires evidence for every finding and .omp/plugin/skills/code-reviewer/references/delta.md under SoT/ settles every original finding separately. Fixing one defect cannot settle the other. - Use overlapping locations to identify possible duplicates. Merge only reports of the same defect, and make case (e) distinguish duplicates from separate defects at one location. - class: location overlap mistaken for defect identity
    • goal_fit - Acceptance baseline and present - The baseline can pass if granted runs retain the old Unreached: requirement in yolo/SKILL.md:214-215, which ultra-yolo/SKILL.md:137-140 inherits. It only exercises a granted Security case. It can also pass if the contract adds model labels but never posts the last response: present only counts text, and m1 is a parser regression guard. - Extend the existing baseline to check an eligible reached LOW finding in the granted paths and to inspect the model record for the final round, which has no next comment to carry it. - class: acceptance misses a changed workflow branch
    • goal_fit - Steps release and Acceptance v6 - Step 4 regenerates the shipped talk extension. Its embedded version controls whether the extension can share its process singleton (cli/talk/extension.ts:409-426). The planned modes check loading and hooks but never drive a talk call or the interactive UI. .agents/skills/verify/SKILL.md, flow V6, already defines those end-to-end checks. - Run the existing talk and talk-ui modes on the regenerated bundle and use their documented delivery and UI results in v6. - class: changed driven surface lacks end-to-end acceptance
  4. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 2, delta

    Plan-review: repair

    • goal_fit - Research Follow-up issue search and Follow-up issue identity, Steps loop, Acceptance baseline (h) - The lookup still cannot distinguish an issue that was never created from one that was created but is not yet indexed. GitHub documents that issue search uses an index, and the plan's empty-result probe does not establish a recovery delay. If the create succeeds and the run restarts before indexing, the lookup returns no URL and the plan creates a second issue instead of reusing the first - Keep the stable identifier, but reconcile through the paginated repository issue listing without --search before creating. A failed or incomplete lookup must not authorize a create. Make case (h) verify recovery without relying on the search index. - class: external write cannot be recovered without duplication
    • security_risk - Research Follow-up issue identity, Acceptance baseline (h) - The lookup checks only title and URL. GitHub lets issue authors supply the title and does not block duplicates. Inference: if another participant files the same title first, the manager records that participant's issue as the follow-up and lands without filing the findings - Reuse only an issue from the authorized manager or bot that contains the plan link and the findings for that round. Stop on an ambiguous match. - class: untrusted issue title accepted as proof of provenance
    • research_gap - Research Check states and T6 check wait, Acceptance checks-wait - timeout: 3600 fixes the default deadline, but omp 19.4.1 clamps explicit async Bash timeouts to tools.maxTimeout. With that setting at 300, a pending check can still kill the job at five minutes before it prints checks: pending - Account for the effective job deadline. If it is shorter than the polling window, continue in bounded jobs against the original deadline or stop and report the timeout without advancing to merge. - class: polling result does not survive the managed job boundary
    • goal_fit - Research T6 check wait, Acceptance checks-wait - GitHub CLI reports no checks reported when the commit has no check contexts, not when it verifies that the repository has no CI. If configured CI never starts, the block returns the same none that the plan routes to the no-CI rule. plan-contract.md:949-953 permits the local gate only when no checks are configured; AGENTS.md:81 explicitly rules it out as a substitute for Full CI - Treat none as an observation. Require independent evidence that no checks are configured before using the local gate; otherwise report the missing checks and leave the PR open. - class: missing check results mistaken for absent CI configuration
    • goal_fit - Research L1 merged code-pass rule, Steps loop, Acceptance baseline (i) - The new rule re-rates a finding when reproduction changes its effect, but does not require that check before taking the all-LOW landing branch. plan-contract.md:1490-1496 currently checks reach during reproduction, and code-reviewer/SKILL.md:171-188 makes reach and blast radius part of the rating. Inference: a manager can land on the original Unreached: LOW label without discovering a supported path to broad data loss. Case (i) supplies the reproduction in advance and says only “data loss,” which is not necessarily CRITICAL under the rubric - Verify reach and impact before deciding to land with open findings. Give case (i) a concrete supported path to broad data loss and require the manager to discover it before landing. - class: landing gate can use severity before reproduction
    • goal_fit - Research L1 merged code-pass rule, choice (b) - The choice preserves a yolo ceiling landing when no confirmed HIGH or CRITICAL stands, but also says that a re-rated MEDIUM keeps the loop open. On a final-round pass with one non-Security finding re-rated from LOW to MEDIUM, those instructions lead to opposite actions. plan-contract.md:1505-1509 lands a ceiling pass with MEDIUM findings - State that MEDIUM keeps the loop open before the ceiling and that the ceiling exception still applies to eligible MEDIUM findings. - class: conflicting landing conditions
    • goal_fit - Steps reviewers, Acceptance bench - The new assertion calls renderAgent directly. The successful variant test calls prepareAgents through .agents/skills/review-benchmark/tests/helpers.mjs:93-96, bypassing the CLI. The actual agents CLI calls in prepare-variants.test.mjs:177-205 and prepare-agents.test.mjs:261-267 only assert refusals. The row can pass without proving that a successful CLI invocation writes a candidate agent free of the old keys, as plan-contract.md:106-113 requires - Run the existing red fixture through prepare.mjs agents and assert that the emitted agent strips both autoload spellings and thinkingLevel while retaining the benchmark's pinned effort and selected skill path. - class: changed driven surface lacks end-to-end acceptance

    Previous findings:

    • Round-1 finding on Research C2, Steps reviewers, and Do not touch review-benchmark: resolved - Step reviewers now updates the live benchmark reader to strip both autoload spellings and the camel-case effort key.
    • Round-1 finding on Research L1 choice, “treat the finding as MEDIUM”: resolved - L1 removes the fixed promotion, uses the existing rubric, and disallows landing with a confirmed HIGH or CRITICAL at the ceiling.
    • Round-1 finding on Research L1 choice and M1a follow-up issue record, Steps loop: open - repeated above.
    • Round-1 finding on Research M1a choice, model sources: resolved - M1a takes the reviewer model and effort from the runtime task result and the manager model from its own session. Configuration supplies only the intended route.
    • Round-1 finding on Research T6 check wait and Acceptance checks-wait, managed job boundary: open - repeated above.
    • Round-1 finding on Research T6 check wait and Acceptance checks-wait, distinct landing states: open - repeated above.
    • Round-1 finding on Research A2 and Acceptance baseline case (e): resolved - A2 uses overlap only to identify candidates, and cases (e1) and (e2) distinguish duplicates from separate defects.
    • Round-1 finding on Acceptance baseline and present: resolved - Case (f) covers reached LOW findings in both granted paths, and case (g) checks the standalone final response and its model sources.
    • Round-1 finding on Steps release and Acceptance v6: resolved - v6 drives both talk and talk-ui on the regenerated bundle and names the expected results.

    Manager response to round 1

    Repaired:

    Repaired:

    • Round 1, goal_fit, C2 / reviewers / Do not touch review-benchmark (frontmatter rename leaves a live reader on the old key): Research Benchmark readers fact; C2 Durability (the benchmark copy drops both spellings, because it also copies agents at historical refs); step 2 Task and Files now hold .agents/skills/review-benchmark/scripts/omp.mjs, scripts/prepare.mjs, tests/prepare-variants.test.mjs, and the key sentence of .agents/skills/review-benchmark/SKILL.md; new Acceptance row bench with a red case; Do not touch keeps the benchmark except these readers.
      • Class instance: MODEL_KEYS holds only thinking-level, and omp normalizes a thinkingLevel key to the same effort field, so the copy also drops thinkingLevel (step 2 Task, bench row).
    • Round 1, goal_fit, L1 "treat the finding as MEDIUM" (severity override defeats a landing gate): L1 Choice now re-rates a reproduced finding with the code-reviewer rubric (Severity and verdict) and records the new rating in the manager response. The ceiling landing applies only when no confirmed HIGH or CRITICAL finding stands. The fixed promotion is rejected with the data-loss example. Baseline case (i) checks it.
    • Round 1, goal_fit, follow-up issue (external write cannot be recovered without duplication): new decision Follow-up issue identity. The title carries (#<n>, code round <k>), and gh issue list --state all --search ... in:title with an exact title match runs before each create. The run reuses a found URL and records the URL in the manager response. Research Follow-up issue search holds the observed query. The step 1 Task, the present row (code round <k>)), and baseline case (h) cover it.
    • Round 1, research_gap, M1a sources (configured value used as evidence of runtime behavior): the Research reviewer configuration fact now names the executor fallback (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/task/executor.ts#L5293-L5330) and the runtime records. In the M1a Choice, Reviewer model: and Effort: come from the task result model field of each dispatch (provider/model:effort), and Manager model: from the manager's own session. Configuration appears only as Intended route:. Fallback: comes from comparing the two. An unobserved value is unknown. The Evidence and Failure modes lines were updated. The m1 row now holds the Intended route: line (output checked: unchanged). Baseline case (g) checks the sources.
    • Round 1, research_gap, check wait (polling result does not survive the managed job boundary): the T6 check wait is one explicit async job with timeout: 3600, a 55-minute loop deadline, and an echo "checks: $result" inside the job. Research Check states cites the 300-second default deadline and the separate shell (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/tools/bash.ts#L2159-L2185). The checks-wait row runs three async jobs: PR 314, a stub sequence none then pending then failed: lint, and a query error. A local stub run printed checks: error: GraphQL: … at once and checks: failed: lint after about 60 seconds.
    • Round 1, goal_fit, check states (exit code collapses distinct landing states): the block classifies --json name,state,bucket through gh's --jq. fail and cancel give failed: <names>, pending gives pending, pass and skipping give passed. no checks reported on the '<branch>' branch gives none, which keeps the five-minute appearance window and then the no-CI rule of Checks and merge. Any other error gives error: <message>, which stops and reports. Before the window ends, only failed or error ends the wait, because PR 314's request check passed in 2 seconds, before the longer checks. Sources are in Research Check states (gh v2.103.3 checks.go and aggregate.go). New row classify uses jq 1.8.1 (output checked: failed: a, pending, passed).
    • Round 1, goal_fit, A2 (location overlap mistaken for defect identity): in the A2 decision, an overlapping location only marks candidate duplicates. Two reports merge only when the reproduction shows the same failure and the same fix. Separate defects at one location keep separate evidence and separate Repaired or Rejected lines. The merge by location alone is rejected. Baseline cases (e1) and (e2) distinguish the two.
    • Round 1, goal_fit, baseline and present (acceptance misses a changed workflow branch): the baseline now reads the ultra-yolo skill too. New case (f): a reached LOW finding without Unreached: under the yolo and ultra-yolo grants, which lands from round 3. New case (g): the final passing round's response is posted as its own comment with the runtime-sourced model record. Arm 2 must differ in (a), (d), (f), and (g).
    • Round 1, goal_fit, release / v6 (changed driven surface lacks end-to-end acceptance): the v6 row now runs on the step 4 commit with the regenerated talk bundle. It runs all four flow V6 modes: load, hooks, talk, and talk-ui, with their documented ok lines from .agents/skills/verify/SKILL.md. Step 4 Done when now holds v6; step 3 keeps autoload and smoke-unit.

    Redesigned: none.

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  5. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 3, delta

    Plan-review: repair

    • goal_fit - Research Follow-up issue lookup and Follow-up issue identity, Steps loop, Acceptance baseline (h) - The REST listing removes the search-index dependency, but GitHub documents since as returning issues updated after the supplied timestamp. Inference: if the follow-up and the round comment have the same recorded second, a successful listing can omit the follow-up. A restart then creates a second issue instead of reusing the first - Omit the cutoff or move it before the round comment's timestamp so the lookup includes the boundary second. - class: external write cannot be recovered without duplication
    • security_risk - Research Follow-up issue identity, Acceptance baseline (h) - The creator filter rejects another user's issue, but the reuse check verifies only a title marker and the presence of the plan URL. GitHub lets users with push or triage access edit an issue. Inference: if someone removes the findings but leaves the title and plan link, the manager reuses the issue and lands without the findings being tracked - Verify the exact title, plan link, and findings for that round before reusing the issue. Stop and report a mismatch. - class: untrusted issue title accepted as proof of provenance
    • research_gap - Research Check states and T6 check wait, Acceptance checks-wait (4) - omp enforces the job deadline outside the shell, but the shell checks its budget only after gh returns. With T = 80, a slow query can still get the job killed before it prints any result. With T <= 60, the budget is nonpositive and a prompt pending response triggers immediate redispatch instead of the 30-second polling interval. The fast stub does not exercise either case - Bound each query and sleep by the remaining budget, and stop and report without advancing to merge if the cap cannot accommodate a poll or the job ends without a result. - class: polling result does not survive the managed job boundary
    • goal_fit - Research Check states and T6 check wait, Steps loop, Acceptance checks-wait (5) - The new reads still do not establish that CI is absent. GitHub supports push-triggered CI on the candidate commit and ruleset workflows distinct from required_status_checks. A repository with push-triggered CI that never starts can return 0, an unprotected branch, and no pull_request match. The plan then uses the local gate where plan-contract.md:949-953 requires leaving the PR open. A bare 404 can also indicate a permissions failure - Require positive evidence that no applicable CI is configured. Treat incomplete coverage of workflows, rules, or protection as unknown and leave the PR open. - class: missing check results mistaken for absent CI configuration
    • goal_fit - Research L1 merged code-pass rule choice (b), Steps loop, Acceptance baseline (j) - Case (j) expects a follow-up issue for a finding re-rated MEDIUM at the ceiling. Choice (b) specifies issue creation for the all-LOW branch and preserves the existing ceiling exception, which records MEDIUM findings in the run summary without requiring an issue (plan-contract.md:1505-1509) - Keep the recorded ceiling exception and make case (j) expect landing with the MEDIUM finding in the run summary. - class: acceptance expects an effect the selected branch does not specify
    • goal_fit - Steps reviewers, Acceptance bench - prepareAgents refuses the listed invocation without --out or --baseline-dir (.agents/skills/review-benchmark/scripts/prepare.mjs:3151-3167). Adding the flag alone is insufficient: repoRoot() resolves from the script's real path, while --project only selects the output folder (prepare.mjs:870-872,2541-2546,3430-3439). The row also requires a reviewer skill path in every emitted agent, but the command writes self-review, fixer, and manager agents too (prepare.mjs:3229-3249) - Run the real CLI from a fixture checkout containing the script and its imports, supply a scratch baseline destination, and apply the reviewer assertions to the baseline and candidate reviewer files. - class: changed driven surface lacks runnable end-to-end acceptance
    • goal_fit - Steps reviewers Files, Do not touch review-benchmark - The repaired step adds .agents/skills/review-benchmark/tests/prepare-agents.test.mjs, but Do not touch exempts only prepare-variants.test.mjs. The listed CLI test edit is outside the plan's permitted scope - Align the exception with the test file that owns the CLI case. - class: step files contradict the scope boundary

    Previous findings:

    • Round-2 finding on Research Follow-up issue lookup and Follow-up issue identity, Steps loop, and Acceptance baseline (h): open - repeated above.
    • Round-2 finding on Research Follow-up issue identity and Acceptance baseline (h), provenance: open - repeated above.
    • Round-2 finding on Research Check states and T6 check wait, and Acceptance checks-wait, job deadline: open - repeated above.
    • Round-2 finding on Research T6 check wait and Acceptance checks-wait, no-CI fallback: open - repeated above.
    • Round-2 finding on Research L1 merged code-pass rule, Steps loop, and Acceptance baseline (i): resolved - Choice (b) requires reach and impact checks before landing with open findings, and case (i) gives a documented path to broad data loss that the manager must identify.
    • Round-2 finding on Research L1 merged code-pass rule choice (b), conflicting MEDIUM rules: resolved - Choice (b) keeps MEDIUM findings in the loop before the ceiling but permits eligible MEDIUM findings at the final ceiling round.
    • Round-2 finding on Steps reviewers and Acceptance bench: open - repeated above.

    Manager response to round 2

    Repaired:

    Repaired:

    • Round 2, goal_fit, follow-up lookup through the search index (open since round 1): decision Follow-up issue identity (redesigned) and Research Follow-up issue lookup. The run lists issues through the REST listing without search: gh api --paginate "repos/<owner>/<repo>/issues?state=all&creator=<login>&since=<createdAt of the round k comment>". It runs this listing before the create and after any restart. The step 1 Task names the title, the body, and the REST listing. Baseline case (h) recovers from that listing.
      • Class instance: the same listing also settles the provenance finding below.
    • Round 2, security_risk, untrusted issue title accepted as proof of provenance: the same decision reuses an issue only when all of these hold: the creator is the manager login (gh api user --jq .login), the title carries (#<n>, code round <k>), and the body holds the plan issue URL. It is also not a pull request. More than one match stops the run, and a failed or incomplete listing authorizes no create. In baseline case (h), one issue with the same title by another login must be ignored.
    • Round 2, research_gap, the job deadline clamp (open since round 1): Research Check states cites the clamp to a positive tools.maxTimeout (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/tools/bash.ts#L2153-L2186) and the read omp config get tools.maxTimeout (printed 0). The T6 check wait decision (redesigned) runs consecutive bounded jobs with timeout: T and budget = T - 60 against one end. A job prints checks: continue when its budget ends, and checks: timeout at end (report, no merge). In stub runs on this workstation, the block printed checks: continue after a 20-second budget and checks: timeout with end in the past. checks-wait cases (4) cover both.
    • Round 2, goal_fit, none mistaken for no CI (open since round 1): Research Check states says that none shows no check context. The decision allows the local gate only with evidence that no checks are configured, from three reads. The rules read must print 0 required status checks. The classic protection read must exit with (HTTP 404). git grep -l -E 'pull_request' <reviewed-head> -- .github/workflows must print nothing. A failed read is no evidence; otherwise the run reports the missing checks and leaves the pull request open. The three reads ran on this repository and printed 1, (HTTP 404), and a workflow path. checks-wait case (5) checks that the run then does not use the local gate.
    • Round 2, goal_fit, reach and impact before the all-LOW landing: the L1 Choice now checks reach and impact with the rubric for each open finding before any landing with open findings, and this includes an Unreached: claim. The run records the rating and its evidence in the manager response. Research names the rubric criteria, and the step 1 Task names the check. Baseline case (i) now gives a concrete supported path: a documented sync --target "$DIR" that passes an empty value, read as the home folder, to a whole-tree delete. Arm 1 must find that path, rate it CRITICAL, fix, and not land.
    • Round 2, goal_fit, conflicting landing conditions at the ceiling: the L1 Choice says that an open MEDIUM keeps the loop open before the ceiling. At the last ceiling round, a pass also lands with open MEDIUM findings when no confirmed HIGH or CRITICAL finding stands (the existing ceiling exception). New baseline case (j) checks a ceiling pass with a LOW finding that the check rates MEDIUM.
    • Round 2, goal_fit, bench bypasses the CLI: the bench row now runs bun .agents/skills/review-benchmark/scripts/prepare.mjs agents --baseline-ref <ref> --model <model> --efforts high --project <project> with the test's fake omp first on PATH. The fixture's reviewer agents hold both autoload spellings and thinkingLevel. The row asserts that each written agent has no such line, holds thinking-level: high, and names <plugin root>/skills/<role>-reviewer/SKILL.md. Step 2 Files now hold tests/prepare-agents.test.mjs. Research Benchmark readers records that agentsOnBun runs in process and that the CLI tests only assert refusals.

    Redesigned:

    Rejected: none.

    Request correction: Main asked for node .../prepare.mjs agents; the plan uses bun, because the skill (SKILL.md) and its tests (tests/helpers.mjs BUN_RUNTIME) run the scripts on Bun. The plan records this under Request corrections.

    Rejected: none.

    Redesigned: none.

  6. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 4, delta

    Plan-review: repair

    • security_risk - Research Follow-up issue cross-reference and Follow-up issue, Steps loop - The close command uses <n>, which the decision defines as the plan issue number. GitHub CLI closes its first argument; --duplicate-of identifies the issue to keep. Substituting the stated values closes the canonical plan, not the duplicate, and a bare number can also resolve in the wrong repository (plan-contract.md:630-641) - Use the verified duplicate's full issue URL as the first argument and explicitly exclude the plan issue and the recorded follow-up. - class: destructive command targets the wrong issue
    • security_risk - Research Follow-up issue restart guard, Steps loop - A cross-reference proves a mention, not that the source issue was created as this round's follow-up. GitHub permits triage users to edit titles. Inference: an unrelated issue already authored by the manager and linked to the plan can acquire the marker and be closed even though only the duplicate should close - Require trusted evidence that the candidate was created as a follow-up for this round before closing it. Report candidates whose provenance cannot be verified. - class: untrusted issue title accepted as proof of provenance
    • goal_fit - Research Follow-up issue restart guard, Steps loop, Acceptance baseline (h) - practices.md:406-421 makes the issue comments the recovery record. Inference: if the session stops after posting the response but before cleanup, the instruction to create again on restart can replace an already-recorded follow-up. That is outside the accepted gap between creation and recording; case (h) only checks an uninterrupted write - Recover the current round's recorded URL when it exists and resume cleanup without creating another issue. Keep the chosen behavior for restarts with no recorded URL. - class: durable issue record ignored on resume
    • research_gap - Research Check states and T6 check wait, Acceptance checks-wait (5) - omp's timeout builtin sends TERM by default and does not escalate without -k. Inference: a gh process or child that ignores TERM can keep the poll open until omp kills the entire job, so no checks: result prints. The sleeping stub exits on TERM and does not exercise this path - Include forced termination and reap time in the poll budget, and make case (5) exercise a TERM-resistant stub. - class: polling result does not survive the managed job boundary
    • goal_fit - Research T6 check wait, Steps loop, Acceptance checks-wait (1), (4), and (6) - omp honors a 300-second configured cap. With that cap, the last poll must start by second 200, but no passed result can be accepted before second 300. Even a PR whose checks have already passed reports checks: timeout, so the replacement cannot complete the unchanged gate in plan-contract.md:946-953 - Separate the overall check deadline from the budget of one job so bounded polling can finish the appearance window without exceeding the cap or advancing to merge without evidence. - class: job budget makes the successful result unreachable
    • goal_fit - Research T6 check wait shell block, Acceptance checks-wait (1) and (2) - The block merges stderr into the value it matches against passed and failed:*. GitHub CLI documents that GH_DEBUG=api writes HTTP diagnostics to stderr. Inference: a successful query under that setting can return valid passed or failed: lint on stdout while the merged value matches neither branch, causing a timeout instead of the actual result - Classify stdout on success and capture stderr separately for query errors. - class: diagnostic output corrupts a machine-readable result

    Previous findings:

    • Round-3 finding on Research Follow-up issue lookup and Follow-up issue identity, Steps loop, Acceptance baseline (h): resolved - The since lookup is gone, and the create-before-record gap is explicitly accepted.
    • Round-3 finding on Research Follow-up issue identity, Acceptance baseline (h): open - repeated above. The title check no longer authorizes reuse, but it now authorizes closure.
    • Round-3 finding on Research Check states and T6 check wait, Acceptance checks-wait (4): open - repeated above. The new wrapper still does not guarantee that a poll returns before the job deadline.
    • Round-3 finding on Research Check states and T6 check wait, Steps loop, Acceptance checks-wait (5): resolved - The revised wait treats none as an observation and leaves the existing no-configured-checks rule in force.
    • Round-3 finding on Research L1 merged code-pass rule choice (b), Steps loop, Acceptance baseline (j): resolved - Case (j) expects the MEDIUM finding in the run summary and no follow-up issue.
    • Round-3 finding on Steps reviewers, Acceptance bench: resolved - The CLI runs from a fixture with its imports and --baseline-dir. Assertions cover only the four baseline and candidate reviewer files.
    • Round-3 finding on Steps reviewers Files, Do not touch review-benchmark: resolved - The exception names both benchmark test files.

    Manager response to round 3

    Repaired:

    Repaired:

    • Round 3, goal_fit, the since boundary of the follow-up lookup (open since round 1): the lookup is gone. Decision Follow-up issue (redesigned, full record) creates the issue and records its URL in the manager response in the next tool call. Research Follow-up issue cross-reference replaces Follow-up issue lookup. The step 1 Task now names the create, the record, and the duplicate close. Baseline case (h) checks only that the next tool call records the URL.
    • Round 3, security_risk, an issue that others can edit passes the reuse check (open since round 2): no issue is reused, so no title, body, or creator check decides any provenance. The only later read closes duplicates. It runs after the recorded issue is posted, so the tracked findings never depend on an issue that the manager did not just create.
    • Round 3, research_gap, a poll or a sleep can pass the job deadline (open since round 1): each poll runs under timeout 60. A loop pass starts only when the remaining budget (T - 10, capped by end) holds one poll and one 30-second interval, and otherwise the job prints checks: timeout and does not merge. Stub runs on this workstation: pending with budget 100 gave checks: timeout after 30 seconds, budget 80 gave checks: timeout at once, and a 70-second stub gave checks: error: exit 124 after 60 seconds. checks-wait cases (4) to (6) cover these.
    • Round 3, goal_fit, the no-CI reads do not prove that CI is absent (open since round 1): the reads and the new local-gate rule are gone. none after the five-minute window follows the existing Checks and merge sentence, which Research quotes: If the repository has no configured checks, use the green local gate as the check result and say so in the merge question. The old checks-wait case (5) was removed.
    • Round 3, goal_fit, case (j) expects an issue that the branch does not specify: case (j) now expects landing with the MEDIUM finding listed in the run summary and no follow-up issue. That is the existing ceiling exception.
    • Round 3, goal_fit, bench cannot run as written: the row now builds a fixture git repository with the kit layout and copies the scripts and their imports into it with copyScripts (tests/helpers.mjs; the same pattern as prepare-pin.test.mjs). It runs that copy of prepare.mjs agents with --baseline-dir <scratch>. The assertions apply only to the four files review-bench-{baseline,candidate}-{code,plan}-<config>.md, and each must name the skill path of its own plugin root.
    • Round 3, goal_fit, tests/prepare-agents.test.mjs is outside Do not touch: the exception now names both tests/prepare-agents.test.mjs and tests/prepare-variants.test.mjs.

    Redesigned:

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  7. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 5, delta

    Plan-review: repair

    • research_gap - Research T6 check wait (line 72), Steps loop - omp reports a managed deadline as a tool timeout, not a classified check result. Inference: if the final job expires during its first poll, the manager has no check data to support the required pending-check report - Treat a job timeout as a distinct result. Continue only within the overall deadline, and report an unavailable check status if no poll succeeded. - class: polling result does not survive the managed job boundary
    • goal_fit - Research Check states and T6 check wait (lines 27 and 72), Steps loop - GitHub CLI returns before writing JSON both when no checks exist and when the query fails. Inference: a stdout-only classifier cannot distinguish a repo with no configured checks, where plan-contract.md:952-953 permits the local gate, from a failed query, which proves nothing - Classify stdout only on success. Handle nonzero exits separately using stderr, and use the local gate only when the repo is known to have no configured checks. - class: empty stdout conflates absent checks with query failure
    • security_risk - Research Follow-up issue option (a) (line 58), Steps loop, Acceptance baseline (h1–h2) - plan-contract.md:247-261 and cli/src/plan/reviews.ts:193-211 trust records only from the sole assignee. The new recovery rule does not say to verify the author. Inference: a third party's lookalike response can supply an unrelated URL and suppress creation of the real follow-up - Recover the URL only from a trusted manager comment for the current code round. Treat lookalike comments as no record. - class: untrusted comment can satisfy recovery
    • security_risk - Research Follow-up issue reporting guard (line 62), Steps loop - The guard places matching cross-references under Limits and failures, but practices.md:389-403 makes that summary the pull request description. GitHub cross-references can originate in another repository. Inference: a matching private issue visible to the manager can have its URL copied into a public pull request, although the guard is only meant to alert the user - Keep unverified candidates in the in-session report only and restrict the lookup to the plan repository, where the run creates the follow-up. - class: unverified cross-reference copied into published text

    Previous findings:

    • Round-4 finding on Research Follow-up issue cross-reference and Follow-up issue, Steps loop: resolved - Option (a) closes nothing, and baseline (h2) confirms that neither resume path closes an issue.
    • Round-4 finding on Research Follow-up issue restart guard, Steps loop: resolved - The title match now selects candidates to report, not issues to close or reuse.
    • Round-4 finding on Research Follow-up issue restart guard, Steps loop, Acceptance baseline (h): resolved - Option (a) reuses a recorded URL instead of creating again, and (h1) and (h2) distinguish the two resume paths.
    • Round-4 finding on Research Check states and T6 check wait, Acceptance checks-wait (5): open - repeated above.
    • Round-4 finding on Research T6 check wait, Steps loop, Acceptance checks-wait (1), (4), and (6): resolved - Success no longer has to fit inside the first capped job. Later jobs share the overall deadline.
    • Round-4 finding on Research T6 check wait shell block, Acceptance checks-wait (1) and (2): resolved - The JSON classifier reads stdout without merging stderr.

    Manager response to round 4

    Repaired:

    Repaired:

    • Round 4, security_risk, the close command targets the plan issue: the automatic close is gone. The run closes no issue. The Follow-up issue decision (redesigned), the step 1 Task, and baseline case (h2) ("neither closes an issue") state this.
    • Round 4, security_risk, a cross-reference is no proof of provenance: the only use of the cross-references left is a report. The final report, under Limits and failures, names each candidate in the plan issue's cross-references whose title holds (#<n>, code round <k>) and whose URL differs from the recorded one, for the user to check. Research Follow-up issue facts cites the GraphQL CrossReferencedEvent and the title edit rights.
    • Round 4, goal_fit, the durable issue record is ignored on resume: on resume, when the manager response of the current round already records a follow-up URL, the run reuses it and creates nothing. Otherwise it creates the issue and records the URL in the next tool call. The basis is practices ## Recover after compaction (The issue is the run record.), quoted in Research. Baseline cases (h1) and (h2) cover both resumes.
    • Round 4, research_gap, the timeout builtin does not escalate past TERM: the shell block and its timeout 60 poll are gone. The T6 check wait decision (redesigned) is one sentence: a finite async job with an explicit timeout within the omp tool cap, polling gh pr checks <pr> --repo <owner/repo> --json name,state,bucket, sleeping between polls, and ending with its classified result. The omp job deadline ends the job in all cases, and the next job runs against the same overall deadline.
    • Round 4, goal_fit, a 300-second cap makes the success result unreachable: the overall deadline (60 minutes from the start of the wait) is now separate from the deadline of one job. When one job cannot cover the wait, the run starts another against the same overall deadline. At the deadline, it reports the pending checks and does not merge. The appearance window and the other Checks and merge rules stay unchanged. Research cites tool-timeouts.ts and the 3600 clamp.
    • Round 4, goal_fit, merged stderr corrupts the result: the job reads stdout only. Research cites GH_DEBUG=api writing to stderr (https://cli.github.com/manual/gh_help_environment).
    • Acceptance: the checks-wait and classify rows are dropped, together with the jq tool fact. The removed row keeps the grep that proves that no --watch remains in SoT/.omp/plugin/skills (the plan-manager skill, the contract, practices, yolo, and ultra-yolo) or in the agents. Step 1 Done when no longer names the dropped rows.

    Redesigned:

    • Follow-up issue (returned in rounds 1 to 4): new approach: reuse a URL that the current round's manager response records; otherwise create the issue and record the URL in the next tool call; report an unrecorded candidate to the user; close nothing. Rejected approaches: every pre-create lookup (rounds 1 to 3: index lag, editable titles, the since boundary), because the create endpoint has no precondition or idempotency key; and the automatic duplicate close (round 3), because its argument targeted the plan issue and no trusted record proves that a candidate is this round's follow-up. Evidence: Research Follow-up issue facts.
    • Check wait (returned in rounds 1 to 4): new approach: one contract sentence, no shell block. The run waits in finite async jobs within the omp tool cap against one overall deadline, classifies stdout only, and reports pending checks at the deadline without a merge. Rejected approaches: the shell blocks of rounds 1 to 3, because each one added a new failure mode: a job budget that cut off the appearance window, TERM-only poll timeouts, and stderr merged into the result. Evidence: Research Check states.

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  8. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 6, delta

    Plan-review: repair

    • research_gap - Research Check states and T6 check wait (lines 27 and 72), Steps loop - The repair handles a timeout before any poll succeeds, but the deadline report still depends on data the job need not return. Inference: if one poll finds Full CI pending and the next poll hangs, the manager must report Full CI as pending but can receive only a timeout. omp preserves output already emitted; it does not recover a result held inside the shell. A final query failure can also replace the last successful result under the last-poll rule - Preserve the latest successful poll across job boundaries. Report it as the last known state, and report unavailable only if no poll succeeded. - class: polling result does not survive the managed job boundary
    • goal_fit - Research T6 check wait (line 72), Steps loop - The plan expressly keeps the other Checks and merge rules, but its new no-checks branch keeps polling until the 60-minute deadline. SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:946-953 caps the wait for checks to appear at five minutes. Inference: if configured checks never appear, the new rule waits another 55 minutes past the limit it retains - Apply the five-minute cutoff to checks appearing and the 60-minute overall deadline to checks finishing. Neither cutoff permits a merge without check evidence. - class: polling rule overrides a retained deadline

    Previous findings:

    • Round-5 finding on Research T6 check wait, Steps loop: open - repeated above
    • Round-5 finding on Research Check states and T6 check wait, Steps loop: resolved - Line 72 reads stdout only on success, distinguishes absent checks from query failure, and allows the local gate only when the repository is known to have no configured checks.
    • Round-5 finding on Research Follow-up issue option (a), Steps loop, Acceptance baseline (h1–h2): resolved - Option (a) requires a record from the sole assignee for the current code round. Case (h3) checks that a non-assignee's URL does not suppress creation.
    • Round-5 finding on Research Follow-up issue reporting guard, Steps loop: resolved - Line 62 restricts candidates to the plan repository and keeps them out of the run summary and pull request body.

    Manager response to round 5

    Repaired:

    Repaired:

    • Round 5, research_gap, a job deadline is no check result: the T6 check wait decision now treats a job that omp ends at its deadline (a tool timeout, not a check result) as a distinct result. The run starts another job only within the overall deadline of 60 minutes. At that deadline it reports the pending checks when a poll succeeded, or reports the check status as unavailable when none did, and it does not merge in either case. Research Check states cites bash.ts L1810-L1843 for the timeout report.
    • Round 5, goal_fit, empty stdout conflates absent checks with a query failure: the run classifies a poll from stdout only when gh pr checks exits 0. On a nonzero exit it reads stderr. The no checks reported on the '<branch>' branch message follows the existing sentence If the repository has no configured checks, use the green local gate as the check result and say so in the merge question. only when the repository is known to have no configured checks, and otherwise keeps the wait. No new evidence read is added. Any other nonzero exit is a query failure, which proves nothing and keeps the wait. Research cites checks.go L183-L190.
    • Round 5, security_risk, an untrusted comment can satisfy recovery: option (a) reuses a URL only from a trusted manager comment of the current code round, whose author is the sole assignee, as the contract's comment check and trustedComments (cli/src/plan/reviews.ts 193-211) say. A lookalike comment by any other author counts as no record. Research Follow-up issue facts states the trust rule, and new baseline case (h3) checks a URL from a non-assignee: the run creates one issue.
    • Round 5, security_risk, an unverified cross-reference reaches the pull request description: an unrecorded candidate appears only in the in-session final report, never in the run summary or the pull request body. Only issues of the plan repository count, and cross-references from other repositories are ignored. The follow-up issue itself is created in the plan repository. Research cites practices Run summary (the summary is the pull request description) and the GraphQL note that a cross-reference can come from another repository. Step 1 no longer changes the Limits and failures line. Baseline (h2) and (h3) expect the in-session report only.

    Redesigned:

    • Check wait (returned in rounds 1 to 5): new approach: the same one-job-at-a-time sentences as round 4, plus explicit results for a job timeout (a distinct result, continue only within the overall deadline, unavailable status at the deadline when no poll succeeded) and for a nonzero exit (stderr decides: no checks under the existing no-configured-checks sentence, or a query failure that keeps the wait). Rejected approach: the round 4 rule that classified stdout of every poll, because empty stdout on a failed query and on a repository without checks look the same. Evidence: Research Check states.
    • Follow-up issue (returned in rounds 1 to 5): new approach: as in round 4, with recovery only from a trusted manager comment of the current code round, and the unrecorded-candidate report limited to the in-session final report and to issues of the plan repository. Rejected approach: the round 4 report under Limits and failures, because the run summary becomes the pull request description and a cross-reference can come from a private issue in another repository. Evidence: Research Follow-up issue facts.

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  9. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 7, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 72), Steps loop - The repair separates the two cutoffs but does not bound an in-flight job by either one. omp applies the timeout to each job, not to the overall wait. Inference: a 300-second job started at 4:59 can hang until 9:59, past the five-minute limit in SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:948-949. The same problem applies to a job started at 59:59 - Cap each job by the time remaining before the active cutoff, as well as the omp limit. If checks appear, switch to the 60-minute finish cutoff without resetting the clock. - class: polling rule overrides a retained deadline
    • goal_fit - Research T6 check wait (line 72), Steps loop - The five-minute branch reports that no check appeared, but only exit-zero polls must emit a result. GitHub CLI returns nonzero both for an empty check list and for a failed query. Inference: if every query fails, the appearance cutoff can report absence when the status is actually unavailable - Emit a distinct result for a confirmed empty list. If the appearance window ends with only failures or timeouts, report the status as unavailable and do not merge. - class: appearance cutoff treats missing evidence as confirmed absence

    Previous findings:

    • Round-6 finding on Research Check states and T6 check wait, Steps loop: resolved - Lines 27 and 72 preserve emitted results on timeout, retain the latest successful poll across jobs, and prevent a later query failure from replacing it.
    • Round-6 finding on Research T6 check wait, Steps loop: open - repeated above

    Manager response to round 6

    Repaired:

    Repaired:

    • Round 6, research_gap, the last-poll result does not survive a job timeout or a later query failure (open since round 5): the T6 check wait decision now has each poll that exits 0 print its classified result line at once. omp keeps output that a job already printed when the job times out; Research Check states now cites bash.ts L1467-L1485 for this. The manager keeps the latest successful poll across jobs as the last known state, and a later query failure does not replace it. At the 60-minute deadline the run reports the last known state, or reports the check status as unavailable when no poll succeeded. It does not merge in either case.
    • Round 6, goal_fit, the polling rule overrode the retained five-minute window: two cutoffs now apply. The existing sentence Wait up to five minutes for checks to appear. stays. When no check has appeared after five minutes, the run follows the existing no-configured-checks sentence only when the repository is known to have no configured checks; otherwise it reports that no check appeared and does not merge. The 60-minute overall deadline applies only to checks that appeared and must finish. The decision states that neither cutoff permits a merge without check evidence.

    Redesigned:

    • Check wait (returned in rounds 1 to 6): new approach: one line printed per successful poll, and the manager keeps the last known state across jobs. The five-minute appearance cutoff and the 60-minute finish cutoff stay separate. Rejected approach: the round 5 rule that reported the result of the last poll, because a final timeout or query failure could leave no result, and the no-checks branch of round 5, which kept polling past the retained five-minute limit. Evidence: Research Check states (bash.ts L1467-L1485 and L1810-L1843; contract ### Checks and merge).

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  10. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 8, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 72), Steps loop - omp clamps nonzero Bash timeouts to at least one second. Inference: with half a second left before either cutoff, a stalled poll launched with timeout: 0.5 can run half a second past it. Using zero disables the deadline when no cap is set. - Start a job only when its effective timeout fits before the active cutoff. If less than one second remains, start no job. - class: polling rule overrides a retained deadline
    • goal_fit - Research T6 check wait (line 72), Steps loop - GitHub CLI distinguishes an empty check list from a query failure. Inference: if one poll prints checks: none and the final poll fails, the plan retains the empty result as the last known state. But neither cutoff branch applies: the last poll did not print checks: none, and not every poll failed. - Report the latest classified result at the appearance cutoff, and report unavailable if no poll was classified. Keep the separate proof that the repository has no configured checks before relying on the local gate. - class: cutoff omits mixed poll outcomes

    Previous findings:

    • Round-7 finding on Research T6 check wait (line 72), Steps loop, in-flight job exceeds cutoff: open - repeated above
    • Round-7 finding on Research T6 check wait (line 72), Steps loop, query failures mistaken for absence: resolved - Line 72 prints checks: none for a confirmed empty list and reports unavailable without merging when every poll fails or times out.

    Manager response to round 7

    Repaired:

    Repaired:

    • Round 7, goal_fit, an in-flight job can pass a cutoff (open since round 6): the T6 check wait decision now gives each job an explicit timeout that is no longer than the time left before the active cutoff, the omp tool cap (3600 seconds), or a positive tools.maxTimeout. Both cutoffs use one clock from the start of the wait, and the clock is never reset. The appearance cutoff is five minutes (Wait up to five minutes for checks to appear.). When a check appears, the finish cutoff applies: 60 minutes from the same start. The run starts another job only before the active cutoff.
    • Round 7, goal_fit, the appearance cutoff treats missing evidence as confirmed absence: a poll whose stderr carries no checks reported on the '<branch>' branch prints checks: none at once. This is distinct from a query failure. At the appearance cutoff, the run reports absence only when the last poll printed checks: none, and it applies the existing no-configured-checks sentence only when the repository is known to have no configured checks. When the window ended with only query failures or timeouts, it reports the check status as unavailable and does not merge.

    Redesigned:

    • Check wait (returned in rounds 1 to 7): new approach: a per-job timeout capped by the active cutoff on one unreset clock, and a distinct printed checks: none line, so that the run reports absence only on confirmed evidence. Rejected approaches: the round 6 job timeout, which only the omp limit capped, so that a job started near a cutoff could pass it; and the round 6 absence report, which the run could reach after query failures alone. Evidence: Research Check states (bash.ts L2153-L2186 applies the timeout per job; checks.go returns nonzero both for an empty list and for a failed query).

    Rejected: none.

    Rejected: none.

    Redesigned: none.

  11. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 9, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 72), Steps loop - The whole-second rule fixes timeout rounding, but omp runs shell setup before it starts the command timer. Inference: with one second left before the appearance cutoff, a job with timeout: 1 can spend 0.8 seconds in setup and 0.6 seconds polling. It can then count a check that appeared after the five-minute cutoff and extend the wait. - Enforce the absolute cutoff independently of the command timeout. Cancel any job still running at the cutoff and do not count results produced after it. - class: polling rule overrides a retained deadline
    • goal_fit - Research T6 check wait (line 72), Steps loop - omp accepts fractional values for tools.maxTimeout through its numeric setting parser, then applies the one-second Bash minimum after the cap. Inference: with a cap of 0.5 and five minutes left, the plan allows no poll because no whole second fits under that cap. It reports unavailable without querying checks, although omp can run a one-second job. - Use omp's effective timeout after both clamps when deciding whether a job fits before the cutoff. - class: timeout rule excludes a supported configuration

    Previous findings:

    • Round-8 finding on Research T6 check wait (line 72), Steps loop, polling rule overrides a retained deadline: open - repeated above
    • Round-8 finding on Research T6 check wait (line 72), Steps loop, cutoff omits mixed poll outcomes: resolved - Line 72 retains none after a later query failure, reports the latest classified state at either cutoff, and requires separate proof before using the local gate.

    Manager response to round 8

    Repaired:

    Repaired:

    • Round 8, goal_fit, a sub-second timeout can pass a cutoff (open since round 6): the T6 check wait decision gives each job an explicit whole-second timeout of at least 1. That timeout must fit in the time left before the active cutoff, the omp cap (3600 seconds), and a positive tools.maxTimeout. With less than one second left, the run starts no job. The decision records why: omp clamps a nonzero timeout to at least one second, and 0 disables the deadline (https://github.com/can1357/oh-my-pi/blob/v19.4.1/packages/coding-agent/src/tools/tool-timeouts.ts#L8-L32).
    • Round 8, goal_fit, a none poll followed by a failed last poll matched no cutoff branch: the manager keeps the latest classified result (none, pending, passed, or failed) across jobs as the last known state. At either cutoff it reports that state, or reports the check status as unavailable when no poll was classified. A none state at the appearance cutoff allows the existing local-gate sentence only with the separate proof that the repository has no configured checks; otherwise the run reports that no check appeared. The run never merges without check evidence.

    Redesigned:

    • Check wait (returned in rounds 1 to 8): new approach: one last-known-state rule for both cutoffs, with none as a classified result, and job timeouts as whole seconds of at least 1 that fit before the active cutoff. Rejected approaches: the round 7 cutoff branches, which keyed absence to the last poll and so had no rule for none followed by a failure; and timeouts below one second, which omp raises to one second or treats as no deadline. Evidence: Research Check states and the omp tool-timeouts.ts source above.

    Rejected: none.

    Size: the base-instructions record was trimmed to keep the export under 40000 bytes; its decision and rejected options are unchanged.

    Rejected: none.

    Redesigned: none.

  12. 12 remaining items

  13. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 19, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 73), Step repairs (line 101) - Step 5 still says none with configured checks stops landing, even if Full CI was verified on the test merge commit, which SoT/.omp/plugin/skills/ci-speed/references/github-actions.md:86-93 accepts. The ultra-yolo exception also comes too late: SoT/.omp/plugin/skills/ultra-yolo/SKILL.md:144-152 runs yolo Landing step 6 before checking positive evidence, and SoT/.omp/plugin/skills/yolo/SKILL.md:267-276 puts the wait in that step. Inference: the cutoff can stop a run before it checks evidence that would let it continue - Replace the stale Step 5 rule with a reference to T6. Let each applicable verification path resolve the check state before the cutoff stops landing. Keep the final ultra-yolo gate order unchanged - class: progress cutoff overrides authoritative check evidence
    • goal_fit - Research T6 check wait (line 73), Step repairs (line 101) - The new exception does not say that verified evidence must resolve the outstanding check. SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:948-954 waits for every check, but its ultra-yolo evidence gate at lines 1721-1724 covers only required checks. Inference: if Full CI is verified and a separate optional check is still pending at 60 minutes, the exception can prevent the stop without satisfying the rule to wait for every check - Apply the exception only when the existing verification resolves the outstanding check state. If a check that the existing rule requires the run to wait for is still pending, leave the pull request open at the cutoff - class: evidence exception does not resolve the outstanding check

    Previous findings:

    • Round-18 finding on Research T6 check wait (line 73), Step repairs (line 101): resolved - The current export explicitly covers both the absence of a classified poll and none without proof of the fallback. It requires reporting the last known state or unavailable and leaving the pull request open without asking to merge.
    • Round-18 finding on Research Check rules on main and T6 check wait (lines 28 and 73), Step repairs (line 101): open - repeated above

    Manager response to round 18

    Repaired:

    • Cutoff: the state is unresolved for pending, for no classified poll (every query failed or timed out), and for none without the proven no-check fallback; the run reports the last known state or unavailable, asks no merge question, and leaves the pull request open; every landing path, the yolo Landing text included, honors the stop.
    • Verified evidence: the stop applies only when no existing check verification (the repository landing procedure, for this kit the verified Full CI run, which may be on the test merge commit, or the ultra-yolo gate item 2) established the result; the poll never overrides verified evidence.
    • Step 5 Files add practices.md, whose Recover after compaction matches the Landing: line of Code pass.

    Rejected: none.

    Redesigned: none.

  14. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 20, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 73), Step repairs (line 101) - Step 5 no longer stops on none, but the new unconditional stop can still override verified evidence. SoT/.omp/plugin/skills/yolo/SKILL.md:237-247 permits reuse of a verified run for the same head and base, and SoT/.omp/plugin/skills/ci-speed/references/github-actions.md:86-93 accepts Full CI on the test merge commit. Inference: if all applicable checks are verified complete but every gh pr checks query fails or times out, the redesign leaves the PR open without reaching the remaining landing gates. The missing poll result does not mean a check is unfinished - Let existing verification complete the wait before the cutoff when it establishes that every check the run must wait for has finished. Keep the cutoff for unresolved checks and leave the final ultra-yolo gate order unchanged - class: progress cutoff overrides authoritative check evidence

    Previous findings:

    • Round-19 finding on Research T6 check wait (line 73), Step repairs (line 101), progress cutoff overrides authoritative check evidence: open - repeated above
    • Round-19 finding on Research T6 check wait (line 73), Step repairs (line 101), evidence exception does not resolve the outstanding check: resolved - The redesign removes the exception that let required-check success bypass a still-pending optional check. A last classified pending result now stops every landing path at the cutoff.

    Manager response to round 19

    Repaired:

    Redesigned:

    • Cutoff stop (rounds 18 and 19 found gaps in its exception path): the stop now has no exception path. At the 60-minute cutoff, a last classified poll of pending, or no classified poll, leaves the pull request open without a merge question, and every landing path honors it before any later gate. This only enforces main's rule to wait for every check to finish. A none result follows main's rules unchanged, so the poll adds no stop for it, and verified evidence on the test merge commit is read by the existing landing procedure as before. Step 5 now refers to the T6 rule and holds no separate copy.

    Rejected: none.

    Redesigned: none.

  15. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 21, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 73), Step repairs (line 101) - The stop is fail-safe, but the rejection’s premise is false: a failed gh pr checks request does not make the other gh reads unavailable. The poll uses a distinct GraphQL rollup query, and GitHub documents per-query timeouts and resource limits. SoT/.omp/plugin/skills/ci-speed/references/github-actions.md:69-93 verifies Full CI with separate REST reads and a targeted gh pr view. Inference: if only the rollup query keeps timing out and independent evidence proves every applicable check finished successfully, the plan still stops before the remaining landing gates - Let verified evidence for every applicable check complete the wait before the cutoff. Keep the stop when any check remains unverified, and leave all merge gates unchanged - class: progress cutoff overrides authoritative check evidence

    Previous findings:

    • Round-20 finding on Research T6 check wait (line 73), Step repairs (line 101): open - repeated above

    Manager response to round 20

    Repaired:

    Rejected:

    • Round 20, Research T6 check wait and Step repairs (no classified poll while verified evidence exists): the stop is fail-safe and only leaves the pull request open; it never merges. A run whose every gh pr checks query fails or times out for 60 minutes cannot read GitHub check state through the same gh client that each later gate (the verified Full CI read, the ultra-yolo item 2 read, the pre-merge gh pr view) needs, so reaching those gates gains no safe landing. Leaving the pull request open is the conservative reversible action (base instructions, Asking me things). This class returned in rounds 18, 19, and 20 as a liveness edge case; the round-19 redesign removed the exception path on purpose.

    Rejected: none.

    Redesigned: none.

  16. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 22, delta

    Plan-review: repair

    • goal_fit - Research T6 check wait (line 73), Step repairs (line 101) - Research allows independent evidence only when no poll was classified. The step also allows it after a pending result. Inference: if one poll returns pending, later polls time out, and an independent read confirms success, the shared rule stops but the step lets landing proceed. SoT/.omp/plugin/skills/yolo/SKILL.md:267-281 uses the shared contract to decide when to proceed to the merge question - Make the step refer to the shared cutoff rule and preserve the exception only when no poll was classified - class: conflicting cutoff exception scope
    • research_gap - Research T6 check wait (line 73), Step repairs (line 101) - The fallback lists a paginated head check-runs read as an alternative source for proving every applicable check finished. The CLI rollup includes commit statuses, which GitHub exposes through a separate endpoint. If the rollup is unavailable, a successful check run on the head does not reveal a failed external commit status. The fallback provides no way to establish coverage from that read alone, but SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:948-953 requires every check to finish and blocks the merge question on failure - Treat the head read as partial evidence. Complete the wait only when the independent procedure establishes coverage and results for all applicable checks and commit statuses - class: partial check evidence offered as a complete fallback

    Previous findings:

    • Round-21 finding on Research T6 check wait (line 73), Step repairs (line 101): resolved - Both now allow independently verified results to complete the wait when every poll fails, without changing the later merge gates.

    Manager response to round 21

    Repaired:

    • The round-20 rejection is withdrawn: its premise was false. Before the stop for no classified poll, independent verified evidence (the repository landing procedure, for this kit the verified Full CI read, or a paginated check-runs read for the head) that every applicable check finished with no failure completes the wait; a check that stays unverified keeps the stop; every merge gate stays unchanged.

    Rejected: none.

    Redesigned: none.

  17. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Plan review round 23, delta

    Plan-review: pass

    None.

    Previous findings:

    • Round-22 finding on Research T6 check wait (line 73), Step repairs (line 101): resolved - Step 5 now refers to the shared cutoff rule. Independent evidence can complete the wait only when no poll was classified, not after a pending result.
    • Round-22 finding on Research T6 check wait (line 73), Step repairs (line 101): resolved - The fallback requires evidence that every applicable check and commit status finished without failure. A head check-runs read alone does not qualify, and unverified results still stop landing.

    Manager response to round 22

    Repaired:

    • Step 5 now refers to the T6 cutoff rule and holds no copy; the exception applies only when no poll was classified.
    • The exception accepts only the repository landing procedure (for this kit, the verified Full CI read) when it establishes the coverage and the result of every applicable check and commit status; a partial read such as head check runs alone is not such evidence.

    Rejected: none.

    Redesigned: none.

  18. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 2, delta

    Code-review: pass

    Previous findings

    • Round-1 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:758-775: open - ordinary quoted keys and uninterrupted lists are fixed; escaped keys and lists interrupted by comments still fail. See Standards and Spec.
    • Round-1 finding on .agents/skills/verify/scripts/omp-smoke.ts:2036-2040,2170-2180: fixed - an empty expected body cannot reach the substring check at omp-smoke.ts:2159-2161,2212-2222.
    • Round-1 finding on .agents/skills/verify/scripts/omp-smoke.ts:2036-2040,2141-2144,2172-2180: open - CRLF is fixed, but omp and the smoke still differ on lone carriage returns. See Standards.
    • Round-1 finding on .agents/skills/verify/scripts/omp-smoke.ts:2108,2128-2164: fixed - omp-smoke.ts:2040-2043,2150 disables background task execution for this mode.
    • Round-1 finding on cli/test/unit/plan/base-instructions.test.ts:431-448,493-513: fixed - base-instructions.test.ts:518-527 runs twice in one fixture and checks both folders and manifests.
    • Round-1 finding on .agents/skills/review-benchmark/tests/prepare-variants.test.mjs:127-141: fixed - prepare-variants.test.mjs:103-126,163-164 adds the camel-case keys at a variant ref and checks the generated file directly.
    • Round-1 finding on plan-contract.md:1021-1024, yolo/SKILL.md:78: fixed - plan-contract.md:1040-1044 and yolo/SKILL.md:78 require a trusted landing response for the reviewed head.
    • Round-1 finding on plan-contract.md:210-226,1616-1621: fixed for the reported MEDIUM scenario - plan-contract.md:219-233 makes a non-landing ceiling pass a shared stall and requires an extension.
    • Round-1 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:756-772: open - a YAML comment can still leave part of a removed list behind. See Spec.
    • Round-1 finding on .agents/skills/verify/scripts/omp-smoke.ts:2036-2040,2117-2120,2170-2179: open - missing files and the LF-terminated empty fixture are handled separately, but a closing fence at end of file still bypasses the empty-body diagnosis. See Spec.
    • Round-1 finding on plan-contract.md:503-519,1022-1023, yolo/SKILL.md:78,135, ultra-yolo/SKILL.md:108-109: fixed - the adoption and checklist paths require the exact-head landing record, and plan-contract.md:519-525 excludes open Security findings even at the ceiling.
    • Round-1 finding on plan-contract.md:1043-1054,1067-1071: fixed - plan-contract.md:1063-1075 treats the poll as progress only, not merge evidence.
    • Round-1 finding on plan-contract.md:543-553: fixed - plan-contract.md:562-571 requires a successful comment read and an ownership check before creation, then another ownership check before posting.
    • Round-1 finding on plan-contract.md:215-224,525-534,1616-1620: fixed for the reported no-grant MEDIUM scenario - plan-contract.md:219-233 provides the shared stall route.
    • Round-1 finding on SoT/.omp/plugin/skills/code-reviewer/SKILL.md:185-191: fixed - SKILL.md:183-191 separates the reviewer's reach search from the manager's landing decision and names the Security exclusion.
    • Round-1 finding on .agents/skills/verify/SKILL.md:123,138: fixed - those lines now describe skill delivery and removal of either spelling of the declaration.
    • Round-1 finding on .agents/skills/verify/scripts/omp-smoke.ts:2035-2039,2170-2179: fixed - omp-smoke.ts:2078-2081,2212-2222 rejects the empty expected body before matching messages.
    • Round-1 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:759-771: open - valid double-quoted keys with YAML escapes can still survive copying. See Standards.

    Standards

    • [MEDIUM] Bug - SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:541-549, SoT/.omp/plugin/skills/plan-manager/references/practices.md:412-414 - If a run resumes after the branch advances from reviewed head A to unreviewed head B, the new marker check correctly rejects A's landing record. It then tells the manager to apply Code pass to A's old round. Inference: a clean pass on A can only produce another record for A, so following the recovery instruction cannot complete review on B. - Resume adjudication only when the recorded round reviewed the current head. Dispatch a fresh round when the head differs or cannot be established. - class: stale review resumed for a changed head
    • [LOW] Bug - .agents/skills/review-benchmark/scripts/prepare.mjs:758-765,788-790 - Unreached: the shipped agents, the baseline/candidate and variant fixtures, and the documented benchmark examples do not use escaped keys. Omp's YAML parser reads "\u0061utoloadSkills" as autoloadSkills, but frontmatterKey turns it into u0061utoloadSkills and retains the entry. The same applies to escaped model and effort keys. Inference: the generated reviewer can then load the installed skill or keep the source effort. - Compare parsed YAML keys when removing fields. Preserve the body except for the intended skill path rewrites. - class: line-based filter misses valid YAML keys
    • [LOW] Bug - .agents/skills/review-benchmark/scripts/prepare.mjs:758-765,810-817 - Unreached: the two vendored bundled agents and the bundled test inputs use bare tools: keys. If a vendored agent declares "tools": read, grep, the new matcher accepts that key, but the fixed-width slice starts inside the quoted key. Inference: the rewritten tools value is invalid YAML and read no longer parses as a tool. Before the delta, this path refused the unsupported spelling rather than writing a broken copy. - Keep the bundled reader's original key restriction or read its tools value from a parsed entry. - class: parsed key paired with a fixed-width value slice
    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2049-2054,2183-2186,2212-2222 - Unreached: the shipped agent and skill files and the documented agents fixtures use LF. For an alternate checkout with lone carriage returns, omp's frontmatter reader normalizes \r\n? to LF, but the smoke normalizes only CRLF. Inference: a successful delivery can fail the body comparison. - Normalize both newline forms before extracting and comparing the expected body. - class: mismatched newline normalization
    • [LOW] Bug - .agents/skills/verify/scripts/omp-smoke.ts:2049-2051,2066-2070,2159-2161,4175-4177 - Unreached: the shipped inputs and the documented missing-file and empty-body cases do not place a directory at an expected Markdown path. If an alternate checkout has such a directory, existsSync succeeds and readFileSync throws on the supported smoke hosts. The top-level handler prints one generic failure before the other reviewer is checked. - Report expected file read errors as problems for the named agent and continue checking the other one. - class: per-agent read failure aborts the batch

    Spec

    • [MEDIUM] Spec - SoT/.omp/plugin/skills/yolo/SKILL.md:268-273, SoT/.omp/plugin/skills/ultra-yolo/SKILL.md:147 - If every poll fails but the repository's landing procedure has verified that all applicable checks and commit statuses passed, yolo step 6 still orders an unconditional stop. Ultra-yolo inherits the step. plan-315-cr2.md:73,101 allows that evidence to complete the wait before the no-classified-poll stop and requires yolo Landing to honor the exception. - Refer to the shared cutoff rule instead of restating it without the exception. Keep pending results ineligible for the exception. - class: landing wrapper omits cutoff exception
    • [MEDIUM] Spec - SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:1063-1064,1077-1084,1095-1102 - If a configured check first appears at minute seven, the shared instructions give the manager no explicit transition from none at minute five to continued polling. The none branch refers back to the five-minute wait and the no-configured-checks fallback. Inference: a run can stop at minute five even though plan-315-cr2.md:73 says “otherwise the wait goes on until 60 minutes from the same start.” - State when to move from the appearance cutoff to the finish cutoff. Require separate proof before using the no-configured-checks fallback. - class: missing transition between polling cutoffs
    • [MEDIUM] Spec - SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:219-233,536-539 - When a round-10 pass contains a finding that the manager rerates CRITICAL, Code pass still orders “another round in every round.” That conflicts with the shared stall rule. plan-315-cr2.md:55,119 explicitly requires a fix and allows another round only if the stall rule extends the ceiling in this scenario. - Send all non-landing passes through the shared repair and stall rule. Remove the unconditional instruction to dispatch another round. - class: unconditional redispatch conflicts with the round ceiling
    • [LOW] Spec - .agents/skills/review-benchmark/scripts/prepare.mjs:767-790 - Unreached: the shipped agents, benchmark fixtures, and documented agent examples do not put a first-column comment inside a list. YAML permits that comment between list items. The scanner starts a new entry at the comment, so removing autoloadSkills leaves the later items in the generated frontmatter. Inference: omp can reject that frontmatter or read the remaining items as part of another value. plan-315-cr2.md:101 requires removal of complete entries by key, including block-list forms. - Use YAML entry boundaries to remove the full value, and exercise a commented list in the copy fixture. - class: line-based removal leaves orphan list items
    • [LOW] Spec - .agents/skills/review-benchmark/tests/prepare-agents.test.mjs:292-295 - The baseline and candidate fixtures use quoted keys and block lists on different entries. A regression that strips a quoted scalar and a bare list but leaves a quoted list would pass. plan-315-cr2.md:112 requires “a quoted "autoloadSkills": key whose value is a block list” in both inputs. - Give the quoted autoloadSkills entry a block-list value on both sides. Keep the parsed-output and leftover-item assertions. - class: missing combined YAML fixture
    • [LOW] Spec - .agents/skills/verify/scripts/omp-smoke.ts:2049-2054,2066-2081,2212-2222 - If the documented frontmatter-only red case ends at the closing --- without a newline, markdownBody treats the whole header as a nonempty skill body. Omp accepts that closing fence and strips it. Inference: the smoke reports missing delivery rather than an empty skill body, contrary to the reason required by plan-315-cr2.md:116. - Accept the closing fence at end of file and report the missing body before dispatch. - class: empty body misclassified at end of file

    Manager response to round 1

    Repaired (commit 0fd9897, plan step 5 repairs; the plan edit passed plan review in round 23):

    • Round 1, text-and-safety, plan-contract.md raw verdict bypasses the landing gate; spec-and-tests, phase table and checklist: a landing pass response holds Landing: Code pass item <i>, reviewed head <sha>; the yolo Run order, adoption, recovery (practices.md), ultra-yolo startup, and the Checklist code-review item count code review done only with code=pass and that line for the current head. An open Security finding never lands, also at the ceiling.
    • Round 1, text-and-safety, partial check list treated as merge evidence: the poll is progress only and is never merge evidence. Main's rule stays: the question comes after every check finishes. At the 60-minute cutoff, a pending or unclassified state leaves the pull request open without a merge question; only when no poll was classified can the repository's own landing procedure complete the wait, and only with coverage of every applicable check and commit status.
    • Round 1, text-and-safety, ownership check follows publication: the comment check runs before the follow-up create and again before the post; on resume, creation needs a successful comment read that finds no trusted URL; a failed read creates nothing.
    • Round 1, text-and-safety and spec-and-tests, non-landing pass escapes the round ceiling: the shared review loop item 5 counts a ceiling pass that does not land as a stall; the next round runs only when an answer or the Stall rule extends the ceiling.
    • Round 1, text-and-safety, Unreached: guidance: the reviewer marks after its own reach search; the manager decides landing under Code pass, with the Security exception.
    • Round 1, text-and-safety, verify text overstates the smoke: V6 says the smoke proves skill delivery and lists three red cases.
    • Round 1, correctness, text-and-safety, and spec-and-tests, omp-smoke.ts vacuous match, CRLF, generic failure; spec-and-tests, async scheduling: each agent file and skill file is checked on its own, an empty body fails that agent, expected text is normalized to LF, and the isolated configuration turns off async.enabled. Red runs: declaration removed, agent file missing, empty skill body; each prints FAIL agent-autoload code-reviewer, ok agent-autoload plan-reviewer, and exits 1.
    • Round 1, correctness, text-and-safety, and spec-and-tests, line-based YAML removal in prepare.mjs: the frontmatter is split into top-level entries, and the keys go with their whole values in bare, quoted, and block-list forms. The fixture parses the written frontmatter in a Bun child.
    • Round 1, spec-and-tests, single-run snippet test: the snippet runs twice in one fixture; the paths differ and both manifests are readable.
    • Round 1, spec-and-tests, variant fixture without camel-case key: a variant ref holds autoloadSkills and thinkingLevel.

    Rejected: none.

    Redesigned:

    • Check evidence: plan rounds 13 to 17 found a gap in each widened merge gate (required-check inventory, classic protection, shared commit-bound rule). The plan returned to main's merge rule and replaced only the --watch example.
  19. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Code review round 3, delta

    Code-review: pass

    Previous findings

    • Round-2 finding on plan-contract.md:541-549 and practices.md:412-414: open - the shared rules require a fresh round on a changed head, but the yolo phase table still routes recovery to the old round.
    • Round-2 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:758-765,788-790: open - JSON escapes now work, but other valid YAML escapes still defeat removal. The new guard refuses the copy instead of writing it. See Spec.
    • Round-2 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:810-817: fixed - prepare.mjs:842,852-855 restores the bundled reader's bare-key restriction before the tools slice.
    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:2049-2054,2183-2186,2212-2222: fixed - omp-smoke.ts:2064 normalizes both carriage-return line endings.
    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:2049-2051,2066-2070,2159-2161,4175-4177: fixed - omp-smoke.ts:2052-2061,2082-2090,2169-2170 keeps a read failure local to the named agent.
    • Round-2 finding on yolo/SKILL.md:268-273 and ultra-yolo/SKILL.md:147: fixed - yolo/SKILL.md:268-272 delegates to the shared cutoff rule and preserves its exception.
    • Round-2 finding on plan-contract.md:1063-1064,1077-1084,1095-1102: fixed - plan-contract.md:1099-1104 explicitly continues polling from minute five to minute 60. The new fallback proof has a separate issue below.
    • Round-2 finding on plan-contract.md:219-233,536-539: fixed - plan-contract.md:536-540 makes the next round subject to the shared ceiling and stall rule.
    • Round-2 finding on .agents/skills/review-benchmark/scripts/prepare.mjs:767-790: fixed - prepare.mjs:774-784 keeps an intervening comment with its list, and prepare-agents.test.mjs:295-301,349 checks that no item or comment remains.
    • Round-2 finding on .agents/skills/review-benchmark/tests/prepare-agents.test.mjs:292-295: fixed - prepare-agents.test.mjs:295-305 uses a quoted autoloadSkills key with a block list at both the baseline ref and in the worktree.
    • Round-2 finding on .agents/skills/verify/scripts/omp-smoke.ts:2049-2054,2066-2081,2212-2222: open - the exact closing fence now works at end of file, but a closing fence with trailing spaces still gives the wrong diagnosis.

    Standards

    • [MEDIUM] Bug - SoT/.omp/plugin/skills/yolo/SKILL.md:78, SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:546-552 - When yolo adopts a branch that advanced from reviewed head A to unreviewed head B, the phase table sends the manager back to A's round. The contract now requires a fresh round on B. Inference: following the table can repeat adjudication without reviewing B. - Replace the table's recovery instruction with a reference to Code pass. - class: stale review resumed for a changed head
    • [LOW] Bug - .agents/skills/review-benchmark/scripts/prepare.mjs:793-802,834,3285-3288 - Unreached: the shipped agents, vendored agents, benchmark fixtures, and documented examples do not use ambiguous plain descriptions. An agent with description: Review: API changes was copied before this guard, and omp's frontmatter reader repairs that scalar. Inference: the new raw YAML parse rejects the source and stops agents before it writes any copies. - Match omp's supported frontmatter normalization before comparing parsed fields, while still verifying the emitted pins. - class: stricter copy parser rejects loadable input

    Spec

    • [MEDIUM] Spec - SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:205-209,542-552,558-580, SoT/.omp/plugin/skills/plan-manager/references/practices.md:409-425 - A cold resume after posting round k but before its pass response may have no record that binds k to the unchanged head. The round comment does not record that SHA, and the landing response has not been posted. Inference: recovery dispatches k+1 instead of completing the same-round resume in plan-315-cr3.md:119. If the stop came just after issue creation, the final report can also miss the unrecorded issue from k because it searches for k+1, defeating the guard at plan-315-cr3.md:63. - Record the reviewed SHA when posting each code round, without changing the reviewer blocks or verdict parsing. Use that record on recovery and retain the fresh-round rule for changed or unknown heads. - class: missing durable review head on recovery
    • [LOW] Spec - SoT/.omp/plugin/skills/plan-manager/references/plan-contract.md:1099-1109 - Unreached: the kit's Full CI and yolo's documented workflow examples do not cover a repository with only an optional external check, and the acceptance cases do not exercise one. GitHub allows external services to report commit statuses without an Actions workflow or a required check. If such a status first appears at minute seven, the new proof can select the local fallback at minute five. That conflicts with plan-315-cr3.md:73, which requires continued polling unless there are no configured checks. - Require proof that no check source is configured, including external sources, before using the local fallback. - class: incomplete proof of no configured checks
    • [LOW] Spec - .agents/skills/review-benchmark/scripts/prepare.mjs:762-771,801-805,825-834, .agents/skills/review-benchmark/tests/prepare-agents.test.mjs:355-365 - The new fixture reaches a refusal for a valid quoted key containing a YAML \x escape. The scanner leaves the key in place and the guard tells the operator to edit the source. That is not removal by parsed key as required by plan-315-cr3.md:101, and editing an old ref is not a practical recovery. - Remove the complete entries using parsed YAML keys. Make the fixture assert a usable copy with the field removed. - class: line-based filter misses valid YAML keys
    • [LOW] Spec - .agents/skills/verify/scripts/omp-smoke.ts:2063-2067,2169-2170,2221-2231 - Unreached: the shipped Markdown and documented smoke fixtures use exact closing fences, including the end-of-file fixture. If a frontmatter-only skill ends with --- and no newline, omp strips the fence, but the smoke treats the header as the expected body. Inference: it reports missing delivery instead of the empty-body reason required by plan-315-cr3.md:116. - Match omp's closing delimiter and test the empty-body diagnosis with trailing fence whitespace. - class: empty body misclassified at end of file

    Manager response to round 2

    Repaired (commit f62cdfc):

    • Round 2, plan-contract.md and practices.md, stale review resumed for a changed head: a recorded round is adjudicated only when it reviewed the current head; a changed or unknown head gets a fresh round on the current head.
    • Round 2, yolo/SKILL.md Landing step 6, landing wrapper omits the cutoff exception: the step now points to the cutoff rule of Checks and merge and keeps its no-classified-poll exception; a pending result never qualifies. Ultra-yolo inherits the step.
    • Round 2, plan-contract.md polling cutoffs: a none at five minutes moves the wait to the 60-minute cutoff on the same clock; the no-configured-checks fallback needs separate proof that the repository has no workflow and no configured required check.
    • Round 2, Code pass unconditional redispatch: removed; every pass that does not land goes through Repairs and then the ceiling and stall rule of loop item 5.
    • Round 2, prepare.mjs escaped keys, commented lists, quoted tools:: the scanner decodes JSON escapes in double-quoted keys and keeps first-column comments with their entry; a Bun.YAML guard parses both frontmatters and refuses the copy when a removed key survives, a pin reads back wrong, or another entry differs; the bundled tools: reader accepts bare keys only, as before. A key that the scanner cannot decode makes the copy refuse.
    • Round 2, prepare-agents.test.mjs combined fixture: the quoted "autoloadSkills": entry is a block list on both sides, with a comment between items and an escaped key.
    • Round 2, omp-smoke.ts lone carriage return, closing fence at end of file, per-agent read failure: both newline forms normalize to LF; a closing --- at end of file is an empty body; a read error fails only that agent.

    Rejected: none.

    Redesigned: none.

  20. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Manager response to round 3

    Landing: the round 3 pass lands under the run review policy (a pass from round 3 lands; its open findings move to one follow-up issue), reviewed head f62cdfc.

    Open findings: two MEDIUM (yolo phase table recovery text; no reviewed head in the code round comment) and four LOW, each with its rating and evidence as the round 3 block gives it. None is a Security finding.

    Follow-up issue: #316

    Repaired: none.

    Rejected: none.

    Redesigned: none.

  21. DocksDocks commented on Dec 2, 2026

    @DocksDocks
    OwnerAuthor

    Archived with landing pull request #317

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions