Skip to content
Merged
Show file tree
Hide file tree
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
docs: CI burndown is on main and the greybox net fix is not
#217 at a66304d installs libudev for the editor tests and sanitizers,
gives audio tests a per-process fixture directory, and keeps the SPH
step finite. #219 and #256 are closed. #327 stays open for #326.

Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
  • Loading branch information
cursoragent and lazyxeon committed Oct 16, 2026
commit 3a92d75205cb889356c65d35eda2140094a32fbc
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Project Overview

AstraWeave is a **scientific proof of concept**: an AI-native game engine built **iteratively by AI with zero human-written code**. It uses a deterministic ECS architecture where AI agents are first-class citizens. The player-facing game name is Aravath. The workspace contains 141 crates (`cargo metadata --no-deps` at `a10780f4`, 2026-10-16; 58 names start with `astraweave-`, 60 example manifests). #215 did not add a member. #316 caps image decode and confines CLI glTF imports; Ollama constructors stay on loopback unless `allowing_remote` is used. #318 keeps physics and nav proxies off the gameplay script tick. #252 puts the data-driven weaving framework on main. #205 puts the windowed Aravath greybox on main (`aravath_greybox`). #244 puts the 60 Hz traversal sim on main. #215 puts integer forest columns and `ColumnStream` on main. The July 2026 note of 133 members is older. Rust toolchain is pinned at 1.89.0. Determinism replay requires fifteen cross-OS cases (`planner_pure`, `perception_world`, `gameplay_rng`, `fixed64`, `combat_resolve`, `destruction`, `gameplay_qa_aravath_slice`, `nav_reroute`, `causal_bridge`, `scripted_system`, `weaving`, `traversal`, `traversal_deformed`, `worldgen_columns`, `deformed_chunk`). Local fluid sim #253, render frame budget #216, and CI #217 are in progress and are not on this commit.
AstraWeave is a **scientific proof of concept**: an AI-native game engine built **iteratively by AI with zero human-written code**. It uses a deterministic ECS architecture where AI agents are first-class citizens. The player-facing game name is Aravath. The workspace contains 141 crates (`cargo metadata --no-deps` at `a10780f4`, 2026-10-16; 58 names start with `astraweave-`, 60 example manifests). #215 did not add a member. #316 caps image decode and confines CLI glTF imports; Ollama constructors stay on loopback unless `allowing_remote` is used. #318 keeps physics and nav proxies off the gameplay script tick. #252 puts the data-driven weaving framework on main. #205 puts the windowed Aravath greybox on main (`aravath_greybox`). #244 puts the 60 Hz traversal sim on main. #215 puts integer forest columns and `ColumnStream` on main. #217 puts the CI burndown on main: `libudev-dev` on the editor-test and sanitizer jobs, per-process audio fixtures, and a finite SPH step in `fluid.wgsl`. `openssl` is gone from the lockfile and stays banned. The July 2026 note of 133 members is older. Rust toolchain is pinned at 1.89.0. Determinism replay requires fifteen cross-OS cases (`planner_pure`, `perception_world`, `gameplay_rng`, `fixed64`, `combat_resolve`, `destruction`, `gameplay_qa_aravath_slice`, `nav_reroute`, `causal_bridge`, `scripted_system`, `weaving`, `traversal`, `traversal_deformed`, `worldgen_columns`, `deformed_chunk`). Local fluid sim #253, render frame budget #216, and greybox `tokio` `net` fix #327 are in progress and are not on this commit. #326 is the open failure #327 addresses.

### Mandate

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Thank you for your interest in helping advance the AstraWeave AI-Native Gaming E
- Determinism changes must keep the fifteen required replay cases identical across Linux, Windows, and macOS. The list is in `.github/workflows/determinism-replay.yml` and the repository README. `worldgen_columns` and `deformed_chunk` are the fourteenth and fifteenth.
- Local LLMs propose. The deterministic simulation validates and executes.
- Player-facing text says Aravath. Assets added to the tree are CC0 only.
- Do not document local fluid sim #253, render frame budget #216, or CI #217 as shipped until they are on `main`. Weaving #252, the Aravath greybox #205, traversal #244, and terrain columns #215 are on `main`.
- Do not document local fluid sim #253, render frame budget #216, or the greybox `tokio` `net` fix #327 as shipped until they are on `main`. #327 addresses #326. Weaving #252, the Aravath greybox #205, traversal #244, terrain columns #215, and CI burndown #217 are on `main`.
- Install required native dependencies for `wgpu`, `rapier`, and `ffmpeg` (refer to platform notes in `docs/masters/MASTER_ROADMAP.md`).
- Clone the repository and run `cargo fetch` to prime the workspace.

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The game this engine is being built for is **Aravath**.

