page_basis
Track a wiki page’s reliance on another page: mark, confirm, diff, or remove a basis link so changed source notes can be reviewed before the citing page is updated.
Instructions
Track what a wiki page relies on another page for. Use when read_page, list_pages or recall shows a pending basis. mark/confirm need version (the basis note's page.version from read_page) and fail if it moved on. diff shows the text relied on next to the text now. remove drops it. Changes are local stdio only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | mark: record the reliance. diff: show what the basis note said when you last confirmed it and what it says now. confirm: say the page still holds after the basis note's change. remove: drop the reliance. | |
| page_id | Yes | The page that relies on the other note (the one that would be rewritten or confirmed). Opaque page id. | |
| version | No | Required for mark and confirm: the basis note's page.version from your read_page (not the citing page's). If the basis note has moved on since, the call is refused and nothing changes. Ignored by diff and remove. | |
| basis_page_id | Yes | The note it relies on. Opaque page id; never a memory id. |