Update random/human_in_the_loop.md
This commit is contained in:
@@ -85,3 +85,66 @@ Prime Entropy Anchor – how it works in practice
|
||||
|
||||
5. Silent gaps
|
||||
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.
|
||||
Reference in New Issue
Block a user