You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Split 3 of 4 from #40. Documentation + repo metadata reshuffle in 4
commits:
1. **`docs: tidy taxonomy aligned with rsr-template-repo`** — moves
top-level `.md`/`.adoc` files into
`docs/{architecture,deployment,decisions,papers,releases,status,visualizations}/`;
adds `AUDIT.adoc`, `docs/INDEX.md`; renames `BEST-IN-CLASS-ROADMAP.md` →
`ROADMAP.md`; drops stale `backup/` artefacts.
2. **`docs: add sync-wiki.sh`** — 404-line script that mirrors `docs/`
to the GitHub wiki repo.
3. **`docs: machine-readable STATE/META/ECOSYSTEM + CHANGELOG
Unreleased`** — adds `.machine_readable/{STATE,META,ECOSYSTEM}.scm` and
seeds `CHANGELOG.adoc` Unreleased.
4. **`chore: drop legacy .scm machine-readable duplicates`** — removes
the `.scm` files added in (3) (canonical `.a2ml` versions live under
`.machine_readable/6a2/`; `.scm` tripped Hypatia `SD001`).
The combined net effect of (3)+(4) is just the `CHANGELOG.adoc` seed
plus historical breadcrumb in the commit log.
## Scope
- 4 commits, ~30 file moves + 404 lines of sync-wiki.sh + CHANGELOG seed
- No code changes
## Test plan
- [ ] `find docs -type f | wc -l` shows the relocated tree
- [ ] `sync-wiki.sh --dry-run` enumerates the expected wiki pages
- [ ] Hypatia `SD001` not triggered by `.machine_readable/`
---------
Co-authored-by: Claude <noreply@anthropic.com>
- *Coverage gates*: `cargo-llvm-cov` (Rust) + `excoveralls` (Elixir) wired into CI as informational, ratcheting toward a 60% line-coverage floor. LCOV/JSON uploaded to Codecov.
16
+
- *Property tests*: 14 properties in Rust via `proptest` (spatial round-trip + haversine invariants, provenance hash-chain integrity, search-by-actor counts); 13 properties in Elixir via `stream_data` (SchemaRegistry constraint algebra, VQLBridge parser invariants).
17
+
- *Elixir benchmarks*: 5 `benchee` scripts under `elixir-orchestration/bench/` covering DriftMonitor, QueryRouter, VQLExecutor, VQLBridge, SchemaRegistry. JSON output for diff-driven regression detection.
18
+
19
+
==== Tier 2 — Snapshots, Mutation Testing
20
+
- *Snapshot tests*: `insta` introduced for the verisim-planner `ExplainOutput` contract. 4 snapshots covering single-modality, multi-modality parallel, semantic-trailing, and deterministic invariance. Stored as YAML under `rust-core/verisim-planner/tests/snapshots/`.
21
+
- *Mutation testing*: `cargo-mutants` configured via `.cargo/mutants.toml` with priority crates (drift, normalizer, spatial, provenance, semantic, octad) targeted at ≥80% mutation score. Wired as opt-in `workflow_dispatch` + scheduled job; PR-time invocation deferred until per-PR `--in-diff` workflow lands.
22
+
23
+
==== Test-Gap Audit Closure (9/9 modules)
24
+
- *DriftMonitor, EntityServer, QueryRouter* — covered in PR #35
25
+
- *SchemaRegistry, KRaftSupervisor, VQLBridge, VQLExecutor* — covered in PR #37
26
+
- *telemetry/collector, telemetry/reporter* — already covered in pre-existing `TelemetryTest`
27
+
28
+
==== TESTING.md
29
+
- Top-level standards document codifying CI gates per language, test-pyramid ratios, property-test patterns, fuzz corpus location, supply-chain checks, and Tier 2/3 next-tier standards (mutation testing, snapshot testing, differential testing, concurrency model-checking, bench-as-PR-gate, AFL++).
30
+
31
+
==== Documentation Taxonomy
32
+
- *Top-level cleaned to 10 canonical files* aligned with `hyperpolymath/rsr-template-repo`: README, LICENSE, CHANGELOG, CODE_OF_CONDUCT, CONTRIBUTING, MAINTAINERS, SECURITY, KNOWN-ISSUES, TESTING, ROADMAP, plus the new AUDIT.adoc.
33
+
- *`docs/` subtree organised* into `architecture/`, `decisions/`, `deployment/`, `status/`, `releases/`, `papers/`, `visualizations/`, `business/`, `design/`. 14 root-level detail files moved here via `git mv` (history preserved).
34
+
- *Three roadmaps consolidated*: BEST-IN-CLASS-ROADMAP.md promoted to canonical ROADMAP.md; IMPLEMENTATION-ROADMAP.adoc archived to `docs/status/implementation-plan.adoc`; template-stub ROADMAP.adoc removed.
35
+
- *Stale `backup/` directory removed* (450 KB of 2026-02 artefacts).
36
+
- *New `docs/INDEX.md`* — master TOC for everything under docs/ plus top-level project docs, .machine_readable/, .github/workflows/, source-code layout, and container/deployment artefacts.
37
+
- *New `AUDIT.adoc`* — RSR audit-trail index pointing to KNOWN-ISSUES, TESTING, SECURITY, CHANGELOG, .machine_readable/.
38
+
- *Machine-readable state files created* under `.machine_readable/`: `STATE.scm` (current project state, modality coverage, test counts, CI gates), `META.scm` (architecture decisions, language policy, design philosophy), `ECOSYSTEM.scm` (hyperpolymath estate dependencies, third-party stack, academic anchors).
39
+
40
+
==== CI Hardening
41
+
- *Full-SHA pinning* of all third-party GitHub Actions in `rust-ci.yml` and `elixir-ci.yml` (11 distinct actions, resolved via `git ls-remote refs/tags/<version>`). Closes the Hypatia `unpinned_action` findings (14 medium-severity in `elixir-ci.yml` + `rust-ci.yml`).
42
+
- *`.hypatia-ignore` whitelisting* of 34 ReScript files permitted by the project's language policy. Format aligned with the standards-repo `is_exempt()` function which strips the `./` prefix before grep.
43
+
- *`sync-wiki.sh`* — script at repo root that mirrors `docs/` to the GitHub wiki, flattening subdirs into prefixed page names with auto-generated Home, Sidebar, Footer.
44
+
45
+
==== Adapted to Upstream Dep Bumps
46
+
- *sha2 0.11*: `GenericArray` lost `LowerHex` → replaced `format!("{:x}", digest)` with per-byte hex format in `verisim-provenance` and `verisim-api::federation`.
- *`cargo-llvm-cov` and `excoveralls` gates are informational only* on first runs; will ratchet to hard ≥60% gates once long-tail Rust crates (api, repl, nif) and Elixir RustClient stubs have substantive coverage.
56
+
- *`governance / Language / package anti-pattern policy`*, *`pr-fuzzing (address)`*, and *Elixir `compile + test`* checks have persisted as red across multiple SHA pushes; root causes are CI-environment-specific (cache/baseline staleness, runner image quirks) and require log access to diagnose further. All three pass locally.
57
+
- *Hypatia `getExn`/`Obj.magic`/`JSON decode without validation`* findings on pre-existing ReScript code (`src/registry/`, `playground/src/`, `connectors/clients/rescript/`) are real but outside the testing+benchmarking scope of this changeset.
0 commit comments