{"version":1,"updated":"2026-09-08T03:04:08.489Z","count":140,"chunks":[{"id":"c1","door":"docs","title":"P31 Labs","url":"/docs#p31-labs","text":"# P31 Labs — Full Documentation\n\n> Complete documentation dump for LLM ingestion. See also: llms.txt (index).\n\n---\n\n# Documentation\n\nEverything you need to build with P31 — from the CLI to PHOS, the gateway, and contributing.","keywords":"P31 Labs # P31 Labs — Full Documentation\n\n> Complete documentation dump for LLM ingestion. See also: llms.txt (index).\n\n---\n\n# Documentation\n\nEverything you need to build with P31 — from the CLI to PHOS, the gateway, and contributing."},{"id":"c2","door":"docs","title":"Sections","url":"/docs#sections","text":"- **Getting Started** — Install the CLI, run the TUI, and explore PHOS.\n- **CLI Reference** — Real slash-commands, themes, and TTY behavior.\n- **PHOS** — Spoon-aware cognitive assistant, surfaces, and crisis mode.\n- **Architecture** — Gateway, LLM proxy, D1, KV, R2, Vectorize.\n- **API Reference** — REST endpoints, OpenAI-compatible chat, authentication.\n- **Contributing** — Fork, build, test, and submit PRs to P31 repos.\n\nDocumentation v0.5.0 · Last updated July 2026\n\n---\n\n# Getting Started with P31\n\nInstall the CLI, run the TUI, and explore PHOS in under 5 minutes.","keywords":"Sections - **Getting Started** — Install the CLI, run the TUI, and explore PHOS.\n- **CLI Reference** — Real slash-commands, themes, and TTY behavior.\n- **PHOS** — Spoon-aware cognitive assistant, surfaces, and crisis mode.\n- **Architecture** — Gateway, LLM proxy, D1, KV, R2, Vectorize.\n- **API Reference** — "},{"id":"c3","door":"docs","title":"1. Install the CLI","url":"/docs#1-install-the-cli","text":"The CLI is currently local-only (not published to npm). Run:\n\n```\ncd /path/to/P31-local-workspace/cli\nnpm install\nnode index.js\n```\n\nThe package is `@p31/andromeda-cli`; the in-TUI name is **P31 Oasis CLI**.\n\n> **Note:** The CLI *requires* an interactive TTY. If you run it without a TTY, only `--version` and `--help` work.","keywords":"1. Install the CLI The CLI is currently local-only (not published to npm). Run:\n\n```\ncd /path/to/P31-local-workspace/cli\nnpm install\nnode index.js\n```\n\nThe package is `@p31/andromeda-cli`; the in-TUI name is **P31 Oasis CLI**.\n\n> **Note:** The CLI *requires* an interactive TTY. If you run it without a TTY, only `--ver"},{"id":"c4","door":"docs","title":"2. Run the TUI","url":"/docs#2-run-the-tui","text":"In a terminal with a TTY, start the interactive interface:\n\n```\nnode index.js\n```\n\nYou'll see a blessed-based dashboard with a LOG pane, a SANDBOX shell, and a command palette.","keywords":"2. Run the TUI In a terminal with a TTY, start the interactive interface:\n\n```\nnode index.js\n```\n\nYou'll see a blessed-based dashboard with a LOG pane, a SANDBOX shell, and a command palette."},{"id":"c5","door":"docs","title":"3. Try PHOS","url":"/docs#3-try-phos","text":"PHOS is a spoon-aware cognitive-assistant PWA. Visit:\n\n**https://phos.p31ca.org**\n\nNo install required — runs in your browser with local LLM (WebLLM) + edge fallback.","keywords":"3. Try PHOS PHOS is a spoon-aware cognitive-assistant PWA. Visit:\n\n**https://phos.p31ca.org**\n\nNo install required — runs in your browser with local LLM (WebLLM) + edge fallback."},{"id":"c6","door":"docs","title":"Next Steps","url":"/docs#next-steps","text":"- **CLI Reference** — Real slash-commands and themes\n- **PHOS** — Surfaces, voice, crisis mode\n\n---\n\n# Design Principles\n\nDark-first, glassmorphic, spoon-aware — built for neurodivergent users.","keywords":"Next Steps - **CLI Reference** — Real slash-commands and themes\n- **PHOS** — Surfaces, voice, crisis mode\n\n---\n\n# Design Principles\n\nDark-first, glassmorphic, spoon-aware — built for neurodivergent users."},{"id":"c7","door":"docs","title":"Dark-First","url":"/docs#dark-first","text":"Background `#0A0A0F` (p31ca) or `#030305` (phosphorus31). Warm white text `#F5F5F7` for reduced eye strain.","keywords":"Dark-First Background `#0A0A0F` (p31ca) or `#030305` (phosphorus31). Warm white text `#F5F5F7` for reduced eye strain."},{"id":"c8","door":"docs","title":"Glassmorphism","url":"/docs#glassmorphism","text":"24px border-radius, backdrop-blur(12px), semi-transparent borders, 8px/32px box-shadow. Hover lift on interactive panels.","keywords":"Glassmorphism 24px border-radius, backdrop-blur(12px), semi-transparent borders, 8px/32px box-shadow. Hover lift on interactive panels."},{"id":"c9","door":"docs","title":"Typography","url":"/docs#typography","text":"**Inter** for UI text (good readability at small sizes, open-source). **JetBrains Mono** for code and CLI output.","keywords":"Typography **Inter** for UI text (good readability at small sizes, open-source). **JetBrains Mono** for code and CLI output."},{"id":"c10","door":"docs","title":"Spoon-Aware","url":"/docs#spoon-aware","text":"All motion and animation intensity is controlled by the spoon meter (0–5). Users choose their cognitive load level. See the spoon guide for full details.","keywords":"Spoon-Aware All motion and animation intensity is controlled by the spoon meter (0–5). Users choose their cognitive load level. See the spoon guide for full details."},{"id":"c11","door":"docs","title":"Design Token System","url":"/docs#design-token-system","text":"Design tokens are defined via `:root` CSS custom properties in `global.css`, mapped to Tailwind v4 `@theme` directives. Available as utility classes and component primitives.\n\n> **Note:** The design system package (`@p31/design-system`) emits tokens and themes, but Tailwind v4 `@import` from workspace packages may be silently dropped during build. Inline `:root` declarations in `global.css` serve as the production fallback.\n\n---\n\n# Accessibility\n\nP31 targets WCAG 2.2 Level AAA as a baseline.","keywords":"Design Token System Design tokens are defined via `:root` CSS custom properties in `global.css`, mapped to Tailwind v4 `@theme` directives. Available as utility classes and component primitives.\n\n> **Note:** The design system package (`@p31/design-system`) emits tokens and themes, but Tailwind v4 `@import` from workspa"},{"id":"c12","door":"docs","title":"Standards","url":"/docs#standards","text":"- WCAG 2.2 Level AAA — all surfaces audited with axe-core\n- Contrast ratio ≥7:1 for body text, ≥4.5:1 for large text\n- Touch targets ≥48×48px (WCAG 2.5.8 Enhanced)\n- Focus indicators: 2px solid `var(--phos-primary)` with 2px offset\n- Reduced motion: `prefers-reduced-motion` disables all animations\n- Reduced transparency: `prefers-reduced-transparency` disables backdrop-filter","keywords":"Standards - WCAG 2.2 Level AAA — all surfaces audited with axe-core\n- Contrast ratio ≥7:1 for body text, ≥4.5:1 for large text\n- Touch targets ≥48×48px (WCAG 2.5.8 Enhanced)\n- Focus indicators: 2px solid `var(--phos-primary)` with 2px offset\n- Reduced motion: `prefers-reduced-motion` disables all animations\n-"},{"id":"c13","door":"docs","title":"Screen Reader Support","url":"/docs#screen-reader-support","text":"- All icon buttons have descriptive `aria-label`\n- All SVGs have `aria-hidden=\"true\"`\n- Navigation uses `role=\"navigation\"` + `aria-label`\n- Chat messages use `aria-live=\"polite\"`\n- Skip navigation link at top of every page","keywords":"Screen Reader Support - All icon buttons have descriptive `aria-label`\n- All SVGs have `aria-hidden=\"true\"`\n- Navigation uses `role=\"navigation\"` + `aria-label`\n- Chat messages use `aria-live=\"polite\"`\n- Skip navigation link at top of every page"},{"id":"c14","door":"docs","title":"Spoon-Driven Accessibility","url":"/docs#spoon-driven-accessibility","text":"Accessibility is not a static setting — it scales with spoon level. At Crisis (0), all motion is disabled, the interface is reduced to a breathing exercise. At Low (1), ambient effects are turned off and layouts simplify. At higher levels, more functionality becomes available.\n\nAutomated audit: `node scripts/audit-wcag.mjs` — 0 violations expected.\n\n---\n\n# Spoon Theory in P31\n\nEnergy-aware design for neurodivergent users.","keywords":"Spoon-Driven Accessibility Accessibility is not a static setting — it scales with spoon level. At Crisis (0), all motion is disabled, the interface is reduced to a breathing exercise. At Low (1), ambient effects are turned off and layouts simplify. At higher levels, more functionality becomes available.\n\nAutomated audit: `nod"},{"id":"c15","door":"docs","title":"What Are Spoons?","url":"/docs#what-are-spoons","text":"Spoon theory is a metaphor for the finite daily energy available to people with chronic illness or neurodivergence. In P31, spoons are a first-class UI primitive — every surface, animation, and interaction is scaled to the user's current energy level.","keywords":"What Are Spoons? Spoon theory is a metaphor for the finite daily energy available to people with chronic illness or neurodivergence. In P31, spoons are a first-class UI primitive — every surface, animation, and interaction is scaled to the user's current energy level."},{"id":"c16","door":"docs","title":"The 0–5 Scale","url":"/docs#the-0-5-scale","text":"| Level | Label    | Behavior |\n|-------|----------|----------|\n| 0     | Crisis   | Full CrisisMode overlay. Breathing exercise. No UI chrome. All motion disabled. |\n| 1     | Low      | Minimal UI. No ambient animations. Single-column layout. Reduced interaction targets. |\n| 2     | Reduced  | Simple layout. Few animations. Larger touch targets. Longer response timeouts. |\n| 3     | Bridge   | Default state. Balanced UI with ambient effects. Normal interaction speed. |\n| 4     | Focused  | Full UI. Ambient animations active. Split-pane layouts available. |\n| 5     | Quantum  | Maximum UI. All animations. Multi-pane. Voice input ready. Full mesh features. |","keywords":"The 0–5 Scale | Level | Label    | Behavior |\n|-------|----------|----------|\n| 0     | Crisis   | Full CrisisMode overlay. Breathing exercise. No UI chrome. All motion disabled. |\n| 1     | Low      | Minimal UI. No ambient animations. Single-column layout. Reduced interaction targets. |\n| 2     | Reduced  | Sim"},{"id":"c17","door":"docs","title":"Implementation","url":"/docs#implementation","text":"Spoons state is stored as a persistent nanostore atom under the key `phos:spoons`. It drives CSS via the `data-spoons` attribute on the root element. All components respond to this attribute to scale complexity, animation, and cognitive load.\n\nSee: `src/store/spoons.ts` · `src/styles/spacing.css` · `src/styles/motion.css`\n\n---\n\n# Contributing to P31\n\nFork, build, test, and submit pull requests to P31 repositories.","keywords":"Implementation Spoons state is stored as a persistent nanostore atom under the key `phos:spoons`. It drives CSS via the `data-spoons` attribute on the root element. All components respond to this attribute to scale complexity, animation, and cognitive load.\n\nSee: `src/store/spoons.ts` · `src/styles/spacing.css` · "},{"id":"c18","door":"docs","title":"1. Fork the Repository","url":"/docs#1-fork-the-repository","text":"Fork the monorepo on GitHub:\n\n```\ngit clone https://github.com/p31labs/P31-local-workspace.git\ncd P31-local-workspace\n```","keywords":"1. Fork the Repository Fork the monorepo on GitHub:\n\n```\ngit clone https://github.com/p31labs/P31-local-workspace.git\ncd P31-local-workspace\n```"},{"id":"c19","door":"docs","title":"2. Install Dependencies","url":"/docs#2-install-dependencies","text":"Install dependencies at the root:\n\n```\npnpm install\n```\n\nUses pnpm (v10.32.1). The root package.json manages the monorepo.","keywords":"2. Install Dependencies Install dependencies at the root:\n\n```\npnpm install\n```\n\nUses pnpm (v10.32.1). The root package.json manages the monorepo."},{"id":"c20","door":"docs","title":"3. Create a Branch","url":"/docs#3-create-a-branch","text":"```\ngit checkout -b feat/your-feature-name\n```","keywords":"3. Create a Branch ```\ngit checkout -b feat/your-feature-name\n```"},{"id":"c21","door":"docs","title":"4. Make Changes","url":"/docs#4-make-changes","text":"Run tests and lint:\n\n```\npnpm run test        # vitest + turbo\npnpm run lint        # eslint\n```\n\nGit hooks are configured via `git config core.hooksPath .githooks`.","keywords":"4. Make Changes Run tests and lint:\n\n```\npnpm run test        # vitest + turbo\npnpm run lint        # eslint\n```\n\nGit hooks are configured via `git config core.hooksPath .githooks`."},{"id":"c22","door":"docs","title":"5. Run Quality Gate","url":"/docs#5-run-quality-gate","text":"Run the deploy-readiness checks:\n\n```\npnpm run quality\n```\n\nThis validates ground-truth data, worker SPA launch, style alignment, and fleet entity verification.","keywords":"5. Run Quality Gate Run the deploy-readiness checks:\n\n```\npnpm run quality\n```\n\nThis validates ground-truth data, worker SPA launch, style alignment, and fleet entity verification."},{"id":"c23","door":"docs","title":"6. Submit a Pull Request","url":"/docs#6-submit-a-pull-request","text":"Push and open a PR:\n\n```\ngit push origin feat/your-feature-name\n```\n\nBranch protection requires: 1 approval, green CI checks. All contributions are MIT License.\n\n---\n\n# Development Environment Setup\n\nGet your local environment ready for P31 development.","keywords":"6. Submit a Pull Request Push and open a PR:\n\n```\ngit push origin feat/your-feature-name\n```\n\nBranch protection requires: 1 approval, green CI checks. All contributions are MIT License.\n\n---\n\n# Development Environment Setup\n\nGet your local environment ready for P31 development."},{"id":"c24","door":"docs","title":"Prerequisites","url":"/docs#prerequisites","text":"- **Node.js** ≥ 20.0.0 (root engine requirement)\n- **pnpm** v10.32.1 (package manager)\n- **Wrangler** (Cloudflare CLI) — for worker/Pages deploys\n- **Git** with hook paths configured\n\n```\npnpm install\n```","keywords":"Prerequisites - **Node.js** ≥ 20.0.0 (root engine requirement)\n- **pnpm** v10.32.1 (package manager)\n- **Wrangler** (Cloudflare CLI) — for worker/Pages deploys\n- **Git** with hook paths configured\n\n```\npnpm install\n```"},{"id":"c25","door":"docs","title":"Git Hooks","url":"/docs#git-hooks","text":"Set git hooks path to the monorepo's custom hooks:\n\n```\npnpm run git:hooks\n```\n\nEquivalent to: `git config core.hooksPath .githooks`","keywords":"Git Hooks Set git hooks path to the monorepo's custom hooks:\n\n```\npnpm run git:hooks\n```\n\nEquivalent to: `git config core.hooksPath .githooks`"},{"id":"c26","door":"docs","title":"Running an App Locally","url":"/docs#running-an-app-locally","text":"**p31ca.org (docs/dev platform)**\n\n```\ncd apps/p31ca\nbash node_modules/.bin/astro dev\n```\n\n**PHOS (cognitive assistant)**\n\n```\ncd apps/phos\nnpm run dev\n```\n\n**Gateway (API proxy)**\n\n```\ncd apps/gateway\nnpx wrangler dev\n```\n\n---\n\n# API Reference\n\nREST endpoints at gateway.p31ca.org. No GraphQL support.","keywords":"Running an App Locally **p31ca.org (docs/dev platform)**\n\n```\ncd apps/p31ca\nbash node_modules/.bin/astro dev\n```\n\n**PHOS (cognitive assistant)**\n\n```\ncd apps/phos\nnpm run dev\n```\n\n**Gateway (API proxy)**\n\n```\ncd apps/gateway\nnpx wrangler dev\n```\n\n---\n\n# API Reference\n\nREST endpoints at gateway.p31ca.org. No GraphQL suppor"},{"id":"c27","door":"docs","title":"Base URL","url":"/docs#base-url","text":"`https://gateway.p31ca.org`\n\nAll endpoints return JSON. CORS restricted to 5 allowed origins.","keywords":"Base URL `https://gateway.p31ca.org`\n\nAll endpoints return JSON. CORS restricted to 5 allowed origins."},{"id":"c28","door":"docs","title":"Sections","url":"/docs#sections","text":"- **REST Endpoints** — 11 routes including health, chat, transcribe, jitterbug, mesh, and genesis.\n- **Auth API** — DID:key login, session verification, logout, and user profile.","keywords":"Sections - **REST Endpoints** — 11 routes including health, chat, transcribe, jitterbug, mesh, and genesis.\n- **Auth API** — DID:key login, session verification, logout, and user profile."},{"id":"c29","door":"docs","title":"Auth Requirements","url":"/docs#auth-requirements","text":"Most endpoints are public. Only `/api/*` write methods require `Authorization: Bearer <JWT>`. See the security docs for the full auth model.\n\n---\n\n# REST Endpoints\n\nAll routes exposed by the gateway at `https://gateway.p31ca.org`.","keywords":"Auth Requirements Most endpoints are public. Only `/api/*` write methods require `Authorization: Bearer <JWT>`. See the security docs for the full auth model.\n\n---\n\n# REST Endpoints\n\nAll routes exposed by the gateway at `https://gateway.p31ca.org`."},{"id":"c30","door":"docs","title":"Routes","url":"/docs#routes","text":"| Method | Path | Upstream | Auth |\n|--------|------|----------|------|\n| GET | /api/health | none (returns ok, service) | No |\n| POST | /api/chat | p31-llm-proxy | Bearer JWT |\n| POST | /v1/chat/completions | p31-llm-proxy (OpenAI-compatible) | Bearer JWT |\n| POST | /ai/chat | p31-llm-proxy | Bearer JWT |\n| POST | /transcribe | p31-llm-proxy (Whisper) | Bearer JWT |\n| POST | /jitterbug/brain-dump | jitterbug-api | No |\n| GET | /jitterbug/brain-dump/:id/stream | jitterbug-api (SSE) | No |\n| GET | /jitterbug/brain-dump/:id | jitterbug-api | No |\n| GET | /api/brain | jitterbug-api (rewrite to /) | No (GET) |\n| GET | /api/mesh/* | k4-cage (prefix stripped) | No (GET) |\n| GET | /api/genesis | genesis-spark (rewrite to /) | No (GET) |","keywords":"Routes | Method | Path | Upstream | Auth |\n|--------|------|----------|------|\n| GET | /api/health | none (returns ok, service) | No |\n| POST | /api/chat | p31-llm-proxy | Bearer JWT |\n| POST | /v1/chat/completions | p31-llm-proxy (OpenAI-compatible) | Bearer JWT |\n| POST | /ai/chat | p31-llm-proxy | Beare"},{"id":"c31","door":"docs","title":"Examples","url":"/docs#examples","text":"**GET /api/health**\n\n```json\n{\n  \"ok\": true,\n  \"service\": \"p31-gateway\"\n}\n```\n\n**POST /ai/chat**\n\n```bash\ncurl -X POST https://gateway.p31ca.org/ai/chat \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"deepseek-chat\",\n    \"messages\": [{ \"role\": \"user\", \"content\": \"Hello\" }],\n    \"stream\": false\n  }'\n```\n\n---\n\n# Auth API (p31-auth)\n\nDID:key Ed25519 authentication endpoints.","keywords":"Examples **GET /api/health**\n\n```json\n{\n  \"ok\": true,\n  \"service\": \"p31-gateway\"\n}\n```\n\n**POST /ai/chat**\n\n```bash\ncurl -X POST https://gateway.p31ca.org/ai/chat \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"model\": \"deepseek-chat\",\n    \"messages\": [{ \"role\": \"user\", \"content\": \"Hello\" }],\n    \"stre"},{"id":"c32","door":"docs","title":"Endpoints","url":"/docs#endpoints","text":"| Method | Path | Purpose |\n|--------|------|---------|\n| GET | /auth/health | Health check |\n| POST | /auth/did-login | DID:key + Ed25519 login, returns JWT |\n| POST | /auth/session/verify | Verify JWT + check D1 session |\n| POST | /auth/logout | Delete session from D1 |\n| GET | /auth/user | Current user profile |","keywords":"Endpoints | Method | Path | Purpose |\n|--------|------|---------|\n| GET | /auth/health | Health check |\n| POST | /auth/did-login | DID:key + Ed25519 login, returns JWT |\n| POST | /auth/session/verify | Verify JWT + check D1 session |\n| POST | /auth/logout | Delete session from D1 |\n| GET | /auth/user | Curren"},{"id":"c33","door":"docs","title":"Login Flow","url":"/docs#login-flow","text":"**Step 1:** Generate Ed25519 keypair locally (lib keypair + DID derivation)\n\n**Step 2:** Sign a challenge message with private key\n\n**Step 3:** POST to /auth/did-login:\n\n```json\n{\n  \"did\": \"did:key:z...\",\n  \"signature\": \"...\",\n  \"message\": \"Sign this message to log in to P31\",\n  \"email\": \"user@example.com\"\n}\n```\n\n**Step 4:** Receive JWT (HS256, 30-day expiry):\n\n```json\n{\n  \"token\": \"eyJ...\",\n  \"did\": \"did:key:z...\",\n  \"displayName\": \"User\",\n  \"email\": \"user@example.com\"\n}\n```","keywords":"Login Flow **Step 1:** Generate Ed25519 keypair locally (lib keypair + DID derivation)\n\n**Step 2:** Sign a challenge message with private key\n\n**Step 3:** POST to /auth/did-login:\n\n```json\n{\n  \"did\": \"did:key:z...\",\n  \"signature\": \"...\",\n  \"message\": \"Sign this message to log in to P31\",\n  \"email\": \"user@examp"},{"id":"c34","door":"docs","title":"Storing the Token","url":"/docs#storing-the-token","text":"The JWT is stored in `sessionStorage` under `p31-auth-token` (not localStorage). The identity keypair is persisted in localStorage and survives page reloads.\n\n> **Note:** Some documentation references localStorage key `p31-auth` — the current implementation uses **sessionStorage** key **p31-auth-token**. Verify which applies before relying on the token location.","keywords":"Storing the Token The JWT is stored in `sessionStorage` under `p31-auth-token` (not localStorage). The identity keypair is persisted in localStorage and survives page reloads.\n\n> **Note:** Some documentation references localStorage key `p31-auth` — the current implementation uses **sessionStorage** key **p31-auth-tok"},{"id":"c35","door":"docs","title":"Session Verification","url":"/docs#session-verification","text":"POST to `/auth/session/verify` with `Authorization: Bearer <JWT>`. Returns `{ valid: true, did, email, displayName, session, profile }`. The gateway uses this to verify /api/* write requests.\n\n---\n\n# P31 Architecture\n\nCloudflare Workers + Pages ecosystem with edge compute, relational storage, and sovereign identity.","keywords":"Session Verification POST to `/auth/session/verify` with `Authorization: Bearer <JWT>`. Returns `{ valid: true, did, email, displayName, session, profile }`. The gateway uses this to verify /api/* write requests.\n\n---\n\n# P31 Architecture\n\nCloudflare Workers + Pages ecosystem with edge compute, relational storage, and so"},{"id":"c36","door":"docs","title":"System Overview","url":"/docs#system-overview","text":"**Gateway**\n\nHono REST proxy at gateway.p31ca.org. Routes to upstream services, enforces rate limits (100 req/min/IP, in-memory per-isolate), CORS (5 allowed origins), and optional Bearer-JWT auth for /api/* writes. **Note:** /ai/chat, /v1/chat/completions, and /transcribe are currently public.\n\n**Upstreams**\n\np31-llm-proxy (DeepSeek/OpenRouter/OpenAI), jitterbug-api, k4-cage, genesis-spark, p31-auth. command_center and p31_signaling bindings are declared but unused.\n\n**Auth**\n\nDID:key Ed25519 identity generation. Login via /auth/did-login returns JWT (HS256, 30-day expiry). Stored in sessionStorage (key p31-auth-token). Gateway /api/* writes require Bearer token.\n\n**Storage**\n\nD1 (6 databases: status, auth, cortex, love-ledger, k4-cage, sovereign-justice), KV, R2, Vectorize, Analytics Engine. PHOS uses local PGlite (SQLite in-browser) + Yjs CRDT.","keywords":"System Overview **Gateway**\n\nHono REST proxy at gateway.p31ca.org. Routes to upstream services, enforces rate limits (100 req/min/IP, in-memory per-isolate), CORS (5 allowed origins), and optional Bearer-JWT auth for /api/* writes. **Note:** /ai/chat, /v1/chat/completions, and /transcribe are currently public.\n\n**U"},{"id":"c37","door":"docs","title":"Observability","url":"/docs#observability","text":"Built-in `[observability]` in wrangler.toml, Axiom OTLP logs (dataset p31-workers), Sentry on phos/bonding/gateway/auth, Counterscale at analytics.p31ca.org, and status page at status.p31ca.org.\n\n---\n\n# Security Model\n\nSelf-sovereign identity with DID:key, JWT sessions, and gateway auth.","keywords":"Observability Built-in `[observability]` in wrangler.toml, Axiom OTLP logs (dataset p31-workers), Sentry on phos/bonding/gateway/auth, Counterscale at analytics.p31ca.org, and status page at status.p31ca.org.\n\n---\n\n# Security Model\n\nSelf-sovereign identity with DID:key, JWT sessions, and gateway auth."},{"id":"c38","door":"docs","title":"Authentication Flow","url":"/docs#authentication-flow","text":"**1. Identity Creation**\n\nClient generates Ed25519 keypair via `generateKeypair()` (packages/auth). Derives `did:key:z...` using multicodec 0xed01 + base58. Keypair persists in localStorage.\n\n**2. Login**\n\nClient signs a challenge message with the private key. POST to `/auth/did-login` with `{ did, signature, message }`. Worker verifies Ed25519 signature against DID's public key. On success, creates D1 session (30-day expiry) and issues JWT (HS256).\n\n**3. Session**\n\nJWT stored in **sessionStorage** under key `p31-auth-token` (not localStorage). Sent as `Authorization: Bearer <token>` on protected requests.","keywords":"Authentication Flow **1. Identity Creation**\n\nClient generates Ed25519 keypair via `generateKeypair()` (packages/auth). Derives `did:key:z...` using multicodec 0xed01 + base58. Keypair persists in localStorage.\n\n**2. Login**\n\nClient signs a challenge message with the private key. POST to `/auth/did-login` with `{ did, "},{"id":"c39","door":"docs","title":"Gateway Auth","url":"/docs#gateway-auth","text":"Only `/api/*` write methods (POST/PUT/DELETE/PATCH) require Bearer JWT. GET requests to `/api/*` are public. Endpoints `/ai/chat`, `/v1/chat/completions`, and `/transcribe` are currently outside the auth middleware and are public.","keywords":"Gateway Auth Only `/api/*` write methods (POST/PUT/DELETE/PATCH) require Bearer JWT. GET requests to `/api/*` are public. Endpoints `/ai/chat`, `/v1/chat/completions`, and `/transcribe` are currently outside the auth middleware and are public."},{"id":"c40","door":"docs","title":"CORS","url":"/docs#cors","text":"5 allowed origins: phos.p31ca.org, p31ca.org, willow.p31ca.org, bonding.p31ca.org, phosphorus31.org. Methods: GET, POST, OPTIONS. Headers: Content-Type, Authorization. No wildcard.","keywords":"CORS 5 allowed origins: phos.p31ca.org, p31ca.org, willow.p31ca.org, bonding.p31ca.org, phosphorus31.org. Methods: GET, POST, OPTIONS. Headers: Content-Type, Authorization. No wildcard."},{"id":"c41","door":"docs","title":"Rate Limiting","url":"/docs#rate-limiting","text":"100 requests per minute per IP. In-memory Map per isolate (not distributed). Keyed by CF-Connecting-IP. Best-effort only; multiple isolates do not share state.\n\n---\n\n# Technology Stack\n\nThe full P31 technology stack from edge to database.","keywords":"Rate Limiting 100 requests per minute per IP. In-memory Map per isolate (not distributed). Keyed by CF-Connecting-IP. Best-effort only; multiple isolates do not share state.\n\n---\n\n# Technology Stack\n\nThe full P31 technology stack from edge to database."},{"id":"c42","door":"docs","title":"Frontend Apps","url":"/docs#frontend-apps","text":"- **p31ca.org** — Astro 5 + Tailwind v4, static, developer platform\n- **phos.p31ca.org** — Astro 5 + React 19 + PGlite + Yjs, PWA, cognitive assistant\n- **phosphorus31.org** — Astro 5 + Tailwind v4, institutional site\n- **bonding.p31ca.org** — Vite + React 19 SPA\n- **willow.p31ca.org** — Vite + React 19 SPA","keywords":"Frontend Apps - **p31ca.org** — Astro 5 + Tailwind v4, static, developer platform\n- **phos.p31ca.org** — Astro 5 + React 19 + PGlite + Yjs, PWA, cognitive assistant\n- **phosphorus31.org** — Astro 5 + Tailwind v4, institutional site\n- **bonding.p31ca.org** — Vite + React 19 SPA\n- **willow.p31ca.org** — Vite + Reac"},{"id":"c43","door":"docs","title":"Backend Workers","url":"/docs#backend-workers","text":"- **gateway.p31ca.org** — Hono REST proxy (p31-api-gateway)\n- **p31-llm-proxy** — LLM routing (DeepSeek/OpenRouter/OpenAI)\n- **p31-auth** — DID:key + JWT authentication\n- **status.p31ca.org** — Status page worker\n- **jitterbug-api, k4-cage, genesis-spark** — Specialised service workers","keywords":"Backend Workers - **gateway.p31ca.org** — Hono REST proxy (p31-api-gateway)\n- **p31-llm-proxy** — LLM routing (DeepSeek/OpenRouter/OpenAI)\n- **p31-auth** — DID:key + JWT authentication\n- **status.p31ca.org** — Status page worker\n- **jitterbug-api, k4-cage, genesis-spark** — Specialised service workers"},{"id":"c44","door":"docs","title":"Data Layer","url":"/docs#data-layer","text":"- **D1** — 6 SQLite databases (status, auth, cortex, love-ledger, k4-cage, sovereign-justice)\n- **KV** — Key-value storage for sessions and config\n- **R2** — Object storage (counterscale daily rollups)\n- **Vectorize** — Vector embeddings for semantic search\n- **Analytics Engine** — Counterscale metrics dataset","keywords":"Data Layer - **D1** — 6 SQLite databases (status, auth, cortex, love-ledger, k4-cage, sovereign-justice)\n- **KV** — Key-value storage for sessions and config\n- **R2** — Object storage (counterscale daily rollups)\n- **Vectorize** — Vector embeddings for semantic search\n- **Analytics Engine** — Counterscale metr"},{"id":"c45","door":"docs","title":"Observability","url":"/docs#observability","text":"- **Axiom OTLP** — Log ingestion (dataset: p31-workers)\n- **Sentry** — Error tracking on phos, bonding, gateway, auth\n- **Counterscale** — Self-hosted analytics at analytics.p31ca.org\n- **status.p31ca.org** — Uptime monitoring","keywords":"Observability - **Axiom OTLP** — Log ingestion (dataset: p31-workers)\n- **Sentry** — Error tracking on phos, bonding, gateway, auth\n- **Counterscale** — Self-hosted analytics at analytics.p31ca.org\n- **status.p31ca.org** — Uptime monitoring"},{"id":"c46","door":"docs","title":"D1 Databases","url":"/docs#d1-databases","text":"6 of 10 Free Plan limit used: p31-status-db, p31-auth, p31-cortex, love-ledger, k4-cage-db, sovereign-justice-db.\n\n---\n\n# PHOS — Phosphorus Human Operating Surface\n\nA spoon-aware, single-user cognitive-assistant PWA.","keywords":"D1 Databases 6 of 10 Free Plan limit used: p31-status-db, p31-auth, p31-cortex, love-ledger, k4-cage-db, sovereign-justice-db.\n\n---\n\n# PHOS — Phosphorus Human Operating Surface\n\nA spoon-aware, single-user cognitive-assistant PWA."},{"id":"c47","door":"docs","title":"What is PHOS?","url":"/docs#what-is-phos","text":"PHOS is a web-based cognitive assistant built with Astro 5 + React 19 and deployed as a Cloudflare Pages PWA. It runs a local LLM (Llama-3.2-3B via WebLLM) in your browser with an edge fallback to DeepSeek/OpenRouter/OpenAI. Voice input uses local WASM Whisper with an edge Whisper fallback.\n\n> **Note:** The `/phos-cloud` page on this site is a static preview. The real app is at `phos.p31ca.org`.","keywords":"What is PHOS? PHOS is a web-based cognitive assistant built with Astro 5 + React 19 and deployed as a Cloudflare Pages PWA. It runs a local LLM (Llama-3.2-3B via WebLLM) in your browser with an edge fallback to DeepSeek/OpenRouter/OpenAI. Voice input uses local WASM Whisper with an edge Whisper fallback.\n\n> **Not"},{"id":"c48","door":"docs","title":"Features","url":"/docs#features","text":"**Spoon-Aware**\n\n0–5 spoon meter drives UI state. CrisisMode at 0 provides a breathing exercise. More stimulation at higher levels.\n\n**Dual LLM Engine**\n\nLocal Llama-3.2-3B via WebLLM (requires WebGPU) + edge fallback to DeepSeek/OpenRouter/OpenAI.\n\n**Voice Input**\n\nLocal WASM Whisper engine with automatic edge fallback when local initialisation fails.\n\n**25+ Surfaces**\n\nNavigable screens for chat, dashboard, brain dump, vault, ledger, governance, arcade, and more.\n\n---\n\n# Crisis Mode & Spoon-Aware Design\n\nPHOS uses a 0–5 spoon meter to adapt the interface to the user's cognitive energy level.","keywords":"Features **Spoon-Aware**\n\n0–5 spoon meter drives UI state. CrisisMode at 0 provides a breathing exercise. More stimulation at higher levels.\n\n**Dual LLM Engine**\n\nLocal Llama-3.2-3B via WebLLM (requires WebGPU) + edge fallback to DeepSeek/OpenRouter/OpenAI.\n\n**Voice Input**\n\nLocal WASM Whisper engine with au"},{"id":"c49","door":"docs","title":"Spoon Levels","url":"/docs#spoon-levels","text":"**0–1: Crisis / Minimal**\n\nAll motion disabled. CrisisMode breathing exercise shown. Static, predictable interface.\n\n**2–3: Reduced / Standard**\n\nSlowed animations. Gentle transitions. Baseline experience.\n\n**4–5: Enhanced / Maximum**\n\nFaster animations. Snappier transitions. More visual stimulation.","keywords":"Spoon Levels **0–1: Crisis / Minimal**\n\nAll motion disabled. CrisisMode breathing exercise shown. Static, predictable interface.\n\n**2–3: Reduced / Standard**\n\nSlowed animations. Gentle transitions. Baseline experience.\n\n**4–5: Enhanced / Maximum**\n\nFaster animations. Snappier transitions. More visual stimulation"},{"id":"c50","door":"docs","title":"CrisisMode Component","url":"/docs#crisismode-component","text":"When the spoon meter reaches 0, the entire workspace is replaced by a full-screen black overlay with a 4-phase breathing animation (Breathe in / Hold / Breathe out / Hold), each phase lasting 4 seconds. The Starfield background and PHOSOrb are both hidden, and the Magic Drawer returns null.\n\n> **Known UX gap:** Currently CrisisMode has no built-in exit control. Spoon settings live in the shell which is replaced. Users may need to reload or edit `localStorage['phos:spoons']` to return. A fix is in progress to add an \"I'm ready\" button + Escape keybinding.","keywords":"CrisisMode Component When the spoon meter reaches 0, the entire workspace is replaced by a full-screen black overlay with a 4-phase breathing animation (Breathe in / Hold / Breathe out / Hold), each phase lasting 4 seconds. The Starfield background and PHOSOrb are both hidden, and the Magic Drawer returns null.\n\n> **Kno"},{"id":"c51","door":"docs","title":"Design Context","url":"/docs#design-context","text":"\"Spoon theory\" describes the limited energy reserves of people with chronic conditions, ADHD, autism, and other neurodivergent experiences. PHOS's implementation lets users control sensory input dynamically — reducing motion during low energy, increasing stimulation when capacity allows.\n\n---\n\n# Voice Input\n\nPHOS supports voice input through a dual-engine design: local WASM Whisper with an automatic edge fallback.","keywords":"Design Context \"Spoon theory\" describes the limited energy reserves of people with chronic conditions, ADHD, autism, and other neurodivergent experiences. PHOS's implementation lets users control sensory input dynamically — reducing motion during low energy, increasing stimulation when capacity allows.\n\n---\n\n# Voi"},{"id":"c52","door":"docs","title":"Local WASM Whisper","url":"/docs#local-wasm-whisper","text":"Uses `@timur00kh/whisper.wasm` with the `base` model. Records via MediaRecorder (webm/opus), runs locally in the browser via `session.streaming()`. Tier: `local`.","keywords":"Local WASM Whisper Uses `@timur00kh/whisper.wasm` with the `base` model. Records via MediaRecorder (webm/opus), runs locally in the browser via `session.streaming()`. Tier: `local`."},{"id":"c53","door":"docs","title":"Edge Fallback","url":"/docs#edge-fallback","text":"If local WASM initialisation or recording fails, audio is POSTed to `gateway.p31ca.org/transcribe` which proxies to Workers AI `whisper-large-v3-turbo`. Tier: `edge`.","keywords":"Edge Fallback If local WASM initialisation or recording fails, audio is POSTed to `gateway.p31ca.org/transcribe` which proxies to Workers AI `whisper-large-v3-turbo`. Tier: `edge`."},{"id":"c54","door":"docs","title":"VoiceInputButton","url":"/docs#voiceinputbutton","text":"The mic button in the chat area detects whether local WASM is supported (`isSupported`). If unsupported, it shows a disabled state labelled \"Voice input unavailable\". Otherwise it shows \"Local WASM\" or \"Edge fallback\" label in the `aria-label`.\n\n---\n\n# PHOS Surfaces\n\nPHOS has ~25 navigable surfaces, accessible via the sidebar or Ctrl+P command palette.","keywords":"VoiceInputButton The mic button in the chat area detects whether local WASM is supported (`isSupported`). If unsupported, it shows a disabled state labelled \"Voice input unavailable\". Otherwise it shows \"Local WASM\" or \"Edge fallback\" label in the `aria-label`.\n\n---\n\n# PHOS Surfaces\n\nPHOS has ~25 navigable surfaces,"},{"id":"c55","door":"docs","title":"Surface Table","url":"/docs#surface-table","text":"| Surface ID | Route | Description |\n|------------|-------|-------------|\n| CHAT | / | Main conversation interface |\n| DASHBOARD | /dashboard | Overview and metrics |\n| QUANTUM_BRAIN_DUMP | /brain-dump | Thought capture and semantic search |\n| THE_BUFFER | /buffer | Chaos ingest / scratchpad |\n| VAULT | /vault | Retro vault for stored items |\n| LEDGER | /ledger | Love ledger / relationship tracking |\n| GOVERNANCE | /governance | Family governance tools |\n| PASSPORT | /passport | DID identity and profile |\n| SANCTUARY | /sanctuary | Grounding and regulation |\n| WAREHOUSE | /warehouse | Data warehouse / PGlite management |\n| ARCADE | /arcade | Games and interactive experiences |\n| ARCHIVE | /archive | Historical data and logs |\n\nPlus surfaces for Feedback, Settings, Ignition, Bonding, Compass, Node Zero, Dispute, Attest, Hearth, Barter Marketplace, Quantum Brain Dump, Grid, and more.","keywords":"Surface Table | Surface ID | Route | Description |\n|------------|-------|-------------|\n| CHAT | / | Main conversation interface |\n| DASHBOARD | /dashboard | Overview and metrics |\n| QUANTUM_BRAIN_DUMP | /brain-dump | Thought capture and semantic search |\n| THE_BUFFER | /buffer | Chaos ingest / scratchpad |\n| VAU"},{"id":"c56","door":"docs","title":"Navigation","url":"/docs#navigation","text":"Surfaces are navigated via the left sidebar (`PHOSSidebar`) or the Ctrl+P command palette (`CommandPalette`). URLs are kept in sync with the current surface via `react-router-dom`.\n\n---\n\n# P31 Oasis CLI\n\nThe interactive terrain user interface for the P31 ecosystem.","keywords":"Navigation Surfaces are navigated via the left sidebar (`PHOSSidebar`) or the Ctrl+P command palette (`CommandPalette`). URLs are kept in sync with the current surface via `react-router-dom`.\n\n---\n\n# P31 Oasis CLI\n\nThe interactive terrain user interface for the P31 ecosystem."},{"id":"c57","door":"docs","title":"Overview","url":"/docs#overview","text":"The CLI is a local-only, blessed + node-pty interactive TUI branded **P31 Oasis CLI**. It provides a dashboard with LOG, SANDBOX, META, and TODOS panes. The package is `@p31/andromeda-cli` with binary `andromeda`.\n\n**Important:** A TTY is required. Without one, only `--version` and `--help` work.","keywords":"Overview The CLI is a local-only, blessed + node-pty interactive TUI branded **P31 Oasis CLI**. It provides a dashboard with LOG, SANDBOX, META, and TODOS panes. The package is `@p31/andromeda-cli` with binary `andromeda`.\n\n**Important:** A TTY is required. Without one, only `--version` and `--help` work."},{"id":"c58","door":"docs","title":"Installation","url":"/docs#installation","text":"Not yet published to npm. Run locally:\n\n```\ncd /path/to/P31-local-workspace/cli\nnpm install\nnode index.js\n```","keywords":"Installation Not yet published to npm. Run locally:\n\n```\ncd /path/to/P31-local-workspace/cli\nnpm install\nnode index.js\n```"},{"id":"c59","door":"docs","title":"Flags","url":"/docs#flags","text":"| Flag | Output |\n|------|--------|\n| --version, -v | @p31/andromeda-cli v1.0.0 |\n| --help, -h | Usage: andromeda \\| andromeda --help \\| andromeda --version |\n\nThese only respond in a non-TTY environment. In a TTY the TUI launches immediately.","keywords":"Flags | Flag | Output |\n|------|--------|\n| --version, -v | @p31/andromeda-cli v1.0.0 |\n| --help, -h | Usage: andromeda \\| andromeda --help \\| andromeda --version |\n\nThese only respond in a non-TTY environment. In a TTY the TUI launches immediately."},{"id":"c60","door":"docs","title":"Slash-Commands & Themes","url":"/docs#slash-commands-themes","text":"All interactive commands use the `/` prefix.\n\n---\n\n# CLI Slash-Commands\n\nAll interactive commands available inside the P31 Oasis CLI TUI.","keywords":"Slash-Commands & Themes All interactive commands use the `/` prefix.\n\n---\n\n# CLI Slash-Commands\n\nAll interactive commands available inside the P31 Oasis CLI TUI."},{"id":"c61","door":"docs","title":"Commands","url":"/docs#commands","text":"| Command | Behavior | Example |\n|---------|----------|---------|\n| /exit | Save session and exit | `/exit` |\n| /clear | Clear the LOG pane | `/clear` |\n| /sandbox clear | Clear the SANDBOX pane | `/sandbox clear` |\n| /export log | Write LOG to p31-oasis-log-<timestamp>.txt | `/export log` |\n| /save | Save session to ~/.p31/cli-session.json | `/save` |\n| /notify test | Show test notifications | `/notify test` |\n| /help | Display help box with command list | `/help` |\n| /theme <name> | Switch theme (cyberpunk, nord, dracula, catppuccin, warm) | `/theme dracula` |\n| /mode <name> | Set mode (build/plan/review/debug) | `/mode review` |","keywords":"Commands | Command | Behavior | Example |\n|---------|----------|---------|\n| /exit | Save session and exit | `/exit` |\n| /clear | Clear the LOG pane | `/clear` |\n| /sandbox clear | Clear the SANDBOX pane | `/sandbox clear` |\n| /export log | Write LOG to p31-oasis-log-<timestamp>.txt | `/export log` |\n| /save"},{"id":"c62","door":"docs","title":"Keyboard Shortcuts","url":"/docs#keyboard-shortcuts","text":"| Key | Action |\n|-----|--------|\n| Tab / S-Tab | Cycle focus between panes |\n| Ctrl+P | Open command palette |\n| Ctrl+T | Cycle themes |\n| Ctrl+L | Clear LOG |\n| Ctrl+S | Save session |\n| Esc / Ctrl+C | Save and exit |\n\nAny text not starting with `/` is sent directly to the SANDBOX shell (your default `$SHELL`).\n\n---\n\n# CLI Themes\n\nFive built-in themes for the P31 Oasis CLI TUI.","keywords":"Keyboard Shortcuts | Key | Action |\n|-----|--------|\n| Tab / S-Tab | Cycle focus between panes |\n| Ctrl+P | Open command palette |\n| Ctrl+T | Cycle themes |\n| Ctrl+L | Clear LOG |\n| Ctrl+S | Save session |\n| Esc / Ctrl+C | Save and exit |\n\nAny text not starting with `/` is sent directly to the SANDBOX shell (your defa"},{"id":"c63","door":"docs","title":"Theme List","url":"/docs#theme-list","text":"| Name | Display Name | Default? |\n|------|-------------|----------|\n| warm | P31 Precision | Yes (default) |\n| cyberpunk | Cyberpunk | |\n| nord | Nord | |\n| dracula | Dracula | |\n| catppuccin | Catppuccin | |","keywords":"Theme List | Name | Display Name | Default? |\n|------|-------------|----------|\n| warm | P31 Precision | Yes (default) |\n| cyberpunk | Cyberpunk | |\n| nord | Nord | |\n| dracula | Dracula | |\n| catppuccin | Catppuccin | |"},{"id":"c64","door":"docs","title":"Switching Themes","url":"/docs#switching-themes","text":"- **Slash command:** `/theme <name>`\n- **Keybinding:** `Ctrl+T` — cycles through themes in order\n- **Palette:** Open with `Ctrl+P` and select a theme entry\n\nThe selected theme persists in `~/.p31/cli-session.json`.\n\n---\n\n# Documentation (Legacy)\n\nAlternate documentation index page.","keywords":"Switching Themes - **Slash command:** `/theme <name>`\n- **Keybinding:** `Ctrl+T` — cycles through themes in order\n- **Palette:** Open with `Ctrl+P` and select a theme entry\n\nThe selected theme persists in `~/.p31/cli-session.json`.\n\n---\n\n# Documentation (Legacy)\n\nAlternate documentation index page."},{"id":"c65","door":"docs","title":"Sections","url":"/docs#sections","text":"- **Architecture** — Understand the P31 stack — from edge to database.\n- **API Reference** — REST and GraphQL endpoints for your own integrations.\n- **Contributing** — How to fork, build, and submit PRs to P31 repos.\n- **Spoon-Aware Design** — Learn how motion scaling works for neurodivergent users.\n\n---","keywords":"Sections - **Architecture** — Understand the P31 stack — from edge to database.\n- **API Reference** — REST and GraphQL endpoints for your own integrations.\n- **Contributing** — How to fork, build, and submit PRs to P31 repos.\n- **Spoon-Aware Design** — Learn how motion scaling works for neurodivergent users."},{"id":"c66","door":"alchemy","title":"Neuro-Cognition Alchemy — Theoretical Research Framework","url":"/alchemy-about.html","text":"Bridges the epistemic gap between neurobiological reality and sociological interaction Neuro-Cognition Alchemy — Theoretical Research Framework | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Neuro-Cognition Alchemy PUBLISHED · Product 📐 Neuro-Cognition Alchemy Theoretical Research Framework PUBLISHED research Thermodynamics Periodic Table Mapping K₄ Graph Theory Launch Neuro-Cognition Alchemy Back to Hub What it is Bridges the epistemic gap between neurobiological reality and sociological interaction. Theoretical Research Framework is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. The interactive periodic table is pure SVG with CSS hover states. The framework paper (Papers I–IV) is published with DOIs at Zenodo under ORCID 0009-0002-2492-9079. Core features Bridges the epistemic gap between neurobiological reality and sociological interaction Chemical thermodynamics as a formal framework for cognitive state transitions Tetrahedral geometry (K₄) models the 4-dimensional cognitive field Periodic table mapping: elements as cognitive archetypes in a structured ontology Published on Zenodo — DOI and full citation on the detail page How to use 1 Read the framework overview — it maps chemical concepts to cognitive states 2 Interactive periodic table: hover an element to see its cognitive archetype mapping 3 Download the full paper from Zenodo via the DOI link at the bottom Architecture The interactive periodic table is pure SVG with CSS hover states. The framework paper (Papers I–IV) is published with DOIs at Zenodo under ORCID 0009-0002-2492-9079. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Neuro-Cognition Alchemy Back to Hub P31 Labs · Neuro-Cognition Alchemy Hub Neuro-Cognition Alchemy Support GitHub Status PUBLISHED Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Thermodynamics Periodic Table Mapping K₄ Graph Theory Zenodo D","keywords":"alchemy Neuro-Cognition Alchemy — Theoretical Research Framework Bridges the epistemic gap between neurobiological reality and sociological interaction"},{"id":"c67","door":"arcade-cards","title":"Card Table — Strategic card game collection","url":"/arcade-cards-about.html","text":"Collection of strategic card games with probability-based decision making Card Table — Strategic card game collection | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Card Table LIVE · Product 🃏 Card Table Strategic card game collection LIVE arcade React 18 Game Theory Probability Engine Launch Card Table Back to Hub What it is Collection of strategic card games with probability-based decision making. Strategic card game collection is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Game theory optimal play suggestions. Monte Carlo simulation for probability estimation. Card counting tracking for skill-based games. Core features Collection of strategic card games with probability-based decision making Poker, Blackjack, and original P31 card variants Deck analysis tools showing odds and expected values Tournament mode with bracket tracking Spoon-adaptive — simpler games suggested at low energy How to use 1 Choose a game from the card table menu 2 Review probability hints if enabled in settings 3 Track your win/loss record and bankroll over time Architecture Game theory optimal play suggestions. Monte Carlo simulation for probability estimation. Card counting tracking for skill-based games. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Card Table Back to Hub P31 Labs · Card Table Hub Card Table Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack React 18 Game Theory Probability Engine CF Pages Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 P31 Arcade ♟️ Strategy Board ⚾ Smallball Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh, hubs, and money follow the same published contracts (ethical monetization).","keywords":"arcade-cards Card Table — Strategic card game collection Collection of strategic card games with probability-based decision making"},{"id":"c68","door":"arcade-gridiron","title":"Gridiron — Strategic football with energy management","url":"/arcade-gridiron-about.html","text":"Strategic American football with spoon-based play calling system Gridiron — Strategic football with energy management | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Gridiron LIVE · Product 🏈 Gridiron Strategic football with energy management LIVE arcade React 18 PGLite Spoon Shell Launch Gridiron Back to Hub What it is Strategic American football with spoon-based play calling system. Strategic football with energy management is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Uses shared Spoon Shell component library for energy-aware UX. PGLite provides local SQL database. Deterministic RNG enables replay of any game state. Core features Strategic American football with spoon-based play calling system Franchise persistence via PGLite — seasons, stats, and achievements stored locally Energy-aware UI — Spoon Shell adapts interface to cognitive load Probability-driven outcomes with deterministic replay capability Tactical depth with formation selection, playbooks, and in-game adjustments How to use 1 Set your spoon level — determines available play complexity and decision time 2 Create your franchise and build your team roster 3 Call plays using the spoon-adaptive interface — simpler at low energy, full depth at high energy Architecture Uses shared Spoon Shell component library for energy-aware UX. PGLite provides local SQL database. Deterministic RNG enables replay of any game state. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Gridiron Back to Hub P31 Labs · Gridiron Hub Gridiron Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack React 18 PGLite Spoon Shell CF Pages TypeScript Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 P31 Arcade ⚾ Smallball ♟️ Strategy Board Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidi","keywords":"arcade-gridiron Gridiron — Strategic football with energy management Strategic American football with spoon-based play calling system"},{"id":"c69","door":"arcade-hub","title":"P31 Arcade — Four physics games at 10000%","url":"/arcade-hub-about.html","text":"Central hub for five physics-based arcade games: Smallball, Gridiron, Strategy, Cards, Liquid Sculptor P31 Arcade — Four physics games at 10000% | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; P31 Arcade LIVE · Product 🎮 P31 Arcade Four physics games at 10000% LIVE arcade Cloudflare Pages Astro React Launch P31 Arcade Back to Hub What it is Central hub for five physics-based arcade games: Smallball, Gridiron, Strategy, Cards, Liquid Sculptor. Four physics games at 10000% is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Astro-based static site with React islands. Each game is a separate deployment with shared p31-arcade-shared package for common components. PGLite provides local PostgreSQL via WebAssembly. Core features Central hub for five physics-based arcade games: Smallball, Gridiron, Strategy, Cards, Liquid Sculptor K₄ mesh integration — games share unified authentication and player progression Spoon Theory UX across all games — energy-aware interfaces that adapt to player capacity Local-first architecture with PGLite WebAssembly PostgreSQL AAA graphics system with WebGL particle effects and volumetric rendering How to use 1 Open the Arcade Hub at https://p31-arcade-hub.pages.dev 2 Choose a game tile — each game loads with your unified player profile 3 Use Spoon Selector to set your energy level — UI adapts accordingly Architecture Astro-based static site with React islands. Each game is a separate deployment with shared p31-arcade-shared package for common components. PGLite provides local PostgreSQL via WebAssembly. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch P31 Arcade Back to Hub P31 Labs · P31 Arcade Hub P31 Arcade Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Cloudflare Pages Astro React PGLite WebGL Links Launch application Source code phosphorus31.org Support P31 Labs Related ⚾ Sma","keywords":"arcade-hub P31 Arcade — Four physics games at 10000% Central hub for five physics-based arcade games: Smallball, Gridiron, Strategy, Cards, Liquid Sculptor"},{"id":"c70","door":"arcade-liquid-sculptor","title":"Liquid Sculptor — Fluid dynamics sandbox","url":"/arcade-liquid-sculptor-about.html","text":"Real-time fluid dynamics simulation using Navier-Stokes equations Liquid Sculptor — Fluid dynamics sandbox | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Liquid Sculptor LIVE · Product 💧 Liquid Sculptor Fluid dynamics sandbox LIVE arcade WebGL Navier-Stokes React 18 Launch Liquid Sculptor Back to Hub What it is Real-time fluid dynamics simulation using Navier-Stokes equations. Fluid dynamics sandbox is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. WebGL 2.0 compute shaders for fluid simulation. Double-buffered render targets for stable integration. Optimized for 60fps on mid-range GPUs. Core features Real-time fluid dynamics simulation using Navier-Stokes equations Interactive sculpting — add forces, obstacles, and dye injectors WebGL compute shaders for GPU-accelerated particle systems Save and share fluid sculptures as JSON snapshots Zen mode — no UI, just the flowing simulation for relaxation How to use 1 Click and drag to add forces to the fluid 2 Add obstacles to create interesting flow patterns 3 Inject dye to visualize the flow dynamics 4 Export your sculpture as a shareable snapshot Architecture WebGL 2.0 compute shaders for fluid simulation. Double-buffered render targets for stable integration. Optimized for 60fps on mid-range GPUs. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Liquid Sculptor Back to Hub P31 Labs · Liquid Sculptor Hub Liquid Sculptor Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack WebGL Navier-Stokes React 18 Three.js CF Pages Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 P31 Arcade 🎮 SIGNAL 🌈 PRISM Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh, hubs, and money","keywords":"arcade-liquid-sculptor Liquid Sculptor — Fluid dynamics sandbox Real-time fluid dynamics simulation using Navier-Stokes equations"},{"id":"c71","door":"arcade-smallball","title":"Smallball — 2.5D baseball with Spoon Theory UX","url":"/arcade-smallball-about.html","text":"Local-first baseball simulation with PGLite database for franchise persistence Smallball — 2.5D baseball with Spoon Theory UX | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Smallball LIVE · Product ⚾ Smallball 2.5D baseball with Spoon Theory UX LIVE arcade React 18 PGLite Markov Chains Launch Smallball Back to Hub What it is Local-first baseball simulation with PGLite database for franchise persistence. 2.5D baseball with Spoon Theory UX is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. PGLite runs PostgreSQL in browser via WebAssembly. Markov chains model pitch sequences. Three.js handles 2.5D perspective. Graphics system supports 8 rendering tiers from mobile to desktop. Core features Local-first baseball simulation with PGLite database for franchise persistence Markov chain-driven pitching AI with realistic pitch selection logic Spoon-based energy system — low spoons reduces pitch precision and batting power AAA Graphics Core: WebGL particles, volumetric lighting, post-processing effects Iron Mike training game — practice batting against legendary pitching machine How to use 1 Select your spoon level from the selector — determines UI complexity and game pacing 2 Create a franchise — owner pubkey secures your team data locally 3 Play games or enter Iron Mike mode for training Architecture PGLite runs PostgreSQL in browser via WebAssembly. Markov chains model pitch sequences. Three.js handles 2.5D perspective. Graphics system supports 8 rendering tiers from mobile to desktop. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Smallball Back to Hub P31 Labs · Smallball Hub Smallball Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack React 18 PGLite Markov Chains Three.js AAA Graphics Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 P31 Arcade 🏈 Gridiron ♟️ Strategy Board B","keywords":"arcade-smallball Smallball — 2.5D baseball with Spoon Theory UX Local-first baseball simulation with PGLite database for franchise persistence"},{"id":"c72","door":"arcade-strategy","title":"Strategy Board — Turn-based tactical warfare","url":"/arcade-strategy-about.html","text":"Turn-based tactical strategy with unit positioning and resource management Strategy Board — Turn-based tactical warfare | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Strategy Board LIVE · Product ♟️ Strategy Board Turn-based tactical warfare LIVE arcade React 18 Canvas API Pathfinding Launch Strategy Board Back to Hub What it is Turn-based tactical strategy with unit positioning and resource management. Turn-based tactical warfare is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Canvas-based rendering for smooth animations. A* pathfinding for unit movement. AI uses minimax with alpha-beta pruning. Core features Turn-based tactical strategy with unit positioning and resource management Hex-based grid system with line-of-sight and terrain modifiers AI opponents with varying difficulty using minimax + heuristics Campaign mode with persistent progress via localStorage Quick battle mode for short spoon-friendly sessions How to use 1 Select game mode — Campaign for story progress, Quick Battle for instant action 2 Move units on hex grid — consider terrain and line of sight 3 Manage resources — balance offense, defense, and economy Architecture Canvas-based rendering for smooth animations. A* pathfinding for unit movement. AI uses minimax with alpha-beta pruning. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Strategy Board Back to Hub P31 Labs · Strategy Board Hub Strategy Board Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack React 18 Canvas API Pathfinding CF Pages Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 P31 Arcade 🃏 Card Table 🏈 Gridiron Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh, hub","keywords":"arcade-strategy Strategy Board — Turn-based tactical warfare Turn-based tactical strategy with unit positioning and resource management"},{"id":"c73","door":"attractor","title":"NANO-07 Attractor — Kenosis Mesh Visualizer","url":"/attractor-about.html","text":"1500 human VFD agents tether to nearest online Cloudflare Worker node in real time NANO-07 Attractor — Kenosis Mesh Visualizer | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; NANO-07 Attractor LIVE · Product 🌀 NANO-07 Attractor Kenosis Mesh Visualizer LIVE research Three.js SIC-POVM Byzantine Fault Sim Launch NANO-07 Attractor Back to Hub What it is 1500 human VFD agents tether to nearest online Cloudflare Worker node in real time. Kenosis Mesh Visualizer is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Pure Three.js — no React wrapper. The simulation runs in a requestAnimationFrame loop with a shared Float32Array for agent positions to minimize GC pressure. Core features 1500 human VFD agents tether to nearest online Cloudflare Worker node in real time Kill any node and watch Byzantine fault recovery — mesh self-heals within 3 hops Chaos injector lets you simulate network partitions and latency spikes Cosmic Snapshot recalibration animates when fault threshold is crossed SIC-POVM state vectors render as color gradients on each agent particle How to use 1 Open the visualizer — 1500 agent particles appear orbiting the 7-node mesh 2 Click any node to kill it — agents immediately reroute to adjacent nodes 3 Use the chaos panel to inject sustained faults and observe equilibrium restoration Architecture Pure Three.js — no React wrapper. The simulation runs in a requestAnimationFrame loop with a shared Float32Array for agent positions to minimize GC pressure. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch NANO-07 Attractor Back to Hub P31 Labs · NANO-07 Attractor Hub NANO-07 Attractor Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Three.js SIC-POVM Byzantine Fault Sim Chaos Injector Links Launch application Source code phosphorus31.org Support P31 Labs Related Build Intake and bake on the same verify ch","keywords":"attractor NANO-07 Attractor — Kenosis Mesh Visualizer 1500 human VFD agents tether to nearest online Cloudflare Worker node in real time"},{"id":"c74","door":"axiom","title":"AXIOM — Physics &amp; Chemistry Lab","url":"/axiom-about.html","text":"Posner molecule explorer: Ca₉(PO₄)₆ rendered in full 3D with bond lengths from NIST data AXIOM — Physics & Chemistry Lab | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; AXIOM LIVE · Product ⚛️ AXIOM Physics & Chemistry Lab LIVE research Rapier.js Three.js NIST ASD Data Launch AXIOM Back to Hub What it is Posner molecule explorer: Ca₉(PO₄)₆ rendered in full 3D with bond lengths from NIST data. Physics & Chemistry Lab is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Rapier.js handles rigid-body physics for the molecule explorer. Three.js renders all 3D scenes. NIST ASD data is bundled as a 2MB JSON lookup table — no API call required. Core features Posner molecule explorer: Ca₉(PO₄)₆ rendered in full 3D with bond lengths from NIST data Larmor precession visualizer: spin any nucleus in Earth's field, read the frequency Spectral emission sandbox: excite atoms and watch emission lines appear on the spectrum K₄ topology builder: assemble K₄ complete graphs and verify planarity AuDHD pedagogy — no timed tests, no failure states, no completion pressure How to use 1 Pick a module from the top nav: Posner, Larmor, Spectral, or K₄ Builder 2 In Larmor mode: select ³¹P and Earth's field — the 863 Hz frequency appears 3 In Spectral mode: click an element, excite it, and see the emission spectrum vs. NIST reference Architecture Rapier.js handles rigid-body physics for the molecule explorer. Three.js renders all 3D scenes. NIST ASD data is bundled as a 2MB JSON lookup table — no API call required. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch AXIOM Back to Hub P31 Labs · AXIOM Hub AXIOM Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Rapier.js Three.js NIST ASD Data Offline-First Links Launch application Source code phosphorus31.org Support P31 Labs Related 🔑 SOVEREIGN ⚛️ BONDING Build Intake and bake on the same","keywords":"axiom AXIOM — Physics &amp; Chemistry Lab Posner molecule explorer: Ca₉(PO₄)₆ rendered in full 3D with bond lengths from NIST data"},{"id":"c75","door":"bonding","title":"BONDING — Molecular Social Protocol","url":"/bonding-about.html","text":"K₄ impedance matching — every bond is a complete graph edge, not a directed arrow BONDING — Molecular Social Protocol | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; BONDING LIVE · Product ⚛️ BONDING Molecular Social Protocol LIVE social React 19 Three.js r183 Zustand v5 T R I P E R L3 Certification Score: 98/100 Launch BONDING Back to Hub What it is K₄ impedance matching — every bond is a complete graph edge, not a directed arrow. Molecular Social Protocol is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. React 19 + Three.js R3F renders the 3D molecular graph. Zustand v5 manages bond state with immer patches. The relay is Cloudflare Workers KV — no WebSocket, no Durable Objects, offline-tolerant. Core features K₄ impedance matching — every bond is a complete graph edge, not a directed arrow 424 automated tests across 32 suites — production quality enforcement Multiplayer relay via Cloudflare Workers KV at 3–10s polling intervals Timestamped bond events double as court-admissible engagement evidence Offline mode with localStorage mock relay for two-tab local testing How to use 1 Open BONDING and create a room or join with a room code 2 Place molecular nodes representing people — drag to bond when proximity allows 3 Each bond logs a timestamp; export the session JSON for evidence documentation Architecture React 19 + Three.js R3F renders the 3D molecular graph. Zustand v5 manages bond state with immer patches. The relay is Cloudflare Workers KV — no WebSocket, no Durable Objects, offline-tolerant. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch BONDING Back to Hub P31 Labs · BONDING Hub BONDING Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. TRIPER Certification T R I P E R Tetra Level: 3/4 Score: 98/100 Tech stack React 19 Three.js r183 Zustand v5 Vitest 4 CF Pages Links Launch application Source code phosphorus","keywords":"bonding BONDING — Molecular Social Protocol K₄ impedance matching — every bond is a complete graph edge, not a directed arrow"},{"id":"c76","door":"book","title":"Mother Nature &amp; Father Time — Children's Picture Book","url":"/book-about.html","text":"14-page illustrated digital reader dedicated to S.J. and W.J. Mother Nature & Father Time — Children's Picture Book | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Mother Nature & Father Time LIVE · Product 📖 Mother Nature & Father Time Children's Picture Book LIVE social Vite 8 React 19 CF Pages Launch Mother Nature & Father Time Back to Hub What it is 14-page illustrated digital reader dedicated to S.J. and W.J.. Children's Picture Book is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Vite 8 + React 19 compiled to a CF Pages bundle. Page strings live in a JSON manifest so new translations only require a JSON update, no code change. Core features 14-page illustrated digital reader dedicated to S.J. and W.J. Touch-native navigation: swipe or tap to turn pages, pinch to zoom Dark-mode native — comfortable for bedtime reading without blue light Bilingual-ready architecture: page strings externalized for translation Offline-capable via Service Worker — works on the plane How to use 1 Open the book and tap the cover to start 2 Swipe left/right to turn pages — or use the arrow buttons 3 Long-press any illustration to expand it fullscreen Architecture Vite 8 + React 19 compiled to a CF Pages bundle. Page strings live in a JSON manifest so new translations only require a JSON update, no code change. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Mother Nature & Father Time Back to Hub P31 Labs · Mother Nature & Father Time Hub Mother Nature & Father Time Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Vite 8 React 19 CF Pages Touch Navigation Links Launch application Source code phosphorus31.org Support P31 Labs Related 🎮 SIGNAL Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization)","keywords":"book Mother Nature &amp; Father Time — Children's Picture Book 14-page illustrated digital reader dedicated to S.J. and W.J."},{"id":"c77","door":"bridge","title":"BRIDGE — LOVE Economy Dashboard","url":"/bridge-about.html","text":"Circular SVG gauges for LOVE token supply, velocity, and distribution BRIDGE — LOVE Economy Dashboard | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; BRIDGE LIVE · Product 🌐 BRIDGE LOVE Economy Dashboard LIVE core SVG Gauges Phenix Wallet Vesting Schedules Launch BRIDGE Back to Hub What it is Circular SVG gauges for LOVE token supply, velocity, and distribution. LOVE Economy Dashboard is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. SVG gauges are pure SVG with CSS animations — no canvas. Stealth addresses use a simplified Diffie-Hellman scheme over secp256k1 coordinates via WebCrypto. Core features Circular SVG gauges for LOVE token supply, velocity, and distribution Vesting schedules for S.J. and W.J. — tokens unlock on milestone dates Stealth address generator for private LOVE transfers without ledger exposure Full transaction ledger with CSV export for grant reporting Multi-tab: Overview, Vesting, Ledger, Stealth, Export How to use 1 Open BRIDGE — the overview gauges show current LOVE token state 2 Switch to Vesting to see S.J. and W.J.'s milestone schedules 3 Use Stealth to generate a private transfer address for sensitive LOVE flows Architecture SVG gauges are pure SVG with CSS animations — no canvas. Stealth addresses use a simplified Diffie-Hellman scheme over secp256k1 coordinates via WebCrypto. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch BRIDGE Back to Hub P31 Labs · BRIDGE Hub BRIDGE Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack SVG Gauges Phenix Wallet Vesting Schedules Stealth Addresses Links Launch application Source code phosphorus31.org Support P31 Labs Related Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh,","keywords":"bridge BRIDGE — LOVE Economy Dashboard Circular SVG gauges for LOVE token supply, velocity, and distribution"},{"id":"c78","door":"buffer","title":"The Buffer — Message Guardian &amp; Fawn Guard","url":"/buffer-about.html","text":"Educational drafting aid only — not therapy, diagnosis, or legal advice; Fawn Guard flags language patterns from public literature, not a clinical assessment The Buffer — Message Guardian & Fawn Guard | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; The Buffer LIVE · Product 🛡️ The Buffer Message Guardian & Fawn Guard LIVE core Voltage Scoring Fawn Guard Algorithm BLUF Extraction Launch The Buffer Back to Hub What it is Educational drafting aid only — not therapy, diagnosis, or legal advice; Fawn Guard flags language patterns from public literature, not a clinical assessment. Message Guardian & Fawn Guard is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Pure vanilla JS, zero dependencies. Voltage scoring is a weighted keyword + syntax model. Fawn Guard uses pattern matching against a curated set of codependency markers from clinical literature. Core features Educational drafting aid only — not therapy, diagnosis, or legal advice; Fawn Guard flags language patterns from public literature, not a clinical assessment Voltage scoring: paste any message and get urgency / emotional charge / cognitive load ratings Fawn Guard: detects codependency patterns and people-pleasing signals in your drafts BLUF extraction pulls the bottom line up front and lists action items 4-2-6 breathing exercise activates when voltage exceeds threshold Draft mode: write a reply, run Fawn Guard before sending How to use 1 Paste an incoming message into the left pane — voltage scores appear immediately 2 Switch to Draft mode, write your response, and run Fawn Guard before sending 3 If voltage is high, click the breathing button — 4-2-6 cycle runs before you reply Architecture Pure vanilla JS, zero dependencies. Voltage scoring is a weighted keyword + syntax model. Fawn Guard uses pattern matching against a curated set of codependency markers from clinical literature. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Missio","keywords":"buffer The Buffer — Message Guardian &amp; Fawn Guard Educational drafting aid only — not therapy, diagnosis, or legal advice; Fawn Guard flags language patterns from public literature, not a clinical assessment"},{"id":"c79","door":"connect","title":"THE MESH — K₄ cage + product graph","url":"/connect-about.html","text":"Family K₄ rendered as a tetrahedron with four vertices and product satellites you can open THE MESH — K₄ cage + product graph | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; THE MESH LIVE · Product ⬡ THE MESH K₄ cage + product graph LIVE core Three.js r160 K₄ tetrahedron Product satellites Launch THE MESH Back to Hub What it is Family K₄ rendered as a tetrahedron with four vertices and product satellites you can open. K₄ cage + product graph is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Three.js in a single file from `p31ca/public/`. See synergetic manifest for Three pin alignment. Core features Family K₄ rendered as a tetrahedron with four vertices and product satellites you can open No separate build — one static `connect.html` on p31ca.org Pairs with the observatory, tomography, and k4 market surfaces in the same stack How to use 1 Open `/connect.html` or use Launch on the hub about page 2 Drag to rotate the cage; follow outbound links to mesh-adjacent products Architecture Three.js in a single file from `p31ca/public/`. See synergetic manifest for Three pin alignment. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch THE MESH Back to Hub P31 Labs · THE MESH Hub THE MESH Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Three.js r160 K₄ tetrahedron Product satellites Static HTML Links Launch application Source code phosphorus31.org Support P31 Labs Related 🜂 Planetary onboard Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh, hubs, and money follow the same published contracts (ethical monetization).","keywords":"connect THE MESH — K₄ cage + product graph Family K₄ rendered as a tetrahedron with four vertices and product satellites you can open"},{"id":"c80","door":"content-forge","title":"CONTENT FORGE — Editorial Publishing Suite","url":"/content-forge-about.html","text":"Seed bank: capture ideas and move them through Draft → Review → Publish lifecycle CONTENT FORGE — Editorial Publishing Suite | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; CONTENT FORGE LIVE · Product ✍️ CONTENT FORGE Editorial Publishing Suite LIVE core Markdown Editor Seed Bank 8-Point Checklist Launch CONTENT FORGE Back to Hub What it is Seed bank: capture ideas and move them through Draft → Review → Publish lifecycle. Editorial Publishing Suite is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Markdown editor is CodeMirror 6 with a custom P31 keymap. The OQE gate (Objective Quality Evidence) is a required field that must cite a source before the checklist clears. Core features Seed bank: capture ideas and move them through Draft → Review → Publish lifecycle 6 framework templates: Thread, Essay, Tutorial, Announcement, Research Brief, Story 8-point publishing checklist: OQE, headline, hook, CTA, tags, image alt, links, review Live word count with estimated read time — optimized for Substack's sweet spot All state localStorage — no account, no cloud, no data exposure How to use 1 Add a seed: paste a topic or first line into the seed bank 2 Open a seed and choose a framework template — structure appears immediately 3 Run the 8-point checklist before hitting publish — OQE gate is the last checkpoint Architecture Markdown editor is CodeMirror 6 with a custom P31 keymap. The OQE gate (Objective Quality Evidence) is a required field that must cite a source before the checklist clears. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch CONTENT FORGE Back to Hub P31 Labs · CONTENT FORGE Hub CONTENT FORGE Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Markdown Editor Seed Bank 8-Point Checklist LocalStorage Links Launch application Source code phosphorus31.org Support P31 Labs Related 🤖 p31-bot 🧠 p31-corte","keywords":"content-forge CONTENT FORGE — Editorial Publishing Suite Seed bank: capture ideas and move them through Draft → Review → Publish lifecycle"},{"id":"c81","door":"cortex","title":"p31-cortex — AI Agent Orchestration","url":"/cortex-about.html","text":"Six autonomous agents: benefits, finance, grant, legal, content, ko-fi p31-cortex — AI Agent Orchestration | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; p31-cortex LIVE · Product 🧠 p31-cortex AI Agent Orchestration LIVE infra Cloudflare Durable Objects D1 Database CF AI Bindings Launch p31-cortex Back to Hub What it is Six autonomous agents: benefits, finance, grant, legal, content, ko-fi. AI Agent Orchestration is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Each agent is a separate Durable Object class with its own hibernation schedule. D1 provides the shared memory substrate. CF Workers Analytics tracks agent performance per invocation. Core features Six autonomous agents: benefits, finance, grant, legal, content, ko-fi Durable Objects provide persistent agent state across cold starts D1 database stores agent memory and decision history CF AI Bindings run inference at the edge — no external LLM API calls Agent-to-agent messaging via Service Bindings for coordinated responses How to use 1 Navigate to the cortex dashboard — each agent appears as a card with status 2 Click an agent to open its task queue and recent decisions 3 POST to /api/agent/{name}/task to queue a new task programmatically Architecture Each agent is a separate Durable Object class with its own hibernation schedule. D1 provides the shared memory substrate. CF Workers Analytics tracks agent performance per invocation. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch p31-cortex Back to Hub P31 Labs · p31-cortex Hub p31-cortex Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Cloudflare Durable Objects D1 Database CF AI Bindings Workers Analytics Links Launch application Source code phosphorus31.org Support P31 Labs Related 🌐 Spaceship Earth Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface","keywords":"cortex p31-cortex — AI Agent Orchestration Six autonomous agents: benefits, finance, grant, legal, content, ko-fi"},{"id":"c82","door":"discord-bot","title":"p31-bot — Community Command Plane","url":"/discord-bot-about.html","text":"20+ slash commands covering the full P31 ecosystem p31-bot — Community Command Plane | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; p31-bot LIVE · Product 🤖 p31-bot Community Command Plane LIVE social Discord.js v14 TypeScript Railway Deploy Launch p31-bot Back to Hub What it is 20+ slash commands covering the full P31 ecosystem. Community Command Plane is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Discord.js v14 slash commands deployed on Railway. Bot state persists to Cloudflare Workers KV so it survives Railway restarts without data loss. Core features 20+ slash commands covering the full P31 ecosystem /spoon — log and query the Q Distribution spoon ledger /egg — track and award egg tokens in the P31 economy /quantum-egg-hunt — seasonal hunt with clues and rewards /telemetry — relay live infrastructure status directly into Discord How to use 1 The bot is live in the P31 Discord server — use /help to see all commands 2 Use /spoon log [count] to record a spoon expenditure for the day 3 Use /egg award @user [reason] to recognize a contribution Architecture Discord.js v14 slash commands deployed on Railway. Bot state persists to Cloudflare Workers KV so it survives Railway restarts without data loss. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch p31-bot Back to Hub P31 Labs · p31-bot Hub p31-bot Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Discord.js v14 TypeScript Railway Deploy CF Workers KV Links Launch application Source code phosphorus31.org Support P31 Labs Related 🧠 p31-cortex 🌐 BRIDGE Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemeralization). Connect Now — live cage and edges: mesh, hubs, and money follow the same published contracts (ethical monetization).","keywords":"discord-bot p31-bot — Community Command Plane 20+ slash commands covering the full P31 ecosystem"},{"id":"c83","door":"echo","title":"ECHO — Vocal Looper &amp; Script Rehearsal","url":"/echo-about.html","text":"Private loop station: mic → WebM → decoded AudioBuffers, layered up to 6 loops ECHO — Vocal Looper & Script Rehearsal | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; ECHO LIVE · Product 🗣️ ECHO Vocal Looper & Script Rehearsal LIVE utility Web Audio API MediaRecorder BufferSource playbackRate Launch ECHO Back to Hub What it is Private loop station: mic → WebM → decoded AudioBuffers, layered up to 6 loops. Vocal Looper & Script Rehearsal is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Recording: MediaRecorder( webm/opus ) → Blob → decodeAudioData. Playback: AudioBufferSourceNode with loop=true; pitch uses playbackRate = 2^(semitones/12) (varispeed: pitch and duration scale together — not a phase-vocoder). Graph uses AnalyserNode + GainNode only; no deprecated ScriptProcessorNode. Core features Private loop station: mic → WebM → decoded AudioBuffers, layered up to 6 loops Pitch via playbackRate (varispeed): global semitone slider retunes loops in real time Each loop loops via buffer source with independent gain — mix layers in mono Offline-first: audio never leaves your device; no accounts, no uploads Live input meter via AnalyserNode on the microphone graph How to use 1 Grant mic permission on first Record — waveform uses live time-domain frames 2 Set pitch (semitones) before recording, or move the slider to retune all loops (playing loops restart) 3 Play All stacks every loop; Stop All clears buffer sources without deleting buffers Architecture Recording: MediaRecorder( webm/opus ) → Blob → decodeAudioData. Playback: AudioBufferSourceNode with loop=true; pitch uses playbackRate = 2^(semitones/12) (varispeed: pitch and duration scale together — not a phase-vocoder). Graph uses AnalyserNode + GainNode only; no deprecated ScriptProcessorNode. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch ECHO Back to Hub P31 Labs · ECHO Hub ECHO Support GitHub","keywords":"echo ECHO — Vocal Looper &amp; Script Rehearsal Private loop station: mic → WebM → decoded AudioBuffers, layered up to 6 loops"},{"id":"c84","door":"ede","title":"EDE — Everything Development Environment","url":"/ede-about.html","text":"JSX transpilation with Babel — zero npm, runs entirely in the browser EDE — Everything Development Environment | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; EDE LIVE · Product ⬡ EDE Everything Development Environment LIVE core Babel Standalone Sandboxed iframe Samson's Law Linter Launch EDE Back to Hub What it is JSX transpilation with Babel — zero npm, runs entirely in the browser. Everything Development Environment is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. No build toolchain. Babel Standalone handles all JSX transpilation in a Web Worker so the main thread stays responsive. The sandboxed iframe has a null origin and postMessage bridge for output. Q Distribution is a discrete probability model over cognitive load states. Core features JSX transpilation with Babel — zero npm, runs entirely in the browser Samson's Law entropy linter flags cognitive overload patterns before they compound Q Distribution spoon tracking with 4-tier progressive disclosure — interface simplifies as load rises Sandboxed iframe execution with live error recovery — no crash kills your session Offline-first: works without network after first load; IndexedDB autosaves drafts How to use 1 Open EDE — the editor loads with a starter JSX component pre-seeded 2 Write or paste JSX — Babel transpiles on keypress, live preview updates in the sandbox pane 3 Watch the spoon meter in the top bar — at 4 spoons the interface collapses to essentials; at 1 spoon it enters somatic breathing mode Architecture No build toolchain. Babel Standalone handles all JSX transpilation in a Web Worker so the main thread stays responsive. The sandboxed iframe has a null origin and postMessage bridge for output. Q Distribution is a discrete probability model over cognitive load states. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch EDE Back to Hub P31 Labs · EDE Hub EDE Support GitHub Status","keywords":"ede EDE — Everything Development Environment JSX transpilation with Babel — zero npm, runs entirely in the browser"},{"id":"c85","door":"forge","title":"FORGE — Special Interest Vault","url":"/forge-about.html","text":"SQLite WASM: local relational database for special interests — query your hyperfixations FORGE — Special Interest Vault | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; FORGE LIVE · Product 🗄️ FORGE Special Interest Vault LIVE social SQLite WASM D3.js Skill Tree Local-First Launch FORGE Back to Hub What it is SQLite WASM: local relational database for special interests — query your hyperfixations. Special Interest Vault is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. SQLite WASM (wa-sqlite) runs in a Worker thread. D3.js force simulation positions nodes. No IndexedDB fallback — SQLite WASM persists its file via the Origin Private File System API. Core features SQLite WASM: local relational database for special interests — query your hyperfixations D3.js skill-tree visualization: special interests as nodes, connections as learned relationships RPG aesthetic: earn XP for cataloging entries, unlock new node types Zero social sharing — purely for the joy of archiving, no comparison, no exposure Media attachments: link images, videos, documents without uploading them How to use 1 Create your first node: name a special interest, add a description and category 2 Connect nodes: draw edges between related interests — the tree grows organically 3 Import a CSV of existing notes to seed the vault without manual entry Architecture SQLite WASM (wa-sqlite) runs in a Worker thread. D3.js force simulation positions nodes. No IndexedDB fallback — SQLite WASM persists its file via the Origin Private File System API. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch FORGE Back to Hub P31 Labs · FORGE Hub FORGE Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack SQLite WASM D3.js Skill Tree Local-First RPG Aesthetic Links Launch application Source code phosphorus31.org Support P31 Labs Related ✍️ CONTENT FORGE ⬡ EDE 🌐 Spaces","keywords":"forge FORGE — Special Interest Vault SQLite WASM: local relational database for special interests — query your hyperfixations"},{"id":"c86","door":"geodesic","title":"GEODESIC — 3D Structure Builder","url":"/geodesic-about.html","text":"Place tetrahedra, octahedra, icosahedra, struts, and hubs in 3D snap-grid space GEODESIC — 3D Structure Builder | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; GEODESIC LIVE · Product 🔷 GEODESIC 3D Structure Builder LIVE core Three.js r183 OrbitControls Snap Grid Launch GEODESIC Back to Hub What it is Place tetrahedra, octahedra, icosahedra, struts, and hubs in 3D snap-grid space. 3D Structure Builder is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Three.js r183 with OrbitControls for navigation. Snap grid uses integer multiples of 0.5 world units. Rigidity score uses Maxwell's rule extended for 3D: m = 3j − e − 6. Core features Place tetrahedra, octahedra, icosahedra, struts, and hubs in 3D snap-grid space Real-time rigidity scoring: Maxwell count (m = 3j − e − 6) updates on every placement Challenge system with tier progression: Stable → Strong → Geodesic Master Export current structure as a JSON scene file for future editing Color-coded stress map: over-constrained members in red, under-constrained in blue How to use 1 Select a shape from the palette and click to place it on the snap grid 2 Watch the rigidity score — add struts to increase it toward the target 3 Complete challenges to unlock new shapes and construction tools Architecture Three.js r183 with OrbitControls for navigation. Snap grid uses integer multiples of 0.5 world units. Rigidity score uses Maxwell's rule extended for 3D: m = 3j − e − 6. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch GEODESIC Back to Hub P31 Labs · GEODESIC Hub GEODESIC Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Three.js r183 OrbitControls Snap Grid Rigidity Scoring Links Launch application Source code phosphorus31.org Support P31 Labs Related 🔑 SOVEREIGN ⚛️ AXIOM Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface,","keywords":"geodesic GEODESIC — 3D Structure Builder Place tetrahedra, octahedra, icosahedra, struts, and hubs in 3D snap-grid space"},{"id":"c87","door":"integrations","title":"Integrations bridge — OSS home, wearables, operator endpoints","url":"/integrations-about.html","text":"Single place for which bridges exist (e.g. Home Assistant, Nostr, calendar) and their status Integrations bridge — OSS home, wearables, operator endpoints | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Integrations bridge LIVE · Product 🔗 Integrations bridge OSS home, wearables, operator endpoints LIVE infra Astro p31.integrationsBridge/1.0.0 apply:constants Launch Integrations bridge Back to Hub What it is Single place for which bridges exist (e.g. Home Assistant, Nostr, calendar) and their status. OSS home, wearables, operator endpoints is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Astro route at `src/pages/integrations.astro`. Ground truth: `routes.integrationsBridge` and `edgeRedirects` for `/integrations` → `/integrations/`. Core features Single place for which bridges exist (e.g. Home Assistant, Nostr, calendar) and their status No secrets: endpoint slots that are empty in constants read as disabled Paired with `public/p31-integrations.json` from `apply:constants` and `/ops` glass checks How to use 1 Open `/integrations/` from the hub or ops — review availability and follow linked docs for setup Architecture Astro route at `src/pages/integrations.astro`. Ground truth: `routes.integrationsBridge` and `edgeRedirects` for `/integrations` → `/integrations/`. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Integrations bridge Back to Hub P31 Labs · Integrations bridge Hub Integrations bridge Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Astro p31.integrationsBridge/1.0.0 apply:constants p31-constants.json Links Launch application Source code phosphorus31.org Support P31 Labs Related ⬡ THE MESH 🜂 Planetary onboard 🌐 BRIDGE Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, honest rigidity—generate or prove; don't fork the same truth twice (ephemerali","keywords":"integrations Integrations bridge — OSS home, wearables, operator endpoints Single place for which bridges exist (e.g. Home Assistant, Nostr, calendar) and their status"},{"id":"c88","door":"larmor","title":"LARMOR — 863 Hz Somatic Regulation","url":"/larmor-about.html","text":"863 Hz pure tone via Web Audio API OscillatorNode — no audio file to download LARMOR — 863 Hz Somatic Regulation | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; LARMOR DEPLOYED · Product ╯ LARMOR 863 Hz Somatic Regulation DEPLOYED core Web Audio API 863 Hz Oscillator Vibration API Launch LARMOR Back to Hub What it is 863 Hz pure tone via Web Audio API OscillatorNode — no audio file to download. 863 Hz Somatic Regulation is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. No audio file: the 863 Hz tone is synthesized in real time via OscillatorNode. The A/B pair creates the beat frequency (463 Hz left ear, 863 Hz right ear → 400 Hz binaural difference; adjust to 46/863 → 863 Hz difference for pure Larmor). All state resets on close — no data stored in localStorage or IndexedDB. Practitioners are referred to licensed medical professionals; this is a grounding aid, not a treatment. Core features 863 Hz pure tone via Web Audio API OscillatorNode — no audio file to download 463 Hz A/B pair creates 863 Hz binaural beat; plug in earbuds for the full somatic effect Haptic pulse patterns via Vibration API — works on Android without earbuds 4-4-6 box breathing with visual cue — inhale 4, hold 4, exhale 6 Calcium equivalence framing: 863 Hz is the Larmor frequency of ³¹P in Earth's magnetic field Zero timer pressure — the rhythmic beat keeps you oriented without a deadline How to use 1 Open when dysregulated or before a high-stakes interaction 2 Plug in earbuds and enable the binaural beat for the full 863 Hz somatic effect 3 Tap the tone wave to start; tap again to pause 4 Follow the 4-4-6 breathing guide — the visual expands on inhale, holds, contracts on exhale Architecture No audio file: the 863 Hz tone is synthesized in real time via OscillatorNode. The A/B pair creates the beat frequency (463 Hz left ear, 863 Hz right ear → 400 Hz binaural difference; adjust to 46/863 → 863 Hz difference for pure Larmor). All state resets on close — no data stored in localStorage or IndexedDB. Practitioners are referred to licensed medical professionals; this is a grounding","keywords":"larmor LARMOR — 863 Hz Somatic Regulation 863 Hz pure tone via Web Audio API OscillatorNode — no audio file to download"},{"id":"c89","door":"node-zero","title":"Node Zero — Sovereign Mesh Hardware Node","url":"/node-zero-about.html","text":"Waveshare ESP32-S3 N16R8: 16MB flash, 8MB Octal PSRAM, 480×320 QSPI touch display Node Zero — Sovereign Mesh Hardware Node | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Node Zero BETA · Product 📡 Node Zero Sovereign Mesh Hardware Node BETA infra ESP-IDF 5.5.x LVGL 8.4 AXS15231B QSPI Launch Node Zero Back to Hub What it is Waveshare ESP32-S3 N16R8: 16MB flash, 8MB Octal PSRAM, 480×320 QSPI touch display. Sovereign Mesh Hardware Node is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Firmware: 05_FIRMWARE/node-zero/. Key fix: AXS15231B QSPI requires dc_gpio_num=GPIO_NUM_NC (not GPIO 0=BOOT button). Hardware MADCTL rotation causes silicon blank-screen bug at non-8-pixel boundaries — use LVGL sw_rotate=1. GPIO 26-37 reserved for Octal PSRAM. LoRa on GPIO 38-45 (repurposed camera pins). Core features Waveshare ESP32-S3 N16R8: 16MB flash, 8MB Octal PSRAM, 480×320 QSPI touch display SX1262 LoRa 915MHz — Meshtastic LONG_FAST (SF11 BW250 CR4/5): ~5.5 km mesh range Q-Factor integration: POSTs spoon events to api.p31ca.org every 5 minutes, mirrors Q-score on display Device DID auto-generated on first boot, stored in NVS — same hex schema as browser p31-did Full-frame PSRAM double buffer: eliminates DMA underrun, smooth 60fps LVGL rendering AXP2101 PMIC + ES8311 codec on shared I2C mutex — concurrent-safe at 60Hz touch polling How to use 1 Flash: cd 05_FIRMWARE/node-zero && ./flash.sh — nukes ghost firmware, rebuilds clean 2 Provision WiFi: ./provision.sh --port /dev/ttyUSB0 — writes SSID/pass to NVS partition 3 Mesh: meshtastic --configure 05_FIRMWARE/meshtastic/p31-mesh-config.yaml (after ./ignite-phase2.sh) 4 DID appears on Node Zero display and in serial monitor after first WiFi connect Architecture Firmware: 05_FIRMWARE/node-zero/. Key fix: AXS15231B QSPI requires dc_gpio_num=GPIO_NUM_NC (not GPIO 0=BOOT button). Hardware MADCTL rotation causes silicon blank-screen bug at non-8-pixel boundaries — use LVGL sw_rotate=1. GPIO 26-37 reserved for Octal PSRAM. LoRa on GPIO 38-45 (repurposed camera pins). P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds","keywords":"node-zero Node Zero — Sovereign Mesh Hardware Node Waveshare ESP32-S3 N16R8: 16MB flash, 8MB Octal PSRAM, 480×320 QSPI touch display"},{"id":"c90","door":"planetary-onboard","title":"Planetary onboard — Threshold — four doors, no funnel","url":"/planetary-onboard-about.html","text":"Void + still K₄ + one sentence, then four doors (understand · use · build · know someone) Planetary onboard — Threshold — four doors, no funnel | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Planetary onboard LIVE · Product 🜂 Planetary onboard Threshold — four doors, no funnel LIVE core Static HTML Gray Rock first paint No analytics Launch Planetary onboard Back to Hub What it is Void + still K₄ + one sentence, then four doors (understand · use · build · know someone). Threshold — four doors, no funnel is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Replaced multi-phase Wye UI (Apr 2026) with threshold design; `p31-welcome-packages.json` still used by `mesh-start.html`. Passkey Worker unchanged. Egg-hunt archetype substrings kept as hidden anchors. Core features Void + still K₄ + one sentence, then four doors (understand · use · build · know someone) Door 1 walks origin → products → evidence → help without accounts; numbers link to verifiable sources Door 2 self-identifies role then deep-links Passport, BONDING, doc library; `?welcome=kid` / `?a=child` opens the parent path Door 3 is the developer spine (clone, verify, AGENTS.md); Door 4 routes room codes to bonding and invite URLs to mesh-start when same-origin How to use 1 Open `/planetary-onboard.html` or short `/onboard`; add `?fast=1` to skip the timed Gray Rock reveal 2 Mesh passkey + pact lives on `/mesh-start.html` and `/auth` when you already have an invite — not on this threshold 3 Wye→Delta narrative and legacy copy rhythm: `/delta.html` + `docs/PLAN-MESH-WYE-DELTA-ONBOARDING.md` Architecture Replaced multi-phase Wye UI (Apr 2026) with threshold design; `p31-welcome-packages.json` still used by `mesh-start.html`. Passkey Worker unchanged. Egg-hunt archetype substrings kept as hidden anchors. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Planetary onboard Back to Hub P31 Labs · ","keywords":"planetary-onboard Planetary onboard — Threshold — four doors, no funnel Void + still K₄ + one sentence, then four doors (understand · use · build · know someone)"},{"id":"c91","door":"poets","title":"Poets Room — Void, a daily line, a shelf — nothing to verify here but the door","url":"/poets-about.html","text":"First paint is quiet; one quote fades in by calendar day (`poets-room-quotes.json`) Poets Room — Void, a daily line, a shelf — nothing to verify here but the door | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Poets Room LIVE · Product 🪶 Poets Room Void, a daily line, a shelf — nothing to verify here but the door LIVE social Static No crew APIs localStorage only Launch Poets Room Back to Hub What it is First paint is quiet; one quote fades in by calendar day (`poets-room-quotes.json`). Void, a daily line, a shelf — nothing to verify here but the door is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Home source `poets-room.html` + `poets-room-quotes.json`; hub `public/poets.html` + `public/poets-room-quotes.json`. Ground-truth `routes.poetsLobby`. No `/poets`→`poets.html` in `_redirects` (CF Pages ping-pong). Core features First paint is quiet; one quote fades in by calendar day (`poets-room-quotes.json`) Scroll reveals a small shelf (K₄, Posner echo, BONDING ship day, Paper IV, 863 Hz tap, local photo drop) and a private writing space — never uploaded Hub mirrors home intent; exit link returns to C.A.R.S. soup when you need the rest of the house How to use 1 Sit with the line; scroll only if you want the shelf or the cursor 2 Drop a photo on the slot if you want something tactile on the mantle — it stays in this browser 3 863 Hz plays one second on tap (respects reduced motion — silence only) Architecture Home source `poets-room.html` + `poets-room-quotes.json`; hub `public/poets.html` + `public/poets-room-quotes.json`. Ground-truth `routes.poetsLobby`. No `/poets`→`poets.html` in `_redirects` (CF Pages ping-pong). P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Poets Room Back to Hub P31 Labs · Poets Room Hub Poets Room Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Static No crew APIs localStora","keywords":"poets Poets Room — Void, a daily line, a shelf — nothing to verify here but the door First paint is quiet; one quote fades in by calendar day (`poets-room-quotes.json`)"},{"id":"c92","door":"prism","title":"PRISM — Sensory Diet Synthesizer","url":"/prism-about.html","text":"Brown noise and pink noise generation — locally synthesized, no streaming required PRISM — Sensory Diet Synthesizer | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; PRISM LIVE · Product 🌈 PRISM Sensory Diet Synthesizer LIVE utility Web Audio API WebGL Binaural Beats Launch PRISM Back to Hub What it is Brown noise and pink noise generation — locally synthesized, no streaming required. Sensory Diet Synthesizer is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Brown/pink noise generated from white noise via IIR filter in Web Audio API. Binaural beats use two OscillatorNodes with 40 Hz offset. WebGL color field is a fragment shader with simplex noise. Core features Brown noise and pink noise generation — locally synthesized, no streaming required Binaural beats: delta (2 Hz), theta (6 Hz), alpha (10 Hz), gamma (40 Hz) Slow-breathing color bath: WebGL color field that cycles at breath rate Over-stimulated vs. under-stimulated calibration: different presets for each state Offline PWA — install it and use it on the plane without Wi-Fi How to use 1 Set your state: Over-stimulated (too much input) or Under-stimulated (flat/bored) 2 PRISM selects the optimal noise color and binaural beat frequency automatically 3 Adjust the color bath speed with the slider — slower for dysregulation, faster for under-stim Architecture Brown/pink noise generated from white noise via IIR filter in Web Audio API. Binaural beats use two OscillatorNodes with 40 Hz offset. WebGL color field is a fragment shader with simplex noise. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch PRISM Back to Hub P31 Labs · PRISM Hub PRISM Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Web Audio API WebGL Binaural Beats Offline PWA Links Launch application Source code phosphorus31.org Support P31 Labs Related 🕸️ Somatic Anchor 🎮 SIGNAL 🗣️ ECHO Bui","keywords":"prism PRISM — Sensory Diet Synthesizer Brown noise and pink noise generation — locally synthesized, no streaming required"},{"id":"c93","door":"resonance","title":"RESONANCE — Conversation-to-Music Engine","url":"/resonance-about.html","text":"Type any word or paste text — each word hashes to a pentatonic note at P31's 172.35 Hz base RESONANCE — Conversation-to-Music Engine | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; RESONANCE LIVE · Product 🎵 RESONANCE Conversation-to-Music Engine LIVE research Web Audio API Pentatonic Synthesis 172.35 Hz P31 NMR Launch RESONANCE Back to Hub What it is Type any word or paste text — each word hashes to a pentatonic note at P31's 172.35 Hz base. Conversation-to-Music Engine is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Web Audio API OscillatorNode + GainNode chain per word. The pentatonic mapping uses a CRC32 hash mod 5. Sentiment scoring is a word-count model against a 2000-word affect lexicon. Core features Type any word or paste text — each word hashes to a pentatonic note at P31's 172.35 Hz base Mood detection shapes synthesis: anxious text triggers minor modes, calm text triggers major Sonic molecule SVG: each word becomes a node, bonds form between semantically close words Coherence tracking across 5 states: chaotic, dissonant, neutral, resonant, coherent Record mode: capture up to 60 seconds of generated music as a WAV blob How to use 1 Type into the text area — music generates as you type 2 Paste a full message to generate a sonic summary of the conversation 3 Watch the SVG molecule form — semantically similar words bond first Architecture Web Audio API OscillatorNode + GainNode chain per word. The pentatonic mapping uses a CRC32 hash mod 5. Sentiment scoring is a word-count model against a 2000-word affect lexicon. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch RESONANCE Back to Hub P31 Labs · RESONANCE Hub RESONANCE Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Web Audio API Pentatonic Synthesis 172.35 Hz P31 NMR SVG Molecule Links Launch application Source code phosphorus31.org Support","keywords":"resonance RESONANCE — Conversation-to-Music Engine Type any word or paste text — each word hashes to a pentatonic note at P31's 172.35 Hz base"},{"id":"c94","door":"signal","title":"SIGNAL — Stim Room &amp; Mini Games","url":"/signal-about.html","text":"WebGL fluid pool: drag to create flow currents — infinite stimming surface SIGNAL — Stim Room & Mini Games | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; SIGNAL LIVE · Product 🎮 SIGNAL Stim Room & Mini Games LIVE core WebGL Shaders Cellular Automaton Rapier.js Launch SIGNAL Back to Hub What it is WebGL fluid pool: drag to create flow currents — infinite stimming surface. Stim Room & Mini Games is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. WebGL fluid is a Navier-Stokes solver in GLSL. Cellular automaton uses a 512×512 buffer with double-buffering for smooth updates. Rapier.js handles the spoon jar physics. Core features WebGL fluid pool: drag to create flow currents — infinite stimming surface Cellular sand mandala: grow and erase fractal sand patterns with touch or mouse Spoon physics jar: add and remove spoon objects, watch them settle under gravity 4 mini games: Kenosis Hop, Element Match, Resonance Catch, Sierpinski Builder 12-spoon budget: all games designed to cost ≤2 spoons each — no marathon sessions How to use 1 Open SIGNAL and pick a stim surface from the top bar 2 The fluid pool is open-ended — there is no goal, no timer, no score 3 Mini games are in the Games tab — each one ends automatically at the 2-spoon mark Architecture WebGL fluid is a Navier-Stokes solver in GLSL. Cellular automaton uses a 512×512 buffer with double-buffering for smooth updates. Rapier.js handles the spoon jar physics. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch SIGNAL Back to Hub P31 Labs · SIGNAL Hub SIGNAL Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack WebGL Shaders Cellular Automaton Rapier.js 12-Spoon Budget Links Launch application Source code phosphorus31.org Support P31 Labs Related 🌈 PRISM 🗣️ ECHO Build Intake and bake on the same verify chain—not a decoupled mock. Create One lab surface, hones","keywords":"signal SIGNAL — Stim Room &amp; Mini Games WebGL fluid pool: drag to create flow currents — infinite stimming surface"},{"id":"c95","door":"social-molecules","title":"Social Molecules — C.A.R.S. — Collaborative Affective Realtime Sim","url":"/social-molecules-about.html","text":"Operator shell: boot screen, load menu (live sim vs mesh assistant), and settings without leaving the page Social Molecules — C.A.R.S. — Collaborative Affective Realtime Sim | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Social Molecules LIVE · Product ⚗️ Social Molecules C.A.R.S. — Collaborative Affective Realtime Sim LIVE social SoupEngine p31.carsWire/0.1.0 WebSocket Launch Social Molecules Back to Hub What it is Operator shell: boot screen, load menu (live sim vs mesh assistant), and settings without leaving the page. C.A.R.S. — Collaborative Affective Realtime Sim is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Static hub cockpit framing the home-repo C.A.R.S. stack (soup vertical on bonding Pages deploy). Message kinds for multiplayer are locked via cars-contract/p31.carsWire.json + npm run verify:cars-wire in the bonding-soup repo; labTelemetry is an extra client-to-mock type for Sovereign Lab only (not sent by soup.ts). Core features Operator shell: boot screen, load menu (live sim vs mesh assistant), and settings without leaving the page Field chat staging — glass transcript, role chips, timestamps; pairs with Mesh Start for real k4-personal /chat Load menu: same-origin Sovereign Lab (/lab) and browser slicer (/slicer); lab mirrors from bonding-soup via npm run sync:sovereign-p31ca Live edge ribbon: /p31-mesh-constants.json + probes k4-personal /api/health and same-origin hub /api/health (refresh; no secrets) Neuro-inclusive defaults: prefers-reduced-motion seeds first-visit prefs; skip link to console; Escape closes overlays; modal focus returns to opener Local prefs: reduced motion, compact transcript density, ethics strip visibility (persisted) Wire: mock WebSocket accepts labTelemetry (Sovereign Lab) into room eventLog — cars-contract/p31.carsWire.json + verify:cars-wire Deep links to the live soup vertical, BONDING (3D graph), and the canonical C.A.R.S. wire catalog How to use 1 Dismiss the boot veil, open Load menu — choose Live C.A.R.S. sim, Mesh assistant, Sovereign Lab, browser slicer, or stay in Field chat 2 Use Settings (gear) ","keywords":"social-molecules Social Molecules — C.A.R.S. — Collaborative Affective Realtime Sim Operator shell: boot screen, load menu (live sim vs mesh assistant), and settings without leaving the page"},{"id":"c96","door":"sovereign","title":"SOVEREIGN — Sovereign OS 3D Cockpit","url":"/sovereign-about.html","text":"Interactive 3D cockpit: Tetrix Group, SIC-POVM vectors, Bloch sphere rendered simultaneously SOVEREIGN — Sovereign OS 3D Cockpit | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; SOVEREIGN LIVE · Product 🔑 SOVEREIGN Sovereign OS 3D Cockpit LIVE core Three.js r183 Bloom Postprocessing Jitterbug Transform Launch SOVEREIGN Back to Hub What it is Interactive 3D cockpit: Tetrix Group, SIC-POVM vectors, Bloch sphere rendered simultaneously. Sovereign OS 3D Cockpit is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Three.js r183 with UnrealBloomPass for selective glow. The Jitterbug transform is an interpolated animation across 48 frames of vertex positions derived from Fuller's original geometry. Core features Interactive 3D cockpit: Tetrix Group, SIC-POVM vectors, Bloch sphere rendered simultaneously Isotropic Vector Matrix visualization — the cuboctahedron in wireframe bloom Jitterbug transformation: animate the cuboctahedron-to-octahedron collapse in real time Bloom postprocessing with Three.js UnrealBloomPass — edge glow on active vectors Click any geometric node to inspect its SIC-POVM coordinates and orbit parameters How to use 1 Orbit with left-click drag, zoom with scroll, pan with right-click drag 2 Click the Jitterbug button to animate the cuboctahedron-to-octahedron transformation 3 Click any SIC-POVM vector to freeze it and read its coordinate in the inspector panel Architecture Three.js r183 with UnrealBloomPass for selective glow. The Jitterbug transform is an interpolated animation across 48 frames of vertex positions derived from Fuller's original geometry. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch SOVEREIGN Back to Hub P31 Labs · SOVEREIGN Hub SOVEREIGN Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Three.js r183 Bloom Postprocessing Jitterbug Transform SIC-POVM Links Launch applicatio","keywords":"sovereign SOVEREIGN — Sovereign OS 3D Cockpit Interactive 3D cockpit: Tetrix Group, SIC-POVM vectors, Bloch sphere rendered simultaneously"},{"id":"c97","door":"spaceship-earth","title":"Spaceship Earth — Sovereign Command Center","url":"/spaceship-earth-about.html","text":"WebAssembly PostgreSQL (PGlite) persists via IndexedDB — full SQL offline Spaceship Earth — Sovereign Command Center | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Spaceship Earth LIVE · Product 🌐 Spaceship Earth Sovereign Command Center LIVE core PWA PGlite (WASM PostgreSQL) Three.js R3F T R I P E R L4 Certification Score: 96/100 Launch Spaceship Earth Back to Hub What it is WebAssembly PostgreSQL (PGlite) persists via IndexedDB — full SQL offline. Sovereign Command Center is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. PGlite runs PostgreSQL in a Web Worker via WASM. Service Worker caches the full asset bundle. The R3F tetrahedron reflects live mesh state from k4-cage via periodic fetch. Core features WebAssembly PostgreSQL (PGlite) persists via IndexedDB — full SQL offline Three.js R3F renders the K₄ topology in real time PWA: installable, offline-capable, no cloud dependency after first load Panels: telemetry, mesh health, spoon ledger, legal timeline, mission log Exports: session JSON, CSV for court, PDF summary How to use 1 Install as a PWA from the browser prompt — appears on your home screen 2 First launch pulls live telemetry from the k4-cage worker; all subsequent state is local 3 Use the mission log panel to annotate events — each entry is SHA-256 timestamped Architecture PGlite runs PostgreSQL in a Web Worker via WASM. Service Worker caches the full asset bundle. The R3F tetrahedron reflects live mesh state from k4-cage via periodic fetch. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Spaceship Earth Back to Hub P31 Labs · Spaceship Earth Hub Spaceship Earth Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. TRIPER Certification T R I P E R Tetra Level: 4/4 Score: 96/100 Tech stack PWA PGlite (WASM PostgreSQL) Three.js R3F IndexedDB Service Worker Links Launch application Source code phosphorus31.","keywords":"spaceship-earth Spaceship Earth — Sovereign Command Center WebAssembly PostgreSQL (PGlite) persists via IndexedDB — full SQL offline"},{"id":"c98","door":"super-centaur","title":"Super-Centaur pack — Data health · MAP · mesh fleet · sovereignty","url":"/super-centaur-about.html","text":"Single operator page tying SUPER-CENTAUR, monetary pipeline (MAP), and ecosystem CWPs to live p31ca URLs Super-Centaur pack — Data health · MAP · mesh fleet · sovereignty | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; Super-Centaur pack LIVE · Product 🜊 Super-Centaur pack Data health · MAP · mesh fleet · sovereignty LIVE infra Static HTML Machine JSON CWP index Launch Super-Centaur pack Back to Hub What it is Single operator page tying SUPER-CENTAUR, monetary pipeline (MAP), and ecosystem CWPs to live p31ca URLs. Data health · MAP · mesh fleet · sovereignty is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Verifier reads integration-handoff/CWP-30/mesh-bridge.ts and requires public/p31-super-centaur-pack.json meshFleet to match. Ring D deploy (phosphorus SUPER-CENTAUR) is out of scope for this static surface. Core features Single operator page tying SUPER-CENTAUR, monetary pipeline (MAP), and ecosystem CWPs to live p31ca URLs Mesh fleet table and FLEET_HEALTH_PATHS kept in lockstep with CWP-30 mesh-bridge.ts via verify:super-centaur-pack Short entry /centaur and /super-centaur redirect to the starter; machine manifest at p31-super-centaur-pack.json How to use 1 Open the starter page from the hub or /centaur — skim structural, data, and financial sections 2 Use the JSON pack for agents and scripts; follow repoPath links into Andromeda for full CWPs 3 After changing mesh-bridge MESH URLs or health paths, run npm run verify:super-centaur-pack in p31ca Architecture Verifier reads integration-handoff/CWP-30/mesh-bridge.ts and requires public/p31-super-centaur-pack.json meshFleet to match. Ring D deploy (phosphorus SUPER-CENTAUR) is out of scope for this static surface. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch Super-Centaur pack Back to Hub P31 Labs · Super-Centaur pack Hub Super-Centaur pack Support GitHub Status LIVE Deployed on P31 Labs i","keywords":"super-centaur Super-Centaur pack — Data health · MAP · mesh fleet · sovereignty Single operator page tying SUPER-CENTAUR, monetary pipeline (MAP), and ecosystem CWPs to live p31ca URLs"},{"id":"c99","door":"tactile","title":"TACTILE — Mechanical Keyboard Builder &amp; Typing Lab","url":"/tactile-about.html","text":"Per-key switch assignment: Kailh Choc Navy, Brown, Red, Blue — each with authentic audio TACTILE — Mechanical Keyboard Builder & Typing Lab | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; TACTILE LIVE · Product ⌨️ TACTILE Mechanical Keyboard Builder & Typing Lab LIVE utility Web Audio API Haptics Keyboard Layout Engine Launch TACTILE Back to Hub What it is Per-key switch assignment: Kailh Choc Navy, Brown, Red, Blue — each with authentic audio. Mechanical Keyboard Builder & Typing Lab is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Web Audio API synthesizes mechanical switch sounds from recorded samples played at the switch-appropriate frequency. The layout engine represents the keyboard as a sparse grid map. Core features Per-key switch assignment: Kailh Choc Navy, Brown, Red, Blue — each with authentic audio 4 keycap themes: Void (dark), Cloud (light), Butter (gold), Phosphorus (green) Educational typing tests: no timers, no failure states, no WPM pressure 3 typing games: Resonance Typer, Word Garden, Character Cascade — all AuDHD-friendly Export keyboard layout as JSON — bring it to the switches.html configurator How to use 1 Open TACTILE — a 65% layout appears with default Choc Navy switches 2 Click any key to change its switch type — click-clack audio previews the switch 3 Switch to Typing Lab for practice sessions — no timer, no WPM, just flow Architecture Web Audio API synthesizes mechanical switch sounds from recorded samples played at the switch-appropriate frequency. The layout engine represents the keyboard as a sparse grid map. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch TACTILE Back to Hub P31 Labs · TACTILE Hub TACTILE Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Web Audio API Haptics Keyboard Layout Engine Typing Games Links Launch application Source code phosphorus31.org Suppo","keywords":"tactile TACTILE — Mechanical Keyboard Builder &amp; Typing Lab Per-key switch assignment: Kailh Choc Navy, Brown, Red, Blue — each with authentic audio"},{"id":"c100","door":"tether","title":"TETHER — Spatial Executive Function Map","url":"/tether-about.html","text":"Tasks rendered as planets orbiting a sun — gravity well = cognitive energy cost TETHER — Spatial Executive Function Map | P31 Labs P31 P31 Labs .. Hub GitHub Launch &#8212; TETHER LIVE · Product 🪐 TETHER Spatial Executive Function Map LIVE core Matter.js Canvas API IndexedDB Launch TETHER Back to Hub What it is Tasks rendered as planets orbiting a sun — gravity well = cognitive energy cost. Spatial Executive Function Map is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns. Matter.js provides the gravitational simulation. Tasks stored as IndexedDB records keyed by UUID. The canvas re-renders on every requestAnimationFrame for smooth orbital motion. Core features Tasks rendered as planets orbiting a sun — gravity well = cognitive energy cost Replaces linear to-do lists (PDA trigger) with physics-based spatial grouping High-energy tasks orbit far out, low-energy tasks cluster near center Tap a planet to expand its task detail — swipe to defer to a later orbit IndexedDB persistence: tasks survive browser close without a cloud sync How to use 1 Add a task: tap the center sun and type — it launches as a planet immediately 2 Rate the cognitive cost (1–5) — the planet's orbit radius sets automatically 3 Drag a planet inward when you're ready to tackle it — it enters the \"active\" ring Architecture Matter.js provides the gravitational simulation. Tasks stored as IndexedDB records keyed by UUID. The canvas re-renders on every requestAnimationFrame for smooth orbital motion. P31 Labs, Inc. (Georgia nonprofit, EIN 42-1888158) builds open tools for cognitive sovereignty, communication clarity, and family coordination. This page is technical documentation, not medical or legal advice. Mission and support: phosphorus31.org . Launch TETHER Back to Hub P31 Labs · TETHER Hub TETHER Support GitHub Status LIVE Deployed on P31 Labs infrastructure · EIN 42-1888158. Tech stack Matter.js Canvas API IndexedDB Gravity Well Physics Links Launch application Source code phosphorus31.org Support P31 Labs Related 🌐 Spaceship Earth 🎮 SIGNAL Build Intake and bake on the same verify chain—","keywords":"tether TETHER — Spatial Executive Function Map Tasks rendered as planets orbiting a sun — gravity well = cognitive energy cost"},{"id":"c101","door":"research","title":"The Tetrahedron Protocol: A Grand Unified Theory of Structural Resilience","url":"https://doi.org/10.5281/zenodo.19004485","text":"The Tetrahedron Protocol: A Grand Unified Theory of Structural Resilience. Series I. DOI: 10.5281/zenodo.19004485. ","keywords":"I defensive The Tetrahedron Protocol: A Grand Unified Theory of Structural Resilience"},{"id":"c102","door":"research","title":"Strategic Convergence of Geometric Security and Cognitive Resilience: P31 Labs Genesis Whitepaper","url":"https://doi.org/10.5281/zenodo.19411363","text":"Strategic Convergence of Geometric Security and Cognitive Resilience: P31 Labs Genesis Whitepaper. Series II. DOI: 10.5281/zenodo.19411363. ","keywords":"II II Strategic Convergence of Geometric Security and Cognitive Resilience: P31 Labs Genesis Whitepaper"},{"id":"c103","door":"research","title":"Consciousness, Memory, and the Architecture of Self-Preservation: Neuroscientific Foundations for Cognitive Prosthetic Design","url":"https://doi.org/10.5281/zenodo.19416491","text":"Consciousness, Memory, and the Architecture of Self-Preservation: Neuroscientific Foundations for Cognitive Prosthetic Design. Series III. DOI: 10.5281/zenodo.19416491. ","keywords":"III III Consciousness, Memory, and the Architecture of Self-Preservation: Neuroscientific Foundations for Cognitive Prosthetic Design"},{"id":"c104","door":"research","title":"The Universal Bridge at the Phase Transition: Kuramoto Criticality, Maxwell Rigidity, and the Topology of Neurodivergent Cognition","url":"https://doi.org/10.5281/zenodo.19503542","text":"The Universal Bridge at the Phase Transition: Kuramoto Criticality, Maxwell Rigidity, and the Topology of Neurodivergent Cognition. Series IV. DOI: 10.5281/zenodo.19503542. ","keywords":"IV IV The Universal Bridge at the Phase Transition: Kuramoto Criticality, Maxwell Rigidity, and the Topology of Neurodivergent Cognition"},{"id":"c105","door":"research","title":"The Borderland Strategy and Estuarine Sensory Gating: Environmental Psychology as Cognitive Infrastructure","url":"https://doi.org/10.5281/zenodo.19782977","text":"The Borderland Strategy and Estuarine Sensory Gating: Environmental Psychology as Cognitive Infrastructure. Series V. DOI: 10.5281/zenodo.19782977. ","keywords":"V V The Borderland Strategy and Estuarine Sensory Gating: Environmental Psychology as Cognitive Infrastructure"},{"id":"c106","door":"research","title":"Topological History of Camden County: Institutional Capture and the K₄ Counter-Architecture","url":"https://doi.org/10.5281/zenodo.19782979","text":"Topological History of Camden County: Institutional Capture and the K₄ Counter-Architecture. Series VI. DOI: 10.5281/zenodo.19782979. ","keywords":"VI VI Topological History of Camden County: Institutional Capture and the K₄ Counter-Architecture"},{"id":"c107","door":"research","title":"Neuro-Kinship and the Impedance Mismatch: Communication Topology Across Divergent Neurotypes","url":"https://doi.org/10.5281/zenodo.19782981","text":"Neuro-Kinship and the Impedance Mismatch: Communication Topology Across Divergent Neurotypes. Series VII. DOI: 10.5281/zenodo.19782981. ","keywords":"VII VII Neuro-Kinship and the Impedance Mismatch: Communication Topology Across Divergent Neurotypes"},{"id":"c108","door":"research","title":"The Value-Form Problem: Self-Domestication, Proactive Strategy, and the L.O.V.E. Use-Value Ledger","url":"https://doi.org/10.5281/zenodo.19782983","text":"The Value-Form Problem: Self-Domestication, Proactive Strategy, and the L.O.V.E. Use-Value Ledger. Series VIII. DOI: 10.5281/zenodo.19782983. ","keywords":"VIII VIII The Value-Form Problem: Self-Domestication, Proactive Strategy, and the L.O.V.E. Use-Value Ledger"},{"id":"c109","door":"research","title":"Quantum Social Science: The Authorized Observer Problem and the Spinning Coin Phenomenology","url":"https://doi.org/10.5281/zenodo.19782985","text":"Quantum Social Science: The Authorized Observer Problem and the Spinning Coin Phenomenology. Series IX. DOI: 10.5281/zenodo.19782985. ","keywords":"IX IX Quantum Social Science: The Authorized Observer Problem and the Spinning Coin Phenomenology"},{"id":"c110","door":"research","title":"Linguistic Thermodynamics and Synergetic Accounting: The Landauer Limit of Zero-Work Syntax","url":"https://doi.org/10.5281/zenodo.19782987","text":"Linguistic Thermodynamics and Synergetic Accounting: The Landauer Limit of Zero-Work Syntax. Series X. DOI: 10.5281/zenodo.19782987. ","keywords":"X X Linguistic Thermodynamics and Synergetic Accounting: The Landauer Limit of Zero-Work Syntax"},{"id":"c111","door":"research","title":"The L.O.V.E. Protocol: Biometric Consensus and the Financialization of Care in Assistive Technology","url":"https://doi.org/10.5281/zenodo.19782971","text":"The L.O.V.E. Protocol: Biometric Consensus and the Financialization of Care in Assistive Technology. Series XI. DOI: 10.5281/zenodo.19782971. ","keywords":"XI XI The L.O.V.E. Protocol: Biometric Consensus and the Financialization of Care in Assistive Technology"},{"id":"c112","door":"research","title":"The Sovereign Stack: Open-Source Hardware–Software Architecture for Neurodivergent Assistive Technology","url":"https://doi.org/10.5281/zenodo.19782969","text":"The Sovereign Stack: Open-Source Hardware–Software Architecture for Neurodivergent Assistive Technology. Series XII. DOI: 10.5281/zenodo.19782969. ","keywords":"XII XII The Sovereign Stack: Open-Source Hardware–Software Architecture for Neurodivergent Assistive Technology"},{"id":"c113","door":"research","title":"The Abdication Protocol and Legal Faraday Cage: Structural Containment for High-Conflict Jurisdictions","url":"https://doi.org/10.5281/zenodo.19782989","text":"The Abdication Protocol and Legal Faraday Cage: Structural Containment for High-Conflict Jurisdictions. Series XIII. DOI: 10.5281/zenodo.19782989. ","keywords":"XIII XIII The Abdication Protocol and Legal Faraday Cage: Structural Containment for High-Conflict Jurisdictions"},{"id":"c114","door":"research","title":"Centennial Sync: Fuller's 50-Year Prediction and the P31 Implementation Timeline","url":"https://doi.org/10.5281/zenodo.19782991","text":"Centennial Sync: Fuller's 50-Year Prediction and the P31 Implementation Timeline. Series XIV. DOI: 10.5281/zenodo.19782991. ","keywords":"XIV XIV Centennial Sync: Fuller's 50-Year Prediction and the P31 Implementation Timeline"},{"id":"c115","door":"research","title":"The Resonant Mind: HRV Biofeedback and the 0.1 Hz Cognitive Anchor","url":"https://doi.org/10.5281/zenodo.19782993","text":"The Resonant Mind: HRV Biofeedback and the 0.1 Hz Cognitive Anchor. Series XV. DOI: 10.5281/zenodo.19782993. ","keywords":"XV XV The Resonant Mind: HRV Biofeedback and the 0.1 Hz Cognitive Anchor"},{"id":"c116","door":"research","title":"The Incense Metaphor: Olfactory Anchoring and Ritual in Cognitive Prosthetic Design","url":"https://doi.org/10.5281/zenodo.19782995","text":"The Incense Metaphor: Olfactory Anchoring and Ritual in Cognitive Prosthetic Design. Series XVI. DOI: 10.5281/zenodo.19782995. ","keywords":"XVI XVI The Incense Metaphor: Olfactory Anchoring and Ritual in Cognitive Prosthetic Design"},{"id":"c117","door":"research","title":"The Architecture of Chaos: Structured Entropy and the Parking Lot Protocol","url":"https://doi.org/10.5281/zenodo.19782997","text":"The Architecture of Chaos: Structured Entropy and the Parking Lot Protocol. Series XVII. DOI: 10.5281/zenodo.19782997. ","keywords":"XVII XVII The Architecture of Chaos: Structured Entropy and the Parking Lot Protocol"},{"id":"c118","door":"research","title":"The G.O.D. DAO Constitution and the Slashing Engine: Governance Primitives for Assistive-Technology Commons","url":"https://doi.org/10.5281/zenodo.19782999","text":"The G.O.D. DAO Constitution and the Slashing Engine: Governance Primitives for Assistive-Technology Commons. Series XVIII. DOI: 10.5281/zenodo.19782999. ","keywords":"XVIII XVIII The G.O.D. DAO Constitution and the Slashing Engine: Governance Primitives for Assistive-Technology Commons"},{"id":"c119","door":"research","title":"The SOULSAFE Protocol: High-Reliability Engineering for Human–AI Cognitive Symbiosis","url":"https://doi.org/10.5281/zenodo.19782973","text":"The SOULSAFE Protocol: High-Reliability Engineering for Human–AI Cognitive Symbiosis. Series XIX. DOI: 10.5281/zenodo.19782973. ","keywords":"XIX XIX The SOULSAFE Protocol: High-Reliability Engineering for Human–AI Cognitive Symbiosis"},{"id":"c120","door":"research","title":"The Trimtab Declaration and Safe Geometry: Minimum Leverage for Maximum Human Flourishing","url":"https://doi.org/10.5281/zenodo.19783001","text":"The Trimtab Declaration and Safe Geometry: Minimum Leverage for Maximum Human Flourishing. Series XX. DOI: 10.5281/zenodo.19783001. ","keywords":"XX XX The Trimtab Declaration and Safe Geometry: Minimum Leverage for Maximum Human Flourishing"},{"id":"c121","door":"research","title":"Procedural Anomalies, Inchoate Judgments, and ADA Title II Violations in Georgia Domestic Relations Proceedings: A Public Interest Analysis","url":"https://doi.org/10.5281/zenodo.19432309","text":"Procedural Anomalies, Inchoate Judgments, and ADA Title II Violations in Georgia Domestic Relations Proceedings: A Public Interest Analysis. DOI: 10.5281/zenodo.19432309. ","keywords":"undefined legal-ga-procedures Procedural Anomalies, Inchoate Judgments, and ADA Title II Violations in Georgia Domestic Relations Proceedings: A Public Interest Analysis"},{"id":"c122","door":"research","title":"The Architecture of Coercive Control: Systemic Abuse in High-Conflict Domestic Relations Proceedings - A Case Study in Neurodivergent Targeting, Legal Weaponization, and Institutional Failure","url":"https://doi.org/10.5281/zenodo.19432313","text":"The Architecture of Coercive Control: Systemic Abuse in High-Conflict Domestic Relations Proceedings - A Case Study in Neurodivergent Targeting, Legal Weaponization, and Institutional Failure. DOI: 10.5281/zenodo.19432313. ","keywords":"undefined legal-coercive-control The Architecture of Coercive Control: Systemic Abuse in High-Conflict Domestic Relations Proceedings - A Case Study in Neurodivergent Targeting, Legal Weaponization, and Institutional Failure"},{"id":"c123","door":"integrations","title":"Home Assistant","url":"https://www.home-assistant.io/","text":"Home Assistant: Automation + device UI (local-first) License: Apache-2.0.","keywords":"Home Assistant Automation + device UI (local-first) Apache-2.0"},{"id":"c124","door":"integrations","title":"Eclipse Mosquitto","url":"https://mosquitto.org/","text":"Eclipse Mosquitto: MQTT broker License: EPL-2.0.","keywords":"Eclipse Mosquitto MQTT broker EPL-2.0"},{"id":"c125","door":"integrations","title":"ESPHome","url":"https://esphome.io/","text":"ESPHome: Firmware for ESP32 / sensors License: MIT.","keywords":"ESPHome Firmware for ESP32 / sensors MIT"},{"id":"c126","door":"integrations","title":"Zigbee2MQTT","url":"https://www.zigbee2mqtt.io/","text":"Zigbee2MQTT: Zigbee ↔ MQTT License: GPL-3.0.","keywords":"Zigbee2MQTT Zigbee ↔ MQTT GPL-3.0"},{"id":"c127","door":"integrations","title":"Node-RED","url":"https://nodered.org/","text":"Node-RED: Flow automation / HITL routing License: Apache-2.0.","keywords":"Node-RED Flow automation / HITL routing Apache-2.0"},{"id":"c128","door":"integrations","title":"n8n","url":"https://docs.n8n.io/","text":"n8n: Workflow automation (fair-code) License: Sustainable Use License.","keywords":"n8n Workflow automation (fair-code) Sustainable Use License"},{"id":"c129","door":"integrations","title":"Grafana OSS","url":"https://grafana.com/oss/grafana/","text":"Grafana OSS: Dashboards / history License: AGPL-3.0.","keywords":"Grafana OSS Dashboards / history AGPL-3.0"},{"id":"c130","door":"integrations","title":"Prometheus","url":"https://prometheus.io/docs/","text":"Prometheus: Metrics time-series License: Apache-2.0.","keywords":"Prometheus Metrics time-series Apache-2.0"},{"id":"c131","door":"integrations","title":"restic","url":"https://restic.net/","text":"restic: Encrypted backups License: BSD-2-Clause.","keywords":"restic Encrypted backups BSD-2-Clause"},{"id":"c132","door":"integrations","title":"Syncthing","url":"https://syncthing.net/","text":"Syncthing: Peer-to-peer file sync License: MPL-2.0.","keywords":"Syncthing Peer-to-peer file sync MPL-2.0"},{"id":"c133","door":"integrations","title":"Gadgetbridge","url":"https://codeberg.org/Freeyourgadget/Gadgetbridge","text":"Gadgetbridge: Android ↔ many wearables (no cloud required) License: GPL-3.0.","keywords":"Gadgetbridge Android ↔ many wearables (no cloud required) GPL-3.0"},{"id":"c134","door":"integrations","title":"Fasten (on-prem)","url":"https://github.com/fastenhealth/fasten-onprem","text":"Fasten (on-prem): FHIR health record aggregation (self-hosted) License: GPL-3.0.","keywords":"Fasten (on-prem) FHIR health record aggregation (self-hosted) GPL-3.0"},{"id":"c135","door":"integrations","title":"Meshtastic","url":"https://meshtastic.org/docs/","text":"Meshtastic: LoRa mesh comms (aligned with mesh research threads) License: GPL-3.0.","keywords":"Meshtastic LoRa mesh comms (aligned with mesh research threads) GPL-3.0"},{"id":"c136","door":"integrations","title":"Mozilla SOPS","url":"https://github.com/getsops/sops","text":"Mozilla SOPS: Encrypted secrets in git (with age) License: MPL-2.0.","keywords":"Mozilla SOPS Encrypted secrets in git (with age) MPL-2.0"},{"id":"c137","door":"policy","title":"Creator Economy / Platform Fee Policy","url":"/creator-economy.json","text":"{\"schema\":\"p31.creatorEconomy/1.0.0\",\"version\":\"1.0.0\",\"updated\":\"2026-04-27\",\"operator\":{\"entity\":\"P31 Labs, Inc.\",\"ein\":\"42-1888158\",\"status\":\"Georgia domestic nonprofit, 501(c)(3) pending\"},\"platformFee\":{\"rate\":0,\"unit\":\"fraction\",\"note\":\"P31 Labs charges no platform fee. This file is the authoritative, CI-verified disclosure. Any change requires a commit and a passing verify:economy run.\"},\"paymentProcessing\":{\"provider\":\"Stripe\",\"route\":\"p31ca MAP: Stripe Payment Link (buy.stripe.com) optional client_reference_id; donate-api Worker optional for programmatic Checkout + webhooks\",\"processorFeeCard\":\"2.9% + $0.30 per successful charge (Stripe standard rate, not set by P31 Labs)\",\"processorFeeACH\":\"0.8%, max $5.00 per transfer (Stripe ACH rate)\",\"note\":\"Processor fees are set by Stripe and paid directly to Stripe. P31 Labs does not mark them up.\"},\"revenueShare\":{\"creator\":1,\"platform\":0,\"unit\":\"fraction\",\"note\":\"Creators retain 100% of gross revenue minus processor fees. P31 Labs takes no revenue share in schema version 1.0.0.\"},\"geodesicRoom\":{\"accessFee\":0,\"note\":\"K4 live rooms are free. No paywall, no in-room purchases, no ads. Public rooms are open by room ID.\"},\"transparency\":{\"publicDisclosure\":true,\"ciVerified\":true,\"verifierScript\":\"scripts/verify-creator-economy.mjs\",\"groundTruthPath\":\"ground-truth/creator-economy.json\",\"publicEndpoint\":\"/creator-economy.json\",\"changePolicy\":\"Any fee change requires: (1) commit to this file, (2) passing verify:economy in CI, (3) 30-day advance notice post to https://p31ca.org/changelog before taking effect.\"},\"version1Constraints\":[\"platformFee.rate must equal 0.0\",\"revenueShare.creator must equal 1.0\",\"revenueShare.platform must equal 0.0\",\"geodesicRoom.accessFee must equal 0.0\"]}","keywords":"creator economy platform fee policy revenue nonprofit"},{"id":"c138","door":"fleet","title":"live fleet manifest","url":"/p31-live-fleet.json","text":"{\"_comment\":\"Single bundle of live sites + Worker fleet. Mesh/payment URLs MUST match p31-constants.json; allowlist names MUST match andromeda/software/p31ca/security/worker-allowlist.json. After changing constants: npm run apply:constants && npm run verify:constants. defaultWorkersDev uses account subdomain trimtab-signal — confirm with wrangler or live GET if a Worker uses another account.\",\"schema\":\"p31.liveFleet/1.0.0\",\"updated\":\"2026-05-04\",\"sources\":[\"p31-constants.json\",\"p31-ecosystem.json\",\"p31-discord-bot-swarm.json\",\"andromeda/software/p31ca/public/p31-public-surface.json\",\"andromeda/software/p31ca/public/p31-integrations.json\",\"andromeda/software/p31ca/security/worker-allowlist.json\",\"workers/p31-ecosystem-bridge/wrangler.toml\",\"phosphorus31.org/apps/buffer-api/wrangler.toml\"],\"sites\":{\"technicalHub\":{\"url\":\"https://p31ca.org/\",\"kind\":\"cloudflare-pages\",\"note\":\"Astro hub + static public/\"},\"operatorShell\":{\"url\":\"https://p31ca.org/ops/\",\"kind\":\"pages-route\",\"note\":\"Glass probes, density dial; CWP-P31-UI\"},\"integrationsBridge\":{\"url\":\"https://p31ca.org/integrations\",\"kind\":\"pages-route\",\"note\":\"OSS catalog + endpoint slots; driven by p31-constants.json integrations → p31-integrations.json\"},\"orgMarketing\":{\"url\":\"https://phosphorus31.org/\",\"kind\":\"separate-repo-deploy\",\"statusJson\":\"https://phosphorus31.org/p31-status.json\",\"note\":\"Not p31ca; parallel site. Serves p31-status.json for cross-site reads.\"},\"bondingVertical\":{\"url\":\"https://bonding.p31ca.org/\",\"kind\":\"pages-or-worker-front\",\"note\":\"p31-constants bonding.publicUrl\"},\"publicMachineIndexes\":{\"publicSurface\":\"https://p31ca.org/p31-public-surface.json\",\"creatorEconomy\":\"https://p31ca.org/creator-economy.json\",\"contractRegistry\":\"https://p31ca.org/p31-contract-registry.json\",\"meshConstants\":\"https://p31ca.org/p31-mesh-constants.json\",\"note\":\"Hub ships JSON contracts; schema p31.publicSurface/1.0.0\"},\"featuredPublicPaths\":[{\"path\":\"/demos\",\"note\":\"Demo labs index (static demos)\"},{\"path\":\"/visuals\",\"note\":\"Mind-bending visual demos — K₄ mesh · alignment graph · Larmor pulse · glass box (p31.demosIndex)\"},{\"path\":\"/glass-box\",\"note\":\"Public transparency terminal — synthetic CLI playbacks + verify pulse + promoted reports (p31.glassBox)\"},{\"path\":\"/contracts\",\"note\":\"Contract builder UI + alignment-derived registry (p31.contractRegistry)\"},{\"path\":\"/composer\",\"note\":\"Quantum composer — K₄ Web A","keywords":"p31-live-fleet.json fleet manifest workers bindings entities"},{"id":"c139","door":"fleet","title":"fleet entities manifest","url":"/p31-fleet-entities.json","text":"{\"schema\":\"p31.fleetEntities/1.0.0\",\"updated\":\"2026-05-04\",\"sourceNotes\":\"Merged from published p31-live-fleet.json (verified + allowlisted Workers) plus static bot/cortex-agents roster. Probe GETs may be CORS-blocked from the hub origin.\",\"entities\":[{\"slug\":\"bonding-relay\",\"kind\":\"worker\",\"title\":\"bonding-relay\",\"subtitle\":\"BONDING telemetry + rooms; not the vertical Pages front\",\"tier\":\"verified_allowlisted\",\"workersDevUrl\":\"https://bonding-relay.trimtab-signal.workers.dev\",\"prodUrl\":\"\",\"healthPaths\":[\"/health\"],\"meshPaths\":[],\"constantsKey\":\"mesh.bondingRelayWorkerUrl\",\"deployHints\":[\"software/bonding\"],\"probeUrls\":[\"https://bonding-relay.trimtab-signal.workers.dev/health\"],\"hubPagePath\":null,\"registryId\":null},{\"slug\":\"cf-edge-lab\",\"kind\":\"worker\",\"title\":\"cf-edge-lab\",\"subtitle\":\"Workers AI + /api/edge (request.cf) + WebSocket /ws; GET / playground\",\"tier\":\"verified\",\"workersDevUrl\":\"https://cf-edge-lab.trimtab-signal.workers.dev\",\"prodUrl\":\"\",\"healthPaths\":[],\"meshPaths\":[],\"constantsKey\":\"mesh.edgeLabWorkerUrl\",\"deployHints\":[\"packages/cf-edge-lab\"],\"probeUrls\":[\"https://cf-edge-lab.trimtab-signal.workers.dev/api/health\",\"https://cf-edge-lab.trimtab-signal.workers.dev/health\"],\"hubPagePath\":null,\"registryId\":null},{\"slug\":\"command-center\",\"kind\":\"worker\",\"title\":\"command-center\",\"subtitle\":\"EPCP operator glass\",\"tier\":\"verified\",\"workersDevUrl\":\"https://command-center.trimtab-signal.workers.dev\",\"prodUrl\":\"\",\"healthPaths\":[\"/api/health\"],\"meshPaths\":[],\"constantsKey\":null,\"deployHints\":[\"software/cloudflare-worker/command-center\"],\"probeUrls\":[\"https://command-center.trimtab-signal.workers.dev/api/health\"],\"hubPagePath\":null,\"registryId\":null},{\"slug\":\"cortex-benefits\",\"kind\":\"agent\",\"title\":\"Cortex agent — Benefits\",\"subtitle\":\"Enrollment + subsidy flows\",\"parentWorkerSlug\":\"p31-cortex\",\"registryId\":\"cortex\",\"hubPagePath\":\"/cortex.html\",\"deployHints\":[\"Durable Object in p31-cortex\",\"POST /api/agent/benefits/task queues work\"],\"probeUrls\":[\"https://p31-cortex.trimtab-signal.workers.dev/api/health\",\"https://p31-cortex.trimtab-signal.workers.dev/health\"],\"tier\":\"supplement\"},{\"slug\":\"cortex-content\",\"kind\":\"agent\",\"title\":\"Cortex agent — Content\",\"subtitle\":\"Publishing + canon alignment\",\"parentWorkerSlug\":\"p31-cortex\",\"registryId\":\"cortex\",\"hubPagePath\":\"/cortex.html\",\"deployHints\":[\"Durable Object in p31-cortex\",\"POST /api/agent/content/task queues w","keywords":"p31-fleet-entities.json fleet manifest workers bindings entities"},{"id":"c140","door":"docs","title":"P31 Labs documentation index","url":"/llms.txt","text":"# P31 Labs\n\n> P31 Labs builds neuroinclusive, agent-native infrastructure: a spoon-aware design system, the PHOS companion app, and the p31ca edge platform with an open care economy.\n\n## Pages\n- [Home](https://p31ca.org/) — ownable tech stack for families that build.\n- [About](https://p31ca.org/about/) — mission, team, and nonprofit structure (EIN 42-1888158).\n- [Stack](https://p31ca.org/stack/) — self-owned identity, care economy, open research — the full technical stack.\n- [LOVE](https://p31ca.org/love/) — care-attached credits, two-pool treasury, hash-chain ledger.\n- [Research](https://p31ca.org/research/) — 22 open-access papers on Zenodo (Cognitive Passport, ML-DSA-65, K4 topology).\n- [Docs](https://p31ca.org/docs/) — API, CLI, design system, platform ops, product catalog.\n- [Tools](https://p31ca.org/tools/) — MCP servers, admin gateways, and CLI tooling.\n- [Ask](https://p31ca.org/ask/) — grounded research chat over the entire P31 corpus.\n- [Scene](https://p31ca.org/scene/) — the living dome, a real-time 3D scene rendered in your browser.\n- [System](https://p31ca.org/system/) — live health of the P31 edge infrastructure.\n- [Treasury](https://p31ca.org/treasury/) — revenue ledger, publicly verifiable hash chain.\n- [Arcade](https://p31ca.org/arcade/) — interactive games and simulations.\n- [Blog](https://p31ca.org/blog/) — thoughts on ownable infrastructure and open science.\n- [Sign In](https://p31ca.org/signin/) — sign in with your ownable DID:key.\n- [Sign Up](https://p31ca.org/signup/) — create your ownable DID:key identity.\n\n## Feeds\n- [RSS Feed](https://p31ca.org/rss.xml) — blog posts via RSS 2.0.\n- [llms.txt](https://p31ca.org/llms.txt) — AI-friendly index.\n- [llms-full.txt](https://p31ca.org/llms-full.txt) — complete documentation dump.\n\n## Machine-Readable\n- [nav.json](https://p31ca.org/nav.json) — structured navigation (9 atoms + right controls).\n- [agents.json](https://p31ca.org/.well-known/agents.json) — agent-readability manifest.\n- [security.txt](https://p31ca.org/.well-known/security.txt) — security contact.\n","keywords":"p31 docs index llms documentation getting started architecture security phos cli"}]}