Evolves scenario_attempts (Phase 2B: one row per validation click) into a real attempt lifecycle — one row per continuous working session, with live counters (validation attempts/passes/fails, hint reveals, duration) updated in place, not re-inserted. Backward compatible: every new column is nullable/defaulted, existing rows backfilled under the new semantics rather than dropped. hint_count (Phase 2B, always NULL — 'not measurable') finally gets a real DEFAULT 0 and increments, since this is the phase that builds real hint tracking. curriculum-rules.js computes rule-driven stage lock/complete/percent/next-scenario state from scenarios/rootnode-path.json's new per-stage completion_rule (all_required/threshold/ prerequisites) against a student's progress. The capstone stage is no longer a hardcoded locked placeholder — it carries an unlock_rule and a pointer at the assessment definition that actually defines its scenario draw (see the assessment-engine commit).
111 lines
2.9 KiB
JSON
111 lines
2.9 KiB
JSON
{
|
|
"id": "rootnode-path",
|
|
"name": "RootNode Learning Path",
|
|
"tagline": "The guided route through RootNode Academy — one stage at a time.",
|
|
"version": 1,
|
|
"stages": [
|
|
{
|
|
"id": "foundation",
|
|
"name": "Foundation",
|
|
"icon": "🌱",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"pod-basics-mcq",
|
|
"kubectl-essentials-mcq",
|
|
"labels-selectors-mcq",
|
|
"init-containers-mcq",
|
|
"namespaces-basics",
|
|
"multi-container-pod-basics",
|
|
"pod-labeling-basics",
|
|
"jsonpath-basics",
|
|
"dry-run-manifest-basics",
|
|
"delete-by-label-basics",
|
|
"annotate-resource-basics",
|
|
"init-container-task-basics",
|
|
"restart-policy-mcq",
|
|
"kubectl-output-format-mcq",
|
|
"kubectl-explain-basics",
|
|
"kubectl-patch-basics",
|
|
"field-selector-basics",
|
|
"sort-by-basics",
|
|
"kubectl-diff-basics",
|
|
"static-pods-mcq"
|
|
]
|
|
},
|
|
{
|
|
"id": "workloads",
|
|
"name": "Workloads",
|
|
"icon": "📦",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"deploy-nginx",
|
|
"scale-deployment",
|
|
"rolling-update-task",
|
|
"liveness-probe-task",
|
|
"jobs-cronjobs-mcq",
|
|
"daemonset-mcq",
|
|
"edit-deployment-basics",
|
|
"deployment-strategy-mcq"
|
|
]
|
|
},
|
|
{
|
|
"id": "networking",
|
|
"name": "Networking",
|
|
"icon": "🔌",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"services-mcq",
|
|
"expose-service-basics"
|
|
]
|
|
},
|
|
{
|
|
"id": "configuration",
|
|
"name": "Configuration",
|
|
"icon": "⚙️",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"configmap-volume",
|
|
"resource-limits-task",
|
|
"env-vars-configmap",
|
|
"secrets-basics",
|
|
"pod-env-vars-inline"
|
|
]
|
|
},
|
|
{
|
|
"id": "troubleshooting",
|
|
"name": "Troubleshooting",
|
|
"icon": "🔍",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"extract-logs-basics",
|
|
"kubectl-cp-basics",
|
|
"exec-command-basics",
|
|
"node-cordon-basics",
|
|
"pod-node-assignment-mcq"
|
|
]
|
|
},
|
|
{
|
|
"id": "real-ops",
|
|
"name": "RootNode: Real Ops",
|
|
"icon": "🌳",
|
|
"bundle_id": "rootnode-real-ops",
|
|
"completion_rule": { "type": "all_required" },
|
|
"scenario_ids": [
|
|
"rootnode-runaway-monitor",
|
|
"broken-deployment",
|
|
"rootnode-probe-port-mismatch",
|
|
"rootnode-enforce-limits"
|
|
]
|
|
},
|
|
{
|
|
"id": "capstone",
|
|
"name": "Capstone",
|
|
"icon": "🏁",
|
|
"type": "capstone",
|
|
"capstone_assessment_id": "rootnode-capstone",
|
|
"unlock_rule": { "type": "stages_complete", "stage_ids": ["foundation", "workloads", "networking", "configuration", "troubleshooting", "real-ops"] },
|
|
"scenario_ids": []
|
|
}
|
|
]
|
|
}
|