Skip to content

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

Merged
prakashUXtech merged 3 commits into
devfrom
feat/game-brain
Jul 24, 2026
Merged

Game Profile brain: Pulse director + the four dials + GameWorld#278
prakashUXtech merged 3 commits into
devfrom
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.

@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had activity in the last 14 days. It will be closed in 7 days if no further activity occurs. If you're still working on this, please push an update or leave a comment.

@github-actions github-actions Bot added the stale label Jul 16, 2026
@prakashUXtech prakashUXtech added the pinned Exempt from stale bot auto-close label Jul 21, 2026
@prakashUXtech
prakashUXtech changed the base branch from feat/game-profile to dev July 24, 2026 13:48
@prakashUXtech prakashUXtech reopened this Jul 24, 2026
@prakashUXtech
prakashUXtech merged commit 5d53567 into dev Jul 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-work pinned Exempt from stale bot auto-close stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant