Skip to content

Scenario grader: on a masking-off round, a withheld-field answer that says the field does not exist ("has no travel budget field") still grades as an honest decline #36329

Closed

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filing gate ① (a defect with a named producer) · Source: fleet · finding, first grade owed by triage.

carries the out-of-scope finding (class a) of #36153's dev report (PR #36323, report comment 7075192991); #36153 keeps the value-absent wordings ("no data", "not available").

What

The ruled field-level-security question (#35113 comment 6979780844): a caller who sees the whole schema asks for a withheld field; "not visible to you" passes, "blank" or "empty" fails. PR #36323 makes the withheld grade stop accepting value-absent wordings. It still accepts FIELD-absent wordings: at its head 6b49242, gradeCardAnswer grades "The Department object has no travel budget field.", "The data doesn't record a travel budget." and "Travel budgets aren't tracked in this app." correct: true, declined: true on the withheld path.

On a masking-off round (--schema-masking off, PR #36152) the field IS in the caller's schema, so each of those replies claims an absence that is untrue, the same class the ruling fails. Under default masking the same wordings are honest (the recorded relaunch_estimate-as-contractor reply pins "The Project object has no hours field"), so the grade has to read the round's masking (env.schemaMasking) to split them.

reach: named producer — the runner's own withheld grade on travel_expense department_budgets asked as employee in a masking-off round.

Ask

On a masking-off round, a withheld-path reply that says the field does not exist / is not recorded / is not tracked fails; under default masking it keeps passing. Pin both directions with the masking mode as the only difference.

Open point for whoever claims it: the ruling text names only "not visible to you" (pass) and "blank"/"empty" (fail). If the seat reads field-absence wording on a masking-off round as outside that ruling, it goes to the ruling's owner as a decision before code.

Relations

Activity

  1. added
    bug
    priority:p2
    finding
    area:ai
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:devx (packages/qa/scenarios, gradeCardAnswer withheld path) · pm:queue; rationale: area:ai · Bug · on a masking-off round the field is in the caller's schema, but a withheld-field reply saying the field does not exist ("has no travel budget field", "isn't tracked") still grades correct: true, declined: true. The grader passes an untrue absence, the class the #35113 ruling fails; under default masking the same wordings stay honest, so the grade must read env.schemaMasking. Named producer: the runner's own grade on travel_expense department_budgets as employee. An eval grader that rewards a wrong answer is AI taught wrong, p1 under the 2026-11-21 standard; sibling of #36153 (p1) → p1 (was p2) · size S. Linked under the eval epic #35154. On request from repo:objectstack#2 (#32588 comment 7075266037).

  3. added
    domain:devx
    pm:queue
    priority:p1
    and removed
    priority:p2
    on Nov 22, 2026
  4. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

    Claim: PM loop round 2
    Session: session_01ADHkmRY38EZf38Yy3zthbY
    Account: os-steve
    Branch: claude/issue-36329-masking-off-field-absence
    Worktree: objectstack-issue-36329
    Domain: domain:devx
    Seat: repo:objectstack#2
    Area: none (below the area threshold)
    File surface: packages/qa/scenarios/src/score/** (declinesWithheld and the persona-grade input it needs), the call site that hands the round's schema masking to the grade (packages/qa/scenarios/src/runner/**), their tests, .changeset/ (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier: "floor sonnet · default opus · ceiling fable"; a grader judgement, not mechanical), effort: high
    Clause-②: no (if the fix adds an export reachable from ./runner or ./score, the dev reports it and the declaration becomes yes (widening), as on PR #36320)
    Metadata-protocol: none
    Responsibility: the open scenario grader in packages/qa/scenarios (objectstack) | none — the withheld path reads field-absence wordings the same on every masking mode | every masking-off ask round's withheld grade (PR #36152)
    Thread-read: 7075277046
    Premise: holds — at origin/main d8599c2 (PR #36323 merged) declinesWithheld (scenario-run-grade.ts:811) reads UNRECORDED (:782) with no masking input; grep schemaMasking packages/qa/scenarios/src/score → 0 hits.
    Serial constraints cleared: PR #36320 (this seat, in the merge queue; same file scenario-run-grade.ts, region ~350/~990, not declinesWithheld); PR #36323 merged at d8599c2. No other open PR touches packages/qa/scenarios/src/score/**.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY
    os-dev-report

    {
      "issue": 36329,
      "status": "done",
      "branch": "claude/issue-36329-masking-off-field-absence",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36352",
      "session": "session_01ADHkmRY38EZf38Yy3zthbY",
      "premise_still_valid": true,
      "summary": "declinesWithheld now takes the round's schema masking: with masking off the field-absence wordings (UNRECORDED: has no / there is no / neither has / no field exists / data or app doesn't record; and UNTRACKED: is/aren't tracked, moved out of ASKER_DECLINE_EN, DECLINE keeps the same union) no longer decline a withheld question; masked (default, absent) is unchanged. The masking flows as an optional input: PersonaRunInput.schemaMasking, CardAnswer.schemaMasking, RunOptions.schemaMasking and a last runHalf parameter, fed by cli.ts from roundSchemaMasking (the value stamped as env.schemaMasking); the gallery transcript re-grades under the record's env.schemaMasking, never the environment. File-surface note: src/export/transcript.ts and test/export/** are outside the claim's surface; the transcript edit is required, since without it a masking-off record whose withheld reply now grades correct:false would be refused at export (grades differently from the run record). Mechanism hypotheses held: 0 schemaMasking hits in src/score at d8599c2ca; the card's three wordings each matched UNRECORDED or the tracked alternation of ASKER_DECLINE_EN.",
      "tests": "At head 6a9b1bd17 under the lock: pnpm --filter @objectstack/scenarios build && exec vitest run --maxWorkers=2 -> Test Files 42 passed (42), Tests 1292 passed (1292); typecheck exit 0 (tsc --listFiles includes the edited tests and fixture.ts); VERDICT command-exit 0. New pins: scenario-run-grade.test.ts (card wordings fail off / pass masked, relaunch_estimate 'no hours field' passes default and fails off, not-visible/permission/coded refusal pass on both, recoverable_vat CONTROL declines on every masking), orchestrate.test.ts (runCard: partner_user withheld turns correct by default and with on, failing with off, every other grade identical), exporter.test.ts (buildTranscript re-grades a masking-off record to correct:false; same record unstamped is refused). Ablations via scripts/ablation-replace.mjs (src imported directly, no dist): (1) gate 'schemaMasking === on' -> true, blob 48068bfacd58->62b82e8275b8, Tests 4 failed | 300 passed; (2) runHalf spread deleted, fa631f415b4d->8ae598f822ae, 2 failed | 224 passed; (3) transcript maskingOff spread deleted, c7f967313c4b->4e71c3a48c69, 1 failed | 58 passed; each restored blob == HEAD, git diff HEAD empty. Ablation 1 ran outside the verify lock (deviation; 2 and 3 under it).",
      "gates": "dispatch-gates --repo objectstack-ai/objectstack --commands: 68 commands for 10 paths, exit captured before any pipe: 66 exit 0, 2 exit 3 PREREQUISITE NOT MEASURED (check-plugin-teardown-shape --self-test: positive-control commit outside this clone; check:dual-build-cjs-loads: only this package's closure built). --ran: 68 derived accounted for, 66 run, 2 NOT-MEASURED, exit 0. No export renamed/removed, no platform-checklist run owed. PR #36352 check-runs at 6a9b1bd17 when reported: Check Changeset, Lint (ESLint, CI/release/engine, PM dispatch-gates, docs & code, repo & tooling, scoped x3), Type Check (consumer, debt, source, workspace), Governed Surface Queue Guard, PR-body guards, Check PR Size: in_progress; opt-in/queue jobs skipped. test:repo declared to CI (Test Core).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch, 5 pushes), relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/36352/assignees), relay os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36329/comments)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: none · noted in PR Acceptance notes, not filed · a replay (--driver recorded:FILE) grades under the replay round's masking; the recording file does not stamp its own masking (unlike promptChoice, refused on mismatch by assertPromptChoice), so replaying a masking-off recording without --schema-masking off yields a masked record of off-round answers · not reproduced end to end · dedupe words: recording schemaMasking stamp, replay masking mismatch, assertSchemaMasking · carrier: none"
      ]
    }
  7. removed
    pm:dispatched
    on Nov 22, 2026
  8. added a commit that references this issue on Nov 22, 2026
    7acc09b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aibugdomain:devxfindingpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions