hub_section_add
Append a single dated line to a specific project-card section without altering surrounding content, creating the section if missing. Use it for Gates, Metrics, Market, or hand-written headings.
Instructions
Append ONE line to ONE section of a project card, leaving everything around it untouched. This is how Gates / Metrics / Market and any hand-written section get written by a tool at all — hub_card_set only writes the digest, and the report router only reaches Decisions / Facts / Communication / Next step and your own Handoff section. For those, a normal hub_report with DECIDE:/FACT:/COMM:/NEXT:/HANDOFF: is still the right call; use this for the rest. A line set into a "Handoff " section is journaled as a handoff, as HANDOFF: is. The section is created if missing (you get created:true back — check it, a typo is how a card grows two nearly identical headings).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"section": "<section>",
"text": "<text>",
"by": "<by>"
},
"name": "hub_section_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | the function you are performing, e.g. "dev-hubd". | |
| mode | No | default append. `set` REPLACES the section body — right for "the one next action", wrong for anything cumulative. | |
| text | Yes | one line; it is stamped with the date | |
| project | Yes | ||
| section | Yes | a key from hub sections (gates, metrics, market, ...) or the literal heading as it appears in the card | |
| provenance | No | where this came from — a URL, a file, a command, a person. Recorded next to the line so a later reader can re-check it. |