chieflab_measure_hacker_news
P109 — pull a Hacker News post's score + comments + top replies via the public HN API and write them to the action's metadata.proof. USE WHEN a published Hacker News action is ripe for 24h measurement (checks the publishedUrl on the action, parses the item id, calls the Firebase API). Auto-creates a next-move action based on the outcome (trending → reply + cross-post; engaged → reply; stalled → rewrite angle). Idempotent — second call returns the existing measurement. No API key required; HN is public-read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-measure even if metadata.proof.measuredAt is already set. Default false. | |
| actionId | Yes | The action id whose publishedUrl points at the HN post. Required. | |
| workspaceId | No | Optional workspace id. |