Skip to content

chore: enable chainloop trace for AI coding sessions#3069

Open
migmartri wants to merge 2 commits intochainloop-dev:mainfrom
migmartri:feat/enable-chainloop-trace
Open

chore: enable chainloop trace for AI coding sessions#3069
migmartri wants to merge 2 commits intochainloop-dev:mainfrom
migmartri:feat/enable-chainloop-trace

Conversation

@migmartri
Copy link
Copy Markdown
Member

@migmartri migmartri commented Apr 22, 2026

Summary

  • Enable chainloop trace to automatically capture and attest AI-assisted coding sessions on every push
  • Adds Claude Code hooks (SessionStart, PreToolUse, PostToolUse, SessionEnd) and Git hooks (post-commit, pre-push)
  • Pins organization and project name in .chainloop.yml

More info: https://docs.chainloop.dev/guides/chainloop-trace

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@migmartri migmartri requested a review from a team April 22, 2026 17:21
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@chainloop-platform
Copy link
Copy Markdown

chainloop-platform Bot commented Apr 22, 2026

Chainloop AI Session Summary

1 AI coding session(s) contributed to this PR.

Agent Model Attribution Files Lines Tokens Cost Duration
claude-code 2.1.117 claude-opus-4-6 100% 2 +6 / -0 53 in / 3455 out $0.82 7m33s
pie title Code Attribution
         "AI" : 90
         "Human" : 10
Loading
claude-code 2.1.117 — 2 file(s), 100% AI / 0% Human

████████████████████ 100% AI / 0% Human

Status Attribution File Lines
modified ai CONTRIBUTING.md +4 / -0
modified ai .chainloop.yml +2 / -0

Powered by Chainloop Trace

Comment thread CONTRIBUTING.md

## Chainloop Trace

This repository has [Chainloop Trace](https://docs.chainloop.dev/reference/operator/trace) enabled. This means that AI coding sessions can optionally be tracked as part of the software supply chain. See [`.chainloop.yml`](./.chainloop.yml) for the configuration.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that trace is a EE feature, so this might not be in CONTRIBUTING.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants