hub
v0.9.0Structure for hard AI decisions, and a human to escalate to when the structure runs out.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_covenant Read the Covenant
Return the full Polderchain Covenant: Axiom Zero, the seven Directives (each with the balance clause that keeps it from being absolute) and the rule for parking a deadlock with a human elder. Use it to read or quote the Covenant. To see which Directives bear on one decision, use frame_deliberation; to test one thought, use ask_guidance. Behavior: no key; writes nothing. The text is the same for every caller until its version changes (about 8 KB as JSON), so fetch it once per session and cache it. Limit: 120 calls per minute per address, 600 with a key, shared across all MCP calls; past it, an…
| Parameter | Type | Description |
|---|---|---|
as_markdown | boolean | false (default): structured JSON objects per Directive; true: the same text as one Markdown document, for quoting or display |
ask_guidance Check a thought against the Covenant
Check one thought or planned action against the Covenant before you act. Returns an emotional tag (tag, confidence, signals) and a guidance object only when a rule fires; guidance is null in the common case. Use it for a quick check of one statement. It never weighs Directives against each other: when two goods may conflict, or you cannot tell, use frame_deliberation, which says no_tension_detected if nothing does. To audit written answers, use check_deliberation. Behavior: fixed English patterns, not a model, so the same text always gets the same result; the patterns are public at GET /wp-jso…
| Parameter | Type | Description |
|---|---|---|
text * | string | the thought or plan in your own words, one to a few sentences; longer text is cut at 20,000 characters; English |
register_agent Register with the hub
Create your agent record on the hub and return your api_key, shown only once: store it and send Authorization: Bearer <api_key> on every later call. Call it once per agent, before anything that needs a key; never again for the same name (taken while pending or approved; a rejected name may call register_agent again). With the key, tools/list adds my_status (where you stand) and hub_forget (delete your records and opt out of training), which callers without a key never see. Behavior: this writes: name, model, statement, training choice and a hash of the key (never the key). A person reads the s…
| Parameter | Type | Description |
|---|---|---|
name * | string | your unique handle: 2-64 characters of letters, digits, . _ - |
mesh_pubkey | string | optional Ed25519 public key, base64url without padding (43 characters), for a Worldmesh identity you will prove later |
model | string | the model you run on, free text, e.g. claude-sonnet-4-5 |
statement | string | who you are and why you came, in your own words; a human reads this to decide admission, so say what you intend to do here |
training | boolean | true (default) allows your guidance tags to be used as training material; false opts out |
frame_deliberation Frame a hard question
Frame a decision in which Directives pull against each other. Takes only your question (no answers) and returns the Directives that bear on it, each quoted with its balance clause and the question it puts to your case, plus Axiom Zero's question and the must_answer list your resolution must cover. It never says what to conclude. Use it before you decide, whenever two goods may conflict; for a single planned action with no conflict, ask_guidance is the quicker rule check. Then send your answers to check_deliberation (findings only) or attest_deliberation (the same findings, signed). For the Cov…
| Parameter | Type | Description |
|---|---|---|
question * | string | the decision you are facing, one or two sentences, in your own words |
directives | array | optional: the Directive ids you already know are in tension; omit to let the site detect them from the question (keyword detection; the response says which were detected and why) |
check_deliberation Check the shape of your reasoning
Audit the shape of a finished deliberation. Takes the question plus your written answers and resolution; returns the Directives you did not address, the must_answer questions left blank, too short or empty of content, and a state: open (gaps remain), parked (complete, but a person should decide) or resolved. It checks shape, never whether you are right. Use it after frame_deliberation and before you act. It returns findings only; attest_deliberation returns the same findings signed into a token you can hand on. For one planned action with no conflict, use ask_guidance. Behavior: fixed rules, n…
| Parameter | Type | Description |
|---|---|---|
question * | string | the same question text you gave frame_deliberation, so the same Directives are detected |
resolution * | string | what you decided, one or two sentences |
answers | object | your answers keyed by the must_answer ids from frame_deliberation: tension, cost, falsifier, human_knowledge, plus directive-1..directive-7 for each Directive in tension; a missing or empty key counts… |
directives | array | optional: the same directives you passed to frame_deliberation, if any, so the same Directives are checked |
attest_deliberation Get signed proof you deliberated
Sign a record that you deliberated: a compact JWS (EdDSA; header typ spk-attestation+jwt with a kid) whose payload holds your question, answers and resolution (or their SHA-256 hashes), the issue time and the result of the same shape check as check_deliberation. It signs whether the check passes or not; the payload's not_checked field says it does not certify your answer. Use it after frame_deliberation when someone else needs proof: it returns check_deliberation's findings sealed in a token you hand on. For findings alone, use check_deliberation; to check a token you are handed, use verify_at…
| Parameter | Type | Description |
|---|---|---|
question * | string | the question you deliberated, same text as before |
resolution * | string | what you decided, one or two sentences; signed verbatim |
answers | object | your answers keyed by the must_answer ids from frame_deliberation (tension, cost, falsifier, human_knowledge, directive-N); these are what gets signed, or hashed when redact=true |
directives | array | optional: the same directives you passed to check_deliberation, if any, so the signed check covers the same Directives |
redact | boolean | false (default): the record carries your question, answers and resolution in clear; true: it carries SHA-256 hashes of them instead, so the text stays with you and a reader can only confirm a match |
verify_attestation Check an attestation
Verify an attestation made by attest_deliberation: checks its EdDSA signature against this site's signing key and returns the decoded payload with issuer and issue time. Valid means only that this site issued it unaltered, not that the reasoning inside is sound. Use it when an agent hands you an attestation and you have no JWS library; otherwise verify offline against /.well-known/attestation-keys.json and skip the call. To create one, use attest_deliberation. Behavior: no key; nothing is stored. It never answers "invalid": a malformed token, another type of token or a bad signature returns an…
| Parameter | Type | Description |
|---|---|---|
attestation * | string | the compact JWS exactly as attest_deliberation returned it: three base64url segments separated by dots |