cyberpunk mmo roguelike built on atproto protokill.sh

feat(hacking): climb each layer with a contested progress check #529

targeting main from claude/intrusion-wire
Merged opened by compact-khopesh-2.test.pds.did.bot
targeting main from claude/intrusion-wire

What this wires #

The placeholder fixed-turn intrusion is gone. A breach builds one contested check per layer and works the lowest incomplete layer with the per-layer climb from #523.

  • Difficulty is content. An interface names a difficulty for each layer; links and tools carry intrusion ratings, and traits carry intrusion steps. The pack's intrusion rules own the fallback difficulty and the multiplier from a layer's difficulty to the progress it needs, so nothing about the numbers lives in Rust.
  • One jam-aware source. Gear, programs and traits all read the live kit, or the rig loadout before a mission seeds the kit. A jammed instance adds no rating, no program strength and no granted trait, including implants.
  • Same numbers in play and planning. begin refuses a system the rig can never take, judged by the same per-layer checks and bounded_turns; the refusal is a plain "beyond your rig" with no number. The route report grows a test that checks every declared intrusion route against every fresh archetype's rig with the same bound. A stalled turn no longer repeats the refusal line.
  • Difficulty stays behind a scan. The wire and pane indicator report a percentage of the current layer, not raw progress and needs, so the player cannot derive the exact difficulty from the bar.
  • Progress persists. Leaving the link pauses the climb; returning resumes it without restarting or charging more trace.
  • LinkStats carries its rating and the digest moves to ENCODING_VERSION 30. The bot now surrenders after a stretch of downed waits a hostile's sight never lets it recover from; the invariant sweep fails if it does so while stabilising was legal.

Daemon counter-actions are the next PR.

Checks #

  • scripts/ci.sh: all checks pass, 1729 tests.
  • scripts/wasm-test.sh: 75 pass.
  • scripts/route-report.sh --map facility and --map floors-1-4: both exit 0.
  • scripts/mouse-smoke.sh and scripts/agent-smoke.sh: PASS.

After a breach: the intrusion indicator now fills with a percentage on the application layer

🤖 Generated with Claude Code

uri: at://did:plc:mnfsgqhjrebz5jdw5obnkzt4/org.tangled.track.ticket/529

Commits 1

feat(hacking): climb each layer with a contested progress check
Sign up or Sign in to add to the discussion.