Skip to content

improve(skills/dev-advisor): Nemotron COMPLEX review cycle (hour 12 UTC)#174

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

improve(skills/dev-advisor): Nemotron COMPLEX review cycle (hour 12 UTC)#174
raelli wants to merge 1 commit into
mainfrom
chore/self-improve-2026-07-03-h12

Conversation

@raelli

@raelli raelli commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Automated self-improvement pass on src/skills/dev-advisor/index.js. Reviewed by Nemotron COMPLEX — tests pass.

Change

Add logger.warn when the LLM advisor endpoint returns a non-2xx HTTP status (!res.ok), logging the status code before the fail-open return null.

Before: non-OK responses were silently swallowed, making auth failures (401), rate limits (429), and server errors (5xx) invisible in logs.

After: a single warn line is emitted with the HTTP status, consistent with the existing logger.error call in the fetch-error catch block. The fail-open contract (return null → fall through to RulesAdvisor) is unchanged.

Test plan

  • pnpm test — 750/750 tests pass before and after the change
  • node bin/improve-guard.js — 0 files, 0 lines flagged

Generated by Claude Code

Log HTTP status on non-OK advisor responses so auth failures, rate
limits, and server errors are diagnosable in production logs, consistent
with the existing fetch-error logging at the catch site.
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