Skip to content

Preflight: tank HP floor and other-faction warning (#266 first slice) - #298

Merged
pjerra merged 2 commits into
devfrom
fix/ta266
Oct 23, 2026
Merged

pjerra merged 2 commits into
devfrom
fix/ta266

Conversation

@pjerra

@pjerra pjerra commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Part of #266 (first slice).

  • New optional plan field tank_min_hp (validated 0 or 100..20000); Ragefire Chasm gets 800.
  • Preflight warns when the tank's max HP is below the plan's floor, and when a bot's race belongs to the other team than the party's (the run's team option, else the agent's race). Bots that are not in view are skipped and counted in one note. The check runs before .bot maintenance moves the hires away. Strict preflight fails the run on either warning.

Tests: parsing, the HP floor, the faction check, bots out of view, the tank fallback and the check running before maintenance; mutations turn them red. go test ./... passes.
Reviews: Opus cold review (one fix: the check ran after maintenance), Codex review clean after the fix.

Still open on #266: refusing to hire or enter at hazard spots, tank floors for the other dungeons, hiring the commander's faction (module side).

@pjerra
pjerra merged commit f7a5998 into dev Oct 23, 2026
1 check passed
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