pd w
pd w is an alias for pd whoami. Show the current agent, active session, purpose, notes, and claimed files.
Run pd w like this
pd wCommand contract
pd whoami
/docs/cli/w
Sessions, Notes, Recovery, And Evidence
Daemon client with direct-mode fallback where supported
cli/commands/sugar.ts, cli/commands/sessions.ts, cli/commands/say.ts, cli/commands/look.ts, cli/commands/sitrep.ts, cli/commands/resurrection.ts
pd w
human display with command-specific state changes
hand-authored route with catalog-backed fallback

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.
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
Run pd w from a coordinated checkout
pd w
Prints the changed record or lookup result; use --json when you need the exact machine-readable shape.
Find this command from the full CLI reference
pd help whoamiopen /docs/cli/whoami
The help topic and docs route both describe pd whoami, including aliases, flags, and source provenance.