Context
Before Video Pal product implementation starts, we should define the collaboration rules between the human owner, ChatGPT, and Codex. The current harness has useful execution rules, but it does not yet fully define communication, durable memory, truth management, and Git-based handoff.
The core principle: the repository should be the shared memory bus, and Git should be the main communication protocol.
Goal
Update AGENTS.md and any supporting docs so future ChatGPT/Codex sessions can cooperate without relying on copy/paste between chat sessions.
Proposed Agent Communication Protocol
1. Repository is the Source of Truth
Do not rely on chat history as persistent memory.
Priority order for truth:
- Repository files
- Git history
- Issues / PRs
- Current session chat
- Agent assumptions
If something exists in chat but not in the repo, treat it as provisional.
2. Git Is the Communication Layer
Agents should communicate primarily through tracked artifacts:
AGENTS.md
feature_list.json
progress.md
session-handoff.md
- future
docs/state/current.md
- future
docs/state/decisions.md
- commit messages
- issues / PRs
Expected flow:
Human
↓
tracked project artifacts
↓
Codex implementation
↓
commit / PR / issue updates
↓
ChatGPT review and planning
↓
tracked project artifacts
3. Commit Messages Are Status Messages
Commits should communicate intent, verification, and remaining risks.
Preferred style:
feat(transcript): add whisper ingestion pipeline
Verified:
- sample1.mp4
- sample2.mp4
- npm test
Remaining:
- speaker diarization
Avoid vague messages such as:
update code
fix stuff
wip
4. Cross-Session Memory Rule
Every agent session should be restartable from:
git clone <repo>
cat AGENTS.md
cat feature_list.json
cat progress.md
git log --oneline -20
./init.sh
If this is not enough to understand current state, then knowledge is leaking into chat and the harness is failing.
5. Evidence Over Claims
Agents should not claim done, works, or fixed without evidence.
Evidence should include:
- commands run
- test/lint/type-check results
- manual verification steps
- known failures
- environmental assumptions
Evidence must be written to progress.md, feature_list.json, or another tracked state file, not only chat.
6. Common-Sense Acknowledgement Rule
Avoid noisy acknowledgements.
Bad:
Understood.
Got it.
Sure.
Absolutely.
Good:
Decision recorded:
Architecture = local-first.
Next action:
Implement ingestion pipeline.
The acknowledgement should create or reference a durable state change.
7. Durable Architecture Decisions
Any decision that affects future development should be recorded in tracked docs.
Examples:
- Use Python
- Use FastAPI
- Use local Whisper
- Use SQLite
- No cloud dependencies
- DGX Spark local runtime assumptions
Suggested locations:
docs/decisions/
docs/architecture.md
docs/state/decisions.md
8. Role Boundaries
Human owner:
- product direction
- final authority
- approval of scope
- secrets / deployment decisions
ChatGPT:
- planner
- reviewer
- architect
- requirements clarifier
- consistency checker
- GitHub-facing project steward
Codex:
- local implementation agent on DGX Spark
- file edits
- commands/tests
- refactors
- commits/pushes
Neither AI agent owns product direction.
9. Conflict Resolution
If ChatGPT and Codex disagree:
- Check
AGENTS.md
- Check feature definition
- Check architecture / decision docs
- Check existing code
- Present tradeoffs
- Human owner decides
Do not silently fork architecture.
10. Suggested State Files
Consider adding:
docs/state/current.md
docs/state/decisions.md
Use docs/state/current.md for the current snapshot of project status.
Use docs/state/decisions.md for durable architectural/product decisions.
Keep progress.md as a rolling activity log.
Acceptance Criteria
Important Scope Note
Do not start Video Pal app implementation until this cooperation protocol is agreed and recorded in the harness.
Context
Before Video Pal product implementation starts, we should define the collaboration rules between the human owner, ChatGPT, and Codex. The current harness has useful execution rules, but it does not yet fully define communication, durable memory, truth management, and Git-based handoff.
The core principle: the repository should be the shared memory bus, and Git should be the main communication protocol.
Goal
Update
AGENTS.mdand any supporting docs so future ChatGPT/Codex sessions can cooperate without relying on copy/paste between chat sessions.Proposed Agent Communication Protocol
1. Repository is the Source of Truth
Do not rely on chat history as persistent memory.
Priority order for truth:
If something exists in chat but not in the repo, treat it as provisional.
2. Git Is the Communication Layer
Agents should communicate primarily through tracked artifacts:
AGENTS.mdfeature_list.jsonprogress.mdsession-handoff.mddocs/state/current.mddocs/state/decisions.mdExpected flow:
3. Commit Messages Are Status Messages
Commits should communicate intent, verification, and remaining risks.
Preferred style:
Avoid vague messages such as:
4. Cross-Session Memory Rule
Every agent session should be restartable from:
If this is not enough to understand current state, then knowledge is leaking into chat and the harness is failing.
5. Evidence Over Claims
Agents should not claim
done,works, orfixedwithout evidence.Evidence should include:
Evidence must be written to
progress.md,feature_list.json, or another tracked state file, not only chat.6. Common-Sense Acknowledgement Rule
Avoid noisy acknowledgements.
Bad:
Good:
The acknowledgement should create or reference a durable state change.
7. Durable Architecture Decisions
Any decision that affects future development should be recorded in tracked docs.
Examples:
Suggested locations:
docs/decisions/docs/architecture.mddocs/state/decisions.md8. Role Boundaries
Human owner:
ChatGPT:
Codex:
Neither AI agent owns product direction.
9. Conflict Resolution
If ChatGPT and Codex disagree:
AGENTS.mdDo not silently fork architecture.
10. Suggested State Files
Consider adding:
Use
docs/state/current.mdfor the current snapshot of project status.Use
docs/state/decisions.mdfor durable architectural/product decisions.Keep
progress.mdas a rolling activity log.Acceptance Criteria
AGENTS.mdincludes an Agent Communication Protocol section.progress.mdrecords this rule-definition work and any unresolved decisions.feature_list.jsonis updated if this becomes the active feature.Important Scope Note
Do not start Video Pal app implementation until this cooperation protocol is agreed and recorded in the harness.