Mark inbound weapons hostile at once #161

Manually merged
vinny merged 0 commits from vinny/weapon-reflex into master 2026-10-27 11:17:20 -04:00 AGit
Owner

Inbound weapon contacts stayed "unknown" while closing on own units (live: six missiles 4.8 nm from CV China). The supervisor now marks a current weapon contact of unknown/unfriendly posture hostile when it is within 10 nm of an own unit or closing to pass within 5 nm inside 15 minutes: one contacts.set_posture through the coordinator, controlled mode only, AI Stop respected, never retried. Tests: tests/test_weapon_reflex.py. 🤖 Generated with Claude Code

Inbound weapon contacts stayed "unknown" while closing on own units (live: six missiles 4.8 nm from CV China). The supervisor now marks a current weapon contact of unknown/unfriendly posture hostile when it is within 10 nm of an own unit or closing to pass within 5 nm inside 15 minutes: one contacts.set_posture through the coordinator, controlled mode only, AI Stop respected, never retried. Tests: tests/test_weapon_reflex.py. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A side-visible weapon contact headed at CV China stayed "unknown": nothing in
CMOnet set posture on its own, agents are far too slow for a missile, and
rules can't call contacts.set_posture. The supervisor now runs a
deterministic weapon reflex each tick: a current weapon contact of unknown
or unfriendly posture within 10 nm of an own unit, or closing to pass within
5 nm inside 15 minutes, gets one contacts.set_posture hostile through the
coordinator (controlled mode only, AI Stop respected, every fence and
read-back kept, never retried).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.7.103 (weapon-reflex)
Some checks failed
check / check (ubuntu-latest) (push) Has been cancelled
check / check (windows-latest) (push) Has been cancelled
check / check (ubuntu-latest) (pull_request) Has been cancelled
check / check (windows-latest) (pull_request) Has been cancelled
1f7da07588
vinny manually merged commit 1f7da07588 into master 2026-10-27 11:17:20 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
vinny/CMOnet!161
No description provided.