Repository navigation
fix: cap remaining image decodes and jail the last model and glTF holes - #316
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
97e73c0 to
fa5e8c8
Compare
…lient Covers #315. Every image::open and load_from_memory path uses the 4096-edge decoder, aw_asset_cli rejects escaping glTF URIs, and OllamaClient::new keeps only loopback URLs unless allowing_remote is used. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
fa5e8c8 to
68eb8f0
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 68eb8f020f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let path_part = uri.split('?').next().unwrap_or(uri); | ||
| astraweave_security::path::safe_under(base, Path::new(path_part)) |
There was a problem hiding this comment.
Validate the URI path that glTF imports
When Cook processes an untrusted model, this validates a different path from the one gltf::import opens: for example, %2e%2e%2fsecret.bin contains no ParentDir here but is URL-decoded by gltf 1.4 to ../secret.bin, while file:///etc/passwd looks relative to safe_under but is subsequently opened as an absolute file URI. Consequently, crafted buffer or image URIs still bypass the new jail and can read arbitrary accessible files; reject unsupported schemes and percent-decode the URI before validating the exact normalized path passed to the importer.
Useful? React with 👍 / 👎.
The rebase kept the security CLI's tokio dependency from main. The lock entry was still the pre-#316 list, so a locked build of that tool would not match its manifest. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
The rebase kept the security CLI's tokio dependency from main. The lock entry was still the pre-#316 list, so a locked build of that tool would not match its manifest. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
* feat(aravath): stand and dig on one voxel island The greybox spawns a kinematic body on a marching-cubes island, follows it with a third-person camera, and digs by rewriting voxels into a new trimesh. DualContouring now emits an edge vertex per crossed cell so the collider is a real surface. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): add the movement motor and the demo goals Sprint, jump, double jump, crouch, dodge rolls, and a fly toggle sit on one stamina pool. The demo goals doc records the open-world combat target without changing the original phase plan. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): add a single locomotion graph The graph follows the motor and samples astraweave-render animation clips. A one-joint stand-in clip covers the case with no authored glTF. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): add sword, shield, lock-on, and three enemies Swings damage only during the active window and only once. A stagger stops an enemy from closing in, and lock-on drops when that enemy dies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): place supported voxels and save the edit log Placement rejects floating samples. A supported edit round-trips through aw-save along with the player pose, and the edited bounds are marked dirty on the navmesh. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): stream a ring of mineable chunks around the player The demo world is a deterministic heightfield that loads chunks near the body and drops the ones left behind. Digging and placing still go through the same voxel grid. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): texture the ground with a CC0 Poly Haven albedo Rock Wall 02 is the borrowed diffuse map. The body, sword, shield, and enemies stay geometric primitives, and both choices are listed in the credits file. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs(aravath): record the Windows target check The MSVC librarian is not on this Linux VM, so the windows-msvc check stops in the C++ texture dependency. The greybox sources themselves do not call a Linux window system. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): replace box stand-ins with CC0 character, sword, shield, and enemies The player is the Quaternius rig. Kenney's sword and shield sit on the hand bones, and the three enemies are Kenney figurines instead of tinted copies of the player. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): drive character clips from movement and combat Idle, walk, run, sprint, crouch, jump, fly, roll, attack, block, hit, and death each sample a Quaternius clip. Enemies play the Kenney figurine's idle, walk, attack, and death clips. Alt walks. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): give the streamed world biomes, textures, and foliage Grass, dirt, stone, sand, and wood use Poly Haven albedo maps. Kenney trees, rocks, and bushes scatter by biome. The loaded ring is three chunks, with a daytime sky and fog sized for a GTX 1660. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * ci(aravath): build the greybox on windows-latest (#206) Add a workflow that release-builds aravath_greybox, runs the library tests, and uploads the exe with assets/aravath. It runs on cursor/aravath-* pushes and on pull requests. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): add a combat HUD and save feedback Health, stamina, the lock-on reticle, and the selected block are on screen. F5 and F9 save and load the edit log, and the HUD says when that worked. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): tighten air control and give enemies a leash Airborne movement keeps a fraction of run speed, and the demo captures the mouse on a closer camera. Enemies hold past 18 m, steer off each other, wind up before they swing, and step back while staggered. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs(aravath): note air control, mouse capture, and the enemy leash Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): harden the sim and light it with the engine Save and load keep the dug hole and the player. Death respawns at the opening spawn. Flight across a chunk edge stays finite, and a killing blow clears lock-on. The demo no longer pins the sun: time of day, cascaded shadows, volumetric fog, and light shafts run inside astraweave-render. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): log startup failures and skip volumetrics on demand The window is painted before shader compile, and a panic writes aravath_crash.log plus a Windows message box. Volumetric fog and light shafts are built only when enabled, and --no-volumetrics or aravath.cfg leaves them off. The Windows job smoke-tests the staged exe. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): import OsStrExt for the Windows loading paint Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): step the sim at a fixed 60 Hz Wall-clock frames were rounding into one to four steps and always stepped at least once, so a faster machine simulated faster. The window now accumulates frame time and spends 1/60 s ticks. Chunk unload order is sorted, saves store float bits, and a replay test compares state hashes across runs. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): lock the replay hash across machines Enable Rapier's enhanced-determinism feature and send sim sin, cos, atan2, sqrt, pow, and exp through libm. The sim crates refuse target-cpu=native and FMA. A Linux and Windows job compares the recorded replay to a checked-in golden hash. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(render): match WGSL uniform alignment for fog and the other shared structs FogDensityParams was 144 bytes against a 160-byte shader, which is the dispatch wgpu rejects on a real GPU. The padding matches PR #209. CascadeData, AtmosphereParams, and SimParams had the same vec3 gap. A layout test now checks every same-named uniform and storage struct. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * Add deterministic fate-scars and sample them in volumetric fog. Deaths write Q32.32 energy into a sparse BTreeMap in astraweave-veil. Each tick decays that surge onto a permanent floor. astraweave-ai reads the integer percept, and the Aravath demo steers enemies off strong scars and saves the field through aw-save. The existing froxel density pass samples a 32³ f32 volume by world position. There is no second fog pass. Cross-run hashes: field 0xb1cc29cc42401e83, stance 0x0eb14da1efc9e7b2. FogDensityParams and ScatterParams now match WGSL uniform alignment. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs(aravath): point demo fiction at the Aravath lore bible The greybox no longer treats docs/Veilweaver/lore_bible.md as its fiction source. Names and flavor are supposed to come from github.com/lazyxeon/Aravath-Lore. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): name the western hills from the internal lore brief Drop the private lore-repo link. The three foes use the brief's PLACEHOLDER names, blocks stay plain English, and the east road, forest greens, and golden horizon come from the existing sky, fog, and terrain materials. The golden replay hash is unchanged. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): bound untrusted saves and drop the greybox network stack Cap aw-save allocations before LZ4 and postcard, refuse symlinks and path-like player ids, and keep demo writes under the user data directory. Move reqwest and the net client onto rustls, turn off tokio's net feature in the greybox graph, and fail cargo-deny on new advisories. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * build(aravath): publish checksums, an SBOM, and optional Authenticode Build the Windows exe with the stripped dist profile, embed the asInvoker manifest, and skip signing unless a PFX or Azure Artifact Signing secrets are set. A rolling prerelease carries the zip, SHA-256 sums, and CycloneDX SBOM. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): let the Windows workflow start and leave signing unwired The release job asked for contents: write under a workflow that only granted read, so GitHub rejected the file before any job ran. Signing steps stay out of CI until a certificate option is chosen. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): retry advisory fetches and compile the Windows SDK harness cargo deny failed when the advisory clone did not prepare. The Windows SDK job called cl outside the Visual Studio environment. Coverage failed on a TextureAsset literal that omitted kind and tags. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): give cargo audit a fresh advisory database cargo deny clones the RustSec db into ~/.cargo/advisory-db. cargo audit then refuses to clone into that directory. Remove it before each attempt. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): check out the repo before publishing the Aravath release gh release create looks up the target commit and failed because the release job had no git checkout. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * test(aw-save): lock the postcard and lz4 save bytes The March 2026 .awsv files still decode. A fixed bundle's postcard bytes and lz4_flex 0.11 block bytes are pinned so a dependency bump cannot change the save format quietly. The Aravath edit log string is pinned too. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(deps): bump rustls 0.23 to 0.23.46 and record the 0.22 residuals RUSTSEC-2026-0346 through 0349 landed on 2026-10-14. 0.23.46 clears the reqwest line. rustls 0.22.4 in aw-net-server has no patched release, so 0346 and 0349 stay ignored with the existing webpki exceptions. postcard, lz4_flex, and time stay pinned. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(aravath): stop the black frame and the stuck mouse God-ray composite asked for read-write rgba16float storage, which needs TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES, and volumetric integrate bound a Depth32Float view as a filterable float. The profiler then copied into gpu_profiler_readback while it was still mapped, and the next mesh upload panicked in get_mapped_range. Composite now samples the scene and writes a separate texture before copying onto HDR. Integrate samples texture_depth_2d. The profiler skips a mapped readback, and mesh upload uses write_buffer. Windows grabs the cursor with Confined, look uses raw mouse motion, and Esc releases the grab. A lavapipe test submits two volumetrics frames and fails on any wgpu validation error. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): install libudev before the lavapipe volumetrics test The validation job compiled wgpu and then failed in libudev-sys because pkg-config could not find libudev. Install the same system libraries the determinism job uses, plus lavapipe. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(render): drop expect from the atmosphere composite The unwrap lint flags expect in production. Fog and light shafts are already gated by their enabled flags, so the composite takes the passes with if let. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): scatter KayKit forest props on the western hills The grass biome uses KayKit Forest Nature Pack trees, bushes, tufts, and rocks. Sand and rock ground keep the Kenney palms, pines, and rocks. The voxel heightfield is unchanged, and the replay hash stays the same. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): dress the greybox in the KayKit CC0 subset The knight, Rig_Medium clips, skeletons, block tiles, and scattered pickups render through the engine pipeline. The replay hash stays 9b607d1a840ecd64. Binaries under assets/aravath are Git LFS, and ASSET_MANIFEST.tsv records path, pack, license, and sha256. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aravath): report frame time against the 11 ms budget Settled streaming, seepage uploads, and repeat skinning reuse their buffers. --frame-times prints CPU sim-and-skin percentiles against the GTX 1660 Ti-class 11 ms budget. The play-input path is unchanged. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(veil): reject scar cell lists above 4096 before insert from_postcard on this branch bails when wire.cells is longer than MAX_SCAR_CELLS and does not call insert_loaded. The parser stays off main. The greybox replay hash is unchanged. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): stop the greybox gate, hash, and trace-sync failures Build scripts report refused CPU flags with cargo:error so clippy's panic lint stays quiet. glTF and text assets stay LF on Windows so the manifest hash matches. The trace map includes the veil runtime edges. openh264, steamworks, and lru stay on main's versions, and deny.toml matches main, so the advisory gate is not tightened by this branch. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): pin Aravath actions and declare read-only workflow tokens Scorecard flagged the two greybox workflows this branch added. Declare contents: read on the Windows workflow and pin checkout, rust-toolchain, rust-cache, and the artifact actions to commit SHAs. The release job keeps contents: write so gh can update the rolling prerelease. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): rustfmt the greybox Windows resource embed The gate on 14da7f6 failed fmt on aravath_runtime/build.rs after the cargo:error change. Match rustfmt so the next gate can pass that step. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(ci): fetch Git LFS in test jobs and keep joint-matrix capacity exact The PR test checkouts were reading KayKit glTF buffers as LFS pointers, so the greybox asset tests failed. compute_joint_matrices now reserves the joint count up front; amortized resize made a 3-joint pose look like a leak. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(test): generate beep wavs privately and probe depth textureLoad test_setup_all_assets writes the beep, music, and voice wavs into its own directory and checks each file is a RIFF wav. A shared tests/assets tree was deleted by another test before the existence check. The three volumetrics tests ask the device whether textureLoad on a depth texture compiles. GL rejects that load, so those tests log the reason and return. Lavapipe still builds the pass and submits both frames. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(lock): record aw_asset_cli's tokio dependency The rebase kept the security CLI's tokio dependency from main. The lock entry was still the pre-#316 list, so a locked build of that tool would not match its manifest. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * fix(docs): restore veil runtime edges after the weaving rebase aw_trace_sync keeps the #252 weaving map and adds the veil links to astraweave-ai and aravath_runtime. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
* docs: correct engine status against main at d6b07fc The README and the status, build, and architecture pages it advertises still described the June 2026 snapshot. Record 139 workspace members, thirty traces, the ten required replay cases, and the systems that landed with nav reroute, the Aravath bridge, security caps, the decision inspector, causality, Rhai mods, destruction, and the slice QA replay. Label greybox, weaving, traversal, local fluids, the frame budget, and CI as in progress. State the 11 ms GTX 1660 Ti target as unmeasured. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * feat(aw_doc_lint): fail the front door when status claims drift Vocabulary matches stay in warn mode. The process now always fails if README drops a required replay case, calls the 11 ms frame budget measured, marks an open pull as shipped, or if player-facing docs use the retired game title. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: record #316 image, glTF, and Ollama caps Rebase onto main at 3971cbe, which includes #316 and the later #318 script tick fix. Image decode is capped at a 4096 edge and 64 MiB, aw_asset_cli jails glTF file URIs, and Ollama constructors stay on loopback unless allowing_remote is used. Gameplay scripts do not receive physics or nav proxies. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: scripting demos no longer call physics or nav advanced_ai.rhai now uses distance for sight and an empty patrol path. scripting_playground keeps trigger damage and drops the player raycast. The hosts still insert the resources. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: weaving is on main and is the eleventh replay case Rebase onto 5cba174. #252 is no longer listed as in progress. The required set is eleven cases, including weaving, which hashes NullField until the local sim in #253. Workspace members are 140. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: the Aravath greybox is on main Rebase onto cdea968. #205 is the windowed aravath_greybox demo: CC0 KayKit characters, a streamed three-chunk world, and sword combat. Its replay hash is Linux and Windows only, not the eleven-case gate. Workspace members are 141, including astraweave-veil. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: the claimed lockfile bumps were not applied ARAVATH_DISTRIBUTION.md listed patched crate versions that Cargo.lock does not contain. Record the locked versions, the tokio-rustls 0.25 and openh264 ^0.6 pins, and issues #303 and #305-#311. The lockfile is unchanged. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: traversal is on main with two replay cases Rebase onto a10780f. Required cases are thirteen, adding traversal and traversal_deformed. The greybox golden is b663da52ea1d566e and stays a Linux-and-Windows hash, not one of those thirteen. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: deny and audit pass after the supply-chain bumps Rebase onto 8e5dd73. Record the locked patched versions, the ignored advisories in #305-#311 and #320-#324, and the greybox tokio net edge still tracked by #326. Cargo.lock is unchanged. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * docs: fifteen replay cases after terrain columns landed #215 is on main at d0452d3. The compare job requires worldgen_columns and deformed_chunk beside the previous thirteen. The greybox golden stays the island heightfield hash. Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com> * 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> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Andrew Brown <lazyxeon@users.noreply.github.com>
Description
Closes the leftovers filed in #315 after #312. One shared decoder, one glTF jail, one loopback constructor. Replay hashes of the eight required cases are unchanged locally.
combat_resolveis still975aae72e3c83a2335be05142eea2bf2ae4413d621fc5009ed6019f89e2a6e52.image::openorimage::load_from_memorynow go throughopen_limited_image/decode_limited_image(4096-pixel edge, 64 MiB allocation). That includes render, the editor, blend texture import, the asset CLI, and the two examples that decoded images. Proof:open_limited_image_rejects_a_wide_png.aw_asset_clirunssafe_underon glTF buffer and image file URIs beforegltf::import. Proof:cli_gltf_buffer_parent_uri_is_rejected.OllamaClient::newrewrites a non-loopback URL tohttp://127.0.0.1:11434.allowing_remotekeeps the caller URL. Proof:ollama_generate_client_keeps_only_loopback_urls.Does not merge.
Type of change
Security Considerations
fluids_demodepends on the existingastraweave-assetcrate.aw_asset_clidepends on the existingastraweave-securitycrate.OllamaClientURL is rewritten unless the caller opts in.OllamaClient::newno longer keeps a remote URL.allowing_remoteis the opt-in.Checklist
cargo fmt --allwas run.cargo clippy -p astraweave-asset --no-deps --lib -- -D warningspassed. Callers in render, the editor, blend,aw_asset_cli,fluids_demo, andvisual_3dwerecargo checked.