Skip to content

feat: expose manual Jev API key override in Settings - #26

Merged
BunsDev merged 2 commits into
mainfrom
feat/arena-key-settings
Sep 22, 2026
Merged

BunsDev merged 2 commits into
mainfrom
feat/arena-key-settings

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

What changed

The manual Jev API-key override is now explicit under Settings → Jev API key. The overlay shows the active key source, supports save/replace/remove, confirms successful changes, and returns to the server default when the override is removed. The header indicates when a manual override is active.

Saved values remain masked and are never redisplayed. Cross-tab key changes clear stale drafts/confirmations and invalidate current arena results. The existing origin-local storage and request-header precedence remain unchanged; no provider request is made by saving a key.

Verdict impact

None. No fixture verdicts, routing decisions, question wording, model pin or execution authority change.

Verification

  • pnpm typecheck
  • pnpm test — 84 offline tests
  • Isolated pnpm build
  • pnpm check:secrets and git diff --check
  • Signed commit
  • No provider call, credential, execution path, or new verdict added
  • Fresh code review with no remaining findings

The verification record covers 51 browser assertions for key activation, replacement, removal, persistence, header precedence, storage failures, cross-tab changes, overlay focus and responsive layout. An injected-provider test verifies server-default → manual → replacement → server-default precedence without live calls. Human VoiceOver and real-device acceptance were not performed.

Copilot AI lite review requested due to automatic review settings September 22, 2026 12:56
@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
jev-harness Ready Ready Preview Sep 22, 2026 1:04pm UTC

Request Review

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The settings verifier is not included in the documented browser-verification entry points.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds a Settings-based manual Jev API key override with masked save/replace/remove, persistence, cross-tab synchronization, and updated documentation.

Changes:

  • Replaces the API-key dialog with a Settings drawer.
  • Adds key precedence and browser lifecycle verification.
  • Updates responsive styling and user guidance.
File Summary
tests/​live-host.test.ts Tests server/manual key precedence.
scripts/​verify-arena-settings-browser.mjs Adds browser verification for the settings lifecycle.
scripts/​verify-arena-controls-browser.mjs Updates control verification.
README.md Updates key-management guidance.
docs/​verification/​arena-key-settings-2026-09-22.json Records browser verification results.
docs/​routing-demo.md Documents override behavior and storage.
components/​header.tsx Implements Settings UI and key lifecycle handling.
app/​globals.css Styles the responsive Settings drawer.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/verify-arena-settings-browser.mjs
@BunsDev
BunsDev merged commit 6b84bca into main Sep 22, 2026
3 checks passed
@BunsDev
BunsDev deleted the feat/arena-key-settings branch September 22, 2026 13:05

This branch was successfully deployed

1 active deployment
Preview — cda35945 Deployed Sep 22, 2026 by vercel[bot]
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