Skip to main content
CLI/pd session <command>
CLI command · v3.30.6

pd session <command>

Manual session lifecycle: start, end, done, abandon, rm, and files add/rm.

Syntax

Run pd session <command> like this

pd session status
API spec

Command contract

Canonical command

pd session <command>

Reference route

/docs/cli/session

Reference group

Sessions, Notes, Recovery, And Evidence

Runtime path

Daemon client with direct-mode fallback where supported

Source

cli/commands/sugar.ts, cli/commands/sessions.ts, cli/commands/say.ts, cli/commands/look.ts, cli/commands/sitrep.ts, cli/commands/resurrection.ts

Aliases

none

Output mode

human display with command-specific state changes

Page type

generated API spec from the source-backed catalog

See the command surfaces this reference keeps in play

This clip shows the daemon health check, command discovery, and message-loop patterns that recur across the CLI reference. Here it grounds the pd session <command> reference: daemon health, discovery, and message-loop patterns these pages keep pointing back to.

Usage patterns

Common ways this command shows up in practice

pd session <command> belongs to Sessions, Notes, Recovery, And Evidence. Create the audit trail: sessions, file claims, notes, activity, briefing, salvage, and catch-up commands.

Daemon client with direct-mode fallback where supported. Validate live behavior from the daemon and handler source when changing this command.

Use this page as the stable public contract for pd session <command>; aliases resolve to the same contract.

Flags

Options that change command behavior

--agent

Target or stamp a specific agent id.

--force

Bypass the normal safety guard for this command.

--files

Attach file paths to the session or launch request.

Examples

Example 01

Run pd session <command> from a coordinated checkout

CLI
pd session status
Output
Prints the changed record or lookup result; use --json when you need the exact machine-readable shape.
Example 02

Find this command from the full CLI reference

CLI
pd help session
open /docs/cli/session
Output
The help topic and docs route both describe pd session <command>, including aliases, flags, and source provenance.