What this does #
Devices expose their physical interfaces in pack data. Each interface names its protocol, the system it reaches, the reach it gives and the layers above its physical foothold; a drone can therefore expose several systems while a breach takes only one.
A new PlayerAction::BreachPort and verb:breach-port breach a data port.
Every old hack-session entry point now goes through one IntrusionResolver:
interacting with a terminal or hackable system, Connect over a link, and
the NPC bus jack. The interim resolver is a minimal placeholder: each layer
takes the fixed number of spent turns the interface names, the work pauses
when the link no longer reaches the device, and the effect lands when the top
layer falls. It is generic over digital and physical systems.
A breach records its route when the effect lands, not when it starts. The digital pane shows the active intrusion's device, layer and turn progress; the deck-themed full view comes with the real minigame.
Review fixes in this version #
- A breached terminal now opens the door it controls: the session ladder's
IntrusionHeldskip still publishes the open state to the door pass. There is a door test, and the route report counts the effect. - Breaching or interacting again resumes the existing work: no restart, no second trace charge. Both the terminal and the wireless-connect paths test it.
- Interfaces reach a named system; only that system changes. A non-control system leaves the device's rung alone, so a bus breach no longer holds or powers down a whole machine. A test covers the non-control case.
- The route pipeline skips a verb whose record
actionisintrude, not theverb:breach-portid. - The agent and mouse smokes drive the breach path, and the Noosphere intrusion indicator is what they assert.
What stays for the next PR #
The old hex session code and its standalone tests are still in the tree and
registered, guarded by the IntrusionHeld marker. The deletion PR removes
them; nothing in the game starts a session any more. There is no visual
surface beyond the indicator yet; the digital theme view and the physical
overlay arrive with the real minigame per design/intrusion.md.
Checks #
scripts/ci.sh d5f8954cf: hooks and native fast tier pass (1769 tests).scripts/wasm-test.sh: 66 pass.scripts/route-report.sh --map facility: 51/51 reach the objective.scripts/route-report.sh --map floors-1-4: 51/51 reach an outcome, includingcore:firewall/verb:hackandcore:drone/verb:hackcounted on completion.scripts/agent-smoke.shandscripts/mouse-smoke.sh: PASS.
🤖 Generated with Claude Code