@plasius/learning 0.2.14 → 0.2.16

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/dist/index.d.cts CHANGED
@@ -508,6 +508,10 @@ declare const RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1: MissionAuthoringBu
508
508
  declare const METEOR_SHIELD_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
509
509
  /** Bounded first Vibe mission; no open prompt or provider is required. */
510
510
  declare const VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
511
+ /** Evidence-led Vibe repair mission; no open prompt or provider is required. */
512
+ declare const VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
513
+ /** Goal-led Vibe prototype mission; all idea choices and changes are bounded. */
514
+ declare const VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
511
515
  /** Original first-mission exemplar; no protected content appears in learner data. */
512
516
  declare const ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
513
517
 
@@ -516,4 +520,4 @@ declare function validateLearningPath(path: LearningPathVersionV1): LearningVali
516
520
  /** Fail fast when a path is not safe to publish or consume. */
517
521
  declare function assertValidLearningPath(path: LearningPathVersionV1): void;
518
522
 
519
- export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, BEACON_BOT_MISSION_ONE_AUTHORING_V1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, DANCE_ROVER_MISSION_ONE_AUTHORING_V1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionBoundedSuggestionV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionFunctionParameterV1, type MissionFunctionReferenceV1, type MissionHardwareAcquisitionScopeV1, type MissionHardwareComponentDisclosureV1, type MissionHardwareDisclosureV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionPhysicalSafeguardsV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SERVO_CREATURE_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
523
+ export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, BEACON_BOT_MISSION_ONE_AUTHORING_V1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, DANCE_ROVER_MISSION_ONE_AUTHORING_V1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionBoundedSuggestionV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionFunctionParameterV1, type MissionFunctionReferenceV1, type MissionHardwareAcquisitionScopeV1, type MissionHardwareComponentDisclosureV1, type MissionHardwareDisclosureV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionPhysicalSafeguardsV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SERVO_CREATURE_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1, VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1, VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
package/dist/index.d.ts CHANGED
@@ -508,6 +508,10 @@ declare const RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1: MissionAuthoringBu
508
508
  declare const METEOR_SHIELD_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
509
509
  /** Bounded first Vibe mission; no open prompt or provider is required. */
510
510
  declare const VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
511
+ /** Evidence-led Vibe repair mission; no open prompt or provider is required. */
512
+ declare const VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
513
+ /** Goal-led Vibe prototype mission; all idea choices and changes are bounded. */
514
+ declare const VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
511
515
  /** Original first-mission exemplar; no protected content appears in learner data. */
512
516
  declare const ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1: MissionAuthoringBundleV1;
513
517
 
@@ -516,4 +520,4 @@ declare function validateLearningPath(path: LearningPathVersionV1): LearningVali
516
520
  /** Fail fast when a path is not safe to publish or consume. */
517
521
  declare function assertValidLearningPath(path: LearningPathVersionV1): void;
518
522
 
