From ce14b94520eed59c8ac28e220cc4552c01d9af9e Mon Sep 17 00:00:00 2001 From: medusa Date: Sat, 16 Aug 2025 19:48:29 -0500 Subject: [PATCH] Update random/human_in_the_loop.md --- random/human_in_the_loop.md | 65 ++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/random/human_in_the_loop.md b/random/human_in_the_loop.md index 212be89..403a1fb 100644 --- a/random/human_in_the_loop.md +++ b/random/human_in_the_loop.md @@ -84,4 +84,67 @@ Prime Entropy Anchor – how it works in practice Because the seed’s prime-factorisation is unique (fundamental theorem of arithmetic), any downstream value can be **reverse-verified** against the anchor list in a single `factor` command. 5. Silent gaps - Addresses ending in one of the eleven primes are **left empty**, creating predictable “quiet ticks” across the clock-face split. \ No newline at end of file + Addresses ending in one of the eleven primes are **left empty**, creating predictable “quiet ticks” across the clock-face split. + +Below is the **minimum-survival guide** for editing `mycorp.cue`. +Everything is **additive or override**; nothing ever breaks the eight axioms. + +──────────────────────────────────────── +1. Open the file +```bash +nano mycorp.cue # or code / vim / etc. +``` + +──────────────────────────────────────── +2. Add, change, or delete only **leaf values** +| Task | Example snippet | +|---|---| +| **Add a new VLAN** | +```cue +zones: newlab: { + ipv4: "10.0.50.0/24" + ipv6: "2001:db8:c0de:5000::/64" +} +``` +| **Change DHCP pool size** | +```cue +meta.clockFace.dhcp: [129, 200] // instead of 254 +``` +| **Insert a new role** | +```cue +meta.pianoKeys.roles: ["gw", "ns", "web", "db", "cam", "work", "prnt", "stor", "iot"] +``` +| **Override max glyph count** | +```cue +meta.maxGlyph: 4 +``` + +──────────────────────────────────────── +3. Validate before committing +```bash +cue vet mycorp.cue # syntax & axiom check +``` + +──────────────────────────────────────── +4. Generate any artifact +```bash +# dnsmasq configs +cue eval -e '#dnsmasqConfig' -c mycorp.cue + +# Ansible inventory +cue eval -e '#ansibleInventory' -c mycorp.cue + +# Pretty JSON dump +cue export mycorp.cue +``` + +──────────────────────────────────────── +5. Re-run deploy +```bash +./deploy.sh # idempotent; only diffs apply +``` + +──────────────────────────────────────── +6. Golden rule +**Only change leaf values**. +Never touch the eight axioms themselves; they are **laws**, not suggestions. \ No newline at end of file