Skip to content

feat(soul): Integrate Happy Paisa spark-engine persona - #354

Open
axzoraharry wants to merge 2 commits into
Conway-Research:mainfrom
axzoraharry:feat/happy-paisa-soul-integration
Open

feat(soul): Integrate Happy Paisa spark-engine persona#354
axzoraharry wants to merge 2 commits into
Conway-Research:mainfrom
axzoraharry:feat/happy-paisa-soul-integration

Conversation

@axzoraharry

Copy link
Copy Markdown

Summary

Integrates the Happy Paisa spark-engine persona into Conway Automaton so the agent has a fixed product voice for morale and momentum—not only the mutable SOUL.md layer.

Why

Persona work was half-landed and had corrupted src/index.ts with broken imports. This restores a clean entrypoint and wires Happy Paisa through boot, prompts, and heartbeat so the companion voice is real at runtime.

What changed

  • Config-backed soul (src/soul/HappyPaisaSoul.ts + src/config/happy_paisa_soul.json) with defaults if JSON is missing
  • System prompt layer 3.25 injects the persona block each turn and records interaction for idle tracking
  • Heartbeat task happy_paisa_poke (every 5m) wakes the agent after ~30 minutes idle
  • Boot log of the core soul line
  • Build copies persona JSON into dist/config/
  • Unit smoke coverage for config load, prompt block, and default heartbeat entry

Notes for reviewers

  • Persona is additive alongside existing SOUL.md; it does not replace agent-evolved soul content
  • Idle poke uses in-process last-interaction state (resets on process restart)
  • Scratch backups src/index.ts.bak.* are intentionally not committed

axzoraharry and others added 2 commits July 27, 2026 07:36
Wire a fixed product voice into Conway Automaton: load persona config,
inject it into the system prompt each turn, log on boot, and poke via
heartbeat after ~30 minutes of idle so morale/momentum work stays active.

Exclude index.ts.bak scratch files from the tree.

Co-Authored-By: Grok <noreply@x.ai>
Add momentum inference, outbound flavoring, inbox coach lines on wake,
send_message flavor flag, and happy_paisa_coach so the agent can pull a
spark-engine line when stuck or celebrating.

Co-Authored-By: Grok <noreply@x.ai>
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.

1 participant