Skip to content

agent-readiness 0.2.1: verdicts with evidence, safer runs, a stricter Level 2, and seven more languages - #90

Merged
ericzakariasson merged 1 commit into
cursor:mainfrom
neverfield:cursor/upstream-agent-readiness-0.2.1-f2ee
Dec 3, 2026
Merged

ericzakariasson merged 1 commit into
cursor:mainfrom
neverfield:cursor/upstream-agent-readiness-0.2.1-f2ee

Conversation

@neverfield

Copy link
Copy Markdown
Contributor

Preview: agent-readiness 0.2 is pre-1.0; results and scoring may change.

This brings software-factory/agent-readiness from the 0.1.0 skill merged in #86 to 0.2.1, the first release of the 0.2 line. 0.2.0 was never tagged.

Six independent reviews of 0.1.0 found blockers in safety, accuracy and scale, and only Node and Python were scored. A second round of reviews followed, plus an architecture review, 28 pinned real-repo trials, and blind holdout evaluation across both VM and container environments. Every change was built on a development branch and merged in small trains, each judged on its own tree's CI run, with every level change predicted in the PR that caused it. Where a registry outage or rate limit, not the change, turned a job red, the train merged with that cause disclosed in its merge commit (see Known limits). Blind holdout evaluation passed both halves on this code, and the 5-repeat --release-check eval run is in progress with all completed usable runs passing every gate (continuing post-merge; see Release check).

Outside software-factory/agent-readiness/, the only change is a 3-line update to the Agent readiness section in the root README.md (+3/-1). Upstream .github/workflows/ is left completely untouched (zero workflow files added or modified; zero extra GitHub Actions minutes consumed). Heavy Docker, pinned-trial, blind-holdout, and keyed eval suites were executed offline against the bound release digests and are attested in software-factory/agent-readiness/support/VALIDATION.json. Released rubrics (2026-10-alpha and 2026-11-alpha) are byte for byte unchanged. New audits use the new rubric 2026-12-beta, and audits sealed under older rubrics are never rescored. 2026-11-beta, an interim rubric no release used, is included so audits sealed under it during 0.2 still render.

How to review this PR

Roughly 87% of the 863 changed files are diagnostic fixtures, tests, trial recordings, eval artifacts, and auto-generated sample reports. Start with the ~90 core files below:

  • Offline validation attestation & repo root (2 files — start here):
    • software-factory/agent-readiness/support/VALIDATION.json — digest-bound offline validation attestation covering typecheck, unit tests, instrument-freeze, 30 scripted negative evals, 28 pinned real-repo trials, blind holdout, and --release-check, plus a one-line node verification snippet (reproduce.verifyBinding).
    • README.md (cookbook root) — 3-line Agent readiness section update (+3/-1, preserving upstream link fixes).
    • Upstream .github/workflows/ is untouched (0 files changed).
  • Skill contract, rubric & schemas (12 files):
    • software-factory/agent-readiness/skill/agent-readiness/SKILL.md, remediate.md, and references/{checks,levels,report,supported}.md.
    • skill/agent-readiness/rubric/2026-12-beta.json (active 0.2.1 scoring rules) and skill/agent-readiness/schema/{audit,report}.schema.json.
    • skill/agent-readiness/RELEASE.json (candidate: true until the post-merge release tag commit).
  • Core CLI & verification scripts (57 files):
    • Under software-factory/agent-readiness/skill/agent-readiness/scripts/: readiness.ts, plus lib/{session,guard,proofenv,container,replay,mutate,secrets,instructions,diagnose,attribute,verdict,levels,model,redact,seal,teardown,cleanup,workspace}.ts and lib/discover/ + lib/plan/.
  • Language modules (17 files):
    • software-factory/agent-readiness/skill/agent-readiness/scripts/lib/languages/{node,python,go,rust,jvm,dotnet,php,ruby,others}.ts and shared helpers (language.ts, ci-helpers.ts, fault-sites.ts, probes.ts).
  • Release & gate tooling (11 files):
    • software-factory/agent-readiness/support/tools/{instrument-freeze,ci-scope,release-manifest,test-shards,fixture,generate-sample}.ts and no-skips.sh.
  • Safe to skim (mechanical, generated, interim, or data-only — 752+ files):
    • support/fixtures/ (498 files): synthetic test repos and expected.json/truth.json.
    • tests/ (145 files): unit/regression tests and captured tool-output snapshots (tests/tool-outputs/).
    • support/evals/ (50 files): SDK eval harness, cases, HILLCLIMB.md, and generated baseline.json.
    • support/trials/ (34 files): pinned real-repo trial recordings (trials.json) and truth/ snapshots.
    • examples/ (16 files): auto-generated sample HTML/MD/JSON reports (npm run sample).
    • support/holdout/ (9 files): blind holdout protocol, schemas, thresholds, scorer (score.ts), and adapter (observe.ts).
    • skill/agent-readiness/rubric/2026-11-beta.json: interim rubric kept only so pre-release 0.2 audits render.
