ddflow_memory_add
Record one operational fact about a machine, repo, or working state to show in briefs and recall across worktrees. Correct by ID; never store secrets.
Instructions
Remember ONE operational fact about this machine, repository or working state -- 'this box has 8 H200s, usually idle', 'use -n 16, never -n auto', 'the critic can exit 0 having degenerated; grep for STATUS:'. Shown at the top of every ddflow_brief and searchable by ddflow_recall, in every worktree at once. Not for rules (ddflow_lesson_add), what happened (ddflow_session_note) or how the software is built (ddflow_decision_add). Never put a secret here: the log is committed. Refused over [memory] max_chars (default 280).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Re-record an existing memory under its id -- how a fact is CORRECTED. Omit for a new one. | |
| tags | No | Comma-separated tags, e.g. 'gpu,machine'. | |
| text | Yes | The fact, in one or two sentences. | |
| as_agent | No | Subagent sharing the parent's connection: your own stable name, for this call only (see ddflow_identify). | |
| relation | No | Answer a 'possible duplicate' refusal: new | extends:ID | duplicate_of:ID | related:ID (see the refusal's `candidates`/`options`). Omit on the first call. | |
| check_only | No | Dry run: write nothing, return the `candidates` this add would be refused for. |