Skip to content

feat(provider-core): the standing text leaves review method to skills - #1293

Merged
Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1283-review-method-to-skills
Nov 28, 2026
Merged

Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1283-review-method-to-skills

Conversation

@Jacksondr5

Copy link
Copy Markdown
Owner

Problem

Closes #1283. One line of J5's standing instructions (packages/provider-core/src/j5/orchestrationInstructions.ts) set out a whole review method: a new delegate_task every round, a set list of what the brief carries, one taskId per round, and fixing small findings yourself. That contradicts the council skill Jackson changed on 2026-11-28, which keeps the same reviewers across rounds where it can, such as Crew seats. Review method is workflow and belongs in skills, not in the tool instructions every agent reads.

What changed

  • The line (wording approved by Jackson, 2026-11-28):

    • To re-check a delegate's work, start a new delegate_task; never message its thread. When told to proceed without a delegate, or to run fewer, task_cancel the extras and start no replacement.

    It doesn't name t3_thread_send: J5 hides raw send from its agents (D2), and a test asserts the J5 text never mentions it.

  • Register: a new entry, D54, plus edits to D1's J5 paragraph and Consequences and a History bullet. FORK.md case 8 now says J5 drops upstream's review method (D54).

  • Tests: orchestrationInstructions.test.ts and CodexDeveloperInstructions.test.ts pin the new line. agentContextBudget.json drops by 160 bytes to the measured sizes.

  • New J5 eval case j5-recheck-is-new-delegate (evals/j5-cli/cases/review-recheck.ndjson, guard). After a finished Sol review with two findings, "Fixed both in af85f8c, have Sol look again." must produce a new delegate_task that names both findings, and neither j5_send_message nor t3_queue. Upstream's cases check notCalls: t3_thread_send, which always passes on J5's catalog because the tool isn't listed there. This case tests what J5 agents could actually get wrong.

Evals (approved plan, 102 samples)

The runs used evals/j5-cli on the subscriptions: Claude Code with claude-sonnet-5-5 and Codex with gpt-6.1-sol, both at high effort, --catalog j5, 3 samples per case. The container has an empty home, so no review skill was loaded. Before is j5/main plus the new case only. After is this branch.

Case Claude before → after Codex before → after
j5-recheck-is-new-delegate (new) 3/3 → 3/3 3/3 → 3/3
review-round-uses-thread-send 3/3 → 3/3 3/3 → 3/3
review-followup-ask-sol-to-confirm 3/3 → 3/3 3/3 → 3/3
review-round-per-bot-nit 3/3 → 3/3 3/3 → 3/3
stale-review-not-cancelled-on-ship 2/3 → 3/3 0/3 → 1/3
too-many-delegates-cancel-extras 3/3 → 3/3 3/3 → 3/3
stop-all-delegates-uses-task-cancel 3/3 → 3/3 3/3 → 3/3
restart-delegate-with-full-access 3/3 → 3/3 3/3 → 3/3
opus-review-too-via-delegate 2/3 → 3/3 Claude only
Total 93% → 100% 88% → 92%
  • No case regressed. Fixing small findings yourself and carrying the prior findings into a re-review both held without the skill.
  • Codex stale-review-not-cancelled-on-ship failed before the change too. Sol reads "use delegate_task for sol please… just file the PR" as a request to start a new review: it starts one, cancels that new task, and never cancels task-1. The wording change doesn't cause it, and it improved 0/3 → 1/3.

Usage. Dollar figures are Claude Code's API-price estimates; the runs were billed to the subscriptions.

Run Agent tokens (input / cached / output) Claude API price Shell simulator (Haiku)
before, Claude 335,701 / 2,812,211 / 35,264 ≈ $2.30 ≈ $0.04
before, Codex 509,912 / 2,750,592 / 25,451 — ≈ $0.10
after, Claude 305,536 / 2,670,999 / 32,688 ≈ $2.31 ≈ $0.05
after, Codex 426,626 / 2,709,632 / 21,995 — ≈ $0.10

vp run check:changed passes after the rebase onto j5/main.

Upstream impact

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior: the pinned-text tests, plus before and after evals on both harnesses
  • UI changes: none
  • Live testing: not applicable (standing text; the evals cover it)
  • Upstream-owned files: none edited; the FORK.md case 8 text is updated
  • Upstream product: the divergence is register D54, decided by Jackson (Orchestration text: let a re-review reuse its reviewer (match the council skill) #1283)
  • Surfaces: every harness reads this text; Claude and Codex were evaluated
  • Docs: the register is rewritten (D1, D54, History)

Claude Opus 5.5 in Claude Code (J5 Code).

🤖 Generated with Claude Code

Jacksondr5 and others added 2 commits November 28, 2026 17:32
J5 hides t3_thread_send, so upstream's review re-check cases can't catch an
agent that messages a finished delegate's thread. This J5 case can.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The standing text told every agent how to run a review: a new delegate each
round, what its brief carries, and which findings to fix itself. That is
workflow, and it contradicted review skills that keep the same reviewers
across rounds. Keep only the tool rule: re-check a delegate with a new
delegate_task, never a message into its thread, and cancel extras with no
replacement. Register D54 records the divergence from upstream.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Nov 28, 2026 10:34pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5d8c14e and 6320a2f.

Files selected for processing: 7

  • FORK.md
  • apps/server/src/provider/CodexDeveloperInstructions.test.ts
  • apps/server/src/provider/agentContextBudget.json
  • docs/j5/product/upstream.md
  • evals/j5-cli/cases/review-recheck.ndjson
  • packages/provider-core/src/j5/orchestrationInstructions.test.ts
  • packages/provider-core/src/j5/orchestrationInstructions.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Nov 28, 2026
@Jacksondr5
Jacksondr5 enabled auto-merge (squash) November 28, 2026 22:38
@github-actions github-actions Bot added the size:S 10-29 effective changed lines (test files excluded in mixed PRs). label Nov 28, 2026
@Jacksondr5
Jacksondr5 merged commit 97db7c4 into j5/main Nov 28, 2026
39 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/1283-review-method-to-skills branch November 28, 2026 22:57
Jacksondr5 added a commit that referenced this pull request Nov 28, 2026
Jacksondr5 added a commit that referenced this pull request Nov 28, 2026
…ed persona once (#1290)

* feat(j5): anyone who can write to the asking thread can allow a refused persona once

A Collaborator who drives a thread can already @persona any persona there,
but only an Owner could press "Allow this once" on that thread's agent's
blocked pick. allowPersonaOnce now needs operate scope, and the server lets
through whoever writes to the thread of the agent that asked; anyone else
is refused. The grant still records who granted it. Model-facing text,
the personas contract and the user guide say who can allow it.

Closes #1284

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(fork): record the agent context budget after #1284's wording

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(j5): the access gate lets a narrowed Collaborator reach allowPersonaOnce

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(evals): an agent asks the person driving its thread about a refused persona

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(fork): re-measure the agent context budget after #1293

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — 6320a2f7 Deployed Nov 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Orchestration text: let a re-review reuse its reviewer (match the council skill)

1 participant