Skip to content

chore(gauntlet): qualify against Oh My Pi 19.2.0 - #8563

Open
Vyeche wants to merge 1 commit into
mainfrom
chore/qualify-omp-19-2-0
Open

Vyeche wants to merge 1 commit into
mainfrom
chore/qualify-omp-19-2-0

Conversation

@Vyeche

@Vyeche Vyeche commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

What

Qualify the Gauntlet exact-continuation job against Oh My Pi 19.2.0, released 2026-11-25. The pin is currently 19.1.0 (#8265).

Lock change

  • How it was rebuilt: npm 12.0.0, the version the CI job installs, with npm install --package-lock-only --ignore-scripts after updating the pin.
  • What changed: the 18 @oh-my-pi/* entries and the root dependency move 19.1.0 → 19.2.0. No package was added or removed. The only other change: @oh-my-pi/pi-tui no longer lists omptype, pi-agent-core, pi-ai, pi-catalog and snapcompact as dependencies. All five stay in the lock through other @oh-my-pi packages.
  • Verifier: scripts/ci/verify_pi_exact_continuation.py now expects 19.2.0 and its integrity. The integrity in the new lock matches the registry's dist.integrity for 19.2.0, and verify_lock() passes on the new lock locally.

Why it's worth CI's attention

19.2.0 moves extension UI to the host's @oh-my-pi/pi-tui. That is the API Guard's Oh My Pi extension uses for its approval wait view (runOmpInteractiveContinuation in pi_extension_render.v1.json). Checked against the 19.2.0 sources:

  • The custom UI factory is still (ui, theme, keybindings, done). Guard reads done from the fourth argument.
  • The view Guard returns is a plain object with render, handleInput and dispose. That still matches ExtensionRows, and ExtensionRender accepts it.
  • overlay: true is still an ExtensionCustomOptions field. Only the pi-tui overlay options were removed.
  • Removed APIs: Guard doesn't import any pi-tui package, and doesn't use setEditorComponent, getEditorComponent, describeCall/describeResult or onHandle.

Other 19.2.0 changes near what Guard sees. This PR doesn't change Guard for any of them:

  • Eval-defined tools are off by default (eval.tools.enabled).
  • Cross-instance agent messaging is on by default (task.crossInstance).
  • Queued input no longer cancels a running command. Interrupting with queued input now sends a running bash command or eval cell to the background.
  • Shell previews keep the real &&/|| operators and show directory changes as written.
  • --no-tools now also stops extensions from loading, and limits the model to the built-in tools named by --tools. If that list includes bash, the session runs bash without Guard's extension. This isn't new in 19.2.0: 19.1.0 already has --no-extensions ("Disable extension discovery"), which does the same with bash still available. A session started with either flag runs outside Guard's extension. Whether Guard should warn about that is a separate decision, and this PR doesn't address it.
  • The bash tool now removes a stray heredoc continuation character when it can parse the command safely, and shows a notice.

The eval sh() known gaps from #7508 are unchanged by this PR.

Not changed

  • The stable coverage record.
  • The @earendil-works/pi-coding-agent pin.

The PR is ready for CI. If the exact-continuation job finds a difference, I'll follow up here.

Move the exact-continuation pin from 19.1.0 to 19.2.0. The lock was rebuilt with npm 12.0.0; only the 18 @oh-my-pi entries change, and pi-tui drops five dependencies that other packages still pull in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: vyeche <972377+Vyeche@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The exact-continuation package pin, verifier expectations, and SDK cache test data now use @oh-my-pi/pi-coding-agent version 19.2.0.

Changes: Oh My Pi Version Update

Layer / File(s) Summary
Update version references
ci/pi-exact-continuation/package.json, scripts/ci/verify_pi_exact_continuation.py, tests/test_guard_gauntlet_qualify.py
The exact-continuation package pin, verifier version and integrity expectations, and SDK cache test data now use version 19.2.0.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to e0667 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Gauntlet exact-continuation qualification moves from Oh My Pi 19.1.0 to 19.2.0. The raw summary shows the version bumps in the package manifest, the verification s…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: the Gauntlet exact-continuation qualification moves from Oh My Pi 19.1.0 to 19.2.0. The raw summary shows the version bumps in the package manifest, the verification script, and the test fixtures, which all match the title. The title uses a conventional commit prefix and stays under the length typical for a commit subject.

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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d0ff1e6f-7e61-44b8-98ca-de5a37aff38b
Commits

Reviewing files that changed from the base of the PR and between afd4e51 and e066731.

Files ignored due to path filters: 1

  • ci/pi-exact-continuation/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 3

  • ci/pi-exact-continuation/package.json
  • scripts/ci/verify_pi_exact_continuation.py
  • tests/test_guard_gauntlet_qualify.py

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

@gitar-bot

gitar-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

The qualification job pins Oh My Pi 19.2.0 instead of 19.1.0, changing its runtime and potentially altering exact-continuation CI results.

Qualifies the Gauntlet exact-continuation job against Oh My Pi 19.2.0 by bumping the pin and lock entries from 19.1.0 and updating the verifier's expected version and integrity. No issues found.

Verification

Rules 2 not applicable

Functional validation Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Guard is skipped when Oh My Pi runs with --no-tools 🐞 Bug ⛨ Security
Description
Under 19.2.0, --no-tools stops extensions from loading, so Guard's extension is never initialized,
and a bash tool passed back in through --tools runs with no Guard approval gate. The pin bump
activates this behavior for any session started with --no-tools --tools bash (or a similar list
containing bash), and the PR states the gap without adding a warning, a refusal, or a test.
Code

ci/pi-exact-continuation/package.json[10]

+    "@oh-my-pi/pi-coding-agent": "19.2.0"
Evidence
The PR description says that in 19.2.0 --no-tools prevents extension loading and allows only the
built-in tools named by --tools, so a bash entry runs without Guard's extension. Guard's
approval wait (runOmpInteractiveContinuation) lives entirely inside that extension, so it cannot
gate bash calls in that configuration. The PR moves the pin to 19.2.0 without any Guard-side warning
or check for this case.

ci/pi-exact-continuation/package.json[10-10]
/rust/crates/guard-runtime/src/adapters/pi_extension_render.v1.json[2331-2394]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Oh My Pi 19.2.0 stops extensions from loading when `--no-tools` is passed, and it then allows built-in tools named by `--tools`. If `bash` is in that list, the session runs bash without Guard's extension and so without its approval gate. The PR pins 19.2.0 and defers this decision.

## Fix Focus Areas
- ci/pi-exact-continuation/package.json[10-10]
- /rust/crates/guard-runtime/src/adapters/pi_extension_render.v1.json[2331-2394]

## Recommended Fix
Before this pin is accepted, decide how Guard handles this case. Either detect `--no-tools` combined with `bash` in the Guard launch path and refuse or warn, or document it as an accepted risk with a named owner. Add a test that starts the qualified SDK with `--no-tools --tools bash` and checks the result.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Context sources
❌ Tickets: failed to load — Ticket collection could not establish complete evidence
Review mode: Auto: 🚀 Fast: Localized CI dependency qualification with synchronized verifier and test updates.

Grey Divider

Tip of the day
💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Qualify Gauntlet against Oh My Pi 19.2.0

⚙️ Configuration changes 🧪 Tests 🕐 10-20 Minutes

Grey Divider

AI Description

• Pin the exact-continuation SDK to Oh My Pi 19.2.0.
• Update lock verification to require the new version and integrity.
• Align Gauntlet cache test fixtures with the new pin.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The package manifest, lockfile, SDK cache setup, verifier, and continuation tests together implement one bounded CI integration whose end-to-end outcome is validating continuation behavior against the pinned Pi/Oh My Pi SDK.
  • The lockfile and verifier are propagation hops within that integration, not independent capabilities.
Sources

ci/pi-exact-continuation/package.json[8-10]

  "dependencies": {
    "@earendil-works/pi-coding-agent": "0.87.1",
    "@oh-my-pi/pi-coding-agent": "19.2.0"
Behavioral complexity 🟡 Medium 🧩 Compatibility cases

  • Before: the CI integration required agreement among the package manifest, lockfile, verifier's expected version/integrity, installed metadata, and test fixtures for Oh My Pi 19.1.0.
  • After: those same compatibility points must agree for 19.2.0, including the new lockfile resolution and integrity.
  • New correctness condition: the upgraded producer package, immutable lock entry, verifier expectations, and CI cache/install path must all select and validate the same SDK release before continuation results are trusted.
  • This is a compatibility coordination condition, not complexity inherited merely from npm or existing validation helpers.
Sources

ci/pi-exact-continuation/package.json[8-10]

  "dependencies": {
    "@earendil-works/pi-coding-agent": "0.87.1",
    "@oh-my-pi/pi-coding-agent": "19.2.0"
Potential damage 🟡 Medium 🩹 Temporary loss

  • If the upgraded SDK pin or its synchronized verifier/lock metadata is incompatible, the bounded consequence is loss of this CI verification capability or a failed CI gate.
  • Reverting the package, lockfile, and verifier changes can restore the prior check; no persistent application state or external user data is written by this change.
  • Recovery requires a valid package/integrity combination and a subsequent CI run.
  • The equal-importance baseline is used because no business-criticality declaration was supplied.
  • Recoverable by correcting or reverting the synchronized SDK pin and rerunning CI; the source provides no evidence of persistent state corruption or an automatic repair path.
Sources

ci/pi-exact-continuation/package.json[8-10]

  "dependencies": {
    "@earendil-works/pi-coding-agent": "0.87.1",
    "@oh-my-pi/pi-coding-agent": "19.2.0"
Assessed commit e066731
Diagram

graph TD
  P["SDK pins"] --> I["CI npm install"] --> S["Installed SDK"] --> V["Lock verifier"] --> T["Continuation tests"]
  P --> C[("Gauntlet cache")] --> G["Gauntlet tests"]
  P --> V
Loading
High-Level Assessment

Keep the exact pin and integrity check: this job qualifies a specific published SDK, so a floating version would weaken its result. The key review check is that the checked-out lock and CI run agree with the updated expectations.

Files changed (3) +8 / -8

Tests (1) +4 / -4
test_guard_gauntlet_qualify.pyAlign Gauntlet SDK fixtures with 19.2.0 +4/-4

Align Gauntlet SDK fixtures with 19.2.0

• Updates mocked package metadata and the cache-version assertion to 19.2.0. The existing cache and qualification setup tests now use the new pin.

tests/test_guard_gauntlet_qualify.py

Other (2) +4 / -4
package.jsonPin Oh My Pi to 19.2.0 +1/-1

Pin Oh My Pi to 19.2.0

• Changes the exact-continuation job's Oh My Pi dependency from 19.1.0 to 19.2.0. The Pi dependency remains pinned to 0.87.1.

ci/pi-exact-continuation/package.json

verify_pi_exact_continuation.pyVerify the new Oh My Pi version and integrity +3/-3

Verify the new Oh My Pi version and integrity

• Requires 19.2.0 and its expected integrity in the lock, and requires 19.2.0 in the root dependency map. This keeps verification aligned with the SDK pin.

scripts/ci/verify_pi_exact_continuation.py

@enclave-ai

enclave-ai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Enclave reviewed this pull request and found no security concerns.

Also checked 3 things that looked risky. None needed flagging.
  • verify_pi_exact_continuation.py:23: only the version and hash changed, and the lock check passes against the new 19.2.0 values.
  • verify_pi_exact_continuation.py:78: the exact-match check is untouched, and the new 19.2.0 version matches the lock's root entry.
  • test_guard_gauntlet_qualify.py:178: only version numbers changed in test fixtures, and no assertions were removed or weakened.

Powered by Enclave · Try it on your repositories

@Vyeche

Vyeche commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

On the Qodo finding (--no-tools skips Guard's extension): this case isn't new in 19.2.0, so I'm leaving it out of this pin update.

  • Before this PR: Oh My Pi 19.1.0's CLI reference already lists --no-extensions ("Disable extension discovery"). A session started with it runs bash without Guard's extension.
  • What 19.2.0 adds: a second flag with the same effect. --no-tools now also skips extension loading, and only the built-in tools named by --tools stay available.
  • Who controls it: both flags are chosen when Oh My Pi starts. An agent inside a Guard-managed session that tries to start a nested omp with either flag does so through a bash call, and Guard reviews that call.

I've corrected the PR description, which made this sound new. Whether Guard should warn when Oh My Pi starts without extensions belongs in its own issue. I'm happy to open one if maintainers want it.

This branch has not been deployed

No deployments
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