* fix(windows): name the stale native artifact's version and its recovery
A source checkout upgraded between releases keeps the previous release's untracked native/windows/build pair. The loader refused it with only "Windows native artifact belongs to another REA version", so a build that prints just the refusal reason stopped with no versions and no next step. The version refusal now names the manifest's packageVersion and this package's version. Manifest and byte-identity refusals carry the artifact recovery, as the missing-file and load refusals already do.
Refs #16049
* fix(windows): bound manifest version echo and recover unreadable artifacts
* fix(windows): state the manifest version limit in the refusal
---------
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
When the retained representation allowance refuses completed Evidence,
the failure carries that Evidence inline as an unretained partial
observation, either as the capacity refusal itself or, after a cancel, as
the partial next to a capacity retention_error. Over the agent result
budget, budgetedFailure then hashed the whole failure and tried to record
it as mcp_tool_error Evidence. That record always failed: the failure
embeds the refused Evidence, so it needs more allowance than the record
the same ledger just refused. The reply was the same either way, and
after a cancel the client had already stopped waiting for it.
Skip the hash and the record attempt for both shapes. Replies stay
identical; both new tests fail without the matching condition because
the record callback is called once.
Refs #1065. The path came in with #15396.
🤖 Generated with Claude Code (Opus 5.5) 🦊
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* perf(analysis-view): reuse the owner's sealed JavaScript result without a graph walk
Since #13315 the JavaScript parent goes through createAnalysisViewResultReader.
On a record's first read, its fast path returns a new wrapper around the same
owned graphs, so the reader walks both whole trees in
canBorrowParsedJsonSnapshot to prove it can keep the source. Since #14252 every
over-budget delivery reads its summary that way, so each big JavaScript result
blocks the server for that walk: 331 to 429 ms per 1,200-function call in
--cpu-prof runs on 0ad967258 (#1065).
The parser now remembers the fast-path results it returns. Once
createOwnedJavaScriptApplicationEvidenceCooperatively has sealed one in place
and bound it to its Evidence, it admits that exact object to the parser's
validated set, so a later parse returns it and the reader's borrow check ends
at its identity test. A sealed copy, an imported result, or one not yet
sealed is never admitted and keeps today's checks.
🤖 Generated with Claude Code (Opus 5.5) 🦊
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* perf(analysis-view): re-check the sealed owned result before admitting it
Admission trusted the result as the parser returned it, so a change between
that return and sealing would have gone unseen. Before admitting, the sealed
result now passes the fast path's checks again: the metadata schema with the
owned graphs by identity, an exact match between the sealed and re-parsed
wrapper outside the graphs, and the cross-graph bindings. The bindings run in
bounded steps through completeJavaScriptAnalysisSteps, without the request
signal, so a cancel still gets its Evidence as before.
🤖 Generated with Claude Code (Opus 5.5) 🦊
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* perf(contracts): shorten the shared detail parameter description
The detail input description is repeated on 42 tools in the default
tools/list. Shorten it from 523 to 369 bytes while keeping the omitted,
complete and summary semantics; delivery facts still name the budget and
recovery at the point of use.
Also drop a redundant inventory scan in the release-exposure container
reader: both callers already pass the occurrence digest resolved through
the nodeSha map.
* test(schemas): refresh advertised schema summaries for the detail description