Commit graph

9 commits

Author SHA1 Message Date
Natalie
96dc62eeb9 fix(ai-harness): --die-with-parent stops the Godot process leak that stalls long runs
Some checks failed
ci / regression gate (push) Failing after 1m25s
Root cause of the gen-0 bootstrap stall: ~2900 leaked Godot processes accumulated
over a long run (one per env reset), until a new spawn hung and training froze.
HarnessClient.shutdown() os.killpg's the whole group, but flatpak/bwrap sandboxes
Godot in its OWN PID namespace that killpg does not reach, so each reset orphaned a
Godot. flatpak run --die-with-parent makes bwrap PR_SET_PDEATHSIG-kill the sandboxed
Godot when its parent dies, so killpg now fully reaps the tree. Essential for any
long/fleet training run.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 15:58:46 -04:00
Natalie
a9926322c9 fix(ai): forward CP_LEARNER_CLAN to flatpak Godot in the player-api harness
Some checks are pending
ci / regression gate (push) Waiting to run
The clan-conditioning env var was set by the env but not in player-api-server.sh's
export list or the Linux flatpak --env passthrough, so it was silently dropped on the
fleet (only the native macOS path inherits the full env). Add CP_LEARNER_CLAN to both.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 13:11:51 -04:00
Natalie
0d2520a700 feat(@projects/@magic-civilization): add terraforming cascade design and fauna updates
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-09 19:51:48 -07:00
autocommit
b651937b9b infra(player-api): 🧱 Enhance player API server startup script and debugging tools with improved error handling and logging
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-03 04:06:43 -07:00
autocommit
0f24c80f1b perf(player-api): Add systemd slice integration to enforce CPU/memory limits for player API workers during RL training
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-26 02:21:13 -07:00
autocommit
3f1aeaa602 infra(player-api): 🧱 Update player API infrastructure to enable multi-slot configuration for concurrent player agents
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-26 02:21:12 -07:00
autocommit
d6e0ab34ce chore(player-api): 🔧 Update player API server script configuration for environment variables, startup commands, and execution logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-26 02:21:11 -07:00
Natalie
ad108810dd feat(@projects/@magic-civilization): add rl-self-play harness and Claude player integration
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 03:51:07 -07:00
Natalie
91ef4bc21f feat(@projects/@magic-civilization): rename claude-player to player-api refactor
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-05-17 03:43:32 -07:00
Renamed from scripts/claude-player-server.sh (Browse further)