Skip to content

feat(scripts): report a Prime Agent release past the 0.10 its daemon was measured on - #4947

Merged
devswha merged 2 commits into
mainfrom
feat/prime-agent-drift
Nov 28, 2026
Merged

devswha merged 2 commits into
mainfrom
feat/prime-agent-drift

Conversation

@devswha

@devswha devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Change

Last part of #359, after #4939 and #4946. Both depend on Prime Agent 0.10's daemon protocol, measured on 0.10.5:

  • the ACP child gets a daemon of its own (--daemon-socket) and a shutdown scoped to it (PRIME_AGENT_DAEMON_SOCKET, PRIME_AGENT_CODING_AGENT_DIR);
  • the pane's chat proves its session through the daemon's list (protocol 7) and the TUI's direct link to its worker.

scripts/harness-drift.ts lists every agent CLI whose latest release is outside the versions Ovis's link was measured on. Prime Agent publishes no npm package, so the script now also reads a GitHub repository's latest release (github:<owner>/<repo>), and holds Prime Agent to 0.10.x. The table's column is renamed from "npm package" to "Released as".

Validation

  • bun test scripts/harness-drift.test.ts: 3 pass, including 0.10.9 inside and 0.11.0 outside the window.
  • bun scripts/harness-drift.ts live: Prime Agent's latest release (v0.10.5) is inside and adds no row; the Codex row it prints (0.172.0) was there before.
  • bun run typecheck passes. No UI, no runtime code.

…was measured on

Last part of #359. Prime Agent's ACP child (its own daemon, a shutdown
scoped to it) and its pane's chat (the daemon's `list` and direct worker
link) depend on Prime Agent 0.10's daemon protocol. scripts/harness-drift.ts
now reads Prime Agent's latest GitHub release, as it reads the others'
from npm, and lists it once a release leaves 0.10.

Refs #359
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Updates
    • Harness compatibility reporting now includes Prime Agent versions in the 0.10.x series and checks its latest GitHub release.
    • Release-source labels now clarify where each harness version comes from, including npm packages and GitHub releases.
    • Compatibility checks now distinguish Prime Agent versions within and outside the supported range.

The harness drift script now reads release versions from npm or GitHub. It adds Prime Agent with support limited to versions starting with 0.10. and tests the inside- and outside-window results.

Changes: Prime Agent drift support

Layer / File(s) Summary
Register Prime Agent and check release versions
scripts/harness-drift.ts, scripts/harness-drift.test.ts
The script accepts GitHub release sources and reads their tag_name, while retaining npm version lookup. Prime Agent is configured for versions starting with 0.10.. The drift table labels the source as “Released as,” and tests check 0.10.9, 0.11.0, and the all-harness case.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Possibly related PRs

  • devswha/ovis#4901: Creates the drift script and table that this change extends with GitHub release lookup.
  • devswha/ovis#4939: Adds the Prime Agent daemon integration whose measured version window this change tracks.
Merge Risk: Minimal · previous review a8268

This change adds Prime Agent to the harness drift report and flags it when its latest release leaves the 0.10.x range. It touches only a developer script and its tests, so production behavior is unaffected, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the harness-drift script now reports a Prime Agent release outside the 0.10.x window its daemon was measured on. It matches the raw summary and PR objectives. The titl…
Description check Passed The description follows the template's Change and Validation sections. Change explains the problem (Prime Agent 0.10 daemon protocol, measured on 0.10.5) and the resulting script behavior, and links p…
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.
Full details: Title check

Explanation

The title names the main change: the harness-drift script now reports a Prime Agent release outside the 0.10.x window its daemon was measured on. It matches the raw summary and PR objectives. The title is 84 characters, a little long but still specific.

Full details: Description check

Explanation

The description follows the template's Change and Validation sections. Change explains the problem (Prime Agent 0.10 daemon protocol, measured on 0.10.5) and the resulting script behavior, and links prior PRs. Validation lists the commands run and their results, including the test run, the live script run, and typecheck. It does not link a maintainer-agreed issue for the feature, and it does not mention the changelog.d entry or the checks skipped. The template asks for both, so the description is mostly complete but has gaps.

Resolution

Consider adding: (1) a link to the issue where a maintainer agreed to the feature, since the template asks for this for features; (2) a changelog.d/ entry if the repository requires one per CONTRIBUTING.md; (3) which checks were skipped, such as bun run check fast or full.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 0330b9c and a82680f.

Files selected for processing: 2

  • scripts/harness-drift.test.ts
  • scripts/harness-drift.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

…dow in the docs

Review round on #4947 (omo gate CLEAR, Codex via axwith: no HIGH or
MEDIUM): a test reads a release tag and a refused answer through the
GitHub path, and docs/development.md says where Prime Agent's window is
and that GitHub refuses an unsigned caller past its hourly limit.
@devswha

devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

Reviews on a82680f, fixed once in 6276ea5:

  • omo gate: CLEAR (all LOW).
  • Codex (gpt-6.2-sol-fast, xhigh, via axwith): no HIGH, no MEDIUM.

Fixed: the GitHub read had no test (a new test reads tag_name, not version, from a stubbed answer and reports a refused one as GitHub answered 403); docs/development.md now says where Prime Agent's window is and that GitHub refuses an unsigned caller past its hourly limit.

Left: the window 0.10.x also admits 0.10.0 to 0.10.4, below the measured 0.10.5; the script only looks at the latest release, which only moves forward.

@devswha
devswha merged commit 211b765 into main Nov 28, 2026
15 checks passed
@devswha

devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

Merged through pr-merge at head 6276ea5e6. Seen before the merge was asked for: required checks green, no unresolved thread, no conflict, no hold, main not red, no release in progress. CodeRabbit said it did not review (a limit or a skip) since this head.

omo gate CLEAR and Codex (gpt-6.2-sol-fast xhigh, via axwith as the team proxy is at its limit) no HIGH or MEDIUM on a82680f; one fix round in 6276ea5; owner's go for #359 (2026-11-28, via the lead's brief)

@devswha
devswha deleted the feat/prime-agent-drift branch November 28, 2026 06:55
@devswha devswha mentioned this pull request Nov 28, 2026
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