diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ac1a212..80d5970 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -18,7 +18,7 @@ - [ ] Tests pass (`just test` or equivalent) - [ ] Code is formatted (`just fmt` or equivalent) - [ ] Linter is clean (no new warnings or errors) -- [ ] No banned language patterns (no TypeScript, no npm/bun, no Go/Python) +- [ ] No banned language patterns (no TypeScript or ReScript, no Node/npm as runtime — Bun is tier 1 — no Go/Python) - [ ] No `unsafe` blocks without `// SAFETY:` comments - [ ] No banned functions (`believe_me`, `unsafeCoerce`, `Obj.magic`, `Admitted`, `sorry`) - [ ] SPDX license headers present on all new/modified source files @@ -30,7 +30,7 @@ - [ ] `ROADMAP.adoc` updated (if phase progress changed) - [ ] An ADR in `docs/decisions/` (if an architectural decision changed) - [ ] Documentation updated for user-facing changes -- [ ] `TOPOLOGY.md` updated (if architecture changed) +- [ ] `TOPOLOGY.adoc` updated (if architecture changed) - [ ] `CHANGELOG` or release notes updated - [ ] New dependencies reviewed for license compatibility (MPL-2.0 / MPL-2.0) - [ ] ABI/FFI changes validated (`src/interface/abi/` and `src/interface/ffi/` consistent) diff --git a/.github/workflows/dogfood-gate.yml b/.github/workflows/dogfood-gate.yml index 5d76c84..4da9fca 100644 --- a/.github/workflows/dogfood-gate.yml +++ b/.github/workflows/dogfood-gate.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check for A2ML files id: detect @@ -42,8 +42,9 @@ jobs: if: steps.detect.outputs.count > 0 run: bash .github/hooks/validate-a2ml.sh - name: Write summary + env: + A2ML_COUNT: ${{ steps.detect.outputs.count }} run: | - A2ML_COUNT="${{ steps.detect.outputs.count }}" if [ "$A2ML_COUNT" -eq 0 ]; then cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" ## A2ML Validation @@ -71,7 +72,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check for K9 files id: detect @@ -90,9 +91,10 @@ jobs: if: steps.detect.outputs.k9_count > 0 run: bash .github/hooks/validate-k9.sh - name: Write summary + env: + K9_COUNT: ${{ steps.detect.outputs.k9_count }} + CFG_COUNT: ${{ steps.detect.outputs.config_count }} run: | - K9_COUNT="${{ steps.detect.outputs.k9_count }}" - CFG_COUNT="${{ steps.detect.outputs.config_count }}" if [ "$K9_COUNT" -eq 0 ]; then cat <<'EOF' >> "$GITHUB_STEP_SUMMARY" ## K9 Contract Validation @@ -120,7 +122,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Scan for invisible characters id: lint @@ -157,9 +159,11 @@ jobs: done < /tmp/empty-lint-results.txt - name: Write summary + env: + LINT_READY: ${{ steps.lint.outputs.ready }} + FINDINGS: ${{ steps.lint.outputs.findings }} run: | - if [ "${{ steps.lint.outputs.ready }}" = "true" ]; then - FINDINGS="${{ steps.lint.outputs.findings }}" + if [ "$LINT_READY" = "true" ]; then if [ "$FINDINGS" -gt 0 ] 2>/dev/null; then echo "## Empty-Linter Results" >> "$GITHUB_STEP_SUMMARY" echo "" >> "$GITHUB_STEP_SUMMARY" @@ -188,7 +192,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check for Groove manifest id: groove @@ -228,14 +232,18 @@ jobs: fi - name: Write summary + env: + HAS_MANIFEST: ${{ steps.groove.outputs.has_manifest }} + HAS_GROOVE_CODE: ${{ steps.groove.outputs.has_groove_code }} + HAS_SERVER: ${{ steps.groove.outputs.has_server }} run: | echo "## Groove Protocol Check" >> "$GITHUB_STEP_SUMMARY" echo "" >> "$GITHUB_STEP_SUMMARY" echo "| Check | Status |" >> "$GITHUB_STEP_SUMMARY" echo "|-------|--------|" >> "$GITHUB_STEP_SUMMARY" - echo "| Static manifest (.well-known/groove/manifest.json) | ${{ steps.groove.outputs.has_manifest }} |" >> "$GITHUB_STEP_SUMMARY" - echo "| Groove endpoint in code | ${{ steps.groove.outputs.has_groove_code }} |" >> "$GITHUB_STEP_SUMMARY" - echo "| Has HTTP server code | ${{ steps.groove.outputs.has_server }} |" >> "$GITHUB_STEP_SUMMARY" + echo "| Static manifest (.well-known/groove/manifest.json) | ${HAS_MANIFEST} |" >> "$GITHUB_STEP_SUMMARY" + echo "| Groove endpoint in code | ${HAS_GROOVE_CODE} |" >> "$GITHUB_STEP_SUMMARY" + echo "| Has HTTP server code | ${HAS_SERVER} |" >> "$GITHUB_STEP_SUMMARY" # --------------------------------------------------------------------------- # Job 5: eclexiaiser manifest validation @@ -250,7 +258,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Check and validate eclexiaiser manifest id: eclex @@ -299,8 +307,10 @@ jobs: } - name: Write summary + env: + ECLEX_HAS_MANIFEST: ${{ steps.eclex.outputs.has_manifest }} run: | - if [ "${{ steps.eclex.outputs.has_manifest }}" = "true" ]; then + if [ "$ECLEX_HAS_MANIFEST" = "true" ]; then echo "## Eclexiaiser Manifest" >> "$GITHUB_STEP_SUMMARY" echo "" >> "$GITHUB_STEP_SUMMARY" echo ":white_check_mark: **eclexiaiser.toml** present and valid." >> "$GITHUB_STEP_SUMMARY" @@ -325,7 +335,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7.0.1 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Generate dogfooding scorecard run: | diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 05e86c4..016d724 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -1,6 +1,6 @@ # This workflow is managed by gh actions-lock. # SPDX-License-Identifier: MPL-2.0 -# in hyperpolymath/standards instead of carrying per-repo copies. +# in metadatastician/standards instead of carrying per-repo copies. # # Replaces the per-repo governance scaffolding removed in the same commit: # quality.yml, guix-nix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml, @@ -122,7 +122,7 @@ jobs: run: | # Bootstrap rule: standards must test the scripts from its PR tree; # consumers use the canonical copies checked out from standards. - if [ "$GITHUB_REPOSITORY" = hyperpolymath/standards ]; then + if [ "$GITHUB_REPOSITORY" = metadatastician/standards ]; then cp scripts/check-actions-policy.sh scripts/check-allowed-actions.sh "$RUNNER_TEMP/" cp rhodium-standard-repositories/actions-allowlist/allowed-actions.json \ "$RUNNER_TEMP/allowed-actions.json" @@ -295,7 +295,7 @@ jobs: # 'high' to only block on high/critical. BLOCKING_THRESHOLD: info run: | - echo "Scanning repository: ${{ github.repository }} (checking baseline)" + echo "Scanning repository: ${GITHUB_REPOSITORY} (checking baseline)" # Move the baseline filter OUT of the scanned tree, then delete the # standards checkout, so `hypatia scan .` only ever sees the CALLER's # own files. Without this, `.standards-checkout/` (the tooling we @@ -403,7 +403,7 @@ jobs: # shadow this required gate with a permissive repo-local copy. run: | SCRIPT=".standards-checkout/scripts/check-ts-allowlist.sh" - if [ ! -f "$SCRIPT" ] && [ "$GITHUB_REPOSITORY" = "hyperpolymath/standards" ] \ + if [ ! -f "$SCRIPT" ] && [ "$GITHUB_REPOSITORY" = "metadatastician/standards" ] \ && [ -f scripts/check-ts-allowlist.sh ]; then SCRIPT="scripts/check-ts-allowlist.sh" echo "Using this repository's own copy (standards self-check)." @@ -631,7 +631,7 @@ jobs: fi fi if [ -n "$FAILED" ]; then - echo "See hyperpolymath/standards docs/JS-RUNTIME-POLICY.adoc for remediation." + echo "See metadatastician/standards docs/JS-RUNTIME-POLICY.adoc for remediation." exit 1 fi echo "✅ No npm/bun violations" @@ -1131,7 +1131,7 @@ jobs: sparse-checkout-cone-mode: false - name: Parse every tracked workflow run: | - if [ "$GITHUB_REPOSITORY" = hyperpolymath/standards ]; then + if [ "$GITHUB_REPOSITORY" = metadatastician/standards ]; then SCRIPT="tools/policy/check-workflows-parse.sh" echo "Using this repository's own copy (standards self-lint)." else @@ -1156,7 +1156,7 @@ jobs: # Standards exercises its pull-request scripts; every consumer uses # the canonical scripts fetched from this workflow's immutable # Standards revision. - if [ "$GITHUB_REPOSITORY" = hyperpolymath/standards ]; then + if [ "$GITHUB_REPOSITORY" = metadatastician/standards ]; then SCRIPT="scripts/check-workflow-duplicate-keys.sh" echo "Using this repository's own copy (standards self-lint)." else @@ -1271,7 +1271,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | set -uo pipefail - if [ "$GITHUB_REPOSITORY" = hyperpolymath/standards ]; then + if [ "$GITHUB_REPOSITORY" = metadatastician/standards ]; then SRC=scripts echo "Using this repository's own gate + verifier (standards self-lint)." else @@ -1387,7 +1387,7 @@ jobs: # request being tested. Consumers must use the trusted copy from # standards@main and cannot substitute a same-named local file. # This mirrors the sibling debt-ratchet job below. - if [ "${{ github.repository }}" = "hyperpolymath/standards" ]; then + if [ "$GITHUB_REPOSITORY" = "metadatastician/standards" ]; then cp scripts/check-exemption-ratchet.sh \ scripts/count-ledger-entries.sh "$RUNNER_TEMP/" else @@ -1450,7 +1450,7 @@ jobs: # not on file existence: a consumer repo that happened to contain a # file at scripts/check-debt-ratchet.sh must NOT be able to # substitute its own gate. - if [ "${{ github.repository }}" = "hyperpolymath/standards" ]; then + if [ "$GITHUB_REPOSITORY" = "metadatastician/standards" ]; then cp scripts/check-debt-ratchet.sh \ scripts/check-debtfile-structure.sh "$RUNNER_TEMP/" else diff --git a/.machine_readable/descriptiles/STATE.deed b/.machine_readable/descriptiles/STATE.deed index 04bae4e..b7fa3b0 100644 --- a/.machine_readable/descriptiles/STATE.deed +++ b/.machine_readable/descriptiles/STATE.deed @@ -17,7 +17,7 @@ ;; were carried over as the sources held them, not that they were re-audited. (descriptile-deed :schema-version "1.0.0" - :canonical-name "gv-clade-index" + :canonical-name "chora-registry" :of-chora #uuid"a65b74d8-351a-89d9-a38d-aea470863b03" :affirmed "2026-11-14" :affirmed-by agent (status diff --git a/TOPOLOGY.adoc b/TOPOLOGY.adoc index beb860f..dfc64ec 100644 --- a/TOPOLOGY.adoc +++ b/TOPOLOGY.adoc @@ -1,10 +1,11 @@ -== TOPOLOGY.md — gv-clade-index +== TOPOLOGY — chora-registry === Purpose -gv-clade-index is the central registry for the hyperpolymath ecosystem, -providing a VeriSimDB-backed taxonomy of 200+ repositories organised -into 12 clades (fv, nl, rm, gv, db, ap, ix, dx, pt, ax, gm, sc). It +chora-registry (formerly gv-clade-index) is the register of repo identities +for the hyperpolymath estate. Its seed, verisim/seed/chora-registry_praxis.deed, +holds each repo's id and its placements in the estate's classification +schemes, of which the 12-category clade-12 is the first. It exposes a Cloudflare Worker API for dashboards, drift detection, and work-tracking VCL queries. The index is the canonical map of the ecosystem — editing it never modifies the repositories it describes. @@ -12,7 +13,7 @@ ecosystem — editing it never modifies the repositories it describes. === Module Map .... -gv-clade-index/ +chora-registry/ ├── verisim/ # VeriSimDB instance (clade data store) │ ├── config.a2ml # Database instance configuration │ ├── schema/ # VCL schemas (repo, clade, pointer, etc.)