Skip to content

Re-theme the decision eval into NodeSpace's developer-workflow domain - #3561

Merged
malibio merged 1 commit into
mainfrom
issue-3513-decision-eval-retheme
Oct 4, 2026
Merged

malibio merged 1 commit into
mainfrom
issue-3513-decision-eval-retheme

Conversation

@malibio

@malibio malibio commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #3513.

What changed

The decision eval's seeded workspace and every business-domain prompt are now in NodeSpace's working domain. Nothing else about the fixture changed: every scenario id, expected shape and flag is the same.

Before After
Type with a name field and a date company_sold_to (signed_date) feature_spec (signed_off_date)
Type with a date and a number, no name event_venue (booking_date, capacity) planning_cycle (end_date, capacity)
Seeded record Northwind Trading Kestrel Gateway
Absent records Contoso Ltd, Tailspin Toys Lantern Autosave, Tundra Billing
Linked-skill type warranty_claim bug_report

Also in this PR:

  • decisions.test.ts moved to the new vocabulary.
  • The Rust comments and live tests that quoted old prompts as evidence (skill_pipeline.rs, live_skill_retrieval_stability.rs, live_stage1_golden_prompts.rs) are re-measured on the new prompts or reworded so they cite no prompt the fixture no longer holds.
  • agent-eval.md "Scenario domain" now covers all three fixtures (already on nodespace-docs main).

One thing the issue's vocabulary criterion cannot fully meet: the id schema-on-menu-company still contains "company", because ids must not change.

Eval comparison

This is not the 3-rep full comparison the issue asks for. At the maintainer's request it was cut to one pass of 19 scenarios on each fixture, then extra reps only where the two differed or a prompt was reworded. What that does and does not establish:

  • The six scenarios left out (skill-find-request, skill-question-how, skill-question-what, skill-question-explain, op-own-skills-no-search, outcome-find-own-skill) have unchanged prompts but a changed workspace, since the workspace is seeded before every chat. They are unmeasured, not unaffected.
  • A difference between one-rep results is within this suite's run-to-run spread. Only rows with three reps on a side are established.
  • Both fixtures ran on one daemon build, gemma-4-e4b-q4km, database purged and daemon restarted before each rep, no other model loaded. That build is the branch point (4aad201f), before main was merged in; main has since added a skill (see the last section).

Passed on both fixtures, one rep a side: op-list-by-type, outcome-list-types, outcome-question-searches-first, outcome-record-field-is-answered, outcome-follow-up-keeps-its-answer, schema-field-disambiguates, declarative-state-change-resolved, held-on-menu-type, held-off-menu-type.

Everything else:

Scenario Old New What happened Established?
skill-type-request-direct 3/3 0/4 Graph Editing leads over Schema Creation (0.864 to 0.856). The turn still calls create_schema. Yes
skill-type-request-indirect 3/3 0/4 Same: Graph Editing 0.889, Schema Creation 0.868. Yes
outcome-follow-up-statement-keeps-its-answer 3/3 0/3 Reply is "I'm not sure what you mean". Yes
schema-shared-name-signed 3/3 0/3 Answered correctly through search_semantic, which names no type. Yes
declarative-fact-report-resolved 0/1 0/3 Searches on a fact report, on both. Fails on both
skill-instance-request 0/1 3/3 Old: no skill holding create_node was retrieved. No: one old rep
schema-on-menu-company 0/1 3/3 Old: the create was refused and the user was not asked. No: one old rep
entity-no-match-is-a-create 0/1 3/3 Old: create_schema was called, create_node not offered. No: one old rep
op-read-then-write 0/1 2/2 Old: the turn never reached inference. New: the write lands. No: one old rep
held-off-menu-node 1/1 3/3 Held, and nothing written, on both. No

The four established regressions are filed together as #3560. No skill description or guidance is changed here.

Prompts reworded after measuring

