hub_section_add
Append a line to a project card section, creating it if missing, without changing the rest.
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. For those four, a normal hub_report with DECIDE:/FACT:/COMM:/NEXT: is still the right call; use this for the rest. The section is created if missing (you get created:true back — check it, a typo is how a card grows two nearly identical headings).
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. |