Repository navigation
docs(trace): add a guide to implement a new trace provider - #3681
Conversation
Describe the provider interfaces, the session lifecycle, CLI wiring, evidence mapping (models, token usage, cost), the required end-to-end harness and compatibility matrix updates, and a checklist for new providers. Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev> Chainloop-Trace-Sessions: 5297a53e-f2e8-4920-9552-4f0e046aad70
PR validation — ✅ 3 passing
AI Session Checks — 🟡 60% · ✅ 0 failing
|
| Status | Attribution | File | Lines |
|---|---|---|---|
| created | ai | app/cli/internal/trace/PROVIDERS.md |
+303 / -0 |
| created | ai | .claude/skills/trace-provider/SKILL.md |
+18 / -0 |
| modified | ai | app/cli/internal/trace/README.md |
+1 / -1 |
Policies (4)
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | ai-config-ai-agents-allowed |
ai-coding-session-5297a5 |
- |
| ✅ Passed | ai-config-no-dangerous-commands |
ai-coding-session-5297a5 |
- |
| ✅ Passed | ai-config-no-secrets |
ai-coding-session-5297a5 |
- |
| ✅ Passed | ai-config-mcp-servers-allowed |
ai-coding-session-5297a5 |
- |
Security Checks — ✅ 5 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 |
- |
Scans not applied (3)
| Scan | Reason |
|---|---|
vulnerability-scan |
no manifest/lockfile changed |
github-actions-scan |
no workflow files changed |
iac-scan |
no IaC 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
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
View guided diff | Re-trigger cubic
Separate git hook installation from InstallHooks, describe the init and trace run backup lifecycles, state that Cursor sets no usage, clarify skipActionOptsInit, note plugin reinstall after a payload change, and list the matrix cells that the end-to-end suite does not check. Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev> Chainloop-Trace-Sessions: 5297a53e-f2e8-4920-9552-4f0e046aad70
Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev> Chainloop-Trace-Sessions: 5297a53e-f2e8-4920-9552-4f0e046aad70
Assisted-by: Claude Code Signed-off-by: Jose I. Paris <jiparis@chainloop.dev> Chainloop-Trace-Sessions: 5297a53e-f2e8-4920-9552-4f0e046aad70
|
@migmartri Added |
Adds
app/cli/internal/trace/PROVIDERS.md, a guide to add a new Chainloop Trace provider (harness), and links it from the Trace README.Refs #3657: the guide describes what a Codex provider must implement.
The guide covers:
trace init, agent hooks, commit, push, uninstall,trace run).trace.Providermethods by group: hook installation, hook input, code attribution (snapshot or reverse edits), session copy and parsing, and the user and model channels. It uses Claude Code, Cursor, and OpenCode as examples.SkillTracker,SpecCopyReplacer, andPastedImageFinder.--<agent>flags, andtrace hook <agent>subcommands.AI disclosure: written with the assistance of Claude Code.