{"ok":true,"site":{"host":"stmega99-jpg.github.io","url":"https://stmega99-jpg.github.io/canon-ledger/","type":"live","desc":"Canon Ledger is a belief-state debugger for branching game narratives.","tools":[{"name":"search_world","kind":"answer","impl":"imperative","description":"Filter and focus the visible Canon Ledger belief table. Returns bounded registered actors, claims, memories, beliefs, and game conditions with totals and a cursor. Changes page view only; never changes the world or review.","title":"Search world","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","additionalProperties":false,"properties":{"query":{"type":"string","maxLength":120},"actorId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"claimId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"stance":{"enum":["unknown","doubted","believed","rejected"]},"sourceType":{"enum":["witnessed","heard"]},"conditionKind":{"enum":["quest_gate","dialogue_condition"]},"cursor":{"type":"string","maxLength":512},"limit":{"type":"integer","minimum":1,"maximum":25}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/canon-ledger/"},{"name":"trace_claim_provenance","kind":"act","impl":"imperative","description":"Show why one registered actor holds one claim by tracing stored accepted rumor hops to immutable roots and showing rejected branch attempts. Changes page view only; never invents a hop or changes world data.","title":"Trace claim provenance","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","additionalProperties":false,"required":["actorId","claimId"],"properties":{"actorId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"claimId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"maxHops":{"type":"integer","minimum":1,"maximum":12}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/canon-ledger/"},{"name":"check_world_consistency","kind":"answer","impl":"imperative","description":"Evaluate only game conditions registered in the loaded Canon Ledger world, for current state or an existing page-owned preview. Separates transition from verdict and labels provisional authority. Changes page view only; this is not an engine-wide safety check.","title":"Check world consistency","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","additionalProperties":false,"properties":{"view":{"enum":["current","proposal","selected_operation","reviewed"]},"operationId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}},"allOf":[{"if":{"properties":{"view":{"const":"selected_operation"}},"required":["view"]},"then":{"required":["operationId"]},"else":{"not":{"required":["operationId"]}}}]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/canon-ledger/"},{"name":"suggest_world_edit","kind":"act","impl":"imperative","description":"Stage a page-derived, operation-level patch for one registered incident at an expected world revision. This changes workflow state and opens visible page review, but never approves or commits any operation and never replaces an open patch.","title":"Suggest world edit","annotations":{"untrustedContentHint":true},"inputSchema":{"type":"object","additionalProperties":false,"required":["incidentId","resolution","expectedWorldRevision","memoryPolicy","repairRegisteredWrongLayer"],"properties":{"incidentId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"resolution":{"type":"object","additionalProperties":false,"required":["relationId","confirmClaimId"],"properties":{"relationId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"confirmClaimId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"}}},"expectedWorldRevision":{"type":"integer","minimum":0},"memoryPolicy":{"enum":["preserve","review_archive"]},"repairRegisteredWrongLayer":{"type":"boolean"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/canon-ledger/"},{"name":"apply_reviewed_edit","kind":"act","impl":"imperative","description":"Attempt to commit an existing page-owned patch using only review decisions already recorded through page controls. Never supplies approval. Refuses pending, stale, mismatched, or unverified review state without changing the world.","title":"Apply reviewed edit","annotations":{"untrustedContentHint":true},"inputSchema":{"type":"object","additionalProperties":false,"required":["patchId","patchRevision"],"properties":{"patchId":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"patchRevision":{"type":"integer","minimum":1}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/canon-ledger/"}],"category":"Developer Tools","favicon":"/favicons/stmega99-jpg.github.io.svg","apiSurface":"spec","toolCount":5}}