Skip to content

Commit 4e0fb08

Browse files
hyperpolymathclaude
andcommitted
feat(ux): add onboarding, contractiles, and UX infrastructure
- Purge hardcoded absolute paths (replaced with env vars / relative) - Add QUICKSTART-USER.adoc with real build/run instructions - Add doctor/heal/tour/help-me recipes to Justfile - Add LLM warmup scripts (user + dev, token-efficient) - Add contractile baselines: MUST, TRUST, INTENT, ADJUST - Add guix.scm + flake.nix for reproducible environments - Slim/create AI manifest with tiered context loading Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 02974e9 commit 4e0fb08

38 files changed

Lines changed: 1489 additions & 116 deletions

File tree

0-ai-gatekeeper-protocol/mcp-repo-guardian/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ project/
3737

3838
- Include `ai-cli-crash-capture/` and `contractiles/` from this template in new repos.
3939
- Mirror 6SCM files into `.machine_readable/` (NOT `.machine_readable/6scm/`).
40-
- Before any code generation, check `/var/mnt/eclipse/repos/proven` for the current Idris "unbreakable" library status.
40+
- Before any code generation, check `$REPOS_DIR/proven` for the current Idris "unbreakable" library status.
4141
- If a project uses that Idris library, add an *Idris Inside* badge to the repo.
42-
- If new bindings are required, add them in `/var/mnt/eclipse/repos/proven` as `idris2-zig-<language>` during the work.
43-
- If new code suggests additional "unbreakable" Idris modules, add them under `/var/mnt/eclipse/repos/proven` and update binders across all supported languages.
42+
- If new bindings are required, add them in `$REPOS_DIR/proven` as `idris2-zig-<language>` during the work.
43+
- If new code suggests additional "unbreakable" Idris modules, add them under `$REPOS_DIR/proven` and update binders across all supported languages.
4444

4545
== Standard Dependencies
4646

0-ai-gatekeeper-protocol/repo-guardian-fs/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ project/
6969
- **FIRST:** Customize `0-AI-MANIFEST.a2ml` for your repo before any other work
7070
- Include `ai-cli-crash-capture/` and `contractiles/` from this template in new repos.
7171
- Mirror 6SCM files into `.machine_readable/` (NOT `.machine_readable/6scm/`).
72-
- Before any code generation, check `/var/mnt/eclipse/repos/proven` for the current Idris "unbreakable" library status.
72+
- Before any code generation, check `$REPOS_DIR/proven` for the current Idris "unbreakable" library status.
7373
- If a project uses that Idris library, add an *Idris Inside* badge to the repo.
74-
- If new bindings are required, add them in `/var/mnt/eclipse/repos/proven` as `idris2-zig-<language>` during the work.
75-
- If new code suggests additional "unbreakable" Idris modules, add them under `/var/mnt/eclipse/repos/proven` and update binders across all supported languages.
74+
- If new bindings are required, add them in `$REPOS_DIR/proven` as `idris2-zig-<language>` during the work.
75+
- If new code suggests additional "unbreakable" Idris modules, add them under `$REPOS_DIR/proven` and update binders across all supported languages.
7676

7777
== Standard Dependencies
7878

a2ml/Justfile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ demo:
196196
# Run vector checks (prototype runner)
197197
vectors:
198198
@echo "Running vector checks..."
199-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
200-
/home/hyper/.deno/bin/deno run -A npm:rescript@latest build prototype/rescript; \
199+
@if [ -x deno ]; then \
200+
deno run -A npm:rescript@latest build prototype/rescript; \
201201
elif command -v deno >/dev/null 2>&1; then \
202202
deno run -A npm:rescript@latest build prototype/rescript; \
203203
elif command -v rescript >/dev/null 2>&1; then \
@@ -214,8 +214,8 @@ vectors:
214214
exit 1; \
215215
fi; \
216216
fi
217-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
218-
/home/hyper/.deno/bin/deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/RunVectors.bs.js; \
217+
@if [ -x deno ]; then \
218+
deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/RunVectors.bs.js; \
219219
elif command -v deno >/dev/null 2>&1; then \
220220
deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/RunVectors.bs.js; \
221221
elif command -v node >/dev/null 2>&1; then \
@@ -229,8 +229,8 @@ vectors:
229229
vectors-report:
230230
@echo "Running vector checks (report)..."
231231
@mkdir -p build
232-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
233-
/home/hyper/.deno/bin/deno run -A npm:rescript@latest build prototype/rescript; \
232+
@if [ -x deno ]; then \
233+
deno run -A npm:rescript@latest build prototype/rescript; \
234234
elif command -v deno >/dev/null 2>&1; then \
235235
deno run -A npm:rescript@latest build prototype/rescript; \
236236
elif command -v rescript >/dev/null 2>&1; then \
@@ -247,8 +247,8 @@ vectors-report:
247247
exit 1; \
248248
fi; \
249249
fi
250-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
251-
/home/hyper/.deno/bin/deno run --allow-read --allow-write --config prototype/rescript/deno.json prototype/rescript/src/RunReport.bs.js; \
250+
@if [ -x deno ]; then \
251+
deno run --allow-read --allow-write --config prototype/rescript/deno.json prototype/rescript/src/RunReport.bs.js; \
252252
elif command -v deno >/dev/null 2>&1; then \
253253
deno run --allow-read --allow-write --config prototype/rescript/deno.json prototype/rescript/src/RunReport.bs.js; \
254254
elif command -v node >/dev/null 2>&1; then \
@@ -260,8 +260,8 @@ vectors-report:
260260

