Commit graph

216 commits

Author SHA1 Message Date
Frederic Jung
3e7bbdffad
DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
Frederic Jung
72fb233af7
DDoS rework (#242): world-sized floods on customers, spread over every port, RTBH per target, Flowspec rule budgets, magnet scrubbing, new NOC card
Work in progress: the full test suite is still being brought in line.
2026-10-31 12:20:14 +01:00
Frederic Jung
cb90e735fd
Map: cities show their size, and crowded small ones step back to a dot
Five sizes from a city's eyeballs (P: under 15, 100, 350, 800 and up). Far view: dots grow with size and megacities glow. Near view: the skyline goes from a hut to five towers with an antenna. cityRoom() lets the selected city, your POPs and cities with an offer, outage or puzzle part claim space first, then the biggest; a city with no room is a small dot without a label until you zoom in, still tappable. IX tags for exchanges you haven't joined are smaller, and on outposts and towns only from zoom 1.5. Phones draw city icons at 82% (taps unchanged).
2026-10-31 11:36:48 +01:00
Frederic Jung
64d71adc35
Merge branch 'feat/backbone-tech' 2026-10-31 10:16:00 +01:00
Frederic Jung
251baf5894
Merge feat/backbone-tech: backbone technology levels 2026-10-31 10:16:00 +01:00
Frederic Jung
99c18bdf7a
Backbone rewards: L3VPN, flex-algo and slice customers, fast reroute, interop lab, four badges 2026-10-31 09:20:49 +01:00
Frederic Jung
73f0a4af72
Extremely Networks SLX 9740: the energy drink cartoon 2026-10-31 08:36:51 +01:00
Frederic Jung
43938083d4
Consortium seats take regen sites; the broker sells listings as the market wants (#203)
A seat bought at level 2 or 3 could not be lit: early optics do not reach across an
ocean. Seats can now regenerate in the landing stations along their cable.

A capacity broker listing is now standing: list some alien waves or the spare pair
and they sell over time as carriers on that route want capacity. Each route's market
is sized by the eyeballs at both ends (a landing town counts the city it serves), and
rented capacity, from the broker or a random offer, never outgrows it. Gameplay
rule F5.
2026-10-31 08:32:05 +01:00
Frederic Jung
70676d7bfb
Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers
Each router is classed by the highest backbone it runs and has a vendor. Upgrades
are paid one step at a time and any level paid for can run. Higher levels use
less router CPU, label switching makes pass-through traffic cheaper, Auto-TE and
RouteScript need RSVP-TE or above, and POPs whose routers can't run the backbone
stay outside it. Mixed vendors at the top of what their routers can do get
interop failures. Saves with Auto-TE keep the old rules; puzzles, Architect and
scenarios are unaffected.
2026-10-31 08:27:31 +01:00
Frederic Jung
2c60af18cc
Merge remote-tracking branch 'origin/main' into claude/noc-open
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:50:21 +01:00
Frederic Jung
11d6d195e7
Merge remote-tracking branch 'origin/main' into claude/fix-231
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:40:12 +01:00
Frederic Jung
caa979a671
Merge remote-tracking branch 'origin/main' into claude/fix-228
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:37:43 +01:00
Frederic Jung
2b31bd5632
Merge remote-tracking branch 'origin/main' into claude/fix-229
# Conflicts:
#	CHANGELOG.md
2026-10-31 07:34:34 +01:00
Frederic Jung
dc89369c2a
NOC notices that would open the NOC get no Open button (#226)
The notice list is the NOC tab, so a target of tab:noc did nothing. #232 gave the shift report a real target; the chaos monkey's arrival still pointed at the NOC, where its own card already is. logSection() now leaves the button off for that target, whatever posts it.
2026-10-31 07:31:22 +01:00
Frederic Jung
4edd760ff6
Puzzle list: each section counts its own stars (#231)
The 'Your stars' box at the top counted only the puzzle packs, yet sat above the architect runs and the weekly puzzle. It moves right above the packs as 'Stars from the packs' (what unlocks the next pack), and the architect runs header shows its own total like a pack does. Weekly rows already show their stars. One label renamed in all six languages.
2026-10-31 07:25:57 +01:00
Frederic Jung
6021439fe6
The intern's notes name the exchanges it peered at (#228)
opsWhere checked isCity() first, and a city's first exchange has the city's id (lon is LYNX), so 'Apfelwein-IX, London' meant Apfelwein-IX and LYNX. Peering entries are always exchanges: opsLine and opsWeekLine now pass the kind and name them with ixName(). Saved reports read right without migration.
2026-10-31 07:19:18 +01:00
Frederic Jung
2d61c09219
A fiber given up keeps its optics: they go on the spares shelf (#229)
rmLink (a cancelled IRU, your own fiber or a called-off cable) and decommission() dropped links with their channels still plugged in. chBack() puts each optic on the shelf, the same as unplugging it by hand, and a note says how many. One new plural label, in all six languages.
2026-10-31 07:15:35 +01:00
Wesley Marques
8c2dd05d0b
Skip saturated paths during candidate exit scan to prevent routing freezes (#210) 2026-10-31 07:08:31 +01:00
Frederic Jung
198c636442
The intern's shift report opens the Standing orders sheet (#226)
Its NOC notification pointed at the NOC tab, where the notification already
is, so Open did nothing. It now opens the Ops sheet, which holds the report.
2026-10-31 01:44:46 +00:00
Frederic Jung
816de9b5ec
Merge remote-tracking branch 'origin/main' into claude/fix-198
# Conflicts:
#	CHANGELOG.md
2026-10-30 19:48:22 +01:00
Frederic Jung
41e1a62983
Merge remote-tracking branch 'origin/main' into claude/fix-201
# Conflicts:
#	CHANGELOG.md
2026-10-30 19:46:26 +01:00
Frederic Jung
5f2dd38d2d
Both on a one-member PNI splits the LAG when the augment lands (#219)
A PNI's second member is an augment that arrives months later, so siteSet returned before setting the site and the new member joined the first building. The augment now carries site 'ab' (kept by sanitize), applies it on delivery if the POP still has two sites, and the panel shows Both as chosen while it is on order. Choosing A or B meanwhile drops the intent.
2026-10-30 18:25:12 +01:00
Frederic Jung
51ed64d789
Merge main into claude/fix-198: 2.0's seat check and lead times kept on the upgrade button and action 2026-10-30 18:23:49 +01:00
JMF-Alex
91481b1d6b
Sold-out wave sizes can't be reached by upgrading a smaller wave (#201)
From #202 by JMF-Alex, moved onto 2.0: its test now lives in tests/pnis-and-sold-out.test.js (the peering inbox tests are gone) and also checks the panel button and that nothing is charged.
2026-10-30 18:21:14 +01:00
Frederic Jung
abd55c0846
Release notes: a story for big releases, and the 2.0 story
A CHANGELOG section may open with prose before its first bullet. The build bakes it
into the page and version.json, and "What's new" tells it in full with a link to every
change on GitHub instead of the first sentences of five bullets. The 2.0.0 section gets
its story and every change grouped under headings, Architect runs included.
2026-10-30 16:28:19 +01:00
Frederic Jung
dbd2fa7b55
Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
Frederic Jung
78d2b7c8c9
Routers: the picture only in the POP overview
The list of other models goes back to its badges; only the model a POP runs shows
its picture.
2026-10-30 15:47:37 +01:00
Frederic Jung
73e11349dc
Routers: a picture for every model
Seventeen cartoons in the map's style, one per router model (the ones picked from the
Router Rogues sketches), drawn as inline SVG from a small kit in its own scope and
built only when a panel shows them. A POP's router section shows its model big; the
list of other models shows each one small.
2026-10-30 14:54:10 +01:00
Frederic Jung
5f478dd318
Weekly Architect runs: sites outgrow their tubes, and a countdown
A grow brief raises a site's traffic past what its tubes carry; the reference makes
room by upsizing the busiest tube, or laying a second one where a long cable cannot
grow. Traffic may now reach 380G. The weekly row says when the next run comes out.
2026-10-30 14:07:45 +01:00
Frederic Jung
4e6e8294d2
Architect runs: a generated run every week
scripts/weekly-architect.js picks an HQ in a region the last weeks did not have and
designs each brief against the network a reference architect has built so far, so
every brief asks for something new; the game's own checklist and chaos monkey review
judge it, and the whole run is replayed from the file for three stars. The game
fetches architect/weekly/<key>.json when Puzzles opens, checks it field by field and
writes the briefs' text itself. The Sunday job and the release deploy carry it like
the weekly puzzles and scenarios. Later briefs' cities no longer show early.
2026-10-30 13:44:04 +01:00
Frederic Jung
601f7028bd
Puzzles: city markers move to the top left, clear of the IX badge
The eyeballs, content and circuit markers sat on the IX badge of cities without a
POP yet (reported by Thomas Kjær). Architect's mission-critical marker is now the
siren like everywhere else.
2026-10-30 13:24:08 +01:00
Frederic Jung
7672db1992
Puzzles: show one trench or separate paths on the map in every puzzle
Two tubes between the same cities read as one line until clicked (reported by
Thomas Kjær). Every puzzle now draws a shared trench as a bundle with a '2× one
trench' tag and separate paths bowed apart with a '2 paths' tag, at any zoom.
2026-10-30 13:15:38 +01:00
Frederic Jung
dbc801169c
Architect runs: use the renamed same-trench and diverse-route labels 2026-10-30 12:35:03 +01:00
Frederic Jung
dc4c0f07d5
Merge v2 into architect: the chaos monkey in every puzzle, and in normal games
Starting a run or a puzzle now sends a monkey left over from an Architect review away.
2026-10-30 12:33:33 +01:00
Frederic Jung
9fc38fa4f4
Puzzles: the chaos monkey acts out the N-1 star in every puzzle
When a build earns a new star the monkey snips each trench and cable in turn on the
map, and cities that lose traffic say how much; then the stars show. It can be let
loose again or skipped. Puzzle texts talk about the chaos monkey instead of a backhoe.
2026-10-30 12:24:53 +01:00
Frederic Jung
cbcb242d90
Architect runs: show whether tubes share a trench or take separate paths
Tubes in one trench are drawn as strands of one bundle with an orange '2× one trench'
pill; separate paths bow well apart with a green '2 paths' pill. Cut tubes no longer
show the backhoe: the monkey does the snipping.
2026-10-30 11:52:54 +01:00
Frederic Jung
5216a66db3
Architect runs: a tube goes red when the monkey snips it, and heals as it runs off
Each review step is now a run (the last cut is whole again) and a snip on arrival,
so the red follows the monkey.
2026-10-30 11:47:22 +01:00
Frederic Jung
cbb7ca8772
Badges: Met the Backhoe becomes Met the Chaos Monkey
Earned on the monkey's first visit instead of any fiber cut; the badge keeps its id,
so ones already earned carry over. Monkey-proof gets a shield. The monkey's cheer
also cancels a spray still pending from its last hop.
2026-10-30 11:44:22 +01:00
Frederic Jung
87364af55d
Architect runs: a skipped review that passes still ends with the monkey's cheer 2026-10-30 11:42:34 +01:00
Frederic Jung
b04e1e22c1
Architect runs: the chaos monkey leaves when you move on to the next brief 2026-10-30 11:36:51 +01:00
Frederic Jung
170914b05e
Architect runs: later briefs stay a surprise
No numbered tags beside cities, no "coming up" plan on a city card and no hint
to build there early: you design for today's brief and find out what comes next.
2026-10-30 11:18:54 +01:00
Frederic Jung
f4486ee955
Chaos monkey: a visitor that snips tubes in On-call and BGP at 3 a.m.
Now and then a chaos monkey moves in for 120 to 240 days and snips a tube every
couple of weeks, weak spots first, instead of the usual random outages. Outlast
it without a customer noticing for a bonus and the Monkey-proof badge, or throw
it a banana. Drawn on the map in shades; gameplay rule F4 with its test.
2026-10-30 10:54:25 +01:00
Frederic Jung
c8113d9043
Map: stop redrawing every frame when no chaos monkey is on it 2026-10-30 10:32:15 +01:00
Frederic Jung
4701cefbfd
Architect runs: draw our own chaos monkey, in shades
A hand-drawn monkey in the map's outline style replaces the emoji: sunglasses,
a spray can, a swaying tail, and poses for running, snipping, dancing and cheering.
2026-10-30 09:33:05 +01:00
Frederic Jung
b3351fb7d9
Architect runs: a chaos monkey runs round the map snipping tubes
The review is now an animated monkey that hops from cut to cut and sprays
chaos where it snips, instead of the backhoe.
2026-10-30 09:25:20 +01:00
Frederic Jung
ab05c80d68
Architect runs: gold sites are now mission-critical (🚨), in all six languages 2026-10-30 09:05:29 +01:00
Frederic Jung
235ff2f9b5
Merge v2 into architect 2026-10-30 08:01:42 +01:00
tkjaer
644e6174d9
Architect runs (prototype): one network, built brief by brief
Three runs (Euro Run, Coast to Coast, Pacific Rim) on the puzzle machinery: briefs add sites,
raise demand, make sites gold, ask for rings or latency caps, or close a city; earlier builds
stay paid for, and the backhoe review cuts every trench and cable in turn. By tkjaer, from
seriesoftubes-architect.
2026-10-30 08:01:42 +01:00
Frederic Jung
9ba7f197f1
Merge v2 into v2-inbox 2026-10-29 21:37:17 +01:00
Frederic Jung
4ebe8418a0
Peering desk: incoming requests answered by policy; inbox, max-prefix and the Large Peering Model removed 2026-10-29 21:37:05 +01:00