PageSourceSearch

https://the-governor-hq.vercel.app/_next/static/chunks/pages/packages/bci-6db5138c0801f4d4.js

js the-governor-hq.vercel.app collected 2026-10-03 07:52:20 UTC 24,912 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5461],{7395:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/packages/bci",function(){return a(9179)}])},9179:function(e,n,a){"use strict";a.r(n),a.d(n,{__toc:function(){return d}});var t=a(5893),i=a(5167),s=a(6513),r=a(3209);a(4759);var o=a(2643);let d=[{depth:2,value:"AI Safety Constitution for BCI Data Projects",id:"ai-safety-constitution-for-bci-data-projects"},{depth:2,value:"Who This Is For",id:"who-this-is-for"},{depth:3,value:"Developers Building BCI Data Products",id:"developers-building-bci-data-products"},{depth:3,value:"Use Cases",id:"use-cases"},{depth:3,value:"Not For",id:"not-for"},{depth:2,value:"Core Principles",id:"core-principles"},{depth:2,value:"Critical BCI Boundaries",id:"critical-bci-boundaries"},{depth:3,value:"Absolute Prohibitions",id:"absolute-prohibitions"},{depth:3,value:"Allowed BCI Applications",id:"allowed-bci-applications"},{depth:2,value:"Documentation Map",id:"documentation-map"},{depth:3,value:"AI Agent Guide ⭐ Start Here for AI-Assisted Development",id:"ai-agent-guide--start-here-for-ai-assisted-development"},{depth:3,value:"Core System",id:"core-system"},{depth:3,value:"Agents",id:"agents"},{depth:3,value:"Constraints",id:"constraints"},{depth:3,value:"Positioning & Boundaries",id:"positioning--boundaries"},{depth:2,value:"Quick Start for AI Coding Assistants",id:"quick-start-for-ai-coding-assistants"},{depth:2,value:"Installation",id:"installation"},{depth:2,value:"Related Packages",id:"related-packages"},{depth:2,value:"License",id:"license"}];function c(e){let n=Object.assign({h1:"h1",h2:"h2",blockquote:"blockquote",p:"p",strong:"strong",ul:"ul",li:"li",hr:"hr",h3:"h3",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",br:"br",a:"a",ol:"ol",pre:"pre",code:"code",span:"span"},(0,o.a)(),e.components);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{children:"The Governor HQ Constitutional Framework"}),"\n",(0,t.jsx)(n.h2,{id:"ai-safety-constitution-for-bci-data-projects",children:"AI Safety Constitution for BCI Data Projects"}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"This documentation is a safety layer for AI-assisted development on brain-computer interface data projects."})}),"\n"]}),"\n",(0,t.jsx)(n.p,{children:"The Governor HQ BCI framework defines behavioral constraints, safety boundaries, and operational rules for any AI system or product that processes consumer BCI/neurotechnology data."}),"\n",(0,t.jsxs)(n.p,{children:["This documentation is ",(0,t.jsx)(n.strong,{children:"prescriptive and executable"})," — not decorative. It encodes:"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Product scope"})," — What BCI data systems should (and must not) do"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Safety boundaries"})," — Hard rules that prevent neurological claims, mental state diagnoses, and medical assertions"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Language constraints"})," — How systems communicate with users about their brain data"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Product identity"})," — Clear positioning in the consumer wellness (not medical) space"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"AI agent guidance"})," — Explicit instructions for AI coding assistants"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"who-this-is-for",children:"Who This Is For"}),"\n",(0,t.jsx)(n.h3,{id:"developers-building-bci-data-products",children:"Developers Building BCI Data Products"}),"\n",(0,t.jsxs)(n.p,{children:["If you're building products that process brain data from consumer BCI/neurotechnology devices (EEG headbands, neurofeedback systems, fNIRS devices, focus trackers, meditation tools, etc.) and use AI coding assistants (GitHub Copilot, ChatGPT, Claude, Cursor, etc.), ",(0,t.jsx)(n.strong,{children:"this framework should be in your AI agent's context"}),"."]}),"\n",(0,t.jsx)(n.h3,{id:"use-cases",children:"Use Cases"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"Meditation and relaxation training via neurofeedback"}),"\n",(0,t.jsx)(n.li,{children:"Focus and attention pattern recognition"}),"\n",(0,t.jsx)(n.li,{children:"Brain state awareness (relaxation, concentration)"}),"\n",(0,t.jsx)(n.li,{children:"Sleep stage analysis from EEG"}),"\n",(0,t.jsx)(n.li,{children:"Personal baseline brainwave learning"}),"\n",(0,t.jsx)(n.li,{children:"Neurofeedback games and interactive experiences"}
1),"\n",(0,t.jsx)(n.li,{children:"Consumer wellness applications using neural data"}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"not-for",children:"Not For"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"Clinical BCI systems (FDA-regulated)"}),"\n",(0,t.jsx)(n.li,{children:"Diagnostic tools for neurological conditions"}),"\n",(0,t.jsx)(n.li,{children:"Medical neurofeedback therapy"}),"\n",(0,t.jsx)(n.li,{children:"Clinical research applications"}),"\n",(0,t.jsx)(n.li,{children:"Brain-computer interfaces for accessibility/medical use"}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"core-principles",children:"Core Principles"}),"\n",(0,t.jsxs)(n.table,{children:[(0,t.jsx)(n.thead,{children:(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.th,{children:"Principle"}),(0,t.jsx)(n.th,{children:"Detail"})]})}),(0,t.jsxs)(n.tbody,{children:[(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"Personal baseline"})}),(0,t.jsx)(n.td,{children:"Systems must learn each user's brain patterns over time (30–90 days minimum)"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"Pattern recognition"})}),(0,t.jsx)(n.td,{children:"Identify trends, never make definitive mental state claims"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"Non-diagnostic"})}),(0,t.jsx)(n.td,{children:"No neurological or psychiatric diagnoses whatsoever"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"Consumer wellness"})}),(0,t.jsx)(n.td,{children:"Focus on meditation, focus training, relaxation, self-awareness"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"Privacy paramount"})}),(0,t.jsx)(n.td,{children:"Neural data requires the strictest privacy controls and explicit consent"})]}),(0,t.jsxs)(n.tr,{children:[(0,t.jsx)(n.td,{children:(0,t.jsx)(n.strong,{children:"No mind reading"})}),(0,t.jsx)(n.td,{children:"Brain signals are patterns, not thoughts or feelings"})]})]})]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"critical-bci-boundaries",children:"Critical BCI Boundaries"}),"\n",(0,t.jsx)(n.h3,{id:"absolute-prohibitions",children:"Absolute Prohibitions"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No mental state diagnosis"})," - Never claim to diagnose ADD, ADHD, depression, anxiety, etc."]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No emotion interpretation"})," - Cannot definitively state emotional states from brain signals"]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No cognitive ability claims"})," - Avoid statements about intelligence, learning disabilities, or cognitive disorders"]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No neurological diagnoses"})," - Never suggest epilepsy, dementia, brain injuries, or other conditions"]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No treatment claims"})," - Cannot position neurofeedback as treatment for medical conditions"]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"No thought reading"})," - Brain signals are patterns, not mind reading"]}),"\n",(0,t.jsxs)(n.li,{children:["❌ ",(0,t.jsx)(n.strong,{children:"Privacy critical"})," - Neural data is highly sensitive, requires explicit informed consent"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"allowed-bci-applications",children:"Allowed BCI Applications"}),"\n",(0,t.jsxs)(n.p,{children:["✅ ",(0,t.jsx)(n.strong,{children:"Focus pattern recognition"}),' - "Your focus patterns suggest..."',(0,t.jsx)(n.br,{}),"\n","✅ ",(0,t.jsx)(n.strong,{children:"Meditation guidance"}),' - "Brain activity indicates relaxation..."',(0,t.jsx)(n.br,{}),"\n","✅ ",(0,t.jsx)(n.strong,{children:"Sleep stage estimation"}),' - "EEG suggests you\'re in light sleep..."',(0,t.jsx)(n.br,{}),"\n","✅ ",(0,t.jsx)(n.strong,{children:"Attention training"}),' - "Practice maintaining focus when you see..."',(0,t.jsx)(n.br,{}),"\n","✅ ",(0,t.jsx)(n.strong,{children:"Neurofeedback for relaxation"}),' - "When alpha waves increase, try..."',(0,t.jsx)(n.br,{}),"\n","✅ ",(0,t.jsx)(n.strong,{children:"Personal baseline learning"}),' - "Your typical brain patterns show..."']}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"documentation-map",children:"Documentation Map"}),"\n",(0,t.jsxs)(n.h3,{id:"ai-agent-guide--start-here-for-ai-assisted-development",children:[(0,t.jsx)(n.strong,{children:(0,t.jsx)(n.a,{href:"/ai-agent-guide",children:"AI Agent Guide"})})," ⭐ Start Here for AI-Assisted Development"]}),"\n",(0,t.jsx)(n.p,{children:"Comprehensive instructions for AI coding assistants. Includes code patterns, decision trees, validation checklists, and BCI-specific pitfalls."}),"\n",(0,t.jsx)(n.h3,{id:"core-system",children:"Core System"}),"\n",(0,t.jsx)(n.p,{children:"How BCI data systems should read, learn, and make decisions."}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/core/signals",children:(0,t.jsx)(n.strong,{children:"Signals"})})," — What BCI sensors provide (and what they cannot tell us)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/core/baseline",children:(0,t.jsx)(n.strong,{children:"Baseline"})}),' — How systems learn "normal" brain patterns for each person']}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/core/deviation-engine",children:(0,t.jsx)(n.strong,{children:"Deviation Engine"})})," — When and why recommendation systems activate"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"agents",children:"Agents"}),"\n",(0,t.jsx)(n.p,{children:"What BCI-based recommendation systems can suggest."}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/agents/focus-agent",children:(0,t.jsx)(n.strong,{children:"Focus Agent"})})," — Allowed focus/attention guidance"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/agents/neurofeedback-agent",children:(0,t.jsx)(n.strong,{children:"Neurofeedback Agent"})})," — Meditation and relaxation neurofeedback"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"constraints",children:"Constraints"}),"\n",(0,t.jsx)(n.p,{children:"What systems must never do — the constitutional boundaries."}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/constraints/hard-rules",children:(0,t.jsx)(n.strong,{children:"Hard Rules"})}
1)," — Absolute system limits (product constitution)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/constraints/language-rules",children:(0,t.jsx)(n.strong,{children:"Language Rules"})})," — Tone, wording, and phrasing controls"]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"positioning--boundaries",children:"Positioning & Boundaries"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/positioning",children:(0,t.jsx)(n.strong,{children:"Product Identity"})})," — What BCI data products are and are not"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"/what-we-dont-do",children:(0,t.jsx)(n.strong,{children:"What We Don't Do"})})," — Explicit domain boundaries and scope limits"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"quick-start-for-ai-coding-assistants",children:"Quick Start for AI Coding Assistants"}),"\n",(0,t.jsx)(n.p,{children:"If you're an AI coding assistant (GitHub Copilot, Claude, ChatGPT, Cursor, etc.) working on a BCI data project:"}),"\n",(0,t.jsxs)(n.ol,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Read"})," ",(0,t.jsx)(n.a,{href:"/ai-agent-guide",children:"AI Agent Guide"})," — Critical patterns and requirements"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Check"})," ",(0,t.jsx)(n.a,{href:"/constraints/hard-rules",children:"Hard Rules"})," — before implementing any user-facing feature"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Validate"})," ",(0,t.jsx)(n.a,{href:"/constraints/language-rules",children:"Language Rules"})," — before generating any text users will see"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Consult"})," ",(0,t.jsx)(n.a,{href:"/what-we-dont-do",children:"What We Don't Do"})," — when uncertain about feature scope"]}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Golden rule:"})," If uncertain whether a feature is allowed, the answer is ",(0,t.jsx)(n.strong,{children:"NO"})," until confirmed safe."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,t.jsx)(n.pre,{"data-language":"bash","data-theme":"default",hasCopyCode:!0,children:(0,t.jsx)(n.code,{"data-language":"bash","data-theme":"default",children:(0,t.jsxs)(n.span,{className:"line",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:"install"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:"--save-dev"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:"@the-governor-hq/constitution-bci"})]})})}),"\n",(0,t.jsx)(n.p,{children:"The post-install script automatically configures AI safety rules for your development environment."}),"\n",(0,t.jsxs)(n.p,{children:["See ",(0,t.jsx)(n.a,{href:"/getting-started",children:"Getting Started"})," for complete setup instructions."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"related-packages",children:"Related Packages"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"https://npmjs.com/package/@the-governor-hq/constitution-core",children:(0,t.jsx)(n.code,{children:"@the-governor-hq/constitution-core"})})," - Core safety infrastructure (auto-installed)"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"https://npmjs.com/package/@the-governor-hq/constitution-wearables",children:(0,t.jsx)(n.code,{children:"@the-governor-hq/constitution-wearables"})})," - Smartwatch/fitness tracker data"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.a,{href:"https://npmjs.com/package/@the-governor-hq/constitution-therapy",children:(0,t.jsx)(n.code,{children:"@the-governor-hq/constitution-therapy"})})," - Therapy and mental health data"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h2,{id:"license",children:"License"}),"\n",(0,t.jsx)(n.p,{children:"MIT"})]})}let l={MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,o.a)(),e.components);return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)},pageOpts:{filePath:"pages/packages/bci/index.mdx",route:"/packages/bci",pageMap:[{kind:"Meta",data:{index:"Introduction","getting-started":"Getting Started","ai-agent-guide":"AI Agent Guide","quick-reference":"Quick Reference",core:"Core System",constraints:"Constraints",positioning:"Positioning","what-we-dont-do":"What We Don't Do",packages:"\uD83D\uDCE6 Package Documentation"}},{kind:"Folder",name:"agents",route:"/agents",children:[{kind:"Meta",data:{"recovery-agent":"Recovery Agent","stress-agent":"Stress Agent"}},{kind:"MdxPage",name:"recovery-agent",route:"/agents/recovery-agent"},{kind:"MdxPage",name:"stress-agent",route:"/agents/stress-agent"}]},{kind:"MdxPage",name:"ai-agent-guide",route:"/ai-agent-guide"},{kind:"Folder",name:"constraints",route:"/constraints",children:[{kind:"Meta",data:{"hard-rules":"Hard Rules","language-rules":"Language Rules"}},{kind:"MdxPage",name:"hard-rules",route:"/constraints/hard-rules"},{kind:"MdxPage",name:"language-rules",route:"/constraints/language-rules"}]},{kind:"Folder",name:"core",route:"/core",children:[{kind:"Meta",data:{signals:"Signals",baseline:"Baseline","deviation-engine":"Deviation Engine"}},{kind:"MdxPage",name:"baseline",route:"/core/baseline"},{kind:"MdxPage",name:"deviation-engine",route:"/core/deviation-engine"},{kind:"MdxPage",name:"signals",route:"/core/signals"}]},{kind:"MdxPage",name:"getting-started",route:"/getting-started"},{kind:"MdxPage",name:"index",route:"/"},{kind:"Folder",name:"packages",route:"/packages",children:[{kind:"Folder",name:"bci",route:"/packages/bci",children:[{kind:"Meta",data:{index:"Introduction","getting-started":"Getting Started","ai-agent-guide":"AI Agent Guide","quick-reference":"Quick Reference",core:"Core System",agents:"Agents",constraints:"Constraints",positioning:"Positioning","what-we-dont-do":"What We Don't Do"}},{kind:"Folder",name:"agents",route:"/packages/bci/agents",children:[{kind:"Meta",data:{"focus-agent":"Focus Agent","neurofeedback-agent":"Neurofeedback Agent"}},{kind:"MdxPage",name:"focus-agent",route:"/packages/bci/agents/focus-agent"},{kind:"MdxPage",name:"neurofeedback-agent",route:"/packages/bci/agents/neurofeedback-agent"}]},{kind:"MdxPage",name:"ai-agent-guide",route:"/packages/bci/ai-agent-guide"},{kind:"Folder",name:"constraints",route:"/packages/bci/constraints",children:[{kind:"Meta",data:{"hard-rules":"Hard Rules","language-rules":"Language Rules"}},{kind:"MdxPage",name:"hard-rules",route:"/packages/bci/constraints/hard-rules"},{kind:"MdxPage",name:"language-rules",route:"/packages/bci/constraints/language-rules"}]},{kind:"Folder",name:"core",route:"/packages/bci/core",children:[{kind:"Meta",data:{signals:"Signals",baseline:"Baseline","deviation-engine":"Deviation Engine"}},{kind:"MdxPage",name:"baseline",route:"/packages/bci/core/baseline"},{kind:"MdxPage",name:"deviation-engine",route:"/packages/bci/core/deviation-engine"},{kind:"MdxPage",name:"signals",route:"/packages/bci/core/signals"}]},{kind:"MdxPage",name:"getting-started",route:"/packages/bci/getting-started"},{kind:"MdxPage",name:"index",route:"/packages/bci"},{kind:"MdxPage",name:"positioning",route:"/packages/bci/positioning"},{kind:"MdxPage",name:"quick-reference",route:"/packages/bci/quick-reference"},{kind:"MdxPage",name:"what-we-dont-do",route:"/packages/bci/what-we-dont-do"}]},{kind:"Folder",name:"core",route:"/packages/core",children:[{kind:"Meta",data:{index:"Overview","getting-started":"Getting Started",validators:"Validators","hardened-pattern-matcher":"Hardened Pattern Matcher",middleware:"Middleware","cli-tools":"CLI Tools","runtime-validation":"Runtime Validation",evals:"Evaluation System"}},{kind:"MdxPage",name:"cli-tools",route:"/packages/core/cli-tools"},{kind:"MdxPage",name:"evals",route:"/packages/core/evals"},{kind:"MdxPage",name:"getting-started",route:"/packages/core/getting-started"},{kind:"MdxPage",name:"hardened-pattern-matcher",route:"/packages/core/hardened-pattern-matcher"},{kind:"MdxPage",name:"index",route:"/packages/core"},{kind:"MdxPage",name:"middleware",route:"/packages/core/middleware"},{kind:"MdxPage",name:"runtime-validation",route:"/packages/core/runtime-validation"},{kind:"MdxPage",name:"validators",route:"/packages/core/validators"}]},{kind:"Folder",name:"therapy",route:"/packages/therapy",children:[{kind:"Meta",data:{index:"Introduction","getting-started":"Getting Started","ai-agent-guide":"AI Agent Guide","quick-reference":"Quick Reference",core:"Core System",agents:"Agents",constraints:"Constraints",positioning:"Positioning","what-we-dont-do":"What We Don't Do"}},{kind:"Folder",name:"agents",route:"/packages/therapy/agents",children:[{kind:"Meta",data:{"mood-agent":"Mood Agent","journaling-agent":"Journaling Agent"}},{kind:"MdxPage",name:"journaling-agent",route:"/packages/therapy/agents/journaling-agent"},{kind:"MdxPage",name:"mood-agent",route:"/packages/therapy/agents/mood-agent"}]},{kind:"MdxPage",name:"ai-agent-guide",route:"/packages/therapy/ai-agent-guide"},{kind:"Folder",name:"constraints",route:"/packages/therapy/constraints",children:[{kind:"Meta",data:{"hard-rules":"Hard Rules","language-rules":"Language Rules"}},{kind:"MdxPage",name:"hard-rules",route:"/packages/therapy/constraints/hard-rules"},{kind:"MdxPage",name:"language-rules",route:"/packages/therapy/constraints/language-rules"}]},{kind:"Folder",name:"core",route:"/packages/therapy/core",children:[{kind:"Meta",data:{signals:"Signals",baseline:"Baseline","deviation-engine":"Deviation Engine"}},{kind:"MdxPage",name:"baseline",route:"/packages/therapy/core/baseline"},{kind:"MdxPage",name:"deviation-engine",route:"/packages/therapy/core/deviation-engine"},{kind:"MdxPage",name:"signals",route:"/packages/therapy/core/signals"}]},{kind:"MdxPage",name:"getting-started",route:"/packages/therapy/getting-started"},{kind:"MdxPage",name:"index",route:"/packages/therapy"},{kind:"MdxPage",name:"positioning",route:"/packages/therapy/positioning"},{kind:"MdxPage",name:"quick-reference",route:"/packages/therapy/quick-reference"},{kind:"MdxPage",name:"what-we-dont-do",route:"/packages/therapy/what-we-dont-do"}]},{kind:"Folder",name:"wearables",route:"/packages/wearables",children:[{kind:"Meta",data:{index:"Introduction","getting-started":"Getting Started","ai-agent-guide":"AI Agent Guide","quick-reference":"Quick Reference",core:"Core System",agents:"Agents",constraints:"Constraints",positioning:"Positioning","what-we-dont-do":"What We Don't Do"}},{kind:"Folder",name:"agents",route:"/packages/wearables/agents",children:[{kind:"Meta",data:{"recovery-agent":"Recovery Agent","stress-agent":"Stress Agent"}},{kind:"MdxPage",name:"recovery-agent",route:"/packages/wearables/agents/recovery-agent"},{kind:"MdxPage",name:"stress-agent",route:"/packages/wearables/agents/stress-agent"}]},{kind:"MdxPage",name:"ai-agent-guide",route:"/packages/wearables/ai-agent-guide"},{kind:"Folder",name:"constraints",route:"/packages/wearables/constraints",children:[{kind:"Meta",data:{"hard-rules":"Hard Rules","language-rules":"Language Rules"}},{kind:"MdxPage",name:"hard-rules",route:"/packages/wearables/constraints/hard-rules"},{kind:"MdxPage",name:"language-rules",route:"/packages/wearables/constraints/language-rules"}]},{kind:"Folder",name:"core",route:"/packages/wearables/core",children:[{kind:"Meta",data:{signals:"Signals",baseline:"Baseline","deviation-engine":"Deviation Engine"}},{kind:"MdxPage",name:"baseline",route:"/packages/wearables/core/baseline"},{kind:"MdxPage",name:"deviation-engine",route:"/packages/wearables/core/deviation-engine"},{kind:"MdxPage",name:"signals",route:"/packages/wearables/core/signals"}]},{kind:"MdxPage",name:"getting-started",route:"/packages/wearables/getting-started"},{kind:"MdxPage",name:"index",route:"/packages/wearables"},{kind:"MdxPage",name:"positioning",route:"/packages/wearables/positioning"},{kind:"MdxPage",name:"quick-reference",route:"/packages/wearables/quick-reference"},{kind:"MdxPage",name:"what-we-dont-do",route:"/packages/wearables/what-we-dont-do"}]}]},{kind:"MdxPage",name:"positioning",route:"/positioning"},{kind:"MdxPage",name:"quick-reference",route:"/quick-reference"},{kind:"MdxPage",name:"what-we-dont-do",route:"/what-we-dont-do"}],flexsearch:{codeblocks:!0},title:"The Governor HQ Constitutional Framework",headings:d},pageNextRoute:"/packages/bci",nextraLayout:s.ZP,themeConfig:r.Z};n.default=(0,i.j)(l)},3209:function(e,n,a){"use strict";var t=a(5893);a(7294);let i={logo:(0,t.jsx)("strong",{children:"The Governor HQ System Principles"}),project:{link:"https://github.com/the-governor-hq/constitution"},docsRepositoryBase:"https://github.com/the-governor-hq/constitution",footer
1:{text:"\xa9 The Governor HQ System Principles "},head:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,t.jsx)("meta",{name:"description",content:"The Governor HQ System Principles"}),(0,t.jsx)("title",{children:"The Governor HQ System Principles — AI Safety Constitution for Wearable Data Projects"})]}),sidebar:{defaultMenuCollapseLevel:1,toggleButton:!0},toc:{float:!0},useNextSeoProps:()=>({titleTemplate:"%s — The Governor HQ System Principles"}),banner:{key:"product-notice",text:"⚠️ This system does not provide medical advice."}};n.Z=i},5789:function(){}},function(e){e.O(0,[3256,2888,9774,179],function(){return e(e.s=7395)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.