feat: complete M2 content workspace and inspector
This commit is contained in:
1 parent
931f561e7f
commit
cf6eaba534
438 files changed
+59749
-19043
No files matched your search
@@ -0,0 +1,18 @@
|
||||
---
|
||||
name: blacksite-selective-verify
|
||||
description: Select and run the smallest valid Blacksite formatting, compile, test, lint, processing, validation, packaging, and native gates based on changed files and the current task state. Use after edits or before slice/candidate completion; do not default to full workspace gates.
|
||||
---
|
||||
|
||||
# Blacksite selective verification
|
||||
|
||||
Read `.codex/workflow.toml` and [the verification matrix](references/verification-matrix.md), then invoke `python scripts/codex/verify.py`.
|
||||
|
||||
- `plan` explains selected and skipped gates without executing them.
|
||||
- `fast` runs the smallest useful edit loop.
|
||||
- `slice` adds affected-package tests, strict Clippy, domain checks, docs integrity, and named native requirements.
|
||||
- `candidate` is permitted only for a nominated Candidate-ready state and runs missing release gates once.
|
||||
- `status` reads the digest ledger; `invalidate --reason ...` invalidates only when inputs or acceptance change.
|
||||
|
||||
Every Cargo command must go through `cargo_lane.py`. Do not run overlapping Cargo processes. Reuse a PASS when its relevant input digest, command, lane signature, toolchain, features, and environment are unchanged. Store complete output under `.codex/logs/` and show only the compact result or the first bounded actionable failure.
|
||||
|
||||
Do not append workspace tests, workspace Clippy, processing, validators, packaging, or native QA to an ordinary fast loop. Prefer focused tests in the lightest crate that owns the invariant.
|
||||
@@ -0,0 +1,19 @@
|
||||
# Blacksite verification matrix
|
||||
|
||||
| Changed area | Fast loop | Slice gate | Candidate impact |
|
||||
|---|---|---|---|
|
||||
| Markdown only | docs audit | docs audit | Rust gates remain valid |
|
||||
| `AGENTS.md`, Skills, workflow scripts | script self-tests/dry run | docs audit and workflow acceptance | No Rust gate unless Rust changed |
|
||||
| `crates/content_pipeline/**` | pipeline check and focused tests | pipeline tests and strict Clippy; processing if output changed | Full gate later |
|
||||
| `crates/shared/**` schemas/types | shared check and focused tests | shared tests, dependent checks, migration dry run if needed | Full gate later |
|
||||
| `crates/editor/src/ui/**` | editor library check; focused wiring tests | editor tests/Clippy and named native scenario | Full gate later |
|
||||
| `crates/blacksite_surface/**`, shaders | surface check/tests | surface Clippy and relevant renderer scenarios | Full gate later |
|
||||
| `xtask/**` packaging | focused xtask/package test | repeat package test and package dry run | Package candidate required |
|
||||
| Registry/catalog inputs | processing check | validators and deterministic write/check | Package/native as relevant |
|
||||
| Migration/schema versions | focused migration tests/dry run | fixture apply, idempotence, rollback | Full gate later |
|
||||
| Gitea only | No Cargo | Tracker readback | No code gate |
|
||||
| Session/evidence only | No Cargo | Evidence integrity | No code gate |
|
||||
|
||||
Fast checks normally use the `dev` lane. Candidate, package, hot-reload, and full-debug work use their named disposable lanes. A docs-only edit never invalidates a code gate whose recorded input digest is unchanged.
|
||||
|
||||
Rust gate digests fingerprint the owning package and its local dependency closure, relevant Cargo and workflow configuration, the exact gate/lane, tool versions, and build-affecting environment. Documentation and unrelated packages are excluded, so their edits preserve valid focused Rust evidence; changes to a dependency, relevant configuration, toolchain, or environment invalidate it.
|
||||
Reference in new issue
Block a user