Skip to content

Create Log File for User #780

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ysrastogi
Copy link

Simple Plain-Text Logging System

This system captures all agent activity directly in the user's workspace using a minimal, consistent, and human-readable plain-text format.


📁 Log File Location

./.codex/logs/codex-session-YYYY-MM-DD-HHMMSS.log

📄 Log Format

Plain text format with clear section markers and consistent structure. Each log entry will follow this format:

TIMESTAMP] [ENTRY_TYPE] Content
   Details (indented for readability)
   Additional details

🏷️ Log Entry Types

These are the core entry types to track all agent activities:

  1. USER_INPUT — What the user requested
  2. MODEL_ACTION — Any actual action taken (e.g., file creation, command execution)
  3. FILE_CHANGE — When files are modified, created, or deleted
  4. COMMAND — Terminal commands executed
  5. ERROR — Any errors encountered
  6. SESSION — Session start/end markers

This PR resolves #238

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.

(feat) create log file with all actions executed
1 participant