Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/blob/main/scripts/allen/science/pane-contract.om # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienos.com / scripts / allen / science / pane-contract.om` 54 lines ยท 3893 bytes Raw Blame History 1 note Allen glass pane protocol v1. Canonical transport and safety contract. 2 note SSE event names are exactly pane.open, pane.update, pane.close; JSON data objects only. 3 note open = {v:1,id,kind,title}; id ASCII [A-Za-z0-9_-]{1,64}; title UTF8 <=200 bytes. 4 note kind = math|plot|doc|code|app|research|data|omega. Max 32 live panes in browser. 5 note update = {v:1,id,revision,content,provenance}; revision integer 1..`1000000`. 6 note update fully replaces content and provenance, never patch/append/HTML injection. 7 note update before open, duplicate open and non-increasing revision are refused. 8 note close = {v:1,id}; unknown close is a no-op; closed ids cannot reopen in one stream. 9 note Each event <=65536 UTF8 bytes, all events <=262144 bytes per chat turn. 10 note content strings <=32768 UTF8 bytes; list count <=64 unless specified below. 11 note math content = {text,tex?}; only an actual successful engine result is computed. 12 note plot content = {series:[{label,points:[[finite number,finite number]]}],x_label,y_label}. 13 note plot <=8 series, <=512 points per series; labels <=200 bytes; data never proves itself. 14 note doc content = {markdown,citations:[{title,url}]}; URLs HTTPS only and never fetched. 15 note code/omega content = {source,language,wasm?,functions?}; wasm base64, never auto-run. 16 note functions = [{name,params:[{name,type}],ret}] exactly matching the Omega compile endpoint. 17 note app content = {html}; explicit visitor Run only; sandbox allow-scripts without same-origin. 18 note app CSP denies network, external resources, forms, navigation and frame escape. 19 note research content = {notes,hypotheses:[string],derivations:[string],sources:[{title,url}]}. 20 note data content = {columns:[string],rows:[[string]]}; never inferred as measured data. 21 note provenance = {status,engine,expression,result,source,commit}; all values strings. 22 note status = computed|unsupported|unverified|input-data; exact expression/result are auditable. 23 note computed means aien-math emitted a result, NOT that the result is independently correct. 24 note No model-produced number is labelled computed. Unsupported math has no model fallback. 25 note Model docs/research are unverified; plot literals input-data. Sources may be unverified. 26 note Engine identity and full corpus score are displayed with exact source pin and receipt limits. 27 note No live web access; no hidden Wolfram dependency, key, quota, or external math request. 28 note Unknown fields, invalid kinds, nonfinite numbers or excess sizes refuse the complete event. 29 note Browser strings are untrusted. DOM text nodes only; structured plots create SVG elements. 30 note TeX is source until actually typeset; never claim a source dump is a rendered formula. 31 note Projects persist in browser IndexedDB. Export is explicit. No anonymous server persistence. 32 note Remember-me summaries require separate visitor action and the existing opaque visitor key. 33 note Source text is never sent to Cortex automatically; sync <=1000 UTF8 bytes per summary. 34 note Public gateway forwards only six strict tool schemas to loopback isolated science service. 35 note math_compute, omega_compile, web_app, paper, research, plot; no arbitrary tool dispatch. 36 note At most three tool rounds. Public request admission cap remains two; tools spawn no model. 37 note Service has no network, credentials, writable host tree, project store or GitHub capability. 38 const PANEVER uint 1 39 const PANE_MAX ulong 65536 40 const TURN_MAX ulong 262144 41 const TEXT_MAX ulong 32768 42 const TOOL_MAX uint 3 43 const TITLEMAX ulong 200 44 const LISTMAX ulong 64 45 const SERIESMX ulong 8 46 const POINTSMX ulong 512 47 const REVMAX ulong `1000000` 48 const PANESMAX ulong 32 49 const URLMAX ulong 2048 50 const SYNC_MAX ulong 1000 51 const PLOTMAX f64 1.0e100 52 text paneevt "pane.open|pane.update|pane.close|" 53 text panekind "math|plot|doc|code|app|research|data|omega|" 54 text toolname "math_compute|omega_compile|web_app|paper|research|plot|"