@lennaertds/cardine-lab 0.0.0-stage → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +78 -0
  2. package/README.md +192 -2
  3. package/bin/cardine-lab +52 -0
  4. package/cardine-bwrap +215 -0
  5. package/cardine-secrets-guard/index.js +196 -0
  6. package/cardine-secrets-guard/index.test.js +188 -0
  7. package/cardine-secrets-guard/package.json +9 -0
  8. package/cardine-slice-check/index.js +74 -0
  9. package/cardine-slice-check/package.json +9 -0
  10. package/cardine-status.sh +564 -0
  11. package/docs/VERSIONING.md +86 -0
  12. package/docs/cardine-lab.md +94 -0
  13. package/install-lab.sh +655 -0
  14. package/package.json +31 -4
  15. package/scripts/check-bwrap-secrets.sh +188 -0
  16. package/scripts/check-links.sh +81 -0
  17. package/scripts/check-sandbox.sh +129 -0
  18. package/scripts/check-secrets-repo.sh +100 -0
  19. package/scripts/check-secrets.sh +124 -0
  20. package/scripts/deps-audit.sh +145 -0
  21. package/scripts/digest-check.sh +36 -0
  22. package/scripts/digest-fetch.sh +114 -0
  23. package/scripts/digest-propose.sh +94 -0
  24. package/scripts/digest-reminder.sh +27 -0
  25. package/scripts/digest-rss.py +223 -0
  26. package/scripts/digest-week.sh +184 -0
  27. package/scripts/install-digest-timers.sh +12 -0
  28. package/scripts/native-ffi.sh +113 -0
  29. package/scripts/perf-check.sh +31 -0
  30. package/scripts/polyglot-check.sh +32 -0
  31. package/scripts/radar-check.sh +44 -0
  32. package/scripts/radar-reminder.sh +46 -0
  33. package/scripts/secrets-apply.sh +144 -0
  34. package/scripts/secrets-init.sh +31 -0
  35. package/scripts/security-scan.sh +57 -0
  36. package/systemd/digest-fetch.service +13 -0
  37. package/systemd/digest-fetch.timer +9 -0
  38. package/systemd/digest-week.service +13 -0
  39. package/systemd/digest-week.timer +9 -0
@@ -0,0 +1,94 @@
1
+ # Package: `cardine-lab`
2
+
3
+ > **Een reproduceerbaar AI-agent-werkstation voor Arch Linux / Hyprland.**
4
+ > Installeert toolchain, sandbox, indexering en editor-koppeling in één idempotent script.
5
+
6
+ | Veld | Waarde |
7
+ |------|--------|
8
+ | **Package** | `cardine-lab` |
9
+ | **Doelgroep** | Wie een AI-agent-werkstation wil op Arch Linux / Hyprland |
10
+ | **Bron** | `cardine/packages/lab/` |
11
+ | **Installatie** | `curl … \| bash`, npm, later AUR |
12
+ | **Afhankelijk van** | niets (alles-in-één installer) |
13
+
14
+ ---
15
+
16
+ ## Inhoud
17
+
18
+ Alles in `packages/lab/`:
19
+
20
+ | Bestand | Rol |
21
+ |---------|-----|
22
+ | `install-lab.sh` | Hoofdscript — idempotent, installeert DSH + Jarvis + bwrap + Zed-config |
23
+ | `cardine-bwrap` | Strakkere bwrap-kooi voor de agent-shell (ADR 0007) |
24
+ | `cardine-status.sh` | Status-check voor DSH, Jarvis en tools |
25
+ | `cardine-slice-check/` | Node-module voor `make check` na een turn |
26
+ | `scripts/` | Tool-scripts (digest, security, radar, audit, …) |
27
+ | `systemd/` | Timer-units voor digest-fetch en digest-week |
28
+
29
+ ### Mapstructuur
30
+
31
+ ```
32
+ packages/lab/
33
+ ├── CHANGELOG.md
34
+ ├── README.md
35
+ ├── install-lab.sh
36
+ ├── cardine-bwrap
37
+ ├── cardine-status.sh
38
+ ├── cardine-slice-check/
39
+ │ ├── index.js
40
+ │ └── package.json
41
+ ├── scripts/
42
+ │ ├── check-links.sh
43
+ │ ├── deps-audit.sh
44
+ │ ├── security-scan.sh
45
+ │ ├── perf-check.sh
46
+ │ ├── polyglot-check.sh
47
+ │ ├── radar-check.sh
48
+ │ ├── radar-reminder.sh
49
+ │ ├── native-ffi.sh
50
+ │ ├── digest-check.sh
51
+ │ ├── digest-fetch.sh
52
+ │ ├── digest-propose.sh
53
+ │ ├── digest-reminder.sh
54
+ │ ├── digest-rss.py
55
+ │ ├── digest-week.sh
56
+ │ └── install-digest-timers.sh
57
+ └── systemd/
58
+ ├── digest-fetch.service
59
+ ├── digest-fetch.timer
60
+ ├── digest-week.service
61
+ └── digest-week.timer
62
+ ```
63
+
64
+ ## Wat is NIET voor publiek (blijft in `kit/` privé)
65
+
66
+ | Onderdeel | Reden |
67
+ |-----------|-------|
68
+ | `systemd/*.service` met `_jouwgebruiker_` placeholder | Per-machine config; kopieer en pas aan |
69
+ | Persoonlijke keys in `~/.dsh/.env` | Altijd lokaal, nooit in git |
70
+ | Sibling-repo-verbindingen | Sibling-repo, niet publiek |
71
+
72
+ ## Installatie
73
+
74
+ ```bash
75
+ # Optie A: direct via curl
76
+ bash <(curl -fsSL https://raw.githubusercontent.com/Lennaertds/cardine/main/packages/lab/install-lab.sh)
77
+
78
+ # Optie B: via GitHub release (zip/tarball)
79
+ # Optie C: later als AUR-package (PKGBUILD)
80
+ # Optie D: via npm (npm install -g @lennaertds/cardine-lab)
81
+ ```
82
+
83
+ ## Relaties
84
+
85
+ - Maakt deel uit van de **cardine (meta)**-verwijzingen
86
+ - Installeert DSH, Zed-config en bwrap — de fundamenten van het werkstation
87
+ - `cardine-slice-check` blijft in dit package tot er een andere afnemer is
88
+ - Tool-scripts worden naar projecten gekopieerd via `cardine-structure`
89
+
90
+ ## Versiebeheer
91
+
92
+ Zie [VERSIONING.md](VERSIONING.md) voor het algemene schema.
93
+ CHANGELOG: `packages/lab/CHANGELOG.md` (eigen versie, SemVer).
94
+ Git-tag: `lab-v<semver>`.