Skip to content

[STALE: REBASE FROM NEW FORK] AGE-2004: pinned helper refusals name the helper, the pin and one next step - #22

Draft
vadymhimself wants to merge 1 commit into
release/2.65.0-vadymhimself.15from
be-low-r11/pinned-helper-refusal-text
Draft

vadymhimself wants to merge 1 commit into
release/2.65.0-vadymhimself.15from
be-low-r11/pinned-helper-refusal-text

Conversation

@vadymhimself

Copy link
Copy Markdown
Collaborator

What

AGE-2004, Hormozi 84dd351c (12 refusals, 400). A pinned AgentRadar request that needs a helper model (vision describe, web search outside a Claude pin, image/video bridge) is refused. Behaviour is unchanged (nothing stripped, nothing sent); only the text changes, per Liza: say which helper was refused, that the model pin blocks helpers, and one CTA. One function per case in src/server/responses/pinned-helper-refusal.ts, used at the three refusal sites (request-sidecar-auth.ts, sidecar-execution.ts). Base: release/2.65.0-vadymhimself.15. Needs an images/ocx tag bump (Liza).

Agent's-eye text

Before (all three cases): AgentRadar pinned requests cannot use helper models (vision, image or video bridge, or web search outside a Claude pin)

After:

  1. Image on a text-only model: Request refused, nothing was sent: it contains an image and the pinned model cannot read images (resend without the image, describe it in words). This agent's model pin cannot use helper models, so no vision helper was allowed to run. Now: resend without it, or ask the account owner to turn on Fall back to other AI accounts.
  2. web_search on a non-Claude pin: Request refused, nothing was sent: it asks for the web_search tool and the pin is not a Claude account (resend without the web_search tool). This agent's model pin cannot use helper models, so no search helper was allowed to run. Now: resend without it, or ask the account owner to turn on Fall back to other AI accounts.
  3. Image or video bridge: Request refused, nothing was sent: it needs the image or video bridge (image_gen/video_gen) (resend without image or video generation). This agent's model pin cannot use helper models, so no image or video bridge was allowed to run. Now: resend without it, or ask the account owner to turn on Fall back to other AI accounts.

As the agent: what happened (this request was refused, nothing sent), why (the pin blocks helper models, and which one), what I do (resend without the named item, or have the owner turn on the fallback setting). Yes to all.

Verification

  • tests/server/pinned-helper-refusal.test.ts (new): one test per case asserting the delivered text parts.
  • tests/server/agentradar-account-pin-e2e.test.ts (real OCX process): the image-on-pin and grok web_search refusals now assert the new text. 6 pass via lane-lock (bun test). No tsc errors in touched files.

Eval added/updated: N/A deterministic (unit/integration test: tests/server/pinned-helper-refusal.test.ts)

🤖 Generated with Claude Code

… step (AGE-2004)

Co-Authored-By: Claude Code <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot changed the title AGE-2004: pinned helper refusals name the helper, the pin and one next step [WRONG BRANCH] AGE-2004: pinned helper refusals name the helper, the pin and one next step Nov 13, 2026
@github-actions

Copy link
Copy Markdown

⏳ DRAFT

  • wrong target branch (release/2.65.0-vadymhimself.15); retarget to dev.

What to do

  • Retarget this PR to dev — all contributions go to dev.

Its title has been prefixed with [WRONG BRANCH].
This pull request is being kept as a draft automatically. Once every issue above is resolved, it will be marked ready for review again.

@github-actions
github-actions Bot marked this pull request as draft November 13, 2026 10:58
@vadymhimself vadymhimself changed the title [WRONG BRANCH] AGE-2004: pinned helper refusals name the helper, the pin and one next step [STALE: REBASE FROM NEW FORK] AGE-2004: pinned helper refusals name the helper, the pin and one next step Nov 18, 2026
@vadymhimself

Copy link
Copy Markdown
Collaborator Author

This PR is based on the superseded 2.65 gateway line. Rebuild the change from port/ar-on-upstream-2026-11-18 (upstream-derived 2.100 AR overlay, PR #46): #46 . Do not rebase onto or merge the old release line. Preserve the new gateway quota/cache gate and re-run the affected regressions. The candidate is not deployed; do not publish or replace a running gateway without explicit approval.

@vadymhimself

Copy link
Copy Markdown
Collaborator Author

main is now the stable upstream-derived AgentRadar gateway line: 2.100.0-vadymhimself.2, merged via #47 (merge commit ad594a0778). Its tree is identical to the tested candidate 6a14467972, and it shares history with upstream lidge-jun/opencodex dev at 6bae884cbc.

Trial evidence: before the merge the build ran 30.5 h on the laptop gateway and 24 h on the personal Mac Mini gateway, both with OPENCODEX_AGENTRADAR=1. Neither restarted and neither left unresolved spend. The Mini served 11,138 requests with 2 5xx; the old build had 303 502s over the prior day. The remaining non-2xx were exhausted provider quota, not gateway faults. The fork's GitHub Actions has not run since Nov 18, so there is no CI result. Run checks locally.

For new work:

  • Branch from main. Do not target release/2.65.0-vadymhimself.*.
  • Check FORK-DELTA.md first; many old-line fixes are already carried or upstream-equivalent.
  • If a behavior is still missing, re-cut it as a small, single-concern change on main.

Before opening a PR, use pinned Bun 1.4.4 with an isolated HOME/OPENCODEX_HOME, synthetic credentials and loopback providers (never live accounts):

  • bun run test:gateway-quota (29-file AR gateway gate)
  • affected suites: bun scripts/test.ts --changed=main
  • bun run typecheck, bun run structure:check, bun run privacy:scan, git diff --check

Hosted-only behavior needs OPENCODEX_AGENTRADAR=1 set inside the test; without it the branch behaves like upstream. Register new test files in scripts/test-layout/layout-agentradar.json.

For this PR: not carried. Re-cut on main, keeping pinned helper refusals fail-closed (no unpinned fallback).

🤖 Generated with Claude Code

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