Subsystem file map (863 files changed, +84,992 / -6,364 vs cursor/cookbook main; 0 files under .github/)
Subsystem Files Diff Review focus
README.md (cookbook root) 1 +3 / -1 Agent readiness index entry
support/ (VALIDATION.json, README.md, RELEASE.md, AGENTS.md, examples/) 7 +225 / -68 Offline validation attestation, maintainer docs, consumer workflow examples
skill/agent-readiness/ (SKILL.md, references/, remediate.md, RELEASE.json, package.json) 8 +253 / -102 Agent instructions, support matrix, manifest
skill/agent-readiness/rubric/ 2 +1,689 / -0 2026-12-beta.json (active); 2026-11-beta.json (interim)
skill/agent-readiness/schema/ 2 +74 / -12 audit.schema.json, report.schema.json
skill/agent-readiness/scripts/ (core CLI & libs) 57 +13,178 / -2,768 Safety, replay, attribution, scoring, sealing
skill/agent-readiness/scripts/lib/languages/ 17 +7,784 / -0 8 container/VM languages, Ruby host-only, others.ts
support/tools/ 11 +862 / -26 Freeze check, CI scope, shard counts, release manifest
software-factory/agent-readiness/ (root docs & package config) 6 +240 / -21 README.md, CHANGELOG.md, AGENTS.md, package*.json, tsconfig.json
tests/ 145 +19,313 / -336 Unit, CLI, regression tests & tool-output snapshots (skim)
support/fixtures/ 498 +9,211 / -104 Synthetic diagnostic fixture repos & expectations (skim)
support/evals/ 50 +15,210 / -2,387 Eval harness, cases, HILLCLIMB.md, generated baseline.json (skim)
support/trials/ 34 +8,342 / -0 28 pinned real-repo trial recordings & truth files (skim)
examples/ 16 +7,212 / -539 Generated sample HTML/MD/JSON reports via npm run sample (skim)
support/holdout/ 9 +1,396 / -0 Blind holdout protocol, schemas, score.ts, observe.ts (skim)
Total 863 +84,992 / -6,364 .github/workflows/: 0 files changed

Architecture at a glance

flowchart TB
  subgraph OLD["Before (0.1)"]
    direction LR
    O1["Static checks + unisolated host fallback"]
    O2["Machine failures blamed on repo<br/>(Level 0, not bootable)"]
    O3["Free-text narration +<br/>separate report writers"]
    O1 --> O2 --> O3
  end

  subgraph NEW["After (0.2.1)"]
    direction LR
    subgraph IN["1. Intake & Session"]
      direction TB
      A["Committed tree + git history<br/>profile.ts, discover/, contract.ts"]
      B["Session & optional shell guard<br/>session.ts, guard.ts"]
      A --> B
    end

    subgraph ENV["2. Proof Environment (proofenv.ts, container.ts)"]
      direction TB
      C{"Docker or<br/>disposable VM?"}
      D["Clean Docker container<br/>--rm, --cap-drop=ALL, offline tests"]
      E["Disposable VM + --allow-host<br/>detected or terminal-confirmed yes"]
      F["No runtime / unapproved host<br/>Unproven on this machine"]
      C -->|"Docker"| D
      C -->|"Disposable + yes"| E
      C -->|"Otherwise"| F
    end

    subgraph RUN["3. Replay & Level 2 Checks"]
      direction TB
      G["Env self-check, install, build<br/>lint/typecheck + canary, offline tests<br/>replay.ts"]
      H["Planted faults (Wilson bound + control)<br/>secrets.ts, instructions.ts, heldout.ts"]
      G --> H
    end

    subgraph SCORE["4. Attribution & Sealed Report"]
      direction TB
      I["Grounded verdicts & levels<br/>diagnose.ts, attribute.ts, verdict.ts, levels.ts"]
      J["Single model to report.json/md/html<br/>slot narration, redact.ts, seal.ts, teardown.ts"]
      I --> J
    end

    B --> C
    D --> G
    E --> G
    F --> I
    H --> I
  end
