RL Curriculum Orchestrator
RLCurriculumOrchestrator connects the RL domains that were split across the
project and the expanded RL domain catalog: Knowledge RL, Gaming RL, game and
physics simulation, robot/Gazebo simulation, cybersecurity, Windows operations,
software build/test, research, healthcare, tutoring, parenting, finance, stocks,
commerce, operations, infrastructure, legal, policy, manufacturing, creative
workflows, productivity, IoT, fleet maintenance, call-center support, ROS/robot
hooks, and real-world deployment gates.
RL hub (start here): ReinforcementLearning.md
Related subsystem docs:
docs/RLDomains.mddocs/MathNN.md— in-process neural policies (rl net, learners)docs/LifeRL.md— advisory multi-domain life RLdocs/KnowledgeRL.mddocs/GamingRL.mddocs/DrivingRL.mddocs/MinecraftPluginTrainingGuide.mddocs/SimpleAgents.md
The simulator smoke tests are non-actuating. They train tiny tabular policies
against safe synthetic RLEnv environments so the RL loop can be checked before
anything touches Minecraft, Windows automation, ROS, or hardware.
Neural (MathNN) training is separate: use rl net …, rl cartpole, domain
net on flags, or nn math train … after smoke passes.
Commands
rl status
rl curriculum status
rl curriculum plan
rl curriculum next
rl curriculum domains [category]
rl curriculum domain <id>
rl curriculum envs
rl curriculum smoke all [episodes] [max_steps]
rl curriculum smoke knowledge [episodes] [max_steps]
rl curriculum smoke game [episodes] [max_steps]
rl curriculum smoke physics [episodes] [max_steps]
rl curriculum smoke robot [episodes] [max_steps]
rl curriculum smoke cybersecurity [episodes] [max_steps]
rl curriculum smoke healthcare [episodes] [max_steps]
rl curriculum smoke mathematics [episodes] [max_steps]
rl curriculum export [path]
rl domains [category]
rl domain <id>
rl sim game smoke [episodes] [max_steps]
rl sim physics smoke [episodes] [max_steps]
rl sim robot smoke [episodes] [max_steps]
rl sim energy smoke [episodes] [max_steps]
rl sim windows smoke [episodes] [max_steps]
rl net status
rl net modes
rl net enable <agent>
rl net mode <agent> <dqn|dueling-dqn|actor-critic|bandit|hierarchical|multihead-dueling|worldmodel|reward-model>
rl net save|load <agent> <path>
rl net reward <agent> good|bad
rl net wm|rm <agent> on|off
rl cartpole [episodes] [dueling|a2c|hierarchical|multihead] [shield] [tripwire] [curiosity]
rl life status|smoke|suggest # alias of life rl …
rl real envs
rl real stage <agent> <sim|offline|shadow|gatedlive|live>
Domains
Run rl curriculum domains to print the live catalog. Run
rl curriculum domain <id> to print actions, safety model, deployment stage,
and a ready-to-run smoke command for a single domain.
| Domain | Category | Smoke | Purpose |
|---|---|---|---|
knowledge_rl |
knowledge | yes | Synthetic claim triage, critique, and memory-consolidation policy checks. |
gaming_rl |
gaming | yes | Game/FPS navigation, stuck recovery, resource timing, and reward shaping. |
game_simulator |
gaming | yes | Deterministic grid navigation and obstacle handling. |
physics_simulator |
simulation | yes | Force and trajectory control using local physics dynamics. |
robot_simulator |
robotics | yes | Differential-drive navigation with collision and boundary penalties. |
robotics_gazebo |
robotics | yes | ROS/Gazebo navigation, manipulation, recovery, and sensor-fusion staging. |
ros_robot |
robotics | no | Real ROS/hardware bridge placeholder, registered at Sim by default. |
cybersecurity_soc |
security | yes | Alert triage, evidence collection, incident ranking, and escalation policy. |
windows_ops |
operations | yes | Ticket triage, patch scheduling, diagnostics, rollback planning, and audits. |
software_build |
software | yes | Build, test, lint, bisect, retry, rollback, and documentation choices. |
research_science |
research | yes | Literature review, hypothesis selection, experiment planning, and replication. |
healthcare_triage |
healthcare | yes | Intake questions, guideline lookup, risk flags, and human escalation. |
education_tutoring |
education | yes | Hinting, examples, retrieval practice, review, and assessment timing. |
child_parenting |
parenting | yes | Supportive routines, de-escalation, boundaries, choices, and safety escalation. |
finance_portfolio |
finance | yes | Allocation, risk balancing, rebalance timing, and drawdown-aware simulation. |
stock_research |
finance | yes | RSS reading, sentiment checks, fundamentals review, and watchlist updates. |
product_recommendation |
commerce | yes | Relevance, diversity, safety filtering, preference questions, and audits. |
sales_pricing |
commerce | yes | Offer timing, guarded discounting, follow-up cadence, and churn handling. |
supply_chain |
operations | yes | Reorder, supplier, routing, buffer stock, and disruption-response policies. |
energy_grid |
infrastructure | yes | Load forecasting, storage dispatch, outage response, and demand shifting. |
legal_research |
legal | yes | Statute/case lookup, issue spotting, citation checks, and attorney escalation. |
civic_policy |
government | yes | Stakeholder tradeoffs, sequencing, equity checks, review, and policy audits. |
manufacturing_quality |
manufacturing | yes | Inspection, calibration, sampling, rework, and line-stop recommendations. |
media_workflow |
creative | yes | Ingest, tagging, edit queues, rendering, captioning, and publishing review. |
personal_productivity |
personal | yes | Prioritization, scheduling, focus blocks, breaks, reminders, and review. |
smart_home |
iot | yes | Comfort, energy, notifications, fallback-safe automation, and audit policy. |
fleet_maintenance |
operations | yes | Inspection, preventive service, parts staging, rerouting, and downtime reduction. |
call_center |
customer_ops | yes | Routing, response suggestions, clarifying questions, escalation, and QA. |
llm_routing |
llm | no | Backend selection by latency, quality, cost, and task fit. |
math_* (field catalog) |
mathematics | yes | ~55 MathNN fields: arithmetic through analysis, topology, optimization, finance, biology, … See MathNNFields.md. |
math_algebra |
mathematics | yes | Parsing, simplification, factoring, and equation-solving tutoring steps. |
math_geometry |
mathematics | yes | Theorem application, measurement, and proof-construction tutoring. |
math_calculus |
mathematics | yes | Differentiation, integration, limits, series tests. |
math_differential_equations |
mathematics | yes | ODE classification, integrating factors, numeric IVP smoke. |
math_linear_algebra |
mathematics | yes | Matrix ops, systems, rank/eigen analysis, and transformations. |
math_probability_statistics |
mathematics | yes | Events, Bayes updates, descriptive stats, and hypothesis-test workflows. |
| … | mathematics | yes | Full list: nn math domains / rl curriculum domains mathematics. |
Run rl curriculum smoke mathematics or nn math smoke mathematics to smoke
all mathematics fields (can be long). Use nn math train <domain_id> for
MathNN DQN training. Short aliases: pde, linalg, topology, ode, …
The generic smoke domains use a synthetic eight-value observation:
progress, quality, risk, uncertainty, budget, compliance, load, time. Their
actions are catalog-specific labels, but the smoke environment maps them into
safe policy families: observe, optimize, explore, escalate, recover/fallback,
and audit/deploy. These smoke tests do not touch external services.
Training Flow
- Prove MathNN:
nn demo, optionalrl cartpole 50. - Run
rl curriculum smoke all 8 96. - Check
rl curriculum statusandrl curriculum next. - Repeat smoke runs with more episodes for weak domains.
- For math tutoring domains:
nn math smoke mathematics/nn math train <id>. - For Life RL (advisory):
life rl smoke all 8thenlife rl suggest …. - Train real game/Minecraft policies only after simulator returns improve.
Minecraft: dry-run →
minecraft dqn net on→ short train; optionalminecraft dqn plan onfor Executive setup steps. - For high-stakes domains such as healthcare, parenting, finance, legal, cybersecurity, infrastructure, and robotics, keep training synthetic or logged-data only until evaluation is strong and the safety model is reviewed.
- Keep real-world domains in
SimorOfflineuntil a checkpoint is promoted. - Move through
Sim -> Offline -> Shadow -> GatedLive -> Liveusingrl real stage ...and the existingRLDeploymentgates. - Save neural checkpoints:
rl net save <agent> <path>.
Lua Helpers
ai_rl_status()
ai_rl_seed(n)
ai_rl_curriculum_status()
ai_rl_curriculum_plan()
ai_rl_domains()
ai_rl_domains("finance")
ai_rl_domain("healthcare")
ai_rl_curriculum_domains()
ai_rl_curriculum_domain("cybersecurity_soc")
ai_nn_modes()
ai_nn_policy_enable("life", "dueling-dqn", 16, 8)