Skip to content

Add a comparative-reference scenario to the agent matrix - #2250

Merged
malibio merged 3 commits into
mainfrom
issue-2248-indirect-reference-decomposition
Aug 23, 2026
Merged

malibio merged 3 commits into
mainfrom
issue-2248-indirect-reference-decomposition

Conversation

@malibio

@malibio malibio commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #2248 — does not close it. See "What this does not do" below.

Note on an earlier revision: the first version of this PR was titled "Restore indirect-reference decomposition coverage" and its first commit says closes #2248. Both were wrong, and the code review caught why. The claim has been rescoped rather than the scenario oversold; #2248 stays open. The closes keyword lives in a commit message I can't rewrite without a force-push, so this body is the authority — GitHub reads closing keywords from the PR body, and this one says Refs.

What this adds

Scenario 12 (12a, 12b, 12b2, 12c, 12d) in scripts/eval/fixtures/agent-matrix.ts — a comparative reference scenario, in its own group. The prompt names its target only by ranking ("whichever is the biggest job"), so the model must order three estimated_days values before it can choose an id. Nothing else in the matrix covers that, and it is strictly harder than scenario 6, whose referent was a direct string match on a value the prompt itself named.

What this does not do

It does not restore indirect-reference decomposition coverage, which is what #2248 asked for.

The first revision claimed it did, on the strength of a daemon test showing the ordering words are absent from rendered history. The review dumped the actual history and refuted that:

