← GoalpostCONTENT HISTORY

Update to Goalpost

Snapshot Nov 24, 2026 · 18:13 UTC · version 0.8.8

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Goalpost and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Send a Goalpost draft change batch into the approval queue: confirm it is still a draft, check its parent is the latest approved version, summarize it, and get explicit confirmation before calling submit_for_approval. Use when the user asks to submit a draft or send it for review.",
  "included_files": [],
  "name": "submit",
  "skill_md_contents": "---\nname: submit\ndescription: \"Send a Goalpost draft change batch into the approval queue: confirm it is still a draft, check its parent is the latest approved version, summarize it, and get explicit confirmation before calling submit_for_approval. Use when the user asks to submit a draft or send it for review.\"\n---\n\n# Goalpost — submit a draft for approval\n\nThe user is ready to send a draft into Goalpost's approval workflow.\nDon't fire `submit_for_approval` immediately — confirm the draft is\nin the shape they actually want first.\n\n1. **Locate the draft.** If the user named one, call `get_change_batch`\n   directly. Otherwise call `list_change_batches` for the document (ask\n   which document if it isn't clear) and offer the most recent `draft`\n   as the candidate.\n\n2. **Verify it's still a draft.** If the change batch's status is\n   already `pending_approval` or `approved`, tell the user and stop\n   — `submit_for_approval` is only valid for drafts.\n\n3. **Check the parent is current.** Call\n   `get_latest_approved_change_batch` for the document and compare its id\n   to the draft's `parentId`. If they differ (or `needsRebase` is set\n   on the draft), the baseline has moved since the draft was written:\n   - Explain that submitting now will queue the draft against a stale\n     baseline.\n   - Call `preview_change_batch_parent_update` and tell the user what\n     updating the parent would keep and drop, and which copied items it\n     offers to merge with their approved counterparts.\n   - Offer to run `update_change_batch_parent` (with the merges the user\n     chooses) before submitting — don't do this silently.\n   - Wait for the user's call before continuing.\n\n4. **Give the user a one-line summary of what they're about to\n   submit.** \"N operations across <document name> — adding X,\n   replacing Y, moving Z.\" If the change batch has a name/description,\n   include those. Ask for explicit confirmation.\n\n5. **Submit.** Call `submit_for_approval` with the draft's id. Surface\n   the returned `webappUrl` so the user can watch for reviewer\n   activity in the webapp. Remind them — once — that approval votes\n   themselves are cast in the webapp, not through this connection.\n"
}

SHA-256 of public snapshot: 9c98f1274faa147b164b946bf02872ffccea1f615d75dcafe20fda9166afddeb