Skip to main content

explicit-identity

Explicit Identity Across Boundaries

Jump to install

Source facts

Repository
parcadei/Continuous-Claude-v3
Last source activity
January 10, 2026 at 01:54
Detected SKILL.md language
English
Stars
3,942
Forks
300

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
explicit-identity
description
Explicit Identity Across Boundaries
user-invocable
false
# Explicit Identity Across Boundaries Never rely on "latest" or "current" when crossing process or async boundaries. ## Pattern Pass explicit identifiers through the entire pipeline. "Most recent" is a race condition. ## DO - Pass `--session-id $ID` when spawning processes - Store IDs in state files for later correlation - Use full UUIDs, not partial matches - Keep different ID types separate (don't collapse concepts) ## DON'T - Query for "most recent session" at execution time - Assume the current context will still be current after await/spawn - Collapse different ID types: - `session_id` = Claude Code session (human-facing) - `root_span_id` = Braintrust trace (query key) - `turn_span_id` = Braintrust turn within session ## Example ```typescript // BAD: race condition at session boundaries spawn('analyzer', ['--learn']) // defaults to "most recent" // GOOD: explicit identity spawn('analyzer', ['--learn', '--session-id', input.session_id]) ``` ## Source Sessions - 1c21e6c8: Defined session_id vs root_span_id distinction - 6a9f2d7a: Fixed wrong-session attribution via explicit passing - a541f08a: Confirmed pattern prevents race at session boundaries
View on GitHub