Skip to content

improve(router/workflow): Nemotron COMPLEX review cycle (hour 1 UTC)#175

Open
raelli wants to merge 1 commit into
mainfrom
chore/self-improve-2026-07-04-h1
Open

improve(router/workflow): Nemotron COMPLEX review cycle (hour 1 UTC)#175
raelli wants to merge 1 commit into
mainfrom
chore/self-improve-2026-07-04-h1

Conversation

@raelli

@raelli raelli commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Automated self-improvement pass on src/router/workflow.js. Reviewed by Nemotron COMPLEX — tests pass.

Changes

  • Dep guard in runWorkflow: validates that deps.emit, deps.codingClient, and deps.nemotronClient are present before entering the switch. Fails fast with a clear message instead of a TypeError deep in the call stack.
  • modelTier telemetry consistency: when not escalated, emits "SIMPLE" as the modelTier fallback when task.nemotronTier is unset, keeping telemetry aligned with the resolved model.
  • Validation result normalization: wraps the raw validator return in a null/type check and fails closed (failureKind: "validator-malformed") on malformed results, preventing a TypeError on null or unexpected shapes.
  • Pre-revision budget comment: documents that the pre-revision in runComplexWorkflow intentionally does not consume the loop's revisionCount budget.

Test results

750 tests, 46 suites — all pass.


Generated by Claude Code

- Add upfront dep guard in runWorkflow for early, clear failure
- Emit modelTier as "SIMPLE" fallback when task.nemotronTier is unset
- Normalize validator return value; fail closed on malformed results
- Document that pre-revision in complex workflow does not consume loop budget
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.

2 participants