Codex Goal: AEP Kernel v1 (Agent Evidence Protocol Unified Runtime)
This issue defines the Codex execution prompt to bootstrap the unified AEP Kernel from existing fragmented AEP/EEOAP implementations.
Codex Exec Command (single-shot, goal-driven)
Run in repository root:
codex exec --sandbox workspace-write \
"GOAL: Refactor the existing agent-evidence repository into a unified runtime kernel called AEP Kernel v1.0.
PRIMARY OBJECTIVE:
Create a single source of truth object: AgentExecutionEvent, which unifies schema, model, CLI, validation, storage, export, and paper layers.
HARD CONSTRAINTS:
- Do NOT introduce new frameworks
- Python 3.11 only
- Standard library only
- Keep backward compatibility via adapters only
- No network calls
- Deterministic outputs required
TASKS:
1. Create agent_evidence/core/event.py defining AgentExecutionEvent dataclass
2. Refactor schema layer to map into/from AgentExecutionEvent
3. Refactor scripts/collect, score, verify, render to use Event object
4. Introduce event.to_dict() and Event.from_dict()
5. Replace duplicated logic across schema/model/scripts with kernel
6. Ensure CLI remains functional
7. Ensure tests pass (unittest only)
GOAL STATE:
- All evidence generation flows through AgentExecutionEvent
- All validation operates on kernel object
- All exports derive from kernel object
- No duplicate truth sources remain
FINAL STEP:
Run:
python -m unittest discover -s tests
make demo
python scripts/verify_evidence.py .agent-evidence/runs/demo.json
If failures occur, iteratively fix until green.
"
--goal "Achieve unified AEP Kernel v1 where AgentExecutionEvent becomes the single canonical runtime object for all evidence operations"
Expected Outcome
- repo collapses from multi-layer AEP → single kernel architecture
- removes schema/model divergence
- prepares Origin-ready adapter layer
- enables PR-level evidence standardization
Success Criteria
- One canonical event object
- No parallel truth definitions
- All scripts depend on kernel
- Tests fully passing
- Demo reproducible
Codex Goal: AEP Kernel v1 (Agent Evidence Protocol Unified Runtime)
This issue defines the Codex execution prompt to bootstrap the unified AEP Kernel from existing fragmented AEP/EEOAP implementations.
Codex Exec Command (single-shot, goal-driven)
Run in repository root:
Expected Outcome
Success Criteria