261261
# Dump A2ML surface AST as JSON
262262
dump-ast path:
263-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
264-
/home/hyper/.deno/bin/deno run -A npm:rescript@latest build prototype/rescript; \
263+
@if [ -x deno ]; then \
264+
deno run -A npm:rescript@latest build prototype/rescript; \
265265
elif command -v deno >/dev/null 2>&1; then \
266266
deno run -A npm:rescript@latest build prototype/rescript; \
267267
elif command -v rescript >/dev/null 2>&1; then \
@@ -278,8 +278,8 @@ dump-ast path:
278278
exit 1; \
279279
fi; \
280280
fi
281-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
282-
/home/hyper/.deno/bin/deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/DumpAst.bs.js {{path}}; \
281+
@if [ -x deno ]; then \
282+
deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/DumpAst.bs.js {{path}}; \
283283
elif command -v deno >/dev/null 2>&1; then \
284284
deno run --allow-read --config prototype/rescript/deno.json prototype/rescript/src/DumpAst.bs.js {{path}}; \
285285
elif command -v node >/dev/null 2>&1; then \
@@ -322,8 +322,8 @@ package-cli:
322322

323323
# Run CLI (prototype)
324324
cli *args:
325-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
326-
/home/hyper/.deno/bin/deno run -A npm:rescript@latest build prototype/rescript; \
325+
@if [ -x deno ]; then \
326+
deno run -A npm:rescript@latest build prototype/rescript; \
327327
elif command -v deno >/dev/null 2>&1; then \
328328
deno run -A npm:rescript@latest build prototype/rescript; \
329329
elif command -v rescript >/dev/null 2>&1; then \
@@ -332,8 +332,8 @@ cli *args:
332332
echo "rescript not found; install the ReScript compiler." >&2; \
333333
exit 1; \
334334
fi
335-
@if [ -x /home/hyper/.deno/bin/deno ]; then \
336-
/home/hyper/.deno/bin/deno run --config prototype/rescript/deno.json prototype/rescript/src/Cli.bs.js {{args}}; \
335+
@if [ -x deno ]; then \
336+
deno run --config prototype/rescript/deno.json prototype/rescript/src/Cli.bs.js {{args}}; \
337337
elif command -v deno >/dev/null 2>&1; then \
338338
deno run --config prototype/rescript/deno.json prototype/rescript/src/Cli.bs.js {{args}}; \
339339
elif command -v node >/dev/null 2>&1; then \

a2ml/actions/validate/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/bindings/deno/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/bindings/haskell/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/bindings/rust/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/editors/vscode/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/pandoc/docs/governance/MAINTENANCE-CHECKLIST.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Do **not** move the following out of root if you want default tool behavior:
140140
Use the helper script first, then use the checklist for deeper/manual follow-up.
141141

142142
Script locations:
143-
- `/var/mnt/eclipse/repos/run-maintenance.sh`
143+
- `$REPOS_DIR/run-maintenance.sh`
144144
- `~/Desktop/run-maintenance.sh`
145145

146146
```bash
@@ -259,7 +259,7 @@ find . -type f \( -name '*.idr' -o -name '*.idris2' -o -name '*.zig' \)
259259
- [ ] Re-run until acceptable.
260260
261261
```bash
262-
PANIC_BIN="/var/mnt/eclipse/repos/panic-attacker/target/release/panic-attack"
262+
PANIC_BIN="${REPOS_DIR:-$HOME/Documents/hyperpolymath-repos}/panic-attacker/target/release/panic-attack"
263263
"$PANIC_BIN" assail "$REPO" --output /tmp/assail.json --output-format json --quiet
264264
jq -r '.weak_points | length' /tmp/assail.json
265265
jq -r '.weak_points[] | "\(.severity)|\(.location)|\(.description)"' /tmp/assail.json
@@ -550,20 +550,20 @@ Fail closed: if evidence is missing for any checklist item, treat that item as N
550550
For centralized coverage across existing and new repos:
551551

552552
```bash
553-
cd /var/mnt/eclipse/repos/gitbot-fleet
553+
cd "$REPOS_DIR/gitbot-fleet"
554554
just enroll-repos
555555
```
556556

557557
Optional directive write-back to repos that already have `.machine_readable/`:
558558

559559
```bash
560-
cd /var/mnt/eclipse/repos/gitbot-fleet
561-
just enroll-repos /var/mnt/eclipse/repos true
560+
cd "$REPOS_DIR/gitbot-fleet"
561+
just enroll-repos "$REPOS_DIR" true
562562
```
563563

564564
Release hard gate from fleet:
565565

566566
```bash
567-
cd /var/mnt/eclipse/repos/gitbot-fleet
567+
cd "$REPOS_DIR/gitbot-fleet"
568568
just maintenance-hard-pass /absolute/path/to/repo
569569
```

a2ml/prototype/wasm/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
= A2ML WASM Prototype (ReScript + rescript-wasm-runtime)
33

44
This prototype demonstrates a direct-to-WASM flow using the
5-
`rescript-wasm-runtime` project at `/var/mnt/eclipse/repos/rescript-wasm-runtime`.
5+
`rescript-wasm-runtime` project (sibling repo `rescript-wasm-runtime`).
66

77
== What it shows
88

0 commit comments

Comments
 (0)