Skip to content

Add an interactive ambient Office cast in a connected Scranton replica - #356

Open
hoodmatriarch wants to merge 3 commits into
AgentSystemLabs:mainfrom
hoodmatriarch:codex/ambient-office
Open

hoodmatriarch wants to merge 3 commits into
AgentSystemLabs:mainfrom
hoodmatriarch:codex/ambient-office

Conversation

@hoodmatriarch

@hoodmatriarch hoodmatriarch commented Oct 12, 2026 •

Copy link
Copy Markdown

Adds an independent Dunder Mifflin background cast and an adjoining Scranton replica where they work. Instead of standing among the coding-agent desks, nineteen Season 6 ensemble characters have their own reception, sales bullpen, accounting cluster, Michael's office, conference room, kitchen, break room, annex and Ryan's closet office. Their ordinary work seats them at assigned stations; original conversations and meetings take place inside the replica. Existing coding-agent desks, boards and the expandable back office remain available.

The Dunder Mifflin clock and E at a coworker open optional conversation and a local work scratchpad. Pam and Erin organize actual notes into checklists; other characters prepare role-specific briefs that the user can copy to a connected worker. Notes remain in browser storage per floor. No model sessions, agent seats, external messages, scheduling, reminders or financial actions are started. Quiet-work and hide-cast controls persist in the browser, and closing the standard modal returns to mouse-look.

Enter through the Dunder Mifflin doorway between the Services board and TV, follow the enclosed hallway north and then left into the annex. Player collision, navigation, camera bounds and indoor lighting/sound support the extension and restore the original room context on return. The placement clears neighboring buildings; a footprint registry prevents scenery trees growing through the suite. Procedural furniture includes curved reception, desktop computers and phones, glass frontage and blinds, conference chairs, cabinets, vending machines, and character desk props. Static solid geometry is batched while lettering textures and transparent panes remain intact. The layout uses the published RoomSketcher reconstruction as a reference, scaled for avatar navigation rather than surveyed set dimensions.

Both features live in their own folders and join the fixture, doorway, footprint and tick registries. A small ambient-space dependency relocates the cast without rewriting its personalities or schedule. The floor/time schedule advances offscreen, and recent outcomes are reconstructed deterministically. Staff gather, disperse, take staggered lunches and leave for the day; occasional Pretzel Day and Dundies rehearsals are simulation rituals, not invented canon dates. Dialogue schedules match for synchronized browsers on a floor; physical movement and assistance remain local rather than server-authoritative NPC state. The fixed era intentionally excludes historical/later supporting cast variants. README, help, features documentation and both detailed feature guides describe use and boundaries.

Personalities now drive visible coordinated interactions. A shared conversation clock sequences gathering, speaker gestures, relationship-specific replies and ensemble closing gestures. Dwight points to Jim; Jim facepalms; Michael and Toby respond awkwardly; Stanley withholds ordinary meeting applause. Dundies applause and musical closing reactions start together. Stationary partners face each other, and walking or local assistance takes priority. Late observers seek the current animation phase instead of replaying its beginning. Dialogue uses compact wrapped cards. A nearby player wave earns an acknowledgment from the nearest idle coworker, with a cooldown; quiet mode retains body gestures while hiding dialogue. These are original procedural sequences on the existing rigs, with no borrowed game animation assets or server/protocol changes.

Validation:

  • npm run typecheck and npm run build pass.
  • The latest focused run passes all 44 choreography, Scranton, ambient, client-registry and size tests. New checks cover every character's executable manner, all conversation stages, partner attention, relationship-specific replies, synchronized ensemble phases, late-join seeking and cancellation. Prior client-structure and help checks also pass. The registry source scan normalizes Windows separators so its existing checks actually run on Windows.
  • Headless Chrome screenshots were captured and inspected for the replica floor plan and bullpen, as well as the initial cast/directory. Keyboard-driven player-controller checks verify passage through the actual original-office doorway and corridor, grounded entry, actor relocation and camera restoration. Prior browser assertions cover saved notes, task organization, role briefs, quiet/hide controls, and restoring pointer lock through both Esc and the top-right close button without another click. No page errors occurred.
  • The choreography browser check exercises actual frame ticks and asserts Dwight points toward Jim, Jim's following facepalm is at the expected shared phase, quiet mode removes speech while retaining gestures, and Pam acknowledges the player's wave. Speaking and reaction screenshots were inspected. No page errors occurred.
  • Full npm test was attempted both normally and outside the filesystem sandbox, then with a per-file timeout. Existing Windows fixture failures include shell-based clone stand-ins, DSH process launch/path expectations and Codex metadata validation; the suite stalls in the agent fixtures and was stopped. Representative clone and DSH failures, plus the registry path issue before its fix, reproduce on unchanged main. This PR does not claim the full suite passes on this host.

@texastoland

Copy link
Copy Markdown

this is funny I wonder if he could enable extensions for features not wanted to merge

@hoodmatriarch hoodmatriarch changed the title Add autonomous ambient Dunder Mifflin coworkers Add ambient Office cast in a connected Scranton replica Oct 13, 2026
@hoodmatriarch hoodmatriarch changed the title Add ambient Office cast in a connected Scranton replica Add an interactive ambient Office cast in a connected Scranton replica Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants