Repository navigation
feat(trace): e2e adapter for Codex - #3673
Conversation
Add a Codex column to the Chainloop Trace end-to-end suite. Trace has no Codex provider yet, so each Codex cell is No and the suite skips it. Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev> Chainloop-Trace-Sessions: 552fa994-c621-4f9c-8150-21b0c9e51bb8
PR validation — ✅ 3 passing
AI Session Checks — 🟢 84% · ✅ 0 failing
|
| Status | Attribution | File | Lines |
|---|---|---|---|
| created | ai | app/cli/internal/trace/e2e/codex.go |
+195 / -0 |
| modified | ai | app/cli/internal/trace/README.md |
+50 / -48 |
| created | ai | app/cli/internal/trace/e2e/codex_test.go |
+74 / -0 |
| modified | ai | app/cli/internal/trace/e2e/config.yaml |
+6 / -0 |
| modified | ai | app/cli/internal/trace/e2e/e2e_test.go |
+1 / -0 |
Policies (5)
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | ai-session-no-auto-pr |
ai-coding-session-552fa9 |
- |
| ✅ Passed | ai-config-ai-agents-allowed |
ai-coding-session-552fa9 |
- |
| ✅ Passed | ai-config-no-dangerous-commands |
ai-coding-session-552fa9 |
- |
| ✅ Passed | ai-config-no-secrets |
ai-coding-session-552fa9 |
- |
| ✅ Passed | ai-config-mcp-servers-allowed |
ai-coding-session-552fa9 |
- |
Security Checks — ✅ 6 passing
✅ secret-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | secrets-detection |
- |
✅ sast-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | owasp-top10-2025 |
- |
| ✅ Passed | sast |
- |
| ✅ Passed | cwe-top25 |
- |
| ✅ Passed | cwe-top26-40-cusp |
- |
✅ iac-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | iac-misconfiguration |
- |
Scans not applied (2)
| Scan | Reason |
|---|---|
vulnerability-scan |
no manifest/lockfile changed |
github-actions-scan |
no workflow files changed |
Security context
✅ Nothing this change touches has a recorded security-fix history.
View in Chainloop ↗ · How this works ↗
Powered by Chainloop and Chainloop Trace
Part of #3635 (spec issue-3635). Adds a Codex column to the Chainloop Trace end-to-end suite, ahead of Codex support in Trace.
This change goes against a non-goal of spec issue-3635: "test Codex or other agents with no Trace provider". The Codex column is added first on purpose, the same way as the Pi column. Each cell is No until a Codex provider exists.
codex exec --jsonwith the scenario prompt, with no sandbox and no approvals, in the throwaway workspace. The project hooks run with--dangerously-bypass-hook-trust. The Codex configuration folder (CODEX_HOME) is next to the workspace, so the configuration, hooks, skills, and sessions of the user who runs the suite do not load.--ignore-user-configis not used, because it also turns off the project hooks in.codex/hooks.json. Pasted images go in with--image. Skills go in.agents/skills.openrouter/prefix runs on OpenRouter through a provider override, withOPENROUTER_API_KEY. Any other model runs on the default Codex provider, withCODEX_API_KEY.openrouter/openai/gpt-5-mini.chainloop trace init --codexfails with "unknown flag: --codex". So each Codex cell is No, the README tells why, and the suite skips the column. When Codex support is added, set the cells to Unknown and run the suite to fill them.AI disclosure: Claude Code helped to write this change.