Skip to content

feat: log sessions and agent model requests - #11

Merged
bonigo1998 merged 1 commit into
mainfrom
codex/execution-logs
Sep 26, 2026
Merged

bonigo1998 merged 1 commit into
mainfrom
codex/execution-logs

Conversation

@bonigo1998

Copy link
Copy Markdown
Owner

Adds local JSONL logs for session start/end and model requests made through AgentLoop.

Records request duration, model-step number, requested tool-call count, and request failures. Logs contain event metadata and are excluded from Git. Logging failures disable further logging with one warning.

Validation:

  • Application builds and both existing CTest suites pass.
  • Manually verified session events and successful and failed model requests.
  • Confirmed Git ignores the generated log file.

This contribution covers session and AgentLoop model events. File-tool events and the separate /askfile request path are not instrumented yet.

@bonigo1998
bonigo1998 merged commit 0f8cf72 into main Sep 26, 2026
1 check passed
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.

1 participant