ddflow_identify
Declare which agent is using this connection before any write so concurrent agents in one repository keep separate claims, gate results, and reviews.
Instructions
Declare WHO you are on this connection, before doing anything that writes. Call this first if more than one agent or subagent is working this repository at the same time. Every attribution in the queue depends on it: who holds a claim, who ran a gate, and whether a review was done by an agent other than the author. By default ddflow derives an identity from the working tree, which is correct for one agent per tree and WRONG, with no error, for several in the same tree — their work merges into one identity, 'what was I doing' answers with someone else's task, and a review passes independence against itself. There is no way to detect this from the outside, so it has to be declared. Pick a name that is stable for your whole session and distinct from the other agents': your role or assignment, not a random string. Idempotent; call it again to correct it. A SUBAGENT sharing its parent's connection must NOT call this -- it would rename the parent -- and passes as_agent on each call instead (every other tool takes it; same name rules as here, equivalent to the CLI's --agent: claims, gate outcomes and reviews are attributed to that name for that one call and conflict-checked against its siblings', and the connection's identity is untouched).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | A short stable name for you on this connection, e.g. 'reviewer-2' or 'importer'. Letters, digits, '.', '_' and '-' only, up to 64 characters — it becomes a log filename. OMIT it to reset to the tree-derived default and be told what that is. |