GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — headlesscode/docs/rsi-adversarial-qualification.md at master · Capsize-Games/headlesscode

Expand file tree

/

rsi-adversarial-qualification.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
21 lines (14 loc) · 2.78 KB
/

rsi-adversarial-qualification.md

Copy path

File metadata and controls

21 lines (14 loc) · 2.78 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

RSI adversarial qualification

scripts/rsi-adversarial-qualification.ts runs one bounded OpenRouter Muse Contributor review against a synthetic candidate, then sends the reviewer-generated tests to the configured RSI fleet for evaluation in a separate OpenShell CPU guest. The candidate patch is a deterministic fixture; the command makes no mutation-model call and does not claim one. The normal RSI controller records the prompt, response, generated test, evaluation job, hard gate, penalty, and candidate decision.

The command requires HEADLESSCODE_OPENROUTER_API_KEY, the configured PostgreSQL/S3 RSI queue, and an active CPU-class OpenShell worker. It checks Muse endpoint metadata before the inference request, restricts routing to Meta with fallbacks disabled, limits the review to 1,024 output tokens and a conservative $0.005 call ceiling, and verifies the returned model, provider, and generation billing record. Endpoint metadata must remain at or below $0.10 per million input tokens and $0.20 per million output tokens.

The output directory must be private (mode 0700). Supply an Ed25519 receipt key stored outside the repository with mode 0600 and its pinned public-key SHA-256 digest:

TMPDIR="$PWD/.headlesscode/scratch/tmp" npx tsx scripts/rsi-adversarial-qualification.ts \
  --receipt-signing-key "$QUALIFICATION_SIGNING_KEY" \
  --evaluator-trusted-public-key "$QUALIFICATION_PUBLIC_KEY" \
  --receipt-public-key-sha256 "$QUALIFICATION_PUBLIC_KEY_SHA256" \
  --artifacts-dir "$PWD/.headlesscode/scratch/rsi-adversarial-qualification/run-1"

The command writes the controller prompt, raw response, generated tests, OpenShell output, controller run and archive, and a signed qualification-receipt.json. The receipt binds artifact hashes to reviewer and billing identities, the independently reconstructed adversarial gate and selection decision, and the synthetic fixture mutation provenance. Verify its Ed25519 signature against the public key whose digest matches the receipt pin.

This is a one-review qualification run, not a mutation campaign or a benchmark proof. Development benchmarks are deliberately not admitted by this command, so an adversarial pass alone cannot select the candidate. If the reviewer finds a defect and its generated test fails, the controller should close the adversarial hard gate and reject the candidate. If the tests pass, the command records that result without claiming final selection eligibility.

The evaluator seal uses the same external protected Ed25519 key pair and independently supplied public-key digest as the qualification receipt. The public key file must remain outside the synthetic repository, archive, and candidate worktrees. Reviewer billing requires matching generation identity and token counts before the returned review reaches the controller.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.