Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Record the 3.117 ms GPU-cull capture
The later heavy-scene sample is the GTX 1660 Ti Max-Q run on clean
main 3855715, cited from the #372 comment.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
  • Loading branch information
cursoragent and lazyxeon committed Oct 25, 2026
commit b99a6967b9afc3c50aea4123da4e4f3820b449c0
6 changes: 3 additions & 3 deletions docs/current/ENGINE_STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Checked against `main` at `556a305c`, except the #388 weave-origin sentences, wh
| **Determinism** | Nineteen required replay cases, including `local_sim`, `greybox_checkpoint`, `quest_ticks`, and `persist_replay`. The compare job fails if any case is missing or its SHA-256 differs across the three OS artifacts. See [Determinism](#determinism). |
| **AI rule** | Local LLMs propose. The deterministic simulation validates and executes. `AIArbiter` stays behind `llm_orchestrator` (default off) and is not on `sys_ai_planning` or `sys_spatial_tick`. `GoapPlanner` stays off that tick (#331). `gravity.rs` was deleted in #330. #336 is closed. `recorded_line` is a pure helper intended as the dialogue boundary. It does not draw, and it is not wired in yet: the only callers are its own tests. The orchestrator default, when `OLLAMA_MODEL` is unset, is `phi3:medium` (`astraweave-ai`). The Qwen client constant is `qwen3.5:4b`. Ollama constructors return `Err` when the URL would be rewritten to `http://127.0.0.1:11434`, including a userinfo URL passed to `allowing_remote`. That error is returned before a bearer token is stored. `allowing_remote` keeps a non-loopback URL only when the URL needs no rewrite (#316). |
| **Assets** | The project rule is **CC0 only**. `assets/README.md` still says "Mixed" and this pass did not re-audit every file's license. |
| **Frame time** | The target is under 11 ms per frame on a GTX 1660 Ti-class GPU. #216 is on main. A later heavy-scene sample on a GTX 1660 Ti at `3855715e` is 3.117 ms. The earlier heavy scene on a GTX 1660 Ti Max-Q, Vulkan, 1920×1080, 30 warmup + 120 samples, measured `median_gpu_frame_ms=3.688` at commit `939a21bb`. `budget_11ms=pass`. The amortized `cloud_shadow` pass on that earlier capture is 0.323 ms. `CLOUD_SHADOW_STRENGTH` is 4 (#384). The heavy scene still draws no water (#371). `gpu_cull=cpu_fallback` because group 3 is per model (#372). Do not treat the older CPU `profiling_demo` times as this measurement. The root README must not repeat a frame figure. `aw_doc_lint` fails if it does. |
| **Frame time** | The target is under 11 ms per frame on a GTX 1660 Ti-class GPU. #216 is on main. The later heavy-scene capture is a GTX 1660 Ti Max-Q, Vulkan, clean `main` `3855715ea6fd4649a144ee72d2e851956ed1ad3f`, 1920×1080, 30 warmup and 120 samples ([#372 comment](https://github.com/lazyxeon/AstraWeave/issues/372#issuecomment-6330621189)). `gpu_cull=gpu`, `gpu_cull_reason=indirect`, 448 batches, 175 visible. The `gpu_cull` pass median is 0.020 ms. `main_render` is 1.976 ms. `median_gpu_frame_ms=3.117`. `budget_11ms=pass`. The earlier heavy scene on that card, Vulkan, 1920×1080, 30 warmup + 120 samples, measured `median_gpu_frame_ms=3.688` at `939a21bb`, with `gpu_cull=cpu_fallback` because group 3 was per model. `budget_11ms=pass` on that capture. The amortized `cloud_shadow` pass on that earlier capture is 0.323 ms. `CLOUD_SHADOW_STRENGTH` is 4 (#384). The heavy scene still draws no water (#371). Do not treat the older CPU `profiling_demo` times as this measurement. The root README must not repeat a frame figure. `aw_doc_lint` fails if it does. |
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved
| **Coverage and Miri** | Whole-workspace line coverage **57.35%** was measured 2026-06-29 and has not been re-run on the 141-member tree. Miri **1,059** tests, 0 UB, was measured 2026-06-27 across ecs, math, core, and sdk. The February 2026 report records an older, smaller run. Kani proof attributes were **69** on 2026-06-13 and were not re-counted here. |
| **Build** | This pass did not run `cargo check --workspace`. The last clean workspace check written into these docs is 2026-06-10, at 130 members. |
| **Supply chain** | #325 (`8e5dd73c`) makes `cargo deny` advisories and `cargo audit` pass aside from later advisories. Patched crates are locked (`rustls` 0.23.46, `tokio-rustls` 0.26.4, `openh264` 0.9.9). Ignored leftovers are #305, #309, #310, and #321–#323. #308 no longer has an ignore: `wayland-scanner` 0.31.11 uses `quick-xml` 0.41.0. #306 no longer has an ignore: `mikktspace` uses its `glam` backend, so `nalgebra` 0.26 is gone. #320 no longer has an ignore: postcard is `default-features = false` plus `alloc`, so `atomic-polyfill` is gone. #320 is closed. The fix is #387. `rustls-webpki` is 0.103.16 and `webpki-roots` is 1.0.10. RUSTSEC-2026-0381 and RUSTSEC-2026-0382 are fixed with no ignore. #311 no longer has an ignore: `aw_trace_sync` uses `yaml_serde`. #307 no longer has an ignore: `indicatif` 0.18 replaces `number_prefix`. #353 vendors `third_party/candle-core` (crates.io `candle-core` 0.8.4) and pins it to `zip` 9.0.3. #350 vendors `third_party/rapier3d` (crates.io `rapier3d` 0.22) on the same `[patch.crates-io]` table so a settled `PhysicsWorld::step` allocates nothing. An in-house physics engine is not planned work. Re-apply steps are in [VENDORED.md](../../third_party/rapier3d/VENDORED.md). The maintainer draft is [RAPIER_BUFFER_REUSE_UPSTREAM.md](RAPIER_BUFFER_REUSE_UPSTREAM.md) and is not filed upstream. That is the patched line for RUSTSEC-2026-0367, 0368, and 0369. `Cargo.lock` has no `zip` 1.1.4. There is no audit ignore for those three zip IDs. #324 is closed. The fix is #353. #365 resolved RUSTSEC-2026-0370, 0371, and 0372 with no ignore: `eframe` is built without AccessKit, so screen readers do not receive the egui tree, and editor file dialogs are `rfd` 0.17 (`libdbus` or `zenity` on Linux). The editor `kittest` feature is gone. #368 covers the six toolbar and menu clicks with synthetic `RawInput` on a plain `egui::Context`. #366 stays open for step 2: bring `egui_kittest` back once `accesskit_unix` uses zbus 6. Drop the vendor directory and the `[patch.crates-io]` entry once candle upstream depends on `zip >= 9`. #217 removed `openssl` from the lockfile. `deny.toml` still bans `openssl` and `openssl-sys`. #219 and #256 are closed. #327 (`87fbe079`) drops `net` from the workspace `tokio` features. `astraweave-net`, `astraweave-ipc`, and `astraweave-net-ecs` opt in. #326 is closed. |
Expand All @@ -62,12 +62,12 @@ Checked against `main` at `556a305c`, except the #388 weave-origin sentences, wh
- **Player-facing name (#394).** The intro companion line says thread-binder. The debrief notes no longer use the retired title. `scripts/ci/player_facing_names.sh` runs in the Gate job. A find or grep error fails the scan, and fewer than 20 text files fails it. Quoted strings in `examples/veilweaver_demo/src/visual_renderer.rs` are included. The dialogue test requires the asset files to exist and refuses a short scan.
- **Hi-Z (#389).** #269 is closed. The fix is #389. GitHub cross-referenced that pull. The close was not attributed. `draw_into` records the forward Hi-Z pyramid only when `hiz_depth_load` and `sample_hiz` are both set. `sample_hiz` defaults to false. `hiz_depth_load` is `depth_texture_load_supported` at renderer init. Recording stays off unless both are set. No pass in `draw_into` samples `HizPyramid::view`. `set_sample_hiz` drops any pyramid when the flag changes. The 0.275 ms figure is the GTX 1660 Ti capture at `939a21bb`. The default frame does not record that pass. #400 is open: `open_limited_image`, `Texture::from_file_with_usage`, and the ktx2 fallback in `set_smoke_test_texture` still call uncapped `std::fs::read`. Streaming reads stop at 64 MiB before the bytes are taken.
- **Wiring inventory (#393).** `docs/current/WIRING_CAMPAIGN.md` is on main. `gpu_frame_budget` calls `reject_gated_flags` before it builds the scene. An enabled `--atmosphere`, `--ssgi`, `--taa`, `--upscale`, `--dof`, or `--clouds` bails, so the printed median stays the baseline frame. `--name=false` and `--name false` are off and do not bail. 7.397 ms is the cloud-shadow amortization, not a raymarch measurement. #403 is open: `record_gated_presentation` does not call `copy_to_history` for SSGI, TAA, or upscale, and it does not copy those views onto `hdr_tex`. #395 stays open.
- **Aravath greybox (#205).** `cargo run -p aravath_runtime --bin aravath_greybox` opens the window. The on-screen player is the CC0 KayKit knight with the KayKit sword and shield. The three foes are CC0 KayKit skeletons. Ground albedos are CC0 Poly Haven maps. Foliage is CC0 KayKit and Kenney. Credits are in `assets/aravath/CREDITS.md`. The world streams a three-chunk ring. Sword hits land once, inside the active window, and lock-on drops when that enemy dies. `dig_sphere` applies a sphere `Subtract` brush through `DestructionWorld::apply_brush_now`. That loads every chunk the brush radius touches, then carves the island mesh by the occupancy drop. A checkpoint stores the command log (`persist_bytes`, save meta `demolition`). `restore_dug` replays it before the next dig. An empty log starts a fresh column world. Place still writes voxels with `place_sphere`. The edit log is still hashed. The greybox replay hash is `b6a9d5a2c5da28a6` in `aravath_runtime/golden/replay.hash`. #381 runs that check on Linux, Windows, and macOS. x86-64 pins the baseline CPU with FMA off. aarch64 uses the default baseline CPU. The hash is unchanged. The checkpoint stores tick, motor mode, attack phase (time, swinging, and hit), lock, `cover_broken`, and enemies. #281, #283, and #284 are closed. The fix is #381. It is a separate hash from the nineteen three-OS cases. Since #215, `ColumnStream` is the keep and evict set for the radius-3 ring. Those chunks still fill from the island heightfield. Greybox startup runs `run_aravath_slice` once (`prime_sword_slice` from `Greybox::new` and `Greybox::open`, #275, #343). Each connecting sword hit reuses that cached `sword_hp`. Dealt damage is `40 - sword_hp`. The slice test locks that remainder at 15, so the hit deals 25, and a broken cover bond shows the notice `Cover broke` once. The heavy-scene GPU frame on a GTX 1660 Ti Max-Q is 3.688 ms (`budget_11ms=pass`, #216). The amortized `cloud_shadow` pass is 0.323 ms. `CLOUD_SHADOW_STRENGTH` is 4 (#384). #371 and #372 stay open.
- **Aravath greybox (#205).** `cargo run -p aravath_runtime --bin aravath_greybox` opens the window. The on-screen player is the CC0 KayKit knight with the KayKit sword and shield. The three foes are CC0 KayKit skeletons. Ground albedos are CC0 Poly Haven maps. Foliage is CC0 KayKit and Kenney. Credits are in `assets/aravath/CREDITS.md`. The world streams a three-chunk ring. Sword hits land once, inside the active window, and lock-on drops when that enemy dies. `dig_sphere` applies a sphere `Subtract` brush through `DestructionWorld::apply_brush_now`. That loads every chunk the brush radius touches, then carves the island mesh by the occupancy drop. A checkpoint stores the command log (`persist_bytes`, save meta `demolition`). `restore_dug` replays it before the next dig. An empty log starts a fresh column world. Place still writes voxels with `place_sphere`. The edit log is still hashed. The greybox replay hash is `b6a9d5a2c5da28a6` in `aravath_runtime/golden/replay.hash`. #381 runs that check on Linux, Windows, and macOS. x86-64 pins the baseline CPU with FMA off. aarch64 uses the default baseline CPU. The hash is unchanged. The checkpoint stores tick, motor mode, attack phase (time, swinging, and hit), lock, `cover_broken`, and enemies. #281, #283, and #284 are closed. The fix is #381. It is a separate hash from the nineteen three-OS cases. Since #215, `ColumnStream` is the keep and evict set for the radius-3 ring. Those chunks still fill from the island heightfield. Greybox startup runs `run_aravath_slice` once (`prime_sword_slice` from `Greybox::new` and `Greybox::open`, #275, #343). Each connecting sword hit reuses that cached `sword_hp`. Dealt damage is `40 - sword_hp`. The slice test locks that remainder at 15, so the hit deals 25, and a broken cover bond shows the notice `Cover broke` once. The earlier heavy-scene GPU frame on a GTX 1660 Ti Max-Q is 3.688 ms at `939a21bb` (`budget_11ms=pass`, #216). The later capture is in the frame-time row. The amortized `cloud_shadow` pass on the earlier capture is 0.323 ms. `CLOUD_SHADOW_STRENGTH` is 4 (#384). #371 stays open. #372 is closed.
- **Traversal (#244).** `astraweave-physics` steps movement at a fixed 60 Hz. The sim owns displacement. Ground, jump, and roll are hashed for 180 ticks as required case `traversal`. `traversal_deformed` walks and climbs terrain that a brush cuts mid-run: a one-voxel seam ramps, a destroyed handhold detaches, and horizontal momentum is kept. Climb is hybrid (markup wins, otherwise a flagged surface). The Aravath motor (ground, air, crouch, sprint, roll) steps once per tick. Roll invulnerability is ticks 5 through 19. Swim, slide, prone, wall-run, glide, ledge, and shimmy are in the course script. Foot and hand IK stay on the presentation graph and are outside the hash.
- **Toolchain LFS and benchmark shards (#348, #351).** `toolchain-management.yml` checks out Git LFS. `ASSET_MANIFEST.tsv` then hashes the Aravath model blobs, including `AnimationLibrary_Godot_Standard.bin`, not the pointer files. Benchmark shard 0 measures `astraweave-localsim` with `astraweave-net`, `astraweave-profiling`, and `astraweave-water`. The matrix is 16 shards (`0`–`15`, `--shard-count 16`). The aggregate expects 53 package records. `astraweave-render` is shards 13, 14, and 15 (`@a`, `@b`, and `@c`). #377 flat-samples `camera_primitives_instancing`, `gpu_memory_terrain_skinning_depth_overlay`, `graph_mesh_material_texture`, `ibl_deferred`, and `transparency_environment_msaa`: `SamplingMode::Flat`, `sample_size(10)`, a 1 ms warm-up, and a 1 s measurement. In `ibl_deferred`, spherical harmonics then sets `sample_size(50)` and the BRDF LUT row sets `sample_size(30)`. `large_forest_10k_trees` scatters with `StdRng` seeded `0xA57A_13E7`. `github-action-benchmark` stores `dev/bench` on branch `benchmark-data`. `gh-pages` is the docs site, and main also has a `gh-pages/` directory, so the old checkout never published that history. The PR comment step clones `github.com/<owner>/<repo>`, does not auto-push, and comments only when a result exceeds the alert threshold. #361 split the dialogue, embeddings, and fluids benches on shards 2 and 4 into per-group targets. #359 is closed. The 600s limit stays. #374 flat-samples shard 4's `fluid_baseline_50k`: `SamplingMode::Flat`, `sample_size(10)`, a 1 ms warm-up, and a 1 s measurement. It still steps 50_000 particles. 10k and 20k stay at `sample_size(30)`. The 600s cap is unchanged. #367 calls `world.step()` in `raycast_with_and_without_normal` before the cast, so shard 7 no longer exits 101 on an empty query pipeline. The fluids GPU timing walk runs only when `AW_FLUID_GPU_TIMINGS` is set. Each sharded bench target gets 600s after compilation. The `aw_build` job is separate and uses its 30-minute job timeout.
- **Forest LOD budget (#375).** `view_ring_lod_keeps_the_forest_under_budget` still requires `total > 400` and `kept < 900`. The 50 ms debug wall-clock assert is gone. macOS 1.89 on run 39084152246 measured 50.776916 ms, failed `as_millis() < 50`, and skipped `Run clippy with toolchain`. Ubuntu and Windows in that run stayed under 50 ms. Counts were total=2009 and kept=727. `docs/architecture/terrain.md` is version 1.16.
- **Schedule registration (#360).** `add_system` still returns `Err(UnknownStage)` when the stage was never registered. `add_system_known_stage` calls `add_stage` first and aborts only if the stage is still missing. Call sites use that helper. There is no `expect` and no lint allow. #358 is closed. The fix is #360. `Toolchain Validation (1.89.0)` runs workspace clippy `-D warnings`, with that workflow's package excludes, and is expected green. The CI agent is confirming that job on main.
- **Frame budget (#216).** `gpu_frame_budget --scene heavy` on a GTX 1660 Ti Max-Q, Vulkan, 1920×1080, 30 warmup + 120 samples, recorded `median_gpu_frame_ms=3.688` at `939a21bb`. `budget_11ms=pass` on `budget_basis=gpu_frame`. The amortized `cloud_shadow` pass is 0.323 ms. The heavy scene draws no water (#371). `gpu_cull=cpu_fallback` on every adapter (#372).
- **Frame budget (#216).** `gpu_frame_budget --scene heavy` on a GTX 1660 Ti Max-Q, Vulkan, 1920×1080, 30 warmup + 120 samples, recorded `median_gpu_frame_ms=3.688` at `939a21bb`. `budget_11ms=pass` on `budget_basis=gpu_frame`. The amortized `cloud_shadow` pass is 0.323 ms. That capture had `gpu_cull=cpu_fallback`. The later capture on the same card, Vulkan, clean `main` `3855715ea6fd4649a144ee72d2e851956ed1ad3f`, 1920×1080, 30 warmup and 120 samples, recorded `median_gpu_frame_ms=3.117`, `gpu_cull=gpu` (`reason=indirect`), 448 batches, 175 visible, a `gpu_cull` pass of 0.020 ms, and `main_render` 1.976 ms. `budget_11ms=pass`. The log is the [#372 comment](https://github.com/lazyxeon/AstraWeave/issues/372#issuecomment-6330621189). The heavy scene draws no water (#371).
- **CI burndown (#217).** `aw-editor-tests.yml` and the sanitizer jobs install `pkg-config` and `libudev-dev`. Audio nextest fixtures live under `astraweave-audio/target/audio-test-assets/<pid>`. `fluid.wgsl` uses `safe_normalize` and takes velocity from the pre-clamp prediction so a zero vector and a wall hit stay finite on lavapipe. reqwest, the websocket client, and `hf-hub` use rustls. `ort` does not enable `download-binaries`. #217 landed when the required set was fifteen. The required set is now the nineteen cases. The disposition of the older red checks is `docs/current/CI_FAILURE_LEDGER.md`.
- **Editor/engine parity (#340).** `editor_engine_render_parity` bakes the default HDRI once and installs that `IblResources` on both renderers. The editor path in that test does not start the worker bake. #273 and #338 are closed. `test_async_task_is_finished_lifecycle` waits on a oneshot. `test_perception_stress` checks snapshot identity.
- **Workspace test reds (#333).** Profile `ci-pr` no longer excludes the terrain goldens or `ecs_integration_tests`. Noise goldens lock `NoiseConfig::default`. `sys_ai_planning` keeps `RuleOrchestrator` when `veilweaver_slice` is unified in. The voice-folder scan is a sorted `.ogg` / `.wav` list. Still excluded: GPU render passes, the lavapipe fluid smokes, and `test_qwen3_variants`. #254, #242, and #314 stay open. #218 is closed. #304 and #274 stay open.
Expand Down