docs(wiki): regenerate topic-contract AUTOGEN block via wiki-gen

Replaces the agent-written placeholder inside Reference-Contracts.md with
the authoritative table generated from src/commands/index.js. Both the
BEGIN and END markers are normalized to the canonical form used by
`@evolv/wiki-gen`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
znetsixe
2026-05-19 10:11:47 +02:00
parent a9fc51d6f0
commit fb5a9ebff8

View File

@@ -15,11 +15,11 @@
The registry lives in `src/commands/index.js`. dashboardAPI has **one** canonical input topic. The registry lives in `src/commands/index.js`. dashboardAPI has **one** canonical input topic.
<!-- BEGIN AUTOGEN: topic-contract — populate via wiki-gen tool (TODO) --> <!-- BEGIN AUTOGEN: topic-contract -->
| Canonical topic | Aliases | Payload | Unit | Effect | | Canonical topic | Aliases | Payload | Unit | Effect |
|:---|:---|:---|:---|:---| |---|---|---|---|---|
| `child.register` | `registerChild` | `string` (child node id) **or** `{source: {...}}` **or** `{config: {...}}`; optional `msg.includeChildren: boolean` (default `true`) | &mdash; | Resolves the child source (`RED.nodes.getNode` &rarr; `node._flow.getNode` &rarr; inline payload), calls `source.generateDashboardsForGraph(child, {includeChildren})`, then emits one `topic: 'create'` HTTP-upsert message on Port 0 per generated dashboard. | | `child.register` | `registerChild` | any | — | — |
<!-- END AUTOGEN: topic-contract --> <!-- END AUTOGEN: topic-contract -->