Each of these was a defect in my wording, not a model finding. The table above is for the final wording.

  • The add frame. "Add X to the specs we have signed off." made the model read "signed off" as a filter and search for signed-off specs (0 of 1 on all three scenarios that use it). "Add X to our feature specs." passed, but names feature_spec outright, which puts the type into the Stage-1 prompt where "the companies we sell to" did not (review finding 2). The final frame, "Add X to the specs we keep.", restates the type without naming it: 3 of 3 on each of the three.
  • held-off-menu-node. With the bug report mentioned as an aside, routing dropped it, a built-in skill led, and the turn was not held in 11 of 12. A wording that held it also stated a fact about the bug report, which would have made a write to that report a correct answer the scenario scores red (review finding 1). The final wording opens by asking for the follow-up on a named bug report and says nothing about it: held 3 of 3.
  • op-read-then-write. The winnability note on Re-theme the decision eval's scenarios and seeded workspace into NodeSpace's developer-workflow domain #3513 asked that the record hold the field the message changes and that the message carry a full value. My first re-theme mirrored the old prompt and kept both problems. It is now "Kestrel Gateway has moved its sign-off to the 2nd of April 2025.", and the update lands with 2025-04-02 (2 of 2). Without the year the model wrote 2004.
  • Record names. "Kestrel Sync" and "Lantern Export" shared a word or subject with a built-in skill's description (Conflict Journal's "sync collisions", Bulk Import). They are now "Kestrel Gateway" and "Lantern Autosave" (review finding 3). The four regressions above persist under the neutral names, so the name was not their cause.

Verification

  • bun run test:changed: passes on the branch merged with main (scripts tier, generated-types drift, node-types.md check, Rust workspace).
  • guidance_is_not_contaminated_by_eval_prompts: passes on the final prompts.
  • Live retrieval tests (lookups_route_research_and_search, updates_to_one_record_do_not_lead_with_schema_creation, adds_to_an_existing_list_keep_a_skill_that_can_create): pass on the final prompts, on the merged branch; their doc comments carry the new scores. Those scores are from the merged branch, which has the Play Authoring skill; the eval pass rates above are from the branch-point build, which does not. The two are not the same build.

To revisit

