[{"data":1,"prerenderedAt":1445},["ShallowReactive",2],{"docs-navigation":3,"docs-page-\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Fphp":252,"docs-surround-\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Fphp":1442},[4],{"title":5,"path":6,"stem":7,"children":8,"page":251},"Docs","\u002Fdocs","docs",[9,36,101,197,232],{"title":10,"path":11,"stem":12,"children":13},"GET STARTED","\u002Fdocs\u002Fget-started","docs\u002F1.get-started\u002F1.index",[14,16,20,24,28,32],{"title":15,"path":11,"stem":12},"Welcome",{"title":17,"path":18,"stem":19},"Quickstart","\u002Fdocs\u002Fget-started\u002Fquickstart","docs\u002F1.get-started\u002F2.quickstart",{"title":21,"path":22,"stem":23},"API","\u002Fdocs\u002Fget-started\u002Fapi","docs\u002F1.get-started\u002F3.api",{"title":25,"path":26,"stem":27},"SDKs and CLI","\u002Fdocs\u002Fget-started\u002Fsdks-cli","docs\u002F1.get-started\u002F4.sdks-cli",{"title":29,"path":30,"stem":31},"Sandbox testing","\u002Fdocs\u002Fget-started\u002Flocal-development","docs\u002F1.get-started\u002F5.local-development",{"title":33,"path":34,"stem":35},"Authentication","\u002Fdocs\u002Fget-started\u002Fauthentication","docs\u002F1.get-started\u002F6.authentication",{"title":37,"path":38,"stem":39,"children":40},"FUNDAMENTALS","\u002Fdocs\u002Ffundamentals","docs\u002F2.fundamentals\u002F01.index",[41,43,47,51,55,59,63,67,71,75],{"title":42,"path":38,"stem":39},"Fundamentals",{"title":44,"path":45,"stem":46},"Architecture","\u002Fdocs\u002Ffundamentals\u002Farchitecture","docs\u002F2.fundamentals\u002F02.architecture",{"title":48,"path":49,"stem":50},"Memory model","\u002Fdocs\u002Ffundamentals\u002Fmemory-model","docs\u002F2.fundamentals\u002F03.memory-model",{"title":52,"path":53,"stem":54},"Compression","\u002Fdocs\u002Ffundamentals\u002Fcompression","docs\u002F2.fundamentals\u002F04.compression",{"title":56,"path":57,"stem":58},"RAG and cached context","\u002Fdocs\u002Ffundamentals\u002Frag-cag","docs\u002F2.fundamentals\u002F05.rag-cag",{"title":60,"path":61,"stem":62},"Context cache","\u002Fdocs\u002Ffundamentals\u002Fcontext-cache","docs\u002F2.fundamentals\u002F06.context-cache",{"title":64,"path":65,"stem":66},"Security","\u002Fdocs\u002Ffundamentals\u002Fsecurity","docs\u002F2.fundamentals\u002F07.security",{"title":68,"path":69,"stem":70},"Languages","\u002Fdocs\u002Ffundamentals\u002Flanguages","docs\u002F2.fundamentals\u002F08.languages",{"title":72,"path":73,"stem":74},"UI patterns","\u002Fdocs\u002Ffundamentals\u002Fui","docs\u002F2.fundamentals\u002F09.ui",{"title":76,"path":77,"stem":78,"children":79},"Global, Regional, and Jurisdictional Memory","\u002Fdocs\u002Ffundamentals\u002Fdata-placement","docs\u002F2.fundamentals\u002F10.data-placement\u002F1.index",[80,81,85,89,93,97],{"title":76,"path":77,"stem":78},{"title":82,"path":83,"stem":84},"TypeScript \u002F JavaScript","\u002Fdocs\u002Ffundamentals\u002Fdata-placement\u002Ftypescript","docs\u002F2.fundamentals\u002F10.data-placement\u002F2.typescript",{"title":86,"path":87,"stem":88},"Python","\u002Fdocs\u002Ffundamentals\u002Fdata-placement\u002Fpython","docs\u002F2.fundamentals\u002F10.data-placement\u002F3.python",{"title":90,"path":91,"stem":92},"PHP","\u002Fdocs\u002Ffundamentals\u002Fdata-placement\u002Fphp","docs\u002F2.fundamentals\u002F10.data-placement\u002F4.php",{"title":94,"path":95,"stem":96},"Go","\u002Fdocs\u002Ffundamentals\u002Fdata-placement\u002Fgo","docs\u002F2.fundamentals\u002F10.data-placement\u002F5.go",{"title":98,"path":99,"stem":100},"Rust","\u002Fdocs\u002Ffundamentals\u002Fdata-placement\u002Frust","docs\u002F2.fundamentals\u002F10.data-placement\u002F6.rust",{"title":102,"path":103,"stem":104,"children":105},"AGENTS & CODE NUCLEI","\u002Fdocs\u002Fagents","docs\u002F3.agents\u002F01.index",[106,108,112,116,120,124,128,132,136,140,158,193],{"title":107,"path":103,"stem":104},"Agents",{"title":109,"path":110,"stem":111},"Codex Code Nucleus","\u002Fdocs\u002Fagents\u002Fcodex-code-nucleus","docs\u002F3.agents\u002F02.codex-code-nucleus",{"title":113,"path":114,"stem":115},"Claude Code Nucleus","\u002Fdocs\u002Fagents\u002Fclaude-code-nucleus","docs\u002F3.agents\u002F03.claude-code-nucleus",{"title":117,"path":118,"stem":119},"Google Gemini Code Nucleus","\u002Fdocs\u002Fagents\u002Fgoogle-gemini-code-nucleus","docs\u002F3.agents\u002F04.google-gemini-code-nucleus",{"title":121,"path":122,"stem":123},"GitHub Copilot Code Nucleus","\u002Fdocs\u002Fagents\u002Fgithub-copilot-code-nucleus","docs\u002F3.agents\u002F05.github-copilot-code-nucleus",{"title":125,"path":126,"stem":127},"Cursor Code Nucleus","\u002Fdocs\u002Fagents\u002Fcursor-code-nucleus","docs\u002F3.agents\u002F06.cursor-code-nucleus",{"title":129,"path":130,"stem":131},"Windsurf Code Nucleus","\u002Fdocs\u002Fagents\u002Fwindsurf-code-nucleus","docs\u002F3.agents\u002F07.windsurf-code-nucleus",{"title":133,"path":134,"stem":135},"Agent skills","\u002Fdocs\u002Fagents\u002Fagent-skills","docs\u002F3.agents\u002F08.agent-skills",{"title":137,"path":138,"stem":139},"Admin UI prompt","\u002Fdocs\u002Fagents\u002Fadmin-ui-prompt","docs\u002F3.agents\u002F09.admin-ui-prompt",{"title":141,"path":142,"stem":143,"children":144},"Team Code Governance","\u002Fdocs\u002Fagents\u002Fcode-governance","docs\u002F3.agents\u002F10.code-governance\u002F1.index",[145,146,150,154],{"title":141,"path":142,"stem":143},{"title":147,"path":148,"stem":149},"Local Team Setup","\u002Fdocs\u002Fagents\u002Fcode-governance\u002Flocal-team-setup","docs\u002F3.agents\u002F10.code-governance\u002F2.local-team-setup",{"title":151,"path":152,"stem":153},"Language Governance Packs","\u002Fdocs\u002Fagents\u002Fcode-governance\u002Flanguage-packs","docs\u002F3.agents\u002F10.code-governance\u002F3.language-packs",{"title":155,"path":156,"stem":157},"GitHub CI\u002FCD Governance","\u002Fdocs\u002Fagents\u002Fcode-governance\u002Fgithub-cicd","docs\u002F3.agents\u002F10.code-governance\u002F4.github-cicd",{"title":159,"path":160,"stem":161,"children":162},"Memory + Consequence Agents","\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F1.index",[163,164,185,189],{"title":159,"path":160,"stem":161},{"title":165,"path":166,"stem":167,"children":168},"End-to-End Agent Example","\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F1.index",[169,170,173,176,179,182],{"title":165,"path":166,"stem":167},{"title":82,"path":171,"stem":172},"\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Ftypescript","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F2.typescript",{"title":86,"path":174,"stem":175},"\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Fpython","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F3.python",{"title":90,"path":177,"stem":178},"\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Fphp","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F4.php",{"title":94,"path":180,"stem":181},"\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Fgo","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F5.go",{"title":98,"path":183,"stem":184},"\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fend-to-end\u002Frust","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F6.rust",{"title":186,"path":187,"stem":188},"Industry Agent Use Cases","\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Findustry-use-cases","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F3.industry-use-cases",{"title":190,"path":191,"stem":192},"Historical Actions and Learning","\u002Fdocs\u002Fagents\u002Fmemory-consequence-agents\u002Fhistorical-learning","docs\u002F3.agents\u002F11.memory-consequence-agents\u002F4.historical-learning",{"title":194,"path":195,"stem":196},"Consequence decision support","\u002Fdocs\u002Fagents\u002Fconsequence","docs\u002F3.agents\u002F12.consequence",{"title":198,"path":199,"stem":200,"children":201},"MODEL PROVIDERS","\u002Fdocs\u002Fproviders","docs\u002F4.providers\u002F1.index",[202,204,208,212,216,220,224,228],{"title":203,"path":199,"stem":200},"Providers",{"title":205,"path":206,"stem":207},"OpenAI and Azure OpenAI","\u002Fdocs\u002Fproviders\u002Fopenai","docs\u002F4.providers\u002F2.openai",{"title":209,"path":210,"stem":211},"Anthropic Claude","\u002Fdocs\u002Fproviders\u002Fanthropic","docs\u002F4.providers\u002F3.anthropic",{"title":213,"path":214,"stem":215},"Google Gemini and Vertex AI","\u002Fdocs\u002Fproviders\u002Fgoogle-gemini","docs\u002F4.providers\u002F4.google-gemini",{"title":217,"path":218,"stem":219},"OpenAI-compatible providers","\u002Fdocs\u002Fproviders\u002Fopenai-compatible","docs\u002F4.providers\u002F5.openai-compatible",{"title":221,"path":222,"stem":223},"Groq","\u002Fdocs\u002Fproviders\u002Fgroq","docs\u002F4.providers\u002F6.groq",{"title":225,"path":226,"stem":227},"Cohere","\u002Fdocs\u002Fproviders\u002Fcohere","docs\u002F4.providers\u002F7.cohere",{"title":229,"path":230,"stem":231},"Amazon Bedrock","\u002Fdocs\u002Fproviders\u002Famazon-bedrock","docs\u002F4.providers\u002F8.amazon-bedrock",{"title":233,"path":234,"stem":235,"children":236},"CHANGELOG","\u002Fdocs\u002Fchangelog","docs\u002F5.changelog\u002F1.index",[237,239,243,247],{"title":238,"path":234,"stem":235},"Changelog",{"title":240,"path":241,"stem":242},"Roadmap","\u002Fdocs\u002Fchangelog\u002Froadmap","docs\u002F5.changelog\u002F2.roadmap",{"title":244,"path":245,"stem":246},"Release notes","\u002Fdocs\u002Fchangelog\u002Frelease-runbook","docs\u002F5.changelog\u002F3.release-runbook",{"title":248,"path":249,"stem":250},"Testing","\u002Fdocs\u002Fchangelog\u002Ftesting","docs\u002F5.changelog\u002F4.testing",false,{"id":253,"title":90,"body":254,"description":1437,"extension":1438,"meta":1439,"navigation":317,"path":177,"seo":1440,"stem":178,"__hash__":1441},"docs\u002Fdocs\u002F3.agents\u002F11.memory-consequence-agents\u002F2.end-to-end\u002F4.php.md",{"type":255,"value":256,"toc":1431},"minimark",[257,262,266,292,295,300,636,639,643,846,853,857,1263,1266,1270,1273,1416,1419,1427],[258,259,261],"h1",{"id":260},"php-memory-consequence","PHP Memory + Consequence",[263,264,265],"p",{},"Install the PHP 8.2+ SDK and enable cURL:",[267,268,273],"pre",{"className":269,"code":270,"language":271,"meta":272,"style":272},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","composer require neutron-ai\u002Fsdk\n","bash","",[274,275,276],"code",{"__ignoreMap":272},[277,278,281,285,289],"span",{"class":279,"line":280},"line",1,[277,282,284],{"class":283},"sBMFI","composer",[277,286,288],{"class":287},"sfazB"," require",[277,290,291],{"class":287}," neutron-ai\u002Fsdk\n",[263,293,294],{},"The SDK handles memory and agent context. The helper calls industry-library and Consequence endpoints that are not yet exposed as typed PHP methods.",[296,297,299],"h2",{"id":298},"client-and-authenticated-rest-helper","Client and authenticated REST helper",[267,301,305],{"className":302,"code":303,"language":304,"meta":272,"style":272},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003C?php\n\ndeclare(strict_types=1);\n\nuse NeutronAI\\NeutronAIClient;\n\nconst NUCLEUS_ID = 'checkout-platform';\n\nfunction requiredEnv(string $name): string\n{\n    $value = getenv($name);\n    if ($value === false || trim($value) === '') {\n        throw new RuntimeException(\"{$name} is required\");\n    }\n    return $value;\n}\n\nfunction scoped(array $body): array\n{\n    return ['nucleusId' => NUCLEUS_ID, ...$body];\n}\n\nfunction neutronRequest(string $token, string $path, array $body): array\n{\n    $curl = curl_init(rtrim(requiredEnv('NEUTRON_API_URL'), '\u002F') . $path);\n    if ($curl === false) {\n        throw new RuntimeException('Unable to initialize cURL');\n    }\n    curl_setopt_array($curl, [\n        CURLOPT_CUSTOMREQUEST => 'POST',\n        CURLOPT_HTTPHEADER => [\n            'authorization: Bearer ' . $token,\n            'content-type: application\u002Fjson',\n        ],\n        CURLOPT_POSTFIELDS => json_encode($body, JSON_THROW_ON_ERROR),\n        CURLOPT_RETURNTRANSFER => true,\n        CURLOPT_TIMEOUT => 30,\n    ]);\n    $raw_body = curl_exec($curl);\n    $status = (int) curl_getinfo($curl, CURLINFO_RESPONSE_CODE);\n    $error = curl_error($curl);\n    curl_close($curl);\n    if ($raw_body === false) {\n        throw new RuntimeException($error ?: 'Neutron request failed');\n    }\n    $decoded = json_decode($raw_body, true, flags: JSON_THROW_ON_ERROR);\n    if ($status >= 400 || !is_array($decoded)) {\n        throw new RuntimeException(\"Neutron request failed with HTTP {$status}\");\n    }\n    return $decoded;\n}\n\n$memory = new NeutronAIClient(\n    base_url: requiredEnv('NEUTRON_API_URL'),\n    token: requiredEnv('NEUTRON_API_TOKEN'),\n    nucleus_id: NUCLEUS_ID,\n);\n","php",[274,306,307,312,319,325,330,336,341,347,352,358,364,370,376,382,388,394,400,405,411,416,422,427,432,438,443,449,455,461,466,472,478,484,490,496,502,508,514,520,526,532,538,544,550,556,562,567,573,579,585,590,596,601,606,612,618,624,630],{"__ignoreMap":272},[277,308,309],{"class":279,"line":280},[277,310,311],{},"\u003C?php\n",[277,313,315],{"class":279,"line":314},2,[277,316,318],{"emptyLinePlaceholder":317},true,"\n",[277,320,322],{"class":279,"line":321},3,[277,323,324],{},"declare(strict_types=1);\n",[277,326,328],{"class":279,"line":327},4,[277,329,318],{"emptyLinePlaceholder":317},[277,331,333],{"class":279,"line":332},5,[277,334,335],{},"use NeutronAI\\NeutronAIClient;\n",[277,337,339],{"class":279,"line":338},6,[277,340,318],{"emptyLinePlaceholder":317},[277,342,344],{"class":279,"line":343},7,[277,345,346],{},"const NUCLEUS_ID = 'checkout-platform';\n",[277,348,350],{"class":279,"line":349},8,[277,351,318],{"emptyLinePlaceholder":317},[277,353,355],{"class":279,"line":354},9,[277,356,357],{},"function requiredEnv(string $name): string\n",[277,359,361],{"class":279,"line":360},10,[277,362,363],{},"{\n",[277,365,367],{"class":279,"line":366},11,[277,368,369],{},"    $value = getenv($name);\n",[277,371,373],{"class":279,"line":372},12,[277,374,375],{},"    if ($value === false || trim($value) === '') {\n",[277,377,379],{"class":279,"line":378},13,[277,380,381],{},"        throw new RuntimeException(\"{$name} is required\");\n",[277,383,385],{"class":279,"line":384},14,[277,386,387],{},"    }\n",[277,389,391],{"class":279,"line":390},15,[277,392,393],{},"    return $value;\n",[277,395,397],{"class":279,"line":396},16,[277,398,399],{},"}\n",[277,401,403],{"class":279,"line":402},17,[277,404,318],{"emptyLinePlaceholder":317},[277,406,408],{"class":279,"line":407},18,[277,409,410],{},"function scoped(array $body): array\n",[277,412,414],{"class":279,"line":413},19,[277,415,363],{},[277,417,419],{"class":279,"line":418},20,[277,420,421],{},"    return ['nucleusId' => NUCLEUS_ID, ...$body];\n",[277,423,425],{"class":279,"line":424},21,[277,426,399],{},[277,428,430],{"class":279,"line":429},22,[277,431,318],{"emptyLinePlaceholder":317},[277,433,435],{"class":279,"line":434},23,[277,436,437],{},"function neutronRequest(string $token, string $path, array $body): array\n",[277,439,441],{"class":279,"line":440},24,[277,442,363],{},[277,444,446],{"class":279,"line":445},25,[277,447,448],{},"    $curl = curl_init(rtrim(requiredEnv('NEUTRON_API_URL'), '\u002F') . $path);\n",[277,450,452],{"class":279,"line":451},26,[277,453,454],{},"    if ($curl === false) {\n",[277,456,458],{"class":279,"line":457},27,[277,459,460],{},"        throw new RuntimeException('Unable to initialize cURL');\n",[277,462,464],{"class":279,"line":463},28,[277,465,387],{},[277,467,469],{"class":279,"line":468},29,[277,470,471],{},"    curl_setopt_array($curl, [\n",[277,473,475],{"class":279,"line":474},30,[277,476,477],{},"        CURLOPT_CUSTOMREQUEST => 'POST',\n",[277,479,481],{"class":279,"line":480},31,[277,482,483],{},"        CURLOPT_HTTPHEADER => [\n",[277,485,487],{"class":279,"line":486},32,[277,488,489],{},"            'authorization: Bearer ' . $token,\n",[277,491,493],{"class":279,"line":492},33,[277,494,495],{},"            'content-type: application\u002Fjson',\n",[277,497,499],{"class":279,"line":498},34,[277,500,501],{},"        ],\n",[277,503,505],{"class":279,"line":504},35,[277,506,507],{},"        CURLOPT_POSTFIELDS => json_encode($body, JSON_THROW_ON_ERROR),\n",[277,509,511],{"class":279,"line":510},36,[277,512,513],{},"        CURLOPT_RETURNTRANSFER => true,\n",[277,515,517],{"class":279,"line":516},37,[277,518,519],{},"        CURLOPT_TIMEOUT => 30,\n",[277,521,523],{"class":279,"line":522},38,[277,524,525],{},"    ]);\n",[277,527,529],{"class":279,"line":528},39,[277,530,531],{},"    $raw_body = curl_exec($curl);\n",[277,533,535],{"class":279,"line":534},40,[277,536,537],{},"    $status = (int) curl_getinfo($curl, CURLINFO_RESPONSE_CODE);\n",[277,539,541],{"class":279,"line":540},41,[277,542,543],{},"    $error = curl_error($curl);\n",[277,545,547],{"class":279,"line":546},42,[277,548,549],{},"    curl_close($curl);\n",[277,551,553],{"class":279,"line":552},43,[277,554,555],{},"    if ($raw_body === false) {\n",[277,557,559],{"class":279,"line":558},44,[277,560,561],{},"        throw new RuntimeException($error ?: 'Neutron request failed');\n",[277,563,565],{"class":279,"line":564},45,[277,566,387],{},[277,568,570],{"class":279,"line":569},46,[277,571,572],{},"    $decoded = json_decode($raw_body, true, flags: JSON_THROW_ON_ERROR);\n",[277,574,576],{"class":279,"line":575},47,[277,577,578],{},"    if ($status >= 400 || !is_array($decoded)) {\n",[277,580,582],{"class":279,"line":581},48,[277,583,584],{},"        throw new RuntimeException(\"Neutron request failed with HTTP {$status}\");\n",[277,586,588],{"class":279,"line":587},49,[277,589,387],{},[277,591,593],{"class":279,"line":592},50,[277,594,595],{},"    return $decoded;\n",[277,597,599],{"class":279,"line":598},51,[277,600,399],{},[277,602,604],{"class":279,"line":603},52,[277,605,318],{"emptyLinePlaceholder":317},[277,607,609],{"class":279,"line":608},53,[277,610,611],{},"$memory = new NeutronAIClient(\n",[277,613,615],{"class":279,"line":614},54,[277,616,617],{},"    base_url: requiredEnv('NEUTRON_API_URL'),\n",[277,619,621],{"class":279,"line":620},55,[277,622,623],{},"    token: requiredEnv('NEUTRON_API_TOKEN'),\n",[277,625,627],{"class":279,"line":626},56,[277,628,629],{},"    nucleus_id: NUCLEUS_ID,\n",[277,631,633],{"class":279,"line":632},57,[277,634,635],{},");\n",[263,637,638],{},"Keep workspace, approver, and internal credentials outside the agent runtime.",[296,640,642],{"id":641},"install-knowledge-and-remember-reviewed-history","Install knowledge and remember reviewed history",[267,644,646],{"className":302,"code":645,"language":304,"meta":272,"style":272},"neutronRequest(\n    requiredEnv('NEUTRON_WORKSPACE_API_KEY'),\n    '\u002Fv1\u002Fplatform\u002Findustry-library\u002Fplugins\u002Fai-engineering-delivery\u002Finstall',\n    ['nucleusId' => NUCLEUS_ID],\n);\n\n$memory->remember([\n    'scopeId' => 'history:checkout-releases',\n    'agentId' => 'agent:release-manager',\n    'type' => 'experience',\n    'privacyClass' => 'tenant',\n    'text' => implode(' ', [\n        'Release 3.7 used a 5% cohort for 20 minutes before expansion.',\n        'The rollout paused when database lock time exceeded 250 ms.',\n        'Rollback succeeded. Verify lock duration before expanding similar changes.',\n    ]),\n    'metadata' => [\n        'source' => 'approved-release-review',\n        'release' => '3.7',\n        'outcome' => 'rolled-back',\n    ],\n]);\n\n$context = $memory->agentContext([\n    'scopeIds' => [\n        'industry:ai-engineering-delivery',\n        'service:checkout-api',\n        'history:checkout-releases',\n        'policy:production-change',\n    ],\n    'agentId' => 'agent:release-manager',\n    'task' => 'Prepare a safe release recommendation for checkout API version 3.8.',\n    'privacyClasses' => ['tenant'],\n    'tokenBudget' => 1_600,\n    'cachePolicy' => [\n        'mode' => 'prefer_cache',\n        'keyMode' => 'intent_profile',\n        'ttlSeconds' => 300,\n        'includeDynamicRag' => true,\n    ],\n]);\n",[274,647,648,653,658,663,668,672,676,681,686,691,696,701,706,711,716,721,726,731,736,741,746,751,756,760,765,770,775,780,785,790,794,798,803,808,813,818,823,828,833,838,842],{"__ignoreMap":272},[277,649,650],{"class":279,"line":280},[277,651,652],{},"neutronRequest(\n",[277,654,655],{"class":279,"line":314},[277,656,657],{},"    requiredEnv('NEUTRON_WORKSPACE_API_KEY'),\n",[277,659,660],{"class":279,"line":321},[277,661,662],{},"    '\u002Fv1\u002Fplatform\u002Findustry-library\u002Fplugins\u002Fai-engineering-delivery\u002Finstall',\n",[277,664,665],{"class":279,"line":327},[277,666,667],{},"    ['nucleusId' => NUCLEUS_ID],\n",[277,669,670],{"class":279,"line":332},[277,671,635],{},[277,673,674],{"class":279,"line":338},[277,675,318],{"emptyLinePlaceholder":317},[277,677,678],{"class":279,"line":343},[277,679,680],{},"$memory->remember([\n",[277,682,683],{"class":279,"line":349},[277,684,685],{},"    'scopeId' => 'history:checkout-releases',\n",[277,687,688],{"class":279,"line":354},[277,689,690],{},"    'agentId' => 'agent:release-manager',\n",[277,692,693],{"class":279,"line":360},[277,694,695],{},"    'type' => 'experience',\n",[277,697,698],{"class":279,"line":366},[277,699,700],{},"    'privacyClass' => 'tenant',\n",[277,702,703],{"class":279,"line":372},[277,704,705],{},"    'text' => implode(' ', [\n",[277,707,708],{"class":279,"line":378},[277,709,710],{},"        'Release 3.7 used a 5% cohort for 20 minutes before expansion.',\n",[277,712,713],{"class":279,"line":384},[277,714,715],{},"        'The rollout paused when database lock time exceeded 250 ms.',\n",[277,717,718],{"class":279,"line":390},[277,719,720],{},"        'Rollback succeeded. Verify lock duration before expanding similar changes.',\n",[277,722,723],{"class":279,"line":396},[277,724,725],{},"    ]),\n",[277,727,728],{"class":279,"line":402},[277,729,730],{},"    'metadata' => [\n",[277,732,733],{"class":279,"line":407},[277,734,735],{},"        'source' => 'approved-release-review',\n",[277,737,738],{"class":279,"line":413},[277,739,740],{},"        'release' => '3.7',\n",[277,742,743],{"class":279,"line":418},[277,744,745],{},"        'outcome' => 'rolled-back',\n",[277,747,748],{"class":279,"line":424},[277,749,750],{},"    ],\n",[277,752,753],{"class":279,"line":429},[277,754,755],{},"]);\n",[277,757,758],{"class":279,"line":434},[277,759,318],{"emptyLinePlaceholder":317},[277,761,762],{"class":279,"line":440},[277,763,764],{},"$context = $memory->agentContext([\n",[277,766,767],{"class":279,"line":445},[277,768,769],{},"    'scopeIds' => [\n",[277,771,772],{"class":279,"line":451},[277,773,774],{},"        'industry:ai-engineering-delivery',\n",[277,776,777],{"class":279,"line":457},[277,778,779],{},"        'service:checkout-api',\n",[277,781,782],{"class":279,"line":463},[277,783,784],{},"        'history:checkout-releases',\n",[277,786,787],{"class":279,"line":468},[277,788,789],{},"        'policy:production-change',\n",[277,791,792],{"class":279,"line":474},[277,793,750],{},[277,795,796],{"class":279,"line":480},[277,797,690],{},[277,799,800],{"class":279,"line":486},[277,801,802],{},"    'task' => 'Prepare a safe release recommendation for checkout API version 3.8.',\n",[277,804,805],{"class":279,"line":492},[277,806,807],{},"    'privacyClasses' => ['tenant'],\n",[277,809,810],{"class":279,"line":498},[277,811,812],{},"    'tokenBudget' => 1_600,\n",[277,814,815],{"class":279,"line":504},[277,816,817],{},"    'cachePolicy' => [\n",[277,819,820],{"class":279,"line":510},[277,821,822],{},"        'mode' => 'prefer_cache',\n",[277,824,825],{"class":279,"line":516},[277,826,827],{},"        'keyMode' => 'intent_profile',\n",[277,829,830],{"class":279,"line":522},[277,831,832],{},"        'ttlSeconds' => 300,\n",[277,834,835],{"class":279,"line":528},[277,836,837],{},"        'includeDynamicRag' => true,\n",[277,839,840],{"class":279,"line":534},[277,841,750],{},[277,843,844],{"class":279,"line":540},[277,845,755],{},[263,847,848,849,852],{},"Treat ",[274,850,851],{},"$context['promptContext']"," as supporting context. Current evidence and the current task remain primary.",[296,854,856],{"id":855},"plan-and-record-the-decision","Plan and record the decision",[267,858,860],{"className":302,"code":859,"language":304,"meta":272,"style":272},"$agent_token = requiredEnv('NEUTRON_API_TOKEN');\n$decision_scopes = [\n    'industry:ai-engineering-delivery',\n    'service:checkout-api',\n    'history:checkout-releases',\n    'policy:production-change',\n];\n\n$run = neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fplan', scoped([\n    'scopeIds' => $decision_scopes,\n    'agentId' => 'agent:release-manager',\n    'task' => implode(' ', [\n        'Compare delaying release 3.8, a 1% pilot, a 5% staged rollout,',\n        'and immediate release while preserving compatibility and the lock budget.',\n    ]),\n    'domain' => 'engineering_ops',\n    'objectiveHints' => [\n        'Reduce customer impact',\n        'Preserve rollback capability',\n        'Collect evidence before expansion',\n    ],\n    'constraintHints' => [\n        'Database lock time must remain below the approved threshold',\n        'Expansion requires the accountable release owner',\n        'Rollback must remain available',\n    ],\n    'idempotencyKey' => 'checkout-3.8-release-review-v1',\n    'retentionDays' => 90,\n    'contextPolicy' => [\n        'includeMemory' => true,\n        'includeKnowledge' => true,\n        'includeContextCapsules' => true,\n        'includePastDecisions' => true,\n        'includeReflections' => true,\n    ],\n    'policy' => [\n        'mode' => 'deep',\n        'depth' => 10,\n        'maxScenarios' => 8,\n        'maxRuntimeMs' => 8_000,\n        'requireApprovalAboveRisk' => 'medium',\n        'allowExecution' => false,\n        'storeSafeArtifactsOnly' => true,\n        'includeCounterfactuals' => true,\n        'includeReflections' => true,\n    ],\n]));\n\n$scenario_id = $run['recommendedScenarioId'] ?? null;\nif (!is_string($scenario_id) || $scenario_id === '') {\n    throw new RuntimeException('No scenario satisfied the current decision boundary');\n}\n\n$decided = neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fdecide', scoped([\n    'runId' => $run['runId'],\n    'scopeIds' => ['service:checkout-api', 'policy:production-change'],\n    'selectedScenarioId' => $scenario_id,\n    'decisionSummary' => 'Selected the bounded pilot scenario for owner review.',\n    'rationaleSummary' => implode(' ', [\n        'The pilot preserves rollback and gathers current lock-duration evidence.',\n        'Expansion remains conditional on the threshold and owner review.',\n    ]),\n]));\n$decision = $decided['decisionRecord'] ?? null;\nif (!is_array($decision)) {\n    throw new RuntimeException('The decision record was not created');\n}\n\nif (($decision['status'] ?? null) === 'draft') {\n    neutronRequest(\n        requiredEnv('NEUTRON_APPROVER_TOKEN'),\n        '\u002Fv1\u002Fconsequence\u002Fapprove',\n        scoped([\n            'decisionId' => $decision['decisionId'],\n            'scopeIds' => ['service:checkout-api', 'policy:production-change'],\n            'note' => 'Release owner approved the pilot only; expansion needs another review.',\n        ]),\n    );\n}\n",[274,861,862,867,872,877,882,887,892,897,901,906,911,915,920,925,930,934,939,944,949,954,959,963,968,973,978,983,987,992,997,1002,1007,1012,1017,1022,1027,1031,1036,1041,1046,1051,1056,1061,1066,1071,1076,1080,1084,1089,1093,1098,1103,1108,1112,1116,1121,1126,1131,1136,1142,1148,1154,1160,1165,1170,1176,1182,1188,1193,1198,1204,1210,1216,1222,1228,1234,1240,1246,1252,1258],{"__ignoreMap":272},[277,863,864],{"class":279,"line":280},[277,865,866],{},"$agent_token = requiredEnv('NEUTRON_API_TOKEN');\n",[277,868,869],{"class":279,"line":314},[277,870,871],{},"$decision_scopes = [\n",[277,873,874],{"class":279,"line":321},[277,875,876],{},"    'industry:ai-engineering-delivery',\n",[277,878,879],{"class":279,"line":327},[277,880,881],{},"    'service:checkout-api',\n",[277,883,884],{"class":279,"line":332},[277,885,886],{},"    'history:checkout-releases',\n",[277,888,889],{"class":279,"line":338},[277,890,891],{},"    'policy:production-change',\n",[277,893,894],{"class":279,"line":343},[277,895,896],{},"];\n",[277,898,899],{"class":279,"line":349},[277,900,318],{"emptyLinePlaceholder":317},[277,902,903],{"class":279,"line":354},[277,904,905],{},"$run = neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fplan', scoped([\n",[277,907,908],{"class":279,"line":360},[277,909,910],{},"    'scopeIds' => $decision_scopes,\n",[277,912,913],{"class":279,"line":366},[277,914,690],{},[277,916,917],{"class":279,"line":372},[277,918,919],{},"    'task' => implode(' ', [\n",[277,921,922],{"class":279,"line":378},[277,923,924],{},"        'Compare delaying release 3.8, a 1% pilot, a 5% staged rollout,',\n",[277,926,927],{"class":279,"line":384},[277,928,929],{},"        'and immediate release while preserving compatibility and the lock budget.',\n",[277,931,932],{"class":279,"line":390},[277,933,725],{},[277,935,936],{"class":279,"line":396},[277,937,938],{},"    'domain' => 'engineering_ops',\n",[277,940,941],{"class":279,"line":402},[277,942,943],{},"    'objectiveHints' => [\n",[277,945,946],{"class":279,"line":407},[277,947,948],{},"        'Reduce customer impact',\n",[277,950,951],{"class":279,"line":413},[277,952,953],{},"        'Preserve rollback capability',\n",[277,955,956],{"class":279,"line":418},[277,957,958],{},"        'Collect evidence before expansion',\n",[277,960,961],{"class":279,"line":424},[277,962,750],{},[277,964,965],{"class":279,"line":429},[277,966,967],{},"    'constraintHints' => [\n",[277,969,970],{"class":279,"line":434},[277,971,972],{},"        'Database lock time must remain below the approved threshold',\n",[277,974,975],{"class":279,"line":440},[277,976,977],{},"        'Expansion requires the accountable release owner',\n",[277,979,980],{"class":279,"line":445},[277,981,982],{},"        'Rollback must remain available',\n",[277,984,985],{"class":279,"line":451},[277,986,750],{},[277,988,989],{"class":279,"line":457},[277,990,991],{},"    'idempotencyKey' => 'checkout-3.8-release-review-v1',\n",[277,993,994],{"class":279,"line":463},[277,995,996],{},"    'retentionDays' => 90,\n",[277,998,999],{"class":279,"line":468},[277,1000,1001],{},"    'contextPolicy' => [\n",[277,1003,1004],{"class":279,"line":474},[277,1005,1006],{},"        'includeMemory' => true,\n",[277,1008,1009],{"class":279,"line":480},[277,1010,1011],{},"        'includeKnowledge' => true,\n",[277,1013,1014],{"class":279,"line":486},[277,1015,1016],{},"        'includeContextCapsules' => true,\n",[277,1018,1019],{"class":279,"line":492},[277,1020,1021],{},"        'includePastDecisions' => true,\n",[277,1023,1024],{"class":279,"line":498},[277,1025,1026],{},"        'includeReflections' => true,\n",[277,1028,1029],{"class":279,"line":504},[277,1030,750],{},[277,1032,1033],{"class":279,"line":510},[277,1034,1035],{},"    'policy' => [\n",[277,1037,1038],{"class":279,"line":516},[277,1039,1040],{},"        'mode' => 'deep',\n",[277,1042,1043],{"class":279,"line":522},[277,1044,1045],{},"        'depth' => 10,\n",[277,1047,1048],{"class":279,"line":528},[277,1049,1050],{},"        'maxScenarios' => 8,\n",[277,1052,1053],{"class":279,"line":534},[277,1054,1055],{},"        'maxRuntimeMs' => 8_000,\n",[277,1057,1058],{"class":279,"line":540},[277,1059,1060],{},"        'requireApprovalAboveRisk' => 'medium',\n",[277,1062,1063],{"class":279,"line":546},[277,1064,1065],{},"        'allowExecution' => false,\n",[277,1067,1068],{"class":279,"line":552},[277,1069,1070],{},"        'storeSafeArtifactsOnly' => true,\n",[277,1072,1073],{"class":279,"line":558},[277,1074,1075],{},"        'includeCounterfactuals' => true,\n",[277,1077,1078],{"class":279,"line":564},[277,1079,1026],{},[277,1081,1082],{"class":279,"line":569},[277,1083,750],{},[277,1085,1086],{"class":279,"line":575},[277,1087,1088],{},"]));\n",[277,1090,1091],{"class":279,"line":581},[277,1092,318],{"emptyLinePlaceholder":317},[277,1094,1095],{"class":279,"line":587},[277,1096,1097],{},"$scenario_id = $run['recommendedScenarioId'] ?? null;\n",[277,1099,1100],{"class":279,"line":592},[277,1101,1102],{},"if (!is_string($scenario_id) || $scenario_id === '') {\n",[277,1104,1105],{"class":279,"line":598},[277,1106,1107],{},"    throw new RuntimeException('No scenario satisfied the current decision boundary');\n",[277,1109,1110],{"class":279,"line":603},[277,1111,399],{},[277,1113,1114],{"class":279,"line":608},[277,1115,318],{"emptyLinePlaceholder":317},[277,1117,1118],{"class":279,"line":614},[277,1119,1120],{},"$decided = neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fdecide', scoped([\n",[277,1122,1123],{"class":279,"line":620},[277,1124,1125],{},"    'runId' => $run['runId'],\n",[277,1127,1128],{"class":279,"line":626},[277,1129,1130],{},"    'scopeIds' => ['service:checkout-api', 'policy:production-change'],\n",[277,1132,1133],{"class":279,"line":632},[277,1134,1135],{},"    'selectedScenarioId' => $scenario_id,\n",[277,1137,1139],{"class":279,"line":1138},58,[277,1140,1141],{},"    'decisionSummary' => 'Selected the bounded pilot scenario for owner review.',\n",[277,1143,1145],{"class":279,"line":1144},59,[277,1146,1147],{},"    'rationaleSummary' => implode(' ', [\n",[277,1149,1151],{"class":279,"line":1150},60,[277,1152,1153],{},"        'The pilot preserves rollback and gathers current lock-duration evidence.',\n",[277,1155,1157],{"class":279,"line":1156},61,[277,1158,1159],{},"        'Expansion remains conditional on the threshold and owner review.',\n",[277,1161,1163],{"class":279,"line":1162},62,[277,1164,725],{},[277,1166,1168],{"class":279,"line":1167},63,[277,1169,1088],{},[277,1171,1173],{"class":279,"line":1172},64,[277,1174,1175],{},"$decision = $decided['decisionRecord'] ?? null;\n",[277,1177,1179],{"class":279,"line":1178},65,[277,1180,1181],{},"if (!is_array($decision)) {\n",[277,1183,1185],{"class":279,"line":1184},66,[277,1186,1187],{},"    throw new RuntimeException('The decision record was not created');\n",[277,1189,1191],{"class":279,"line":1190},67,[277,1192,399],{},[277,1194,1196],{"class":279,"line":1195},68,[277,1197,318],{"emptyLinePlaceholder":317},[277,1199,1201],{"class":279,"line":1200},69,[277,1202,1203],{},"if (($decision['status'] ?? null) === 'draft') {\n",[277,1205,1207],{"class":279,"line":1206},70,[277,1208,1209],{},"    neutronRequest(\n",[277,1211,1213],{"class":279,"line":1212},71,[277,1214,1215],{},"        requiredEnv('NEUTRON_APPROVER_TOKEN'),\n",[277,1217,1219],{"class":279,"line":1218},72,[277,1220,1221],{},"        '\u002Fv1\u002Fconsequence\u002Fapprove',\n",[277,1223,1225],{"class":279,"line":1224},73,[277,1226,1227],{},"        scoped([\n",[277,1229,1231],{"class":279,"line":1230},74,[277,1232,1233],{},"            'decisionId' => $decision['decisionId'],\n",[277,1235,1237],{"class":279,"line":1236},75,[277,1238,1239],{},"            'scopeIds' => ['service:checkout-api', 'policy:production-change'],\n",[277,1241,1243],{"class":279,"line":1242},76,[277,1244,1245],{},"            'note' => 'Release owner approved the pilot only; expansion needs another review.',\n",[277,1247,1249],{"class":279,"line":1248},77,[277,1250,1251],{},"        ]),\n",[277,1253,1255],{"class":279,"line":1254},78,[277,1256,1257],{},"    );\n",[277,1259,1261],{"class":279,"line":1260},79,[277,1262,399],{},[263,1264,1265],{},"Use the approver token only after verifying the authenticated human's role, scope, and current intent. Approval does not execute the release.",[296,1267,1269],{"id":1268},"observe-and-reflect","Observe and reflect",[263,1271,1272],{},"After the application performs the separately authorized pilot:",[267,1274,1276],{"className":302,"code":1275,"language":304,"meta":272,"style":272},"neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fobserve', scoped([\n    'decisionId' => $decision['decisionId'],\n    'scopeIds' => ['service:checkout-api', 'history:checkout-releases'],\n    'summary' => 'The 1% pilot completed without customer errors and was held for review.',\n    'observedMetrics' => [\n        'pilot_percent' => 1,\n        'pilot_minutes' => 30,\n        'database_lock_p95_ms' => 180,\n        'customer_error_rate' => 0,\n    ],\n    'unexpectedConsequences' => [\n        'Cache warm-up took ten minutes longer than estimated.',\n    ],\n    'sourceRefs' => [\n        'release-run:checkout-3.8-pilot',\n        'dashboard:database-locks-2026-08-15',\n    ],\n]));\n\n$reflected = neutronRequest(\n    requiredEnv('NEUTRON_INTERNAL_TOKEN'),\n    '\u002Fv1\u002Fconsequence\u002Freflect',\n    scoped([\n        'decisionId' => $decision['decisionId'],\n        'scopeIds' => ['service:checkout-api', 'history:checkout-releases'],\n    ]),\n);\n$lessons = $reflected['reflectionLessons'] ?? [];\n$lesson = $lessons === [] ? null : $lessons[array_key_last($lessons)];\n",[274,1277,1278,1283,1288,1293,1298,1303,1308,1313,1318,1323,1327,1332,1337,1341,1346,1351,1356,1360,1364,1368,1373,1378,1383,1388,1393,1398,1402,1406,1411],{"__ignoreMap":272},[277,1279,1280],{"class":279,"line":280},[277,1281,1282],{},"neutronRequest($agent_token, '\u002Fv1\u002Fconsequence\u002Fobserve', scoped([\n",[277,1284,1285],{"class":279,"line":314},[277,1286,1287],{},"    'decisionId' => $decision['decisionId'],\n",[277,1289,1290],{"class":279,"line":321},[277,1291,1292],{},"    'scopeIds' => ['service:checkout-api', 'history:checkout-releases'],\n",[277,1294,1295],{"class":279,"line":327},[277,1296,1297],{},"    'summary' => 'The 1% pilot completed without customer errors and was held for review.',\n",[277,1299,1300],{"class":279,"line":332},[277,1301,1302],{},"    'observedMetrics' => [\n",[277,1304,1305],{"class":279,"line":338},[277,1306,1307],{},"        'pilot_percent' => 1,\n",[277,1309,1310],{"class":279,"line":343},[277,1311,1312],{},"        'pilot_minutes' => 30,\n",[277,1314,1315],{"class":279,"line":349},[277,1316,1317],{},"        'database_lock_p95_ms' => 180,\n",[277,1319,1320],{"class":279,"line":354},[277,1321,1322],{},"        'customer_error_rate' => 0,\n",[277,1324,1325],{"class":279,"line":360},[277,1326,750],{},[277,1328,1329],{"class":279,"line":366},[277,1330,1331],{},"    'unexpectedConsequences' => [\n",[277,1333,1334],{"class":279,"line":372},[277,1335,1336],{},"        'Cache warm-up took ten minutes longer than estimated.',\n",[277,1338,1339],{"class":279,"line":378},[277,1340,750],{},[277,1342,1343],{"class":279,"line":384},[277,1344,1345],{},"    'sourceRefs' => [\n",[277,1347,1348],{"class":279,"line":390},[277,1349,1350],{},"        'release-run:checkout-3.8-pilot',\n",[277,1352,1353],{"class":279,"line":396},[277,1354,1355],{},"        'dashboard:database-locks-2026-08-15',\n",[277,1357,1358],{"class":279,"line":402},[277,1359,750],{},[277,1361,1362],{"class":279,"line":407},[277,1363,1088],{},[277,1365,1366],{"class":279,"line":413},[277,1367,318],{"emptyLinePlaceholder":317},[277,1369,1370],{"class":279,"line":418},[277,1371,1372],{},"$reflected = neutronRequest(\n",[277,1374,1375],{"class":279,"line":424},[277,1376,1377],{},"    requiredEnv('NEUTRON_INTERNAL_TOKEN'),\n",[277,1379,1380],{"class":279,"line":429},[277,1381,1382],{},"    '\u002Fv1\u002Fconsequence\u002Freflect',\n",[277,1384,1385],{"class":279,"line":434},[277,1386,1387],{},"    scoped([\n",[277,1389,1390],{"class":279,"line":440},[277,1391,1392],{},"        'decisionId' => $decision['decisionId'],\n",[277,1394,1395],{"class":279,"line":445},[277,1396,1397],{},"        'scopeIds' => ['service:checkout-api', 'history:checkout-releases'],\n",[277,1399,1400],{"class":279,"line":451},[277,1401,725],{},[277,1403,1404],{"class":279,"line":457},[277,1405,635],{},[277,1407,1408],{"class":279,"line":463},[277,1409,1410],{},"$lessons = $reflected['reflectionLessons'] ?? [];\n",[277,1412,1413],{"class":279,"line":468},[277,1414,1415],{},"$lesson = $lessons === [] ? null : $lessons[array_key_last($lessons)];\n",[263,1417,1418],{},"Review the lesson before any durable memory promotion.",[263,1420,1421,1422,1426],{},"Return to the ",[1423,1424,1425],"a",{"href":166},"shared lifecycle and production checklist",".",[1428,1429,1430],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":272,"searchDepth":314,"depth":314,"links":1432},[1433,1434,1435,1436],{"id":298,"depth":314,"text":299},{"id":641,"depth":314,"text":642},{"id":855,"depth":314,"text":856},{"id":1268,"depth":314,"text":1269},"Build a memory-and-consequence agent with the PHP SDK and public REST endpoints.","md",{},{"title":90,"description":1437},"S0ztMRSrjim19fXzIvnymBmEHTXOaW8KJ3mXbk3DLko",[1443,1444],{"title":86,"path":174,"stem":175,"children":-1},{"title":94,"path":180,"stem":181,"children":-1},1786883755934]