Skip to content

Campaign/fluids f1 - #192

Merged
lazyxeon merged 11 commits into
mainfrom
campaign/fluids-f1
Jun 18, 2026
Merged

lazyxeon merged 11 commits into
mainfrom
campaign/fluids-f1

Conversation

@lazyxeon

Copy link
Copy Markdown
Owner

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Security enhancement

Security Considerations

  • Does this PR introduce new dependencies? If yes, have they been vetted for security issues?
  • Does this PR modify how user input is handled? If yes, has it been validated/sanitized?
  • Does this PR change authentication or authorization mechanisms?
  • Does this PR access sensitive data or modify how it's stored?
  • Does this PR introduce new network communication or modify existing protocols?

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have run security checks (cargo audit, cargo deny) locally

lazyxeon and others added 11 commits June 11, 2026 16:24
…liverable)

Audited at 8e1505d. Gate decisions: Path B; Q1 determinism carve-out
accepted; Q3 solver consolidation authorized; Option 1 ping-pong repair
pre-endorsed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…irst GPU-execution tests

WI-1 (Must-Fix #1): delete the vestigial ping-pong. The shader only ever
mutated binding 0 in place; the empty second buffer + per-frame bind-group
swap simulated two divergent half-rate particle states with the renderer
handed the stale one. Single particle buffer + single bind group;
get_particle_buffer now returns the one true state.

WI-2 (Must-Fix #2): despawn made real. particle_flags is now bound
(group 1 binding 1, read-only); every kernel early-outs on flag==0;
build_grid never inserts inactive particles into the neighbor grid;
despawned particles are parked at y=-10000.

WI-3 (Must-Fix #3): race-free density-error readback. map_async is only
issued for buffers whose copy was already submitted (StagingState machine,
pumped at the start of each step). Two-frame-lag adaptive iterations are
the documented, defined semantics. step()'s submit-before-next-step
contract documented.

WI-5 (Must-Fix #9): tests/gpu_execution_tests.rs — the first tests ever to
construct and step a GPU solver: smoke, 120-frame containment invariant,
300-frame settling envelope (empirical thresholds recorded), despawn
honesty, and a visible-state-advances-every-frame regression guard for the
ping-pong class. Loud skip on headless machines.

Pre-existing SDF defects found by the new tests (FluidSystem::step had
NEVER successfully executed on any device — each was a hard validation
error or field-poisoning bug):
- JfaParams WGSL struct was 32 bytes (vec3<u32> alignment) vs 16-byte host
  buffer -> validation failure on every JFA dispatch
- step() passes bound only a subset of the 4 pipeline-layout bind groups
  -> validation failure on every dispatch
- JFA ping-pong read the wrong texture first (destroying the seed) and
  finalized into texture B while the fluid shader samples texture A
- SDF init looped all 128 fixed-size buffer entries; zeroed entries decode
  as "distance 0" seeding every voxel as inside-an-object; object_count now
  plumbed through SdfConfig + SimParams (replacing the hardcoded 0)
- generate() dispatched res/8 z-workgroups against a (8,8,4) workgroup ->
  upper half of the SDF volume never written

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DELETED (vapor):
- unified_solver.rs (982 LoC): UnifiedSolver::step was a no-op frame
  counter sold as the flagship root re-export; its entire config surface
  was execution-dead. Root re-export removed.
- SolverType::DFSPH / IISPH variants (research.rs): no solver loop existed
  for either. Quality tiers High/Ultra/Research remapped to PCISPH. CPU
  building blocks remain in simd_ops (tested, dormant).
- src/shaders/viscosity_morris.wgsl (644 LoC orphan, no include_str!
  consumer); phantom viscosity_implicit.wgsl doc references corrected.
- Phantom ResearchFluidSystem doc references (the type never existed).

GATED behind new `experimental` feature (dormant-real, tests preserved):
- pcisph_system, multi_phase, warm_start, particle_shifting, turbulence,
  viscosity_gpu. PCISPH header corrected to state the fixed-iteration
  reality (no convergence check exists) and the empirical delta fudge.

HONESTY FIXES (validation.rs):
- ReferenceData::load_csv now actually parses CSV (was: ignored the path,
  returned Ok(default) - fake success). Tests added.
- ValidationMetrics::compute divergence fields now NaN with documented
  semantics (was: silently 0.0 = "perfect"). Test added.

Also WI-7.1: the decorative `serde` feature removed - it gated zero cfg
sites while five modules used serde unconditionally, so
--no-default-features could not compile. serde is now an unconditional
dependency; all five feature matrices compile.

Tests: 2,259 passing (default), 2,448 passing (--features experimental).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ygiene, doc corrections

WI-6 (instrumentation + first-ever recorded fluids baselines):
- Per-pass GPU timestamp instrumentation on FluidSystem::step
  (enable_gpu_timing / read_gpu_timings, 7 spans incl. an SDF bracket via
  SdfSystem::generate_timed); span-edge handling fixed for multi-pass spans.
- New benches/fluid_baselines.rs measuring PRODUCTION code: voxel grid
  32^3/64^3/128^3 + FluidSystem::step 10k/20k/50k + per-pass breakdown.
- MASTER_BENCHMARK_REPORT v5.58: first fluids entries. Headlines: PBD
  iterations dominate (68-76%); 2ms GPU budget unachievable at 8 iterations
  on min-spec class (10k = 4.9ms GPU); voxel sparsity mandatory for F.3
  (64^3 dense = 13.8ms/tick); SDF caching = leading optimization candidate
  (deferred per brief).
- GPU tests serialized via static mutex (5 concurrent wgpu devices distort
  the timing-coupled adaptive iterations; flake observed and fixed).

WI-7 (hygiene + doc-correction batch):
- Demo: orphan scenarios/{splash,waterfall}.rs deleted; dead UI removed
  (right-drag force, target_particle_count quality buttons, show_foam, all
  settable-but-never-read); viscosity slider honestly relabeled (it scales
  vorticity confinement); pressure_multiplier writes dropped.
- Dead SimParams.pressure_multiplier uniform removed from Rust + WGSL (no
  kernel ever read it; PBF has no pressure stiffness).
- FluidRenderer production-path DEBUG println!s stripped.
- docs/architecture/fluids.md v1.3: new section 0 (F.0 corrections incl.
  phantom ResearchFluidSystem + 9th orphan shader; F.1 deltas; binding
  determinism carve-out policy); invariants 21-23 rewritten (the old
  "ping-pong" invariant described a defect); section 11 closures; revision
  history.
- docs/architecture/net.md: fluids determinism carve-out note.
- docs/src/api/fluids.md: rewritten honestly (was 261 lines documenting
  >=13 nonexistent types from the 28bc94f wiki sweep).
- FLUIDS_MUTATION_TESTING_REPORT.md: staleness banner (re-run queued).
- CLAUDE.md: phantom character_controller.rs path corrected.
- render trace: phantom "fluids -> water.rs" upstream row corrected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
All WIs complete; verification gate fully green. Headline: the first
GPU-execution tests proved FluidSystem::step had never successfully run on
any device - five blocking SDF/bind-group defects fixed beyond the three
audited Must-Fix items. Net -614 LoC. First fluids baselines recorded
(MASTER_BENCHMARK_REPORT v5.58).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…cted on any device

Owner''s demo launch hit a startup panic: the SSFR depth layout declared the
camera uniform VERTEX-only while fs_main reads it for sphere-depth
reconstruction. Full four-pipeline audit found one more latent panic behind
it: ssfr_shade.wgsl sampled the depth texture with a Filtering sampler
(statically rejected by wgpu). Both fixed; everything else in the renderer
cross-checked clean (struct sizes, binding types, formats, vertex layouts).

12s demo run post-fix: empty stderr, zero validation errors, zero panics.

Coverage gap closed: gpu_renderer_smoke constructs FluidRenderer headless
(offscreen target, no surface - confirming no structural blocker for F.4
draw_into integration) and renders a full frame against a live FluidSystem
under explicit validation error scopes. Fails pre-fix, passes post-fix.

F1_EXECUTION_REPORT.md -> v1.1 with the addendum, including the honest
correction: v1.0''s "demo should now actually run" was wrong - this render
panic, not the compute defects, was the first blocker on every launch, and
the gate''s built-not-run demo evidence plus the solver-only test suite let
it through.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…nput, never-rendered skybox/ocean, oblong impostors

Every owner symptom traced to a specific never-worked defect:
- Resize crash: resize() recreated depth_texture but not depth_view (stale
  startup-sized view) and never recreated scene_texture. Both fixed; frame-
  start debug assertions name the class at its source.
- Scenario crash (distinct defect): OceanRenderer Uniforms packed 144B vs
  WGSL 160B (vec2 alignment + struct round-up - the JfaParams family).
  The ocean scenario had never rendered a frame. Explicit-pad host mirror.
- Abort cascade: catch_unwind around frame encode; controlled SurfaceTexture
  drop; one clean FATAL line (verified by a real panic, exit 1, no cascade).
- Dead left-click: never-could-work - spawn_particles draws only from the
  despawn free-list, which reset_particles never populates. Lab init now
  reserves+despawns a 2000-particle pool. Verified: Spawned 50/50.
- "Playdough"/black void: the background was drawn only into scene_texture
  (never the swapchain), and the skybox had NEVER rendered anywhere - its
  sphere radius (1500) exceeded the camera far plane (100), clipping every
  triangle since the day it was written. Background now renders to the
  swapchain and is copied into scene_texture as the true refraction source;
  skybox radius 50.
- "Oblong spheres": billboard expansion used the right-axis projected radius
  for both NDC axes -> aspect-ratio stretch. Per-axis radii in
  ssfr_depth.wgsl; capture-verified circular at 4:3, 16:9, 11:7.
- "Spheres, not fluid": H-6a render hypothesis rejected (smooth IS consumed;
  captures show fused blobs). Sim-state defects fixed demo-side: viscosity
  40 (F.1-measured explosion regime) -> 0.5; target_density 10 vs achievable
  ~3.85 -> 4.2; pillar dam -> wide low block. Remainder (calm pooled basin)
  is solver-side - XSPH hardcoded 0.01 in fluid.wgsl - reported to F.4 per
  the no-solver-changes scope wall.

Permanent capture infra: F12 + --capture-frames PNG readback,
--exercise scripted gate driver (resize/switch/click/exit-0),
--surface-tension override. ST 0.0-vs-0.9 pair shows the slider working
(fine droplets vs large coalesced blobs).

Gate: exercise exit 0 with zero validation errors; tests 2,259/2,448 green;
fluids clippy -D warnings clean; demo warnings fixed. Report -> v1.2.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…pass

Evidence-discipline correction recorded: v1.2 closed click-spawn on a CPU
log line (free-list bookkeeping). New standing rule: log counters are never
sufficient evidence for interactive/visual features - captures or GPU
readback only.

H-1 (respawn): hypotheses 1-3 REJECTED by a new GPU readback test
(gpu_respawn_reactivates_particles) that passed against pre-fix code -
crate-level respawn was never broken (flags flip, writes land, particles
fall). Root cause was demo-side invisibility: Particle.color is never
sampled by the SSFR pipeline (one uniform water material), so bursts
materializing inside 18k identical particles were pixel-indistinguishable.
Fixes: bursts spawn +10 above the foam and fall in visibly; sky-miss ray
fallback (clicks always respond); spawn distance capped for screen-scale
legibility; ocean-mode clicks show an on-screen "Laboratory-only" notice
instead of silently draining the pool; pool-exhausted notice; help text.
Capture pairs at two window sizes prove appear-then-fall.

H-2 (ocean, its first-ever evaluation): two defects fixed, one check clean:
- "Neon": Godot-port sRGB-authored constants written raw to the sRGB target
  (double-encoding). srgb_to_linear() applied.
- "Gelatin": generated normal maps were degenerate by construction
  (constant 128,128 + noisy z -> flat/flipped normals; perturbation inert).
  Real tangent-space normals from height-field finite differences now.
- Blend/depth/order: clean. Fresnel hypothesis self-corrected (ocean_pos
  carries the camera position). 7 dead uniforms + no-specular/reflection ->
  TUNING ledger (L8-L11) for F.4.

Gate: 7 GPU tests green both matrices; clippy clean; scope wall held.
Report -> v1.3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…tness diagnosis - chain closure

H-1: spawn AT the cursor, period. The F.1.3 +10 lift and 30-unit cap
(visibility workarounds) removed per owner rejection; sky-aimed ray
fallback kept. Accepted consequence documented in code: until F.4 per-
particle color, a burst into dense fluid reads as displacement only.
Crosshair-verified at two click locations and two window sizes
(temporary marker removed after verification per brief).

H-2: ocean reaches the horizon. Diagnosis: BOTH limits - zfar=100 (the
F.1.2 skybox finding ancestor) clipped first, mesh ended at +/-125.
Coherent fix: zfar 1500; skybox radius re-sized relative to it (1200,
comment warns it must stay inside the far plane); ocean tiles 160
(+/-400) + horizon fog blending far water into sky haze. Three-pitch
captures show water meeting the horizon with no cutoff or edge; lab
unaffected; no z-fighting. Tile-seam heuristic (tuned for 50-unit
tiles) faintly visible at steep pitch - ledgered, deleted wholesale if
F.4 chooses convergence.

H-3: flatness diagnosed, nothing implemented. Geometry flattens beyond
85 units by design; the only view-dependent term is a fresnel mixing
two similar blues; specular/sky-reflection/depth-fade/BRDF absent and
map 1:1 onto the seven dead uniforms. F.4 strategic question written:
extend the Godot-port shader vs converge onto the engine WaterRenderer
(recommendation: converge).

H-4: chain closed. Defect tally F.0->F.1.4: 6 never-executed, 8 never-
wired, 4 never-seen, 3 evidence-discipline corrections. Demo declared
honest baseline; consolidated F.4 ledger in priority order. Branch
ready for merge review; next campaign action is the F.2 gate - no
further demo work without an owner gate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Introduced `install_qwen_instruct.ps1` to automate the installation of the AstraWeave local Qwen LLM.
- Added parameter support for model selection and an option to skip profile creation.
- Implemented a command check for the required `ollama` command.
- Included logic to pull the specified model and create Ollama profiles from predefined modelfiles.
- Enhanced error handling for missing modelfiles.
…urity findings

- Introduced D.1.B Execution Report detailing the long-tail corrections and closed-vocabulary sweep, including a comprehensive analysis of edits, fan-out actions, and verification processes.
- Added D.1.C Execution Report certifying the closed-vocabulary class cleanliness after a bounded certification pass, with a detailed reconciliation of occurrences and actions taken.
- Created S0 Findings Seed to document security findings identified during the Documentation Truth campaign, outlining claims, file references, and dispositions for future remediation.
Copilot AI review requested due to automatic review settings June 18, 2026 23:55
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 251 files, which is 101 over the limit of 150.

To get a review, narrow the scope:
• coderabbit review --type committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 890bc0bf-0256-4877-94eb-de9a63a543b5

📥 Commits

Reviewing files that changed from the base of the PR and between 8e1505d and a9f6a84.

⛔ Files ignored due to path filters (2)
  • .claude/scheduled_tasks.lock is excluded by !**/*.lock
  • docs/src/assets/og-image.svg is excluded by !**/*.svg
📒 Files selected for processing (251)
  • .github/CI_README.md
  • .github/copilot-instructions.md
  • .github/workflows/benchmark-dashboard.yml
  • .github/workflows/docs.yml
  • .zencoder/chats/8d391d61-ea96-4b7e-8595-9406b2e34960/spec.md
  • .zencoder/chats/fd10dfb9-9c69-48ed-8473-5073acd4f1e8/plan.md
  • .zencoder/chats/fd10dfb9-9c69-48ed-8473-5073acd4f1e8/spec.md
  • .zencoder/rules/repo.md
  • CHANGELOG.md
  • CLAUDE.md
  • CONTRIBUTING.md
  • README.md
  • assets/README.md
  • astraweave-ai/README.md
  • astraweave-ai/tests/AI_NATIVE_TESTS_README.md
  • astraweave-ai/tests/arbiter_tests.rs
  • astraweave-context/Cargo.toml
  • astraweave-ecs/README.md
  • astraweave-embeddings/Cargo.toml
  • astraweave-fluids/Cargo.toml
  • astraweave-fluids/README.md
  • astraweave-fluids/benches/fluid_baselines.rs
  • astraweave-fluids/shaders/fluid.wgsl
  • astraweave-fluids/shaders/sdf_gen.wgsl
  • astraweave-fluids/shaders/ssfr_depth.wgsl
  • astraweave-fluids/shaders/ssfr_shade.wgsl
  • astraweave-fluids/src/lib.rs
  • astraweave-fluids/src/pcisph_system.rs
  • astraweave-fluids/src/renderer.rs
  • astraweave-fluids/src/research.rs
  • astraweave-fluids/src/sdf.rs
  • astraweave-fluids/src/shaders/viscosity_morris.wgsl
  • astraweave-fluids/src/unified_solver.rs
  • astraweave-fluids/src/validation.rs
  • astraweave-fluids/src/viscosity.rs
  • astraweave-fluids/src/viscosity_gpu.rs
  • astraweave-fluids/src/warm_start.rs
  • astraweave-fluids/tests/gpu_execution_tests.rs
  • astraweave-gameplay/README.md
  • astraweave-llm/examples/batch_production_validation.rs
  • astraweave-llm/src/lib.rs
  • astraweave-llm/src/qwen3_ollama.rs
  • astraweave-llm/tests/advanced_features_test.rs
  • astraweave-llm/tests/phase7_integration_tests.rs
  • astraweave-physics/README.md
  • astraweave-prompts/Cargo.toml
  • astraweave-rag/Cargo.toml
  • astraweave-render/src/impostor_pass.rs
  • crates/astraweave-blend/Cargo.toml
  • crates/astraweave-blend/README.md
  • crates/astraweave-blend/TESTING.md
  • docs/README.md
  • docs/_audit/session-2-progress.md
  • docs/architecture/ARCHITECTURE_MAP.md
  • docs/architecture/ai_pipeline.md
  • docs/architecture/aw_editor.md
  • docs/architecture/fluids.md
  • docs/architecture/net.md
  • docs/architecture/net_ecs.md
  • docs/architecture/render_pipeline_material_system_shader_infrastructure.md
  • docs/architecture/workspace_map.html
  • docs/audits/COMPETITIVE_ANALYSIS_SUMMARY.md
  • docs/audits/COMPETITIVE_MATRIX.md
  • docs/audits/COMPREHENSIVE_AUDIT_REPORT.md
  • docs/audits/DOCUMENTATION_AUDIT_REPORT.md
  • docs/audits/DOCUMENTATION_AUDIT_SUMMARY.md
  • docs/audits/EXTERNAL_RESEARCH_COMPETITIVE_ANALYSIS.md
  • docs/audits/EXTERNAL_RESEARCH_INDEX.md
  • docs/audits/GAP_ANALYSIS_ACTION_PLAN.md
  • docs/audits/GEMINI_VERIFICATION_REPORT.md
  • docs/audits/PHYSICS_SYSTEM_AUDIT_REPORT.md
  • docs/audits/PRODUCTION_READINESS_AUDIT_JAN_2026.md
  • docs/audits/SECURITY_REMEDIATION_REPORT.md
  • docs/audits/TEST_SUITE_COMPREHENSIVE_AUDIT.md
  • docs/benchmarks/index.html
  • docs/book.toml
  • docs/campaigns/doc-truth/CLAIMS_ARCHAEOLOGY_FRAMEWORK.md
  • docs/campaigns/doc-truth/CLAIMS_REGISTRY.md
  • docs/campaigns/doc-truth/CLOSED_VOCABULARY_ALLOWLIST.md
  • docs/campaigns/doc-truth/CLOSED_VOCABULARY_LINT.md
  • docs/campaigns/doc-truth/CLOSED_VOCABULARY_OCCURRENCES.md
  • docs/campaigns/doc-truth/CLOSED_VOCABULARY_TRIAGE.md
  • docs/campaigns/doc-truth/D01_GAP_INVENTORY.md
  • docs/campaigns/doc-truth/D0_CLAIMS_INVENTORY.md
  • docs/campaigns/doc-truth/D1A_EXECUTION_REPORT.md
  • docs/campaigns/doc-truth/D1B_EXECUTION_REPORT.md
  • docs/campaigns/doc-truth/D1C_EXECUTION_REPORT.md
  • docs/campaigns/fluids-integration/F0_GROUND_TRUTH_AUDIT.md
  • docs/campaigns/fluids-integration/F1_EXECUTION_REPORT.md
  • docs/campaigns/security/S0_FINDINGS_SEED.md
  • docs/configuration/environment-variables.md
  • docs/configuration/feature-flags.md
  • docs/current/ARCHITECTURE_REFERENCE.md
  • docs/current/ASSET_CLEANUP_REPORT.md
  • docs/current/ASTRACT_GIZMO_IMPLEMENTATION_PLAN.md
  • docs/current/AW_EDITOR_AUTHORING_PLAN.md
  • docs/current/AW_EDITOR_CORRECTNESS_AUDIT_REPORT.md
  • docs/current/AW_EDITOR_RECOVERY_ROADMAP.md
  • docs/current/BENCHMARKING_PHILOSOPHY.md
  • docs/current/BENCHMARK_PRODUCTION_AUDIT_REPORT.md
  • docs/current/BEVY_RENDERER_INTEGRATION_MASTER_PLAN.md
  • docs/current/BULLETPROOF_VALIDATION_PLAN.md
  • docs/current/CLAUDE_MD_HARDENING_PROPOSAL.md
  • docs/current/CODEBASE_AUDIT_REMEDIATION_REPORT.md
  • docs/current/COVERAGE_BASELINE_REPORT.md
  • docs/current/DOCUMENTATION_UPDATE_2026_01_13.md
  • docs/current/EDITOR_BASELINE.md
  • docs/current/EDITOR_RUNTIME_VALIDATION.md
  • docs/current/EDITOR_STATUS_REPORT.md
  • docs/current/EDITOR_TEST_STRATEGY_REPORT.md
  • docs/current/FLUIDS_MUTATION_TESTING_REPORT.md
  • docs/current/FLUIDS_RESEARCH_GRADE_ENHANCEMENT_PLAN.md
  • docs/current/GITHUB_PAGES_PRODUCTION_PLAN.md
  • docs/current/IMPLEMENTATION_PLANS_INDEX.md
  • docs/current/INSTRUCTIONS_REFACTOR_AUDIT.md
  • docs/current/KANI_VERIFICATION_PLAN.md
  • docs/current/KNOWN_ISSUES.md
  • docs/current/MASTER_BENCHMARK_REPORT.md
  • docs/current/MASTER_COVERAGE_REPORT.md
  • docs/current/MIRI_VALIDATION_REPORT.md
  • docs/current/PERFORMANCE_BUDGET_ANALYSIS.md
  • docs/current/PHASE_8_MASTER_INTEGRATION_PLAN.md
  • docs/current/PHASE_8_PRIORITY_1_UI_PLAN.md
  • docs/current/PHASE_8_PRIORITY_3_SAVE_LOAD_PLAN.md
  • docs/current/PHASE_8_PRIORITY_4_AUDIO_PLAN.md
  • docs/current/PROJECT_STATUS.md
  • docs/current/QWEN3_BENCHMARK_REPORT.md
  • docs/current/QWEN3_MIGRATION_PLAN.md
  • docs/current/RENDERER_DEEP_ANALYSIS_AND_MEGALIGHTS_PLAN.md
  • docs/current/RENDERER_MASTER_IMPLEMENTATION_PLAN.md
  • docs/current/RENDERING_FIX_IMPLEMENTATION_PLAN.md
  • docs/current/RENDERING_GAPS_ANALYSIS_AND_FIX_PLAN.md
  • docs/current/RENDERING_INFRASTRUCTURE_AUDIT.md
  • docs/current/RENDERING_REMEDIATION_PLAN.md
  • docs/current/RENDERING_UPGRADE_PLAN.md
  • docs/current/SECURITY_AUDIT_AND_HARDENING_PLAN.md
  • docs/current/SHADER_AUDIT_REPORT.md
  • docs/current/VEILWEAVER_VERTICAL_SLICE_ANALYSIS.md
  • docs/current/WORLD_CLASS_EDITOR_BENCHMARK_RESEARCH.md
  • docs/guides/ANIMATION_PANEL_GUIDE.md
  • docs/guides/GRAPH_PANEL_GUIDE.md
  • docs/guides/networking_envelopes.md
  • docs/journey/daily/BENCHMARK_DASHBOARD_ONE_COMMAND_IMPLEMENTATION.md
  • docs/journey/weeks/WEEK_4_ACHIEVEMENT_SUMMARY.md
  • docs/journey/weeks/WEEK_4_FINAL_SUMMARY.md
  • docs/lessons/WHAT_DIDNT.md
  • docs/lessons/WHAT_WORKED.md
  • docs/masters/MASTER_BENCHMARK_REPORT.md
  • docs/masters/MASTER_ROADMAP.md
  • docs/pbr/PBR_D_COMPLETION_SUMMARY.md
  • docs/pbr/PBR_D_EXECUTIVE_SUMMARY.md
  • docs/pbr/PBR_D_FINAL_SUMMARY.md
  • docs/pbr/PBR_D_QUICK_SUMMARY.md
  • docs/pbr/PBR_D_VALIDATION_REPORT.md
  • docs/pbr/PBR_E_COMPLETE_INTEGRATION_TESTING_SUMMARY.md
  • docs/pbr/PBR_E_IMPLEMENTATION_SUMMARY.md
  • docs/pbr/PBR_E_INTEGRATION_COMPLETE.md
  • docs/pbr/PBR_F_COMPLETION_SUMMARY.md
  • docs/pbr/PBR_F_DESIGN.md
  • docs/pbr/PBR_F_QUICK_REFERENCE.md
  • docs/pbr/PBR_F_TASK5_INTEGRATION.md
  • docs/pbr/PBR_G_GPU_HOT_RELOAD_COMPLETE.md
  • docs/pbr/PBR_G_MATERIAL_REGISTRATION_COMPLETE.md
  • docs/pbr/PBR_G_OPTION_B_SESSION_SUMMARY.md
  • docs/pbr/PBR_G_PRODUCTION_OPTIMIZATION_SUMMARY.md
  • docs/pbr/PBR_G_TASK1_COMPLETION.md
  • docs/pbr/PBR_G_TASK2.1_COMPLETION.md
  • docs/pbr/PBR_G_TASK2.2_COMPLETION.md
  • docs/pbr/PBR_G_TASK2.4_COMPLETION.md
  • docs/pbr/PBR_G_TASK5_CI_INTEGRATION_GUIDE.md
  • docs/pbr/PBR_G_TASK5_COMPLETION.md
  • docs/reference/Interfaces.md
  • docs/scripts/generate-sitemap.sh
  • docs/src/404.md
  • docs/src/README.md
  • docs/src/api/fluids.md
  • docs/src/api/index.md
  • docs/src/architecture/overview.md
  • docs/src/core-systems/ai/arbiter.md
  • docs/src/core-systems/ai/index.md
  • docs/src/core-systems/audio.md
  • docs/src/core-systems/fluids.md
  • docs/src/core-systems/input.md
  • docs/src/core-systems/networking.md
  • docs/src/core-systems/physics.md
  • docs/src/examples/troubleshooting.md
  • docs/src/getting-started/installation.md
  • docs/src/getting-started/quick-start.md
  • docs/src/resources/faq.md
  • docs/src/resources/roadmap.md
  • docs/src/resources/troubleshooting.md
  • docs/src/robots.txt
  • docs/theme/head.hbs
  • examples/fluids_demo/captures/.gitignore
  • examples/fluids_demo/src/main.rs
  • examples/fluids_demo/src/ocean.wgsl
  • examples/fluids_demo/src/ocean_renderer.rs
  • examples/fluids_demo/src/scenarios/laboratory.rs
  • examples/fluids_demo/src/scenarios/mod.rs
  • examples/fluids_demo/src/scenarios/splash.rs
  • examples/fluids_demo/src/scenarios/waterfall.rs
  • examples/fluids_demo/src/skybox_renderer.rs
  • examples/hello_companion/README.md
  • examples/hello_companion/src/main.rs
  • examples/hello_companion/src/scene.rs
  • examples/hello_companion/src/visual_demo.rs
  • examples/llm_integration/src/main.rs
  • examples/llm_modelfiles/Modelfile.qwen3-fast
  • examples/llm_modelfiles/Modelfile.qwen3-game
  • examples/llm_modelfiles/Modelfile.qwen3-strategic
  • examples/llm_streaming_demo/src/main.rs
  • examples/ollama_probe/src/main.rs
  • examples/phi3_demo/README.md
  • gh-pages/ai.md
  • gh-pages/architecture.md
  • gh-pages/crates.md
  • gh-pages/ecs.md
  • gh-pages/gameplay.md
  • gh-pages/index.html
  • gh-pages/index.md
  • gh-pages/physics.md
  • gh-pages/setup.md
  • net/README.md
  • scripts/bootstrap.sh
  • scripts/check_benchmark_thresholds.ps1
  • scripts/install_qwen_instruct.ps1
  • tools/ASSET_SIGNING_DESIGN.md
  • tools/astraweave-assets/ENHANCEMENT_PLAN.md
  • tools/astraweave-assets/FINAL_SESSION_SUMMARY.md
  • tools/astraweave-assets/MULTI_SOURCE_ASSET_PIPELINE_COMPLETE.md
  • tools/astraweave-assets/NEXT_STEPS.md
  • tools/astraweave-assets/OVERALL_COMPLETION_SUMMARY.md
  • tools/astraweave-assets/PHASE_1_KENNEY_COMPLETE.md
  • tools/astraweave-assets/PHASE_2_ITCHIO_COMPLETE.md
  • tools/astraweave-assets/PHASE_4_PARALLEL_COMPLETE.md
  • tools/astraweave-assets/PHASE_5_INTEGRATION_TESTS_COMPLETE.md
  • tools/astraweave-assets/README.md
  • tools/aw_editor/ARCHITECTURAL_AUDIT_REPORT.md
  • tools/aw_editor/CODE_QUALITY_STATUS.md
  • tools/aw_editor/EDITOR_ROADMAP_TO_WORLD_CLASS.md
  • tools/aw_editor/GAP_ANALYSIS_AND_REMEDIATION_PLAN.md
  • tools/aw_editor/PHASE_2_COMPLETION_SUMMARY.md
  • tools/aw_editor/PHASE_3_1_ASSET_BROWSER.md
  • tools/aw_editor/PHASE_3_IMPLEMENTATION_PLAN.md
  • tools/aw_editor/PHASE_3_SESSION_1_COMPLETE.md
  • tools/aw_editor/SESSION_SUMMARY_PHASE_4_COMPLETE.md
  • tools/aw_editor/VIEWPORT_ENHANCEMENT_COMPLETE.md
  • tools/aw_editor/WORLD_CLASS_EDITOR_PLAN.md
  • tools/benchmark-dashboard/QUICK_START.md
  • tools/benchmark-dashboard/README.md
  • tools/benchmark-dashboard/dashboard.js

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch campaign/fluids-f1

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lazyxeon
lazyxeon merged commit 0f21fe3 into main Jun 18, 2026
35 of 54 checks passed
@lazyxeon
lazyxeon deleted the campaign/fluids-f1 branch June 18, 2026 23:56

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a9f6a84a14

ℹ️ 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".

Comment on lines +92 to +95
println!(
" 2. Pull Qwen: ollama pull {}",
DEFAULT_QWEN_INSTRUCT_MODEL
);

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 Gate Qwen default prints behind ollama feature

When llm_integration is built without the ollama feature, this summary block still compiles after the #[cfg(not(feature = "ollama"))] skip path, but DEFAULT_QWEN_INSTRUCT_MODEL is only imported under #[cfg(feature = "ollama")]. That makes the default cargo run -p llm_integration / all-target example checks fail; either make the default model string available without the feature or cfg-gate this print block.

Useful? React with 👍 / 👎.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR primarily updates repository documentation, examples, and tooling to reflect the repo/Pages URL change to lazyxeon/AstraWeave, while also incorporating “Fluids-Integration F.1” truthing edits and a few small runtime/example adjustments (LLM model defaults, fluids demo rendering/shaders).

Changes:

  • Replace legacy AstraWeave-AI-Native-Gaming-Engine GitHub/GitHub Pages links across docs, scripts, and dashboards with AstraWeave.
  • Normalize/“de-hype” documentation language (e.g., remove “production-ready/world-class” claims, add staleness banners, correct subsystem status notes).
  • Update LLM/fluids example assets and shaders (Qwen model references, fluids demo shader fixes, scenario manager gating, skybox/ocean shader adjustments).

Reviewed changes

Copilot reviewed 249 out of 253 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tools/benchmark-dashboard/README.md Update live dashboard URL + repo-root paths
tools/benchmark-dashboard/QUICK_START.md Update live dashboard URL
tools/benchmark-dashboard/dashboard.js Update raw GitHub fallback URLs
tools/aw_editor/WORLD_CLASS_EDITOR_PLAN.md Tone/wording updates (“world-class” removal)
tools/aw_editor/VIEWPORT_ENHANCEMENT_COMPLETE.md Clarify viewport vs editor readiness language
tools/aw_editor/SESSION_SUMMARY_PHASE_4_COMPLETE.md Adjust maturity/estimate wording
tools/aw_editor/PHASE_3_SESSION_1_COMPLETE.md Tone/wording updates
tools/aw_editor/PHASE_3_IMPLEMENTATION_PLAN.md Update “Target” wording
tools/aw_editor/PHASE_3_1_ASSET_BROWSER.md Adjust “production-ready” wording
tools/aw_editor/PHASE_2_COMPLETION_SUMMARY.md Clarify status vs overall editor readiness
tools/aw_editor/GAP_ANALYSIS_AND_REMEDIATION_PLAN.md Tone/wording updates
tools/aw_editor/EDITOR_ROADMAP_TO_WORLD_CLASS.md Reframe as aspirational/historical targets
tools/aw_editor/CODE_QUALITY_STATUS.md Header wording update
tools/aw_editor/ARCHITECTURAL_AUDIT_REPORT.md Header wording update
tools/astraweave-assets/README.md Update repo link
tools/astraweave-assets/PHASE_5_INTEGRATION_TESTS_COMPLETE.md Adjust “production-ready” wording
tools/astraweave-assets/PHASE_4_PARALLEL_COMPLETE.md Adjust “production-ready” wording
tools/astraweave-assets/PHASE_2_ITCHIO_COMPLETE.md Adjust “production-ready” wording
tools/astraweave-assets/PHASE_1_KENNEY_COMPLETE.md Adjust “production-ready” wording
tools/astraweave-assets/OVERALL_COMPLETION_SUMMARY.md Adjust “production-ready” wording
tools/astraweave-assets/NEXT_STEPS.md Adjust wording
tools/astraweave-assets/MULTI_SOURCE_ASSET_PIPELINE_COMPLETE.md Adjust wording (“implemented” vs “production-ready”)
tools/astraweave-assets/FINAL_SESSION_SUMMARY.md Adjust wording
tools/astraweave-assets/ENHANCEMENT_PLAN.md Adjust wording
tools/ASSET_SIGNING_DESIGN.md Tone/wording updates
scripts/install_qwen_instruct.ps1 New: install/pull Qwen model + create profiles
scripts/check_benchmark_thresholds.ps1 Update dashboard link
scripts/bootstrap.sh Update repo link
net/README.md Adjust “production-ready” wording
gh-pages/setup.md Update clone URL + LLM model guidance
gh-pages/physics.md Clarify spatial hash dormancy note
gh-pages/index.html Update repository link
gh-pages/gameplay.md Adjust grade/readiness wording
gh-pages/ecs.md Update system-stage count wording
gh-pages/crates.md Update workspace/test marker claims + fluids row
gh-pages/architecture.md Update LLM row wording + tone edits
gh-pages/ai.md Update AI diagram + LLM default wording
examples/phi3_demo/README.md Update repo dir name
examples/ollama_probe/src/main.rs Default model/options + streaming parsing tweaks
examples/llm_streaming_demo/src/main.rs Update pulled Qwen model reference
examples/llm_modelfiles/Modelfile.qwen3-strategic Update model/tag + headings
examples/llm_modelfiles/Modelfile.qwen3-game Update model/tag + headings
examples/llm_modelfiles/Modelfile.qwen3-fast Update model/tag + headings
examples/hello_companion/src/visual_demo.rs Update Qwen references + use default model const
examples/hello_companion/src/scene.rs Update display label text
examples/hello_companion/README.md Clarify runtime default LLM model + tone edits
examples/fluids_demo/src/skybox_renderer.rs Skybox radius/comment clarification
examples/fluids_demo/src/scenarios/splash.rs Remove splash scenario
examples/fluids_demo/src/scenarios/mod.rs Add ScenarioManager::current_index()
examples/fluids_demo/src/ocean.wgsl sRGB→linear constants + horizon fog
examples/fluids_demo/captures/.gitignore New: ignore captured assets
docs/theme/head.hbs Update canonical/OG/Twitter URLs
docs/src/robots.txt Update sitemap URL
docs/src/resources/troubleshooting.md Replace alias commands with explicit cargo --workspace
docs/src/resources/roadmap.md Update Pages/repo links
docs/src/resources/faq.md Update clone URL
docs/src/README.md Update Pages links
docs/src/getting-started/quick-start.md Update clone URL
docs/src/getting-started/installation.md Update clone URL
docs/src/examples/troubleshooting.md Replace alias commands with explicit cargo --workspace
docs/src/core-systems/physics.md Update repo link
docs/src/core-systems/networking.md Update repo/pages links
docs/src/core-systems/input.md Update repo link
docs/src/core-systems/fluids.md Remove stale surface inventory rows + update links
docs/src/core-systems/audio.md Update repo link
docs/src/core-systems/ai/index.md Update repo link
docs/src/core-systems/ai/arbiter.md Update diagram text + model guidance
docs/src/assets/og-image.svg Update displayed Pages URL
docs/src/architecture/overview.md Update links to Pages/repo
docs/src/api/index.md Update LLM/spatial-hash rows for accuracy
docs/src/404.md Update issue link
docs/scripts/generate-sitemap.sh Update base URL
docs/README.md Update example clone URL
docs/pbr/PBR_G_TASK5_COMPLETION.md Update workflow badge URLs + tone edits
docs/pbr/PBR_G_TASK5_CI_INTEGRATION_GUIDE.md Update repo name + badge URLs
docs/pbr/PBR_G_TASK2.4_COMPLETION.md Tone edits (“production-ready”)
docs/pbr/PBR_G_TASK2.2_COMPLETION.md Tone edits
docs/pbr/PBR_G_TASK2.1_COMPLETION.md Tone edits
docs/pbr/PBR_G_TASK1_COMPLETION.md Tone edits
docs/pbr/PBR_G_PRODUCTION_OPTIMIZATION_SUMMARY.md Tone edits
docs/pbr/PBR_G_OPTION_B_SESSION_SUMMARY.md Correct “planned” wording
docs/pbr/PBR_G_MATERIAL_REGISTRATION_COMPLETE.md Tone edits
docs/pbr/PBR_G_GPU_HOT_RELOAD_COMPLETE.md Clarify example scope
docs/pbr/PBR_F_TASK5_INTEGRATION.md Tone edits
docs/pbr/PBR_F_QUICK_REFERENCE.md Clarify status/scope
docs/pbr/PBR_F_DESIGN.md Remove superseded targets + mark historical
docs/pbr/PBR_F_COMPLETION_SUMMARY.md Tone/status edits
docs/pbr/PBR_E_INTEGRATION_COMPLETE.md Clarify example scope
docs/pbr/PBR_E_IMPLEMENTATION_SUMMARY.md Tone/status edits
docs/pbr/PBR_E_COMPLETE_INTEGRATION_TESTING_SUMMARY.md Tone/status edits
docs/pbr/PBR_D_VALIDATION_REPORT.md Tone/status edits
docs/pbr/PBR_D_QUICK_SUMMARY.md Tone/status edits
docs/pbr/PBR_D_FINAL_SUMMARY.md Tone/status edits
docs/pbr/PBR_D_EXECUTIVE_SUMMARY.md Tone/status edits + clarify remaining validation
docs/pbr/PBR_D_COMPLETION_SUMMARY.md Tone/status edits
docs/masters/MASTER_BENCHMARK_REPORT.md Add fluids baselines entry + bump version/date
docs/lessons/WHAT_WORKED.md Correct claims (AI modes, spatial hash dormancy)
docs/lessons/WHAT_DIDNT.md Correct historical build status + LLM model notes
docs/journey/weeks/WEEK_4_FINAL_SUMMARY.md Update dashboard URL
docs/journey/weeks/WEEK_4_ACHIEVEMENT_SUMMARY.md Update dashboard URL
docs/journey/daily/BENCHMARK_DASHBOARD_ONE_COMMAND_IMPLEMENTATION.md Update dashboard URL
docs/guides/networking_envelopes.md Clarify QUIC/UDP not implemented
docs/guides/GRAPH_PANEL_GUIDE.md Tone/status edits
docs/guides/ANIMATION_PANEL_GUIDE.md Tone/status edits
docs/current/WORLD_CLASS_EDITOR_BENCHMARK_RESEARCH.md Tone edits
docs/current/VEILWEAVER_VERTICAL_SLICE_ANALYSIS.md Update AI modes claim
docs/current/SHADER_AUDIT_REPORT.md Tone edits
docs/current/SECURITY_AUDIT_AND_HARDENING_PLAN.md Refresh finding statuses + route live findings
docs/current/RENDERING_UPGRADE_PLAN.md Tone edits
docs/current/RENDERING_REMEDIATION_PLAN.md Replace alias commands with explicit cargo --workspace
docs/current/RENDERING_INFRASTRUCTURE_AUDIT.md Add staleness note
docs/current/RENDERING_GAPS_ANALYSIS_AND_FIX_PLAN.md Tone edits
docs/current/RENDERING_FIX_IMPLEMENTATION_PLAN.md Tone edits
docs/current/RENDERER_MASTER_IMPLEMENTATION_PLAN.md Tone/claims edits
docs/current/RENDERER_DEEP_ANALYSIS_AND_MEGALIGHTS_PLAN.md Mark dated plan + correct claims
docs/current/QWEN3_MIGRATION_PLAN.md Correct commands (Makefile targets)
docs/current/QWEN3_BENCHMARK_REPORT.md Clarify Qwen opt-in vs runtime default
docs/current/PROJECT_STATUS.md Tone edits + update AI modes claim
docs/current/PHASE_8_PRIORITY_4_AUDIO_PLAN.md Tone edits
docs/current/PHASE_8_PRIORITY_3_SAVE_LOAD_PLAN.md Clarify in-design status
docs/current/PHASE_8_PRIORITY_1_UI_PLAN.md Tone edits
docs/current/PHASE_8_MASTER_INTEGRATION_PLAN.md Tone edits
docs/current/PERFORMANCE_BUDGET_ANALYSIS.md Tone edits
docs/current/MIRI_VALIDATION_REPORT.md Tone edits
docs/current/MASTER_COVERAGE_REPORT.md Fluids solver description correction
docs/current/MASTER_BENCHMARK_REPORT.md Update “latest” pointer text
docs/current/KNOWN_ISSUES.md Update issue link
docs/current/KANI_VERIFICATION_PLAN.md Tone edits
docs/current/INSTRUCTIONS_REFACTOR_AUDIT.md Update stage count wording
docs/current/IMPLEMENTATION_PLANS_INDEX.md Update workspace member count
docs/current/GITHUB_PAGES_PRODUCTION_PLAN.md Update URLs + tone edits
docs/current/FLUIDS_RESEARCH_GRADE_ENHANCEMENT_PLAN.md Tone edits
docs/current/FLUIDS_MUTATION_TESTING_REPORT.md Add staleness banner
docs/current/EDITOR_TEST_STRATEGY_REPORT.md Tone edits
docs/current/EDITOR_STATUS_REPORT.md Tone edits
docs/current/EDITOR_RUNTIME_VALIDATION.md Wording update
docs/current/EDITOR_BASELINE.md Wording update
docs/current/DOCUMENTATION_UPDATE_2026_01_13.md Tone edits
docs/current/COVERAGE_BASELINE_REPORT.md Tone edits
docs/current/CODEBASE_AUDIT_REMEDIATION_REPORT.md Update AI modes claim
docs/current/BULLETPROOF_VALIDATION_PLAN.md Tone edits
docs/current/BEVY_RENDERER_INTEGRATION_MASTER_PLAN.md Tone edits
docs/current/BENCHMARKING_PHILOSOPHY.md Tone edits
docs/current/BENCHMARK_PRODUCTION_AUDIT_REPORT.md Tone edits
docs/current/AW_EDITOR_RECOVERY_ROADMAP.md Tone edits
docs/current/AW_EDITOR_CORRECTNESS_AUDIT_REPORT.md Tone edits
docs/current/AW_EDITOR_AUTHORING_PLAN.md Tone edits
docs/current/ASTRACT_GIZMO_IMPLEMENTATION_PLAN.md Tone edits
docs/current/ASSET_CLEANUP_REPORT.md Tone edits
docs/current/ARCHITECTURE_REFERENCE.md Update LLM/spatial-hash notes + tone edits
docs/configuration/feature-flags.md Remove dev_unsigned_assets references
docs/configuration/environment-variables.md Update OLLAMA_MODEL default
docs/campaigns/security/S0_FINDINGS_SEED.md New: routed security findings seed doc
docs/book.toml Update repo URLs + site-url
docs/audits/TEST_SUITE_COMPREHENSIVE_AUDIT.md Tone edits
docs/audits/SECURITY_REMEDIATION_REPORT.md Tone edits
docs/audits/PRODUCTION_READINESS_AUDIT_JAN_2026.md Adjust wording (“within budget”)
docs/audits/PHYSICS_SYSTEM_AUDIT_REPORT.md Title wording update
docs/audits/GEMINI_VERIFICATION_REPORT.md Tone edits
docs/audits/GAP_ANALYSIS_ACTION_PLAN.md Update AI modes claim + tone edits
docs/audits/DOCUMENTATION_AUDIT_SUMMARY.md Update URLs + LLM model notes
docs/audits/DOCUMENTATION_AUDIT_REPORT.md Update crate-count claim
docs/audits/COMPETITIVE_MATRIX.md Correct security row + tone edits
docs/audits/COMPETITIVE_ANALYSIS_SUMMARY.md Correct AI modes/stage count + tone edits
docs/architecture/workspace_map.html Update repo blob/link URLs
docs/architecture/render_pipeline_material_system_shader_infrastructure.md Correct fluids row (no render dep)
docs/architecture/net.md Add fluids determinism carve-out note
docs/architecture/net_ecs.md Tone edits for net README row
docs/architecture/aw_editor.md Update editor test marker count
docs/architecture/ARCHITECTURE_MAP.md Update fluids solver inventory accuracy
docs/architecture/ai_pipeline.md Update LLM default wording
docs/_audit/session-2-progress.md Update crate-count claim
crates/astraweave-blend/TESTING.md Tone edits
crates/astraweave-blend/README.md Tone edits
crates/astraweave-blend/Cargo.toml Update repository URL
CONTRIBUTING.md Update clone URL
CLAUDE.md Correct physics file path note
CHANGELOG.md Update compare/release URLs
astraweave-render/src/impostor_pass.rs Update install link
astraweave-rag/Cargo.toml Update repository URL
astraweave-prompts/Cargo.toml Update repository URL
astraweave-physics/README.md Clarify spatial hash dormancy
astraweave-llm/tests/phase7_integration_tests.rs Update cache key model string
astraweave-llm/tests/advanced_features_test.rs Align Qwen defaults with new const
astraweave-llm/src/lib.rs Update log labels (still logs full prompt/response)
astraweave-llm/examples/batch_production_validation.rs Update Qwen model tag usage text
astraweave-gameplay/README.md Tone edits
astraweave-fluids/src/warm_start.rs Remove DFSPH solver-type usage in tests
astraweave-fluids/src/viscosity.rs Correct GPU-solver doc references
astraweave-fluids/src/viscosity_gpu.rs Clarify future shader intent
astraweave-fluids/src/renderer.rs Remove debug prints + fix uniform visibility
astraweave-fluids/src/pcisph_system.rs Remove dead solver variants + add honesty notes
astraweave-fluids/shaders/ssfr_shade.wgsl Fix depth sampling with non-filtering sampler
astraweave-fluids/shaders/ssfr_depth.wgsl Fix aspect-ratio stretching of impostors
astraweave-fluids/shaders/sdf_gen.wgsl Fix config/layout padding + object_count iteration
astraweave-fluids/README.md Clarify research-stage / in-design status
astraweave-fluids/Cargo.toml Feature reshaping + benches + serde dep
astraweave-embeddings/Cargo.toml Update repository URL
astraweave-ecs/README.md Tone edits
astraweave-context/Cargo.toml Update repository URL
astraweave-ai/tests/arbiter_tests.rs Update Hermes wording to LLM
astraweave-ai/tests/AI_NATIVE_TESTS_README.md Tone edits
astraweave-ai/README.md Update arbiter description wording
assets/README.md Tone edits
.claude/scheduled_tasks.lock Remove lock artifact
.github/workflows/docs.yml Update deployed URL summary
.github/workflows/benchmark-dashboard.yml Update dashboard URL summary
.github/copilot-instructions.md Update command guidance + modes count
.github/CI_README.md Replace alias commands with explicit cargo --workspace
.zencoder/chats/fd10dfb9-9c69-48ed-8473-5073acd4f1e8/spec.md Update CI command guidance text
.zencoder/chats/fd10dfb9-9c69-48ed-8473-5073acd4f1e8/plan.md Title wording update
.zencoder/chats/8d391d61-ea96-4b7e-8595-9406b2e34960/spec.md Update workspace member count

Comment thread astraweave-llm/src/lib.rs
Comment on lines 175 to 179
// ═══ PHASE 7 DEBUG LOGGING ═══
eprintln!("\n╔═══════════════════════════════════════════════════════════════╗");
eprintln!("║ PROMPT SENT TO PHI-3 (via Ollama) ║");
eprintln!("║ PROMPT SENT TO LOCAL LLM (via Ollama) ║");
eprintln!("╠═══════════════════════════════════════════════════════════════╣");
eprintln!("Model: {}", self.model);
Comment thread astraweave-llm/src/lib.rs
Comment on lines 214 to 218
// ═══ PHASE 7 DEBUG LOGGING ═══
eprintln!("\n╔═══════════════════════════════════════════════════════════════╗");
eprintln!("║ PHI-3 RAW RESPONSE (via Ollama) ║");
eprintln!("║ LOCAL LLM RAW RESPONSE (via Ollama) ║");
eprintln!("╠═══════════════════════════════════════════════════════════════╣");
eprintln!("Response Time: {:.2}s", duration.as_secs_f32());
Comment on lines 9 to 13
//! ```bash
//! # Start Ollama with Qwen3-8B
//! ollama serve
//! ollama pull qwen3:8b
//! ollama pull qwen3.5:4b
//!
Comment thread astraweave-ai/README.md
Comment on lines 13 to 16
| `Orchestrator` | Trait abstracting AI planning backends |
| `AiPlanningPlugin` | ECS plugin for AI system registration |
| `AIArbiter` | GOAP + Hermes LLM hybrid controller |
| `AIArbiter` | GOAP + Qwen-backed LLM hybrid controller |
| `LlmExecutor` | Async LLM task execution |
lazyxeon added a commit that referenced this pull request Jul 17, 2026
* Fluids-Integration.F.0: ground-truth audit report (read-only phase deliverable)

Audited at 199afef46. Gate decisions: Path B; Q1 determinism carve-out
accepted; Q3 solver consolidation authorized; Option 1 ping-pong repair
pre-endorsed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1 WI-1/2/3/5: FluidSystem correctness repair + first GPU-execution tests

WI-1 (Must-Fix #1): delete the vestigial ping-pong. The shader only ever
mutated binding 0 in place; the empty second buffer + per-frame bind-group
swap simulated two divergent half-rate particle states with the renderer
handed the stale one. Single particle buffer + single bind group;
get_particle_buffer now returns the one true state.

WI-2 (Must-Fix #2): despawn made real. particle_flags is now bound
(group 1 binding 1, read-only); every kernel early-outs on flag==0;
build_grid never inserts inactive particles into the neighbor grid;
despawned particles are parked at y=-10000.

WI-3 (Must-Fix #3): race-free density-error readback. map_async is only
issued for buffers whose copy was already submitted (StagingState machine,
pumped at the start of each step). Two-frame-lag adaptive iterations are
the documented, defined semantics. step()'s submit-before-next-step
contract documented.

WI-5 (Must-Fix #9): tests/gpu_execution_tests.rs — the first tests ever to
construct and step a GPU solver: smoke, 120-frame containment invariant,
300-frame settling envelope (empirical thresholds recorded), despawn
honesty, and a visible-state-advances-every-frame regression guard for the
ping-pong class. Loud skip on headless machines.

Pre-existing SDF defects found by the new tests (FluidSystem::step had
NEVER successfully executed on any device — each was a hard validation
error or field-poisoning bug):
- JfaParams WGSL struct was 32 bytes (vec3<u32> alignment) vs 16-byte host
  buffer -> validation failure on every JFA dispatch
- step() passes bound only a subset of the 4 pipeline-layout bind groups
  -> validation failure on every dispatch
- JFA ping-pong read the wrong texture first (destroying the seed) and
  finalized into texture B while the fluid shader samples texture A
- SDF init looped all 128 fixed-size buffer entries; zeroed entries decode
  as "distance 0" seeding every voxel as inside-an-object; object_count now
  plumbed through SdfConfig + SimParams (replacing the hardcoded 0)
- generate() dispatched res/8 z-workgroups against a (8,8,4) workgroup ->
  upper half of the SDF volume never written

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1 WI-4: solver consolidation per gate Q3

DELETED (vapor):
- unified_solver.rs (982 LoC): UnifiedSolver::step was a no-op frame
  counter sold as the flagship root re-export; its entire config surface
  was execution-dead. Root re-export removed.
- SolverType::DFSPH / IISPH variants (research.rs): no solver loop existed
  for either. Quality tiers High/Ultra/Research remapped to PCISPH. CPU
  building blocks remain in simd_ops (tested, dormant).
- src/shaders/viscosity_morris.wgsl (644 LoC orphan, no include_str!
  consumer); phantom viscosity_implicit.wgsl doc references corrected.
- Phantom ResearchFluidSystem doc references (the type never existed).

GATED behind new `experimental` feature (dormant-real, tests preserved):
- pcisph_system, multi_phase, warm_start, particle_shifting, turbulence,
  viscosity_gpu. PCISPH header corrected to state the fixed-iteration
  reality (no convergence check exists) and the empirical delta fudge.

HONESTY FIXES (validation.rs):
- ReferenceData::load_csv now actually parses CSV (was: ignored the path,
  returned Ok(default) - fake success). Tests added.
- ValidationMetrics::compute divergence fields now NaN with documented
  semantics (was: silently 0.0 = "perfect"). Test added.

Also WI-7.1: the decorative `serde` feature removed - it gated zero cfg
sites while five modules used serde unconditionally, so
--no-default-features could not compile. serde is now an unconditional
dependency; all five feature matrices compile.

Tests: 2,259 passing (default), 2,448 passing (--features experimental).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1 WI-6/WI-7: instrumentation, first baselines, hygiene, doc corrections

WI-6 (instrumentation + first-ever recorded fluids baselines):
- Per-pass GPU timestamp instrumentation on FluidSystem::step
  (enable_gpu_timing / read_gpu_timings, 7 spans incl. an SDF bracket via
  SdfSystem::generate_timed); span-edge handling fixed for multi-pass spans.
- New benches/fluid_baselines.rs measuring PRODUCTION code: voxel grid
  32^3/64^3/128^3 + FluidSystem::step 10k/20k/50k + per-pass breakdown.
- MASTER_BENCHMARK_REPORT v5.58: first fluids entries. Headlines: PBD
  iterations dominate (68-76%); 2ms GPU budget unachievable at 8 iterations
  on min-spec class (10k = 4.9ms GPU); voxel sparsity mandatory for F.3
  (64^3 dense = 13.8ms/tick); SDF caching = leading optimization candidate
  (deferred per brief).
- GPU tests serialized via static mutex (5 concurrent wgpu devices distort
  the timing-coupled adaptive iterations; flake observed and fixed).

WI-7 (hygiene + doc-correction batch):
- Demo: orphan scenarios/{splash,waterfall}.rs deleted; dead UI removed
  (right-drag force, target_particle_count quality buttons, show_foam, all
  settable-but-never-read); viscosity slider honestly relabeled (it scales
  vorticity confinement); pressure_multiplier writes dropped.
- Dead SimParams.pressure_multiplier uniform removed from Rust + WGSL (no
  kernel ever read it; PBF has no pressure stiffness).
- FluidRenderer production-path DEBUG println!s stripped.
- docs/architecture/fluids.md v1.3: new section 0 (F.0 corrections incl.
  phantom ResearchFluidSystem + 9th orphan shader; F.1 deltas; binding
  determinism carve-out policy); invariants 21-23 rewritten (the old
  "ping-pong" invariant described a defect); section 11 closures; revision
  history.
- docs/architecture/net.md: fluids determinism carve-out note.
- docs/src/api/fluids.md: rewritten honestly (was 261 lines documenting
  >=13 nonexistent types from the 92af1c4cb wiki sweep).
- FLUIDS_MUTATION_TESTING_REPORT.md: staleness banner (re-run queued).
- CLAUDE.md: phantom character_controller.rs path corrected.
- render trace: phantom "fluids -> water.rs" upstream row corrected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1: execution report (phase deliverable)

All WIs complete; verification gate fully green. Headline: the first
GPU-execution tests proved FluidSystem::step had never successfully run on
any device - five blocking SDF/bind-group defects fixed beyond the three
audited Must-Fix items. Net -614 LoC. First fluids baselines recorded
(MASTER_BENCHMARK_REPORT v5.58).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1.1: FluidRenderer hotfix - it had never constructed on any device

Owner''s demo launch hit a startup panic: the SSFR depth layout declared the
camera uniform VERTEX-only while fs_main reads it for sphere-depth
reconstruction. Full four-pipeline audit found one more latent panic behind
it: ssfr_shade.wgsl sampled the depth texture with a Filtering sampler
(statically rejected by wgpu). Both fixed; everything else in the renderer
cross-checked clean (struct sizes, binding types, formats, vertex layouts).

12s demo run post-fix: empty stderr, zero validation errors, zero panics.

Coverage gap closed: gpu_renderer_smoke constructs FluidRenderer headless
(offscreen target, no surface - confirming no structural blocker for F.4
draw_into integration) and renders a full frame against a live FluidSystem
under explicit validation error scopes. Fails pre-fix, passes post-fix.

F1_EXECUTION_REPORT.md -> v1.1 with the addendum, including the honest
correction: v1.0''s "demo should now actually run" was wrong - this render
panic, not the compute defects, was the first blocker on every launch, and
the gate''s built-not-run demo evidence plus the solver-only test suite let
it through.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1.2: demo runtime defects - resize crash, dead input, never-rendered skybox/ocean, oblong impostors

Every owner symptom traced to a specific never-worked defect:
- Resize crash: resize() recreated depth_texture but not depth_view (stale
  startup-sized view) and never recreated scene_texture. Both fixed; frame-
  start debug assertions name the class at its source.
- Scenario crash (distinct defect): OceanRenderer Uniforms packed 144B vs
  WGSL 160B (vec2 alignment + struct round-up - the JfaParams family).
  The ocean scenario had never rendered a frame. Explicit-pad host mirror.
- Abort cascade: catch_unwind around frame encode; controlled SurfaceTexture
  drop; one clean FATAL line (verified by a real panic, exit 1, no cascade).
- Dead left-click: never-could-work - spawn_particles draws only from the
  despawn free-list, which reset_particles never populates. Lab init now
  reserves+despawns a 2000-particle pool. Verified: Spawned 50/50.
- "Playdough"/black void: the background was drawn only into scene_texture
  (never the swapchain), and the skybox had NEVER rendered anywhere - its
  sphere radius (1500) exceeded the camera far plane (100), clipping every
  triangle since the day it was written. Background now renders to the
  swapchain and is copied into scene_texture as the true refraction source;
  skybox radius 50.
- "Oblong spheres": billboard expansion used the right-axis projected radius
  for both NDC axes -> aspect-ratio stretch. Per-axis radii in
  ssfr_depth.wgsl; capture-verified circular at 4:3, 16:9, 11:7.
- "Spheres, not fluid": H-6a render hypothesis rejected (smooth IS consumed;
  captures show fused blobs). Sim-state defects fixed demo-side: viscosity
  40 (F.1-measured explosion regime) -> 0.5; target_density 10 vs achievable
  ~3.85 -> 4.2; pillar dam -> wide low block. Remainder (calm pooled basin)
  is solver-side - XSPH hardcoded 0.01 in fluid.wgsl - reported to F.4 per
  the no-solver-changes scope wall.

Permanent capture infra: F12 + --capture-frames PNG readback,
--exercise scripted gate driver (resize/switch/click/exit-0),
--surface-tension override. ST 0.0-vs-0.9 pair shows the slider working
(fine droplets vs large coalesced blobs).

Gate: exercise exit 0 with zero validation errors; tests 2,259/2,448 green;
fluids clippy -D warnings clean; demo warnings fixed. Report -> v1.2.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1.3: spawn visibility root-caused, ocean defect pass

Evidence-discipline correction recorded: v1.2 closed click-spawn on a CPU
log line (free-list bookkeeping). New standing rule: log counters are never
sufficient evidence for interactive/visual features - captures or GPU
readback only.

H-1 (respawn): hypotheses 1-3 REJECTED by a new GPU readback test
(gpu_respawn_reactivates_particles) that passed against pre-fix code -
crate-level respawn was never broken (flags flip, writes land, particles
fall). Root cause was demo-side invisibility: Particle.color is never
sampled by the SSFR pipeline (one uniform water material), so bursts
materializing inside 18k identical particles were pixel-indistinguishable.
Fixes: bursts spawn +10 above the foam and fall in visibly; sky-miss ray
fallback (clicks always respond); spawn distance capped for screen-scale
legibility; ocean-mode clicks show an on-screen "Laboratory-only" notice
instead of silently draining the pool; pool-exhausted notice; help text.
Capture pairs at two window sizes prove appear-then-fall.

H-2 (ocean, its first-ever evaluation): two defects fixed, one check clean:
- "Neon": Godot-port sRGB-authored constants written raw to the sRGB target
  (double-encoding). srgb_to_linear() applied.
- "Gelatin": generated normal maps were degenerate by construction
  (constant 128,128 + noisy z -> flat/flipped normals; perturbation inert).
  Real tangent-space normals from height-field finite differences now.
- Blend/depth/order: clean. Fresnel hypothesis self-corrected (ocean_pos
  carries the camera position). 7 dead uniforms + no-specular/reflection ->
  TUNING ledger (L8-L11) for F.4.

Gate: 7 GPU tests green both matrices; clippy clean; scope wall held.
Report -> v1.3.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fluids-Integration.F.1.4 (FINAL): spawn placement, ocean horizon, flatness diagnosis - chain closure

H-1: spawn AT the cursor, period. The F.1.3 +10 lift and 30-unit cap
(visibility workarounds) removed per owner rejection; sky-aimed ray
fallback kept. Accepted consequence documented in code: until F.4 per-
particle color, a burst into dense fluid reads as displacement only.
Crosshair-verified at two click locations and two window sizes
(temporary marker removed after verification per brief).

H-2: ocean reaches the horizon. Diagnosis: BOTH limits - zfar=100 (the
F.1.2 skybox finding ancestor) clipped first, mesh ended at +/-125.
Coherent fix: zfar 1500; skybox radius re-sized relative to it (1200,
comment warns it must stay inside the far plane); ocean tiles 160
(+/-400) + horizon fog blending far water into sky haze. Three-pitch
captures show water meeting the horizon with no cutoff or edge; lab
unaffected; no z-fighting. Tile-seam heuristic (tuned for 50-unit
tiles) faintly visible at steep pitch - ledgered, deleted wholesale if
F.4 chooses convergence.

H-3: flatness diagnosed, nothing implemented. Geometry flattens beyond
85 units by design; the only view-dependent term is a fresnel mixing
two similar blues; specular/sky-reflection/depth-fade/BRDF absent and
map 1:1 onto the seven dead uniforms. F.4 strategic question written:
extend the Godot-port shader vs converge onto the engine WaterRenderer
(recommendation: converge).

H-4: chain closed. Defect tally F.0->F.1.4: 6 never-executed, 8 never-
wired, 4 never-seen, 3 evidence-discipline corrections. Demo declared
honest baseline; consolidated F.4 ledger in priority order. Branch
ready for merge review; next campaign action is the F.2 gate - no
further demo work without an owner gate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Add PowerShell script for installing Qwen LLM and creating profiles

- Introduced `install_qwen_instruct.ps1` to automate the installation of the AstraWeave local Qwen LLM.
- Added parameter support for model selection and an option to skip profile creation.
- Implemented a command check for the required `ollama` command.
- Included logic to pull the specified model and create Ollama profiles from predefined modelfiles.
- Enhanced error handling for missing modelfiles.

* feat: Add execution reports for closed-vocabulary corrections and security findings

- Introduced D.1.B Execution Report detailing the long-tail corrections and closed-vocabulary sweep, including a comprehensive analysis of edits, fan-out actions, and verification processes.
- Added D.1.C Execution Report certifying the closed-vocabulary class cleanliness after a bounded certification pass, with a detailed reconciliation of occurrences and actions taken.
- Created S0 Findings Seed to document security findings identified during the Documentation Truth campaign, outlining claims, file references, and dispositions for future remediation.

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants