All AI agents (Codex, Claude, etc.) working on this project must maintain a shared activity log to coordinate their work and avoid conflicts.
- File:
ai_log.txt(in project root)
- Always READ the log first using
Readtool onai_log.txt- Check what other agents have been doing
- Understand the current state of the project
- Avoid duplicate or conflicting work
- APPEND to the log (never overwrite!)
- Use
Readtool first to get current content - Use
Writetool to append new entry to existing content
- Use
Each log entry must include:
================================================================================
AGENT: [codex/claude/other]
DATE: [YYYY-MM-DD]
TIME: [HH:MM:SS]
USER REQUEST: [Original user request in quotes]
--------------------------------------------------------------------------------
ACTIONS TAKEN:
- [Action 1]
- [Action 2]
- [Action 3]
FILES MODIFIED:
- [file path 1] - [description of changes]
- [file path 2] - [description of changes]
OUTCOME:
[Brief summary of what was accomplished]
NOTES FOR OTHER AGENTS:
[Any important information, warnings, or context for other agents]
================================================================================
================================================================================
AGENT: claude
DATE: 2025-11-22
TIME: 14:35:20
USER REQUEST: "Add error handling to the boot process"
--------------------------------------------------------------------------------
ACTIONS TAKEN:
- Read kernel/boot.c
- Added try-catch blocks in initializeSystem()
- Added logging for boot errors
- Tested boot process with error injection
FILES MODIFIED:
- kernel/boot.c - Added error handling and recovery logic
- kernel/logger.c - Added new error level constants
OUTCOME:
Boot process now gracefully handles initialization errors and logs them
appropriately. System can recover from non-critical boot errors.
NOTES FOR OTHER AGENTS:
The new error codes are defined in kernel/logger.h. Any future boot-related
code should use these standard error codes for consistency.
================================================================================
- NEVER overwrite the log file - always append
- ALWAYS read first before writing
- Include all required fields in every entry
- Be specific about what was changed and why
- Communicate important information to other agents via NOTES section
- Use local time for timestamps
- Quote user requests exactly as received
- Avoid duplicate work
- Track project history
- Share context between agents
- Debug issues by reviewing past actions
- Maintain consistency across agent sessions
If ai_log.txt does not exist, the first agent to work should create it with:
AI AGENTS ACTIVITY LOG
Project: My-OS-Project2
Started: [current date]
================================================================================
[First log entry here]