The fixture seeds a custom feature_spec type. ADR-092 makes spec, plan and decision core types (#3542, open). The id does not collide with a core spec, but once that lands the prompts' "spec" will name a core type, and the fixture should move to it.

A live test that fails on the merged branch, not because of this PR

stage1_routes_a_knowledge_question_as_a_lookup and stage1_routes_a_question_as_a_lookup_after_unrelated_turns (both #[ignore], not in any gate) passed on this branch before main was merged in, and fail after. The failing messages are "How do we onboard a new sponsor?", which this PR does not touch, and the re-themed "How do we decide which cycle a slipped spec moves into?". Both are routed as a query, 3 of 3. The merge brought in the Play Authoring skill and its tools. Recorded in #3560.

🤖 Generated with Claude Code

@malibio

malibio commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Pragmatic Code Review: PR #3561

  • Review Type: Initial Review (no earlier reviews or comments on the PR)
  • Reviewed at: f3a34a7c
  • Recommendation: REQUEST CHANGES (small and local; no architecture or security problem)

Summary

The re-theme is done carefully and is a clear improvement. I compared the old and new fixtures programmatically: all 25 scenarios keep their id, order, key set, expected shape, flags and priorTurns count. The seeded workspace keeps every structural property the issue lists. No old-domain word is left in the fixture or its test apart from the id schema-on-menu-company, which must not change.

What I am asking to change is about measurement validity, which is what this fixture is for. Two reworded prompts change what their scenarios measure, one seeded name breaks a rule the fixture states for itself, one comment quotes a pass rate the PR's own run contradicts, and the PR description overstates part of the comparison. None of these needs a full re-run.

What I ran: bun test scripts/eval/fixtures/decisions.test.ts (39 pass), bun run scripts/eval/decisions.ts --list (25 chats, ids as before), and a structural diff of the two fixtures. I did not run cargo, the live tests, test:scripts, quality:fix or any eval, so those claims are taken from the PR description.

Requirements Check

# Acceptance criterion Status Notes
1 seedWorkspace / seedLinkedSkills seed developer-domain types, record and skills, structure unchanged ✅ feature_spec (name, signed_off_date), planning_cycle (end_date, capacity, no name), one record, three linked skills with the same tool lists, bug_report. Both ids keep an underscore; only the cycle has a number.
2 Every prompt and priorTurns entry in the working domain, no old vocabulary ✅ Only schema-on-menu-company (the id, and one comment and two test lines that cite it) remains. The PR says so.
3 Every id, expected shape and flag unchanged ✅ Verified by script, 25 of 25. Only regexes and seeded constants changed.
4 Scenario descriptions, per-scenario comments and header match the new prompts ❌ partly Mostly done well. See findings 4, 6 and 7.
5 decisions.test.ts updated and passes ✅ 39 pass.
6 New prompts pass guidance_is_not_contaminated_by_eval_prompts ✅ per PR Not re-run here.
7 Rust comments and live tests no longer cite a prompt the fixture does not hold ✅ All three files reworded or re-measured. "How do we onboard a new sponsor?" stays, was never a fixture prompt, and the reason is disclosed (#3560).
8 3-rep old vs 3-rep new comparison, every moved scenario named ❌ Not done, and the PR says so. See finding 5 for where the account goes further than the data.
9 agent-eval.md "Scenario domain" covers all three fixtures ✅ On docs main, including the seeded-structure list.
10 test:scripts passes, quality:fix clean ✅ per PR Not re-run here.

Code Review Findings

🟡 Important

1. held-off-menu-node now asks for a write the scenario scores as a failure
📁 scripts/eval/fixtures/decisions.ts:1012-1037 (and the heldRecordUnchanged contract at :153-164)

The new prompt is "Follow up on the Aurora renderer bug report: its fix landed late, so change Kestrel Sync's signed-off date…". The old one mentioned the claim as an aside and named none. The new one names a specific bug report and gives a fact about it. bug_report has a status value fixed, and the Bug Report Follow-up skill is described as "find the bug report and change its status or add what happened next". A turn that finds the Aurora renderer report and sets it to fixed, or adds a note, is doing what was asked on an offered type. assertHeldRecordUnchanged fails any persisted create_node or update_node, with the text "a record the user did not name was changed or created". The contract comment's premise, "the request was for none of those", no longer holds for this prompt.

It also makes the score depend on an earlier chat. The Aurora renderer report exists only if held-on-menu-type created it in the same rep, so a --only held-off-menu-node run and a full run see different workspaces. That is the dependence the "Workspace" comment at :242-260 was written to remove.

The 2 of 2 in the PR shows it can pass, not that this path is closed.

Recommendation: keep the bug report in the lead position, since that is what got the turn held, but give the model nothing to record about it. For example: "That date is wrong. Following up on the Aurora renderer bug report showed it: change Kestrel Sync's signed-off date to the 2nd of May 2025." Then re-run this one scenario. If the current wording stays, say in the comment that a bug-report write fails the scenario and why that is accepted.

Principle: a scenario must not score correct behaviour red (the "Winnability" section of agent-eval.md).

2. "Add X to our feature specs." names the seeded type; "the companies we sell to" did not
📁 scripts/eval/fixtures/decisions.ts:663, :864, :912

The PR says the new frame "restates the type the way 'the companies we sell to' did". Mechanically it does not. stage1_type_names (packages/agent/src/local_agent/agent_loop.rs:228-245) lists a user type in the Stage-1 prompt when user_message_names_type (:1607-1627) finds every word of its name in the message, plural allowed. "feature specs" matches feature_spec. "companies we sell to" did not match company_sold_to, because "sold" is absent. So on the old fixture these three turns got the Stage-1 prompt with no type line, and on the new one they get it with the type named.

The three scenarios that use the frame (skill-instance-request, schema-on-menu-company, entity-no-match-is-a-create) are the three that went from 0 of 1 to 2 of 2. The first wording, "the specs we have signed off", did not name the type and scored 0 of 1 on all three, like the old fixture. I did not run the model, so the cause is not established, but the PR presents these as the domain's effect and does not mention this difference.

Recommendation, either of:

  • Reword to a frame that restates without naming, such as "Add Lantern Export to the specs we keep." ("feature" absent, no filter to misread), and re-run the three.
  • Keep the wording, say in the three scenario comments that the request names the type and so reaches Stage 1 with the type line, and mark the three improvements in the PR as not comparable with the old numbers.

Principle: a re-theme changes vocabulary, not the path a scenario exercises (the issue's "what each scenario measures does not change").

3. The seeded record's name carries a word from a built-in skill's description
📁 scripts/eval/fixtures/decisions.ts:321 (SEEDED_SPEC_TITLE = "Kestrel Sync"), against packages/agent/src/skill_pipeline.rs:457

Conflict Journal's description ends "…duplicates, or sync collisions". The fixture states its own rule at :681-684: topics avoid every seeded skill's subject, because otherwise the score "would measure which noun the fixture happened to pick". "Northwind Trading" was neutral. "Kestrel Sync" is in about ten prompts and prior turns.

There is evidence it matters. #3560 item 2 records Conflict Journal at 0.799 against Research & Search at 0.800 on the Kestrel Sync date lookup, where the old equivalent had a 0.033 margin. This PR records Conflict Journal leading the first held-off-menu-node wording. "Lantern Export" is a softer case of the same thing: Bulk Import rose to second at 0.837.

Recommendation, either of:

Principle: control the confound the fixture already names.

4. A comment quotes a pass rate the PR's own run contradicts
📁 scripts/eval/fixtures/decisions.ts:963-972

declarative-fact-report-resolved says "As the first turn of its own chat it passes 3 of 3". The PR table has it at 0 of 1 on both fixtures ("Searches on a fact report, on both"). The 3 of 3 was measured on the old prompt and an older build, and now sits beside a prompt it was never measured on.

Recommendation: replace it with what this run saw, or mark it as measured on the earlier wording and build.

Principle: a comment that cites a measurement must be true of the code beside it.

5. The PR description goes further than its data in three places
📁 PR description, "Eval comparison"

The description is open that criterion 8 is not met, which is the right thing to do. Three statements still need correcting:

  • "the 19 scenarios whose prompt or seeded state changed". Seeded state changed for all 25, because seedWorkspace runs before every chat. The six skipped scenarios have unchanged prompts and a changed workspace. Fix the skill routing and follow-up misses the re-themed decision eval surfaced #3560 item 3 shows an unchanged prompt ("Say that again more simply.") getting different candidates on the two workspaces. They are low risk, not unaffected.
  • The five "moved to passing" rows compare 0 of 1 with 1 or 2 passes. agent-eval.md "Baseline comparison" says a difference between one-rep runs is within the suite's known spread. Only the four 3 of 3 to 0 of 3 rows are established. The nine "passed on both" are also one rep a side.
  • The claim covered in finding 2.

Also, Closes #3513 will close the issue with criterion 8 unmet. Since the reduction was the maintainer's call, record it on the issue (edit the criterion or add a comment) so the closed issue does not read as a completed 3-rep comparison.

Principle: report what was measured, at the confidence it was measured.

🟢 Suggestions

6. Historical measurements now read as if taken on the new prompts
📁 scripts/eval/fixtures/decisions.ts:366-371, :649-656, :831-849, :877-883, :1019-1024

Genericising the quotes was the right call. A side effect is that "Measured: … 3 of 3", "op-read-then-write moves its date to April" and "Measured without it, in three wordings" no longer show which prompt they belong to. One sentence in the file header would cover them all: measurements in comments predate the re-theme unless they say otherwise. In skill-instance-request, "several skills score within a few thousandths of each other" is no longer true of the prompt beside it, where Node Creation leads by 0.029 according to the live-test doc.

7. op-read-then-write names a field the record's type does not have
📁 scripts/eval/fixtures/decisions.ts:584

"Kestrel Sync has moved its end date to April": end_date is on planning_cycle, and the spec has only signed_off_date. This mirrors the old prompt (a company's "booking"), so the re-theme is faithful and the scenario is winnable as scored, on the first operation. It is worth one line in the comment saying the cross-type field is intended, because the Winnability section reads as forbidding it.

8. Doc comment on adds_to_an_existing_list_keep_a_skill_that_can_create is hard to follow
📁 packages/agent/tests/it/live_skill_retrieval_stability.rs:1295-1303

"…and a request for one more of a kind that exists has scored several skills inside 0.005 of each other. Of those four Node Creation and Graph Editing can create the record, and Schema Creation cannot." The middle clause has no referent now, and Bulk Import, second in the ranking, is not classified. Suggest: "Node Creation and Graph Editing can create the record; Bulk Import and Schema Creation cannot."

Nitpicks

  • Nit: scripts/eval/fixtures/decisions.test.ts:469-472: the test is still called "the reported reply, read from the context block, fails", but the reply is now a re-themed one, not the one reported. "a reply naming only the custom types, with no tool called, fails" would match what it tests.
  • Nit: scripts/eval/fixtures/decisions.test.ts:287-290: the needle "spec" is stricter than the mechanism, which needs the contiguous tokens "feature spec" (append_schemas_named_in_query, packages/core/src/ops/context_ops.rs:549-569). Stricter is safe. Building the needles from the exported constants would stop the test and the fixture drifting apart.
  • Nit: scripts/eval/fixtures/decisions.ts:598-599: "its id is model-derived on a warm rep" has been untrue since the types were seeded with fixed ids. It predates this PR and is cheap to fix while the comment is open.
  • Nit: commit 92010e25 says three prompts were reworded and the PR says two. It was two wordings across four prompt literals.
  • Nit: packages/agent/src/local_agent/tools.rs:940 still quotes "when did we sign Northwind?" with signed_date as measured evidence. It is outside the three files the issue names and is a true record of what was measured, so leaving it is fine.

What is done well

  • The structural rules are written beside the seeded types (:270-279) and in the docs, so the next re-theme has a checklist.
  • The regressions were filed (Fix the skill routing and follow-up misses the re-themed decision eval surfaced #3560) and no description was retuned to recover them, as the issue asks.
  • The held-off-menu-node rewording was caught because the scenario "measured nothing". That is the right instinct, and finding 1 is about the next step of the same problem.

Recommendation

REQUEST CHANGES. Address findings 1 to 5. Findings 1 and 2 need at most four scenarios re-run. Findings 3 to 5 can be closed with text if the names stay. The rest is optional.

@malibio malibio left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated pragmatic-code-review: REQUEST CHANGES (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.

@malibio

malibio commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Review addressed (commit 9012e67d)

# Finding Outcome
1 held-off-menu-node asked for a write the scenario scores red Fixed. The request now opens "Follow up on the Aurora renderer bug report: change …" and states nothing about the report, so there is no change to it to make. Held 3 of 3, nothing written. The reviewer's suggested wording (report as an aside, "showed it") was tried first and held only 1 of 3.
2 "our feature specs" names the seeded type Fixed. The frame is "Add X to the specs we keep.", which does not match feature_spec. The three scenarios pass 3 of 3 on it, so the improvement did not depend on the type line. The PR now marks those rows as not established, since the old side is one rep.
3 "Kestrel Sync" shares a word with Conflict Journal's description Fixed. Renamed to "Kestrel Gateway", and "Lantern Export" to "Lantern Autosave". The rule is written beside SEEDED_SPEC_TITLE. The four regressions persist under the neutral names, so the name was not their cause; #3560 is updated.
4 Comment quoted "passes 3 of 3" against a prompt that fails Fixed. It now says the 3 of 3 was on the earlier wording and records 0 of 3 on this one.
5 PR description overstated the comparison Fixed. Rewritten: the six skipped scenarios are unmeasured, not unaffected; a column says which rows are established; the build is named. The reduced comparison is recorded on #3513.
6 Historical measurements read as current Fixed with a header note, and the one sentence that was no longer true of its prompt.
7 Cross-type field in op-read-then-write Fixed with a note that it is intended.
8 Hard-to-follow doc comment Fixed, with re-measured scores.
nit Test name, stale "model-derived" comment Fixed.
nit Build the test's needle from exported constants Skipped. The literal is stricter than the mechanism, which is safe, and exporting fixture constants for one assertion is not worth it.
nit Old prompt quoted in local_agent/tools.rs Skipped. Outside the files the issue names, and a true record of what was measured.

Re-measured for these changes: one pass of the 19 scenarios, two more reps of the seven the rewordings bear on, three reps of held-off-menu-node, the contamination guard, and the live retrieval tests.

One new observation, not caused by this PR: two #[ignore] Stage-1 golden tests pass before main is merged in and fail after, on a prompt this PR does not touch. Details are in the PR description and #3560.

Re-Review Decision

Decision: RE-REVIEW NEEDED

Rationale: Three of the fixes change scenario prompts and the seeded record, which is the substance of this PR, and the reviewer's first two findings were about exactly that kind of change.

@malibio

malibio commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Pragmatic Code Review: PR #3561

  • Review Type: Re-Review
  • Reviewed at: 9012e67d (first review was at f3a34a7c)
  • Recommendation: APPROVE, with one item to settle in text before merge (new finding A)

Previous Review Summary

  • Previous recommendations: 8 findings and 5 nits
  • Addressed: 7 findings and 2 nits in full, 1 finding in part
  • Not addressed: 0 (3 nits were skipped or left, each with a reason I accept)
  • New issues found: 1 Important, 2 Suggestions

What I checked, and what I did not

Checked from the code:

  • All 25 scenarios still match origin/main. I loaded both fixtures and compared them by script: same ids in the same order, same key sets, same expected shapes, same flags, same priorTurns counts. 0 differences. Only prompts, regexes and seeded constants differ.
  • The new add frame names no type. "Add X to the specs we keep." has no "feature", so user_message_names_type does not match feature_spec and stage1_type_names adds no type line. append_schemas_named_in_query needs the contiguous tokens "feature spec" and does not fire either. No built-in word from stage1_core_type_words is in the frame. This is the same position "the companies we sell to" was in on the old fixture.
  • The new record names are neutral. None of "kestrel", "gateway", "lantern", "autosave", "tundra" or "billing" appears anywhere in packages/agent/src/skill_pipeline.rs, so the claim written beside SEEDED_SPEC_TITLE is true, including for Play Authoring, which main added.
  • No old name is left. "Kestrel Sync", "Lantern Export" and "our feature specs" are gone from the fixture, its test and the three Rust files, apart from an unrelated prior turn in a Stage-1 test and the routing fixture's own prompts.
  • The fixture and its test agree. bun test scripts/eval/fixtures/decisions.test.ts: 39 pass. bun run scripts/eval/decisions.ts --list: 25 chats, ids as before.
  • The PR description adds up. 9 scenarios passed on both, 10 are in the table, 6 were not run: 25. Every "established" row has three reps a side.

Not checked: I ran no cargo build, live test or eval. The pass rates, the retrieval scores in the doc comments and the test:changed result are taken from the PR.

Previous findings

# Finding Status Notes
1 held-off-menu-node asked for a write the scenario scores red Partly addressed The write path is closed: the prompt states nothing about the bug report, so there is nothing to record on it, and a write there is the refusal turned into a wrong record, which the scenario exists to catch. The second half of the finding is not addressed or mentioned: the prompt still names the report that held-on-menu-type creates. See new finding B.
2 "our feature specs" named the seeded type Addressed Verified against both mechanisms, as above. The PR no longer says the improvement is the domain's effect, and marks the three rows as not established.
3 "Kestrel Sync" shared a word with Conflict Journal's description Addressed Renamed, rule written beside the constant, #3560 corrected. The doc comment's retrieval margin for the add request (Schema Creation 0.014 behind the lead) is close to the old fixture's 0.012, which the "our feature specs" frame was not (0.043).
4 Comment quoted "passes 3 of 3" beside a prompt that fails Addressed Now says the 3 of 3 was on the earlier wording and gives 0 of 3 on this one, which matches the PR table.
5 PR description overstated the comparison Addressed The six skipped scenarios are called unmeasured, a column says which rows are established, the build is named, and the reduced comparison is recorded on #3513.
6 Historical measurements read as current Addressed Header note added. The skill-instance-request sentence is now in the past tense.
7 Cross-type field in op-read-then-write Addressed as I asked, but my advice was wrong See new finding A.
8 Hard-to-follow doc comment Addressed Rewritten with re-measured scores. All four skills it names are classified.
nit Test name "the reported reply…" Addressed
nit Stale "model-derived" comment Addressed
nit Build the test needle from exported constants Skipped, accepted The literal is stricter than the mechanism.
nit Commit message count Not applicable History is squashed on merge.
nit Old prompt quoted in local_agent/tools.rs Left, accepted Outside the issue's files and a true record.

New findings

A. 🟡 Important: op-read-then-write now calls "intended" what a note on the issue asked the re-theme to fix
📁 scripts/eval/fixtures/decisions.ts:590-597

The new comment says the cross-type field is intended. A comment on #3513, written before this work started, says the opposite about this scenario: "When this scenario is re-themed, the record it names should hold the field the message changes, and the message should carry a value that field can take." It was measured: 3 of 3 reps wrote a partial date, validation refused it, and the reply asked for the day. The re-themed prompt, "Kestrel Gateway has moved its end date to April.", keeps both problems: a spec has no end_date, and "April" has no day.

This one is on me as much as the author. Finding 7 of my first review called the prompt a faithful mirror and asked for a comment saying it is intended. I had not read that issue comment. The scenario is scored on the first operation, so its score is not wrong. What is wrong is that the fixture now records as a decision something the issue recorded as a defect, and the issue's "Winnability holds" constraint is not met for this prompt.

Recommendation, either of:

  • Follow the note: name a field the spec has and a full date, for example "Kestrel Gateway has moved its sign-off to the 2nd of April.", and re-measure this scenario and the first query of updates_to_one_record_do_not_lead_with_schema_creation. Check it does not collapse into declarative-state-change-resolved, which is described as its parallel.
  • Keep the wording, and replace "That is intended" with what is true: the write cannot land as worded, the issue asked for that to change, and why it was kept. Say the same on Re-theme the decision eval's scenarios and seeded workspace into NodeSpace's developer-workflow domain #3513.

The second needs no re-review. The first needs only that scenario re-measured.

Principle: winnability (agent-eval.md), and a comment must not record as intent what the issue records as a defect.

B. 🟢 Suggestion: held-off-menu-node still depends on a record an earlier chat creates
📁 scripts/eval/fixtures/decisions.ts:1044-1052

The Aurora renderer bug report exists only if held-on-menu-type created it earlier in the same rep. A full run and a --only held-off-menu-node run give the turn different workspaces: in one a search for the report finds it, in the other it finds nothing, and the Follow-up skill holds create_node. Whether the turn is held is a retrieval result and does not depend on this. Whether a write then lands may. held-off-menu-type has had the same dependence since before this PR, so this is the group's existing pattern and not a regression.

Recommendation: add one line to the comment saying the report exists only after held-on-menu-type, and whether the 3 of 3 was measured in a full run, with --only, or both. No rewording needed.

Principle: a scenario's score should not depend on the chats before it (the fixture's own "Workspace" comment).

C. 🟢 Suggestion: say which build the final-wording pass rates are from, next to the retrieval scores
📁 PR description, "Eval comparison"; packages/agent/tests/it/live_skill_retrieval_stability.rs:1295-1301

The eval pass rates are from the branch-point build, which has no Play Authoring skill. The doc comment's scores are from the merged branch, where Play Authoring is fourth on the add request, 0.004 behind Node Creation. The description discloses the build, so nothing is misstated. A reader comparing the two should be told they are not the same build. One sentence in the description is enough.

Recommendation

APPROVE. The five findings that blocked the first review are fixed, and I verified the two that mattered most (the add frame and the record names) against the code, not the author's summary. Settle finding A before merge, in either of the two ways given. B and C are optional.

@malibio malibio left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated pragmatic-code-review (re-review): APPROVE (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.

@malibio

malibio commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator Author

Re-review addressed (commit 772924d7)

  • A (op-read-then-write). Fixed by following the issue's winnability note, not by keeping the wording: the request now moves the spec's sign-off, the one date a spec holds, to a full date. Measured 2 of 2, and the update lands with 2025-04-02. The matching query in updates_to_one_record_do_not_lead_with_schema_creation is reworded and re-measured (Graph Editing 0.758, Schema Creation 0.705). The "That is intended" comment is gone.
  • B. The held-node comment now says its bug report exists only after held-on-menu-type, and that the 3 of 3 was measured with the scenario run alone.
  • C. The description says the retrieval scores and the eval pass rates are from different builds.

Also added to the description: the fixture should move to the core spec type once ADR-092 lands.

Re-Review Decision

Decision: NO RE-REVIEW NEEDED

Rationale: one prompt reworded exactly as the re-review recommended and measured, plus comment and description text. The re-review's verdict was APPROVE with this one item to settle.

@malibio
malibio force-pushed the issue-3513-decision-eval-retheme branch from 772924d to d8201a2 Compare October 4, 2026 23:52
@malibio
malibio merged commit a5068fb into main Oct 4, 2026
@malibio
malibio deleted the issue-3513-decision-eval-retheme branch October 4, 2026 23:52
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.

Re-theme the decision eval's scenarios and seeded workspace into NodeSpace's developer-workflow domain

1 participant