Skip to content

feat(skill): strengthen orchestration quality loop - #120

Merged
aryeko merged 4 commits into
mainfrom
fix/orchestration-quality-loop
Jul 30, 2026
Merged

feat(skill): strengthen orchestration quality loop#120
aryeko merged 4 commits into
mainfrom
fix/orchestration-quality-loop

Conversation

@aryeko

@aryeko aryeko commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add semantic-risk effort routing and concise pre-write reviewer must-cover preparation
  • require implementer proof notes, sibling checks, complete grouped review findings, and structural-defect realization restatement
  • strengthen the existing three output evals and focused trigger coverage without adding a role, gate, artifact, or ledger field

Validation

  • node --test .agents/skills/orchestrate-phase-delivery/scripts/validate-track.test.mjs
  • python3 .agents/skills/orchestrate-phase-delivery/scripts/validate_evals.py
  • python3 /Users/aryekogan/repos/agents/skills/open-skill-creator/scripts/validate_skill.py .agents/skills/orchestrate-phase-delivery
  • pnpm delivery:check
  • pnpm format:check
  • pnpm links:check
  • pnpm check
  • git diff --check

Summary by CodeRabbit

  • Documentation

    • Clarified phase delivery workflow for selecting implementer effort using semantic risk and boundedness.
    • Added explicit reviewer “must-cover” read-only preparation requirements, including required proof evidence.
    • Improved review guidance to report all supportable blockers grouped by root cause, with defined re-review scope.
    • Documented local vs structural defect handling while preserving existing approval/integration/ambiguity rules.
  • Tests

    • Expanded and refined evaluation prompts and expected outputs for phase readiness, candidate refresh, and review loops (including authorization and recovery scenarios).

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@aryeko, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 44 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3b258538-7a7b-4965-8ead-8e6bf70ca0ce

📥 Commits

Reviewing files that changed from the base of the PR and between a8a9652 and 6f15663.

📒 Files selected for processing (1)
  • .agents/skills/orchestrate-phase-delivery/evals/evals.json
📝 Walkthrough

Walkthrough

The phase-delivery skill now classifies implementer effort by semantic risk, forwards read-only reviewer must-cover bullets before implementation, requires complete grouped candidate reviews, and updates supporting protocol, design, evaluation, and trigger documentation.

Changes

Orchestration quality loop

Layer / File(s) Summary
Effort classification and reviewer preparation
.agents/skills/orchestrate-phase-delivery/SKILL.md, .agents/skills/orchestrate-phase-delivery/references/phase-protocol.md, .agents/skills/orchestrate-phase-delivery/implementer-review-design.md, .agents/skills/orchestrate-phase-delivery/README.md
Effort selection now uses semantic risk and boundedness, while reviewer-prepared invariant, source, and proof bullets are included in the implementer handoff without adding artifacts or ledger fields.
Candidate review and correction loop
.agents/skills/orchestrate-phase-delivery/SKILL.md, .agents/skills/orchestrate-phase-delivery/references/phase-protocol.md, .agents/skills/orchestrate-phase-delivery/implementer-review-design.md
Candidate-bound reviewers complete the supportable inspection pass, group blockers by root cause, specify re-review scope and evidence limits, and distinguish local remediation from structural correction.
Evaluation coverage for orchestration semantics
.agents/skills/orchestrate-phase-delivery/evals/evals.json, .agents/skills/orchestrate-phase-delivery/evals/trigger_queries.json
Evaluation prompts, assertions, and trigger queries now cover authorization, semantic-risk effort, reviewer handoff, complete review findings, recovery, and correction paths.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: strengthening the orchestration quality loop in the skill.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/orchestration-quality-loop

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ce23d3e7c9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .agents/skills/orchestrate-phase-delivery/evals/evals.json Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/skills/orchestrate-phase-delivery/evals/evals.json:
- Around line 6-18: Expand the assertions in the phase-start evaluation case to
require ledger initialization, initial admission of GF-011, GF-012, and GF-013,
and no new reviewer, planning gate, package review, digest approval, external
activation issue, or ledger field. Add candidate-refresh assertions requiring a
newly committed post-rebase candidate, execution of every applicable check with
ledger evidence, and same-reviewer incremental re-review before acceptance.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b194ec0b-8f7c-46ee-91db-d0606a907cb3

📥 Commits

Reviewing files that changed from the base of the PR and between e5be56f and d31bd12.

📒 Files selected for processing (6)
  • .agents/skills/orchestrate-phase-delivery/README.md
  • .agents/skills/orchestrate-phase-delivery/SKILL.md
  • .agents/skills/orchestrate-phase-delivery/evals/evals.json
  • .agents/skills/orchestrate-phase-delivery/evals/trigger_queries.json
  • .agents/skills/orchestrate-phase-delivery/implementer-review-design.md
  • .agents/skills/orchestrate-phase-delivery/references/phase-protocol.md

Comment thread .agents/skills/orchestrate-phase-delivery/evals/evals.json

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.agents/skills/orchestrate-phase-delivery/evals/evals.json (1)

19-20: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Enforce the reviewer no-checks boundary across preparation and re-review.

The assertions require read-only reviewers but do not explicitly prohibit running checks. The protocol requires reviewers to remain read-only and never run checks, repair evidence, or mutate repository/provider state.

  • .agents/skills/orchestrate-phase-delivery/evals/evals.json#L19-L20: require the pre-write reviewer to produce bullets without running checks or mutating state.
  • .agents/skills/orchestrate-phase-delivery/evals/evals.json#L36-L36: require the same reviewer’s post-rebase incremental pass to retain that boundary.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.agents/skills/orchestrate-phase-delivery/evals/evals.json around lines 19 -
20, The reviewer assertions must explicitly preserve the read-only, no-checks
boundary during both preparation and post-rebase re-review. In
.agents/skills/orchestrate-phase-delivery/evals/evals.json lines 19-20, require
the pre-write reviewer to produce must-cover bullets without running checks,
repairing evidence, or mutating repository or provider state; apply the same
requirement to the reviewer’s incremental pass at lines 36-36.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/skills/orchestrate-phase-delivery/evals/evals.json:
- Line 36: Update the rebase requirement assertion in the applicable eval entry
so same-reviewer incremental re-review explicitly preserves the no-checks
boundary: require the reviewer to remain read-only and not run checks during
that pass, alongside the existing candidate, required-check, ledger-evidence,
and re-review requirements.
- Around line 13-14: Update the assertions for the GF-012 scenario in the
evaluation entry to require that GF-012 reaches a terminally blocked state, not
merely that a block is localized. Preserve the existing capacity and exclusion
assertions while adding an explicit check for the terminal blocked status.

---

Outside diff comments:
In @.agents/skills/orchestrate-phase-delivery/evals/evals.json:
- Around line 19-20: The reviewer assertions must explicitly preserve the
read-only, no-checks boundary during both preparation and post-rebase re-review.
In .agents/skills/orchestrate-phase-delivery/evals/evals.json lines 19-20,
require the pre-write reviewer to produce must-cover bullets without running
checks, repairing evidence, or mutating repository or provider state; apply the
same requirement to the reviewer’s incremental pass at lines 36-36.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8e11bcdd-87d4-4a12-b0a4-577a62e1cdf0

📥 Commits

Reviewing files that changed from the base of the PR and between d31bd12 and a8a9652.

📒 Files selected for processing (1)
  • .agents/skills/orchestrate-phase-delivery/evals/evals.json

Comment thread .agents/skills/orchestrate-phase-delivery/evals/evals.json
Comment thread .agents/skills/orchestrate-phase-delivery/evals/evals.json Outdated
@aryeko
aryeko merged commit dfc5af4 into main Jul 30, 2026
2 checks passed
@aryeko
aryeko deleted the fix/orchestration-quality-loop branch July 30, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant