install
source · Clone the upstream repo
git clone https://github.com/parcadei/Continuous-Claude-v3
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/parcadei/Continuous-Claude-v3 "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/explicit-identity" ~/.claude/skills/parcadei-continuous-claude-v3-explicit-identity && rm -rf "$T"
manifest:
.claude/skills/explicit-identity/SKILL.mdsource content
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
when spawning processes--session-id $ID - 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:
= Claude Code session (human-facing)session_id
= Braintrust trace (query key)root_span_id
= Braintrust turn within sessionturn_span_id
Example
// 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