II.
SessionSemantics overview
Reference · livesession-semantics:copilot-cli
session-semantics:copilot-cli overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for session-semantics:copilot-cli.
Attributes
sessionSemanticsId
agentId
versionRange
>=1.0.55-3
sessionDirStrategy
.a5c/runs
sessionIdSources
- COPILOT_SESSION_ID
- COPILOT_CLI_SESSION
- GH_COPILOT_SESSION
resumeSemantics
Copilot surfaces session IDs from CLI and GitHub session variables. In
the `>=1.0.55-3` surface, sessions resume from their saved working
directory by default; callers can pass `-C <dir>` to override the
resume cwd. Relative `--attachment` and `--log-dir` values resolve from
the saved cwd when resuming.
stateFilePatterns
- .a5c/runs/**
pidMarkerPolicy
env-or-run-dir
metadataFields
- keysession_idenvVars
- COPILOT_CLI_SESSION
- GH_COPILOT_SESSION
- keysaved_cwdsourcesession-fileversionRange>=1.0.55-3
- keyresume_cwd_overrideflag-CversionRange>=1.0.55-3
- keyrelative_path_baseappliesToFlags
- --attachment
- --log-dir
sourcesaved_cwdversionRange>=1.0.55-3
Outgoing edges
applies_to_version1
- agentVersion:copilot:ge-1-0-55-3·AgentVersionGitHub Copilot CLI
references_path1
- path:a5c-runs-dir·PathDescriptorShared a5c run/session directory
Incoming edges
None.