whoami
Identify the current conversation ID and the detection method used, by checking forced environment variable, parent process arguments, or file modification time.
Instructions
Return this conversation's detected conversation_id + how we know.
Resolution order:
'forced': THREADKEEPER_FORCE_CID env (set by spawn() for children)
'ppid': walk up process tree → claude --resume/--session-id
'mtime': fallback heuristic (latest jsonl mtime; flaps under concurrent peer activity)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |