[Phase 1.5] Wire chaotic_core & Card Data Invariant Gate into CI #6

Open
opened 2026-11-17 06:12:12 +00:00 by john4064 · 0 comments
Owner

Goal

Enforce verified .ron card invariants and chaotic_core headless tests automatically in CI and local quality gates.

Metadata

  • Phase / Step: Phase 1.5
  • Depends On: #5
  • Unlocks: #21
  • Target Crates / Paths: .forgejo/workflows/ci.yml, scripts/quality_gate.sh, scripts/ci_detect_targets.sh, AGENTS.md
  • Line Budget Plan: Production .rs <= 400 lines, test .rs <= 600 lines, mod.rs < 80 lines (AGENTS.md Section 2.3)

Acceptance Criteria

  • Run cargo test --package chaotic_core and cargo run --package chaotic_ingestor -- --verify-all assets/cards/ inside .forgejo/workflows/ci.yml and scripts/quality_gate.sh.
  • Verify scripts/ci_detect_targets.sh routes tools/raw_canonical_data/*, crates/chaotic_core/*, crates/chaotic_ingestor/*, and assets/cards/* accurately.
  • Remove <!-- docs-check:ignore --> workaround for assets/cards/ in AGENTS.md once assets/cards/ is committed.
  • Full NAS CI pipeline passes cleanly on main.
## Goal Enforce verified `.ron` card invariants and `chaotic_core` headless tests automatically in CI and local quality gates. ## Metadata - **Phase / Step:** Phase 1.5 - **Depends On:** #5 - **Unlocks:** #21 - **Target Crates / Paths:** `.forgejo/workflows/ci.yml`, `scripts/quality_gate.sh`, `scripts/ci_detect_targets.sh`, `AGENTS.md` - **Line Budget Plan:** Production `.rs` <= 400 lines, test `.rs` <= 600 lines, `mod.rs` < 80 lines (`AGENTS.md` Section 2.3) ## Acceptance Criteria - [ ] Run `cargo test --package chaotic_core` and `cargo run --package chaotic_ingestor -- --verify-all assets/cards/` inside `.forgejo/workflows/ci.yml` and `scripts/quality_gate.sh`. - [ ] Verify `scripts/ci_detect_targets.sh` routes `tools/raw_canonical_data/*`, `crates/chaotic_core/*`, `crates/chaotic_ingestor/*`, and `assets/cards/*` accurately. - [ ] Remove `<!-- docs-check:ignore -->` workaround for `assets/cards/` in `AGENTS.md` once `assets/cards/` is committed. - [ ] Full NAS CI pipeline passes cleanly on `main`.
Sign in to join this conversation.
No description provided.