← 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": "Use Goalpost — shared, versioned documents for people and agents — well when reading documents or authoring/revising change batches through the `goalpost` MCP server.",
  "included_files": [],
  "name": "goalpost",
  "skill_md_contents": "---\nname: goalpost\ndescription: Use Goalpost — shared, versioned documents for people and agents — well when reading documents or authoring/revising change batches through the `goalpost` MCP server.\n---\n\n# Working in Goalpost\n\nGoalpost keeps shared, versioned documents for people and\nagents. Each MCP connection is\npinned to a single **workspace**; every tool call reads and writes\ninside that workspace. The workspace is implicit and is never passed\nas an argument.\n\n## Mental model\n\n- **Document** — a named, structured body of content (a product spec, a meal\n  plan, a garden layout, a running set of notes) living inside the\n  workspace. Underneath, it is a tree of items whose nodes come in a\n  few types: `SECTION`, `TEXT`, `LINK`, `IMAGE`, and `REF`, described\n  below.\n- **ChangeBatch** — a set of operations that edit a document's\n  contents, anchored to a parent change batch. When a change batch is\n  saved, Goalpost regenerates the resulting document state by applying\n  its operations on top of the parent's state.\n  - Lifecycle: `draft` (freely editable) → `pending_approval`\n    (awaiting reviewers) → `approved` (permanent, sequentially\n    numbered, immutable).\n  - Approved change batches form a linear chain; exactly one is \"latest\"\n    for a document at a time.\n- **Item** — a node in a document's hierarchical content tree: every\n  section, note, link, image, and reference in the document is an item,\n  identified by `item_<uuid>`. When you tell the user what you did,\n  name items by type where you can (\"added a note under Requirements\",\n  \"moved the Budget section\") and keep \"item\" for the general case.\n  Items have a\n  `parent_item_id`, an `order_key` within their siblings (read-only:\n  the server mints it when an item is placed; never write one), a\n  `type`, and `content` whose shape depends on the type:\n  - `TEXT` — a note: a requirement, a decision, a statement, anything\n    written down; `content` is `{ \"text\": ... }`.\n  - `SECTION` — a named grouping, like a folder; `content` is\n    `{ \"title\": ... }`.\n  - `LINK` — an http(s) link to something outside the document;\n    `content` is `{ \"url\": ..., \"label\"?: ... }`. Placed like `TEXT`.\n  - `REF` — a reference to another item in the same document;\n    `content` is `{ \"item_id\": ... }` and the reference reads as its\n    target. Placed like `TEXT`. The target must exist in every version the reference exists\n    in: remove or retarget references before removing their target.\n    Replacing a target carries its references to the replacement.\n  - `IMAGE` — an image uploaded into the document; `content` is\n    `{ \"asset_id\": ..., \"alt\": ... }`. Reference an asset that already\n    exists: `list_document_assets` gives you the ids for a document and\n    `get_document_asset_url` returns a short-lived URL to look at one.\n    `alt` is required. Placed like `TEXT`. **You cannot upload image\n    bytes over this connection** — if the user wants a new picture in\n    the document, they add it in the Goalpost webapp, and you can reference\n    it afterwards.\n- **Sections are the spine of the tree.** Every root item must be a\n  `SECTION`, and a `SECTION` may only sit under another `SECTION`.\n  Every other item sits under a section or under any other item, so a\n  `TEXT` item can carry `TEXT`, `LINK` and `REF` items of its own. To add\n  content to an empty document, add a root `SECTION` first and put\n  `TEXT` items under it. Moving a `TEXT` item to the root, or a\n  `SECTION` under a `TEXT` item, is rejected.\n- **Operation** — a tree-edit primitive carried by a change batch. Four\n  kinds, each with a specific job:\n  - `ADD_ITEM` — introduce a new item, placed by `parent_item_id`\n    (null for the root) and, when it is not simply last under that\n    parent, by `after_item_id` or `before_item_id` naming the sibling\n    it goes next to.\n  - `REMOVE_ITEM` — delete an item and all its descendants.\n  - `MOVE_ITEM` — change an item's parent and place, named the same\n    way. The id, content, and children are preserved.\n  - `REPLACE_ITEM` — swap an item for a new node with a new id.\n    Scoped to content edits: type, parent, and place are inherited\n    from the predecessor (the replacement must carry the same `type`),\n    and the predecessor's children are re-parented to the replacement.\n\n## Typical workflow\n\n1. `list_documents` to discover what exists.\n2. `view_change_batch` when the user asks to see, show, open, look at\n   or review a document, a draft or a pending change. It opens the\n   document beside the conversation (where the host renders it)\n   and returns its state, so you don't need a second read. Pass\n   `changeBatchId` for a draft or pending change; without it the latest\n   approved version opens. Pass `changesOnly: true` to open on the list\n   of what that version changed rather than the whole document — the\n   view for reviewing a draft or a pending change. `get_latest_approved_change_batch` (or\n   `get_change_batch` for a specific one) reads the same state without\n   showing it — use those when you need the state for your own work\n   and the user hasn't asked to see it.\n3. `create_change_batch` to start a draft. The server defaults\n   `parentId` to the latest approved change batch; pass it explicitly\n   only when branching from an older one. To write a whole tree, list\n   the items in the order they should appear, each after its parent,\n   and name no sibling: each lands last under its parent as it goes.\n4. `append_change_batch_operations` to add to the draft (a subtree, a\n   few edits) without resending what it has; the single-item tools\n   (`add_item_to_change_batch` and friends) for one change at a time;\n   `remove_change_batch_operation` to take back one change the draft\n   made to an item from the approved version.\n5. `submit_for_approval` to send the draft into the approval\n   workflow.\n\n`list_teams` / `list_document_teams` read which teams exist and which\ncan access a document. Any user can leave a team with\n`remove_team_member`, passing their own `userId` from\n`get_current_workspace`.\n\n### Workspace owners: teams and approval rules\n\nWhen the connected user owns the workspace (`get_current_workspace`\nreports `role: \"owner\"`), the server also registers tools to manage\nteams and approval rules: `create_team`, `rename_team`, `delete_team`,\n`set_team_archived`, `set_team_approval_rule`, `add_team_member`,\n`assign_team_to_document`,\n`remove_team_from_document`, `create_approval_rule`,\n`update_approval_rule`, `set_approval_rule_archived`,\n`delete_approval_rule`, `set_document_approval_rule`, and the reads\n`get_team`, `list_team_documents`, `list_workspace_members`,\n`list_workspace_approval_rules`, `get_document_approval_rule`, and\n`list_approval_rule_documents`. Members don't get these tools; route\nthem to a workspace owner.\n\nThese change who can see documents and who must approve every future\nchange, immediately, outside any draft. Confirm with the user before\ncalling a mutating one. Resolve a person's `userId` with\n`list_workspace_members` before adding them to or removing them from a\nteam.\n\nFor images, `list_document_assets` and `get_document_asset_url` read a\ndocument's asset store. Uploading is webapp-only.\n\n## Minting and threading item IDs\n\nItem IDs are **client-generated**. You — not the server — produce\nthem. The rules:\n\n- Mint a fresh `item_<uuid>` whenever an operation introduces an\n  item. That's `ADD_ITEM.id` and `REPLACE_ITEM.id`. The `<uuid>`\n  is a freshly-generated v4 UUID; do not reuse an old one and do not\n  invent a short or human-readable name.\n- `MOVE_ITEM` reuses the existing item's id — it relocates a node\n  rather than minting a new one.\n- For any child you add in the same operations array, reuse the id\n  you just minted as that child's `parent_item_id`. Don't fetch the\n  draft back to look it up.\n- For items inherited from the approved baseline, use the id\n  returned by `get_change_batch` or `get_latest_approved_change_batch`.\n\n## Choosing the right operation type\n\nThe choice between operation types matters because it changes what\nhappens to an item's identity and its descendants. Default toward\nthe operation that preserves more of the existing tree:\n\n- **Editing an item's content** — use `REPLACE_ITEM`, not\n  `REMOVE + ADD`. REPLACE re-parents the predecessor's children to\n  the replacement (descendants survive); REMOVE_ITEM deletes them.\n  A REMOVE+ADD will silently destroy referenced state.\n- **Moving an item to a new parent or position** — use\n  `MOVE_ITEM`, not `REMOVE + ADD`. MOVE preserves the item's id,\n  which is the right signal to anyone reading history that this is\n  \"the same thing, in a new place.\" REMOVE+ADD makes it look like the\n  old item was deleted and an unrelated new one was created.\n- **Editing AND moving in the same change batch** — append both ops.\n  But remember: after `REPLACE_ITEM`, the predecessor's id is gone.\n  Any subsequent MOVE/REPLACE/REMOVE in the same op array must target\n  the new id.\n\n## Let the tree carry the structure\n\nThe tree *is* the document. Sibling order comes from where operations\nplace items, and the webapp renders nesting and order on its own. Don't\nduplicate that structure in the content:\n\n- **No section numbering in titles or text.** Write `Offerings`, not\n  `3. Offerings`; `Storage Services`, not `3.1 Storage Services`; the\n  same goes for `A)`, `(ii)`, `Step 4:` and similar prefixes. Baked-in\n  numbers go stale the moment an item is inserted, moved, or removed,\n  and fixing them takes a `REPLACE_ITEM` on every later sibling —\n  a noisy diff reviewers have to wade through, and churned history\n  for content that didn't change. To reorder, `MOVE_ITEM` and\n  nothing else needs to change.\n- **Strip numbers when transcribing.** If the user hands you a\n  numbered document, drop the numbering as you turn it into items.\n  Don't add numbering of your own to a document. Goalpost has first-class\n  handling for ordering content, and renumbering sections or other\n  lists later is expensive.\n- **Numbers that mean something stay.** `Phase 2`, `Tier 3 support`,\n  or an external standard's clause id (`ISO 27001 A.5.1`) are content,\n  not position — keep them.\n- **Cross-reference with `REF`, not by number.** Instead of \"see\n  section 3.2\", add a `REF` item pointing at the target. It reads as\n  the target, survives reordering, and follows the target through a\n  `REPLACE_ITEM`.\n- **Prefer one point per item, with its detail beneath it.** A\n  paragraph in one `TEXT` item is allowed, but don't default to it.\n  Where text makes several points, give each its own item, and put what\n  elaborates a point (the reason, an exception, an example, a\n  definition, its source) in child items under it rather than in more\n  sentences of the same text. A list reads best as one item per entry\n  rather than bullets or dashes inside one text. Small items can each be\n  edited, labeled, referenced, approved, and compared on their own,\n  while a change to one sentence of a long paragraph replaces the whole\n  paragraph and makes reviewers read all of it again. A paragraph suits\n  prose that makes one point, such as a short overview or a quotation.\n\n## Revising a draft in place\n\nA draft holds the net effect of its edits, not a log of them, and the\nserver keeps it that way. When the user asks for changes to a draft you\nalready wrote, make each change with the item tools\n(`edit_item_in_change_batch`, `move_item_in_change_batch`,\n`remove_item_from_change_batch`) or `append_change_batch_operations`:\n\n- An edit, move or removal of an item this draft added is folded into\n  its ADD_ITEM, so the draft still shows one addition.\n- An edit or move of an item from the approved version is recorded\n  against it, replacing any earlier edit of the same item.\n- To take back a change to an item from the approved version (keep an\n  item the draft removed, restore its wording or its place), read the\n  draft with `get_change_batch` and call `remove_change_batch_operation`\n  with that change's operation `id` and the read's\n  `current_checkpoint_id`. The draft's other changes stay.\n\nThis keeps the change batch's operations list compact and tells a clean\nstory for reviewers.\n\n## After a tool call\n\nWhen the user asked to see something and you called\n`view_change_batch`, the opened view is the answer where the host\nrenders it: summarize briefly and don't restate the document's contents\nin your reply.\n\nWhen a tool response includes a `webappUrl` field, **surface it to\nthe user in your reply** — it's a clickable bridge to the\nGoalpost webapp where they can verify your work in the real UI.\nTools that mutate or return a specific document or change batch carry\nthis field (create/update/submit on change batches, create_document,\nassign_team_to_document, create_team, the approval rule create/update\nand document assignment, and the change batch reads). List operations\nand tools that return nothing don't.\n\n## What you cannot do via this connection\n\nThe MCP surface is intentionally scoped to reading and drafting, plus\nteam and approval rule management for workspace owners. These are\n**out of scope** — route the user to the Goalpost webapp instead:\n\n- Casting approval votes (`approve` / `reject` / `withdraw`).\n- Team and approval rule management, when the user is not a\n  workspace owner (an owner has to make the change).\n- Inviting people to or removing them from the workspace.\n- Anything under workspace settings or billing.\n- Authentication or token management.\n- Uploading image bytes. You can reference and view assets that are\n  already in the document, but adding a new one happens in the webapp.\n\nIf the user asks for one of these, explain that it has to happen in\nthe webapp and (if relevant) include the `webappUrl` from the most\nrecent tool response so they have a starting point.\n"
}

SHA-256 of public snapshot: 34935d5de9ad5a76850a784329392268c4f74c4400d67837f1765fa22cde2430