The command mapped every GoalError to the generic invalid-command text,
so GOAL_STATE_CORRUPT lost its replay diagnostic. It now rethrows that
code so the command runtime reports the cause.
Refs #7869
A timed ask_user_question timeout outside the range or a repeated
question id is a ToolArgsError, matching the schema's own rejection of a
fractional timeout, and a missing caller is a ToolContextUnavailableError.
A disabled run_in_background, which the schema omits, is a ToolArgsError
instead of reusing UNSUPPORTED_OPTION, whose meaning is an unsupported
agent() option.
Refs #7869
planState() serves the /plan command, prompt assembly, the tool
admission predicate, and the service methods, so its readiness failure
is PlanModeError PLAN_STATE_UNAVAILABLE instead of the tool-only
ToolContextUnavailableError. The code set is a literal union documented
in place rather than a link to a module-local array.
Refs #7869
The registry's composeFrom failures are composition invariants, such as
a child joining twice, not an unavailable preset; wrapping them as
PRESET_UNAVAILABLE invited retries of a program error and hid the
original message. They now propagate unchanged. A child depth beyond the
safe-integer range is INVALID_DEPTH, so DEPTH_EXCEEDED keeps one name,
SubagentDepthError.
Refs #7869
RemoteError extended plain Error because dsh-llm, which owned
HarnessError, depends on dsh-typert-protocol. With HarnessError in the
dependency-free dsh-error package, RemoteError now extends it and keeps
its name, Remote code, details, and constructor, so a tool body that
throws one records name RemoteError and its code on tool/result.
An unknown or unloadable delegation preset therefore keeps the
registry's agent-preset/not-found or agent-preset/invalid identity, and
the subagent runtime no longer rewraps it as PRESET_UNAVAILABLE. Client
bundles inline dsh-error with the protocol layer; no client code
depends on HarnessError identity.
Refs #7869
An effort-only route request now fails as ToolArgsError, whose message
carries the "invalid arguments:" prefix; the production-profile e2e
asserts that text and the recorded INVALID_ARGS identity.
Refs #7869
Wrapping a non-HarnessError answerer failure replaced its message with a
generic sentence, so callers and the model lost the concrete reason,
such as a closed connection. The PROVIDER_ERROR wrapper now keeps the
original message and falls back to the generic sentence only for a
value that is not an Error.
Refs #7869
PlanModeError is the only base-class use this stack adds to plan-mode,
so the package depends on the dependency-free dsh-error instead of
reaching the base through dsh-llm; the user-questions test that builds
a foreign HarnessError imports it from dsh-error as a dev dependency.
Refs #7869
The plugin entry exports only the PlanModeError class and its code type;
the code list stays module-local in src/error.ts, so the entry adds no
value export that verify-plugin-entry-exports would reject.
Refs #7869
A fresh delegation whose selected preset is unknown or cannot load
received the registry's RemoteError, which is not a HarnessError, so
the tool result had no error.code. applyChildComposition now converts
that RemoteError into SubagentError PRESET_UNAVAILABLE, keeping its
message and the original as cause. Restoration still propagates it so
the manager reports NOT_RESUMABLE, and other mount failures are
unchanged.
Refs #7869
The config, persistence, and event producer-consumer catalogs record
source line numbers that moved in the preceding error-code changes; no
persisted type digest changed.
Refs #7869
An answerer failure that is not a HarnessError now rejects with
UserQuestionError PROVIDER_ERROR and keeps the original as cause, while
a coded HarnessError keeps its name and code. The timed
ask_user_question tool reports an invalid timeout as BAD_TIMEOUT, a
repeated question id as the new DUPLICATE_QUESTION_ID, and a missing
caller as CALLER_NOT_LIVE.
Refs #7869
A failed Team or goal projection now rejects with TeamError
TEAM_STATE_CORRUPT or GoalError GOAL_STATE_CORRUPT, and GoalError
assigns its name literally. team_task_list cursor, limit, and filter
violations and todo_write content checks throw ToolArgsError; missing
callers throw ToolContextUnavailableError. todo_write violation
messages now name the offending item path.
Refs #7869
The workflow tool threw a plain Error when a foreground run settled as
cancelled or error, the most frequent uncoded workflow failure. It now
throws WorkflowError CANCELLED or the new RUN_FAILED code, and rethrows
the caller's abort reason when the calling step was aborted so the
registry records AbortError ABORTED. A disabled run_in_background is
UNSUPPORTED_OPTION, and a missing caller or jobs service is a
ToolContextUnavailableError.
Refs #7869
exit_plan_mode threw plain Errors, so its most common failure, the user
choosing to keep planning, reached tool/result without an error.code.
PlanModeError carries PLAN_NOT_ACTIVE, PLAN_REVIEW_INTERRUPTED, and
PLAN_REVISION_REQUESTED. A plan without a leading heading is a
ToolArgsError, and a missing caller, user-questions channel, or
projection reader is a ToolContextUnavailableError.
Refs #7869
Delegation, discovery, and control tools threw plain Errors for missing
caller context, invalid selections, depth limits, and corrupt or
unavailable child state, so tool/result records carried no error.code.
SubagentDepthError now extends SubagentError with DEPTH_EXCEEDED; new
SubagentError codes cover disabled or disallowed preset and model
selection, invalid depth and cwd, a missing working-directory service,
a failed join of the parent preset revision, and structured output
submitted with pending input. Missing callers and services use
ToolContextUnavailableError, and hand-checked route fields use
ToolArgsError. A corrupt cold-restore descriptor becomes NOT_RESUMABLE,
and the schedule tools read the delegation depth inside their error
mapping.
Refs #7869
- Reveal the selected file again when files arrive or reorder around it,
so a navigation that selects a file before the diff loads still scrolls
the wide pane; a changed filter shows its results from the top.
- Compare quote summaries in draft change detection, so restoring a draft
that only adds or changes a summary updates the snapshot and storage.
- Read the full path and range instead of the short label to assistive
technology; the Web snapshot now records src/<file>.
- Type the stored summary schema against QuoteSummary, test the stored
round trip, and document why revealRow does not use scrollIntoView.
The launcher ignores dsh.bundle.listedByDefault, so a non-boolean value now
goes to meta.error instead of error. error again means the layer was skipped,
which the plugin page relies on to mark a selected bundle as not running.
Card head geometry moves to custom properties shared with the reason line.
The forge-panel Web snapshot recorded the composer showing the whole
model-facing User Comment reference. The composer now shows the file name,
side and lines, and comment; review-message.expected.md, the text the model
receives, stays unchanged.
Scrolling by the least distance left a selected file below the fold
flush against the menu's bottom edge with none of its neighbors visible.
Mounting now centers a selected row that is out of view; later selection
steps in the wide pane still scroll by the least distance.