Repository navigation
fix(#338): wire AFORGE_DEBUG Recorder Call/Tool/Decision feeders - #825
Merged
Merged
Conversation
santoshkumarradha
marked this pull request as ready for review
September 10, 2026 22:51
santoshkumarradha
force-pushed
the
santosh/fix-338-debug-recorder-ccc5
branch
from
September 10, 2026 22:51
518888b to
142eef9
Compare
…e run The recorder opened a folder and wrote run.json, then nothing: its three feeders had no callers. Model-call bodies now land at the adapter's one log writer, tool calls at executeTool, and routing, hedge and effort choices at the stamps that already made them. Co-authored-by: Santosh kumar <[email protected]>
Co-authored-by: Santosh kumar <[email protected]>
santoshkumarradha
force-pushed
the
santosh/fix-338-debug-recorder-ccc5
branch
from
September 10, 2026 22:52
142eef9 to
d568327
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Closes #338.
AFORGE_DEBUG/--debug//debugalready opened a run folder and wrote a header, butRecorder.Call,Tool, andDecisionhad zero callers — so a switched-on run recorded nothing.Change
Wired the three feeders at the doors every call already passes through (nil recorder stays a no-op when off):
calls/<id>.jsonok/failed/refused)Manual no longer claims those pieces are “still landing.”
Verification (light)
go test ./internal/providerpass (new Call/Decision tests)go test ./internal/sessionpass (new Tool/effort/refusal tests)go test ./internal/manualpassmake changelog-checkpassHeavy suites not run in cloud — please verify locally.