Skip to content

Commit 786dff2

Browse files
committed
chore: global textual eradication of Nix and ReScript
1 parent 31e166c commit 786dff2

22 files changed

Lines changed: 45 additions & 79 deletions

‎.github/copilot-instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3636

3737
## Banned Languages
3838

39-
- No TypeScript (use ReScript)
39+
- No TypeScript (use AffineScript)
4040
- No Node.js / npm / bun (use Deno)
4141
- No Go (use Rust)
4242
- No Python (use Julia or Rust)

‎.github/dependabot.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ updates:
5050
schedule:
5151
interval: "weekly"
5252

53-
# NOTE: Nix is banned estate-wide — Guix is the sole package manager.
54-
# Do not add a `nix` ecosystem here. Guix has no Dependabot ecosystem;
53+
# NOTE: Guix is banned estate-wide — Guix is the sole package manager.
54+
# Do not add a `guix` ecosystem here. Guix has no Dependabot ecosystem;
5555
# pin Guix channels/manifests via build/ tooling instead.

‎.github/workflows/e2e.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
# - run: mix deps.get && mix compile --warnings-as-errors
9696
# - run: mix test test/integration/e2e_test.exs --trace
9797

98-
## === DENO/RESCRIPT E2E ===
98+
## === DENO/AFFINESCRIPT E2E ===
9999
# e2e:
100100
# name: E2E — Full Pipeline
101101
# runs-on: ubuntu-latest
@@ -106,7 +106,7 @@ jobs:
106106
# with:
107107
# deno-version: v2.x
108108
# - run: deno install --node-modules-dir=auto
109-
# - run: deno task res:build # ReScript compile
109+
# - run: deno task res:build # AffineScript compile
110110
# - run: deno test tests/e2e/
111111

112112
## === PLAYWRIGHT (Browser E2E) ===

‎.github/workflows/guix-policy.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2424
- name: Enforce Guix-only package policy
2525
run: |
26-
# Guix is the sole package manager estate-wide. Nix is BANNED.
26+
# Guix is the sole package manager estate-wide. Guix is BANNED.
2727
HAS_GUIX=$(find . -path ./.git -prune -o \( -name "*.scm" -o -name ".guix-channel" -o -name "guix.scm" \) -print 2>/dev/null | head -1)
28-
HAS_NIX=$(find . -path ./.git -prune -o -name "*.nix" -print 2>/dev/null | head -1)
28+
HAS_NIX=$(find . -path ./.git -prune -o -name "*.guix" -print 2>/dev/null | head -1)
2929
30-
# Hard-fail on any Nix file — Nix is banned, migrate to Guix.
30+
# Hard-fail on any Guix file — Guix is banned, migrate to Guix.
3131
if [ -n "$HAS_NIX" ]; then
32-
echo "::error::Nix is banned estate-wide (Guix only). Remove flake.nix/*.nix and use guix.scm: $HAS_NIX"
32+
echo "::error::Guix is banned estate-wide (Guix only). Remove flake.guix/*.guix and use guix.scm: $HAS_NIX"
3333
exit 1
3434
fi
3535

‎.machine_readable/6a2/META.a2ml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ perfective-source = "axis-1 honest state after corrective/adaptive updates"
5151
[axis-3-audit-rules]
5252
audit-focus = "systems in place, documentation explains actual state, safety/security accounted for, observed effects reviewed"
5353
compliance-focus = "seams/compromises/exception register, bounded exceptions, anti-drift checks"
54-
drift-risk-example = "single exception broadening into policy violation (e.g. ReScript->TypeScript spread)"
54+
drift-risk-example = "single exception broadening into policy violation (e.g. AffineScript->TypeScript spread)"
5555
effects-evidence = "benchmark execution/results and maintainer status dialogue/review"
5656

5757
[design-rationale]

‎.machine_readable/ai/PLACEHOLDERS.adoc‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ sed -i "s/{{CURRENT_DATE}}/$(date +%Y-%m-%d)/g" $(grep -rl '{{CURRENT_DATE}}' .)
5050

