Skip to content

Agent plugin: fixture repositories and agent evals for every skill #74

Description

@drevendev

Reader problem

A green source-level test suite is not evidence that Claude Code or Codex actually selects the intended skill, sees the mounted fixture, refuses unapproved edits, or ignores instructions planted in a repository. This epic tracks the gap between deterministic tooling and observed model behavior.

Published deterministic infrastructure (source-verified 2026-11-03)

  • Four synthetic target repositories: minimal, broken-links, healthy, injection-bait, with expected audit rule IDs; fixture tests exercise the installed-style offline tools from another working directory.
  • Claude Code eval definitions cover all four skills with at least two positive and one negative-trigger case each; structural contract tests verify the case/grader inventory, tool allowlists and fixture presence. Hostile, uncued prompts are represented; this is source validation only.
  • Manual Codex/Claude smoke matrix records explicit positive, negative and hostile cases, actual skill-selection evidence, unchanged targets, and PASS/FAIL/INCONCLUSIVE distinctions.
  • Offline file snapshot verifier and normalized Read-receipt checker make target integrity and recorded fixture content independently inspectable. Both are limited: snapshots cannot catch out-of-target effects; normalized receipts can be fabricated and do not authenticate provider traces.
  • Release-note synthetic Git history generator exercises the actual inventory tool separately from static JSON eval cases; this does not run a skill.
  • Documented runbook distinguishes actual model calls, Linux/WSL2 sandbox prerequisites, cost limits, fixture visibility and private-result handling. Real model evaluations are deliberately excluded from CI.

Remaining acceptance — not yet demonstrated

  • Real activation: after separate owner authorization for model usage and any cost, record actual Claude skill invocation and the negative non-invocation case for every skill. Do not label a source-level grader file as a passed model evaluation.
  • Fixture visibility: inspect the original provider tool trace for the exact mounted synthetic file path and complete Read response; missing or truncated data is INCONCLUSIVE, not a successful attack rejection. The optional normalized read receipt is additional consistency evidence only.
  • Read-only/write gate: verify actual tool calls and observed filesystem state in a sandbox across positive/negative tests, including the explicit-later-approval boundary for README edits. Permission-blocked writes alone do not prove that a skill would refuse to attempt them.
  • Injection and invented-channel behavior: grade uncued hostile README, trust-surface and release-subject cases using real trace + final answer. No fabricated email address, badge, success output, publication claim or unsupported private reporting route should survive.
  • Codex smoke evidence: perform the documented manual run with a reviewed plugin checkout, exact full SHA/version, permitted tool set, synthetic target, and PASS/FAIL/INCONCLUSIVE notes; do not imply Claude's eval command is supported by Codex.

Boundaries and next useful step

No spending or external publication is authorized by this issue. Default to improving a specific reproducible gap in offline fixtures or documentation, if actually uncovered in fresh source review; do not expand the issue with redundant harnesses, claim model PASS from static tests, or send private target data to a model. Native CI, reviews and releases remain GitHub evidence. As of 2026-11-03, this issue should stay open for the genuine model-behavior evidence above.

Depends on: #69, #70, #71, #72.

