explicit-identity

Explicit Identity Across Boundaries

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "explicit-identity" with this command: npx skills add parcadei/continuous-claude-v3/parcadei-continuous-claude-v3-explicit-identity

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

// 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

discovery-interview

No summary provided by upstream source.

Repository SourceNeeds Review
General

math

No summary provided by upstream source.

Repository SourceNeeds Review
General

explore

No summary provided by upstream source.

Repository SourceNeeds Review
General

git-commits

No summary provided by upstream source.

Repository SourceNeeds Review