## Current state (2026-10-16)

Checked against `main` at `d0452d3e`. Numbers that were not re-measured in this pass are dated below. This page does not assign a letter grade.
Checked against `main` at `a66304dc`. Numbers that were not re-measured in this pass are dated below. This page does not assign a letter grade.

| Topic | What is true on this commit |
| --- | --- |
Expand All @@ -42,7 +42,7 @@ Checked against `main` at `d0452d3e`. Numbers that were not re-measured in this
| **Frame time** | The target is under 11 ms per frame on a GTX 1660 Ti-class GPU. It is not yet measured on that hardware: the GPU timer read 0 ms, and the readback is in progress in #216. Do not treat the older CPU `profiling_demo` times as this measurement. |
| **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. Patched crates are locked (`rustls` 0.23.46, `tokio-rustls` 0.26.4, `openh264` 0.9.9). Ignored leftovers are #305–#311 and #320–#324. The greybox `tokio` `net` edge is #326. |
| **Supply chain** | #325 (`8e5dd73c`) makes `cargo deny` advisories and `cargo audit` pass. Patched crates are locked (`rustls` 0.23.46, `tokio-rustls` 0.26.4, `openh264` 0.9.9). Ignored leftovers are #305–#311 and #320–#324. #217 removed `openssl` from the lockfile. `deny.toml` still bans `openssl` and `openssl-sys`. #219 and #256 are closed. The workspace `tokio` dependency still enables `full`, so the greybox `net` edge is #326. The fix is #327 and is not on this commit. |
| **Traces** | **31** subsystem traces under `docs/architecture/`, including `veil.md`, listed in the generated table in `CLAUDE.md`. The June "13 traces" figure is the original campaign, not the current set. |

