Repository navigation
Description
Summary
Two closely-related gaps remain after #946/#949:
-
Planner does not validate tier resolvability. In
plan_review_dispatch, when the advisor/always-selected profile has nomodelconfigured (e.g. the shipped v3 matrix scaffold's emptyprofiles),baseRuns→profilePairresolvesmodel: nulland the plan emits anadvisor-runinclude-entry anyway, withstatus: readyand no warning or advisory. The execution contract is that such runs silently inherit the host session model (fix: inherit parent model for advisor runs with empty profiles #693) — but the plan itself gives the caller no signal that this is happening, and thedispatch-advisorskill contract ("malformed matrix... returns INCONCLUSIVE") is not honoured for the unresolvable-profile case. We observed this live: planready→ aggregate dispatch collapsed to a bareerrorwith every child run rejected, and nothing in the plan explained the implicit host-model dependency. -
All-runs-failed summary still hides causes.
dispatchSummaryLine(PR fix(review-dispatch): durable lessons, artifact-sourced consumers, error summary #949, good fix) appendsresult.message— but on therunsFailed > 0 && runsCompleted === 0path the aggregate sets nomessage, so the visible line ends with— error: no failure message reportedwhile the actual causes (run rejected: <reason>, e.g.tier_model_unavailable: profile "heavy" has no model configured in the review matrix,host_model_unavailable) remain in metadata-onlywarnings. (Mitigant: run files do exist on this path, so run-level causes are recoverable viadispatch_status/consolidate_dispatchwith the correlation id — unlike the pre-validation path dispatch_review_runs: error summary omits the failure message, so agents can't see why a dispatch failed #946 fixed. The visible summary is still the only channel a retry loop sees, so a blind identical-input retry is still what happens in practice.)
Repro for (1)
- Repo with uf v0.21.0-scaffolded
.uf/review-matrix.yaml(version: 3,profiles: {lightweight|standard|heavy: {}}— no models) and no per-developer override. plan_review_dispatch(code mode, no issue) → entries like{agent: divisor-adversary, decision: include, source: advisor, tier: heavy, model: null},status: ready,errors: []— no file in the plan connotes silent host-inheritance.- Verify (2) by dispatching with a
source: explicitentry on an unconfigured tier:dispatch_agent_runalone surfacestier_model_unavailable: profile "heavy" has no model configured in the review matrix; through the aggregate, that cause appears only in warnings, and the summary reads— error: no failure message reported.
Expected behaviour
plan_review_dispatch: when an include-entry resolves to a profile with no configured model, either fail closed (INCONCLUSIVE) per the dispatch-advisor contract, or emit a non-truncating plan warning/advisory naming the tier and the host-model inheritance fallback.dispatch_summaryLine(or the result construction): whenruns_failed > 0andruns_completed === 0, fold thewarningsentries (at least the first, bounded) into the visible summary instead of theno failure message reportedfallback.
Related
- dispatch_review_runs: error summary omits the failure message, so agents can't see why a dispatch failed #946 (closed; the pre-validation failure summary fix) — this issue covers the remaining run-status path and the planner side.
- Docs: host-fallback review-dispatch runs execute on the parent session model #913, docs: model-matrix scaffold deployment via uf init (model-matrix-scaffold-deployment) #899 (open docs) — host-fallback semantics and matrix-scaffold deployment documentation.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity