Skip to content

chore(claude): add trace hooks for prompt submit and tool failures - #3546

Merged
migmartri merged 1 commit into
mainfrom
update-init
Oct 7, 2026
Merged

migmartri merged 1 commit into
mainfrom
update-init

Conversation

@migmartri

@migmartri migmartri commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Registers the Chainloop trace hooks for the UserPromptSubmit and PostToolUseFailure events in the project Claude Code settings, so traced sessions also capture user prompts and failed tool calls.

This change was produced with AI assistance (Claude Code).

🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri

Review in cubic

Register chainloop trace hooks for UserPromptSubmit and PostToolUseFailure
events in the project Claude Code settings.

Assisted-by: Claude Code
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
@chainloop-platform

chainloop-platform Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

PR validation — ⚠️ 1 failing

Status Policy Material Messages
✅ Passed pr-min-approvals pr-info -
✅ Passed pr-description-required pr-info -
⚠️ Failed pr-user-story-linked pr-info PR/MR #3546 does not reference a user story or issue in title, description, or branch 'chore(claude): add trace hooks for prompt submit and tool failures'. Expected patterns: ["(?i)[A-Z]+-[0-9]+", "#[0-9]+", "(?i)gh-[0-9]+", "(?i)\\[[A-Z]+-[0-9]+\\]"]

View attestation ↗

AI Session Checks — ⚠️ no AI session found

Missing AI Coding Sessions

This organization requires every PR to be backed by a Chainloop Trace AI coding session, and none was found for this one.

Please make sure the AI coding session evidence has been sent by the Chainloop CLI, or add the skip-ai-session label to this PR to bypass this check.

Learn more about Chainloop Trace.

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

View attestation ↗

Security context

✅ Nothing this change touches has a recorded security-fix history.

View in Chainloop ↗ · How this works ↗


Powered by Chainloop and Chainloop Trace

@migmartri
migmartri requested a review from a team October 7, 2026 13:52
@migmartri

Copy link
Copy Markdown
Member Author

@jiparis ptal

@migmartri
migmartri merged commit 540be07 into main Oct 7, 2026
15 of 17 checks passed
@migmartri
migmartri deleted the update-init branch October 7, 2026 16:05
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