@intentius/behold 0.29.25 → 0.29.26
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.
- package/AGENTS.md +3 -1
- package/demos.json +15 -0
- package/dist/cli.js +604 -371
- package/example-choudoufu-estate/README.md +2 -2
- package/example-choudoufu-estate/scripts/choudoufu-up.sh +2 -2
- package/example-terralith/README.md +32 -0
- package/example-terralith/phases/adopt/migrations/adopt.yml +12 -0
- package/example-terralith/phases/adopt/terralith/main.tf +138 -0
- package/example-terralith/phases/split/migrations/split.yml +29 -0
- package/example-terralith/phases/split/team-a/main.tf +52 -0
- package/example-terralith/phases/split/team-b/main.tf +52 -0
- package/example-terralith/phases/split/team-c/main.tf +52 -0
- package/example-terralith/phases/split/terralith/main.tf +27 -0
- package/example-terralith/scripts/lib.sh +64 -0
- package/example-terralith/scripts/terralith-down.sh +9 -0
- package/example-terralith/scripts/terralith-step.sh +88 -0
- package/example-terralith/scripts/terralith-up.sh +50 -0
- package/example-terralith/terralith/main.tf +141 -0
- package/package.json +2 -1
- package/web/app.js +51 -7
- package/web/identity-mark.js +61 -0
- package/web/identity-mark.test.js +32 -0
- package/web/pending.js +2 -0
- package/web/pending.test.js +7 -0
- package/web/terralith-steps.js +93 -0
- package/web/terralith-steps.test.js +71 -0
- package/web/terralith.html +105 -0
- package/web/terralith.js +211 -0
- /package/example-choudoufu-estate/monolith/{carve.json → split.json} +0 -0
package/AGENTS.md
CHANGED
|
@@ -1058,7 +1058,9 @@ only navigates.
|
|
|
1058
1058
|
|
|
1059
1059
|
A choudoufu estate member (#366) adds no exception. A move there is one tag
|
|
1060
1060
|
write through choudoufu's own `live-mv`, and behold never makes it: `GET
|
|
1061
|
-
/api/choudoufu/
|
|
1061
|
+
/api/choudoufu/split` (also answered as `/api/choudoufu/moves`, its name before
|
|
1062
|
+
the split rename) reads a plan (`split.json`, or the workbench's `carve.json`)
|
|
1063
|
+
from inside a served member,
|
|
1062
1064
|
previews each move with choudoufu's `live-mv -json -dry-run` (the only spelling
|
|
1063
1065
|
of `live-mv` in the tree, src/choudoufu-moves.ts `dryRunArgs`, asserted by
|
|
1064
1066
|
test), hands the lines back with copy buttons, and `?receipt=1` reads the
|
package/demos.json
CHANGED
|
@@ -114,6 +114,21 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"name": "terralith",
|
|
119
|
+
"description": "A terralith, adopted and split, on a scratch floci. Phase 1 applies one stock Terraform root with 23 resources in one state file. Adopt runs terragucci's backends migration, in which choudoufu live-import stamps its marker on each resource it verifies. Split runs the moves migration, in which live-mv moves each team's resources into the team's own estate with one tag write each, and split.json records it. Each card shows whether its identity comes from its marker or from its name, and the cards glide into the team boxes as they appear. You run each phase's script line, and behold reads what it leaves. It requires choudoufu 0.28.0 or newer (or CHOUDOUFU_BIN) with Docker and curl, and providers download on first init. scripts/terralith-down.sh removes the container.",
|
|
120
|
+
"source": "bundled",
|
|
121
|
+
"dir": "example-terralith",
|
|
122
|
+
"requires": [
|
|
123
|
+
"docker",
|
|
124
|
+
"curl",
|
|
125
|
+
"choudoufu"
|
|
126
|
+
],
|
|
127
|
+
"setup": "bash scripts/terralith-up.sh",
|
|
128
|
+
"serve": {
|
|
129
|
+
"terralith": true
|
|
130
|
+
}
|
|
131
|
+
},
|
|
117
132
|
{
|
|
118
133
|
"name": "fountain",
|
|
119
134
|
"description": "The mature estate: self-hosted fountain (a real app) on a throwaway k3d cluster — tiers (try the ha tier picker), seams, drift, runtime Pods. Clones INTENTIUS/fountain-ops; ~5 minutes, mostly image pulls. `just down` in the clone removes the cluster.",
|