Skip to content

test(dive): add the breath and drowning flow - #10

Merged
Mathih13 merged 1 commit into
mainfrom
test/dive-flow-adapter
Sep 7, 2026
Merged

Mathih13 merged 1 commit into
mainfrom
test/dive-flow-adapter

Conversation

@Mathih13

@Mathih13 Mathih13 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

LyraCore now sends the Vanilla breath timer and drowning damage packets, but wire-harness had no maintained flow that proved the full dive and surface sequence. A timer or damage packet by itself could not establish that the Character stayed submerged through the advertised window, took the reported damage, and stopped draining after surfacing.

Add a server-neutral scenario-dive mode that sends typed swimming movement, validates the Breath timer, waits through its advertised duration, and requires an own Character Drowning log whose damage matches the observed health drop. It then sends surface movement and requires the matching timer stop before logout. The LyraCore adapter checks the imported liquid cell before changing a clearly named disposable Character, reads the password from stdin, and verifies durable damage and surface position after the run.

The Operator run, coordinate selection, head-height calibration, and stock 1.12.1 client acceptance remain pending. Refs LyraCoreProject/LyraCore#142 and LyraCoreProject/LyraCore#12.

Validation:

  • cargo fmt --check
  • cargo clippy --all-targets --locked -- -D warnings
  • cargo test --locked (39 library, 5 scenario, and 31 benchmark tests)
  • cargo build --release --locked --bins
  • bash tests/lyracore-dive-flow.sh
  • bash tests/lyracore-bank-flow.sh
  • bash tests/lyracore-suite.sh
  • shellcheck --severity=warning adapters/lyracore/test-dive-flow.sh tests/lyracore-dive-flow.sh
  • bash -n on all adapter scripts

Made by GPT-5.6 Sol with Codex in T3 Code.

@Mathih13
Mathih13 merged commit 5384231 into main Sep 7, 2026
3 checks 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