Repository navigation
feat: extend Ultra harness mode across supported runtimes - #155393
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 23, 2026, 3:47 AM ET / 07:47 UTC (Revision 7). ClawSweeper reviewWhat this changesExtends Ultra planning and verification guidance across supported runtimes while translating provider reasoning effort through each configured model’s capabilities. Merge readiness✅ Ready for maintainer review The PR remains useful, and the previous configured-capability finding is resolved. No blocking correctness or security defect was identified; current main still lacks the broader Ultra behavior. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s thinking controls turn chat and session preferences into agent runtime settings. This change separates Ultra’s execution guidance from provider effort settings before requests reach embedded agents, CLI backends, or cloud workers. flowchart TD
A[Chat or session thinking choice] --> B[Runtime and configured model profile]
B --> C{Ultra selected}
C -->|Host runtime| D[Turn guidance and supported provider effort]
C -->|Native Codex| E[Native Ultra policy]
D --> F[Embedded agent, CLI, or worker]
E --> G[Provider request and agent response]
F --> G
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +175, Tests +603, Docs +1. Total +779 across 73 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep Ultra as an explicit runtime mode, with provider-owned effort lowering and unchanged tool authorization. Do we have a high-confidence way to reproduce the issue? Not applicable as a feature request; current-main source confirms the existing Ultra restriction. Runtime behavior was not executed during this review. Is this the best way to solve the issue? Yes. Separating harness guidance from provider effort reuses the existing capability owner and native Codex policy without adding provider fields or configuration knobs. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4875b96d5b8d. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
466d571 to
a19b600
Compare
Keep the full Gateway assertions while isolating observed native efforts from known model capability floors. Use an unsupported native effort in the compaction clamp fixture now that Ultra is a supported harness mode.
Compose configured model overrides with captured catalog rows for CLI and cloud execution in omitted, merge, and replace modes. Keep route-bound capabilities with their transport owner, including when applying a previously unspecified route.
|
Merged via squash.
|
…d-reasoning tests green (#156565) Operator authority currency no longer folds the caller's own abort signal into assertCurrent, so a caller-aborted direct completion settles through the provider result again instead of rejecting after the stream ended (regressed in #156346). The isolated reasoning validation fixture uses max, which stays unsupported for the host-resolved model now that Ultra is a harness mode on every runtime (#155393). Co-authored-by: Peter Steinberger <[email protected]>
…55393) * feat: extend Ultra harness mode across supported runtimes * fix: preserve Ultra across model capability boundaries * test: align remaining session fixtures with Ultra harness mode * test: bind Ultra session fixture to prepared provider policy * test: align Ultra capability fixtures Keep the full Gateway assertions while isolating observed native efforts from known model capability floors. Use an unsupported native effort in the compaction clamp fixture now that Ultra is a supported harness mode. * fix: honor configured Ultra capabilities across runtimes Compose configured model overrides with captured catalog rows for CLI and cloud execution in omitted, merge, and replace modes. Keep route-bound capabilities with their transport owner, including when applying a previously unspecified route.
…d-reasoning tests green (openclaw#156565) Operator authority currency no longer folds the caller's own abort signal into assertCurrent, so a caller-aborted direct completion settles through the provider result again instead of rejecting after the stream ended (regressed in openclaw#156346). The isolated reasoning validation fixture uses max, which stays unsupported for the host-resolved model now that Ultra is a harness mode on every runtime (openclaw#155393). Co-authored-by: Peter Steinberger <[email protected]>
… lists
- run.continuation-integration.test.ts: 54/54. It was 13/54 at L4 and 14/54
here, and was never in the designation sweep; Mode-B run 36744770200
found it.
- Routed to the database-worker lane: the lifecycle-admission case now
reaches shared state.
- Overflow-recovery cases build attempt results through the harness
fixture, which now uses a per-case session id; they had hard-coded
"test-session".
- Model routing follows upstream 7f61c6c (openclaw#155393): Ultra is a
harness mode and lowers to the model's highest native effort.
- "keeps Ultra logical" now runs on a model that supports max; both
original assertions are kept.
- "revalidates Ultra after a model hook" now expects the attempt to keep
ultra. The old xhigh check moved to the runtime-plan call. Flagged for
review.
- Failover status assertion matches upstream's
resolveFailoverStatus(reason, code) signature.
- Doctor: upstream's blocked-receipts and update-dry-run-state tests expect a
43-entry step list.
- Our TaskFlow custody-import step exists only when legacy rows exist, so it
no longer sits in the unresolved blocked layout. When detection is
blocked, the rows stay and the next Doctor or startup run imports them.
- Our wiring moved to state-migrations.continuation-custody.ts; the step
runs without file detection, so startup import is kept.
- state-migrations.doctor.ts is 5 counted lines over its grandfathered size;
the L6 line-cap lane handles that.
No assertion, timeout or test case was weakened or removed.
Refs #1408
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fq5EX9ESA3CG9cuZxVoKAK
Closes #155391
What Problem This Solves
Ultra was coupled to a model's maximum provider reasoning effort, preventing consistent planning, verification, and delegation behavior across runtimes. Configured model routes could also inherit stale native-effort capabilities from a different catalog route.
Resulting Behavior
maximumalias resolves tomax.Verification
Candidate:
db49d43ddca55a2cf4f4e2dd49912b09077fdb88, integrated tree951475301c46367d72ac3da25dd211c28f4f6370, based on main8f531df7080d113ac5f1c6a6926736d405fd6094.These are deterministic boundary tests, not authenticated provider inference. No new provider API field, configuration option, or dependency is introduced by this feature. Delta against the integrated main: production +269/-94; tests and test support +1183/-580; documentation +6/-5. Production growth provides the shared harness guidance and profile-owned runtime effort lowering.