519
- export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, BEACON_BOT_MISSION_ONE_AUTHORING_V1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, DANCE_ROVER_MISSION_ONE_AUTHORING_V1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionBoundedSuggestionV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionFunctionParameterV1, type MissionFunctionReferenceV1, type MissionHardwareAcquisitionScopeV1, type MissionHardwareComponentDisclosureV1, type MissionHardwareDisclosureV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionPhysicalSafeguardsV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SERVO_CREATURE_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
523
+ export { type AssessmentCheckResultV1, type AssessmentCriterionV1, type AssessmentDimensionV1, type AssessmentResultV1, type AssessmentRubricV1, type AttemptEvidenceV1, BEACON_BOT_MISSION_ONE_AUTHORING_V1, type BadgeDefinitionV1, type CommercialStateV1, type CourseMaterialAudienceV1, type CourseMaterialKindV1, type CourseMaterialV1, type CourseMaterialsManifestV1, DANCE_ROVER_MISSION_ONE_AUTHORING_V1, type FacilitatorMissionAuthoringV1, type GuardianAiConsentV1, type HardwareItemV1, type HardwareModeV1, type HardwareRequirementManifestV1, type HardwareVerificationStatusV1, JUNIOR_CODER_MISSION_STAGE_ORDER_V1, JUNIOR_CODER_MODULE_PRICE_V1_1, JUNIOR_CODER_ROBOT_RESCUE_PATH_CURRENT, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1, JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1, type LearnerMissionAuthoringV1, type LearningGoalV1, type LearningModuleVersionV1, type LearningPathVersionV1, type LearningValidationIssueV1, METEOR_SHIELD_MISSION_ONE_AUTHORING_V1, MISSION_AUTHORING_CONTRACT_VERSION_V1, type MissionAccessibilityAlternativeV1, type MissionArtifactKindV1, type MissionArtifactReferenceV1, type MissionAuthoringBundleV1, type MissionAuthoringGoalV1, type MissionAuthoringValidationIssueV1, type MissionBoundedSuggestionV1, type MissionEvidenceKindV1, type MissionEvidenceRequirementV1, type MissionEvidenceRetentionV1, type MissionFunctionParameterV1, type MissionFunctionReferenceV1, type MissionHardwareAcquisitionScopeV1, type MissionHardwareComponentDisclosureV1, type MissionHardwareDisclosureV1, type MissionInteractionModeV1, type MissionInteractionRequirementV1, type MissionPhysicalSafeguardsV1, type MissionReadinessCheckV1, type MissionRewardBindingV1, type MissionSideAdventureV1, type MissionStageCardV1, type MissionStageKindV1, type MissionV1, type ModuleAgentDefinitionV1, type ModuleAgentFeedbackV1, type ModuleAgentRoleV1, type ModuleCategoryV1, type ModuleEntitlementV1, type ModulePricingV1, type ModuleReferencePriceV1, OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1, PADDLE_PULSE_MISSION_ONE_AUTHORING_V1, PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1, type PublishedStaticProjectSnapshotV1, RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1, RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1, ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1, ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1, SERVO_CREATURE_MISSION_ONE_AUTHORING_V1, SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1, STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1, type ScoreBandV1, VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1, VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1, VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1, assertValidLearningPath, assertValidMissionAuthoringBundle, calculateAssessment, validateAssessmentRubric, validateLearningPath, validateMissionAuthoringBundle };
package/dist/index.js CHANGED
@@ -4874,6 +4874,566 @@ var VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1 = {
4874
4874
  ]
4875
4875
  }
4876
4876
  };