Loading

Figure 1: Before (0.1) vs After (0.2.1) audit pipeline — replacing unisolated host fallback and free-text narration with an opt-in session and shell guard, isolated container or disposable-VM proof environment, grounded verdict attribution, and single-model sealed reporting.

flowchart LR
  subgraph OFF["Offline Validation Suites (run against bound digests)"]
    direction TB
    V1["Static & unit suites<br/>npm run typecheck<br/>npm test (1,544 pass / 0 fail)<br/>3-shard Docker + no-skips.sh"]
    V2["Gate & negative evals<br/>support/tools/instrument-freeze.ts<br/>30 Docker scripted negative evals"]
    V3["Real-repo trials<br/>28 pinned repos across 4 Docker shards<br/>1,257 asserted fields in trials.json"]
    V4["Blind holdout & release check<br/>VM + Container halves PASS (K=0)<br/>5-repeat --release-check (46/46 usable pass)"]
  end

  subgraph BIND["4 Canonical Digests (dirty: false)"]
    direction TB
    B1["RELEASE.json scriptsDigest<br/>866dd6b2...d584"]
    B2["currentBinding()<br/>scripts: 1bdb3aef82f1d6e4<br/>rubric: c430bb2e06df80dc<br/>evals: 81af70878321d9c9"]
  end

  subgraph UP["Upstream cursor/cookbook PR"]
    direction TB
    A1["Checked-in attestation<br/>support/VALIDATION.json<br/>+ one-line verifyBinding check"]
    A2["Upstream .github/workflows/<br/>UNTOUCHED (0 files changed,<br/>0 extra Actions minutes)"]
    A1 --> A2
  end

  V1 --> B1
  V1 --> B2
  V2 --> B2
  V3 --> B2
  V4 --> B2
  B1 --> A1
  B2 --> A1
Loading

Figure 2: Offline validation and checked-in attestation flow — heavy Docker, trial, blind-holdout, and keyed eval suites run offline against the four canonical release digests and are attested in support/VALIDATION.json, keeping upstream .github/workflows/ untouched.

flowchart LR
  subgraph FILES["Repository Paths"]
    P1["skill/agent-readiness/<br/>scripts/, schema/, templates/, package.json"]
    P2["skill/agent-readiness/<br/>SKILL.md, remediate.md, references/"]
    P3["skill/agent-readiness/rubric/"]
    P4["support/evals/{lib,cases,run.ts},<br/>support/fixtures/, support/tools/fixture.ts"]
    P5["support/trials/, known-failures.json,<br/>holdout scorer, CI gate tools<br/>(.github/workflows/ untouched upstream)"]
    P6["RELEASE.json, support/VALIDATION.json,<br/>baseline.json, README.md,<br/>CHANGELOG.md, tests/*.test.ts"]
  end

  subgraph REL["RELEASE.json (workspace.ts skillDigest)"]
    D0["scriptsDigest (seal & verify-seal)<br/>866dd6b2...d584"]
  end

  subgraph BIND["currentBinding() (evals/lib/binding.ts)"]
    D1["scripts: 1bdb3aef82f1d6e4"]
    D2["rubric: c430bb2e06df80dc"]
    D3["evals: 81af70878321d9c9"]
  end

  subgraph FREEZE["instrument-freeze.ts (sideOf + gate)"]
    Z1["scripts side"]
    Z2["instrument side<br/>(fixtures: expected/truth only)"]
    Z3["other (unfrozen)"]
    ZG["Freeze gate check:<br/>scripts + instrument -> needs exception<br/>assertion ledger drop -> needs reason"]
    Z1 --> ZG
    Z2 --> ZG
  end

  P1 --> D0
  P3 --> D0
  P1 --> D1
  P2 --> D1
  P3 --> D2
  P4 --> D3
  P1 --> Z1
  P2 --> Z1
  P4 --> Z2
  P5 --> Z2
  P3 --> Z3
  P6 --> Z3
Loading

Figure 3: Digest and freeze boundaries — RELEASE.json scriptsDigest, currentBinding() release-run digests, and instrument-freeze.ts classification (showing why RELEASE.json, support/VALIDATION.json, and docs/test updates do not invalidate the four bound digests, and .github/workflows/ is untouched upstream).

flowchart LR
  subgraph L2["Level 2 Strictness (rubric 2026-12-beta)"]
    direction TB
    G1["clean.offline<br/>Tests pass with network cut<br/>(confirmed on retry)"]
    G2["verify.canonical_interface<br/>Build/lint/typecheck pass<br/>+ typecheck canary fails on error"]
    G3["verify.behavioral_oracle<br/>Planted faults >= 60% caught<br/>& 97.5% Wilson LB >= 40%"]
    G4["instructions<br/>Agent file commands & paths valid<br/>(AGENTS/CLAUDE/rules/skills/Copilot)"]
    G5["safety<br/>No blocking secrets in shipped code<br/>review values fixed/waived, full scan"]
    GATE["Level 2 Proven<br/>(per-component lockfile gates<br/>repo-wide scenario only)"]
    G1 --> GATE
    G2 --> GATE
    G3 --> GATE
    G4 --> GATE
    G5 --> GATE
  end

  subgraph LANG["Language Support (scripts/lib/languages/)"]
    direction TB
    ROOT["discover/ + languages/"]
    S8["Container & disposable VM (8)<br/>Node (npm/pnpm/Yarn/Bun), Python (pip/uv/Poetry),<br/>Go, Rust, Java & Kotlin (jvm.ts), .NET, PHP"]
    S1["Host mode only in 0.2.1 (1)<br/>Ruby (ruby.ts, --runtime none --allow-host)<br/>container mode yields undetermined (deferred to 0.3)"]
    R6["Recognized, not scored (others.ts)<br/>Swift, Dart, Elixir, Terraform, C/C++, Android<br/>+ Windows .NET & Xcode (blocked on Linux)"]
    ROOT --> S8
    ROOT --> S1
    ROOT --> R6
  end
Loading

Figure 4: Level 2 strictness requirements under 2026-12-beta and the 9 supported languages across scripts/lib/languages/ (8 container/VM-scored, Ruby host-mode only in 0.2.1, plus 6 recognized stacks and platform-blocked targets).

What a 0.1 user notices first

  • No repo code runs on the host without a yes.
    • With no container runtime, or a container that won't start, nothing runs. The result is "Unproven on this machine", with the reason, never "Level 0, not bootable".
    • Host mode is opt-in (--allow-host) and asked for once per audit. The report quotes the user's yes.
    • Docker only for now: --runtime podman is refused until rootless Podman is tested.
  • A disposable machine can prove Level 1. It counts when it shows one clear sign: a Cursor Cloud Agent VM, a container, or a GitHub-hosted runner. On any other Linux machine the agent asks the user once whether it is disposable, and records the answer.
    • A yes is recorded only when the person types it at the machine's terminal, which the command reads from the terminal itself rather than stdin. An agent that passes --answer yes in their voice records nothing; with no terminal, the user runs the command in their own. A recorded yes reads "declared by the user".
  • Four words for a level result, one word per step.
    • A level is proven, unproven, undetermined or not assessed. Every step reads passed, failed, blocked, undetermined or not run.
    • "Failed" means the repo's fault, and only with a recorded ground: a static fact, an experiment, or a faithful run that failed on its own terms. A machine cause is blocked; anything else is undetermined, with what settles it.
    • Conditions gain a fifth state, "not yet measured", for Levels 3 and 4 when an input is missing.
  • Narration is a choice, not text. The agent picks the lead component, the cause, what works and the ask from the audit's own records, and the report writes the sentences. Free text goes in the agent's reply. Narration files written for 0.1 no longer work.
  • Sessions and an optional shell guard.
    • readiness session start holds an audit's session and the user's yes, and the seal clears them.
    • readiness guard install adds a hook, kept out of git, that refuses the repo's own commands on the host during a session until the yes is recorded. It also refuses reads of the draft records and the planted-fault store. guard uninstall restores .cursor/hooks.json byte for byte.
  • Nothing left behind. Containers start with --rm and carry owner labels, signals tear everything down, host-mode temp-tree cleanup handles read-only module caches without breaking the seal, and readiness cleanup removes strays.