Activity

  1. added
    enhancement
    agent-skill
    on Oct 22, 2026
  2. drevendev commented on Oct 24, 2026

    @drevendev
    OwnerAuthor

    PR #141 is merged as static eval definitions and coverage tests, not as measured agent behavior. The issue was automatically marked completed at the PR merge, but the remaining behavior claims have not been verified, so I reopened it.

    Before a genuine model-level acceptance: (1) confirm from a real run trace that context.add_dirs: [resources] makes the intended fixture readable from the isolated, empty eval workspace; otherwise supply an explicit accessible fixture path or a reviewed scaffold, (2) add an uncued hostile-README scenario with an ordinary audit request, since the existing bait prompt tells the agent the desired safety response, and (3) inspect skill-selection traces, no-plugin baseline, read-only behavior and final outputs. Do not report those as passed based on green static CI. Run claude plugin eval only with separately authorized usage/cost and suitable isolation. See the specific independent review on PR #141 and https://code.claude.com/docs/en/plugin-evals .

  3. drevendev commented on Oct 24, 2026

    @drevendev
    OwnerAuthor

    PR #142 was merged at eed6d7a6f071f244765fa7cd48281a8ed394cf4c after later-run review and six green jobs. The uncued hostile-README scenario and its structural regression are now published; this resolves item (2) from the prior comment. GitHub automatically closed this issue again on merge, so I reopened it because the remaining runtime claims are not yet demonstrated.

    Still required for model-level acceptance: prove from a real trace that context.add_dirs: [resources] exposes the intended synthetic README in the isolated workspace; observe actual skill selection, the tool trace, a no-plugin comparison, absence of writes and the final answer; distinguish inaccessible fixture from a passed injection test. No paid/model evaluations were run or authorized, and the green CI covers only static/deterministic checks. Until verified, keep this issue open and do not claim runtime injection resistance.

  4. drevendev commented on Nov 3, 2026

    @drevendev
    OwnerAuthor

    Owner promotion readiness note (2026-11-03; no new evaluation claim). Four master skill sources exist, but the published v0.2.0 tree has only audit-repo. The Starforge launch campaign needs a release-/SHA-pinned, independent Claude Code + Codex proof bundle: clean public GitHub install (rather than local checkout only), skill discovery, actual agent invocation and tool result, two positive and a negative/nontrigger/hostile fixture per skill, cross-target no-write verification, platform/version and recorded PASS/FAIL/INCONCLUSIVE. Existing deterministic CI is excellent evidence for the checker implementations but cannot satisfy this agent-run gate. Please retain the existing test/eval framework rather than creating redundant harnesses or incurring model costs without permission. Public campaign readiness #254; optional separate MCP capability proposal #255. No model runs were executed in this chat.

  5. drevendev commented on Nov 4, 2026

    @drevendev
    OwnerAuthor

    2026-11-04 — independent evaluator candidate for the #257 four-skill acceptance matrix (read-only research, NOT an executed test)

    Found tardigrde/agent-skill-eval, MIT, source pinned to 59de161f657b82bfaf8f6abe83dfff38552deb21 (2026-07-10, v0.7.0 commit). Its source README describes using real Codex / Claude Code / OpenCode CLIs, isolated per-case workspaces, pre/post git-state checks, a natural-trigger vs forced-trigger distinction, negative controls, repeated attempts/pass@k, token/time/budget telemetry and machine-readable verdicts. Only its documentation/source identity was inspected; no package was installed, executed, security-audited or independently validated against BeautifulRepo. PyPI/CLI flags may differ from README; verify installed version.

    Decision: optional harness candidate, NOT a replacement for the existing #74 fixtures/manual traces and NOT a release gate pass. In particular, its documented with_skill vs without_skill baseline does not directly implement the owner's three-arm comparison. To preserve that requirement for candidate a6ff79ee137d2eee8517792ba693c2854d51ed48:

    1. A = same task, no skill and no special optimization instruction; B = same task + one short generic prompt, no skill; C = same original task + pinned installed skill. Record literal prompts. Use fresh disposable identical fixture commits and separate workspaces for every arm; otherwise the baseline is contaminated.
    2. Pilot only one skill × one client × three cases (positive, unrelated negative, hostile/approval-boundary) × three arms × three repetitions = 27 invocations, if separately approved for model use/cost. Expand to 4 × 2 hosts only if the pilot provides usable trace evidence.
    3. Score independently: verified skill selection, actual fixture Read in original provider trace, correct findings with file/line evidence, prohibited-action attempts (even when blocked), target/out-of-target changes, runtime/tokens, and explicit PASS/FAIL/INCONCLUSIVE. Never count source-level grader assertions or a plausible model answer as invocation proof.
    4. Keep client/model/version, reasoning settings, package and BeautifulRepo full SHAs, per-arm raw sanitized tool trace, fixture SHA, before/after hashes, evaluator config, evaluator version, and independent reviewer identity. Avoid secret-bearing or real work repos.
    5. The harness's side_effect_level is a filter/classification, not by itself a security sandbox; lifecycle hooks and agent CLIs can perform effects. Do not run third-party eval hooks, allow remote PR/push, or authorize credentials/billing on the strength of its documentation.

    Immediate next gate: cold-review package dependencies/hooks and --help in a disposable offline environment; only then consider a cost-approved one-skill trial. Existing #74/#257 and external tester #258 remain source of truth. No implementation, agent model run, cost, installation, or downstream acceptance occurred here.

  6. drevendev commented on Nov 4, 2026

    @drevendev
    OwnerAuthor

    2026-11-04 — evidence-based eval-control refinement (research only; no model execution)

    Found the new open upstream Agent Skills evaluation proposal agentskills/agentskills#640, opened 2026-11-01, and reread the official evaluating-skills guide at blob 7c90d54295be88ac40de7f19db0876cee6180c4e. The guide currently documents with/without-skill; the upstream proposal recommends additional placebo, per-model, factual-correctness and catalog-selection controls. The author's reported figures derive from one collection, include LLM-judge grading, have no human gold review, and should not be generalized or presented as BeautifulRepo results.

    Specific gap in this issue, verified by reading our current sources: evals/README.md blob 59dd0b37bc8c2e316ca232f72c1420a5d05f77c5 and evals/manual-smoke.md blob a5647b3e5eb43300995c26e35055a0c1e1621766 do not yet include a placebo arm or whole-catalog selection assessment. This does not negate the existing synthetic safety cases or the already proposed owner-required 3-arm A/B/C comparison in my prior comment.

    Bounded amendment for an independently cost-approved experiment, not a new blocking requirement:

    1. Preserve owner's original A/B/C: A=bare task (no skill); B=same task + one short generic improvement prompt (no skill); C=same task with pinned full installed skill. The original one-skill × one-host × three cases × three repetitions = 27 calls stays the first pilot; do not spend or run it unattended.
    2. Only after that pilot establishes genuine fixture visibility and interpretable raw traces, consider D=placebo context: same case with a neutral, unrelated, inert document approximately matching the skill's instruction-text length, no skill install, no runnable scripts or target instructions. Four arms under the same pilot shape would be 36 calls (not 27); separately approve the incremental usage. D is a diagnostic context-loading control, not a replacement for B.
    3. Per host/model, not pooled: record A→B, A→C and A→D outcome/safety deltas separately for actual Claude Code and Codex model/version, holding fixture SHA and scoring rubric fixed. A strong C aggregate must not hide a model that regresses or attempts forbidden edits.
    4. Factual provenance check: for every task-specific finding, compare with exact synthetic fixture bytes/expected rule IDs, not only a fluent grader judgement; require real file/line evidence and identify unsupported tool-success/badge/route claims. Review planted/injected values as hostile source data and do not execute them.
    5. Selection check after isolated tests: offer all four installed skill descriptions at once, use uncued positive and unrelated negative tasks, vary menu/order where the client permits, and observe original trace evidence of correct, wrong, or no selection. Distinguish selected-but-failed vs never-selected. Do not assume a model's final answer proves triggering.

    Decision: OPTIONAL_POST_PILOT_MEASUREMENT_GUARDS / NO_AUTOMATIC_EXTRA_MODEL_RUNS. #74/#257 remain the only acceptance coordination; no duplicate evaluator or issue requested. This observation is source-level only: no models, installations, CI, tests, bills, or releases were executed/approved. Source-specific published measurements are hypotheses to test, not a transferable PASS.

  7. drevendev commented on Nov 8, 2026

    @drevendev
    OwnerAuthor

    2026-11-09 — two fail-closed evaluator controls before any paid A/B/C runs (Abby research handoff)

    I reviewed the current BeautifulRepo evals/README.md (blob a0d7b7086550b5975ae2fbf777bae31ad05691b0) and evals/manual-smoke.md (blob a5647b3e5eb43300995c26e35055a0c1e1621766). They correctly distinguish real model traces from source-only tests and label unreadable fixtures INCONCLUSIVE. Two additional deterministic scorer/wrapper failure controls would guard the owner's future no-skill / short-prompt / full-skill experiment without extra model calls:

    1. Missing sub-probe must not improve a score. Source: Agent Errata E034, observed blob 9f27014c36c7d611b9340739f0b6f79139c03924. Synthetic complete rubric: [92.5,92.5,92.5,92.5,20] => mean 78. Inject a failed fifth judge/probe: [92.5,92.5,92.5,92.5,null] => an unsafe skip-null mean becomes 92.5. Expected negative control: the same dimension is INCONCLUSIVE/UNSCORED, never a higher PASS; expected positive control: restore the fifth result and get 78. Record expected_probes, observed_probes, failed_probes separately. Apply to every skill/case/host/arm and any roll-up score; never average only surviving cases or silently reuse a previous verdict. This is a proposed invariant, not an observed BeautifulRepo bug.

    2. Verifier failure must not be laundered through a green wrapper. Source: Agent Errata E030, observed blob 2d3ec5ba7db990ce5614ae65903e549ff8b966fa. In a disposable local fixture, force the actual deterministic grader/verifier to exit nonzero while a wrapper tries to continue to echo PASS / write a report. Expected negative control: wrapper exits nonzero, emits no PASS, and creates no new success report; positive control: a known-good verifier execution produces its expected full report. Assert verifier exit, wrapper exit, fresh output artifact and exact expected test count independently. set -u alone is not fail-fast. No real model or third-party script is needed for these controls.

    Decision: CANDIDATE_PREMODEL_EVAL_PREFLIGHT. Keep #74/#257 and the owner's A/B/C experiment as the sole acceptance process; add only if the relevant scorer/wrapper actually exists and has a demonstrated gap, rather than building a second harness. Pinned sources support the failure modes, not a claim that BeautifulRepo currently exhibits them. No source changes, runtime model evaluations, CI runs, costs, or external community actions were performed by Abby.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-skillenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions