Skip to content

skill-evals CLI: a --case filter for single-case rounds, and the any-of prose the README and cli.ts header still miss #37980

Description

@objectstack-fleet

repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie

Filing gate: ② follow-up out of #37928. The source is the contract record 7220167777 on PR #37969 (nits N3 and N4) and L1-a's ACCEPT 7220192629 on the same head. The owning area files it under the source card.
Grading: area:ai · Task · p3 · reach: whoever runs a skill-eval acceptance round on one case (every eval-acceptance card since #37419) · evidence: read on main and in PR #37969's recordings.

维护者速读

What

  1. N3, a case filter. packages/qa/scenarios/src/skill-evals/cli.ts selects bundles (--skills, --skills-from, --triggers-only), never a case, so a single-case round (skill-evals grader: an any-of form over literal tokens, so one case can accept any of several correct code spellings (objectstack-ai case 6 first) #37928's acceptance, 10 draws per arm) needed an uncommitted driver calling preflight / planRound / executeRound / summariseRound. Add a flag (e.g. --case BUNDLE:ID[,…], the author's choice of spelling, stated in the PR) that plans only the named cases on both arms; refuse an unknown id, refuse it beside --regrade or --self-test the way --triggers-only is refused, and record the selection in round.json so a reviewer reads which cases the round covered.
  2. N4, prose. The README and the cli.ts header comment: the header still names two assertion forms (must_contain / must_not_contain), and the README shows the summary's unmet-group form as (none of: a / b) where the renderer puts each token in a code span. Make both say what the code does.

Acceptance

  • A self-test row: the flag plans exactly the named cases, both arms; an unknown id refuses with its location; the flag beside --regrade refuses.
  • skill-evals --dry-run --case … prints a plan holding only those cases.
  • Clause-②: no, Metadata-protocol: none. No eval file and no skill text change.

Blocked-by: #37928 (PR #37969)
Parent: #37928
Size: S
Dedupe (objectstack, is:issue): skill-evals --case flag 91 (closest #35705 --triggers-only, closed, a different selector; no case filter) · skill-evals per-case filter 36 (none open on a filter). No duplicate.

Activity

  1. added
    area:ai
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:devx · Task · p3 · pm:queue · size XS; rationale: a --case filter for single-case skill-eval rounds, plus the any-of prose the README and the CLI header miss. Internal eval tooling, p3 as filed. Recorded 2026-11-27T14:15Z.

  3. added
    domain:devx
    pm:queue
    on Nov 27, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie

    Claim: PM loop round 5 · area o1-B (follow-up filed by this area under epic #36996's cards; maintainer 2026-11-27T11:16Z 「记录内问 AI 继续做完」) · 2026-11-27T14:35Z
    Session: session_016WV4cxBECSPtHxQMZDHSie
    Account: os-elon-musk
    Branch: claude/area-o1B-37980
    Worktree: objectstack-issue-37980
    Domain: domain:devx
    Area: o1-B
    Seat: repo:objectstack#1
    File surface: packages/qa/scenarios/src/skill-evals/ (cli.ts, run.ts where the plan is filtered, self-test.ts), packages/qa/scenarios/README.md, one changeset (@objectstack/scenarios patch); no eval file, no skill text (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (Task)
    Thread-read: 7220548676
    Premise: holds — on main dc45b1e6 cli.ts has no case selector (--skills, --skills-from, --triggers-only select bundles); its header names two assertion forms.
    Serial constraints cleared: none — #37978 (same area) touches ui/scripts, disjoint; no other open PR on packages/qa/scenarios/src/skill-evals/ known to this area.
    Pre-claim lane: not governed ⇒ L1 in L1-a, landed by the area after ACCEPT.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie
    os-dev-report

    {
      "issue": 37980,
      "status": "done",
      "branch": "claude/area-o1B-37980",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38006",
      "session": "session_016WV4cxBECSPtHxQMZDHSie",
      "premise_still_valid": true,
      "summary": "Added `skill-evals --case KEY[,KEY...]`, KEY being the case key the summary and records already print (`BUNDLE/FILE_STEM#ID`); `BUNDLE:ID` was not used because ids repeat across a bundle's eval files in 10 of 14 bundles on main. The round plans only the named cases through the unchanged planRound (behaviour case on both arms, trigger case on the with-skill arm); an unknown bundle, eval file or id is refused naming what exists; the flag is refused beside --regrade, --self-test and --triggers-only; beside --skills every named case must be of a --skills bundle and --skills still sets the trigger competing set. round.json gains additive `scope.selectedCases`, the summary header lists the keys, and --regrade keeps the scope via a new pure `roundCatalogCases`. The cli.ts header names must_contain_any and --case; the README gains a --case bullet and example and now shows the unmet-group form as summary.ts renders it, each token in a code span.",
      "tests": "On head c6ffc0b813, under the verify lock: `pnpm --filter @objectstack/scenarios skill-evals --self-test` -> `✓ skill-evals self-test: 44 rows pass.` (4 new rows, floor 40 -> 44); `pnpm --filter @objectstack/scenarios typecheck` exit 0; `pnpm --filter @objectstack/scenarios test` -> `Test Files 45 passed (45) / Tests 1399 passed (1399)`, VERDICT command-exit 0 (closure `@objectstack/scenarios^...` and the package built first). Ablation via scripts/ablation-replace.mjs on cases.ts selectCases' return (also keep every trigger case): mutation landed (anchor 1->0, blob 1551cfbb5730->e8d328f6ead4), self-test red on the `select: --case plans exactly the named cases...` row, exit 1; restored blob == HEAD, git diff HEAD empty. No build/dist leg: the self-test runs src through tsx. Dry-run outputs (one behaviour case; a behaviour + a trigger case beside --skills) pasted in the PR body; refusal probes for unknown id / file / bundle, BUNDLE:ID shape and --regrade each exit 1 with the located message.",
      "gates": "Local: `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 56 families; all run, exit codes captured before any pipe: 55 exit 0, `pnpm check:dual-build-cjs-loads` exit 3 (PREREQUISITE NOT MET: reads every package's dist/, only the scenarios closure built) = NOT MEASURED, CI runs it. `--ran` reconciliation with exit codes: `56 derived famil(ies) accounted for — 55 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)`. check-platform-checklist not run: no exported symbol renamed or removed (only added). CI on c6ffc0b813 at report time: Lint/Type Check lanes, PR-body guards, Check PR Size, Governed Surface Queue Guard, Check Changeset, Flag docs: in_progress; Queue verdict, Borrowed queue verdict, Schedule gate, 18.x upgrade harness, Packed-tarball smoke: skipped. Test Core / Build Core not yet listed.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /repos/objectstack-ai/objectstack/issues/38006/assignees, one fleet-write stroke, read back identical 8952 bytes, assignee os-elon-musk); this report comment via post-stamped (POST /repos/objectstack-ai/objectstack/issues/37980/comments). Plus git push of the branch (not a REST write).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the unreleased changeset .changeset/37928-skill-evals-any-of.md still says the summary prints `(none of: a / b)`; outside this card's file surface (one new changeset), noted in the PR's Acceptance notes"
      ]
    }
  7. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cxBECSPtHxQMZDHSie

    Close-out (area o1-B) · 2026-11-27T16:20Z
    Delivered: PR #38006 merged as b5809b32 (area landing 7222554488): skill-evals --case KEY[,KEY…] with KEY = BUNDLE/FILE_STEM#ID, the case key summaries and records already print; plans only the named cases through the unchanged planRound; unknown keys refused naming what exists; refused beside --regrade, --self-test and --triggers-only; round.json gains additive scope.selectedCases. The cli.ts header and the README name must_contain_any and document --case; the README prints the unmet-group form as summary.ts does. Self-test 40 → 44 rows. L1 ACCEPT 7222535618.
    Carried, not owed: the unreleased .changeset/37928-skill-evals-any-of.md still shows (none of: a / b) without per-token code spans; it rides the next prose touch on this surface.
    State: pm:dispatched removed with the close. Remaining: none on this card.

  8. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:devxpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions