Repository navigation
Honor single-model mode for titles and default agents to the parent model - #575
Conversation
Implementation PlanScope and analysisAuthoritative scope: #574 and its four acceptance criteria. Related historical issues are context, not additional requirements.
Subagent spawning already has a no-model-configured parent-inheritance path. All eleven bundled definitions currently supply Anthropic/ZAI fallback lists, preventing that path from being the ordinary default. Removing those fields should reuse existing precedence rather than introduce a new routing policy. Exact parent identity needs protection: Deliverables and approach
Acceptance criteria and verification
Files to modify or createPaths below are under Runtime
Bundled definitions — remove only their model defaults
Tests
Documentation and shipped workflow instructions
Check adjacent documentation references for conflicting statements; retain intentional explicit model examples and historical changelog entries. Testing approach
Risks, boundaries, and open questions
Planning checkpointThis PR currently contains only an empty setup commit, with no implementation changes. Its normal commit hooks passed lint/type-check and the offline test suite: 7,328 passed, 0 failed, 752 skipped. Plan created by mach6 |
Vitest coverage
|
Progress UpdateImplemented the approved plan for issue 574 and pushed it to Commit: Changes
Validation
Implementation is durably saved. Formal review has not started; the PR remains draft. Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 1
CriticalNone. ImportantFinding 1 — Inherited parent identity is re-parsed by the child CLI and can silently change models (code-reviewer 100, error-auditor 88)
Finding 2 — A parent running on a custom (non-catalog) model cannot be inherited; every default subagent call fails with a misleading error (code-reviewer 98, error-auditor 80) SuggestionsFinding 3 — Stale "Explore route" wording for the unpinned title route (code-reviewer 99, completeness-checker 82)
Finding 4 — No test exercises the provider-equality clause of exact parent matching (test-reviewer 82) Finding 5 — Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentFindings: #575 (comment) Review round: 1 (independent-assessor only) Classifications
Action Plan
Assessment by mach6 |
Progress UpdateFixed the round 1 merge blocker (finding 1) and finding 2, the latter by explicit user request with the direction to inherit custom parents automatically from the working parent model. Commit: Finding 1: the child could run a different model than the parent
Finding 2: a custom parent model can now be inherited
Tests
Docs
Validation
Findings 3–5 (nitpick and useful follow-ups) were not part of this batch. Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 2
Round-1 status (reported by agents, pending assessment)
CriticalNone. ImportantFinding 1: A thinking suffix bypasses the new exact-ID rule in
The suffixed results come back with Finding 2: A self-prefixed custom (non-catalog) parent still cannot be inherited (code-reviewer 100) Finding 3: The exact-inheritance check uses the parent's in-memory registry, but the child re-reads
The parent-side check passes on the stale registry. The child's Finding 4: The arbiter proposal and the single-model warning mis-render self-prefixed inherited parents, and no test covers either (test-reviewer 82)
The helper predates this PR. This PR makes the inherited parent the default route for every unconfigured agent, so the path now carries those IDs. Mutations that blank the proposal for inherited routes, or that change SuggestionsFinding 5: Stale "Explore route" wording for the unpinned title route (completeness-checker 82; carried over from round-1 finding 3)
Finding 6: The Finding 7: The lowercased model string is computed twice (simplifier 88) Finding 8: The new block re-filters provider models that Finding 9: The test re-derives an identical cartesian product (simplifier 80) Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentFindings: #575 (comment) Review round: 2 (independent-assessor only) Round-1 blocker verification: the round-1 finding 1 fix holds. Catalog IDs round-trip exactly through the child-side resolver; for example, Classifications
Action PlanNo merge blockers. Follow-ups outside the action plan, in priority order: finding 3 (refresh the registry before resolving the parent, or narrow the docs sentence), finding 4 (an exact-identity representation for arbiter proposals and decisions, plus disambiguated warning text), finding 2 (spawn arguments that round-trip self-prefixed custom IDs), and finding 6 (delete the dead ternary). Deferred to a separate issue: finding 1, the pre-existing main-CLI Assessment by mach6 |
Closes #574
Honor single-model mode in the title generator's default Explore route and remove bundled provider-specific agent model defaults so unconfigured agents inherit the parent model.
Preserve explicit title pins and user-configured agent routing. Include regression coverage for exact parent provider/model inheritance.
Planning only: this draft currently contains an empty setup commit. Implementation plan follows in a comment.