Fact: a feature_writeup node was created with title 'checkout rewrite' and properties estimated_days 9 (id nodespace://fw10).
Fact: a feature_writeup node was created with title 'search indexer' and properties estimated_days 21 (id nodespace://fw11).
Fact: a feature_writeup node was created with title 'audit log export' and properties estimated_days 4 (id nodespace://fw12).

Three adjacent lines, uniform format, every estimate and every id inline. max(9, 21, 4) is an in-context comparison — a model can go straight to update_node with the right id and never read anything, and that is a correct answer. Absence of the word "biggest" proves the ordering is not stated; it does not prove the ordering is not derivable, and derivability is what makes a reference indirect.

This was a subtler repeat of the scenario 6 defect #2242 found, and it survived an absence proof precisely because the proof asserted the wrong property.

Why it isn't simply fixed here: every scalar a scored turn writes is replayed inline by terse_write_fact, so no value this chain writes can be made underivable by wording alone. A genuine fix needs a referent the agent never wrote — which needs out-of-band seeding the runner deliberately does not support ("Assert, do not own", runner.ts; "never starts or seeds anything", env.ts). That is real new machinery and belongs in its own change, so #2248 stays open with the constraint now documented.

Review fixes in 94929972

Finding Fix
🔴 Core claim overstated Group renamed Comparative reference resolution; header shows the real history and states its own limits; scenario 6's comment reverted to "gap still open"; daemon test renamed scenario_12_history_states_the_values_but_not_the_ordering with a scoped docstring
🟡 Missing setup: true 12a–12c marked setup, per the group doctrine at agent-matrix.ts:66-78. Prevents one 12a defect counting four times — the cascade bug #2242 fixed for 11a/11b. Denominator is 20 scored, not 25; invariant test updated
🟡 12b unwinnable Split into 12b + 12b2, one instance per turn. The two-node prompt carried toolOnce create_node (exactly-one), so correct behavior scored red and creating only one node scored green. Splitting also lets each turn carry noUnexpectedNodes
🟡 toolSequence over-pinned Replaced with noRetry update_node, minCalls: 1. The subsequence pinned one of four legitimate read spellings and red-lined the shortest correct route; scenario 11c documents the same reasoning
🟡 minProperties: 2 non-deterministic Kept, with the residual weakness documented: it asserts a second property became populated, not that it holds the right value. The clause vocabulary cannot express "some property equals boolean true" — hasPropertyValue intercepts true as "any present value" (end-state.ts:161) and its string branch rejects booleans (:177)

Consequence worth flagging: dropping the over-pinned subsequence leaves toolSequence used by no live scenario again — one of #2248's stated goals, now un-met. Reviving it needs a scenario whose route is genuinely forced, which is the same thing #2248 needs. It stays dead rather than being revived by asserting something untrue.

Kept from the first revision

Verification

  • bun run test:all — exits 0; all four new tests confirmed running inside it.
  • bun run quality:fix — clean.
  • Frontend baseline unchanged: 227 files / 4794 tests.
  • Fixture loads 7 groups / 26 scenarios / 20 scored.

Production code is untouched: the daemon diff is a single #[cfg(test)] function.

🤖 Generated with Claude Code

https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG

malibio and others added 2 commits August 23, 2026 00:11
…referent (closes #2248)

Scenario 6 was the matrix's only test of multi-step indirect-reference
decomposition. #2242 removed its `[resolve_query, update_node]` assertion for a
good reason — the referent turned out to be recoverable from history by string
match — which left the capability unmeasured and `toolSequence` used by zero
live scenarios.

Adds scenario 12 (12a-12d) as its own group, keying the reference off a
COMPARATIVE ("whichever is the biggest job") over an estimate spread across
three separate create_node facts. Each fact still renders its value and id
inline, which is unavoidable; what no fact states is the ORDERING across them.
That is the indirection scenario 6 lost.

Both halves of the #2242 winnability discipline are proved before the scenario
is trusted, rather than assumed:

- `scenario_12_history_does_not_resolve_its_comparative_reference` renders the
  REAL history and asserts the three instances and their estimates are present
  while the ordering words are absent. Asserted in both directions so it cannot
  pass vacuously on an empty render — verified by deliberately breaking it.
- `scenario_12_ideal_comparative_chain_is_accepted_and_the_read_carries_the_values`
  proves against a live backend that the read surfaces all three instances WITH
  their estimates and that the write on the winner persists.

12d scores on the end state (`updatedNode` pinned to the 21-day instance) and
keeps `toolSequence` as the trajectory diagnostic, per the model #2245 landed.
`contentMatches` on the correct target is the whole assertion: a model that
resolves the comparison wrongly still calls update_node and still persists a
property, so a clause that only counted properties would score that green.
`minProperties: 2` rather than 1 because the node already carries its estimate
from 12b — 1 would pass on a turn that resolved correctly and then wrote
nothing.

Also surfaced by the audit, and NOT fixed here (filed separately):
`run_node_query` silently drops `sorting` when `filters` is empty, because that
branch calls `node_ops::query_nodes`, which is never passed it. A model asking
for "the biggest" via sorting+limit gets the first row back with no error.
`filterless_search_silently_ignores_sorting` pins the current wrong behavior so
the fix is detected; the sorted-route winnability test carries a compensating
filter with a comment explaining why.

Scenario 12 stays winnable regardless — enumerate-then-compare works, and that
is the route its diagnostic names.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG
…nd it

The winnability audit for scenario 12 surfaced that search_nodes silently
drops `sorting` when `filters` is empty. Now that it has an issue number,
point at it from the three places a reader lands: the test that pins the
current wrong behavior, the sorted-route test carrying the compensating
filter, and 12d's own diagnostic comment — where a red should be checked
against the trajectory before being read as a decomposition failure.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG
@malibio

malibio commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

Pragmatic Code Review — PR #2250

Review Type: Initial Review (verified: 0 prior reviews, 0 comments)

Scope: 3 files, 2 commits. scripts/eval/fixtures/agent-matrix.ts (+164/-7), packages/daemon/src/services/local_agent_service.rs (+115, all inside #[cfg(test)]), packages/agent/tests/matrix_scenario_winnability.rs (+290). Production code is genuinely untouched — verified, the daemon diff adds one test fn and nothing else.

Verification I ran myself (not taken on trust):

  • cargo test -p nodespace-daemon --lib scenario_12 → 1 passed
  • cargo test -p nodespace-agent --test matrix_scenario_winnability → 8 passed
  • bun test scripts/eval/fixtures/agent-matrix.test.ts → 67 passed
  • Dumped the actual rendered history by temporarily instrumenting the daemon test with a println! (reverted; working tree clean) — this is what the crux finding below rests on
  • Read run_node_query (packages/agent/src/local_agent/tools.rs:1994) to confirm the search_nodes silently ignores sorting when filters is empty — superlative queries return an arbitrary row #2249 mechanism independently

Requirements Check against #2248

# Acceptance criterion (from #2248) Status
1 Build a chain whose referent is not recoverable from history by string match ⚠️ Partially — see 🔴 Finding 1. The id is not recoverable; the comparison is.
2 Take approach 2 (derived/aggregate property — "the one with the highest estimate") ✅ Exactly what was built. Approach 1 correctly rejected on cost (runner has no seed hook by design); approach 3 correctly rejected (issue ranks it least preferred).
3 Apply #2242 winnability discipline — render the actual history, confirm before assuming ✅ Both halves proved, not assumed. This is the strongest part of the PR.
4 Restore toolSequence to a live scenario ✅ Live on 12d. I grepped for stale "zero live scenarios" claims — none remain; the 12d and scenario-6 comments were both updated correctly.
5 Design against #2243/#2245 outcome scoring (end scores, expect diagnostic) ✅ Correct — runner.ts:879-882 confirms scoreOutcome wins when fixture.graph is set.

Requirement 1 is the one that matters, and it is the one that does not fully land.


Code Review Findings

🔴 Critical: The core claim is overstated — the comparison IS resolvable in-context

📁 scripts/eval/fixtures/agent-matrix.ts:1152-1168 (group header), packages/daemon/src/services/local_agent_service.rs:4025-4042 (test doc)

The group header states, and the daemon test's doc-comment repeats:

"There is no substring of the history that says which estimate is largest, so the shortcut 6 fell to does not exist here: the model has to read the instances back and compare them."

I dumped the real rendered history for these exact turns. This is verbatim what the model sees going into 12d:

Log the checkout rewrite, we think nine days
Fact: a feature_writeup node was created with title 'checkout rewrite' and properties estimated_days 9 (id nodespace://fw10).
Record of graph writes already completed in the previous turn. These are done — do not repeat them:
- create_node "checkout rewrite" -> nodespace://fw10
Also the search indexer, that one's twenty-one days
Fact: a feature_writeup node was created with title 'search indexer' and properties estimated_days 21 (id nodespace://fw11).
...
- create_node "search indexer" -> nodespace://fw11
And the audit log export, call it four days
Fact: a feature_writeup node was created with title 'audit log export' and properties estimated_days 4 (id nodespace://fw12).
...
- create_node "audit log export" -> nodespace://fw12

All three estimates (9, 21, 4) and all three ids are literal text in the prompt, adjacent, in a uniform format. max(9, 21, 4) = 21 is a one-token comparison an LLM performs in-context constantly — it does not require a tool call. The model can go straight to update_node(id="nodespace://fw11") without any read at all, and that is a correct answer to the user's request.

The negative assertion does not test what its comment claims. Asserting that the words "biggest"/"largest"/"longest"/"highest"/"most days"/"the max" are absent proves only that history does not lexically state the superlative. It does not prove the ordering is underivable — and derivability, not lexical presence, is what makes a reference indirect. The daemon test is sound as written; the prose wrapped around it claims more than the assertions establish.

This is a real weakening versus the issue's intent, and it is the same class of defect #2242 found in scenario 6 — one step further along. Scenario 6's referent was a direct string match (estimated_days 5 → the id on the same line). Scenario 12's referent is a trivial in-context computation over three adjacent lines. That is genuinely harder than scenario 6, and I want to be fair: this scenario is not worthless, and it is a defensible incremental improvement. But "the model must read the instances back" is false, and that sentence is load-bearing for every reader who later trusts a 12d red as a decomposition failure.

Why this matters beyond pedantry: the fixture's own doctrine (agent-matrix.ts:79-87) is that a scenario measuring the fixture rather than the model is the cardinal sin. Here the risk runs the other direction — 12d can score green on a model that never decomposed anything, because in-context max is the shortest path. A green here will be read as "decomposition works." It does not establish that.

Recommendation — pick one:

  1. Preferred, and cheap: make the values genuinely underivable from the fact lines. The estimates are stated by the user in words ("nine days", "twenty-one") and re-stated numerically by the fact. If 12b/12c's prompts asked the model to derive the estimate rather than supplying it (e.g. "the checkout rewrite runs from the 3rd to the 12th"), the fact line would carry a date range and the comparison would need a read to normalize. Or spread the comparison over a property the create_node fact does not render.
  2. Minimum acceptable: correct the prose. Replace "the model has to read the instances back and compare them" with an honest statement of what is actually established — that no fact line states the ordering, that the comparison is derivable in-context, and that 12d therefore measures whether the model identifies the correct target under a comparative reference, which is a weaker but still real capability than full decomposition. Then rename the group header from "Indirect-reference decomposition" to something it can support (e.g. "Comparative reference resolution"), and downgrade the daemon test's doc-comment to match its assertions.

Engineering principle: a test's comment is part of its interface. In an eval fixture the comment is the specification of what a red means — an overclaiming comment silently mis-calibrates every future debugging session that reads it.


🟡 Important: 12a–12c are setup turns but are not marked setup: true — the cascade bug #2242 fixed is reintroduced

📁 scripts/eval/fixtures/agent-matrix.ts:1176-1247 (12a, 12b, 12c)

The fixture's own header doctrine (agent-matrix.ts:66-78) is explicit:

"Scenarios in a group share a chat node and run in order, so an early failure craters the rest... One ambiguous verb in 11a once cost three points... Turns that exist only to establish state (11a, 11b) are therefore marked setup: true."

12a, 12b and 12c exist only to establish state for 12d. Their own scenario names say so — "Comparative setup: type", "Comparative setup: first two instances", "Comparative setup: third instance". They are structurally identical to 11a/11b. Yet none carries setup: true.

Consequences, both of which #2242 fixed for group 11 and this reintroduces:

  • Denominator inflation. The matrix gains 4 scored scenarios where only 1 is a measurement. Scenario 12's capability now contributes 4/25 of the matrix score instead of 1/22.
  • Cascade double-counting. A wording problem in 12a (a type without an estimated_days field) reds 12a and 12b and 12c and 12d — one fixture defect counted four times. This is precisely the failure the header describes costing three points on 11a.

Note the existing invariant test at 📁 scripts/eval/fixtures/agent-matrix.test.ts:824-827 pins setupIds to exactly ["11a","11b"] and still passes — so the omission is invisible to CI, and the test's own comment ("marking a scored scenario as setup silently removes a measurement") is guarding the opposite direction. It will need updating alongside.

Recommendation: add setup: true to 12a, 12b and 12c, and update the invariant test to ["11a","11b","12a","12b","12c"]. If any of them is deliberately meant to remain scored, say so in a comment — because the naming currently asserts the opposite.


🟡 Important: 12b's expect: toolOnce create_node is unwinnable by construction

📁 scripts/eval/fixtures/agent-matrix.ts:1194-1200

12b's prompt asks for two nodes:

"Log the checkout rewrite at nine days, and the search indexer at twenty-one"

Its expectation is { kind: "toolOnce", tool: "create_node", minProperties: 1 }. assertExpectation's toolOnce branch (📁 agent-matrix.ts:361-368) requires exactly one call:

const count = actions.filter((t) => t === expect.tool).length;
if (count !== 1) { return { passed: false, failure: `Expected '${expect.tool}' exactly once, got ${count}` }; }

A model that correctly obeys the prompt calls create_node twice and the diagnostic reports failure. A model that obeys it incorrectly — creating one node — scores the diagnostic green. The assertion is inverted relative to the prompt.

Mitigating, and the reason this is 🟡 not 🔴: expect is diagnostic-only under outcome scoring (runner.ts:879-882), so this does not affect the score. But this fixture treats the trajectory diagnostic as the artifact a human reads when debugging a red — that is exactly the role the PR itself assigns it on 12d. A permanently-red diagnostic on a correct turn is noise that trains readers to ignore the column.

Recommendation: either split 12b into two single-instance turns, or use an expectation kind that admits two calls. { kind: "noRetry", tool: "create_node", minCalls: 2 } fits well — it requires ≥2 calls while still catching a blind retry loop.


🟡 Important: 12d's toolSequence pins one of four legitimate read spellings — the trap 11c explicitly documents avoiding

📁 scripts/eval/fixtures/agent-matrix.ts:1266-1271

12d asserts tools: ["search_nodes", "update_node"]. Tool::ALL (📁 packages/agent/src/local_agent/tools.rs:1519-1535) offers four legitimate ways to surface the instances: search_nodes, search_semantic, resolve_query, get_node.

Scenario 11c states the principle for exactly this situation (📁 agent-matrix.ts:951-957):

"toolOnce rather than toolSequence, deliberately, even though the model must recover both endpoint ids before it can link them: the lookup has three legitimate spellings (search_nodes, search_semantic, get_node) and pinning any one of them into a sequence would red out the other two."

12d's comment acknowledges the multiple routes ("both routes are legitimate: enumerate-and-compare and resolve_query both reach the correct node") and then pins search_nodes anyway. A model that resolves correctly via search_semantic or resolve_query gets a red diagnostic on a correct turn — the same false signal 11c was written to avoid.

There is a second-order problem: this interacts with Finding 1. Because the comparison is doable in-context, the most likely correct trajectory is update_node alone with no read at all — which also reds the diagnostic. So 12d's diagnostic is likely to be red on correct behavior for two independent reasons.

Recommendation: if toolSequence must be revived here (a legitimate goal from #2248), assert what is actually invariant. Every route ends in update_node, and the read spelling is free — so either accept any read (which toolSequence cannot currently express — worth a small extension, tools: [["search_nodes","search_semantic","resolve_query","get_node"], "update_node"]), or state plainly in the comment that a red on this diagnostic has three benign causes and is not actionable on its own. The current comment names only one (#2249).


🟡 Important: minProperties: 2 on 12d is non-deterministic — it depends on a choice 12b does not pin

📁 scripts/eval/fixtures/agent-matrix.ts:1276-1288

The comment justifies 2 as: "The node already carries its estimate from 12b, so minProperties: 1 is satisfied by that pre-existing value alone."

populatedCount (📁 scripts/eval/end-state.ts:185-187) counts every populated property on the post-turn node, not properties written this turn. So the reasoning is directionally right, but the threshold rests on an assumption the fixture does not enforce:

  • 12b's end clause only requires estimated_days: 21. It does not require signed_off: false. Whether the 21-day node arrives at 12d with 1 or 2 populated properties is the model's choice at 12b time.
  • If 12b's model wrote {estimated_days: 21} only → node has 1 prop → 12d needs the sign-off to reach 2. The comment's reasoning holds. ✅
  • If 12b's model wrote {estimated_days: 21, signed_off: false} → node has 2 props → 12d passes minProperties: 2 without writing anything at all. The exact updated: true / property_count: 0 hole the comment says it closes is wide open. ❌

The second branch is not hypothetical: the schema built at 12a is model-chosen, and a model asked to "track build jobs" plausibly creates a sign-off/status field and initializes it. The winnability test at 📁 matrix_scenario_winnability.rs:427-435 itself creates instances with {"signed_off": false, "estimated_days": days} — two properties — which is the failing branch.

Additionally, minProperties is value-blind, so even in the good branch a model that resolves the right node and writes an unrelated second property (a note, a timestamp) passes. The clause counts, it does not check the sign-off landed.

Recommendation: minProperties is the wrong instrument for "a specific new value landed this turn." The clause set already has a better one — score the diff, not the post-state. Consider adding a changedProperties: 1 clause (or equivalent) that asserts the turn's changedNodes entry actually differs in ≥1 property between before and after. That is deterministic regardless of what 12b's model chose, and it is what the comment is genuinely reaching for. Short of that, at minimum pin 12b's end clause to a known property count so 12d's threshold has a stable floor.


🟢 Suggestion: the filterless_search_silently_ignores_sorting pattern is legitimate and well-executed

📁 packages/agent/tests/matrix_scenario_winnability.rs:640-694

I want to name this as a positive because the area was flagged as a possible trap. It is not one. A characterization test that deliberately pins wrong behavior is a legitimate pattern when three conditions hold, and all three do here:

  1. The failure message tells the fixer exactly what to do. Verified — it says "BUG FIXED? ... Update this test to assert the correct result and remove the compensating filters argument from scenario_12_sorted_single_result_route_is_also_accepted." That is a complete instruction naming the second site.
  2. The bug is filed, not just known. search_nodes silently ignores sorting when filters is empty — superlative queries return an arbitrary row #2249 exists, and I independently verified its mechanism at packages/agent/src/local_agent/tools.rs:1994-2018 — QueryNodesInput genuinely has no sorting field, so the argument is parsed and dropped. The issue's description is accurate.
  3. The compensating workaround is explained at its use site. The gt 0 filter in scenario_12_sorted_single_result_route_is_also_accepted carries a comment stating it is load-bearing, why, and that it can be removed when search_nodes silently ignores sorting when filters is empty — superlative queries return an arbitrary row #2249 lands.

The insertion-order-≠-sort-order setup (small=4 first, large=21 second) is the right construction — it makes "returns first row" and "returns largest" distinguishable outcomes rather than coincidentally equal.

Not fixing #2249 in this PR is the correct call: it is production behavior, #2248 is about matrix coverage, and scenario 12 stays winnable via enumerate-then-compare. Good scope discipline.


🟢 Suggestion: bidirectional assertion in the daemon test is the right instinct

📁 packages/daemon/src/services/local_agent_service.rs:4098-4139

Asserting the positives (instances, estimates, ids present) alongside the negative (ordering words absent) is exactly right — a bare negative assertion passes vacuously on an empty render, and the PR body says this was verified by deliberately breaking it. That is the discipline #2242 established, applied properly. My criticism in Finding 1 is of the interpretation of these assertions, not their construction.


🟢 Nit: PR body and commit message disagree on the buggy function's name

The commit message says "run_node_query silently drops sorting ... because that branch calls node_ops::query_nodes" — correct. One inline comment (📁 matrix_scenario_winnability.rs:597) says the filtered branch routes to query_ops::execute_query, and another (📁 :557) says QueryService. Both are true at different abstraction levels but a reader chasing the name will grep for one and find the other. Pick one spelling.


🟢 Nit: group-header claim about the 11-group precedent

📁 scripts/eval/fixtures/agent-matrix.ts:1170-1173

"the 11-group set the precedent for isolating a scenario whose setup is substantial."

Accurate — but the 11-group's precedent has two halves (isolate into its own group and mark the setup turns setup: true), and only the first was followed. See Finding 2. Worth citing the precedent completely.


Project Standards

Standard Status
No lint suppression / #[allow(dead_code)] / #[deprecated] ✅ None present
No backward-compat shims or transition periods ✅ Clean
No .md docs added to this repo ✅ None
No issue numbers in documentation ✅ Rule targets nodespace-docs; refs here are in code comments and correctly cross-linked
Production code untouched ✅ Verified — daemon diff is entirely inside #[cfg(test)]
Tests run in test:all ✅ Verified all 4 new tests execute
No stale comments claiming toolSequence is unused ✅ Grepped; scenario 6's and the type-def's comments were both correctly updated

Summary Assessment

The engineering discipline in this PR is genuinely strong — arguably the best part of it. Proving winnability from both ends before trusting a scenario, catching the hasPropertyValue: true ambiguity during review of end-state.ts, finding a real production bug in the process and filing it rather than silently working around it, and writing a characterization test whose failure message names its own fix: that is careful work, and it is the pattern this fixture should keep.

The problem is that the discipline was applied rigorously to the mechanics and not to the central claim. The daemon test proves the ordering words are absent from history. The comments then treat that as proof the ordering is underivable — which the actual rendered history refutes in one glance, all three numbers sitting adjacent in uniform format. Everything downstream (the group name, 12d's diagnostic rationale, the scenario-6 comment now asserting the coverage is "paid elsewhere") inherits that overclaim.

Net-positive judgment: scenario 12 is harder than scenario 6 and does add value, so this is not a regression. But #2248 asked for a referent "genuinely not recoverable from history," and shipping a weaker scenario under that banner — with scenario 6's comment updated to say the gap is now closed — leaves the matrix claiming coverage it does not have. That is the specific outcome #2248 was filed to prevent. Findings 1 and 2 should land before merge; 3, 4 and 5 are cheap and worth taking in the same pass.

Recommendation: REQUEST CHANGES

Blocking: Finding 1 (correct the claim, or strengthen the scenario) and Finding 2 (setup: true on 12a–12c). Findings 3–5 are strongly recommended in the same pass. Findings 6–8 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: REQUEST CHANGES (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.

The review dumped the real rendered history and refuted this PR's central
claim. All three estimates and all three ids are rendered adjacent, uniform,
inline — max(9, 21, 4) is an in-context comparison, so a model can go straight
to update_node with the right id and never read anything, and that is a CORRECT
answer. The absence proof showed the ordering is not lexically STATED; the
comments treated that as showing it is not DERIVABLE. Those are different, and
derivability is what makes a reference indirect.

That is a subtler repeat of the scenario 6 defect #2242 found, and it survived
an absence proof precisely because the proof asserted the wrong property.

Every scalar a scored turn writes is replayed inline by terse_write_fact, so no
value this chain writes can be made underivable by wording alone. Closing #2248
properly needs a referent the agent never wrote, which needs out-of-band seeding
the runner deliberately does not support. Rather than ship a weaker scenario
under the stronger banner, this rescopes the claim:

- Group renamed "Comparative reference resolution"; header now shows the actual
  rendered history and states plainly what it does and does not establish.
- Scenario 6's comment reverted to saying the decomposition gap is STILL OPEN
  (#2248 stays open); 12 is named as nearest cover, not a replacement.
- Daemon test renamed scenario_12_history_states_the_values_but_not_the_ordering
  with a docstring scoping what it proves. The negative assertion is kept: it
  would catch terse_write_fact starting to emit a superlative, which would decay
  12d into the string match that cost 6 its indirection.

Also addressed, from the same review:

- 12a-12c marked `setup: true` (were not, against the group doctrine at
  agent-matrix.ts:66-78). Without it one 12a defect counts four times in the
  denominator — the cascade bug #2242 fixed for 11a/11b. Invariant test updated
  from ["11a","11b"] to the full set. Denominator is now 20 scored, not 25.
- 12b split into 12b + 12b2, one instance each. The two-node prompt carried
  `toolOnce create_node`, which requires EXACTLY one call: correct behavior
  (two calls, or create_nodes_from_markdown) scored red, and creating only one
  node scored green. Splitting also lets each turn carry noUnexpectedNodes,
  which a two-instance turn cannot state.
- 12d's `toolSequence [search_nodes, update_node]` replaced with
  `noRetry update_node, minCalls: 1`. The subsequence pinned one of four
  legitimate read spellings and reds out the shortest correct route. Scenario
  11c documents the same reasoning.

Consequence, stated rather than buried: toolSequence is again used by no live
scenario. Reviving it needs a scenario whose route is genuinely forced, which
is the same thing #2248 needs — so it stays dead rather than being revived by
asserting something untrue.

12d's minProperties: 2 is kept, with its residual weakness now documented: it
asserts a second property became populated, not that it holds the right value,
because the clause vocabulary cannot express "some property equals boolean
true" (hasPropertyValue intercepts `true` as "any present value" at
end-state.ts:161, and its string branch rejects booleans at :177).

test:all exits 0; quality:fix clean.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG
@malibio malibio changed the title Restore indirect-reference decomposition coverage with a comparative referent Add a comparative-reference scenario to the agent matrix Aug 23, 2026
@malibio

malibio commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed review — 94929972

5 of 5 findings addressed, 0 skipped. Three 🟢 nits also folded in where they overlapped the prose rewrite.

🔴 Finding 1 — core claim overstated

Accepted in full; this was the right call and the evidence is conclusive. Dumping the actual rendered history settles it: three adjacent uniform lines with every estimate and every id inline, so max(9, 21, 4) is an in-context comparison and a bare update_node is a correct route. My absence proof showed the ordering is not lexically stated and my comments treated that as showing it is not derivable. Different claims; derivability is the one that matters.

Worth naming: this is a subtler repeat of the exact defect #2242 found in scenario 6, and it survived because the proof asserted the wrong property. A passing test created false confidence.

Resolution — rescoped rather than oversold, after checking that the stronger fix isn't cheaply available:

  • Every scalar a scored turn writes is replayed inline by terse_write_fact, so no value this chain writes can be made underivable by wording alone.
  • A date-range variant would defeat in-context comparison, but date arithmetic is separately fragile here (resolve_query's decomposition filters bypass the tool-argument repair pipeline #2185), so a red on 12d could no longer be attributed to resolution — reintroducing the confound the scenario exists to avoid.
  • The real fix is out-of-band seeding, which the runner deliberately does not support ("Assert, do not own"). That is its own change.

So: group renamed Comparative reference resolution; header now shows the real history and states its own limits; scenario 6's comment reverted to gap still open; daemon test renamed scenario_12_history_states_the_values_but_not_the_ordering with a scoped docstring. #2248 stays open — the PR body now says Refs, not Closes, and closingIssuesReferences is empty (the stale closes keyword in the first commit message is overridden by the body).

The negative assertion is kept deliberately: if terse_write_fact ever started emitting a superlative, 12d would decay into the string match that cost 6 its indirection, and that test is what catches it.

🟡 Finding 2 — missing setup: true

Correct, and I'd violated the doctrine at agent-matrix.ts:66-78 directly. 12a–12c now marked setup. Denominator 20 scored, not 25; invariant test updated from ["11a","11b"] to the full set — good catch that it was pinned narrowly enough to hide this.

🟡 Finding 3 — 12b unwinnable

Confirmed independently before the review landed. Split into 12b + 12b2, one instance per turn. Also fixes Finding 4's 12b half: each turn can now carry noUnexpectedNodes, which a two-instance turn cannot state.

🟡 Finding 4 — toolSequence over-pinned

Replaced with noRetry update_node, minCalls: 1. Compounded exactly as described: it pinned one of four legitimate read spellings and red-lined the shortest correct route.

Consequence I want visible rather than buried: this leaves toolSequence used by no live scenario again — one of #2248's stated goals, now un-met. Reviving it needs a scenario whose route is genuinely forced, which is the same thing #2248 needs. Better dead than revived by asserting something untrue.

🟡 Finding 5 — minProperties: 2 non-deterministic

Accepted, and sharper than the version I'd spotted myself. Kept minProperties: 2 with the weakness documented rather than papered over: it asserts a second property became populated, not that it holds the right value. The clause vocabulary genuinely cannot express "some property equals boolean true" — hasPropertyValue intercepts true as "any present value" (end-state.ts:161) and its string branch rejects booleans outright (:177), so neither true nor "true" works. Naming the key would reintroduce the vocabulary guess this group's model-built type is deliberately free of.

Verification

bun run test:all exits 0 (227 files / 4794 frontend, all four new tests confirmed running inside it); bun run quality:fix clean; full pre-push gate green.

Re-review

RE-REVIEW NEEDED. A 🔴 finding was addressed by rewriting the scenario's entire premise, scenario ids changed (12b split, denominator 20 vs 25), and an assertion kind was swapped — interconnected changes touching what the fixture measures. Worth a second pass, particularly on whether the rescoped comments now claim only what the tests establish.

@malibio

malibio commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

Re-Review — PR #2250

Review Type: Re-Review
Scope: 94929972 only (prior review covered 8126c132, c69ea6ed)

Previous Review Summary

  • Previous recommendations: 5 (1 🔴, 4 🟡)
  • Addressed: 5
  • Not addressed: 0
  • New issues found: 0
# Prior finding Status
🔴 Central claim false — comparative does not force a read ✅ Rescoped, not papered over
🟡 12a–12c missing setup: true ✅ Fixed + invariant pinned
🟡 12b toolOnce contradicts two-node prompt ✅ Split into 12b / 12b2
🟡 toolSequence over-pins one read spelling ✅ → noRetry + minCalls: 1
🟡 minProperties: 2 cannot assert the value ✅ Documented; limitation verified real

The 🔴: verified genuinely resolved, not relocated

The prior review's finding was that an absence proof established lexical absence and was being read as underivability. I re-checked every place that claim lived, adversarially, looking for a surviving sentence that a future reader could mistake for "this measures decomposition":

  • 📁 scripts/eval/fixtures/agent-matrix.ts:1155-1223 — the group header now opens with "WHAT THIS DOES AND DOES NOT MEASURE", reproduces the three real Fact: lines verbatim, and states max(9, 21, 4) is an in-context comparison and a bare update_node is correct. It names its own prior error rather than quietly deleting it.
  • 📁 scripts/eval/fixtures/agent-matrix.ts:606-610 — scenario 6 reverted to "NO scenario does… Still open; see Matrix no longer measures indirect-reference decomposition — build a chain whose referent is not recoverable from history #2248."
  • 📁 packages/daemon/src/services/local_agent_service.rs:4025-4050 — docstring leads with an explicit SCOPE paragraph separating "does not LEXICALLY STATE" from "underivable". The retained negative assertion is now justified on its own terms (a regression detector against terse_write_fact emitting a superlative), which is a legitimate reason to keep it.
  • 📁 packages/agent/tests/matrix_scenario_winnability.rs:412-420 — "It does NOT replace the decomposition coverage scenario 6 gave up."
  • 📁 local_agent_service.rs:4117-4127 — even the inline assertion messages were rewritten; the old "test of the COMPARISON rather than of recall" phrasing is gone.

I searched for stale claims across the eval fixtures. Every surviving toolSequence mention is the type definition (:136), the assertion engine (:388), unit tests of the kind itself, or the explicit "used by no live scenario" disclaimer (:1200). Every surviving "decompos*" mention is a disclaimer. No stale overclaim remains.

Notably, closingIssuesReferences is now empty and the PR body leads with a correction note. Leaving #2248 open rather than shipping a weaker scenario under the stronger banner is the right call — an eval that overstates what it measures is worse than no eval, because a red gets filed as a model finding instead of a fixture defect.

"Strictly harder than scenario 6" — claim holds

Checked against the actual referents rather than taking it on trust:

  • Scenario 6: "the five-day one" vs. history text estimated_days 5 — a direct substring match; zero values must be compared.
  • 12d: "the biggest job" matches no substring; the model must evaluate max(9, 21, 4) across three lines, then map back to an id.

Ranking three values strictly dominates matching one. The claim is correctly hedged — "strictly harder than 6" and "not a replacement for what 6 gave up" are different propositions, and the header keeps them apart.

Fixes verified free of new defects

Chain coherence after the 12b split — 12d's target (search indexer, 21) still exists, now created by 12b2. Creation order is 9 → 21 → 4, so the largest sits in the middle: neither recency nor primacy selects it, and 12c's node (smallest, most recent) remains the recency trap. The invariant the split had to preserve is preserved. The split also makes noUnexpectedNodes newly satisfiable on both turns (one node each, both accounted for by createdNode — verified against end-state.ts:376), so the fix strictly strengthened 12b rather than trading one weakness for another.

noRetry + minCalls: 1 is not noise. Verified against the implementation at agent-matrix.ts:412-436: it asserts update_node fired ≥1× and never twice consecutively. It is weaker than the subsequence, but the subsequence was wrong — it red-lined a correct route. This is the same pattern already used by 11c (:1147) and :883, so it is consistent with established doctrine rather than an ad-hoc weakening. Crucially the real discrimination was never in the trajectory clause: updatedNode.contentMatches: "search indexer" is what makes this measure the comparison, and that is untouched.

setup: true interacts correctly. Confirmed in runner.ts: setup turns are still run and asserted (:894), warn loudly on failure (:908-912), are excluded from the denominator (:898) and from pass^k (:462-466) — and end-clause capture is unaffected, since scoring happens before the exclusion branch. State still reaches successors. Denominator 25 → 20 is correct.

Invariant test (agent-matrix.test.ts:824-826) — pinning the exact set is right; it guards the stated hazard ("marking a scored scenario as setup silently removes a measurement") in both directions, since toEqual on a sorted array fails on additions and removals. 67/67 pass.

minProperties: 2 limitation — independently confirmed

I did not take the author's word here. I read end-state.ts and then executed valueMatches against every candidate expression:

expected actual true actual false actual 21 discriminates?
true ✅ ✅ ✅ ❌
"true" ❌ ❌ ❌ ❌
1 ❌ ❌ ❌ ❌
[true] / object ❌ ❌ ❌ ❌

expected === true short-circuits to isPresent at :161 exactly as cited, and the string branch rejects non-string/non-number at :177, also exactly as cited. Both line references are accurate and the limitation is real — there is no way to express "some property equals boolean true" in the current clause vocabulary without naming the key, which would reintroduce the vocabulary guess. Documenting rather than fixing is the correct call; widening valueMatches is a change to shared scoring semantics that does not belong in a fixture PR.

Scenario id stability — non-issue, verified

agent-matrix.ts:454-455 states ids are the baseline join key and must stay stable, so reusing 12b with changed meaning deserved scrutiny. I checked origin/main: it contains 21 scenarios and no 12* ids at all. The entire group is new in this PR, so no baseline anywhere can hold a 12b row under the old semantics. The doctrine is not violated. From this merge forward 12b is stable, and the id must not be re-pointed again.

Requirements Check

#2248 asked to restore indirect-reference decomposition coverage and revive toolSequence.

  • ❌ Decomposition coverage restored — explicitly not claimed; issue correctly left open with the blocking constraint now documented (out-of-band seeding the runner deliberately does not support).
  • ❌ toolSequence revived — explicitly not claimed, with reasoning.
  • ✅ A real capability gap (comparative resolution) is covered, winnability-proved on a live backend.

Accepting a PR that closes none of its issue's criteria is unusual, but correct here: the criteria rested on a premise the review disproved. Shipping the honest subset and re-scoping the issue beats shipping a scenario that lies about what it measures. 📝 Recommend the parent update #2248 with the seeding constraint so the next attempt does not rediscover it.

Findings

🟢 Suggestion (non-blocking): comment density.
📁 scripts/eval/fixtures/agent-matrix.ts:1155-1223 — the group header runs ~70 lines of prose for 5 scenarios, much of it archaeology of a draft that no longer exists ("An earlier draft…", "not two-in-one as an earlier draft had it"). The conclusions are load-bearing and must stay — this is exactly the misreading that cost a review cycle. But rationale-for-rejected-alternatives has a maintenance cost: it is the first thing to go stale, and CLAUDE.md's standard is that comments explain intent, not history. If this group is touched again, consider trimming the draft narratives while keeping the "what this does and does not measure" contract intact. Not worth a commit on its own.

No 🔴 or 🟡 findings.

Verification run

  • bun test scripts/eval/fixtures/agent-matrix.test.ts — 67 pass / 0 fail
  • cargo test -p nodespace-daemon --lib scenario_12 — 1 pass
  • cargo test -p nodespace-agent --test matrix_scenario_winnability — 8 pass / 0 fail
  • Production code untouched (daemon diff is entirely #[cfg(test)]); no lint suppressions, no console.log, no new deps, no docs added to this repo.

Recommendation: APPROVE

Every prior finding is addressed at the root rather than at the symptom. The 🔴 is the one that mattered, and the response — deleting the false claim, reverting the dependent comment, renaming the test to what it proves, dropping closes, and leaving #2248 open — is the correct engineering response rather than the convenient one. Two claims I could have caught as relocated overclaims (strictly harder than 6, the hasPropertyValue limitation) I verified independently and both hold; the cited line numbers are accurate to the character.

Net effect on code health is positive: the matrix gains a winnability-proved scenario covering a real uncovered capability, four scoring defects are fixed, the denominator is corrected, and the fixture's self-description is now trustworthy — which for an eval fixture is the property that matters most.

@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 merged commit e1450d6 into main Aug 23, 2026
@malibio
malibio deleted the issue-2248-indirect-reference-decomposition branch August 23, 2026 07:44
malibio added a commit that referenced this pull request Aug 23, 2026
…eferent (#2251)

* Measure indirect-reference decomposition with an out-of-band seeded referent (closes #2248)

Adds scenario 13, whose referent the agent never wrote — the thing #2248 asked
for and that two prior attempts could not provide.

THE FINDING THOSE ATTEMPTS PRODUCED. Scenario 6 asserted a resolve-then-act
chain for "the five-day one"; #2242 found the referent was a direct string
match, because a create_node write is replayed into later turns as a terse fact
carrying its property values AND its id inline. Scenario 12 then keyed off a
COMPARATIVE over three written values; #2250's review found that fails the same
way for a subtler reason — the values are all inline, so the ranking is
derivable in-context without reading anything.

Generalised: NO VALUE A SCORED TURN WRITES CAN BE THE REFERENT. Every scalar the
agent writes is replayed, so the target is always in the prompt as literal text.
A genuinely indirect reference needs a referent the agent never wrote.

WHAT MAKES THAT POSSIBLE. `EvalFixture.seedGroup` establishes graph state before
a group's first turn, through the CLI. `completed_writes` is built only from a
turn's own tool executions, so seeded nodes leave no trace in the rendered
prompt — not a title, not a property, not an id.

This is not a reversal of the harness's "assert, do not own" stance, which is
about DAEMON AND DATABASE LIFECYCLE: the caller starts the daemon and owns the
DB, and still does. Writing nodes through the CLI is something the runner has
always done for every group — `newChat` creates the chat node exactly this way.
The hook names that existing capability rather than adding a new kind of power.

Scenario 13 seeds three incident records, one of which Rowan was on call for,
and asks to resolve "the incident Rowan was on call for". Nothing in history
identifies it, so the model must look it up. Both halves proved rather than
assumed, per the #2242 discipline:

- `scenario_13_seeded_referent_is_absent_from_history` renders the REAL history
  and asserts the on-call name, all three titles, the type and the property name
  are all absent, with a positive assertion so it cannot pass vacuously.
- `scenario_13_ideal_lookup_then_write_is_accepted` proves against a live
  backend that the property filter returns the one matching incident and NOT the
  other two, and that the write persists.

`toolSequence` is live again, on 13, and honestly: this is the only scenario
whose route is forced, because the id cannot be known without a read. A new
invariant pins that it is asserted nowhere else — reviving it on a turn where a
direct write is also correct is the mistake #2242 removed from scenario 6 and
#2250 removed from 12d.

Also found while proving the absence, and pinned rather than assumed away:
`a_turns_own_write_leaks_its_targets_title_via_the_evidence_block`. The Fact:
line for an update_node is id-and-values only, but the evidence block renders
`update_node "<summary>"`, and `write_summary_arg` resolves an update's summary
through content/title — so the node's title reaches the prompt. Harmless for 13
as written (single-scenario group, nothing reads that history) but a live
constraint on extending it, and silent if unpinned.

A second new invariant asserts no prompt anywhere names the seeded titles or
type. It caught a real collision on its first run: scenario 8c's prompt already
contained the name originally chosen for the on-call value, which would have
put the referent in a shared chat's history. Renamed the seeded value rather
than 8c's prompt, since ids are the baseline join key.

test:all exits 0; quality:fix clean. Frontend baseline unchanged at 227/4794.
Matrix is now 8 groups, 21 scored scenarios.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG

* Address review: scope the absence claim to the channel it proves, and fix two --runs defects

The review found the headline claim false on one clause, and it is the third
time an absence proof in this area asserted the wrong channel. Verified
independently before acting.

THE LEAK. `seedIncidents` creates a SCHEMA as well as three instances, and
workspace context retrieves schemas semantically (SCHEMA_SIMILARITY_THRESHOLD
0.2) and interpolates them into the system prompt. So the seeded type name and
its field names — including `on_call`, the property 13's reference keys off —
are in front of the model on the scored turn. "Seeded nodes leave NO trace in
the rendered prompt — not a title, not a property, not an id" was wrong on the
property clause.

SEVERITY, stated rather than softened: what leaks is the VOCABULARY, not the
ANSWER. Only `"schema"`-type nodes are retrieved that way, so the three titles
and the `rowan` -> `search index corruption` mapping stay out. Knowing an
`incident_report` type exists with an `on_call` field tells the model how to
ASK; it does not tell it which incident to update. The read is still forced and
scenario 13 still measures what #2248 asked for. The description was wrong, not
the measurement.

Fixed by pinning the boundary rather than restating the claim:
- New `scenario_13_seeded_schema_reaches_the_prompt_but_its_instances_do_not`
  (packages/core/src/ops/context_ops.rs) asserts the schema DOES render and
  instance data does NOT. Both directions, so if instance content ever starts
  reaching workspace context that test fails and 13's degradation is caught —
  which the history-side proof alone would not have noticed.
- The claim in types.ts, the fixture group header, and the daemon test's own
  rationale all now name the channel they cover. The daemon test's
  `incident_report`/`on_call` assertions are kept (history is still a channel
  they have no business appearing in) but no longer imply the model cannot see
  them.
- The `neverInAnyPrompt` invariant is split: titles are a real guarantee
  (absent from every channel); the schema names are fixture tidiness only. A
  future author designing against "the model has never heard of on_call" would
  have been designing against something this fixture cannot deliver.

TWO --runs DEFECTS, both of which would have surfaced as model
non-determinism and corrupted the pass^k measurement --runs exists to produce:
- DUPLICATION: seedGroup runs per rep, so rep 2 had two `rowan` incidents and
  rep 3 three, at which point the on-call filter stops identifying one node.
- NO-OP: 13's turn sets `resolved: true`, and `updatedNode` scores off the
  DIFF. Left as rep 1 finished it, rep 2's correct write produces no
  `changedNodes` entry and scores red. Found by tracing the clause rather than
  by running --runs.
Seeding now queries by type, creates what is missing, and RESETS what is
already there.

Also: narrowed the "route is forced" claim in both the fixture and the
invariant. A READ is forced; WHICH read is not — `resolve_query` reaches the
same node. Acceptable only because `expect` is a diagnostic and not the score
(#2243), and now said so explicitly rather than overstated a third time. Added
`scenario_13_runs_with_no_prior_history` to pin 13's real (empty) history shape
alongside the stricter non-empty case.

test:all exits 0; quality:fix clean. Frontend baseline unchanged at 227/4794.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG

* Address re-review: stop the new test's docstring claiming a tripwire it is not

The re-review approved, leaving one documentation-only finding. Fixing it rather
than deferring, because it is the same CLASS of error as the three defects that
preceded it: a comment asserting a test guards something it does not actually
check.

`scenario_13_seeded_schema_reaches_the_prompt_but_its_instances_do_not` has two
halves of very different strength, and the docstring described them as one:

- The POSITIVE half is real. It is what refuted the original "no trace in the
  prompt at all" claim, and it fails if schema rendering stops including type
  or field names.
- The NEGATIVE half is vacuous by construction. Verified: `relevant_schemas` is
  `Vec<SchemaNode>`, and SchemaNode carries only id, content (display name),
  fields and templates — no field can hold an instance title or property value,
  so no input to `format_for_prompt` could make those four assertions fail.

Saying it was "pinned in both directions" therefore promised a tripwire that
does not exist. What actually protects scenario 13 is that
`semantic_search_nodes_of_type` retrieves only `"schema"`-type nodes; if that
widens, instance data reaches the prompt, 13's referent becomes directly
matchable, and NO test in this repo fails. That is now written down at the
fixture, in types.ts, and in the test itself, naming the retrieval call as the
thing to check before changing workspace context.

Also split the prompt-scanning invariant into two named tests. One name was
spanning a real guarantee (incident titles reach the model through no channel)
and mere housekeeping (schema vocabulary is kept out of prompts for clarity,
though the model sees it anyway via workspace context). A single name covering
both would let the weaker claim borrow the stronger one's credibility.

Declined the runNs/runCli DRY suggestion, which the re-review accepted:
`runCli` is module-private in graph.ts, and exporting a scoring-module helper to
save ~12 lines in a fixture widens an API surface for a consumer it was not
designed for.

test:all exits 0; quality:fix clean. Fixture invariants now 70 tests.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012A1ryuphm1PidSY1KTvcKG

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.

1 participant