Skip to content

[codex] Assert headless health in default test - #36

Merged
csheldrick merged 1 commit into
mainfrom
codex/assert-headless-health-test
Jun 29, 2026
Merged

csheldrick merged 1 commit into
mainfrom
codex/assert-headless-health-test

Conversation

@csheldrick

Copy link
Copy Markdown
Owner

Summary

  • make npm test run tsx scripts/headless-report.ts --assert-health
  • keep the existing headless report implementation and health assertion logic unchanged
  • close the gap where determinism alone could pass even if the simulation produced no wars or no collapses

Why

A dead-conflict simulation can still be deterministic. The default test command should fail if the current simulation stops producing declared wars or collapsed empires.

Validation

  • npm run report -- --assert-health
  • npm test

@csheldrick
csheldrick merged commit 1e82451 into main Jun 29, 2026
1 check passed
@csheldrick
csheldrick deleted the codex/assert-headless-health-test branch June 29, 2026 15:00
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