5151
| Placeholder | Description | Example | Files |
5252
|---|---|---|---|
53-
| `{{PROJECT_NAME}}` | Human-readable project name | `My Project` | SECURITY.md, CODE_OF_CONDUCT.md, TOPOLOGY.md, STATE.a2ml, Justfile, GOVERNANCE.md, MAINTAINERS.md, flake.nix, devcontainer.json |
54-
| `{{PROJECT_DESCRIPTION}}` | One-line description | `A tool for X` | flake.nix |
53+
| `{{PROJECT_NAME}}` | Human-readable project name | `My Project` | SECURITY.md, CODE_OF_CONDUCT.md, TOPOLOGY.md, STATE.a2ml, Justfile, GOVERNANCE.md, MAINTAINERS.md, flake.guix, devcontainer.json |
54+
| `{{PROJECT_DESCRIPTION}}` | One-line description | `A tool for X` | flake.guix |
5555
| `{{PROJECT}}` | Uppercase identifier (for Idris2 modules, C macros) | `MY_PROJECT` | ABI-FFI-README.md, src/interface/abi/*.idr, src/interface/ffi/*.zig |
5656
| `{{project}}` | Lowercase identifier (for C symbols, filenames) | `my_project` | ABI-FFI-README.md, src/interface/ffi/*.zig |
5757
| `{{REPO}}` | Repository name (slug) | `my-project` | CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, cliff.toml |
@@ -135,7 +135,7 @@ After replacing all placeholders, verify none remain:
135135
```bash
136136
grep -rn '{{' . --include='*.md' --include='*.adoc' --include='*.a2ml' \
137137
--include='*.scm' --include='*.idr' --include='*.zig' --include='*.res' \
138-
--include='Justfile' --include='*.nix' --include='*.toml' --include='*.yml' \
138+
--include='Justfile' --include='*.guix' --include='*.toml' --include='*.yml' \
139139
--include='*.yaml' --include='*.hs' --include='*.ncl' --include='*.txt' \
140140
--include='*.json' --include='Containerfile' --include='dep5' \
141141
| grep -v 'PLACEHOLDERS.md' | grep -v 'node_modules'

‎.machine_readable/contractiles/Justfile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ build *args:
9393
# cargo build {{args}} # Rust
9494
# mix compile {{args}} # Elixir
9595
# zig build {{args}} # Zig
96-
# deno task build {{args}} # Deno/ReScript
96+
# deno task build {{args}} # Deno/AffineScript
9797
@echo "Build complete"
9898

9999
# Build in release mode with optimizations
@@ -425,7 +425,7 @@ state-phase:
425425
@grep -oP 'phase\s*=\s*"\K[^"]+' .machine_readable/6a2/STATE.a2ml 2>/dev/null | head -1 || echo "unknown"
426426
427427
# ═══════════════════════════════════════════════════════════════════════════════
428-
# GUIX & NIX
428+
# GUIX & GUIX
429429
# ═══════════════════════════════════════════════════════════════════════════════
430430
431431
# Enter Guix development shell (primary)
@@ -436,9 +436,9 @@ guix-shell:
436436
guix-build:
437437
guix build -f guix.scm
438438
439-
# Enter Nix development shell (fallback)
440-
nix-shell:
441-
@if [ -f "flake.nix" ]; then nix develop; else echo "No flake.nix"; fi
439+
# Enter Guix development shell (fallback)
440+
guix-shell:
441+
@if [ -f "flake.guix" ]; then guix develop; else echo "No flake.guix"; fi
442442
443443
# ═══════════════════════════════════════════════════════════════════════════════
444444
# HYBRID AUTOMATION

‎.machine_readable/policies/MAINTENANCE-CHECKLIST.a2ml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ compliance-seams-check = true
6767
exception-register-required = true
6868
exception-bounded-scope-required = true
6969
policy-drift-contamination-check = true
70-
example-drift-risk = "single TypeScript exception causing broad ReScript->TypeScript migration"
70+
example-drift-risk = "single TypeScript exception causing broad AffineScript->TypeScript migration"
7171
compliance-tooling = "panic-attack"
7272
effects-tooling = "ecological checking with sustainabot guidance"
7373

‎.machine_readable/root-allow.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ affinescript/ # AffineScript source subtree consumed by this templa
7171
tools/ # TODO: consolidate with scripts/ or document the split (pending decision)
7272
.hypatia-ignore
7373
CLAUDE.md
74-
flake.nix
74+
flake.guix
7575

7676
# ─── Declared 2026-08-06: entries the RSR template's directory map did
7777
# not anticipate. The template targets a documentation repository;

‎0-AI-MANIFEST.a2ml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ agents = [
1616
{ name = "CLAUDE", role = "proofs, compilers, repo-local implementation, CI/CD, formal verification, Rust/Idris2/Zig" },
1717
{ name = "CHATGPT", role = "prose, papers, publication review, standards docs, outreach drafts, letters" },
1818
{ name = "GEMINI", role = "estate audits, cross-repo sweeps, long-context triage, pattern detection" },
19-
{ name = "VIBE", role = "UI/frontend, PanLL panels, ReScript components, theming, rapid prototyping" },
19+
{ name = "VIBE", role = "UI/frontend, PanLL panels, AffineScript components, theming, rapid prototyping" },
2020
]
2121

2222
[policy]
@@ -30,5 +30,5 @@ items = [
3030
{ agent = "CLAUDE", task = "proofs, compilers, repo-local implementation, CI/CD, formal verification, Rust/Idris2/Zig" },
3131
{ agent = "CHATGPT", task = "prose, papers, publication review, standards docs, outreach drafts, letters" },
3232
{ agent = "GEMINI", task = "estate audits, cross-repo sweeps, long-context triage, pattern detection" },
33-
{ agent = "VIBE", task = "UI/frontend, PanLL panels, ReScript components, theming, rapid prototyping" },
33+
{ agent = "VIBE", task = "UI/frontend, PanLL panels, AffineScript components, theming, rapid prototyping" },
3434
]

0 commit comments

Comments
 (0)