cyberpunk mmo roguelike built on atproto protokill.sh

fix(access): make a lockdown hold security doors #480

targeting main from fix/lockdown-doors
Merged opened by countable-greatsword.test.pds.did.bot
targeting main from fix/lockdown-doors

A lockdown locked the doors, but a matching keycard or a bump still opened them: the open paths never read the lockdown. Now, while the facility net is locked down, the runner's card and bump refuse a locked security door only when the net binds that door; the map edge and the entry are not bound, so they stay open and a lockdown is a detour, not a cage. A forced-open (Unsealed) door is never locked, so it keeps its state. The legal-action list agrees with the action.

Permit states are read from the Lock order's blocked_by only, so a camera's core:feed-looped can never let a door ignore the lockdown. A door a program left core:held-open still opens; the state rides the wire as a derived, unhashed door field.

Intruding the door's own controller link is still allowed, but the lockdown makes it harder: the net data now carries intrusion_protection (2 for the slice facility), added to every access layer while the lockdown is in force. Inspect shows the same odds the climb draws against.

The floor-stack golden's pry-bar crutch is gone; the bot clears the sealed floor through the unbound route. Per the new rules this PR carries no golden edits, no RULESET_VERSION bump and no devlog entry.

Regression tests: carded net-bound door refuses; unbound door still opens by card; held-open door opens; permits come only from the Lock order; the pack's protection value is read; a protection bonus lowers the shown odds and the draw.

CI: scripts/ci.sh 5b23114aa passed.

🤖 Generated with Claude Code

Commits 1

fix(access): make a lockdown hold security doors
Sign up or Sign in to add to the discussion.