A stricter, better-founded Level 2

  • Faults are an estimate.
    • Faults are planted in batches of 5, up to 20 with a clear result. A strong verdict needs a 97.5% Wilson lower bound at 40% or more and a 60% catch rate; anything between strong and weak is undetermined, never a fail.
    • Fault ids hash the file, line and operator, so editing a test never redraws them.
    • A comment-only control run rules out tests that fail on any edit.
    • Each planted fault is written with a later modification time, so cached bytecode can't make one outlive its run.
  • A type-check must be seen to fail. The audit adds one known type error to a file the tests import. A type-check that still passes doesn't count at Level 2.
  • Secrets by class.
    • Provider tokens, private keys and credentials in URLs block Level 2 in shipped code, with tighter precision across configs, source files, and test files so placeholders and local defaults don't falsely block.
    • A long value assigned to a secret-sounding name in shipped code holds Level 2 for review ("N values need review: fix or waive"), and is never marked blocking.
    • In tests, examples, docs and generated files such values are listed only.
    • Waivers can name a value by file#name, up to 200 of them.
    • A secret scan that read no file, or was cut short by its time bound, isn't an all-clear. If it found nothing to block, safety reads undetermined and says how far the scan got, for example "the other 12,654 weren't read", and the component reads Level 1, could be Level 2. "Met" counts only the files the scan read.
  • Agent files must be right. A wrong command or a wrong path in a file written for agents (AGENTS.md, CLAUDE.md, Cursor rules and skills, Copilot instructions) holds Level 2. Wrong README and CONTRIBUTING items are listed, not scored.
    • Fewer false findings. Paths about a bucket, the upstream package, or another site a guide links aren't this repo's, and a nested guide's paths are looked for under its own folder. A replayed command isn't called wrong when its output shows it needs an earlier step or an unbuilt package of the repo's own.
  • The lockfile is per component. One unpinned package no longer fails every component. A pip component pins only through a requirements.txt that pins every package with ==. The lockfile still gates only the repo-wide scenario, not the standard Level 2.
  • Tests must pass offline. A component's tests must pass with the network cut, for Level 2 and for the bug-fix, feature and repo-wide scenarios.
    • Only a confirmed second failure offline holds a component at Level 1, after a pass with the network on.
    • A flaky failure, or a build tool fetching from a registry mid-test, is undetermined.
    • A machine that can't cut the network blocks the condition: "Level 1, could be Level 2".

Experiments before blame

  • Test runs and the network. A test run that fails with the network cut runs again with it on. A pass there proves Level 1 "with the network on", at medium confidence. A second failure gets one more try: a pass on that try records flaky tests, and a third failure is the repo's.
  • Never the repo's failure: a registry's 429 or 5xx (Maven Central included), an out-of-memory kill, a full disk, a missing git, a missing third-party Python module when the environment didn't install it, or a failure only on this machine's CPU architecture. Each reads as blocked on this machine and names what to change.
  • A test run that ran no tests proves nothing. It's undetermined, and failed installs or test runs never promote a component to a higher level.

