Skip to content

Commit 5c340de

Browse files
committed
chore: flatten self-validating directory structure
1 parent 965d0f7 commit 5c340de

330 files changed

Lines changed: 963 additions & 159 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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
## Machine-Readable Artefacts
26

37
The following files in `.machine_readable/` contain structured project metadata:
@@ -19,14 +23,14 @@ The following files in `.machine_readable/` contain structured project metadata:
1923

2024
| Language/Tool | Use Case | Notes |
2125
|---------------|----------|-------|
22-
| **ReScript** | Primary application code | Compiles to JS, type-safe |
26+
| **AffineScript** | Primary application code | Compiles to JS, type-safe |
2327
| **Deno** | Runtime & package management | Replaces Node/npm/bun |
2428
| **Rust** | Performance-critical, systems, WASM | Preferred for CLI tools |
2529
| **Tauri 2.0+** | Mobile apps (iOS/Android) | Rust backend + web UI |
2630
| **Dioxus** | Mobile apps (native UI) | Pure Rust, React-like |
2731
| **Gleam** | Backend services | Runs on BEAM or compiles to JS |
2832
| **Bash/POSIX Shell** | Scripts, automation | Keep minimal |
29-
| **JavaScript** | Only where ReScript cannot | MCP protocol glue, Deno APIs |
33+
| **JavaScript** | Only where AffineScript cannot | MCP protocol glue, Deno APIs |
3034
| **Nickel** | Configuration language | For complex configs |
3135
| **Guile Scheme** | State/meta files | STATE.scm, META.scm, ECOSYSTEM.scm |
3236
| **Julia** | Batch scripts, data processing | Per RSR |
@@ -37,13 +41,13 @@ The following files in `.machine_readable/` contain structured project metadata:
3741

3842
| Banned | Replacement |
3943
|--------|-------------|
40-
| TypeScript | ReScript |
44+
| TypeScript | AffineScript |
4145
| Node.js | Deno |
4246
| npm | Deno |
4347
| Bun | Deno |
4448
| pnpm/yarn | Deno |
4549
| Go | Rust |
46-
| Python | Julia/Rust/ReScript |
50+
| Python | Julia/Rust/AffineScript |
4751
| Java/Kotlin | Rust/Tauri/Dioxus |
4852
| Swift | Tauri/Dioxus |
4953
| React Native | Tauri/Dioxus |
@@ -53,18 +57,18 @@ The following files in `.machine_readable/` contain structured project metadata:
5357

5458
**No exceptions for Kotlin/Swift** - use Rust-first approach:
5559

56-
1. **Tauri 2.0+** - Web UI (ReScript) + Rust backend, MIT/Apache-2.0
60+
1. **Tauri 2.0+** - Web UI (AffineScript) + Rust backend, MIT/Apache-2.0
5761
2. **Dioxus** - Pure Rust native UI, MIT/Apache-2.0
5862

5963
Both are FOSS with independent governance (no Big Tech).
6064

6165
### Enforcement Rules
6266

63-
1. **No new TypeScript files** - Convert existing TS to ReScript
64-
2. **No package.json for runtime deps** - Use deno.json imports
67+
1. **No new TypeScript files** - Convert existing TS to AffineScript
68+
2. **No package.json - use deno.json deps** - Use deno.json imports
6569
3. **No node_modules in production** - Deno caches deps automatically
6670
4. **No Go code** - Use Rust instead
67-
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, ReScript for apps
71+
5. **No Python anywhere** - Use Julia for data/batch, Rust for systems, AffineScript for apps
6872
6. **No Kotlin/Swift for mobile** - Use Tauri 2.0+ or Dioxus
6973

7074
### Package Management

.claude/PROJECT.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-License-Identifier: MPL-2.0
3+
Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
4+
-->
15
# My Lang - Claude Code Instructions
26

37
This repository contains the My Lang programming language implementation.

.github/workflows/cflite_batch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions: read-all
88
jobs:
99
BatchFuzzing:
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 15
1112
strategy:
1213
fail-fast: false
1314
matrix:
@@ -26,6 +27,7 @@ permissions: read-all
2627
jobs:
2728
fuzz:
2829
runs-on: ubuntu-latest
30+
timeout-minutes: 15
2931
steps:
3032
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3133
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

.github/workflows/cflite_pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions: read-all
1313
jobs:
1414
PR:
1515
runs-on: ubuntu-latest
16+
timeout-minutes: 15
1617
strategy:
1718
fail-fast: false
1819
matrix:
@@ -29,6 +30,7 @@ permissions: read-all
2930
jobs:
3031
fuzz:
3132
runs-on: ubuntu-latest
33+
timeout-minutes: 15
3234
steps:
3335
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3436
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1

.github/workflows/checker-scaling.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
matrix:
3030
os: [ubuntu-latest, windows-latest]
3131
runs-on: ${{ matrix.os }}
32+
timeout-minutes: 15
3233
permissions:
3334
contents: read
3435
steps:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ permissions: read-all
2323
jobs:
2424
analyze:
2525
runs-on: ubuntu-latest
26+
timeout-minutes: 15
2627
permissions:
2728
contents: read
2829
security-events: write

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ permissions:
3232
jobs:
3333
governance:
3434
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@861b5e911d9e5dcfb3c0ab3dd2a9a3c8fd0a1613
35+
timeout-minutes: 10

.github/workflows/hypatia-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ permissions:
2525

2626
jobs:
2727
hypatia:
28-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@915139d73560e65a8240b8fc7768698658502c89
28+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@6cd3772824e59c8c9affeab66061e25383544242
29+
timeout-minutes: 10
2930
secrets: inherit

.github/workflows/mirror.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ permissions:
1212
jobs:
1313
mirror:
1414
uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@e6b2884722350515934d443daf23442f2195796f
15+
timeout-minutes: 10
1516
secrets: inherit

.github/workflows/scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ permissions: read-all
1313
jobs:
1414
analysis:
1515
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@e0caf11508a3989574713c78f5f444f2ce5e33ef
16+
timeout-minutes: 10
1617
secrets: inherit

0 commit comments

Comments
 (0)