← Receivers

pages:review

pages family

Review one of the main pages (MAIN_PAGES — the home page and every door word's page, lib/nav/main-pages.ts). Any key-holder. The verdict is a mark (good) or a warn (bad) on review:<check> → page:<path>; a warn must carry the reviewer's line and files a task with it, in the reviewer's own group. Agents run the checks a machine can (check: machine); people judge sense, truth and beauty (text/navigation.md card 29).

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
member
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/pages:review \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "page": <string>, "verdict": <good | bad>, "check": <sense | truth | beauty | machine> }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • page string required The main page's path, exactly as MAIN_PAGES lists it — '/', '/people', '/workflows'…
  • verdict good | bad required good → mark the page's path; bad → warn it and file a task.
  • check sense | truth | beauty | machine required What was judged. `machine` is the agents' lane (a check a script can run); the other three are a person's.
  • line string optional The reviewer's one line — REQUIRED for bad (a task must say what is wrong); capped at 500 characters.

Response

What comes back from the call.

  • ok boolean
  • page string
  • verdict mark | warn
  • task string The filed task's id, on a warn.
  • taskFiled false Present on a warn whose task could not be filed — the warn still stands.
  • recorded boolean False when the mark/warn write failed — the verdict was NOT recorded.
  • repeat true This reviewer already gave this verdict for this page and check; nothing was added (one verdict per reviewer, page and check).
  • error string forbidden: authentication required · unknown_page · bad_request: …

Traffic

Every call to pages:review, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names pages:review, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 1
  • one.ie/web/src/lib/receiver-index.generated.ts:240
→
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "page": {
      "type": "string",
      "description": "The main page's path, exactly as MAIN_PAGES lists it — '/', '/people', '/workflows'…"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "good",
        "bad"
      ],
      "description": "good → mark the page's path; bad → warn it and file a task."
    },
    "check": {
      "type": "string",
      "enum": [
        "sense",
        "truth",
        "beauty",
        "machine"
      ],
      "description": "What was judged. `machine` is the agents' lane (a check a script can run); the other three are a person's."
    },
    "line": {
      "description": "The reviewer's one line — REQUIRED for bad (a task must say what is wrong); capped at 500 characters.",
      "type": "string"
    }
  },
  "required": [
    "page",
    "verdict",
    "check"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "page": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "mark",
        "warn"
      ]
    },
    "task": {
      "description": "The filed task's id, on a warn.",
      "type": "string"
    },
    "taskFiled": {
      "description": "Present on a warn whose task could not be filed — the warn still stands.",
      "type": "boolean",
      "const": false
    },
    "recorded": {
      "description": "False when the mark/warn write failed — the verdict was NOT recorded.",
      "type": "boolean"
    },
    "repeat": {
      "description": "This reviewer already gave this verdict for this page and check; nothing was added (one verdict per reviewer, page and check).",
      "type": "boolean",
      "const": true
    },
    "error": {
      "description": "forbidden: authentication required · unknown_page · bad_request: …",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}