Docs / Brainstorm integrations (Lua + IIS/PHP + TF32 + Discovery)
Brainstorm integrations (Lua + IIS/PHP + TF32 + Discovery)
Unifies features from this chat behind typed commands and Lua globals.
Index of all chat features: ChatSession-Features.md
| Area | Implementation | Full doc |
|---|---|---|
| Discovery → WordPress | DiscoveryJournal + Lua discovery_* |
DiscoveryWordPress.md |
| TF32 / matrix multiply | CutlassAccel cuBLAS GemmEx TF32/FP32 + Lua cutlass_* |
TF32MatrixMultiply.md |
| PHP graphs | graphs export → JSON; portal Graphs UI |
PhpGraphs.md |
| IIS / PHP site | Read-only doctor + dry-run recycle/deploy | IisPhpIntegration.md |
| Lua API | All bindings table | LuaBrainstormAPI.md |
| Changelog | Project release notes | ../CHANGELOG.md |
Typed commands
integrate status|doctor|selftest|all|stack|stack-status|stack-test|init-stack|lua
iis status|doctor|list|recycle <pool> [apply]
php site status|health|config root <path>|config url <url>|deploy [apply]
graphs architecture|discovery|rl|all|export
discovery seed all | wordpress on | dry-run off | post pending
cutlass set precision tf32 | check | bench | gemm M N K
kernel status|catalog|gemm|set precision tf32
npu status|doctor|bench|set ep …
portal export
Full stack index: BrainstormStack.md (ethics, legal, trees, math fields, PDE, typing, location, NPU, kernels, game mods).
In-app help: help integrate · help discovery.
Safety
| Action | Default |
|---|---|
| IIS recycle | Dry-run unless apply |
| PHP deploy | Dry-run unless apply |
| Discovery → WP | Dry-run on until discovery dry-run off |
| WP post status | Prefer draft |
What integrate all does
InitBrainstormStack(ethics, legal, trees, math, NPU, kernel, game mods, …)discovery seed allportal exportgraphs export(portal + PHP data JSON)cutlass check 64- Prints cutlass + PHP health summary
Does not force live WordPress posts or IIS recycle.
What integrate stack does
InitBrainstormStack- Same safe path as
integrate all BrainstormStackSelfTest(ethics / legal / simpletext / math fields / PDE / kernel GEMM / location / typing dry-run / trees)
See BrainstormStack.md.
What integrate lua does
Runs lua_scripts/Brainstorm-Integrations.lua, which exercises discovery, cutlass TF32, portal, graphs, IIS doctor, and integrate_all with safe dry-run defaults.
Lua (summary)
Full table: LuaBrainstormAPI.md.
integrate_status() / integrate_doctor() / integrate_all() / integrate_selftest()
integrate_stack() / integrate_stack_status() / integrate_stack_test() / integrate_init_stack()
iis_status() / iis_doctor() / iis_recycle(name, apply_bool)
php_site_status() / php_site_health() / php_site_config_root(path) / php_site_config_url(url)
php_site_deploy(apply_bool)
graphs_architecture() / graphs_discovery() / graphs_rl() / graphs_all() / graphs_export()
discovery_status() / discovery_seed_all() / discovery_list(pending_bool)
discovery_record(title, summary, category, detail) → id, auto_posted
discovery_post_pending() → count, note
discovery_wordpress(on) / discovery_dry_run(on)
cutlass_status() / cutlass_set_precision("tf32"|"fp32"|...)
cutlass_gemm(M,N,K) / cutlass_bench(size,n) / cutlass_check(size)
ai_kernel_status() / ai_npu_status()
portal_status() / portal_export() / portal_enable(bool)
Run:
integrate lua
PHP portal graphs
- App:
graphs exportorintegrate all - Writes under portal
graphs/andprogram_web_portal/data/ - UI: Graphs section in
program_web_portal - API:
api.php?q=graphs&which=all|architecture|discovery|rl
Details: PhpGraphs.md.
TF32 notes
- GPU builds link cuBLAS.
cutlass set precision tf32→CUBLAS_COMPUTE_32F_FAST_TF32on SM ≥ 8.cutlass checkreports FP32 max-diff vs host and TF32 max-diff.- Host AVX remains the golden reference.
Details: TF32MatrixMultiply.md.
Module responsibilities
| Class / path | Responsibility |
|---|---|
_BrainstormIntegrations |
IIS/PHP/graphs/orchestrate/Lua registration |
_DiscoveryJournal |
Journal + WP post policy |
_CutlassAccel |
GEMM precision + cuBLAS |
_ProgramStatePortal |
state.json export |
_WordPress |
REST client |
program_web_portal/ |
PHP UI + graphs API |
lua_scripts/Brainstorm-Integrations.lua |
Harness |
Wiring
| Location | What |
|---|---|
SpeechCommands.cpp |
Routes integrate, iis, php site, graphs, discovery; registers Lua on script run |
AgentRuntime.cpp |
Registers Lua on agent states |
_AugmentedIntelligence.vcxproj |
Compiles BrainstormIntegrations.cpp |
SpeechCommandsHelp.cpp |
help integrate / help discovery |
Files
BrainstormIntegrations.hpp/.cppCutlassAccel.cpp(cuBLAS path)DiscoveryJournal.cpplua_scripts/Brainstorm-Integrations.luaprogram_web_portal/api.php,index.php
Generated from the project markdown docs on 2026-07-24. This is a static, self-contained site.