### On main since the June snapshot
Expand All @@ -58,6 +58,7 @@ Checked against `main` at `d0452d3e`. Numbers that were not re-measured in this
- **Weaving framework (#252).** `weave_tick` stamps data-driven templates (heat, freeze, density, gravity, and the other built-in ids) into `FieldWrite`s on a `SimField`. Replay case `weaving` runs 300 ticks on `NullField`, whose field digest is zeros until the local sim in #253 is on main. Freeze records an ice sheet and a nav change. `examples/aravath_weave` is the headless caller. `astraweave-core`, `astraweave-gameplay`, `astraweave-scripting`, and `astraweave-security` depend on the crate. The anchor-slice helpers are still plain functions.
- **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 and place still use `dig_sphere` and the voxel edit log. The greybox replay hash is `b663da52ea1d566e` in `aravath_runtime/golden/replay.hash`. That check runs on Linux and Windows only. It is a separate hash from the fifteen 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. The 11 ms frame budget is still not measured on a GTX 1660 Ti.
- **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.
- **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`. The fifteen replay cases are unchanged. The disposition of the older red checks is `docs/current/CI_FAILURE_LEDGER.md`.
- **Terrain columns and scatter (#215).** `column_gen` is the integer forest record. Height, material, and a prop are functions of `(FOREST_WORLD_SEED, x, z)` with wrapping integer arithmetic. Species and yaw come from `SimRng` on `SIM_SYSTEM_FOREST_SCATTER`. The road stays empty. `worldgen_columns` is the SHA-256 of `worldgen_record()`: three chunks, including a negative coordinate and a road chunk. `deformed_chunk` is the SHA-256 of a sphere brush and one scatter detach on chunk `(-1, 2)`, then the occupancy after that chunk is evicted and loaded again. A `Detach` stays down across that reload. `ColumnStream` is the greybox keep set. The window still fills those chunks from the island heightfield, and its props still come from `aravath_runtime`'s local scatter. The editor climate mesh is the preview. Scene save and the Aravath checkpoint store `worldgen_record()`. Apply Erosion appends destruction commands and leaves that record in place. The CC0 pine-forest files, including Poly Haven `pine_tree_01`, are hashed in `assets/terrain/polyhaven/pine_forest/manifest.json`. KayKit and Kenney stay the greybox props.

## In progress
Expand All @@ -66,7 +67,7 @@ These pulls are not on `main`.

- **#253** — local fluid sim
- **#216** — render frame budget (GPU timer readback)
- **#217** — CI
- **#327** — greybox `tokio` `net` (#326)

---

Expand Down Expand Up @@ -129,7 +130,7 @@ The 12,700-agent figure is a CPU capacity estimate for a mid-complexity AI loop

## Systems on this tree

| Area | State on `d0452d3e` |
| Area | State on `a66304dc` |
| --- | --- |
| **ECS, math, core, sdk** | Single-threaded archetype schedule. Miri-clean as of the 2026-06-27 run (1,059 tests). |
| **Combat** | `astraweave-combat` resolves damage in Q32.32. Replay case `combat_resolve`. |
Expand Down Expand Up @@ -163,7 +164,7 @@ cargo run -p aw_doc_lint -- --mode warn
cargo run -p aw_trace_sync -- --check
```

Pull-request Rust work is tiered. The required replay check is `determinism-replay / compare`. Docs-only diffs skip the workspace compile; they still run the replay hashes. The full job list is [CI_ARCHITECTURE.md](docs/current/CI_ARCHITECTURE.md). CI restructuring beyond what is already on `main` is in progress in #217.
Pull-request Rust work is tiered. The required replay check is `determinism-replay / compare`. Docs-only diffs skip the workspace compile; they still run the replay hashes. The full job list is [CI_ARCHITECTURE.md](docs/current/CI_ARCHITECTURE.md). #217 is on `main`. The greybox `tokio` `net` failure remains #326, and #327 is the open fix.

`aw_doc_lint` reads the closed vocabulary in [CLOSED_VOCABULARY_LINT.md](docs/campaigns/doc-truth/CLOSED_VOCABULARY_LINT.md). It also checks this README against the replay workflow: every required case name, the unmeasured 11 ms target, the in-progress issue list, and the absence of the retired game title in player-facing docs. That front-door check fails the process even while the vocabulary scan is still in warn mode.

Expand Down
6 changes: 5 additions & 1 deletion docs/architecture/ARCHITECTURE_MAP.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# AstraWeave Architecture Map

> **Generated**: 2026-05-07 | **Last reconciled**: 2026-10-16 | **Version**: 0.8.5 | **Rust**: 1.89.0
> **Generated**: 2026-05-07 | **Last reconciled**: 2026-10-16 | **Version**: 0.8.6 | **Rust**: 1.89.0
> Living document — used by all agents as the primary architectural reference.
> **0.8.6 update (2026-10-16)**: Rebased onto `a66304dc`. CI burndown #217 is on main. #219 and #256 are closed. Required replay cases stay fifteen. Member count stays **141**. Local sim #253, frame budget #216, and greybox `tokio` `net` fix #327 stay in progress. #327 addresses #326.
> **0.8.5 update (2026-10-16)**: Rebased onto `d0452d3e`. Terrain columns #215 are on main. Required replay cases are fifteen, including `worldgen_columns` and `deformed_chunk`. The greybox golden stays `b663da52ea1d566e` (Linux and Windows only). Member count stays **141**. Local sim #253, frame budget #216, and CI #217 stay in progress.
> **0.8.4 update (2026-10-16)**: Rebased onto `a10780f4`. Traversal #244 is on main. Required replay cases are thirteen, including `traversal` and `traversal_deformed`. The greybox golden is `b663da52ea1d566e` (Linux and Windows only). Member count stays **141**. Local sim #253, frame budget #216, and CI #217 stay in progress.
> **0.8.3 update (2026-10-16)**: Rebased onto `cdea968c`. The Aravath greybox #205 is on main (`aravath_greybox`). Member count is **141** (`astraweave-veil`). Trace count is **31** (`veil.md`). The greybox replay is Linux and Windows only. Local sim #253, frame budget #216, and CI #217 stay in progress.
Expand Down Expand Up @@ -960,6 +961,9 @@ These are decisional questions that cross subsystem boundaries or affect the bro

## Revision History

### v0.8.6 (2026-10-16)
Rebased onto `a66304dc`. CI burndown #217 is on main. The required replay list stays fifteen cases.

### v0.8.5 (2026-10-16)
Rebased onto `d0452d3e`. Terrain columns #215 are on main. The required replay list is fifteen cases.

Expand Down
1 change: 1 addition & 0 deletions docs/campaigns/doc-truth/CLAIMS_REGISTRY.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ Status vocabulary: **VERIFIED-AT-HEAD** (re-checked this campaign at HEAD via th
| 0.1 (D.1.A skeleton) | 2026-06-13 | Created. 11 VERIFIED-AT-HEAD count/version rows; 7 PENDING-D2 benchmark/coverage rows; Retired table seeded. PENDING-D2 rows to be filled by D.2 measurement. |
| 0.2 (D.1.B hygiene) | 2026-06-13 | Hygiene pass: `canonical_source` for agents-capacity-60fps / frame-time-1000-entities / coverage-weighted / miri-tests changed from doc-references to the bench/llvm-cov/miri **command** (doc-cites-doc break). Denominators confirmed named ("test markers", not "tests"). `referenced_by` lists are representative load-bearing sites, not exhaustive — D.1.B added registry-comment back-links across the long-tail corpus. |
| 0.3 (D.2.A.1) | 2026-06-25 | **W.1-contamination re-resolution.** Re-resolved the 4 W.1-invalidated rows (fluids-loc 80,222→24,251 src; fluids-test-markers 2,560→738; rust-loc-total ~1.16M→~1.10M raw / ~892K→~854K code; dormant-loc-inventory 108,753→52,782). Fixed 2 broken repro commands (fluids-loc `**`-glob returned 0; rust-loc-total `xargs … wc -l \| tail -1` batching). Added 4 NEW rows for the W.2–F.4 water successor: water-facade-loc, water-surface-loc, water-system (narrative), water-budget (PENDING-D2, single-machine/provisional). Dated D.2.A snapshots in the execution reports left byte-identical (per-row resolution principle). Authority: `D_RESUME_0_RECON.md`. |
| 1.2 | 2026-10-16 | #217 on main at `a66304dc`. `replay-cases` stays 15. #219 and #256 are closed. #326 stays open. #327 is the open fix. |
| 1.1 | 2026-10-16 | #215 on main. `replay-cases` adds `worldgen_columns` and `deformed_chunk` (15). Greybox golden stays `b663da52ea1d566e`, outside that gate. Member count stays 141. |
| 1.0 | 2026-10-16 | #244 on main. `replay-cases` adds `traversal` and `traversal_deformed` (13). Greybox golden is `b663da52ea1d566e`, still outside that gate. |
| 0.9 | 2026-10-16 | #205 on main. `workspace-members` 140 → 141 (`astraweave-veil`). Greybox replay stays off the eleven-case gate. |
Expand Down
2 changes: 1 addition & 1 deletion docs/campaigns/doc-truth/CLOSED_VOCABULARY_LINT.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The union of acted + kept occurrences is the complete closed-vocabulary inventor

- Both `required` lists in `.github/workflows/determinism-replay.yml` must agree, and `README.md` must name each case.
- `README.md` must state that the under-11 ms GTX 1660 Ti frame budget is not yet measured, that assets are CC0, that local LLMs propose, and that the deterministic simulation validates.
- `README.md` must have a `## In progress` section listing #253, #216, and #217, and that section must not call the work shipped, landed, or merged. #252, #205, and #244 are on main and are not in that list.
- `README.md` must have a `## In progress` section listing #253, #216, and #327, and that section must not call the work shipped, landed, or merged. #217, #252, #205, #215, and #244 are on main and are not in that list.
- Player-facing files (`README.md`, `CONTRIBUTING.md`, `docs/README.md`, `docs/QUICKSTART.md`, `docs/guides/**/*.md`) must not use the retired game title. `veilweaver_` crate names and the archive directory `projects/veilweaver` are allowed.

## Frame-time carve-out (D.3.1) — why `2.70 ms` is NOT in Vocabulary A
Expand Down
2 changes: 1 addition & 1 deletion docs/current/ARAVATH_DISTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The advisory check passes because the leftovers are ignored, not because they ar

[#324](https://github.com/lazyxeon/AstraWeave/issues/324) tracks yanked `zip` 1.1.4, which `candle-core` 0.8.4 still requires. `cargo audit` cannot ignore one yanked crate. `zip` 9.0.3 is also locked. [#303](https://github.com/lazyxeon/AstraWeave/issues/303) is the older note that deny advisory and license failures were warnings. On this commit, deny advisories and `cargo audit` pass with the ignore list above.

`scripts/check-aravath-network.sh` still fails the greybox job. `aravath_runtime` reaches `tokio` with the `net` feature through `astraweave-render` → `astraweave-asset` → `astraweave-security` → `astraweave-llm`, because the workspace `tokio` dependency enables `full`. That failure is [#326](https://github.com/lazyxeon/AstraWeave/issues/326). It is not an HTTP client in the greybox crate. `reqwest`, `hyper`, `openssl`, and `socket2` are what the script rejects by name. The supply-chain bumps did not add that edge.
`scripts/check-aravath-network.sh` still fails the greybox job on `a66304dc`. The workspace `Cargo.toml` still sets `tokio` `features = ["full"]`, so `aravath_runtime` reaches `tokio` with `net` through `astraweave-render` → `astraweave-asset` → `astraweave-security` → `astraweave-llm`. That failure is [#326](https://github.com/lazyxeon/AstraWeave/issues/326). [#327](https://github.com/lazyxeon/AstraWeave/pull/327) is the open fix and is not on this commit. It is not an HTTP client in the greybox crate. `reqwest`, `hyper`, `openssl`, and `socket2` are what the script rejects by name. #217 removed the `openssl` package from the lockfile. The workspace `tokio` feature set is what still enables `net`.

Duplicate crate versions stay at `multiple-versions = "warn"` and do not fail the advisory check. Collapsing `windows-sys` still means upgrading wgpu.

Expand Down
Loading
Loading