Repository navigation
feat: add verbose/debug logging for route/conduct/provider control flow #942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
cddb513
feat: add verbose/debug logging for route/conduct/provider control flow
claude 3df8dc8
Merge branch 'main' into feat/verbose-debug-logging
opencode-agent[bot] 22e4133
Merge branch 'main' into feat/verbose-debug-logging
claude c55fae5
docs: correct restart-required wording and audited-logger scope in AD…
claude 7768358
fix: guard DEBUG request-line logging against malformed targets and u…
claude adf7510
fix: instrument the streaming route path; fix EOF whitespace
claude 42e06f5
test(discovery): port #947's fix for the stale nim_primary/nim_sub test
claude c907024
Merge branch 'main' into feat/verbose-debug-logging
claude d9ee690
fix: never discard existing log handlers in verbose startup
claude 1ef76c7
fix: attach verbose handler directly to leaf loggers, not root
claude d88259d
fix: skip verbose handler when a permissive host handler already deli…
claude 03c3ded
fix: bound verbose handler to DEBUG so it never re-emits WARNING/ERROR
claude 97c5be2
Merge remote-tracking branch 'origin/main' into feat/verbose-debug-lo…
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Added a `--verbose`/`--debug` CLI flag (also settable via `CONTEXTUAL_ORCHESTRATOR_VERBOSE=true` for an already-deployed server, without a CLI edit) that enables stdlib DEBUG-level logging of the route-vs-conduct decision, each route/conduct step's agent and latency, `ModelClient` provider request/retry/backoff attempts, `TaskOrchestrator._invoke`'s failover classification, per-agent circuit-breaker open/half-open/closed transitions, and the HTTP request/response lifecycle in `server.py`. Off by default with no behavior change; every new log record is bounded and secret-free by construction — never an API key, an `Authorization` header, a raw exception message, or prompt/response content (ADR 0125). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.