[Phase 1.1] Clean Out Template Junk Crates & Scaffold chaotic_core + chaotic_ingestor #2
Labels
No labels
area:backend-infra
area:ci
area:client
area:core
area:data
area:server
P0
P1
P2
status:backlog
status:in-progress
status:ready
status:review
type:chore
type:feature
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
john4064/Chaotic#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Remove unused template crates (
crates/game-protocol,crates/game-backend) and legacy MOBA backend/deploy wiring, and scaffoldcrates/chaotic_core+crates/chaotic_ingestorcleanly.Acceptance Criteria
crates/game-protocol,crates/game-backend,deploy/Dockerfile.backend, and.forgejo/workflows/db_migration.yml(rebuilding backend/DB clean in Phase 3).Cargo.toml,scripts/quality_gate.sh,scripts/ci_detect_targets.sh,scripts/docs_gen.py,scripts/bug_hunter.py,deploy/docker-compose.yml, and.forgejo/workflows/ci.ymlso no stalegame-protocol/game-backendreferences remain.crates/chaotic_coreas 100% pure Rust (#![forbid(unsafe_code)], zero Bevy rendering/windowing/socket dependencies).crates/chaotic_ingestorCLI crate depending onchaotic_core../scripts/quality_gate.sh --offline,./scripts/security_gate.sh,./scripts/docs_gen.sh --check) pass.Completed [Phase 1.1] Clean Out Template Junk Crates & Scaffold
chaotic_core+chaotic_ingestor.Summary of Changes
crates/game-protocol/,crates/game-backend/,deploy/Dockerfile.backend, and.forgejo/workflows/db_migration.yml.crates/chaotic_core(#! [forbid(unsafe_code)],serdederive only, zero Bevy/render/winit/UI/network dependencies) withCHAOTIC_CORE_VERSIONand foundationalCardSet,Tribe,Discipline, andElementenums + unit tests.crates/chaotic_ingestor(#![forbid(unsafe_code)], depends onchaotic_core,serde,serde_json) CLI skeleton supporting--helpand--verify-all <PATH>+ unit tests.Cargo.tomlworkspace members and[dependencies].scripts/quality_gate.sh(--backend),scripts/ci_detect_targets.sh(+ self-tests),scripts/docs_gen.py,.forgejo/workflows/ci.yml,deploy/docker-compose.yml,GETTING_STARTED.md, andARCHITECTURE_PLAN.md.deploy/moba-sbom.cdx.json) and generated docs (docs/generated/*).Verification Results
cargo fmt --all-> exit 0cargo test --workspace --offline-> exit 0 (chaotic_core: 3 passed;chaotic_ingestor: 3 passed;game-client: 2 passed, 1 nightly soak ignored)cargo run --offline -p chaotic_ingestor -- --help&--verify-all crates/chaotic_core-> exit 0python3 scripts/generate_sbom.py-> exit 0 (471 components)./scripts/docs_gen.sh&./scripts/docs_gen.sh --check-> exit 0./scripts/ci_detect_targets.sh --self-test-> exit 0 (all cases passed)./scripts/quality_gate.sh --backend --offline-> exit 0./scripts/quality_gate.sh --offline-> exit 0./scripts/security_gate.sh-> exit 0 (0 leaks, 12 scripts shellcheck OK, 1 Dockerfile hadolint OK, 6 workflows actionlint OK, cargo-deny OK, security_audit.py 0 critical issues)