@plasius/learning 0.2.17 → 0.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -64,6 +64,7 @@ the exact catalog module that owns its rubric, mission and badges.
64
64
  import {
65
65
  ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1,
66
66
  BEACON_BOT_MISSION_ONE_AUTHORING_V1,
67
+ CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1,
67
68
  DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
68
69
  JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1,
69
70
  METEOR_SHIELD_MISSION_ONE_AUTHORING_V1,
@@ -73,6 +74,7 @@ import {
73
74
  RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1,
74
75
  RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
75
76
  ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
77
+ ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1,
76
78
  ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
77
79
  SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
78
80
  SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
@@ -134,6 +136,12 @@ const vibeIdeaStudio = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
134
136
  const adventureMissionPlanner = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
135
137
  (module) => module.slug === "adventure-mission-planner",
136
138
  );
139
+ const creatureCareDashboard = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
140
+ (module) => module.slug === "creature-care-dashboard",
141
+ );
142
+ const robotMissionControl = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
143
+ (module) => module.slug === "robot-mission-control",
144
+ );
137
145
 
138
146
  if (
139
147
  !roadHopper ||
@@ -152,7 +160,9 @@ if (
152
160
  !vibeGameRemixLab ||
153
161
  !vibeBugDetective ||
154
162
  !vibeIdeaStudio ||
155
- !adventureMissionPlanner
163
+ !adventureMissionPlanner ||
164
+ !creatureCareDashboard ||
165
+ !robotMissionControl
156
166
  ) {
157
167
  throw new Error("Junior Coder module is missing");
158
168
  }
@@ -225,6 +235,14 @@ assertValidMissionAuthoringBundle(
225
235
  ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1,
226
236
  adventureMissionPlanner,
227
237
  );
238
+ assertValidMissionAuthoringBundle(
239
+ CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1,
240
+ creatureCareDashboard,
241
+ );
242
+ assertValidMissionAuthoringBundle(
243
+ ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1,
244
+ robotMissionControl,
245
+ );
228
246
  ```
229
247
 
230
248
  ## Contract rules
@@ -281,6 +299,14 @@ assertValidMissionAuthoringBundle(
281
299
  state, private simulated local save and an equivalent accessible summary.
282
300
  The learner reviews the exact persistence diff; no form transmits data and
283
301
  no network, real location or personal information enters the preview.
302
+ - Creature Care Dashboard documents components, events, bounded timers, status
303
+ displays, responsive layouts and equivalent reduced-motion feedback. The
304
+ learner controls the exact accessibility diff; no network, real schedule,
305
+ background task or personal information enters the preview.
306
+ - Robot Mission Control documents commands, a fail-safe state machine, explicit
307
+ confirmation, bounded telemetry and responsive chart/text views. The learner
308
+ controls the exact confirmation diff; Web Serial, physical hardware and
309
+ automatic approval remain outside the simulator.
284
310
 
285
311
  See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
286
312
  [the uniform pricing design](docs/design/junior-coder-uniform-pricing.md),
@@ -296,6 +322,8 @@ See also [TDR 0010](docs/tdrs/tdr-0010-vibe-game-remix-bounded-suggestion-author
296
322
  See also [TDR 0011](docs/tdrs/tdr-0011-vibe-bug-detective-evidence-led-repair.md).
297
323
  See also [TDR 0012](docs/tdrs/tdr-0012-vibe-idea-studio-bounded-goal-prototyping.md).
298
324
  See also [TDR 0013](docs/tdrs/tdr-0013-adventure-mission-planner-private-persistence.md).
325
+ See also [TDR 0014](docs/tdrs/tdr-0014-creature-care-dashboard-bounded-timers-and-motion.md).
326
+ See also [TDR 0015](docs/tdrs/tdr-0015-robot-mission-control-fail-safe-simulation.md).
299
327
 
300
328
  ## Development
301
329
 
package/dist/index.cjs CHANGED
@@ -22,6 +22,7 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1: () => ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1,
24
24
  BEACON_BOT_MISSION_ONE_AUTHORING_V1: () => BEACON_BOT_MISSION_ONE_AUTHORING_V1,
25
+ CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1: () => CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1,
25
26
  DANCE_ROVER_MISSION_ONE_AUTHORING_V1: () => DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
26
27
  JUNIOR_CODER_MISSION_STAGE_ORDER_V1: () => JUNIOR_CODER_MISSION_STAGE_ORDER_V1,
27
28
  JUNIOR_CODER_MODULE_PRICE_V1_1: () => JUNIOR_CODER_MODULE_PRICE_V1_1,
@@ -37,6 +38,7 @@ __export(index_exports, {
37
38
  RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1: () => RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
38
39
  ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1: () => ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
39
40
  ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1: () => ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
41
+ ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1: () => ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1,
40
42
  SERVO_CREATURE_MISSION_ONE_AUTHORING_V1: () => SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
41
43
  SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1: () => SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
42
44
  STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1: () => STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
@@ -5488,6 +5490,568 @@ var VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1 = {
5488
5490
  ]
5489
5491
  }
5490
5492
  };
5493
+ var CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1 = {
5494
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
5495
+ moduleId: "junior-coder.creature-care-dashboard",
5496
+ moduleVersion: "1.1.0",
5497
+ missionId: "creature-care-dashboard-mission-1",
5498
+ learner: {
5499
+ estimatedMinutes: 20,
5500
+ stages: [
5501
+ {
5502
+ kind: "learn",
5503
+ instruction: "Read how components, events, status displays, timers, responsive layout and reduced motion build an accessible fictional creature dashboard.",
5504
+ artifactIds: ["creature-care-dashboard-m1-guide"]
5505
+ },
5506
+ {
5507
+ kind: "predict",
5508
+ instruction: "Predict which parts of the status card should update and which movement should stop when reduced motion is enabled.",
5509
+ artifactIds: ["creature-care-dashboard-m1-status-cards"]
5510
+ },
5511
+ {
5512
+ kind: "build",
5513
+ instruction: "Change only the supplied creature, care status, timer, layout and reduced-motion settings.",
5514
+ artifactIds: ["creature-care-dashboard-m1-code"]
5515
+ },
5516
+ {
5517
+ kind: "run",
5518
+ instruction: "Use the action-icon Run button to update the private dashboard preview and its equivalent text status.",
5519
+ artifactIds: ["creature-care-dashboard-m1-code"]
5520
+ },
5521
+ {
5522
+ kind: "assess",
5523
+ instruction: "Run deterministic component, event, timer, status, responsive-layout and accessibility checks.",
5524
+ artifactIds: []
5525
+ },
5526
+ {
5527
+ kind: "inspect",
5528
+ instruction: "Compare the observed dashboard state with the selected status card and highlighted reduced-motion setting.",
5529
+ artifactIds: ["creature-care-dashboard-m1-code"]
5530
+ },
5531
+ {
5532
+ kind: "fix",
5533
+ instruction: "Review and accept or reject the exact reduced-motion change yourself, then rerun every check.",
5534
+ artifactIds: ["creature-care-dashboard-m1-code"]
5535
+ },
5536
+ {
5537
+ kind: "explain",
5538
+ instruction: "Explain how events update component state, how the timer stays bounded and why reduced motion matters.",
5539
+ artifactIds: []
5540
+ },
5541
+ {
5542
+ kind: "reward",
5543
+ instruction: "Collect the evidence-bound care badge after the score reaches 80 and every privacy and accessibility check passes.",
5544
+ artifactIds: []
5545
+ }
5546
+ ],
5547
+ readinessChecks: [
5548
+ {
5549
+ id: "creature-care-dashboard-m1-status-check",
5550
+ prompt: "Find the creature card, care status, timer and text summary that must all describe the same private state.",
5551
+ scored: false
5552
+ }
5553
+ ],
5554
+ artifacts: [
5555
+ {
5556
+ id: "creature-care-dashboard-m1-code",
5557
+ kind: "starter-code",
5558
+ audience: "learner",
5559
+ solutionBearing: false
5560
+ },
5561
+ {
5562
+ id: "creature-care-dashboard-m1-guide",
5563
+ kind: "starter-assets",
5564
+ audience: "learner",
5565
+ solutionBearing: false
5566
+ },
5567
+ {
5568
+ id: "creature-care-dashboard-m1-status-cards",
5569
+ kind: "sample-data",
5570
+ audience: "learner",
5571
+ solutionBearing: false
5572
+ }
5573
+ ],
5574
+ goals: [
5575
+ {
5576
+ id: "creature-care-dashboard-m1-starts",
5577
+ statement: "The responsive creature-card component, labelled status display and bounded timer state are valid and start.",
5578
+ visibility: "visible",
5579
+ criterionIds: ["creature-care-dashboard-build"],
5580
+ completionRequired: true,
5581
+ aiRequired: false
5582
+ },
5583
+ {
5584
+ id: "creature-care-dashboard-m1-behaviour",
5585
+ statement: "A supplied event updates the fictional creature status and timer while the responsive dashboard keeps one consistent state.",
5586
+ visibility: "visible",
5587
+ criterionIds: [
5588
+ "creature-care-dashboard-goal-one",
5589
+ "creature-care-dashboard-goal-two",
5590
+ "creature-care-dashboard-goal-three"
5591
+ ],
5592
+ completionRequired: true,
5593
+ aiRequired: false
5594
+ },
5595
+ {
5596
+ id: "creature-care-dashboard-m1-accessible-private",
5597
+ statement: "The dashboard enables reduced motion, keeps an equivalent text status and uses no network, personal data or real schedule.",
5598
+ visibility: "visible",
5599
+ criterionIds: ["creature-care-dashboard-safety"],
5600
+ completionRequired: true,
5601
+ aiRequired: false
5602
+ }
5603
+ ],
5604
+ interactions: [
5605
+ {
5606
+ id: "creature-care-dashboard-m1-editor",
5607
+ description: "Edit the five documented dashboard calls using keyboard or pointer controls.",
5608
+ primaryMode: "keyboard",
5609
+ alternativeIds: []
5610
+ },
5611
+ {
5612
+ id: "creature-care-dashboard-m1-run",
5613
+ description: "Activate the labelled action-icon Run control.",
5614
+ primaryMode: "pointer",
5615
+ alternativeIds: ["creature-care-dashboard-m1-keyboard-run"]
5616
+ },
5617
+ {
5618
+ id: "creature-care-dashboard-m1-review",
5619
+ description: "Review and accept or reject the exact labelled diff.",
5620
+ primaryMode: "keyboard",
5621
+ alternativeIds: []
5622
+ }
5623
+ ],
5624
+ accessibilityAlternatives: [
5625
+ {
5626
+ id: "creature-care-dashboard-m1-keyboard-run",
5627
+ description: "Focus the Run action button and press Enter or Space to produce the same dashboard and text telemetry.",
5628
+ modes: ["keyboard"],
5629
+ equivalentOutcome: true
5630
+ }
5631
+ ],
5632
+ evidenceRequirements: [
5633
+ {
5634
+ id: "creature-care-dashboard-m1-assessment",
5635
+ goalIds: [
5636
+ "creature-care-dashboard-m1-starts",
5637
+ "creature-care-dashboard-m1-behaviour",
5638
+ "creature-care-dashboard-m1-accessible-private"
5639
+ ],
5640
+ kind: "assessment-result",
5641
+ retention: "entitlement",
5642
+ containsPersonalData: false
5643
+ },
5644
+ {
5645
+ id: "creature-care-dashboard-m1-explanation",
5646
+ goalIds: ["creature-care-dashboard-m1-accessible-private"],
5647
+ kind: "learner-explanation",
5648
+ retention: "attempt",
5649
+ containsPersonalData: false
5650
+ }
5651
+ ],
5652
+ sideAdventures: [
5653
+ {
5654
+ id: "creature-care-dashboard-m1-remix",
5655
+ prompt: "Choose another supplied creature, status and responsive layout while preserving the timer and reduced-motion evidence.",
5656
+ completionRequired: false
5657
+ }
5658
+ ],
5659
+ rewardBindings: [
5660
+ {
5661
+ id: "creature-care-dashboard-m1-badge",
5662
+ badgeId: "creature-care-dashboard-mission-complete",
5663
+ goalIds: [
5664
+ "creature-care-dashboard-m1-starts",
5665
+ "creature-care-dashboard-m1-behaviour",
5666
+ "creature-care-dashboard-m1-accessible-private"
5667
+ ],
5668
+ deterministic: true,
5669
+ random: false,
5670
+ tokenConvertible: false
5671
+ }
5672
+ ],
5673
+ functionReference: [
5674
+ {
5675
+ id: "creature-care-dashboard-function-creature",
5676
+ signature: "chooseCreature(creature)",
5677
+ summary: "Chooses one supplied fictional creature for the main component card.",
5678
+ parameters: [{ name: "creature", type: "text", description: "Use Moon Moth, Cloud Cat or Pebble Dragon." }],
5679
+ effect: "Updates the creature card heading, illustration label and equivalent text status.",
5680
+ example: 'chooseCreature("Moon Moth");'
5681
+ },
5682
+ {
5683
+ id: "creature-care-dashboard-function-status",
5684
+ signature: "setCareStatus(status)",
5685
+ summary: "Chooses one supplied care state for the fictional creature.",
5686
+ parameters: [{ name: "status", type: "text", description: "Use Resting, Ready to play or Snack time." }],
5687
+ effect: "Updates the visible component status and accessible live-status text.",
5688
+ example: 'setCareStatus("Ready to play");'
5689
+ },
5690
+ {
5691
+ id: "creature-care-dashboard-function-timer",
5692
+ signature: "setCareTimer(seconds)",
5693
+ summary: "Sets a short simulated care timer from a supplied safe value.",
5694
+ parameters: [{ name: "seconds", type: "number", description: "Use 5, 10 or 15 simulated seconds." }],
5695
+ effect: "Updates bounded timer state and text telemetry without scheduling background work.",
5696
+ example: "setCareTimer(10);"
5697
+ },
5698
+ {
5699
+ id: "creature-care-dashboard-function-layout",
5700
+ signature: "setDashboardLayout(layout)",
5701
+ summary: "Chooses one supplied responsive card arrangement.",
5702
+ parameters: [{ name: "layout", type: "text", description: "Use single, cosy-grid or wide-grid." }],
5703
+ effect: "Changes the simulated preview layout while keeping the same reading and keyboard order.",
5704
+ example: 'setDashboardLayout("cosy-grid");'
5705
+ },
5706
+ {
5707
+ id: "creature-care-dashboard-function-motion",
5708
+ signature: "setReducedMotion(enabled)",
5709
+ summary: "Turns the reduced-motion presentation on or off.",
5710
+ parameters: [{ name: "enabled", type: "Boolean", description: "Use true to stop decorative movement." }],
5711
+ effect: "Disables decorative preview animation while preserving status, timer and event feedback.",
5712
+ example: "setReducedMotion(true);"
5713
+ }
5714
+ ],
5715
+ boundedSuggestion: {
5716
+ id: "creature-care-dashboard-m1-reduced-motion-diff",
5717
+ source: "authored-fallback",
5718
+ intent: "Keep the fictional care dashboard understandable without decorative movement.",
5719
+ constraints: [
5720
+ "Change exactly one documented reduced-motion setting.",
5721
+ "Preserve the supplied creature, status, timer, responsive layout and text telemetry.",
5722
+ "Do not add network, external scripts, trackers, personal data, real schedules or background tasks."
5723
+ ],
5724
+ permittedArtifactId: "creature-care-dashboard-m1-code",
5725
+ originalSnippet: "setReducedMotion(false);",
5726
+ replacementSnippet: "setReducedMotion(true);",
5727
+ explanationPrompt: "Which decorative movement stopped, and which event, timer and text evidence stayed available?",
5728
+ aiOptional: false,
5729
+ learnerApprovalRequired: true,
5730
+ alternatives: ["accept", "reject"]
5731
+ }
5732
+ },
5733
+ facilitator: {
5734
+ artifacts: [
5735
+ {
5736
+ id: "creature-care-dashboard-m1-answer-key",
5737
+ kind: "answer-key",
5738
+ audience: "facilitator",
5739
+ solutionBearing: true
5740
+ },
5741
+ {
5742
+ id: "creature-care-dashboard-m1-protected-tests",
5743
+ kind: "protected-test",
5744
+ audience: "facilitator",
5745
+ solutionBearing: true
5746
+ },
5747
+ {
5748
+ id: "creature-care-dashboard-m1-safety-notes",
5749
+ kind: "facilitator-note",
5750
+ audience: "facilitator",
5751
+ solutionBearing: true
5752
+ }
5753
+ ],
5754
+ protectedGoals: [
5755
+ {
5756
+ id: "creature-care-dashboard-m1-protected-boundary",
5757
+ statement: "The dashboard rejects arbitrary text, personal data, real schedules, scripts, network calls, tracking, unbounded timers and inaccessible motion-only feedback.",
5758
+ visibility: "protected",
5759
+ criterionIds: [
5760
+ "creature-care-dashboard-edge-one",
5761
+ "creature-care-dashboard-edge-two"
5762
+ ],
5763
+ completionRequired: false,
5764
+ aiRequired: false
5765
+ }
5766
+ ],
5767
+ prompts: [
5768
+ "Ask the learner to identify the component state, event result, timer and text-equivalent evidence before discussing reduced motion.",
5769
+ "Use only the supplied fictional creature and status cards; redirect names, real schedules and personal details to safe choices.",
5770
+ "Reject must preserve source, and provider failure must never block the deterministic authored path."
5771
+ ]
5772
+ }
5773
+ };
5774
+ var ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1 = {
5775
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
5776
+ moduleId: "junior-coder.robot-mission-control",
5777
+ moduleVersion: "1.1.0",
5778
+ missionId: "robot-mission-control-mission-1",
5779
+ learner: {
5780
+ estimatedMinutes: 20,
5781
+ stages: [
5782
+ {
5783
+ kind: "learn",
5784
+ instruction: "Read how commands, a fail-safe state machine, confirmations, telemetry charts and the five documented functions build a simulated mission-control panel.",
5785
+ artifactIds: ["robot-mission-control-m1-guide"]
5786
+ },
5787
+ {
5788
+ kind: "predict",
5789
+ instruction: "Predict whether a planned command may leave STOP when the safety confirmation is disabled.",
5790
+ artifactIds: ["robot-mission-control-m1-command-cards"]
5791
+ },
5792
+ {
5793
+ kind: "build",
5794
+ instruction: "Change only the supplied command, confirmation, telemetry rate, chart mode and serial-simulation settings.",
5795
+ artifactIds: ["robot-mission-control-m1-code"]
5796
+ },
5797
+ {
5798
+ kind: "run",
5799
+ instruction: "Use the action-icon Run button to update the private simulated controls, chart and text telemetry.",
5800
+ artifactIds: ["robot-mission-control-m1-code"]
5801
+ },
5802
+ {
5803
+ kind: "assess",
5804
+ instruction: "Run deterministic command, state-machine, safety-confirmation, telemetry and responsive-layout checks.",
5805
+ artifactIds: []
5806
+ },
5807
+ {
5808
+ kind: "inspect",
5809
+ instruction: "Compare the observed STOP state with the planned command and highlighted safety-confirmation setting.",
5810
+ artifactIds: ["robot-mission-control-m1-code"]
5811
+ },
5812
+ {
5813
+ kind: "fix",
5814
+ instruction: "Review and accept or reject the exact safety-confirmation change yourself, then rerun every check.",
5815
+ artifactIds: ["robot-mission-control-m1-code"]
5816
+ },
5817
+ {
5818
+ kind: "explain",
5819
+ instruction: "Explain how confirmation changes the state machine and why the chart and text telemetry must agree.",
5820
+ artifactIds: []
5821
+ },
5822
+ {
5823
+ kind: "reward",
5824
+ instruction: "Collect the evidence-bound mission-control badge after the score reaches 80 and every mandatory STOP test passes.",
5825
+ artifactIds: []
5826
+ }
5827
+ ],
5828
+ readinessChecks: [
5829
+ {
5830
+ id: "robot-mission-control-m1-stop-check",
5831
+ prompt: "Find the planned command, current STOP state, confirmation and text telemetry before running the simulator.",
5832
+ scored: false
5833
+ }
5834
+ ],
5835
+ artifacts: [
5836
+ {
5837
+ id: "robot-mission-control-m1-code",
5838
+ kind: "starter-code",
5839
+ audience: "learner",
5840
+ solutionBearing: false
5841
+ },
5842
+ {
5843
+ id: "robot-mission-control-m1-guide",
5844
+ kind: "starter-assets",
5845
+ audience: "learner",
5846
+ solutionBearing: false
5847
+ },
5848
+ {
5849
+ id: "robot-mission-control-m1-command-cards",
5850
+ kind: "sample-data",
5851
+ audience: "learner",
5852
+ solutionBearing: false
5853
+ }
5854
+ ],
5855
+ goals: [
5856
+ {
5857
+ id: "robot-mission-control-m1-starts",
5858
+ statement: "The responsive control component, chart and text telemetry build with a valid simulated command state machine.",
5859
+ visibility: "visible",
5860
+ criterionIds: ["robot-mission-control-build"],
5861
+ completionRequired: true,
5862
+ aiRequired: false
5863
+ },
5864
+ {
5865
+ id: "robot-mission-control-m1-behaviour",
5866
+ statement: "A confirmed command moves the state machine from STOP and updates the chart and serial simulation with matching bounded telemetry.",
5867
+ visibility: "visible",
5868
+ criterionIds: [
5869
+ "robot-mission-control-goal-one",
5870
+ "robot-mission-control-goal-two",
5871
+ "robot-mission-control-goal-three"
5872
+ ],
5873
+ completionRequired: true,
5874
+ aiRequired: false
5875
+ },
5876
+ {
5877
+ id: "robot-mission-control-m1-safe-private",
5878
+ statement: "Without confirmation the simulator stays in STOP, exposes responsive text telemetry and never opens a real serial port or controls hardware.",
5879
+ visibility: "visible",
5880
+ criterionIds: ["robot-mission-control-safety"],
5881
+ completionRequired: true,
5882
+ aiRequired: false
5883
+ }
5884
+ ],
5885
+ interactions: [
5886
+ {
5887
+ id: "robot-mission-control-m1-editor",
5888
+ description: "Edit the five documented mission-control calls using keyboard or pointer controls.",
5889
+ primaryMode: "keyboard",
5890
+ alternativeIds: []
5891
+ },
5892
+ {
5893
+ id: "robot-mission-control-m1-run",
5894
+ description: "Activate the labelled action-icon Run control.",
5895
+ primaryMode: "pointer",
5896
+ alternativeIds: ["robot-mission-control-m1-keyboard-run"]
5897
+ },
5898
+ {
5899
+ id: "robot-mission-control-m1-review",
5900
+ description: "Review and accept or reject the exact labelled safety diff.",
5901
+ primaryMode: "keyboard",
5902
+ alternativeIds: []
5903
+ }
5904
+ ],
5905
+ accessibilityAlternatives: [
5906
+ {
5907
+ id: "robot-mission-control-m1-keyboard-run",
5908
+ description: "Focus the Run action button and press Enter or Space to produce the same controls, chart and text telemetry.",
5909
+ modes: ["keyboard"],
5910
+ equivalentOutcome: true
5911
+ }
5912
+ ],
5913
+ evidenceRequirements: [
5914
+ {
5915
+ id: "robot-mission-control-m1-assessment",
5916
+ goalIds: [
5917
+ "robot-mission-control-m1-starts",
5918
+ "robot-mission-control-m1-behaviour",
5919
+ "robot-mission-control-m1-safe-private"
5920
+ ],
5921
+ kind: "assessment-result",
5922
+ retention: "entitlement",
5923
+ containsPersonalData: false
5924
+ },
5925
+ {
5926
+ id: "robot-mission-control-m1-explanation",
5927
+ goalIds: ["robot-mission-control-m1-safe-private"],
5928
+ kind: "learner-explanation",
5929
+ retention: "attempt",
5930
+ containsPersonalData: false
5931
+ }
5932
+ ],
5933
+ sideAdventures: [
5934
+ {
5935
+ id: "robot-mission-control-m1-remix",
5936
+ prompt: "Choose another supplied command or chart mode and explain which confirmation and STOP evidence must remain.",
5937
+ completionRequired: false
5938
+ }
5939
+ ],
5940
+ rewardBindings: [
5941
+ {
5942
+ id: "robot-mission-control-m1-badge",
5943
+ badgeId: "robot-mission-control-mission-complete",
5944
+ goalIds: [
5945
+ "robot-mission-control-m1-starts",
5946
+ "robot-mission-control-m1-behaviour",
5947
+ "robot-mission-control-m1-safe-private"
5948
+ ],
5949
+ deterministic: true,
5950
+ random: false,
5951
+ tokenConvertible: false
5952
+ }
5953
+ ],
5954
+ functionReference: [
5955
+ {
5956
+ id: "robot-mission-control-function-command",
5957
+ signature: "planCommand(command)",
5958
+ summary: "Plans one supplied command for the simulated robot state machine.",
5959
+ parameters: [{ name: "command", type: "text", description: "Use scan, hold-position or return-to-base." }],
5960
+ effect: "Updates the planned-command panel but cannot leave STOP without confirmation.",
5961
+ example: 'planCommand("scan");'
5962
+ },
5963
+ {
5964
+ id: "robot-mission-control-function-confirmation",
5965
+ signature: "setSafetyConfirmation(enabled)",
5966
+ summary: "Controls whether the planned simulated command has explicit safety confirmation.",
5967
+ parameters: [{ name: "enabled", type: "Boolean", description: "Use true only after checking the planned command." }],
5968
+ effect: "Allows the simulator state machine to leave STOP; it never approves or controls physical hardware.",
5969
+ example: "setSafetyConfirmation(true);"
5970
+ },
5971
+ {
5972
+ id: "robot-mission-control-function-rate",
5973
+ signature: "setTelemetryRate(samplesPerSecond)",
5974
+ summary: "Sets a bounded simulated telemetry sampling rate.",
5975
+ parameters: [{ name: "samplesPerSecond", type: "number", description: "Use 1, 2 or 4 simulated samples per second." }],
5976
+ effect: "Changes bounded chart and text sample spacing without starting background work.",
5977
+ example: "setTelemetryRate(2);"
5978
+ },
5979
+ {
5980
+ id: "robot-mission-control-function-chart",
5981
+ signature: "setChartMode(mode)",
5982
+ summary: "Chooses one supplied responsive telemetry presentation.",
5983
+ parameters: [{ name: "mode", type: "text", description: "Use line, bars or text-only." }],
5984
+ effect: "Changes the preview chart while preserving equivalent labelled text telemetry.",
5985
+ example: 'setChartMode("line");'
5986
+ },
5987
+ {
5988
+ id: "robot-mission-control-function-serial",
5989
+ signature: "simulateSerial(enabled)",
5990
+ summary: "Turns the bounded serial-message simulator on or off.",
5991
+ parameters: [{ name: "enabled", type: "Boolean", description: "Use true to show simulated messages." }],
5992
+ effect: "Produces labelled local simulator messages; it never opens Web Serial or a physical connection.",
5993
+ example: "simulateSerial(true);"
5994
+ }
5995
+ ],
5996
+ boundedSuggestion: {
5997
+ id: "robot-mission-control-m1-confirmation-diff",
5998
+ source: "authored-fallback",
5999
+ intent: "Confirm the supplied simulated command before the state machine leaves STOP.",
6000
+ constraints: [
6001
+ "Change exactly one documented safety-confirmation setting.",
6002
+ "Preserve the supplied command, telemetry rate, chart mode, serial simulation and text telemetry.",
6003
+ "Do not add Web Serial, network, external scripts, hardware control, personal data or automatic approval."
6004
+ ],
6005
+ permittedArtifactId: "robot-mission-control-m1-code",
6006
+ originalSnippet: "setSafetyConfirmation(false);",
6007
+ replacementSnippet: "setSafetyConfirmation(true);",
6008
+ explanationPrompt: "Which state-machine transition became possible, and what keeps the exercise separate from physical hardware?",
6009
+ aiOptional: false,
6010
+ learnerApprovalRequired: true,
6011
+ alternatives: ["accept", "reject"]
6012
+ }
6013
+ },
6014
+ facilitator: {
6015
+ artifacts: [
6016
+ {
6017
+ id: "robot-mission-control-m1-answer-key",
6018
+ kind: "answer-key",
6019
+ audience: "facilitator",
6020
+ solutionBearing: true
6021
+ },
6022
+ {
6023
+ id: "robot-mission-control-m1-protected-tests",
6024
+ kind: "protected-test",
6025
+ audience: "facilitator",
6026
+ solutionBearing: true
6027
+ },
6028
+ {
6029
+ id: "robot-mission-control-m1-safety-notes",
6030
+ kind: "facilitator-note",
6031
+ audience: "facilitator",
6032
+ solutionBearing: true
6033
+ }
6034
+ ],
6035
+ protectedGoals: [
6036
+ {
6037
+ id: "robot-mission-control-m1-protected-boundary",
6038
+ statement: "The dashboard rejects arbitrary commands, invalid rates, scripts, network access, Web Serial, hardware control, personal data and any unconfirmed transition away from STOP.",
6039
+ visibility: "protected",
6040
+ criterionIds: [
6041
+ "robot-mission-control-edge-one",
6042
+ "robot-mission-control-edge-two"
6043
+ ],
6044
+ completionRequired: false,
6045
+ aiRequired: false
6046
+ }
6047
+ ],
6048
+ prompts: [
6049
+ "Ask the learner to identify the planned command, current state, confirmation and equivalent text telemetry before suggesting a change.",
6050
+ "Keep every command and message inside the simulator; the website never opens serial or controls hardware.",
6051
+ "Reject must preserve source, and provider failure must never block deterministic completion."
6052
+ ]
6053
+ }
6054
+ };
5491
6055
  var ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1 = {
5492
6056
  version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
5493
6057
  moduleId: "junior-coder.adventure-mission-planner",
@@ -6123,6 +6687,7 @@ ${summary}`);
6123
6687
  0 && (module.exports = {
6124
6688
  ADVENTURE_MISSION_PLANNER_MISSION_ONE_AUTHORING_V1,
6125
6689
  BEACON_BOT_MISSION_ONE_AUTHORING_V1,
6690
+ CREATURE_CARE_DASHBOARD_MISSION_ONE_AUTHORING_V1,
6126
6691
  DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
6127
6692
  JUNIOR_CODER_MISSION_STAGE_ORDER_V1,
6128
6693
  JUNIOR_CODER_MODULE_PRICE_V1_1,
@@ -6138,6 +6703,7 @@ ${summary}`);
6138
6703
  RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
6139
6704
  ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
6140
6705
  ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
6706
+ ROBOT_MISSION_CONTROL_MISSION_ONE_AUTHORING_V1,
6141
6707
  SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
6142
6708
  SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
6143
6709
  STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,