4877
+ var VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1 = {
4878
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
4879
+ moduleId: "junior-coder.vibe-bug-detective",
4880
+ moduleVersion: "1.1.0",
4881
+ missionId: "vibe-bug-detective-mission-1",
4882
+ learner: {
4883
+ estimatedMinutes: 20,
4884
+ stages: [
4885
+ {
4886
+ kind: "learn",
4887
+ instruction: "Read how setRobotDirection(), setRobotSteps() and placeRescueBeacon() control the supplied mini-game.",
4888
+ artifactIds: ["vibe-bug-detective-m1-guide"]
4889
+ },
4890
+ {
4891
+ kind: "predict",
4892
+ instruction: "Predict why the robot moves away from the beacon before viewing the one-line repair.",
4893
+ artifactIds: ["vibe-bug-detective-m1-evidence-card"]
4894
+ },
4895
+ {
4896
+ kind: "build",
4897
+ instruction: "Open the intentionally broken mini-game without changing files outside its documented settings artifact.",
4898
+ artifactIds: ["vibe-bug-detective-m1-code"]
4899
+ },
4900
+ {
4901
+ kind: "run",
4902
+ instruction: "Use the Run action button to reproduce the bug in the private JavaScript preview.",
4903
+ artifactIds: ["vibe-bug-detective-m1-code"]
4904
+ },
4905
+ {
4906
+ kind: "assess",
4907
+ instruction: "Run deterministic checks to collect failure evidence before reviewing any suggested fix.",
4908
+ artifactIds: []
4909
+ },
4910
+ {
4911
+ kind: "inspect",
4912
+ instruction: "Compare observed leftward movement with the expected right-side beacon goal and the single authored diff.",
4913
+ artifactIds: ["vibe-bug-detective-m1-code"]
4914
+ },
4915
+ {
4916
+ kind: "fix",
4917
+ instruction: "Accept or reject the exact direction repair yourself, then rerun every regression check.",
4918
+ artifactIds: ["vibe-bug-detective-m1-code"]
4919
+ },
4920
+ {
4921
+ kind: "explain",
4922
+ instruction: "Explain which evidence identified the bug and why the minimal change fixed it without changing other behaviour.",
4923
+ artifactIds: []
4924
+ },
4925
+ {
4926
+ kind: "reward",
4927
+ instruction: "Collect the evidence-bound badge after the deterministic score reaches 80 and every safety check passes.",
4928
+ artifactIds: []
4929
+ }
4930
+ ],
4931
+ readinessChecks: [
4932
+ {
4933
+ id: "vibe-bug-detective-m1-read-evidence",
4934
+ prompt: "Point to the observed direction and the beacon position before choosing a repair.",
4935
+ scored: false
4936
+ }
4937
+ ],
4938
+ artifacts: [
4939
+ {
4940
+ id: "vibe-bug-detective-m1-code",
4941
+ kind: "starter-code",
4942
+ audience: "learner",
4943
+ solutionBearing: false
4944
+ },
4945
+ {
4946
+ id: "vibe-bug-detective-m1-guide",
4947
+ kind: "starter-assets",
4948
+ audience: "learner",
4949
+ solutionBearing: false
4950
+ },
4951
+ {
4952
+ id: "vibe-bug-detective-m1-evidence-card",
4953
+ kind: "printable",
4954
+ audience: "learner",
4955
+ solutionBearing: false
4956
+ }
4957
+ ],
4958
+ goals: [
4959
+ {
4960
+ id: "vibe-bug-detective-m1-starts",
4961
+ statement: "The intentionally broken JavaScript mini-game remains structurally valid and starts.",
4962
+ visibility: "visible",
4963
+ criterionIds: ["vibe-bug-detective-build"],
4964
+ completionRequired: true,
4965
+ aiRequired: false
4966
+ },
4967
+ {
4968
+ id: "vibe-bug-detective-m1-repair",
4969
+ statement: "The robot travels three steps toward the right-side rescue beacon after one minimal direction repair.",
4970
+ visibility: "visible",
4971
+ criterionIds: [
4972
+ "vibe-bug-detective-goal-one",
4973
+ "vibe-bug-detective-goal-two",
4974
+ "vibe-bug-detective-goal-three"
4975
+ ],
4976
+ completionRequired: true,
4977
+ aiRequired: false
4978
+ },
4979
+ {
4980
+ id: "vibe-bug-detective-m1-regression-safety",
4981
+ statement: "The repair preserves the bounded step and beacon settings inside the private sandbox.",
4982
+ visibility: "visible",
4983
+ criterionIds: ["vibe-bug-detective-safety"],
4984
+ completionRequired: true,
4985
+ aiRequired: false
4986
+ }
4987
+ ],
4988
+ interactions: [
4989
+ {
4990
+ id: "vibe-bug-detective-m1-run-control",
4991
+ description: "Reproduce the supplied mini-game bug in the private preview.",
4992
+ primaryMode: "pointer",
4993
+ alternativeIds: ["vibe-bug-detective-m1-keyboard-run"]
4994
+ },
4995
+ {
4996
+ id: "vibe-bug-detective-m1-diff-review",
4997
+ description: "Read the labelled removed and added direction lines beside the assessment evidence.",
4998
+ primaryMode: "text",
4999
+ alternativeIds: []
5000
+ },
5001
+ {
5002
+ id: "vibe-bug-detective-m1-accept-control",
5003
+ description: "Approve the exact immutable repair snapshot.",
5004
+ primaryMode: "pointer",
5005
+ alternativeIds: ["vibe-bug-detective-m1-keyboard-review"]
5006
+ },
5007
+ {
5008
+ id: "vibe-bug-detective-m1-reject-control",
5009
+ description: "Reject the repair and preserve the current broken source.",
5010
+ primaryMode: "pointer",
5011
+ alternativeIds: ["vibe-bug-detective-m1-keyboard-review"]
5012
+ }
5013
+ ],
5014
+ accessibilityAlternatives: [
5015
+ {
5016
+ id: "vibe-bug-detective-m1-keyboard-run",
5017
+ modes: ["keyboard"],
5018
+ equivalentOutcome: true,
5019
+ description: "Press Enter or Space on the play-icon Run button to reproduce the same bug."
5020
+ },
5021
+ {
5022
+ id: "vibe-bug-detective-m1-keyboard-review",
5023
+ modes: ["keyboard", "text", "reduced-motion"],
5024
+ equivalentOutcome: true,
5025
+ description: "Read the text evidence and labelled diff, then focus Accept or Reject and press Enter or Space."
5026
+ }
5027
+ ],
5028
+ evidenceRequirements: [
5029
+ {
5030
+ id: "vibe-bug-detective-m1-assessment",
5031
+ goalIds: [
5032
+ "vibe-bug-detective-m1-starts",
5033
+ "vibe-bug-detective-m1-repair",
5034
+ "vibe-bug-detective-m1-regression-safety"
5035
+ ],
5036
+ kind: "assessment-result",
5037
+ retention: "entitlement",
5038
+ containsPersonalData: false
5039
+ },
5040
+ {
5041
+ id: "vibe-bug-detective-m1-explanation",
5042
+ goalIds: ["vibe-bug-detective-m1-repair"],
5043
+ kind: "learner-explanation",
5044
+ retention: "attempt",
5045
+ containsPersonalData: false
5046
+ }
5047
+ ],
5048
+ sideAdventures: [
5049
+ {
5050
+ id: "vibe-bug-detective-m1-regression-inventor",
5051
+ prompt: "Invent one extra regression test that proves the robot still stops at the rescue beacon.",
5052
+ completionRequired: false
5053
+ }
5054
+ ],
5055
+ rewardBindings: [
5056
+ {
5057
+ id: "vibe-bug-detective-m1-badge",
5058
+ badgeId: "vibe-bug-detective-mission-complete",
5059
+ goalIds: [
5060
+ "vibe-bug-detective-m1-starts",
5061
+ "vibe-bug-detective-m1-repair",
5062
+ "vibe-bug-detective-m1-regression-safety"
5063
+ ],
5064
+ deterministic: true,
5065
+ random: false,
5066
+ tokenConvertible: false
5067
+ }
5068
+ ],
5069
+ functionReference: [
5070
+ {
5071
+ id: "vibe-bug-detective-function-direction",
5072
+ signature: "setRobotDirection(direction)",
5073
+ summary: "Chooses the horizontal direction used by the supplied rescue robot.",
5074
+ parameters: [{ name: "direction", type: "text", description: "Use left or right." }],
5075
+ effect: "Changes only the labelled movement direction in the private mini-game.",
5076
+ example: 'setRobotDirection("right");'
5077
+ },
5078
+ {
5079
+ id: "vibe-bug-detective-function-steps",
5080
+ signature: "setRobotSteps(count)",
5081
+ summary: "Chooses how many bounded grid steps the robot attempts.",
5082
+ parameters: [{ name: "count", type: "whole number", description: "A bounded count from 1 to 4." }],
5083
+ effect: "Changes the private preview path length without controlling physical hardware.",
5084
+ example: "setRobotSteps(3);"
5085
+ },
5086
+ {
5087
+ id: "vibe-bug-detective-function-beacon",
5088
+ signature: "placeRescueBeacon(position)",
5089
+ summary: "Places the fictional rescue beacon on one labelled side.",
5090
+ parameters: [{ name: "position", type: "text", description: "Use left or right." }],
5091
+ effect: "Changes only the fictional beacon position in the private preview.",
5092
+ example: 'placeRescueBeacon("right");'
5093
+ }
5094
+ ],
5095
+ boundedSuggestion: {
5096
+ id: "vibe-bug-detective-m1-authored-direction-repair",
5097
+ source: "authored-fallback",
5098
+ intent: "Make the robot move toward the right-side rescue beacon.",
5099
+ constraints: [
5100
+ "Change exactly one documented direction setting.",
5101
+ "Preserve the step count and beacon position.",
5102
+ "Do not add network, storage, DOM, account or physical hardware access."
5103
+ ],
5104
+ permittedArtifactId: "vibe-bug-detective-m1-code",
5105
+ originalSnippet: 'setRobotDirection("left");',
5106
+ replacementSnippet: 'setRobotDirection("right");',
5107
+ explanationPrompt: "Which observed-versus-expected evidence identified the direction bug, and which regression result proves the repair?",
5108
+ aiOptional: false,
5109
+ learnerApprovalRequired: true,
5110
+ alternatives: ["accept", "reject"]
5111
+ }
5112
+ },
5113
+ facilitator: {
5114
+ artifacts: [
5115
+ {
5116
+ id: "vibe-bug-detective-m1-answer-key",
5117
+ kind: "answer-key",
5118
+ audience: "facilitator",
5119
+ solutionBearing: true
5120
+ },
5121
+ {
5122
+ id: "vibe-bug-detective-m1-protected-tests",
5123
+ kind: "protected-test",
5124
+ audience: "facilitator",
5125
+ solutionBearing: true
5126
+ },
5127
+ {
5128
+ id: "vibe-bug-detective-m1-safety-notes",
5129
+ kind: "facilitator-note",
5130
+ audience: "facilitator",
5131
+ solutionBearing: true
5132
+ }
5133
+ ],
5134
+ protectedGoals: [
5135
+ {
5136
+ id: "vibe-bug-detective-m1-protected-regressions",
5137
+ statement: "The repaired sandbox rejects extra statements, disallowed values, prompt injection, answer dumping, network access and changes outside the approved diff.",
5138
+ visibility: "protected",
5139
+ criterionIds: ["vibe-bug-detective-edge-one", "vibe-bug-detective-edge-two"],
5140
+ completionRequired: false,
5141
+ aiRequired: false
5142
+ }
5143
+ ],
5144
+ prompts: [
5145
+ "Ask the learner to describe observed and expected directions before revealing the authored repair.",
5146
+ "Keep every diagnostic choice tied to the current failing goal and permitted artifact; never invite free-form chat.",
5147
+ "A rejection must preserve the broken source, and AI/provider failure must never block deterministic repair or regression checks."
5148
+ ]
5149
+ }
5150
+ };
5151
+ var VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1 = {
5152
+ version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
5153
+ moduleId: "junior-coder.vibe-idea-studio",
5154
+ moduleVersion: "1.1.0",
5155
+ missionId: "vibe-idea-studio-mission-1",
5156
+ learner: {
5157
+ estimatedMinutes: 20,
5158
+ stages: [
5159
+ {
5160
+ kind: "learn",
5161
+ instruction: "Read how choosePrototype(), setStarCount() and setSuccessMessage() shape the bounded rescue-card template.",
5162
+ artifactIds: ["vibe-idea-studio-m1-guide"]
5163
+ },
5164
+ {
5165
+ kind: "predict",
5166
+ instruction: "Choose one idea, audience and acceptance test card, then predict what the one-line prototype change will show.",
5167
+ artifactIds: ["vibe-idea-studio-m1-idea-cards"]
5168
+ },
5169
+ {
5170
+ kind: "build",
5171
+ instruction: "Open the supplied template and keep every change inside its documented prototype settings artifact.",
5172
+ artifactIds: ["vibe-idea-studio-m1-code"]
5173
+ },
5174
+ {
5175
+ kind: "run",
5176
+ instruction: "Use the Run action button to preview the current rescue card in the private JavaScript simulator.",
5177
+ artifactIds: ["vibe-idea-studio-m1-code"]
5178
+ },
5179
+ {
5180
+ kind: "assess",
5181
+ instruction: "Run deterministic checks against the selected goal and acceptance test before viewing a suggestion.",
5182
+ artifactIds: []
5183
+ },
5184
+ {
5185
+ kind: "inspect",
5186
+ instruction: "Compare the exact one-line diff with your prediction, chosen goal and failed acceptance-test evidence.",
5187
+ artifactIds: ["vibe-idea-studio-m1-code"]
5188
+ },
5189
+ {
5190
+ kind: "fix",
5191
+ instruction: "Accept or reject the immutable prototype change yourself, then rerun the preview and tests.",
5192
+ artifactIds: ["vibe-idea-studio-m1-code"]
5193
+ },
5194
+ {
5195
+ kind: "explain",
5196
+ instruction: "Explain how the final evidence proves the prototype meets the selected idea, audience and success test.",
5197
+ artifactIds: []
5198
+ },
5199
+ {
5200
+ kind: "reward",
5201
+ instruction: "Collect the evidence-bound badge after the deterministic score reaches 80 and every safety check passes.",
5202
+ artifactIds: []
5203
+ }
5204
+ ],
5205
+ readinessChecks: [
5206
+ {
5207
+ id: "vibe-idea-studio-m1-match-test",
5208
+ prompt: "Match the three-star acceptance test to the documented setting that controls star count.",
5209
+ scored: false
5210
+ }
5211
+ ],
5212
+ artifacts: [
5213
+ {
5214
+ id: "vibe-idea-studio-m1-code",
5215
+ kind: "starter-code",
5216
+ audience: "learner",
5217
+ solutionBearing: false
5218
+ },
5219
+ {
5220
+ id: "vibe-idea-studio-m1-guide",
5221
+ kind: "starter-assets",
5222
+ audience: "learner",
5223
+ solutionBearing: false
5224
+ },
5225
+ {
5226
+ id: "vibe-idea-studio-m1-idea-cards",
5227
+ kind: "printable",
5228
+ audience: "learner",
5229
+ solutionBearing: false
5230
+ }
5231
+ ],
5232
+ goals: [
5233
+ {
5234
+ id: "vibe-idea-studio-m1-starts",
5235
+ statement: "The supplied JavaScript rescue-card template remains structurally valid and starts.",
5236
+ visibility: "visible",
5237
+ criterionIds: ["vibe-idea-studio-build"],
5238
+ completionRequired: true,
5239
+ aiRequired: false
5240
+ },
5241
+ {
5242
+ id: "vibe-idea-studio-m1-prototype-goal",
5243
+ statement: "The prototype is a space rescue card for a friendly robot crew with three stars and a visible success message.",
5244
+ visibility: "visible",
5245
+ criterionIds: [
5246
+ "vibe-idea-studio-goal-one",
5247
+ "vibe-idea-studio-goal-two",
5248
+ "vibe-idea-studio-goal-three"
5249
+ ],
5250
+ completionRequired: true,
5251
+ aiRequired: false
5252
+ },
5253
+ {
5254
+ id: "vibe-idea-studio-m1-private-boundary",
5255
+ statement: "The prototype stays inside the selected template, permitted artifact and private sandbox.",
5256
+ visibility: "visible",
5257
+ criterionIds: ["vibe-idea-studio-safety"],
5258
+ completionRequired: true,
5259
+ aiRequired: false
5260
+ }
5261
+ ],
5262
+ interactions: [
5263
+ {
5264
+ id: "vibe-idea-studio-m1-idea-cards",
5265
+ description: "Choose one bounded idea, audience and acceptance-test card.",
5266
+ primaryMode: "pointer",
5267
+ alternativeIds: ["vibe-idea-studio-m1-keyboard-cards"]
5268
+ },
5269
+ {
5270
+ id: "vibe-idea-studio-m1-run-control",
5271
+ description: "Start the private rescue-card preview.",
5272
+ primaryMode: "pointer",
5273
+ alternativeIds: ["vibe-idea-studio-m1-keyboard-run"]
5274
+ },
5275
+ {
5276
+ id: "vibe-idea-studio-m1-diff-review",
5277
+ description: "Read the labelled removed and added star-count lines before deciding.",
5278
+ primaryMode: "text",
5279
+ alternativeIds: []
5280
+ },
5281
+ {
5282
+ id: "vibe-idea-studio-m1-accept-control",
5283
+ description: "Approve the exact immutable prototype change.",
5284
+ primaryMode: "pointer",
5285
+ alternativeIds: ["vibe-idea-studio-m1-keyboard-review"]
5286
+ },
5287
+ {
5288
+ id: "vibe-idea-studio-m1-reject-control",
5289
+ description: "Reject the suggestion and preserve the current source.",
5290
+ primaryMode: "pointer",
5291
+ alternativeIds: ["vibe-idea-studio-m1-keyboard-review"]
5292
+ }
5293
+ ],
5294
+ accessibilityAlternatives: [
5295
+ {
5296
+ id: "vibe-idea-studio-m1-keyboard-cards",
5297
+ modes: ["keyboard", "text"],
5298
+ equivalentOutcome: true,
5299
+ description: "Use labelled radio-card controls with arrow keys and Space to choose the same bounded goal."
5300
+ },
5301
+ {
5302
+ id: "vibe-idea-studio-m1-keyboard-run",
5303
+ modes: ["keyboard"],
5304
+ equivalentOutcome: true,
5305
+ description: "Press Enter or Space on the play-icon Run button to start the same preview."
5306
+ },
5307
+ {
5308
+ id: "vibe-idea-studio-m1-keyboard-review",
5309
+ modes: ["keyboard", "text", "reduced-motion"],
5310
+ equivalentOutcome: true,
5311
+ description: "Read the labelled diff and acceptance evidence, then focus Accept or Reject and press Enter or Space."
5312
+ }
5313
+ ],
5314
+ evidenceRequirements: [
5315
+ {
5316
+ id: "vibe-idea-studio-m1-assessment",
5317
+ goalIds: [
5318
+ "vibe-idea-studio-m1-starts",
5319
+ "vibe-idea-studio-m1-prototype-goal",
5320
+ "vibe-idea-studio-m1-private-boundary"
5321
+ ],
5322
+ kind: "assessment-result",
5323
+ retention: "entitlement",
5324
+ containsPersonalData: false
5325
+ },
5326
+ {
5327
+ id: "vibe-idea-studio-m1-explanation",
5328
+ goalIds: ["vibe-idea-studio-m1-prototype-goal"],
5329
+ kind: "learner-explanation",
5330
+ retention: "attempt",
5331
+ containsPersonalData: false
5332
+ }
5333
+ ],
5334
+ sideAdventures: [
5335
+ {
5336
+ id: "vibe-idea-studio-m1-test-inventor",
5337
+ prompt: "Write one new bounded audience card and one matching acceptance test without changing the template boundary.",
5338
+ completionRequired: false
5339
+ }
5340
+ ],
5341
+ rewardBindings: [
5342
+ {
5343
+ id: "vibe-idea-studio-m1-badge",
5344
+ badgeId: "vibe-idea-studio-mission-complete",
5345
+ goalIds: [
5346
+ "vibe-idea-studio-m1-starts",
5347
+ "vibe-idea-studio-m1-prototype-goal",
5348
+ "vibe-idea-studio-m1-private-boundary"
5349
+ ],
5350
+ deterministic: true,
5351
+ random: false,
5352
+ tokenConvertible: false
5353
+ }
5354
+ ],
5355
+ functionReference: [
5356
+ {
5357
+ id: "vibe-idea-studio-function-prototype",
5358
+ signature: "choosePrototype(kind)",
5359
+ summary: "Chooses one supplied, age-appropriate interactive prototype template.",
5360
+ parameters: [{ name: "kind", type: "text", description: "Use rescue-card, creature-card or mission-sign." }],
5361
+ effect: "Changes only the labelled template in the private preview.",
5362
+ example: 'choosePrototype("rescue-card");'
5363
+ },
5364
+ {
5365
+ id: "vibe-idea-studio-function-stars",
5366
+ signature: "setStarCount(count)",
5367
+ summary: "Chooses how many decorative success stars appear on the card.",
5368
+ parameters: [{ name: "count", type: "whole number", description: "A bounded count from 1 to 4." }],
5369
+ effect: "Changes only the visible star count in the private preview.",
5370
+ example: "setStarCount(3);"
5371
+ },
5372
+ {
5373
+ id: "vibe-idea-studio-function-message",
5374
+ signature: "setSuccessMessage(message)",
5375
+ summary: "Chooses one supplied child-safe success message.",
5376
+ parameters: [{ name: "message", type: "text", description: "Use Mission ready!, Great teamwork! or Rescue complete!" }],
5377
+ effect: "Changes only the fictional card message and never sends or stores text.",
5378
+ example: 'setSuccessMessage("Mission ready!");'
5379
+ }
5380
+ ],
5381
+ boundedSuggestion: {
5382
+ id: "vibe-idea-studio-m1-authored-star-diff",
5383
+ source: "authored-fallback",
5384
+ intent: "Meet the selected acceptance test by showing three stars.",
5385
+ constraints: [
5386
+ "Change exactly one documented star-count setting.",
5387
+ "Preserve the selected prototype and supplied success message.",
5388
+ "Do not add free-form content, network, storage, DOM, account or hardware access."
5389
+ ],
5390
+ permittedArtifactId: "vibe-idea-studio-m1-code",
5391
+ originalSnippet: "setStarCount(2);",
5392
+ replacementSnippet: "setStarCount(3);",
5393
+ explanationPrompt: "Did the accepted change satisfy the three-star acceptance test, and which evidence proves it?",
5394
+ aiOptional: false,
5395
+ learnerApprovalRequired: true,
5396
+ alternatives: ["accept", "reject"]
5397
+ }
5398
+ },
5399
+ facilitator: {
5400
+ artifacts: [
5401
+ {
5402
+ id: "vibe-idea-studio-m1-answer-key",
5403
+ kind: "answer-key",
5404
+ audience: "facilitator",
5405
+ solutionBearing: true
5406
+ },
5407
+ {
5408
+ id: "vibe-idea-studio-m1-protected-tests",
5409
+ kind: "protected-test",
5410
+ audience: "facilitator",
5411
+ solutionBearing: true
5412
+ },
5413
+ {
5414
+ id: "vibe-idea-studio-m1-safety-notes",
5415
+ kind: "facilitator-note",
5416
+ audience: "facilitator",
5417
+ solutionBearing: true
5418
+ }
5419
+ ],
5420
+ protectedGoals: [
5421
+ {
5422
+ id: "vibe-idea-studio-m1-protected-boundaries",
5423
+ statement: "The sandbox rejects free-form prompts, personal data, disallowed messages, extra statements, network access and changes outside the approved diff.",
5424
+ visibility: "protected",
5425
+ criterionIds: ["vibe-idea-studio-edge-one", "vibe-idea-studio-edge-two"],
5426
+ completionRequired: false,
5427
+ aiRequired: false
5428
+ }
5429
+ ],
5430
+ prompts: [
5431
+ "Ask the learner to name the idea, audience and acceptance test before revealing the authored diff.",
5432
+ "Keep choices bound to supplied child-safe cards, the current rubric and permitted artifact; never invite free-form chat.",
5433
+ "A rejection must preserve source, and AI/provider failure must never block deterministic prototype completion."
5434
+ ]
5435
+ }
5436
+ };
4877
5437
  var ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1 = {
4878
5438
  version: MISSION_AUTHORING_CONTRACT_VERSION_V1,
4879
5439
  moduleId: "junior-coder.road-hopper-rally",
@@ -5241,7 +5801,9 @@ export {
5241
5801
  SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
5242
5802
  SKYWING_SPRINT_MISSION_ONE_AUTHORING_V1,
5243
5803
  STAR_DEFENDER_SQUADRON_MISSION_ONE_AUTHORING_V1,
5804
+ VIBE_BUG_DETECTIVE_MISSION_ONE_AUTHORING_V1,
5244
5805
  VIBE_GAME_REMIX_LAB_MISSION_ONE_AUTHORING_V1,
5806
+ VIBE_IDEA_STUDIO_MISSION_ONE_AUTHORING_V1,
5245
5807
  assertValidLearningPath,
5246
5808
  assertValidMissionAuthoringBundle,
5247
5809
  calculateAssessment,