Repository navigation
srx-terraform workshop, wan-cloud module, lab reader copy buttons, vault bot fixes, code-server 4.145.0 - #76
Merged
Merged
Conversation
The platform now has three kinds of pack: concept workshops, the CTF series and product-focused training. WORKSHOP_TRACK in workshop.env names the bucket; ./dojo list groups by it, each track keeps its own learning-path order, and the showcase (no track) lists above them. A tag instead of subfolders keeps every workshops/<name> path working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
First pack of the technology track. The spike showed the real Juniper/mist provider running a full SRX build against a simulated API answering as api.mist.com, offline; the plan records the rules the simulator must follow and the build contract the parts share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first technology-track pack: students build a greenfield SRX estate with Terraform and the real Juniper/mist provider against wan-api, a simulated Mist API answering as api.mist.com inside the lab. The module brings the simulator, the Dojo WAN portal with a Junos config preview, a root token broker and an offline Terraform 1.17.1 plus provider mirror; the pack has ten labs, slides, checks and demo bots. Unit and contract tests pass; not yet run on a stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mist only applies a template's or profile's DNS and NTP servers when dnsOverride/ntpOverride is set, and a device's vars override site vars. The renderer now does both and notes when a template and a profile meet on one gateway, which Mist does not document. The plan records the sources and what still needs a real org to confirm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mist documents a template for spoke sites and a device profile for hub gateways, not both on one box. Lab 5 now adds a dc-01 hub site with a fifth delivered gateway (SRX1500) carrying a hub profile, shows the dns_override flag, and keeps the Ottawa device override as the last resort. Stages, checks, bots and slides follow. Networks now default disallow_mist_services to false as the API does, so an import plans clean. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fast bot walked Labs 0-9 with every dojo check passing; the stale stacked-layer wording in the slide cheat sheet, srx-check and indexes now matches the hub/spoke model, and slides that overflowed 16:9 are split or trimmed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013J9U65HFBhdKq9sHUiNfjT
The bot now runs each page's code blocks in order instead of copying stage files. That exposed an apply before the hub's inventory entry, a prose-only profile edit, a lock demo that held no lock, an unmerged Lab 8 branch that made Lab 9 destroy guest, and two wrong plan counts. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013J9U65HFBhdKq9sHUiNfjT
Records the lab-text bot, the five lab bugs its first run found, the Roles rename, the lock demo that holds an apply (console takes no lock), and what is still open. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013J9U65HFBhdKq9sHUiNfjT
… ran live Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ngineer The renderer no longer emits an untagged unit 0 on a port with vlan-tagging, which Junos refuses, and its header says what the preview leaves out. Lab 5's NTP troubleshooting row named the wrong cause. SRX-REVIEW.md lists what only a person who runs SRX with Mist can settle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fallback created a service policy Terraform doesn't manage, so the facilitator was told plan would show a change and it showed none (live, 15-bot run). The portal now shows the server's reason for a 409. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The facilitator guide promised one press that drifts every org; the portal only had a per-org button. POST /wan/api/drift moves each student org's first network VLAN and reports changed and skipped (no network yet). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… override NTP Mist's WAN config hierarchy page: a device overrides only DNS and the application policy. Ottawa's override moves from NTP to DNS through Labs 5-9, the stages, the slides and srx-check; the renderer notes a device NTP setting as not applied. SRX-REVIEW.md records what the docs settled, and FACILITATOR.md gets the measured 15-bot numbers and the class-wide drift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both drift panels wrote into a span that refresh() and the 3 s poll rebuild, so the facilitator never saw the result (live, 2026-11-05). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From a read of the labs as a student: Lab 5's NTP leftover, its commit missing terraform.tfvars, the delivery sample showing four gateways of five, Lab 7 never committing backend.tf, wrong counts and lab numbers in Labs 1 and 2 and the README, a for_each error Lab 4 can't produce, and a gloss for -replace and sensei in the cheat sheet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lab tables on phones scroll inside themselves instead of the page (the lab reader is shared, so every workshop gets it). Roadmap, releases and the plan record the load, drift, docs and rehearsal results. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Students copy commands from every lab; selecting a long block by hand is slow and easy to get wrong. Shared by all workshops. Falls back to execCommand when the clipboard API is refused (iframes, plain http). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The labs' fences were retagged bash -> sh and some blocks merged, so vf_block and md_blocks picked the wrong block or ran off the end (IndexError). A bare number now counts sh and bash fences, and each call is renumbered by content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.141.0 (the planned target) is affected by GHSA-gcvg-jpfh-4xm8 (unauthenticated RCE via Node's Brotli decoder, fixed in 4.141.1) and everything up to 4.144.0 by GHSA-jvcp-w94c-mvvh (session cookie exposed through the port proxy). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lab 8 shows what its grep checks print, Lab 3 names the portal columns to read, Lab 9 opens its pull request itself instead of pointing back at Lab 7, Lab 1's predictions say to compare with the reveal, and the unconfirmed device-vars claim is gone. Roadmap: T6, vault IndexError and the code-server bump closed; two vault follow-ups found on the way added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ao errors in the bot Lab 2 merged 14 shell blocks into 9, so the test's per-block checks ran the wrong commands. The bot's first kv put after enabling a kv-v2 mount can hit the mount's upgrade window; with no retry, team/app was never written and Lab 6's agent had nothing to render. A person reads the error and retries; the bot now does too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The student terminals' Terraform provider speaks TLS 1.2+, so nothing needs 1.0/1.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It sent more writes than the limiter's burst and passed only if enough tokens refilled in time; a fast CI runner got a 429. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # RELEASES.md # ROADMAP.md
Terminals trust the Dojo WAN CA system-wide, so a leaked CA key could sign for any domain. A critical nameConstraints extension limits it to the lab's own names (api.mist.com, wan-api, localhost, 127.0.0.1). The credential broker now logs uid, user and whether it served each request (never the token), so probing of the shared socket is visible in the container log. Both follow up CodeQL's permission alerts on PR #76, which are intentional (public CA cert, shared socket guarded by SO_PEERCRED, executable provider binary). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
srx-terraform(SRX with Terraform and Mist) and thewan-cloudmodule (the Dojo WAN simulator and renderer behind it). Labs 0-9 cover org objects, the gateway template, sites and variables, claiming devices, roles (spoke template, hub profile, device override), shared state, pull-request review, drift and a ticket-driven capstone. Roadmap T1-T3, T5 and T6 are closed. T4, the SRX engineer's review, is still open.execCommand.bashtoshfences (this fixes theIndexError).tests/lab_2.shis rewritten for Lab 2's 9 merged blocks. The bot retries transientbaoerrors such as the kv-v2 "Upgrading from non-versioned..." window, resending the same stdin.engine/web-terminal-vscode/Dockerfile). The roadmap planned 4.141.0, but that version is affected by GHSA-gcvg-jpfh-4xm8 (Brotli RCE) and GHSA-jvcp-w94c-mvvh (the session cookie leaks through the port proxy).Tested locally (WSL2 stack)
--test 1 --fastran throughdojo check 9with no failing block. Lab 8's expected outputs match, and Lab 9's PR block opened and merged a PR. Earlier runs used 10 and 15 bots.--test 3 --fast: every bot finished with noIndexError. The retry caught one transientkv put, and Lab 6 rendered the rotated secret.tests/lab_2.sh student01: 14/14 checks passed.--versionreports 4.145.0, and/ide/serves the workbench.🤖 Generated with Claude Code