Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
70452ed
feat(aravath): stand and dig on one voxel island
cursoragent Oct 13, 2026
9d69211
feat(aravath): add the movement motor and the demo goals
cursoragent Oct 13, 2026
0d90ed4
feat(aravath): add a single locomotion graph
cursoragent Oct 13, 2026
fd80123
feat(aravath): add sword, shield, lock-on, and three enemies
cursoragent Oct 13, 2026
91a95f4
feat(aravath): place supported voxels and save the edit log
cursoragent Oct 13, 2026
f1f49b0
feat(aravath): stream a ring of mineable chunks around the player
cursoragent Oct 13, 2026
a7f2ead
feat(aravath): texture the ground with a CC0 Poly Haven albedo
cursoragent Oct 13, 2026
f546f58
docs(aravath): record the Windows target check
cursoragent Oct 13, 2026
6918eae
feat(aravath): replace box stand-ins with CC0 character, sword, shiel…
cursoragent Oct 13, 2026
dc1cd13
feat(aravath): drive character clips from movement and combat
cursoragent Oct 13, 2026
8750f09
feat(aravath): give the streamed world biomes, textures, and foliage
cursoragent Oct 13, 2026
2a22bdd
ci(aravath): build the greybox on windows-latest (#206)
lazyxeon Oct 13, 2026
c0be144
feat(aravath): add a combat HUD and save feedback
cursoragent Oct 13, 2026
af9787e
feat(aravath): tighten air control and give enemies a leash
cursoragent Oct 13, 2026
c053fb7
docs(aravath): note air control, mouse capture, and the enemy leash
cursoragent Oct 13, 2026
9b90269
feat(aravath): harden the sim and light it with the engine
cursoragent Oct 13, 2026
1f02064
fix(aravath): log startup failures and skip volumetrics on demand
cursoragent Oct 13, 2026
54c48d9
fix(aravath): import OsStrExt for the Windows loading paint
cursoragent Oct 13, 2026
cd03f06
fix(aravath): step the sim at a fixed 60 Hz
cursoragent Oct 14, 2026
30d45ed
fix(aravath): lock the replay hash across machines
cursoragent Oct 14, 2026
77c516a
fix(render): match WGSL uniform alignment for fog and the other share…
cursoragent Oct 14, 2026
bbef075
Add deterministic fate-scars and sample them in volumetric fog.
cursoragent Oct 14, 2026
f6dd90f
docs(aravath): point demo fiction at the Aravath lore bible
cursoragent Oct 14, 2026
3cb7494
feat(aravath): name the western hills from the internal lore brief
cursoragent Oct 14, 2026
70d92ca
fix(aravath): bound untrusted saves and drop the greybox network stack
cursoragent Oct 14, 2026
116f9e5
build(aravath): publish checksums, an SBOM, and optional Authenticode
cursoragent Oct 14, 2026
d6174bc
fix(aravath): let the Windows workflow start and leave signing unwired
cursoragent Oct 14, 2026
c8f6d48
fix(ci): retry advisory fetches and compile the Windows SDK harness
cursoragent Oct 14, 2026
e4db903
fix(ci): give cargo audit a fresh advisory database
cursoragent Oct 14, 2026
2e5d6e3
fix(ci): check out the repo before publishing the Aravath release
cursoragent Oct 14, 2026
4bfd08e
test(aw-save): lock the postcard and lz4 save bytes
cursoragent Oct 14, 2026
5347f02
fix(deps): bump rustls 0.23 to 0.23.46 and record the 0.22 residuals
cursoragent Oct 14, 2026
30cb7d4
fix(aravath): stop the black frame and the stuck mouse
cursoragent Oct 14, 2026
ca71f94
fix(ci): install libudev before the lavapipe volumetrics test
cursoragent Oct 14, 2026
bca0b3f
fix(render): drop expect from the atmosphere composite
cursoragent Oct 14, 2026
cbb8299
feat(aravath): scatter KayKit forest props on the western hills
cursoragent Oct 15, 2026
f700b60
feat(aravath): dress the greybox in the KayKit CC0 subset
cursoragent Oct 15, 2026
a87a2d3
feat(aravath): report frame time against the 11 ms budget
cursoragent Oct 15, 2026
b0de384
fix(veil): reject scar cell lists above 4096 before insert
cursoragent Oct 15, 2026
c21ce83
fix(ci): stop the greybox gate, hash, and trace-sync failures
cursoragent Oct 15, 2026
7ee34e9
fix(ci): pin Aravath actions and declare read-only workflow tokens
cursoragent Oct 15, 2026
5d63aa0
fix(ci): rustfmt the greybox Windows resource embed
cursoragent Oct 15, 2026
f692385
fix(ci): fetch Git LFS in test jobs and keep joint-matrix capacity exact
cursoragent Oct 15, 2026
2d5fab4
fix(test): generate beep wavs privately and probe depth textureLoad
cursoragent Oct 15, 2026
4794ee1
fix(lock): record aw_asset_cli's tokio dependency
cursoragent Oct 16, 2026
21db926
fix(docs): restore veil runtime edges after the weaving rebase
cursoragent Oct 16, 2026
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
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
assets/aravath/**/*.glb filter=lfs diff=lfs merge=lfs -text
assets/aravath/**/*.bin filter=lfs diff=lfs merge=lfs -text
assets/aravath/**/*.png filter=lfs diff=lfs merge=lfs -text
assets/aravath/**/*.jpg filter=lfs diff=lfs merge=lfs -text
assets/aravath/**/*.gltf text eol=lf
assets/aravath/**/*.tsv text eol=lf
assets/aravath/**/*.md text eol=lf
60 changes: 60 additions & 0 deletions .github/workflows/aravath-determinism.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Aravath determinism

# The recorded replay must land on the same state hash on Linux and Windows.
# Baseline x86-64, no FMA, no target-cpu=native. rustc does not contract
# `a * b + c` into an FMA unless the code calls `mul_add`.

on:
push:
branches:
- "cursor/aravath-*"
pull_request:

concurrency:
group: aravath-determinism-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always
CARGO_NET_RETRY: 10
RUST_BACKTRACE: short
RUSTFLAGS: "-C target-cpu=x86-64 -C target-feature=-fma"

jobs:
golden:
name: Replay hash (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
lfs: true

- name: Install Linux link dependencies
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y pkg-config libudev-dev libasound2-dev

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@d77020bf130f2e8c39c025bf9c4c3a445fe2b9fa # 1.89.0

- name: Cache Cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: "."
key: aravath-det-${{ matrix.os }}-v1
cache-all-crates: true

- name: Replay against the golden hash
run: cargo test -p aravath_runtime --lib replay_matches_golden_hash -- --nocapture
268 changes: 268 additions & 0 deletions .github/workflows/aravath-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,268 @@
name: Aravath Windows
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed

# Windows desktop build of the Aravath greybox. The Linux cloud VM cannot link
# the MSVC build of basis-universal (no lib.exe), so the windows job is the
# check that the exe actually links. supply-chain runs on Linux.

on:
push:
branches:
- "cursor/aravath-*"
pull_request:

concurrency:
group: aravath-windows-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Read at the workflow root. The release job overrides this with contents:
# write, which `gh release` needs for the rolling prerelease.
permissions:
contents: read

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always
CARGO_NET_RETRY: 10
RUST_BACKTRACE: short

jobs:
vulkan-validation:
name: Volumetrics validation on lavapipe
runs-on: ubuntu-latest
timeout-minutes: 90
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@d77020bf130f2e8c39c025bf9c4c3a445fe2b9fa # 1.89.0

- name: Install lavapipe
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends pkg-config libudev-dev libasound2-dev mesa-vulkan-drivers libvulkan1

- name: Cache Cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: "."
key: aravath-vulkan-validation-v1
cache-all-crates: true

- name: Validate volumetrics pipelines
env:
WGPU_VALIDATION: "1"
WGPU_BACKEND: vulkan
run: cargo test -p astraweave-render --test volumetric_validation -- --nocapture

supply-chain:
name: cargo-audit, cargo-deny, SBOM
runs-on: ubuntu-latest
timeout-minutes: 45
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@d77020bf130f2e8c39c025bf9c4c3a445fe2b9fa # 1.89.0

- name: Cache Cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: "."
key: aravath-supply-v1
cache-all-crates: true

- name: Install audit tools
run: |
cargo install cargo-audit --locked --version 0.22.2
cargo install cargo-deny --locked --version 0.20.2
cargo install cargo-cyclonedx --locked --version 0.5.9

- name: cargo deny
run: |
# The advisory database clone flakes on a cold runner.
for attempt in 1 2 3 4; do
if cargo deny check --hide-inclusion-graph advisories bans licenses sources; then
exit 0
fi
echo "cargo deny attempt ${attempt} failed; retrying"
sleep $((attempt * 15))
done
exit 1

- name: cargo audit
run: |
# cargo-deny leaves ~/.cargo/advisory-db in a state cargo-audit's
# clone refuses ("failed to prepare clone"). Start from an empty dir.
db="${CARGO_HOME:-$HOME/.cargo}/advisory-db"
for attempt in 1 2 3 4; do
rm -rf "$db"
if cargo audit; then
exit 0
fi
echo "cargo audit attempt ${attempt} failed; retrying"
sleep $((attempt * 15))
done
exit 1

- name: Greybox has no network client
run: bash scripts/check-aravath-network.sh

- name: CycloneDX SBOM
run: |
mkdir -p dist
# cargo-cyclonedx writes one JSON per workspace package, next to that
# package. Keep the greybox graph and delete the rest.
cargo cyclonedx --manifest-path aravath_runtime/Cargo.toml --format json --spec-version 1.5 --override-filename aravath_greybox
test -s aravath_runtime/aravath_greybox.json
cp aravath_runtime/aravath_greybox.json dist/aravath_greybox.cdx.json
find . -name aravath_greybox.json -delete

- name: Upload SBOM
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: aravath-sbom
path: dist/aravath_greybox.cdx.json
if-no-files-found: error
retention-days: 14

windows:
name: Build, test, and upload greybox
runs-on: windows-latest
timeout-minutes: 180
permissions:
contents: read

steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
lfs: true

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@d77020bf130f2e8c39c025bf9c4c3a445fe2b9fa # 1.89.0

- name: Cache Cargo
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
workspaces: "."
key: aravath-windows-v2
cache-all-crates: true

- name: Build aravath_greybox (dist)
run: cargo build -p aravath_runtime --bin aravath_greybox --profile dist --locked

- name: Test aravath_runtime lib
run: cargo test -p aravath_runtime --lib

- name: Test aw-save lib
run: cargo test -p aw-save --lib

- name: Stage exe and assets
run: |
mkdir -p dist/aravath_greybox/assets
cp target/dist/aravath_greybox.exe dist/aravath_greybox/
cp -a assets/aravath dist/aravath_greybox/assets/
cp docs/current/ARAVATH_WINDOWS_README.txt dist/aravath_greybox/README.txt
cp LICENSE dist/aravath_greybox/LICENSE
test -f dist/aravath_greybox/aravath_greybox.exe
test -f dist/aravath_greybox/README.txt
test -f dist/aravath_greybox/LICENSE
test -f dist/aravath_greybox/assets/aravath/models/AnimationLibrary_Godot_Standard.gltf
test -f dist/aravath_greybox/assets/aravath/textures/grass_diff_1k.jpg
test -f dist/aravath_greybox/assets/aravath/models/kaykit/knight/Knight.glb
sig=$(head -c 4 dist/aravath_greybox/assets/aravath/models/kaykit/knight/Knight.glb)
test "$sig" = "glTF"
find dist/aravath_greybox -maxdepth 3 -type d -o -type f | sort

- name: Smoke test the staged exe
working-directory: dist/aravath_greybox
run: ./aravath_greybox.exe --smoke-test --no-volumetrics

- name: Smoke test volumetrics on DX12
working-directory: dist/aravath_greybox
env:
WGPU_VALIDATION: "1"
WGPU_BACKEND: dx12
run: ./aravath_greybox.exe --smoke-test --volumetrics

- name: Smoke test volumetrics on Vulkan
working-directory: dist/aravath_greybox
env:
WGPU_VALIDATION: "1"
WGPU_BACKEND: vulkan
ARAVATH_WARP: "0"
ARAVATH_ALLOW_MISSING_ADAPTER: "1"
run: ./aravath_greybox.exe --smoke-test --volumetrics

# Authenticode is not wired. Add it after a signing option is chosen.
# scripts/sign-aravath.ps1 is the PFX path; Azure Artifact Signing is
# documented in docs/current/ARAVATH_DISTRIBUTION.md.

- name: SHA-256 checksums
run: bash scripts/aravath-sha256.sh dist/aravath_greybox

- name: Upload greybox artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: aravath_greybox-windows
path: dist/aravath_greybox
if-no-files-found: error
retention-days: 14

release:
name: GitHub Release
needs: [windows, supply-chain]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/cursor/aravath-')
runs-on: ubuntu-latest
permissions:
contents: write
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Download greybox
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: aravath_greybox-windows
path: aravath_greybox

- name: Download SBOM
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: aravath-sbom
path: aravath_greybox
Comment on lines +236 to +240

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate checksums after adding the SBOM

In the inspected aravath-windows.yml, the Windows job creates SHA256SUMS.txt before uploading its artifact, but the release job then downloads the SBOM into that artifact directory. The resulting zip contains aravath_greybox.cdx.json without a checksum even though the release notes claim the checksum file covers every file in the zip; rerun the checksum script after both artifacts are assembled.

Useful? React with 👍 / 👎.


- name: Publish rolling prerelease
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
test -f aravath_greybox/aravath_greybox.exe
test -f aravath_greybox/SHA256SUMS.txt
test -f aravath_greybox/aravath_greybox.cdx.json
zip -r aravath_greybox-windows.zip aravath_greybox
notes=$(cat <<EOF
Rolling Windows build of the Aravath greybox from \`${GITHUB_SHA}\`.

Extract the whole zip and start \`aravath_greybox.exe\` from the extracted folder. Saves and logs go to \`%LOCALAPPDATA%\\Aravath\`. \`SHA256SUMS.txt\` covers the files in this zip. \`aravath_greybox.cdx.json\` is the CycloneDX SBOM.

This release is a prerelease. Chrome and SmartScreen can still warn until the file is signed with a publicly trusted certificate and has download reputation. See \`docs/current/ARAVATH_DISTRIBUTION.md\`.
EOF
)
if gh release view aravath-greybox >/dev/null 2>&1; then
gh release upload aravath-greybox aravath_greybox-windows.zip --clobber
gh release edit aravath-greybox --prerelease --target "$GITHUB_SHA" --notes "$notes"
else
gh release create aravath-greybox aravath_greybox-windows.zip \
--prerelease \
--target "$GITHUB_SHA" \
--title "Aravath greybox" \
--notes "$notes"
fi
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
with:
# Greybox tests open KayKit glTF buffers. An LFS pointer is ~130 bytes
# and the importer rejects it.
lfs: true

- name: Rust CI setup
uses: ./.github/actions/rust-ci-setup
Expand Down Expand Up @@ -205,6 +209,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
with:
# The archived tests load KayKit files from this checkout.
lfs: true

- name: Rust CI setup
uses: ./.github/actions/rust-ci-setup
Expand Down Expand Up @@ -323,6 +330,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
with:
lfs: true

- name: Rust CI setup
uses: ./.github/actions/rust-ci-setup
Expand Down
Loading
Loading