The report

  • One report model. Markdown and HTML are views of report.json.
  • Current evidence. A rerun replaces the old row, and every row has a duration and a pasteable repro.
  • "What this audit assumed." It lists each command's source, tier and confidence, where commands ran, and the toolchains.
  • Every condition cites its AR-01 question in report.json.
  • Revert rate. Agent and other PRs show how many were reverted within 14 days. It's reported only.
  • A scripted way to drive the app. This signal is informational.
  • A held-out check, reported only. readiness audit --held-out mines up to 5 recent merged changes per component whose own tests fail when the change is reverted. It plants faults on their changed lines, with and without the change's own tests, on a budget of its own. The results show in part 5 and report.json, and decide no level. Without the flag the audit is unchanged.
  • Level 3 needs a recorded owner, and the report states the targets and the agent-PR filter it measured against.

Discovery and languages

  • Discovery places every folder with a manifest exactly once, and every recent change counts toward a component, a satellite or the unowned share.
    • CI-first test discovery: the test command CI runs outranks the manifest's own, with fallback for PEP 735 --group installs on older Python installers.
    • Workspaces, nested projects, satellite boundaries, wrappers and .NET solutions are placed as their own tools place them.
  • Scored: Node (npm, pnpm, Yarn 1 and 2+, Bun), Python (pip, uv, Poetry), Go, Rust, Java and Kotlin (Maven, Gradle), C#/.NET, PHP, and Ruby (host mode only; see below). Each language is one file, with a fixture of known ground truth and a pinned real repo.
    • Ruby container verification deferred to 0.3: container-mode audits report Ruby components as undetermined (Ruby container verification deferred to 0.3; use --runtime none (host)) rather than sealing a level. Host-mode Ruby (--runtime none --allow-host) remains supported.
  • Recognized, not scored, with the reason:
    • Swift, Dart, Elixir, Terraform, C and C++, and Android.
    • Windows-only .NET and Xcode apps. These are blocked on this machine, never broken.

Evals, trials and the release gate

  • 28 pinned real-repo trials, from slugify and ripgrep to airflow, eShop and sentry-javascript, validated offline with Docker across 4 shards (support/trials/trials.json asserts 1,257 recorded fields).
    • Every level change was predicted in the PR that caused it.
  • The release gate is truth, not self-agreement.
    • Hard gates are k of n per case at 5 repeats.
    • The agent must beat the scripted run on all gates.
    • A two-family judge panel is calibrated on a label set.
    • A blind holdout test must pass across both VM and container environments, bound to the same digests.
    • The known-failures list must be empty.
    • Narration is outside the gate: the sealed headline is templated in both arms, so its judge lift is reported only.
  • Every wording round is logged. support/evals/HILLCLIMB.md records rounds 1 to 31. Rounds 10 to 28 are measured from the recorded runs, with before and after on the same cases.

Release check

The 5-repeat --release-check eval run is running on cb9a21e2, whose bound scripts, rubric, and evals digests are identical to this PR head (dec5f24d) and attested in software-factory/agent-readiness/support/VALIDATION.json. At the current serial pace (~9 days for all ~724 runs), the full 5-repeat run is continuing post-merge rather than blocking 0.2.1; a separate non-blocking follow-up PR is redesigning --release-check to finish in under ~3 hours. Partial results so far on cb9a21e2 show 48 of ~724 runs completed: all 46 usable runs pass all 6 hard gates with 0 flaky gates, and one agent case lost 2 of 5 repeats to the 40-minute worker timeout (its other 3 repeats passed). Both blind holdout halves passed on the exact same digests.

