Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: Add execution reports for closed-vocabulary corrections and sec…
…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.
  • Loading branch information
lazyxeon committed Jun 18, 2026
commit a9f6a84a14b6cc0a262e288f0f6a1a40c9c2af51
10 changes: 5 additions & 5 deletions .github/CI_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ Use the convenient cargo aliases for local development:

```bash
# Check workspace (excluding problematic crates)
cargo check-all
cargo check --workspace

# Run tests on working components
cargo test-all
cargo test --workspace

# Build core components
cargo build-core
cargo build -p astraweave-core -p astraweave-ecs -p astraweave-math -p astraweave-ai

# Build working examples
cargo build-working
cargo build --workspace

# Run clippy on all working code
cargo clippy-all
cargo clippy --workspace --all-features -- -D warnings
```

### Manual CI Triggers
Expand Down
12 changes: 6 additions & 6 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ AstraWeave is a **scientific proof of concept**: a production-grade game engine

**DO:**
- Build incrementally (`-p` flag for single crates)
- Use cargo aliases (`check-all`, `build-core`, `test-all`, `clippy-all`)
- Use the editor cargo aliases (`editor`, `editor-release`, `editor-dev`); for workspace operations use the explicit forms (`cargo check --workspace`, etc.) — no `check-all`-style aliases are defined
- Use `--release` for examples
- Run `cargo check -p <crate>` after every modification

Expand All @@ -64,11 +64,11 @@ AstraWeave is a **scientific proof of concept**: a production-grade game engine

```powershell
./scripts/bootstrap.sh # Setup
cargo check-all # Workspace check
cargo build-core # Core components
cargo test-all # Working crate tests
cargo clippy-all # Full linting
cargo run -p hello_companion --release # AI demo (6 modes)
cargo check --workspace # Workspace check
cargo build -p astraweave-core -p astraweave-ecs -p astraweave-math -p astraweave-ai # Core components
cargo test --workspace # Workspace tests
cargo clippy --workspace --all-features -- -D warnings # Full linting
cargo run -p hello_companion --release # AI demo (7 modes, feature-gated)
cargo bench -p astraweave-core # Benchmarks
```

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmark-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:

Live performance telemetry dashboard for the AstraWeave AI-native game engine.

**View Dashboard**: https://lazyxeon.github.io/AstraWeave-AI-Native-Gaming-Engine/dashboard/benchmark_dashboard/
**View Dashboard**: https://lazyxeon.github.io/AstraWeave/dashboard/benchmark_dashboard/

## Features
- 30-day performance trends
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
One or more benchmarks exceeded the 10% regression threshold.

