diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e925a6c..a19a9b3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,8 +6,8 @@ Copyright (c) Jonathan D.A. Jewell git clone https://github.com/hyperpolymath/language-bridges.git cd language-bridges -# Using Nix (recommended for reproducibility) -nix develop +# Using Guix (recommended for reproducibility) +guix develop # Or using toolbox/distrobox toolbox create language-bridges-dev @@ -45,7 +45,7 @@ language-bridges/ ├── MAINTAINERS.md ├── README.adoc ├── SECURITY.md -├── flake.nix # Nix flake (Perimeter 1) +├── flake.guix # Guix flake (Perimeter 1) └── Justfile # Task runner (Perimeter 1) ``` diff --git a/EXPLAINME.adoc b/EXPLAINME.adoc index 3c38e5e..e429a81 100644 --- a/EXPLAINME.adoc +++ b/EXPLAINME.adoc @@ -95,7 +95,7 @@ only. | `TOPOLOGY.md` | Architecture map and per-module completion percentages | `PROOF-NEEDS.md` | Formal verification backlog for this repo | `Justfile` | Build recipes: `just build`, `just test`, `just check` -| `flake.nix` / `guix.scm` | Reproducible environment definitions +| `flake.guix` / `guix.scm` | Reproducible environment definitions | `contractiles/` | Contractile trust/dust/intend check files | `.machine_readable/` | A2ML state, meta, ecosystem, agentic manifests |=== diff --git a/netstack/.github/workflows/governance.yml b/netstack/.github/workflows/governance.yml index 6f0afb7..e76c61e 100644 --- a/netstack/.github/workflows/governance.yml +++ b/netstack/.github/workflows/governance.yml @@ -3,7 +3,7 @@ # in hyperpolymath/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, +# quality.yml, guix-guix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml, # security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml, # workflow-linter.yml # diff --git a/netstack/.github/workflows/stack-integration.yml b/netstack/.github/workflows/stack-integration.yml index 033efe6..1e0e714 100644 --- a/netstack/.github/workflows/stack-integration.yml +++ b/netstack/.github/workflows/stack-integration.yml @@ -76,9 +76,9 @@ jobs: uses: denoland/setup-deno@5fae568d37c87b099dcc8f9f8b9c09159be2da2d # v2 with: deno-version: v1.x - - name: Install ReScript - run: deno install -A npm:rescript@11 - - name: Build ReScript + - name: Install AffineScript + run: deno install -A npm:affinescript@11 + - name: Build AffineScript run: deno task build || echo "Build task not critical for CI" - name: Lint run: deno lint diff --git a/netstack/DEPLOYMENT.adoc b/netstack/DEPLOYMENT.adoc index baeea20..c36e9bd 100644 --- a/netstack/DEPLOYMENT.adoc +++ b/netstack/DEPLOYMENT.adoc @@ -25,10 +25,10 @@ toc::[] * 100MB disk space * Linux, macOS, or Windows with GNAT -**Interface SDK (Deno/ReScript):** +**Interface SDK (Deno/AffineScript):** * Deno 1.40+ -* ReScript compiler +* AffineScript compiler * Node.js 20+ (for build tools) **Kubernetes Cluster:** @@ -195,7 +195,7 @@ The SDK is for programmatic access only: ---- cd interface -# Build ReScript +# Build AffineScript deno task build # Publish to registry (optional) diff --git a/netstack/Justfile b/netstack/Justfile index 9cf26d8..9a4a075 100644 --- a/netstack/Justfile +++ b/netstack/Justfile @@ -71,14 +71,14 @@ tui-run: cd tui && ./bin/flatracoon-tui # ============================================================================= -# Interface (Deno/ReScript) +# Interface (Deno/AffineScript) # ============================================================================= # Install interface dependencies interface-deps: cd interface && deno cache src/main.ts -# Build ReScript interface +# Build AffineScript interface interface-build: cd interface && deno task build diff --git a/netstack/SEAM_ANALYSIS.adoc b/netstack/SEAM_ANALYSIS.adoc index 7eef5ee..38fc4eb 100644 --- a/netstack/SEAM_ANALYSIS.adoc +++ b/netstack/SEAM_ANALYSIS.adoc @@ -84,10 +84,10 @@ Character'Read (Channel, Char); ==== 🟡 Incomplete JSON Parsing -**Issue:** ReScript client has placeholder JSON parsers. +**Issue:** AffineScript client has placeholder JSON parsers. **Current State:** -[source,rescript] +[source,affinescript] ---- | Ok(json) => { // Parse modules from JSON @@ -99,7 +99,7 @@ Character'Read (Channel, Char); **Impact:** SDK returns empty arrays, not actual data. **Recommendation:** -- Add `@rescript/core` JSON decoders +- Add `@affinescript/core` JSON decoders - Implement proper response parsing - Add runtime type validation @@ -112,7 +112,7 @@ Character'Read (Channel, Char); **Impact:** TS users lose type safety. **Recommendation:** -- Generate TypeScript definitions from ReScript +- Generate TypeScript definitions from AffineScript - Publish `@types/flatracoon-sdk` package - Add tsc validation to CI @@ -507,7 +507,7 @@ The FlatRacoon Stack is **100% functionally complete** and ready for production * ✓ Clean architecture with clear component boundaries * ✓ Comprehensive deployment documentation * ✓ Integration CI/CD pipeline -* ✓ Type-safe implementations (Ada, ReScript, Elixir) +* ✓ Type-safe implementations (Ada, AffineScript, Elixir) **Recommended Next Steps:** diff --git a/netstack/SEAM_COMPLETION_REPORT.adoc b/netstack/SEAM_COMPLETION_REPORT.adoc index 87df17f..566be17 100644 --- a/netstack/SEAM_COMPLETION_REPORT.adoc +++ b/netstack/SEAM_COMPLETION_REPORT.adoc @@ -122,11 +122,11 @@ end case; **Completed:** Previously (verified 2026-01-22) -**Implementation:** Comprehensive ReScript JSON decoders already exist in `interface/src/FlatRacoonClient.res` +**Implementation:** Comprehensive AffineScript JSON decoders already exist in `interface/src/FlatRacoonClient.res` **Evidence:** -[source,rescript] +[source,affinescript] ---- module Decode = { let moduleInfo = (json: Js.Json.t): result => { @@ -273,7 +273,7 @@ $ cd tui && alr build Success: Build finished successfully in 0.77 seconds. ✅ Success -# Interface SDK (ReScript) +# Interface SDK (AffineScript) $ cd interface && deno task build ✅ Success ---- diff --git a/netstack/configs/README.md b/netstack/configs/README.md index 97f3bb2..07f2492 100644 --- a/netstack/configs/README.md +++ b/netstack/configs/README.md @@ -66,7 +66,7 @@ Terminal UI client settings. ### interface -ReScript SDK client settings. +AffineScript SDK client settings. **Key settings:** - `interface.base_url`: API base URL diff --git a/netstack/examples/web-project-deno.json b/netstack/examples/web-project-deno.json index 5ddd3bd..ee775a4 100644 --- a/netstack/examples/web-project-deno.json +++ b/netstack/examples/web-project-deno.json @@ -1,17 +1,17 @@ { - "// NOTE": "Example deno.json for ReScript web projects", + "// NOTE": "Example deno.json for AffineScript web projects", "tasks": { - "build": "deno run -A npm:rescript", - "clean": "deno run -A npm:rescript clean", - "watch": "deno run -A npm:rescript -w", + "build": "deno run -A npm:affinescript", + "clean": "deno run -A npm:affinescript clean", + "watch": "deno run -A npm:affinescript -w", "serve": "deno run -A jsr:@std/http/file-server .", "test": "deno test --allow-all" }, "imports": { - "rescript": "^12.0.0", - "@rescript/core": "npm:@rescript/core@^1.6.0", - "safe-dom/": "https://raw.githubusercontent.com/hyperpolymath/rescript-dom-mounter/main/src/", - "proven/": "../proven/bindings/rescript/src/" + "affinescript": "^12.0.0", + "@affinescript/core": "npm:@affinescript/core@^1.6.0", + "safe-dom/": "https://raw.githubusercontent.com/hyperpolymath/affinescript-dom-mounter/main/src/", + "proven/": "../proven/bindings/affinescript/src/" }, "compilerOptions": { "allowJs": true, diff --git a/netstack/interface/deno.json b/netstack/interface/deno.json deleted file mode 100644 index b0147d3..0000000 --- a/netstack/interface/deno.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "@flatracoon/sdk", - "version": "0.1.0", - "exports": "./src/FlatRacoonClient.res.js", - "tasks": { - "build": "deno run -A --node-modules-dir=auto npm:rescript build", - "clean": "deno run -A --node-modules-dir=auto npm:rescript clean", - "watch": "deno run -A --node-modules-dir=auto npm:rescript build -w", - "test": "deno test --allow-net tests/" - }, - "compilerOptions": { - "lib": [ - "deno.ns", - "deno.window" - ] - }, - "fmt": { - "useTabs": false, - "lineWidth": 100, - "indentWidth": 2, - "semiColons": false, - "singleQuote": false, - "proseWrap": "preserve" - }, - "lint": { - "rules": { - "tags": [ - "recommended" - ], - "include": [ - "ban-untagged-todo" - ] - } - }, - "imports": { - "@/": "./src/", - "rescript": "^12.0.0", - "@rescript/core": "npm:@rescript/core@^1.6.1" - } -} \ No newline at end of file diff --git a/netstack/orchestrator/assets/tsconfig.json b/netstack/orchestrator/assets/tsconfig.json deleted file mode 100644 index a9401b6..0000000 --- a/netstack/orchestrator/assets/tsconfig.json +++ /dev/null @@ -1,32 +0,0 @@ -// This file is needed on most editors to enable the intelligent autocompletion -// of LiveView's JavaScript API methods. You can safely delete it if you don't need it. -// -// Note: This file assumes a basic esbuild setup without node_modules. -// We include a generic paths alias to deps to mimic how esbuild resolves -// the Phoenix and LiveView JavaScript assets. -// If you have a package.json in your project, you should remove the -// paths configuration and instead add the phoenix dependencies to the -// dependencies section of your package.json: -// -// { -// ... -// "dependencies": { -// ..., -// "phoenix": "../deps/phoenix", -// "phoenix_html": "../deps/phoenix_html", -// "phoenix_live_view": "../deps/phoenix_live_view" -// } -// } -// -// Feel free to adjust this configuration however you need. -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "*": ["../deps/*"] - }, - "allowJs": true, - "noEmit": true - }, - "include": ["js/**/*"] -} diff --git a/os/.github/workflows/governance.yml b/os/.github/workflows/governance.yml index 6f0afb7..e76c61e 100644 --- a/os/.github/workflows/governance.yml +++ b/os/.github/workflows/governance.yml @@ -3,7 +3,7 @@ # in hyperpolymath/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, +# quality.yml, guix-guix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml, # security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml, # workflow-linter.yml # diff --git a/os/examples/web-project-deno.json b/os/examples/web-project-deno.json index 5ddd3bd..ee775a4 100644 --- a/os/examples/web-project-deno.json +++ b/os/examples/web-project-deno.json @@ -1,17 +1,17 @@ { - "// NOTE": "Example deno.json for ReScript web projects", + "// NOTE": "Example deno.json for AffineScript web projects", "tasks": { - "build": "deno run -A npm:rescript", - "clean": "deno run -A npm:rescript clean", - "watch": "deno run -A npm:rescript -w", + "build": "deno run -A npm:affinescript", + "clean": "deno run -A npm:affinescript clean", + "watch": "deno run -A npm:affinescript -w", "serve": "deno run -A jsr:@std/http/file-server .", "test": "deno test --allow-all" }, "imports": { - "rescript": "^12.0.0", - "@rescript/core": "npm:@rescript/core@^1.6.0", - "safe-dom/": "https://raw.githubusercontent.com/hyperpolymath/rescript-dom-mounter/main/src/", - "proven/": "../proven/bindings/rescript/src/" + "affinescript": "^12.0.0", + "@affinescript/core": "npm:@affinescript/core@^1.6.0", + "safe-dom/": "https://raw.githubusercontent.com/hyperpolymath/affinescript-dom-mounter/main/src/", + "proven/": "../proven/bindings/affinescript/src/" }, "compilerOptions": { "allowJs": true,