Skip to content

Game Profile brain: Pulse director + the four dials + GameWorld#278

Open
prakashUXtech wants to merge 3 commits into
feat/game-profilefrom
feat/game-brain
Open

Game Profile brain: Pulse director + the four dials + GameWorld#278
prakashUXtech wants to merge 3 commits into
feat/game-profilefrom
feat/game-brain

Conversation

@prakashUXtech

Copy link
Copy Markdown
Contributor

Stacks on the graduation PR. Adds the runtime brain: a drama director, the evidence-derived dial machinery, and the GameWorld composition that emits the engine-neutral session event stream.

What's in here

  • Pulse director (0ea2e3d): L4D-style pacing engine — per-player intensity, BUILD_UP → PEAK (beat-counted) → FADE → RELAX cycle, paces event frequency not amplitude, a mandatory relax window that blocks escalation even under max heat, a yes-and rule that never vetoes a player action, and an enjoyment-signal hook for future telemetry.
  • Dials (2734ba4): Challenge / Progress / Choice / Spark as composable 0-1 dials. The design rules are enforced mechanically: Progress must advance on a failed beat (failure-as-progression), Choice never returns fewer than two viable actions, Spark forces variation after K same-kind beats, Challenge maps monotonically onto the director's thresholds.
  • GameWorld (73846a7): composes kernels + director + dials + cost meter; beat() runs the loop and appends session events (beat / speech / grudge_change / bond_change / director_phase / cost_tick) to a jsonl stream — the renderer protocol. Counter-based time, no wall clock, replay-safe.

Tests

40/40 (8 director + 8 dials + 6 world + 15 kernel + 3 demo-server from the next PR's base). All deterministic, no LLM, no network.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Issues (must fix)

  • PR title does not follow Conventional Commits format (e.g. feat: add recall API, fix(memory): handle empty tiers).
  • No linked issue found. PRs should reference an issue (Fixes #123).
  • No evidence of local testing found. Please include terminal output or screenshots.

Heads up

  • Large PR detected (1484 lines across 8 files). Consider splitting into smaller PRs.

Please update your PR to address these points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant