II.
SessionSemantics overview
Reference · livesession-semantics:claude-code
session-semantics:claude-code overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for session-semantics:claude-code.
Attributes
sessionSemanticsId
agentId
versionRange
>=0.0.0
sessionDirStrategy
.a5c/runs
sessionIdSources
- CLAUDE_ENV_FILE
- CLAUDE_CODE_SESSION_ID
resumeSemantics
Session binding is mediated by Claude env files plus a shared `.a5c/runs/`
directory. The harness drops a pid marker in the run dir on spawn; resume
rebinds by matching `CLAUDE_CODE_SESSION_ID` (or, on restart, `CLAUDE_ENV_FILE`).
stateFilePatterns
- .a5c/runs/**
pidMarkerPolicy
env-or-run-dir
metadataFields
- keysession_idenvVars
- CLAUDE_CODE_SESSION_ID
- keyenv_fileenvVars
- CLAUDE_ENV_FILE
- keyproject_direnvVars
- CLAUDE_PROJECT_DIR
Outgoing edges
applies_to_version1
- agentVersion:claude:ge-0-0-0·AgentVersionClaude Code
references_path1
- path:a5c-runs-dir·PathDescriptorShared a5c run/session directory
Incoming edges
None.