Docs / Changelog
Changelog
All notable changes to _AugmentedIntelligence v11.0 — Typed Commands are documented in this file.
Format follows Keep a Changelog-style sections: Added, Changed, Fixed, Security, Deferred.
Dates use the work-session chronology around mid-2026 (v11 typed-commands track). Where an exact calendar day was not recorded, entries are grouped by theme.
[Unreleased]
Added
Minecraft RL — closed-form math kernels
MinecraftMathKernels(MinecraftMathKernels.hpp, header-only, std-only): "compute, don't learn" solvers —AimSolve(exact yaw/pitch to a target) +YawDelta,FallDamage/SafeToDrop,ArrowLaunchPitch(projectile ballistics),CraftingRequirements(recursive raw-material expansion),OreDepthPosterior(Laplace-smoothed best Y-band),LocalDanger(3×3×3 hazard cost),InterceptPoint(lead-the-target).- Command:
minecraft dqn math aim <x> <y> <z> | fall <blocks> | arrow <dist> [dy] | craft <item> [count] | danger. - Verified: 47-case unit harness that includes the real shipping header.
Minecraft RL — bounded recursive self-improvement (RSI)
MinecraftRSI(MinecraftRSI.hpp): self-tuning controller for epsilon / curiosity / reward-blend / hazard-weight from the agent's own return trend, inside hard compile-time clamps. Reuses the existing DE stability tripwire (_RsiStabilityMonitor) and kill switch (_KillSwitch) — freezes and reverts to last-known-good on runaway dynamics or safe-mode. Self-tuning only, never self-code-modification.- Command:
minecraft dqn rsi status|on|off|reset|autokill on|off(off by default; tunes only while enabled and training). - Verified: 18-case safety-invariant harness (hard-clamp / freeze / revert, incl. 500-step adversarial saturation).
Minecraft RL — look-where-moving
minecraft dqn look-move <0..1>: with the given probability, replaces a movement action with the turn that aligns facing to the actual travel heading, so the bot faces where it walks (e.g.0.85= most of the time). UsesMinecraftMathKernels(AimSolve/YawDelta); 20° tolerance with a no-oscillation guard. 7-case decision test.
MathNN — loss functions
nn::Losswidened from{MSE, CrossEntropy, BCE}to add Huber, Quantile (pinball), GaussianNLL (heteroscedastic — output layer is2kwide: means + log-variances), and KLDivergence; plusnn::LossName/ParseLossand_NN::SetHuberDelta/SetQuantileTau. Values are appended so existing persisted integers (MSE=0/CE=1/BCE=2) stay valid; existing fused softmax-CE and sigmoid-BCE paths untouched. Enables QR-DQN and uncertainty heads.- Verified: 23-case harness — every analytic gradient checked against central-difference numerical differentiation (agreement ~1e-10).
First-aid reference desk
FirstAidReference(FirstAidReference.hpp) +firstaid <what happened>: vetted, deterministic first-aid lookup — deliberately not a reinforcement-learning agent (medical guidance must never be discovered by trial and error). Fail-safe: every result carries an emergency-services disclaimer, red-flag symptoms escalate to "call emergency services now", and unknown queries never fabricate steps. 12 standard topics (choking, bleeding, burns, heart attack, stroke/FAST, anaphylaxis, seizure, recovery position, CPR pointer, sprain, nosebleed, poisoning). 21-case fail-safe test.
All natural disasters monitor
WeatherHazardsmulti-hazard desk: merges NWS (classified flood/fire/tornado/hurricane/tsunami/heat/winter/…), USGS quakes, NASA EONET, GDACS, NOAA SWPC space weather, plus local Open-Meteo storm-risk signal.- Commands:
disaster all|list|desk|<category>,disaster monitor on|off,natural disaster …,hazards …; pluginsweatherkit/disasterkit. - Background monitor prints NEW events on interval (default 300s).
- Docs:
docs/WeatherHazards.md(categories, sources, limits).
Marketing
- 2-minute commercial package:
docs/AugmentedIntelligence-Commercial-2min.md(timed script, VO, 15s/30s cut-downs, production notes).
Minecraft client — Mack's Minecraft + GLSL shaders
MinecraftClientProfile: named client profiles; default Mack's Minecraft (macks_minecraft).- GLSL shader backends: Iris (Fabric), Oculus (Forge), OptiFine; pack list/set;
shaders applywrites loader config. - Commands:
minecraft profile …,minecraft shaders …,minecraft mack status|doctor|shaders. - Docs:
docs/MinecraftIntegration.md(client profile section).
Lua scripts + bindings for new features
_WeatherHazards::RegisterLuaGlobals:weather_*,disaster_*,settings_config_status/settings_mysql_primary/settings_save/ …- Wired into
RunLuaScriptFile+AgentRuntimeLua states. - New scripts:
Features-V11-Harness.lua,Natural-Disasters-Watch.lua,MySQL-Configuration.lua. - Updated:
Brainstorm-Integrations.lua,Simple-MathNN-Bridge.lua,Cad-Dcc-RL.lua,AugmentedIntelligence-Bootstrap.lua,Agent-Script-Catalog.md,docs/LuaBrainstormAPI.md.
Changed
Minecraft RL — 88-dim state + anticipatory hazard reward
- State vector grew 48 → 88 dims. Added, on top of the existing base/vision/sink/stratum/entity features: local-grid (openness/lava/headroom/footing), safety (near-lava/fall-risk/burning/not-ok), pathability (graded walkability of forward/left/right/back from the plugin's
pathReason), self-state (sneak/sprint/tool-durability/crosshair-hostile), environment (underwater/weather), temporal memory (last-action + repeat count), goal-bearing, biome hash, and vitals-trend features. Most consume plugin observation data that was already sent but previously unconsumed.DefaultAgentDims("minecraft")kept in lockstep at{88, 26}. Each dim bump invalidates old MathNN checkpoints — retrain. - Anticipatory hazard-avoidance reward: penalizes standing next to lava / on a ledge / on fire before the health drop lands, with an escape bonus; the hazard weight is RSI-tunable. State-feature helpers (
parseGridFeatures,pathWalkability,isHostileEntityType,biomeHash,headingErrorFeature) verified in a 26-case harness. - Docs:
docs/MinecraftPluginTrainingGuide.md(state description + new command sections;.docxregenerated).
Configuration → MySQL primary
- Source of truth: application settings load/save via MySQL
ai_settings(_Settings::LoadConfiguration/_Settings::SaveSettings→_SettingsMySQL::SaveAll). settings.txtbootstrap: host/user/password + AD/mode flags only (unlesssettings_write_file_mirroror file-primary).- First-run migration: empty MySQL settings tables import a full legacy
settings.txtthen seed. - 89 legacy
Get*helpers no longer re-opensettings.txt; they return in-memory globals filled from MySQL. - CLI:
--settings-mysql-primary,--settings-file-primary,--settings-file-mirror; envAI_SETTINGS_*. - Menu: MySQL Settings 14–17 (toggle primary/mirror, reload, save).
- Docs:
docs/MySQLConfiguration.md; updates to MySQLDatabases, Windows-Install, EnvironmentVariables.
Added
Commands & Features spreadsheet
- Updated
AugmentedIntelligence_Commands_and_Features.xlsx(and_updated/_v11_sessioncopies) with Discovery, Integrate, TF32, SimpleMathNNBridge, CadDccRL, portal graphs, safety gates, Lua harnesses, help topics, tests, domain modules. - Regenerator:
tools/update_commands_features_xlsx.py. - MySQL application profiles: seeded 12 new profiles in
SettingsMySQL::SeedDefaultProfilesIfMissingand spreadsheet sheet MySQL Application Profiles (discovery/wordpress, integrate, portal, simple_nn, cad_dcc_rl, TF32 lab, safe_publish_only, …). Re-seed tool:tools/update_mysql_profiles_xlsx.py. - Database creator (
InitializeProgramDatabases): expanded catalog to all program logical DBs (settings, RL/learning/construct, memory/vision/sound/thought, legal, inventory, receipts, semantic_vectors, discoveries, cad_dcc_rl, portal_metrics, remote mirror names); utf8mb4; full RL table list + domain tables; now also callsSeedDefaultProfilesIfMissing. Docs:docs/MySQLDatabases.md.
CAD/DCC Reinforcement Learning
CadDccRL: Mock-first RL for Creo, SolidWorks, Blender, Cinema 4D (shared 16-D state / 8 actions, MathNN DQN viaRLAgentNet).- Scenarios: CAD
box_fit/mass_target; Blendergame_prop_export/turntable; C4Dcloner_grid/turntable; SW mock mass/envelope. - Commands:
cad rl …,creo rl …,blender rl …,c4d rl …,sw rl …,creative rl smoke; Luacad_rl_*. - Docs:
docs/CadDccRL.md; scriptlua_scripts/Cad-Dcc-RL.lua.
Simple systems ↔ MathNN
SimpleMathNNBridge: Feature/Media bundle integrating simple text, image, audio, video, SimpleML with MathNN/MLApp.- Encode paths for text (SimpleText), image (hash + Conv2D), audio (MathNNIntegration speech), video (keyframe mean), perception (PerceptionBus).
- Soft SimpleML features (Naive Bayes + memory k-means note), fuse, confidence gate, classifier + anomaly train/predict.
- Commands:
simple nn …,simple media …,nn simple …; Luasimple_nn_*; scriptlua_scripts/Simple-MathNN-Bridge.lua. - Docs:
docs/SimpleMathNNBridge.md.
Discovery → WordPress
DiscoveryJournal(DiscoveryJournal.hpp/.cpp): journal of discoveries with optional WordPress REST publish via_WordPress::CreatePost.- Seed packs: paper discoveries (epistemic / perception / RSI / multi-agent) and session discoveries (Minecraft listen-all, Creo/Blender/C4D, weather, body, NeMo, TF train, cognitive layers, CommandSuggest, etc.).
- Typed commands:
discovery seed|list|show|encounter|add|wordpress|dry-run|wp-status|post|doctor|selftest|help. - Alias:
wordpress discovery …; plugindiscoverykit. - Storage:
data/discoveries/journal.json; dry-run HTML underdata/discoveries/<id>.html. - Catalog + docs:
docs/DiscoveryWordPress.md. - Help topic:
help discovery.
Brainstorm integrations hub (Lua + IIS/PHP + graphs)
BrainstormIntegrations(BrainstormIntegrations.hpp/.cpp): orchestration for discovery, portal, graphs, IIS, PHP site, cutlass/TF32.- Typed commands:
integrate status|doctor|selftest|all|luaiis status|doctor|list|recycle <pool> [apply]php site status|health|config root|url|deploy [apply]graphs architecture|discovery|rl|all|export- Lua globals registered on script run and agent Lua states:
discovery_*,cutlass_*,graphs_*,iis_*,php_site_*,portal_*,integrate_*. - Harness script:
lua_scripts/Brainstorm-Integrations.lua. - Docs:
docs/BrainstormIntegrations.md; help:help integrate.
TF32 / matrix multiply (GPU path)
CutlassAccel::Gemm: real cuBLASGemmExpath underUSE_CUDA:fp32→CUBLAS_COMPUTE_32Ftf32→CUBLAS_COMPUTE_32F_FAST_TF32(SM ≥ 8)- Host
MatrixAccelerationremains fallback and golden reference. cutlass checkreports FP32 max-diff vs host and TF32 max-diff (looser tolerance).- Lua:
cutlass_set_precision,cutlass_gemm,cutlass_bench,cutlass_check. - Docs updated:
docs/Cutlass.md.
Program / PHP portal graphs
- Graph JSON export: architecture DAG, discovery category stats, RL summary.
- Writes under portal
graphs/and PHP sitedata/when configured. program_web_portal:api.php?q=graphs&which=all|architecture|discovery|rl- UI section Graphs (Chart.js bars, doughnut, architecture node list).
- Docs:
docs/ProgramStatePortal.mdgraphs section.
Cognitive / command UX (prior v11 track)
CommandSuggest: hybrid neural/catalog suggest from chat (suggest/do/ dry-run apply). Docs:docs/CommandSuggest.md.CognitiveLayers: attention / curiosity / drives façade; MathNN + RL coupling notes indocs/CognitiveLayers.md,docs/CognitiveLayersMathNNRL.md.
CAD / DCC / weather / body / safety (prior v11 track)
- CreoBridge, BlenderBridge, Cinema4DBridge with profiles, dry-run defaults, recipes.
- CreativeDesk fan-out.
- WeatherHazards: Open-Meteo + NWS + USGS watch desk.
- BodyEquilibrium: restorative/work/sprint/recover/safe; write-freeze coupling.
- ReasoningHeuristic / ReasoningAudit (fallacy/bias offline + optional deep path).
- NemoBridge mock rails + health probe.
- TFTrain: mock/pipeline/finetune/native orchestration (TF C serve-first truth).
Minecraft
- Spigot listen-all / listen-forward path so LLM can read all chat without auto-reply spam (require-mention /
!aireply policy). - PHP minecraft_web_dashboard live charts (players, vitals, threat, bridge).
Platform / bridges
- Plugin/bridge dry-run defaults; BridgeProtocol v1 patterns.
- Remote CUDA hybrid matmul + worker catalog (docs:
docs/RemoteCUDA.md). - Program State Portal export + optional HTTP (
portal export,portal http on).
Changed
- WordPress speech path delegates
wordpress discovery …to the discovery journal before generic WP handlers. - Discovery auto-post ties into
wordpress_auto_report_enabledwhen toggled on. - Cutlass status text reports cuBLAS readiness and SM major when CUDA is present.
- Speech command dispatch early-routes:
discovery,integrate,iis,php site,graphs. - Lua script bootstrap (
RunLuaScriptFile) and agent Lua registration now call_BrainstormIntegrations::RegisterLuaGlobals. - Help menu topics include discovery and integrate / iis / graphs.
Fixed
- Discovery dry-run does not mark entries as posted (so later live
post pendingstill works). - Fallacy / bias wiring and speech early-return edge cases from intermediate v11 work.
- C4D render-preview frame under lock; Creo recursive_mutex for worker safety (session fixes).
- PowerShell JSON workers for Creo/Blender paths stabilized for bridge recipes.
ConsoleBottomInputnow pins the typed>>prompt to the bottom visible row of the console at all times (srWindow.Bottom), instead of drawing it on the line after the most recent output — where it floated mid-screen whenever output was sparse or paused.
Security
- IIS recycle and PHP deploy require explicit
apply; default is dry-run / plan only. - Discovery WordPress posts default to dry-run and preferred draft status.
- Portal and graph endpoints remain read-only visualization surfaces.
- Credentials stay in settings / AD password slots (
wordpress_app_password, FTP, etc.); not written into PHP webroot by exporters.
Deferred / known gaps
- Live Adobe CC / Office 365 full plugins.
- True CUTLASS device MMA
.cukernels (AI_USE_CUTLASSstill optional upgrade path). - Full SolidWorks COM live automation.
- Live NeMo NIM beyond mock rails + health.
- TensorFlow true in-process C++ training (orchestration + serve-first remains the supported story).
- Full float tensor upload for large remote matmul.
- PerceptionBus auto candidates / optional MySQL semantic production path.
- IIS ARR reverse-proxy recipes and signed PHP→AI webhooks (designed; not all live).
- MathNN CPU matmul is scalar.
_NN::Forwardis a plaindoubletriple loop with no SIMD intrinsics and no call into the AVX-512 / CUTLASS / HardwareAcceleration matmul modules; the AVX2/AVX512 build configs enable/archprogram-wide but the neural-net hot loop is an FP reduction under the default/fp:precise, so it is unlikely to auto-vectorize. Accelerated CPU matmul for MathNN remains a planned backend pass. - Minecraft math kernels are computed but not yet consumed by behavior.
MinecraftMathKernels(AimSolve, LocalDanger, InterceptPoint, …) are tested pure functions exposed viaminecraft dqn math, but nothing in the policy/action loop calls them yet (e.g. no AimSolve action-override, no navigator using LocalDanger). Wiring needs a live training run to validate. - Bearing/trig math is duplicated across
GeometryTrigCore,MinecraftDQN'sheadingErrorFeature, andMinecraftMathKernels::AimSolve— consolidation pending. - No checkpoint dim-guard. After the repeated state-dim growth (48→88), loading a saved MathNN net with a mismatched input width silently thrashes rather than erroring; an auto-detect-and-reset guard is not yet built.
- This session's changes are compiled/verified but not yet linked into a running binary — the running app held the exe lock (
LNK1104) during the session; an incremental relink is required to ship them.
[v11.0 Typed Commands] — Session themes (summary)
High-level themes delivered across the typed-commands branch of work:
| Theme | Outcome |
|---|---|
| Math / DE / algebra / MathNN | Command surfaces, device matmul façade, learning demos |
| Dear ImGui / UI runtime | Dashboard panels, overlays, web UI hooks |
| Plugins & bridges | PLUGIN_REGISTER, BridgeManager, game/CAD/DCC bridges |
| GPU stack | Remote CUDA, TensorRT registry, CUTLASS façade → cuBLAS TF32, TF32 docs |
| Semantic / GloVe | Offline vectors when MySQL/wiki unavailable |
| Minecraft | Chat listen modes, plugin ops, web dashboard |
| Creative / CAD | Creo, Blender, Cinema 4D profiles + creative desk |
| Cognition / body | Layers, fallacy/bias, body equilibrium, weather desk |
| NeMo / TF train | Mock rails; pipeline-oriented TF training from C++ |
| Discovery / WordPress | Journal + REST post + Lua |
| IIS / PHP / graphs | Integrate hub, portal graphs, dry-run IIS/PHP ops |
| Lua | Broad RegisterLuaGlobals; Brainstorm-Integrations harness |
Operator quick reference (new surfaces)
# Discovery → WordPress
discovery seed all
discovery dry-run off # when WP credentials ready
discovery wordpress on
discovery post pending
# Integrate brainstorm stack
integrate doctor
integrate all
integrate lua
# TF32 GEMM
cutlass set precision tf32
cutlass check 64
cutlass bench 1024 5
# Graphs / PHP
graphs export
php site health
# then: cd program_web_portal && php -S 0.0.0.0:8090 → Graphs
# IIS (read-only / dry-run)
iis doctor
iis recycle DefaultAppPool # dry-run
iis recycle DefaultAppPool apply
File index (this changelog window)
| Path | Notes |
|---|---|
DiscoveryJournal.hpp / .cpp |
Discovery journal + WP |
BrainstormIntegrations.hpp / .cpp |
Integrate / IIS / PHP / graphs / Lua |
CutlassAccel.cpp |
cuBLAS TF32/FP32 GEMM |
SpeechCommands.cpp / AgentRuntime.cpp |
Routing + Lua registration |
SpeechCommandsHelp.cpp |
help discovery / integrate |
lua_scripts/Brainstorm-Integrations.lua |
End-to-end Lua harness |
program_web_portal/api.php / index.php |
Graphs API + UI |
docs/ProgramEvolution.md |
Version lines + capability eras + how to keep tracking |
docs/ChatSession-Features.md |
Index of all chat features |
docs/DiscoveryWordPress.md |
Discovery → WordPress |
docs/TF32MatrixMultiply.md |
TF32 / GEMM |
docs/IisPhpIntegration.md |
IIS + PHP |
docs/PhpGraphs.md |
PHP graphs |
docs/LuaBrainstormAPI.md |
Lua API reference |
docs/BrainstormIntegrations.md |
Integration hub |
docs/Cutlass.md |
Cutlass command card |
docs/ProgramStatePortal.md |
Program portal |
CHANGELOG.md |
This file |
How to extend this log
- Add a new dated section under
[Unreleased]or cut a version heading (## [11.0.x] - YYYY-MM-DD). - Prefer user-visible behavior over internal renames.
- Call out dry-run / safety changes explicitly under Security.
- Link new docs under File index when adding modules.
Generated for the v11.0 Typed Commands workspace to capture Discovery/WordPress, Brainstorm integrations, TF32 GEMM, PHP graphs, and the related subsystem MVPs described above.
Generated from the project markdown docs on 2026-07-24. This is a static, self-contained site.