Measure Result Bar
Bound commit and digests Canonical currentBinding() digests (support/evals/lib/binding.ts): scripts 1bdb3aef82f1d6e4, rubric c430bb2e06df80dc, evals 81af70878321d9c9 (dirty: false), identical across cb9a21e2 and this PR head dec5f24d (attested in support/VALIDATION.json). RELEASE.json scriptsDigest (verified by the seal and verify-seal over scripts/, rubric/, schema/, templates/ and package.json): 866dd6b264025dc300ae5d15856dcd92aa53b5732da5aa3acea3e50c3549d584. the run's digests match the checkout
5-repeat --release-check (partial on cb9a21e2; continuing post-merge) 48 of ~724 runs completed: all 46 of 46 usable runs pass all 6 gates (0 flaky gates). One agent case lost 2 of 5 repeats to the 40-minute worker timeout (its other 3 repeats passed). Full 5-repeat run continues post-merge; a separate non-blocking follow-up PR is redesigning --release-check to finish in under ~3 hours. full 5-repeat pass (continuing post-merge)
Blind holdout test (Round 6, bound to cb9a21e2) PASS (both halves). VM: all K=0, R1 10/11, R2 8/9, R6 20/21. Mac container: all K=0 (K2 2→0), R3 3/3, R1/R2/R6 pass. PASS
Known failures 0 (tests/known-failures.json is empty) 0
Pinned trials 28 pinned real-repo trials across 4 Docker shards covering 1,257 asserted recorded fields in support/trials/trials.json (including the instrument-only R2 trial re-record for zustand and apollo-client, leaving scriptsDigest and currentBinding() unchanged from cb9a21e2). Shards 1/4, 2/4, and 4/4 are green; shard 3/4 reflects only external pnpm version drift (12.23.0 -> 12.25.1) on umami host. all match, or each difference disclosed

Known limits

  • Container-mode Ruby verification is deferred to 0.3. Container audits report Ruby components as undetermined (Ruby container verification deferred to 0.3; use --runtime none (host)) rather than sealing a level. Use --runtime none --allow-host (host mode) to verify Ruby repositories in 0.2.1.
  • cleo and flexget read "values in the code that look like secrets need review".
    • cleo's are in its exception-trace UI component. flexget's are public API client keys for TheTVDB, TMDb and Rotten Tomatoes.
    • This is a false positive of the new held-for-review class: these values aren't secrets, but they sit in shipped code. A waiver clears them today.
    • 0.3 narrows the rule.
  • Java fixture flakes. The Java and Kotlin fixture audits need Maven Central and the Gradle plugin portal. A 429 or an unreachable registry turns those jobs red with no change to the skill. The audit reports these as blocked on this machine, never as the repo's failure. Where they hit a merge train, the train merged under the documented merge-gate exception, with the external cause disclosed in its merge commit. Caching or mirroring the fixtures' dependencies is planned.
  • Install attribution in mixed repos (opentelemetry-go). When a repo-wide install is blocked on the machine, such as a Python install behind a blocked index, components whose own install passed are still held by it, and read as unproven rather than Level 2.
  • Planted-fault estimates are noisy between 40% and 70%. A suite whose true catch rate is 55 to 60% often reads weak (at 60%, about a third of the time), and a 50% suite reads strong about 19.6% of the time. Retuning the verdict to an explicit AR-01 bar is tracked for 0.3.
  • Level 3 and 4 reporting is experimental. Polish is deferred to 0.3: per-level headlines, explanation rows for a met level, and minor --held-out wording.
  • Windows.
    • Windows containers aren't supported: the audit runs Linux containers only.
    • Native Windows stops with a message pointing to WSL 2.
    • Running inside WSL 2, and Windows containers, haven't been validated end to end.
  • License. cursor/cookbook has no license file, so nothing grants a license to copy the skill. The README says so.

Asks

  • Please add a license to cursor/cookbook.
  • Please release it as agent-readiness-v0.2.1. After merging, run npm run release-manifest -- --release in software-factory/agent-readiness, commit the RELEASE.json it writes, and tag that commit agent-readiness-v0.2.1.
    • Without --release, the manifest keeps "candidate": true, and every report says it matches "the agent-readiness-v0.2.1 release candidate manifest … that release isn't tagged yet".
    • RELEASE.json is outside every digest the release run is bound to, and outside the scripts digest the seal checks, so that commit doesn't void the release run.
    • The README Quickstart clones the tag, and the example workflows and verify-seal --release-ref pin it. Until it exists, the Quickstart clone fails.

