Project: Covert Cubicles
Build Phase 2 / 7
—
MODULE 08 / 31 · LAYER 1 · PM_PHASE
Phase Manager
The single authority for phase transitions.
Owns the lifecycle from null \u2192 1 \u2192 2 \u2192 3 \u2192 4 \u2192 ended.
DEPENDENCIES: DATA_Context , SM_Game , STATE_PeerTrust
Pending
Interactive Workbench — Phase Progression
Use the controls to drive the phase lifecycle. The
diagram on the left shows current position. The orange
RQ1b transition marker between Phase 2 and Phase 3
marks the experimental intervention boundary — this is
where the adaptive condition diverges from the static condition.
Controls
Session
Create session + initialise peers
Reset
Lifecycle
start() → Phase 1
advance() → next phase
endGameAfterPhase4()
Mid-phase trust changes (between advances)
Liam +5 trust
Arthur \u22128 trust
Defensive checks
start() while not null (should fail)
advance() at P4 (should fail)
endGameAfterPhase4() before P4 (should fail)
Quick run
Full lifecycle: create \u2192 P1 \u2192 P4 \u2192 end
Live phase-derived state
Current Phase Scene Intro
\u2014
Trust Trajectory Snapshots Taken (Liam)
\u2014
API Surface — Manual Verification
Open DevTools and try the calls below.
Covert Cubicles · UCL Human Firewall Project
Test harness · Module 8 of 31