Skip to content

Commit c8406e6

Browse files
hyperpolymathclaude
andcommitted
chore: reconcile local history with origin (R-16/R-24)
Owner rulings R-24 + R-28a/R-28b (2026-08-28): full reconciliation - merge the advanced remote and publish local history. Workflow conflicts resolved origin-side per R-28a; non-workflow conflicts resolved per the supervisor's per-class rulings (forensics/r16-r28b-class-rulings-2026-08-28.md); every discarded local hunk recorded in a forensics diff report. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2 parents 533ccd5 + 9ecce58 commit c8406e6

106 files changed

Lines changed: 4494 additions & 3150 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ The following files in `.machine_readable/` contain structured project metadata:
2323

2424
| Language/Tool | Use Case | Notes |
2525
|---------------|----------|-------|
26-
| **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or Deno-ESM |
27-
| **Deno** | Runtime & package management | Replaces Node/npm/bun |
26+
| **AffineScript** | Primary application code | Affine-typed, compiles to typed-wasm or ESM |
27+
| **Bun** | JS runtime & package management (tier 1) | Default for all new work. Runs compiled ESM/JS directly — no bundler step. Uses an npm-compatible `package.json` plus `bun.lock` — both are expected, not anti-patterns. |
2828
| **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools |
2929
| **Tauri 2.0+** | Mobile apps (iOS/Android) | Rust backend + web UI |
3030
| **Dioxus** | Mobile apps (native UI) | Pure Rust, React-like |
3131
| **Gleam** | Backend services | Runs on BEAM or compiles to JS |
3232
| **Bash/POSIX Shell** | Scripts, automation | Keep minimal |
33-
| **JavaScript** | Only where AffineScript cannot | MCP protocol glue, Deno APIs |
33+
| **JavaScript** | Only where AffineScript cannot | MCP protocol glue, Bun APIs |
3434
| **Nickel** | Configuration language | For complex configs |
3535
| **Guile Scheme** | State/meta files | .machine_readable/6a2/STATE.a2ml, .machine_readable/6a2/META.a2ml, .machine_readable/6a2/ECOSYSTEM.a2ml |
3636
| **Julia** | Batch scripts, data processing | Per RSR |
@@ -42,10 +42,11 @@ The following files in `.machine_readable/` contain structured project metadata:
4242
| Banned | Replacement |
4343
|--------|-------------|
4444
| TypeScript | AffineScript |
45-
| Node.js | Deno |
46-
| npm | Deno |
47-
| Bun | Deno |
48-
| pnpm/yarn | Deno |
45+
| ReScript | AffineScript |
46+
| Deno | Bun |
47+
| Node.js | Bun |
48+
| npm | Bun |
49+
| pnpm/yarn | Bun |
4950
| Go | Rust |
5051
| Python | Julia/Rust/AffineScript |
5152
| Java/Kotlin | Rust/Tauri/Dioxus |
@@ -65,17 +66,17 @@ Both are FOSS with independent governance (no Big Tech).
6566
### Enforcement Rules
6667

6768
1. **No new TypeScript files** - Convert existing TS to AffineScript
68-
2. **No package.json - use deno.json deps** - Use deno.json imports
69-
3. **No node_modules in production** - Deno caches deps automatically
69+
2. **Use `package.json` + `bun.lock` for JS runtime deps** - Bun is npm-compatible; a manifest is REQUIRED
70+
3. **`bun install --production --frozen-lockfile` for production deps** - resolved from `package.json` and pinned via `bun.lock`; `--frozen-lockfile` makes a lockfile mismatch a build failure rather than a silent re-resolve
7071
4. **No Go code** - Use Rust instead
7172
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, AffineScript for apps
7273
6. **No Kotlin/Swift for mobile** - Use Tauri 2.0+ or Dioxus
7374

7475
### Package Management
7576

7677
- **Primary**: Guix (guix.scm)
77-
- **Fallback**: Nix (flake.nix)
78-
- **JS deps**: Deno (deno.json imports)
78+
- **Fallback**: Guix (flake.guix)
79+
- **JS deps**: Bun (`package.json` + `bun.lock`). Declare tooling as a devDependency and run `bunx --no-install --bun <tool>` — a bare `bunx <tool>` can fetch an unpinned package and may start Node via its shebang.
7980

8081
### Security Requirements
8182

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ updates:
3030
actions:
3131
patterns:
3232
- "*"
33-
- package-ecosystem: "nix"
33+
- package-ecosystem: "guix"
3434
directory: "/"
3535
schedule:
3636
interval: "weekly"

0 commit comments

Comments
 (0)