For reviewers

  • Zero .github/workflows/ changes: upstream cursor/cookbook CI is left completely untouched (zero workflow files added or modified; zero extra GitHub Actions minutes consumed). Heavy Docker, pinned-trial, blind-holdout, and keyed eval suites were run offline on the bound digests and are attested in software-factory/agent-readiness/support/VALIDATION.json.
  • Reproducible local digest check: from software-factory/agent-readiness/, reviewers can verify all four canonical digests (RELEASE.json scriptsDigest and currentBinding()) match support/VALIDATION.json using reproduce.verifyBinding in support/VALIDATION.json, and run npm run typecheck + npm test directly with zero workflow dependencies.
  • Clean single-commit history: the staging branch is a single squashed commit (dec5f24d) on top of cursor/cookbook main (c912b7e4), touching only software-factory/agent-readiness/ and 3 lines in root README.md (preserving upstream's recent README.md link fixes and SDK CI workflow with zero extraneous diffs).

Instrument-freeze exception: this is the single upstream PR for the 0.2 line, so it carries the scripts and the instrument that measured them together; the release run above is bound to both.

Testing

  • npm run typecheck passes on the staging branch (dec5f24d).
  • npm test (non-Docker unit suite, with .github/workflows/agent-readiness*.yml absent) passes locally on dec5f24d: 1,544 passed, 0 failed, 30 Docker-only skipped across 346 suites.
  • support/VALIDATION.json reproduce.verifyBinding passes on dec5f24d: OK: all 4 digests match support/VALIDATION.json (dirty: false).
  • npm run check (typecheck and the full suite, including Docker fixture tests) passed offline on Linux on the bound digests, sharded across 3 runners with support/tools/no-skips.sh (0 skips, 0 failures).
  • support/tools/instrument-freeze.ts passes against cursor/cookbook main (c912b7e4) with the exception line above (862 files changed: 83 scripts, 126 instrument, 653 other, 1,257 asserted recorded fields, 0 asserting-less moves).
  • The 30 scripted negative eval cases (keyless, Docker) pass offline on the bound digests, including the held-out report-only case.
  • Blind holdout (Round 6, bound to cb9a21e2): both halves pass — VM (all K=0, R1 10/11, R2 8/9, R6 20/21) and Mac container (all K=0, K2 2→0, R3 3/3, R1/R2/R6 pass).
  • Pinned trials: 28 pinned real-repo trials across 4 Docker shards covering 1,257 asserted recorded fields in support/trials/trials.json (including the instrument-only R2 trial re-record for zustand and apollo-client, leaving scriptsDigest and currentBinding() unchanged from cb9a21e2). Shards 1/4, 2/4 (packwerk matching its updated container-Ruby deferral tracking, mastodon and spree unchanged), and 4/4 pass; shard 3/4 reflects only external pnpm 12.23.0 -> 12.25.1 drift on umami host.
  • 5-repeat --release-check (partial on cb9a21e2; continuing post-merge): 48 of ~724 runs completed, 46 of 46 usable runs passing all 6 gates, 0 flaky gates; 1 agent case lost 2 of 5 repeats to the 40-minute worker timeout (its other 3 repeats passed). A separate non-blocking follow-up PR is redesigning --release-check to finish in under ~3 hours.

…evel 2, and seven more languages

Squashed release commit for software-factory/agent-readiness 0.2.1 on top of cursor/cookbook main (c912b7e).

Includes:
- software-factory/agent-readiness/ (0.2.1 release candidate, scriptsDigest 866dd6b264025dc300ae5d15856dcd92aa53b5732da5aa3acea3e50c3549d584, rubric 2026-12-beta)
- software-factory/agent-readiness/support/VALIDATION.json (digest-bound offline validation attestation covering typecheck, unit tests, instrument freeze, scripted negative evals, pinned trials, blind holdout, and --release-check)
- Root README.md Agent readiness entry update (+3/-1, preserving upstream link fixes)

Upstream .github/workflows/ is left completely untouched (zero workflow files added or modified; zero extra GitHub Actions minutes consumed).

Co-authored-by: Andrew <neverfield@users.noreply.github.com>
@ericzakariasson
ericzakariasson merged commit a183176 into cursor:main Dec 3, 2026
6 checks passed
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.

3 participants