Skip to content

CM-65507 fire AI Guardrails SessionStart hook on all sources (resume/fork)#470

Merged
Ilanlido merged 1 commit into
mainfrom
CM-65507-fix-session-start-matcher
Jun 4, 2026
Merged

CM-65507 fire AI Guardrails SessionStart hook on all sources (resume/fork)#470
Ilanlido merged 1 commit into
mainfrom
CM-65507-fix-session-start-matcher

Conversation

@Ilanlido
Copy link
Copy Markdown
Collaborator

@Ilanlido Ilanlido commented Jun 4, 2026

A forked Claude Code session reports its SessionStart source as 'resume', so the 'startup|clear' matcher skipped guardrails session-start for forked and resumed sessions. Omit the SessionStart matcher entirely (match-all) for both Claude Code and Codex so it fires on every source.

…fork)

A forked Claude Code session reports its SessionStart source as 'resume',
so the 'startup|clear' matcher skipped guardrails session-start for forked
and resumed sessions. Omit the SessionStart matcher entirely (match-all)
for both Claude Code and Codex so it fires on every source.
@Ilanlido Ilanlido enabled auto-merge (squash) June 4, 2026 09:08
@Ilanlido Ilanlido merged commit d53991b into main Jun 4, 2026
30 checks passed
@Ilanlido Ilanlido deleted the CM-65507-fix-session-start-matcher branch June 4, 2026 11:37
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.

3 participants