### Next Steps
1. Review benchmark results: [View Dashboard](https://lazyxeon.github.io/AstraWeave-AI-Native-Gaming-Engine/dashboard/benchmark_dashboard/)
1. Review benchmark results: [View Dashboard](https://lazyxeon.github.io/AstraWeave/dashboard/benchmark_dashboard/)
2. Check recent commits for performance-impacting changes
3. Run local benchmarks: \`cargo bench\`
4. Validate thresholds: \`./scripts/check_benchmark_thresholds.ps1 -ShowDetails\`
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
run: |
echo "### Benchmark Dashboard Updated ✅" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Dashboard URL**: https://lazyxeon.github.io/AstraWeave-AI-Native-Gaming-Engine/dashboard/benchmark_dashboard/" >> $GITHUB_STEP_SUMMARY
echo "**Dashboard URL**: https://lazyxeon.github.io/AstraWeave/dashboard/benchmark_dashboard/" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY

if [ -f target/benchmark-data/history.jsonl ]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
run: |
echo "### Documentation Deployed ✅" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Documentation URL**: https://lazyxeon.github.io/AstraWeave-AI-Native-Gaming-Engine/" >> $GITHUB_STEP_SUMMARY
echo "**API Docs URL**: https://lazyxeon.github.io/AstraWeave-AI-Native-Gaming-Engine/api/" >> $GITHUB_STEP_SUMMARY
echo "**Documentation URL**: https://lazyxeon.github.io/AstraWeave/" >> $GITHUB_STEP_SUMMARY
echo "**API Docs URL**: https://lazyxeon.github.io/AstraWeave/api/" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Last Updated**: $(date -u +'%Y-%m-%d %H:%M:%S UTC')" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

### Language & Toolchain
- **Language**: Rust 2021 (toolchain 1.89.0)
- **Build System**: Cargo workspace (126 members)
- **Build System**: Cargo workspace (130 members) <!-- Source: CLAIMS_REGISTRY.md#workspace-members -->
- **Editor Package**: `tools/aw_editor` (workspace member)

### Primary Dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AstraWeave Editor: World-Class Transformation Plan
# AstraWeave Editor: Transformation Plan

This plan tracks the end-to-end transformation of `aw_editor` into a professional-grade game engine editor.

Expand Down
4 changes: 2 additions & 2 deletions .zencoder/chats/fd10dfb9-9c69-48ed-8473-5073acd4f1e8/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ tools/aw_editor/src/

## 5. Verification Approach
- **Automated Testing**:
- `cargo test-all`: Ensure zero regressions.
- `cargo test --workspace`: Ensure zero regressions.
- New unit tests for each decoupled Service.
- Integration tests for mesh loading and scene synchronization.
- **Linting**:
- `cargo clippy-all`: Enforce zero-warning policy and `clippy::unwrap_used`.
- `cargo clippy --workspace --all-features -- -D warnings`: Enforce zero-warning policy and `clippy::unwrap_used`.
- **Manual Verification**:
- "Veilweaver Playability Test": Verify end-to-end workflow from asset import to Play-in-Editor.
- Long-run stability test: 4 hours of active editing without memory leaks or crashes.
24 changes: 12 additions & 12 deletions .zencoder/rules/repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ alwaysApply: true

## Summary

**AstraWeave** is a deterministic, ECS-based game engine in Rust where AI agents are first-class citizens. Built entirely through AI-generated iterative prompting, it demonstrates production-ready infrastructure with 82+ crates, advanced rendering (wgpu 25.0.2), deterministic physics (Rapier3D with spatial hash), sophisticated AI orchestration (GOAP, behavior trees, Hermes 2 Pro LLM integration), and comprehensive testing (96.9% determinism validation, 166+ tests passing).
**AstraWeave** is a deterministic, ECS-based game engine in Rust where AI agents are first-class citizens. Built entirely through AI-generated iterative prompting, it spans 130 workspace members <!-- Source: CLAIMS_REGISTRY.md#workspace-members -->, wgpu 25.0.2 rendering, Rapier3D physics, AI orchestration (GOAP, behavior trees, local LLM via Ollama with `phi3:medium` as the runtime default), and extensive testing (96.9% determinism validation, 166+ tests passing).

## Repository Structure

### Core Engine (Production-Ready)
- **astraweave-ecs**: Archetype-based ECS with 7 deterministic system stages
- **astraweave-ai**: AI orchestrator, core loop, tool sandbox, 6 planning modes (Classical, BehaviorTree, Utility, LLM, Hybrid, Ensemble)
### Core Engine
- **astraweave-ecs**: Archetype-based ECS with 8 deterministic system stages (incl. SYNC)
- **astraweave-ai**: AI orchestrator, core loop, tool sandbox, 7 planning modes (feature-gated) <!-- Source: CLAIMS_REGISTRY.md#ai-modes -->
- **astraweave-render**: wgpu 25.0.2 renderer with PBR materials, GPU skinning, LODs, mesh optimization
- **astraweave-physics**: Rapier3D integration, character controller, spatial hash (99.96% optimization)
- **astraweave-physics**: Rapier3D integration, character controller; in-crate `SpatialHash` module is dormant (live broadphase is Rapier `DefaultBroadPhase`)
- **astraweave-nav**: Navmesh pathfinding with A* and portal graphs
- **astraweave-math**: SIMD-optimized vectors/matrices (2.08× speedup @ 10k entities)
- **astraweave-terrain**: Hybrid voxel/polygon with marching cubes mesh generation
Expand All @@ -33,7 +33,7 @@ alwaysApply: true
### Tools & Examples
- **tools/aw_editor**: 14-panel level/encounter editor (egui-wgpu)
- **tools/aw_asset_cli**: Asset pipeline and material management
- **tools/ollama_probe**: LLM connectivity validator (Hermes 2 Pro)
- **tools/ollama_probe**: LLM connectivity validator (local LLM via Ollama)
- **examples/**: 40+ working examples (hello_companion, profiling_demo, unified_showcase, astract_gallery)

### Recent Additions (Phase 8.1)
Expand All @@ -52,7 +52,7 @@ alwaysApply: true

**Graphics**: wgpu 25.0.2, egui 0.32, winit 0.30, glam 0.30
**Physics**: rapier3d 0.22, rand/rand_chacha 0.9 (deterministic RNG)
**AI/LLM**: Hermes 2 Pro via Ollama, rhai 1.23 (scripting)
**AI/LLM**: local LLM via Ollama (`phi3:medium` runtime default; Hermes/Qwen opt-in via `OLLAMA_MODEL`), rhai 1.23 (scripting)
**Async**: tokio 1.x, tungstenite 0.28 (WebSocket)
**Serialization**: serde 1, serde_json 1, toml 0.9, zip 6.0
**Audio**: rodio 0.17 (spatial audio)
Expand All @@ -68,10 +68,10 @@ alwaysApply: true

# Core build (2-5 min first build, 8-15s incremental)
cargo build -p astraweave-ecs -p astraweave-ai -p astraweave-physics -p astraweave-nav -p astraweave-render
cargo build-working # All working crates (alias)
cargo build --workspace # All crates

# Development workflow
cargo fmt --all && cargo clippy-all && cargo test-all
cargo fmt --all && cargo clippy --workspace --all-features -- -D warnings && cargo test --workspace
make dev # Comprehensive check
```

Expand All @@ -95,7 +95,7 @@ cargo bench -p astraweave-math # Benchmarks (SIMD)
## Main Entry Points

**Working Examples**:
- `hello_companion` (Phase 6): All 6 AI modes + Hermes 2 Pro LLM
- `hello_companion`: All 7 AI modes (feature-gated) <!-- Source: CLAIMS_REGISTRY.md#ai-modes --> + local LLM via Ollama
- `profiling_demo`: Week 8 performance profiling with Tracy
- `astract_gallery`: UI framework showcase (Astract Gizmo complete)
- `unified_showcase`: Island + assets + rendering + physics
Expand Down Expand Up @@ -125,8 +125,8 @@ cargo build --target x86_64-unknown-linux-gnu --release

**Version**: 0.4.0
**License**: MIT
**Status**: Production-ready infrastructure (Phase 6 complete, Phase 8 UI Framework in progress)
**Generation**: 100% AI-generated (82+ crates, ~150K LOC via iterative GitHub Copilot)
**Status**: Phase 6 complete, Phase 8 UI Framework in progress (dated Nov 2025; see `docs/current/PROJECT_STATUS.md` for current state)
**Generation**: 100% AI-generated — 130 workspace members <!-- Source: CLAIMS_REGISTRY.md#workspace-members --> via iterative AI development
**Updated**: November 10, 2025

## Documentation
Expand Down
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
- Initial public release of the AstraWeave AI-Native Gaming Engine.
- Included core ECS, navigation, physics, and AI behavior crates.

[Unreleased]: https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine/releases/tag/v0.4.0
[0.3.0]: https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine/releases/tag/v0.3.0
[0.2.0]: https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine/releases/tag/v0.2.0
[0.1.0]: https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine/releases/tag/v0.1.0
[Unreleased]: https://github.com/lazyxeon/AstraWeave/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/lazyxeon/AstraWeave/releases/tag/v0.4.0
[0.3.0]: https://github.com/lazyxeon/AstraWeave/releases/tag/v0.3.0
[0.2.0]: https://github.com/lazyxeon/AstraWeave/releases/tag/v0.2.0
[0.1.0]: https://github.com/lazyxeon/AstraWeave/releases/tag/v0.1.0
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Thank you for your interest in helping advance the AstraWeave AI-Native Gaming E
- Clone the repository and run `cargo fetch` to prime the workspace.

```bash
git clone https://github.com/lazyxeon/AstraWeave-AI-Native-Gaming-Engine.git
cd AstraWeave-AI-Native-Gaming-Engine
git clone https://github.com/lazyxeon/AstraWeave.git
cd AstraWeave
rustup show
```

Expand Down
Loading
Loading