@intentius/behold 0.16.0 → 0.18.0
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 +541 -8
- package/LICENSE +190 -0
- package/README.md +56 -4
- package/THIRD_PARTY.md +75 -0
- package/demos.json +78 -15
- package/dist/cli.js +4605 -1259
- package/example-choudoufu-estate/.behold.json +8 -0
- package/example-choudoufu-estate/README.md +48 -0
- package/example-choudoufu-estate/monolith/behaviour.live.json +495 -0
- package/example-choudoufu-estate/monolith/carve.json +12 -0
- package/example-choudoufu-estate/monolith/main.tf +127 -0
- package/example-choudoufu-estate/scripts/choudoufu-down.sh +8 -0
- package/example-choudoufu-estate/scripts/choudoufu-up.sh +62 -0
- package/example-choudoufu-estate/team-a/behaviour.live.json +179 -0
- package/example-choudoufu-estate/team-a/main.tf +58 -0
- package/example-choudoufu-estate/team-b/behaviour.live.json +179 -0
- package/example-choudoufu-estate/team-b/main.tf +73 -0
- package/example-choudoufu-estate/team-c/behaviour.live.json +179 -0
- package/example-choudoufu-estate/team-c/main.tf +51 -0
- package/licenses/cncf-artwork-LICENSE.md +13 -0
- package/licenses/iTerm2-Color-Schemes-LICENSE +31 -0
- package/licenses/kubernetes-icons-LICENSE +201 -0
- package/package.json +24 -7
- package/web/app.js +932 -21
- package/web/behaviour-scale.js +380 -0
- package/web/behaviour-scale.test.js +307 -0
- package/web/cross-env.js +58 -0
- package/web/cross-env.test.js +61 -0
- package/web/index.html +39 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding any notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2026 Intentius
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ drift — then act through delegated, gated Ops.
|
|
|
8
8
|
gets you to a running graph without reading anything else first.
|
|
9
9
|
|
|
10
10
|
Where Argo CD shows one cluster's tree, behold shows the mixed-substrate estate:
|
|
11
|
-
cloud drift on AWS, supply-chain drift on GitHub Actions, artifact presence
|
|
12
|
-
each substrate's own kind of truth, in one picture.
|
|
11
|
+
cloud drift on AWS, supply-chain drift on GitHub Actions, artifact presence and
|
|
12
|
+
render provenance on Helm — each substrate's own kind of truth, in one picture.
|
|
13
13
|
|
|
14
14
|
```
|
|
15
15
|
chant source ──build/lint──▶ graph IR ──behold──▶ live graph + drift + (delegated) actions
|
|
@@ -32,8 +32,28 @@ There's a whole catalog — `behold demo --list` names the rest (`behold demo
|
|
|
32
32
|
k8s` stands the same loop up on a throwaway k3d cluster: runtime Pods, field
|
|
33
33
|
ownership; `behold demo argo-estate` needs nothing at all — a three-project
|
|
34
34
|
Argo CD estate, declared only, so it runs where Docker doesn't; `behold demo
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
choudoufu-estate` is four tag-owned OpenTofu estates served composed, where a
|
|
36
|
+
card's colour is **ownership** — bound, unowned, pending — and not "nothing
|
|
37
|
+
changed": a resource whose attributes drifted out of band still carries its
|
|
38
|
+
markers and is still green, so attribute drift is a separate read you ask for
|
|
39
|
+
with ⌘K → "Re-check live with plan"; `behold demo carve` is the Terraform peel
|
|
40
|
+
walkthrough, below). Every loaded demo lands in the panel's recents, so
|
|
41
|
+
switching between them is the Scope tab.
|
|
42
|
+
|
|
43
|
+
Working in a checkout rather than an npm install? There is a second catalog,
|
|
44
|
+
`workbench.json`, which is this checkout's and is not shipped — it is
|
|
45
|
+
deliberately absent from package.json's `files`, so an npm install has
|
|
46
|
+
`demos.json` and nothing else. It holds the eleven internal estates behold is
|
|
47
|
+
developed against, named by relative path from this repo's root, so an entry
|
|
48
|
+
whose sibling checkout you don't have says so in `--list` instead of failing
|
|
49
|
+
halfway: chant's own two examples and water park's `access/` Terraform roots
|
|
50
|
+
served in place, `../fountain-ops` on its own k3d cluster, the live-mv
|
|
51
|
+
workbench's four estates, three `estate-gen` cohorts, and the generated
|
|
52
|
+
terralith at scale 1 and 4 — greenfield, and adopted from a stock `terraform
|
|
53
|
+
apply` by a `live-import` you run by hand. `just example terralith-4` serves
|
|
54
|
+
one (`just example name="<entry>"`); each that boots a substrate brings up its
|
|
55
|
+
own scratch emulator and leaves a `scripts/down.sh` in the target that removes
|
|
56
|
+
it. `just e2e-workbench` loads the whole catalog and asserts each graph.
|
|
37
57
|
|
|
38
58
|
The catalog is in the panel too (#268): the Scope tab's switcher lists every
|
|
39
59
|
bundled demo under your recents, one click to copy, install and serve it —
|
|
@@ -354,6 +374,38 @@ render and the graph loads with no tier selected — the default for any project
|
|
|
354
374
|
that doesn't opt in. There's no other tier config surface (not
|
|
355
375
|
`chant.config.ts`, not an env var behold guesses the name of).
|
|
356
376
|
|
|
377
|
+
### Deploy executors — `executor`
|
|
378
|
+
|
|
379
|
+
The same file can designate which forge deploys an environment (#165):
|
|
380
|
+
|
|
381
|
+
```json
|
|
382
|
+
{
|
|
383
|
+
"executor": {
|
|
384
|
+
"prod": { "forge": "github", "workflow": "deploy-prod.yml" }
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
It names the committed **workflow**, not just the forge, because two
|
|
390
|
+
environments' generated pipelines carry identical job ids and a picker cannot
|
|
391
|
+
tell them apart. For a designated environment the Deploy button dispatches that
|
|
392
|
+
workflow through your own `gh` login and follows the run on the dial; a local
|
|
393
|
+
apply, a committed ApplyOp for that environment, and auto-sync are all refused
|
|
394
|
+
(`409 executor-forge`), and rollback is withheld. Any approval the workflow's
|
|
395
|
+
GitHub environment requires is granted on GitHub, by your identity there — the
|
|
396
|
+
dial links the run's page and offers nothing else, because behold holds no
|
|
397
|
+
identity that could clear a forge gate. A designation behold cannot honour (a
|
|
398
|
+
typo'd forge, a missing workflow, one without `workflow_dispatch`) disables
|
|
399
|
+
Deploy for that environment with the reason, and never falls back to running
|
|
400
|
+
it on your machine. The workflow is read from the `.github/workflows` of the
|
|
401
|
+
repository the project belongs to, so a project that is one directory of a
|
|
402
|
+
monorepo works as-is.
|
|
403
|
+
|
|
404
|
+
A dispatched run's id is kept under `~/.behold/ci-runs/` — the operator's own
|
|
405
|
+
state, outside the project — so a behold restarted mid-deploy re-adopts the run
|
|
406
|
+
and keeps following it. A follow whose stream dies is reported as `lost`, never
|
|
407
|
+
as a verdict; `just e2e-ci-github` proves the whole contract against GitHub.
|
|
408
|
+
|
|
357
409
|
### The hand-layout sidecar — `.behold/layout.json`
|
|
358
410
|
|
|
359
411
|
dagre places your nodes; you can move them. Drag a card, resize a containment
|
package/THIRD_PARTY.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Third-party bundled data
|
|
2
|
+
|
|
3
|
+
## Color themes (`web/themes.js`)
|
|
4
|
+
|
|
5
|
+
The full corpus of color schemes vendored in [`web/themes.js`](./web/themes.js) is generated
|
|
6
|
+
from **[iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes)** (MIT) — the
|
|
7
|
+
collection bundled by the [Ghostty](https://ghostty.org) terminal — at a pinned commit (see the
|
|
8
|
+
header of `web/themes.js` for the exact revision and source URL).
|
|
9
|
+
|
|
10
|
+
The bundled license is retained verbatim at
|
|
11
|
+
[`licenses/iTerm2-Color-Schemes-LICENSE`](./licenses/iTerm2-Color-Schemes-LICENSE).
|
|
12
|
+
|
|
13
|
+
Individual theme families — **Catppuccin, Dracula, Nord, Gruvbox, Tokyo Night, Solarized,
|
|
14
|
+
Rosé Pine**, and many others — are the work of their respective authors and carry their own
|
|
15
|
+
licenses; iTerm2-Color-Schemes aggregates them with attribution. Nothing here is modified: the
|
|
16
|
+
palettes are used as published.
|
|
17
|
+
|
|
18
|
+
## Kubernetes resource icons (`web/icons/k8s/`)
|
|
19
|
+
|
|
20
|
+
The 30 SVGs in [`web/icons/k8s/`](./web/icons/k8s) are the unlabeled resource set from
|
|
21
|
+
**[kubernetes/community](https://github.com/kubernetes/community)**, taken from
|
|
22
|
+
`icons/svg/resources/unlabeled/` at pinned revision
|
|
23
|
+
[`920f1d89`](https://github.com/kubernetes/community/tree/920f1d89cb3d0a7ff0591ef9223864c552f9e589/icons/svg/resources/unlabeled).
|
|
24
|
+
The set is dual-licensed **Apache-2.0 OR CC-BY-4.0**; behold uses it under **Apache-2.0**.
|
|
25
|
+
The bundled license is retained verbatim at
|
|
26
|
+
[`licenses/kubernetes-icons-LICENSE`](./licenses/kubernetes-icons-LICENSE).
|
|
27
|
+
|
|
28
|
+
The Kubernetes logo and name are trademarks of The Linux Foundation, used here only to
|
|
29
|
+
identify Kubernetes resources. behold is not affiliated with, sponsored by, or endorsed by
|
|
30
|
+
the Kubernetes project or The Linux Foundation.
|
|
31
|
+
|
|
32
|
+
What is modified: lightly minified, otherwise as published. The XML prolog, comments and
|
|
33
|
+
Inkscape editor state (`<metadata>`, `<sodipodi:namedview>`) are dropped, inter-tag whitespace
|
|
34
|
+
is collapsed, and `id`/`class` names are namespaced per file so several icon bodies inlined
|
|
35
|
+
into one document cannot collide. No geometry is touched; every path is byte-identical to
|
|
36
|
+
upstream. [`scripts/vendor-icons.mjs`](./scripts/vendor-icons.mjs) re-fetches the corpus at
|
|
37
|
+
the pinned revision, and `--check` asserts the working tree still matches it.
|
|
38
|
+
|
|
39
|
+
At render time one further step happens to the copy in memory, never to the file on disk:
|
|
40
|
+
[`src/icon-packs.ts`](./src/icon-packs.ts) splices each body into the graph SVG without its
|
|
41
|
+
root `<svg>`, so the remaining `inkscape:`/`sodipodi:` attributes — which that root declared
|
|
42
|
+
the namespaces for — are dropped and `xlink:href` becomes the plain SVG 2 `href`. Editor
|
|
43
|
+
state only; nothing that paints.
|
|
44
|
+
|
|
45
|
+
## Flux, Argo and Helm project marks (`web/icons/cncf/`)
|
|
46
|
+
|
|
47
|
+
The three marks in [`web/icons/cncf/`](./web/icons/cncf) are the color icon variants from
|
|
48
|
+
**[cncf/artwork](https://github.com/cncf/artwork)** at pinned revision
|
|
49
|
+
[`bad6b7fd`](https://github.com/cncf/artwork/tree/bad6b7fd04344be33d79b4ad60d9ea83321d690c),
|
|
50
|
+
taken from `projects/flux/icon/color/`, `projects/argo/icon/color/` and
|
|
51
|
+
`projects/helm/icon/color/`.
|
|
52
|
+
|
|
53
|
+
cncf/artwork makes its artwork available under the **Linux Foundation trademark usage
|
|
54
|
+
guidelines**, retained verbatim at
|
|
55
|
+
[`licenses/cncf-artwork-LICENSE.md`](./licenses/cncf-artwork-LICENSE.md). behold's use is
|
|
56
|
+
nominative: each mark appears only on the graph node for a resource of that project, to say
|
|
57
|
+
which project the resource belongs to. Flux, Argo and Helm are trademarks of The Linux
|
|
58
|
+
Foundation, and their appearance here implies no affiliation with, sponsorship by, or
|
|
59
|
+
endorsement from those projects, the CNCF, or The Linux Foundation.
|
|
60
|
+
|
|
61
|
+
What is modified: the same light minification and per-file namespacing as the Kubernetes set,
|
|
62
|
+
described above. No geometry, no color and no proportion is altered, which is what the usage
|
|
63
|
+
guidelines require.
|
|
64
|
+
|
|
65
|
+
At render time the Helm mark alone is given a background, never the file on disk (#246). The
|
|
66
|
+
`icon/color` variants are drawn for a light ground, and the Helm one is the only mark in the
|
|
67
|
+
set that is line art on transparent rather than a filled badge — so at the 22px card slot it
|
|
68
|
+
would read against whatever the graph card happens to be, which on a dark theme is near-black.
|
|
69
|
+
[`src/icon-packs.ts`](./src/icon-packs.ts) therefore paints an opaque white square behind it
|
|
70
|
+
and scales the mark uniformly to sit inside, with clear space on all four sides. The mark's
|
|
71
|
+
geometry, its color and its proportions are untouched; it is placed on the ground it was
|
|
72
|
+
drawn for.
|
|
73
|
+
|
|
74
|
+
See [`CREDITS.md`](./CREDITS.md) for prior-art acknowledgements, including the theme engine this
|
|
75
|
+
one is adopted from.
|
package/demos.json
CHANGED
|
@@ -2,41 +2,70 @@
|
|
|
2
2
|
"demos": [
|
|
3
3
|
{
|
|
4
4
|
"name": "writes",
|
|
5
|
-
"description": "One S3 bucket + policy on a local Floci emulator
|
|
5
|
+
"description": "One S3 bucket + policy on a local Floci emulator \u2014 blue to green in five minutes. The default.",
|
|
6
6
|
"source": "bundled",
|
|
7
7
|
"dir": "example-writes",
|
|
8
|
-
"requires": [
|
|
9
|
-
|
|
8
|
+
"requires": [
|
|
9
|
+
"docker"
|
|
10
|
+
],
|
|
11
|
+
"serve": {
|
|
12
|
+
"local": true,
|
|
13
|
+
"env": "prod"
|
|
14
|
+
}
|
|
10
15
|
},
|
|
11
16
|
{
|
|
12
17
|
"name": "k8s",
|
|
13
|
-
"description": "An nginx Deployment + Service on a throwaway k3d cluster
|
|
18
|
+
"description": "An nginx Deployment + Service on a throwaway k3d cluster \u2014 runtime children (Pods), field ownership, honest unobserved. Cluster persists across runs; scripts/local/local-down.sh removes it.",
|
|
14
19
|
"source": "bundled",
|
|
15
20
|
"dir": "example-k8s",
|
|
16
|
-
"requires": [
|
|
21
|
+
"requires": [
|
|
22
|
+
"docker",
|
|
23
|
+
"k3d",
|
|
24
|
+
"kubectl"
|
|
25
|
+
],
|
|
17
26
|
"setup": "bash scripts/local/local-up.sh",
|
|
18
|
-
"serve": {
|
|
27
|
+
"serve": {
|
|
28
|
+
"local": true,
|
|
29
|
+
"env": "local"
|
|
30
|
+
}
|
|
19
31
|
},
|
|
20
32
|
{
|
|
21
33
|
"name": "flux-estate",
|
|
22
|
-
"description": "A GitOps estate: a Flux control plane (GitRepository + Kustomizations) plus two app projects, served as one composed estate
|
|
34
|
+
"description": "A GitOps estate: a Flux control plane (GitRepository + Kustomizations) plus two app projects, served as one composed estate \u2014 cross-stack sourceRef edges, estate-wide drift, and the namespace join that reads app-b where the control plane's targetNamespace puts it. k3d + Flux, no cloud. scripts/estate-down.sh removes the cluster.",
|
|
23
35
|
"source": "bundled",
|
|
24
36
|
"dir": "example-flux-estate",
|
|
25
|
-
"requires": [
|
|
37
|
+
"requires": [
|
|
38
|
+
"docker",
|
|
39
|
+
"k3d",
|
|
40
|
+
"kubectl"
|
|
41
|
+
],
|
|
26
42
|
"setup": "bash scripts/estate-up.sh",
|
|
27
|
-
"serve": {
|
|
43
|
+
"serve": {
|
|
44
|
+
"env": "local",
|
|
45
|
+
"dirs": [
|
|
46
|
+
"control-plane",
|
|
47
|
+
"app-a",
|
|
48
|
+
"app-b"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
28
51
|
},
|
|
29
52
|
{
|
|
30
53
|
"name": "argo-estate",
|
|
31
|
-
"description": "The Argo CD mirror of flux-estate, declared only: an AppProject plus one Application per app project, served with the two apps as one composed estate
|
|
54
|
+
"description": "The Argo CD mirror of flux-estate, declared only: an AppProject plus one Application per app project, served with the two apps as one composed estate \u2014 project edges from each Application to the AppProject it names, and each Application's destination namespace drawn as a box holding that app's objects. No cluster, no Argo install, no Docker.",
|
|
32
55
|
"source": "bundled",
|
|
33
56
|
"dir": "example-argo-estate",
|
|
34
57
|
"requires": [],
|
|
35
|
-
"serve": {
|
|
58
|
+
"serve": {
|
|
59
|
+
"dirs": [
|
|
60
|
+
"control-plane",
|
|
61
|
+
"app-a",
|
|
62
|
+
"app-b"
|
|
63
|
+
]
|
|
64
|
+
}
|
|
36
65
|
},
|
|
37
66
|
{
|
|
38
67
|
"name": "carve",
|
|
39
|
-
"description": "The peel walkthrough: a half-migrated estate
|
|
68
|
+
"description": "The peel walkthrough: a half-migrated estate \u2014 a chant project beside a Terraform one \u2014 scored by `chant carve advise`, then a six-step stepper that carves one S3 bucket across the line on camera (advise, pick, emit, bridge, handoff, done). Emit and bridge really run, into the demo copy; the destructive terraform commands stay yours to paste. No cloud, no Docker, no terraform binary.",
|
|
40
69
|
"source": "bundled",
|
|
41
70
|
"dir": "example-carve",
|
|
42
71
|
"requires": [],
|
|
@@ -50,14 +79,48 @@
|
|
|
50
79
|
}
|
|
51
80
|
}
|
|
52
81
|
},
|
|
82
|
+
{
|
|
83
|
+
"name": "choudoufu-estate",
|
|
84
|
+
"description": "A tag-owned estate: four choudoufu estates (an OpenTofu fork whose ownership is two AWS tags) served composed \u2014 the terralith applied to a scratch floci, three team estates whose declared resources are the monolith's (every card `owned by` it, dashed to its card), a cross-estate data-source edge, and a move plan whose `live-mv` lines you run by hand while behold previews with -dry-run and reads the receipt. A card's colour is ownership, not \"nothing changed\": attribute drift is a separate plan read, opt-in through \u2318K \u2192 \"Re-check live with plan\". Docker + choudoufu (0.16.0+, or a build from main) on PATH; provider download on first init. scripts/choudoufu-down.sh removes the container.",
|
|
85
|
+
"source": "bundled",
|
|
86
|
+
"dir": "example-choudoufu-estate",
|
|
87
|
+
"requires": [
|
|
88
|
+
"docker",
|
|
89
|
+
"choudoufu"
|
|
90
|
+
],
|
|
91
|
+
"setup": "bash scripts/choudoufu-up.sh",
|
|
92
|
+
"serve": {
|
|
93
|
+
"env": "live",
|
|
94
|
+
"dirs": [
|
|
95
|
+
"monolith",
|
|
96
|
+
"team-a",
|
|
97
|
+
"team-b",
|
|
98
|
+
"team-c"
|
|
99
|
+
],
|
|
100
|
+
"spawnEnv": {
|
|
101
|
+
"AWS_ENDPOINT_URL": "http://127.0.0.1:4650",
|
|
102
|
+
"AWS_ACCESS_KEY_ID": "test",
|
|
103
|
+
"AWS_SECRET_ACCESS_KEY": "test",
|
|
104
|
+
"AWS_REGION": "us-east-1"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
53
108
|
{
|
|
54
109
|
"name": "fountain",
|
|
55
|
-
"description": "The mature estate: self-hosted fountain (a real app) on a throwaway k3d cluster
|
|
110
|
+
"description": "The mature estate: self-hosted fountain (a real app) on a throwaway k3d cluster \u2014 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.",
|
|
56
111
|
"source": "git",
|
|
57
112
|
"repo": "https://github.com/INTENTIUS/fountain-ops",
|
|
58
|
-
"requires": [
|
|
113
|
+
"requires": [
|
|
114
|
+
"docker",
|
|
115
|
+
"k3d",
|
|
116
|
+
"kubectl",
|
|
117
|
+
"jq",
|
|
118
|
+
"just"
|
|
119
|
+
],
|
|
59
120
|
"setup": "just up",
|
|
60
|
-
"serve": {
|
|
121
|
+
"serve": {
|
|
122
|
+
"env": "local"
|
|
123
|
+
}
|
|
61
124
|
}
|
|
62
125
|
]
|
|
63
126
|
}
|