Skip to content

feat(harness): add prime to the canonical harness enum - #126

Merged
drewstone merged 1 commit into
mainfrom
feat/prime-harness-enum
Aug 6, 2026
Merged

feat(harness): add prime to the canonical harness enum#126
drewstone merged 1 commit into
mainfrom
feat/prime-harness-enum

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What

"prime" (PrimeIntellect prime-agent, the RLM fork of the pi line) joins HarnessType / harnessTypeSchema, with:

  • Reasoning set: none…ultracode — the fork's --thinking accepts off|minimal|low|medium|high|xhigh|max (verified in the fork's cli/args.ts at v0.7.0); same expressible set as the current pi entry.
  • System-prompt controls: replace + append (--system-prompt / --append-system-prompt verified in the fork).
  • Router-backed: no provider lock — its models.json custom-provider path runs any OpenAI-compatible endpoint.
  • Deliberately distinct from pi: the fork's wire protocol has diverged (daemon schema rev 8→13 with connect-time rejection of pi-line clients), so the two are not interchangeable at run time — documented in the enum's comment.

Changeset: minor.

Why now

Unblocks first-class backend.type: "prime" registration downstream: agent-dev-container#4921 (sdk-provider-prime, ships with the registration path documented against this enum) and the cli-bridge prime backend (drewstone/cli-bridge#122), which accepts a future harness: 'prime' profile pin by structural comparison so it needs no code change when this lands.

Proof

  • agent-interface: 347/347 tests pass, tsc --noEmit clean.
  • The pinned system-prompt-owners test and the canonical-set test were widened deliberately (that is their purpose).
  • git merge-tree --write-tree origin/main HEAD → clean.

@tangletools tangletools 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.

✅ Auto-approved drewstone PR — 235d86be

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-08-06T08:49:13Z

@drewstone
drewstone merged commit d8020a5 into main Aug 6, 2026
1 check passed
@drewstone
drewstone deleted the feat/prime-harness-enum branch August 6, 2026 09:03
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.

2 participants