Skip to main content
CLI/pd w
CLI command · v3.30.6

pd w

pd w is an alias for pd whoami. Show the current agent, active session, purpose, notes, and claimed files.

Syntax

Run pd w like this

pd w
API spec

Command contract

Canonical command

pd whoami

Reference route

/docs/cli/w

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

pd w

Output mode

human display with command-specific state changes

Page type

hand-authored route with catalog-backed fallback

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 w 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 w 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 pd whoami in automation when you want the canonical spelling; pd w resolves to the same command contract.

Examples

Example 01

Run pd w from a coordinated checkout

CLI
pd w
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 whoami
open /docs/cli/whoami
Output
The help topic and docs route both describe pd whoami, including aliases, flags, and source provenance.