boatyard 0.6.6__tar.gz → 0.7.0.dev201__tar.gz
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.
- boatyard-0.7.0.dev201/AGENTS.md +125 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/PKG-INFO +1 -1
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/closeout.md +385 -22
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/precision-attribution.md +11 -6
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/semver-image-bundle-lines.md +4 -1
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/publish.yml +1 -1
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/pyproject.toml +1 -1
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/build.py +42 -45
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/cli.py +2 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/lock.py +19 -18
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/markers.py +56 -4
- boatyard-0.7.0.dev201/src/boatyard/models/config_file.py +782 -0
- boatyard-0.7.0.dev201/src/boatyard/models/image.py +199 -0
- boatyard-0.7.0.dev201/src/boatyard/models/k8s_pins.py +43 -0
- boatyard-0.6.6/src/boatyard/config/lock.py → boatyard-0.7.0.dev201/src/boatyard/models/lock_file.py +52 -40
- boatyard-0.7.0.dev201/src/boatyard/models/pyproject.py +38 -0
- boatyard-0.7.0.dev201/src/boatyard/models/values_file.py +205 -0
- boatyard-0.7.0.dev201/src/boatyard/models/workload.py +248 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/paths.py +1 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/publish.py +2 -1
- boatyard-0.7.0.dev201/src/boatyard/resolve.py +269 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score.py +65 -85
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_compose.py +85 -56
- boatyard-0.6.6/src/boatyard/verbs/score.py → boatyard-0.7.0.dev201/src/boatyard/score_generate.py +45 -89
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_k8s.py +44 -32
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/temp.py +2 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/build.py +2 -2
- boatyard-0.7.0.dev201/src/boatyard/verbs/bump.py +98 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/down.py +1 -1
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/lock.py +2 -2
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/matrix.py +14 -14
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/mirror.py +3 -3
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/publish.py +5 -6
- boatyard-0.7.0.dev201/src/boatyard/verbs/score.py +53 -0
- boatyard-0.7.0.dev201/src/boatyard/verbs/tree_tags.py +31 -0
- boatyard-0.7.0.dev201/src/boatyard/verbs/up.py +181 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/yaml.py +21 -7
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_assembly.py +27 -16
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_build_docker.py +160 -73
- boatyard-0.7.0.dev201/tests/test_bump.py +247 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_compose.py +359 -213
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_config.py +557 -87
- boatyard-0.7.0.dev201/tests/test_image_builds.py +637 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_lock.py +252 -59
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_markers.py +78 -2
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_matrix.py +49 -13
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_mirror.py +3 -6
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_publish_compose.py +45 -18
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_score_generate.py +760 -356
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_tree_tags.py +30 -10
- boatyard-0.7.0.dev201/tests/test_values.py +546 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/uv.lock +1 -1
- boatyard-0.6.6/AGENTS.md +0 -195
- boatyard-0.6.6/src/boatyard/config/config.py +0 -795
- boatyard-0.6.6/src/boatyard/config/values.py +0 -188
- boatyard-0.6.6/src/boatyard/dockerfiles.py +0 -212
- boatyard-0.6.6/src/boatyard/verbs/tree_tags.py +0 -35
- boatyard-0.6.6/src/boatyard/verbs/up.py +0 -270
- boatyard-0.6.6/tests/test_secrets.py +0 -45
- boatyard-0.6.6/tests/test_service_builds.py +0 -454
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.gitattributes +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.github/workflows/cleanup-pr-releases.yml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.github/workflows/integrate.yml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.github/workflows/merge-gate.yml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.github/workflows/release.yml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.gitignore +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/.python-version +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/CLAUDE.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/LICENSE +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/NOTICE +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/README.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/AGENTS.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/CLAUDE.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/adoption-semver-wave.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/apt-hermeticity.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/dev-overlay.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/gpu-template-collapse.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/design/mirror-digest-retention.md +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/ruff.base.toml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/ruff.toml +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/scripts/preflight.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/__init__.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/compose.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/crane.py +0 -0
- {boatyard-0.6.6/src/boatyard/config → boatyard-0.7.0.dev201/src/boatyard/models}/__init__.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/py.typed +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/gpu-cuda.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/gpu-pod.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/gpu-rocm.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/probe-adapter-healthchecks.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/restart.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/score_patch_templates/scale-to-zero.tpl +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/src/boatyard/verbs/__init__.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/conftest.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_daemon_gc.py +0 -0
- {boatyard-0.6.6 → boatyard-0.7.0.dev201}/tests/test_provisioners.py +0 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# boatyard
|
|
2
|
+
|
|
3
|
+
Docker-stack lifecycle verbs for any repo shipping a compose graph: `up` derives the whole
|
|
4
|
+
assembly from the root `boatyard.yml`. No Python API — the contracts are the verb CLI, the
|
|
5
|
+
declaration schema (`boatyard.yml` + `boatyard.lock.yml`), and the committed artifact formats.
|
|
6
|
+
|
|
7
|
+
## Design treaties
|
|
8
|
+
|
|
9
|
+
Design intent and silent-failure traps, one fact per bullet.
|
|
10
|
+
|
|
11
|
+
- Three classes of fact: authored in the config, registry-resolved in the lock, tree-derived
|
|
12
|
+
(`tree-<hash>`) computed on demand. Nothing derived is committed except
|
|
13
|
+
`boatyard.k8s-pins.yml`, written only by the `bump` verb (rollback = `git revert`, never
|
|
14
|
+
hand-edit). The lock is written only by the `lock` verb and `build`'s incremental freeze —
|
|
15
|
+
never hand-authored.
|
|
16
|
+
- Fresh-repo assumption: no code handles an obsolete format. An obsolete artifact gets a plain
|
|
17
|
+
parse failure, never a migration path.
|
|
18
|
+
- github-actions-toolkit owns the consumer workflow contract and is never a project dependency.
|
|
19
|
+
From 1.0 on, breaking changes ship with a manually bumped `major_minor`.
|
|
20
|
+
- Third-party images and charts are consumed through the org mirror namespace (upstream
|
|
21
|
+
manifests get GC'd). CI is the single writer — engineers never push, and error text never
|
|
22
|
+
teaches them to.
|
|
23
|
+
- Substrate split: compose renderings bake the lock's per-platform manifests (the exact bytes
|
|
24
|
+
one machine runs); k8s renderings bake the index form (kubelet resolves per node).
|
|
25
|
+
`helm template` is a renderer, never a deployer.
|
|
26
|
+
- `boatyard.values.yaml` (consumer root, gitignored) is the only machine-values source; the
|
|
27
|
+
ambient shell fills nothing. `up` requires it; `down` and score generation run without it.
|
|
28
|
+
- `down` reads no values file, no lock, no selection — a name-only root plus
|
|
29
|
+
`--remove-orphans` removes every container the project ever created.
|
|
30
|
+
- The edge does no token validation; re-protection is a bundle-shipped oauth2-proxy sidecar
|
|
31
|
+
treaty.
|
|
32
|
+
- `$`-doubling: a literal `$` in file text placed inside a compose document (edge Caddyfile,
|
|
33
|
+
file-sourced configs, score's bind inlining) is doubled via `double_dollars` in
|
|
34
|
+
`models/config_file.py` — the one home. Text outside a compose document (k8s manifests) never
|
|
35
|
+
doubles.
|
|
36
|
+
- Consumed facts are walked from generated output, never re-derived from sources: the mint
|
|
37
|
+
list (`secrets.txt`) is the k8s rendering's consumed secret refs (no secret vocabulary is
|
|
38
|
+
authored anywhere; a compose-only rendering mints an empty list), and a local entry's values
|
|
39
|
+
demand is its rendered bundle artifact's own `${NAME}` slots.
|
|
40
|
+
- A service group derives its option set from the single axis its workloads' image closure
|
|
41
|
+
declares (group-level `workloads:`; a closure declaring no axis or two axes refuses) or authors
|
|
42
|
+
it (`options:`); the axis lives on the local `base_images` entry — the one spelling across
|
|
43
|
+
the Dockerfile ARG and the k8s selection, never re-described by hand.
|
|
44
|
+
- Plain score-compose silently drops `httpGet` probes; boatyard's lens makes the omission loud
|
|
45
|
+
instead via the workload's `outernet.internal/probe-adapter` annotation.
|
|
46
|
+
- Substrate needs live in workload files as `outernet.internal/*` annotations — `boatyard.yml`
|
|
47
|
+
holds no per-workload runtime fact. The shipped `score_patch_templates` are the reader; the
|
|
48
|
+
lens is `WorkloadDocument.parse(raw, file_name)`.
|
|
49
|
+
|
|
50
|
+
## Commands
|
|
51
|
+
|
|
52
|
+
Quick loop: `uv run pytest`, `uv run ruff check`. Full gate:
|
|
53
|
+
`uv run --locked scripts/preflight.py`.
|
|
54
|
+
|
|
55
|
+
## Placement conventions
|
|
56
|
+
|
|
57
|
+
- One module per verb under `verbs/`, each with a local bare `app = typer.Typer()`; `cli.py`
|
|
58
|
+
composes them with nameless `app.add_typer(...)` (a named `add_typer` nests a group).
|
|
59
|
+
- `extra="forbid"` everywhere in pydantic models; per-field shape in `field_validator`s,
|
|
60
|
+
cross-field shape in one `model_validator(mode="after")` per model.
|
|
61
|
+
- Every `load()` takes a full path. YAML kinds go through `load_yaml_model` (`yaml.py` strict load);
|
|
62
|
+
the image set derives inside `ConfigFile.load` over the declared dockerfile edges (workload
|
|
63
|
+
source annotations, provisioner markers, local entries); `LockFile.load(path, config)` reads a
|
|
64
|
+
missing lock as the empty lock.
|
|
65
|
+
- Every pydantic-modeled file kind owns exactly one module in `models/` (boatyard.yml, the lock,
|
|
66
|
+
values, pins, workloads, the pyproject lens). Each module's types run root down, root
|
|
67
|
+
record first, quoting forward refs where evaluation allows (`RootModel` subscripts;
|
|
68
|
+
`default_factory` leaves go through a module-level factory). Modules run one-way:
|
|
69
|
+
`image`/`workload`/`pyproject` ← `config_file` ← `lock_file` ← `lock`.
|
|
70
|
+
- Nothing is caught only to be re-raised as a different exception; guards and third-party
|
|
71
|
+
exceptions surface raw with full traceback; `typer.BadParameter` owns the CLI-flag layer.
|
|
72
|
+
- The build set is the closure over declared edges — workload source annotations, provisioner
|
|
73
|
+
`dockerfile:` markers, local `base_images` entries — computed inside `ConfigFile` load, never
|
|
74
|
+
authored in config and never walked from the tree; a Dockerfile nothing declares is silently
|
|
75
|
+
not built, like an unlisted score file. Every workload file loads exactly once per
|
|
76
|
+
`ConfigFile.load` — one lens serves the declared edges, the derived variants, and both renderings;
|
|
77
|
+
the per-entry reload is dead, and the compose-only probe-adapter check runs at the compose
|
|
78
|
+
rendering over the once-loaded documents.
|
|
79
|
+
- Authored provisioner files carry real YAML mappings and lists; the string form is generated. A
|
|
80
|
+
field already in string form is a validation error.
|
|
81
|
+
|
|
82
|
+
## Modules
|
|
83
|
+
|
|
84
|
+
- `models/config_file.py` — schema + load (`ConfigFile.load`); shared leaf for slot markers, name
|
|
85
|
+
joins, `double_dollars`.
|
|
86
|
+
- `models/lock_file.py` — lock schema; `LockFile.load(path, config)` is the only parser consumers use.
|
|
87
|
+
- `models/values_file.py` — the values file schema: typed overrides, one flat values section, the
|
|
88
|
+
key and reference grammar.
|
|
89
|
+
- `models/k8s_pins.py` — pins parsing.
|
|
90
|
+
- `models/pyproject.py` — the toolchain-pin lens over the consumer repo's pyproject.toml.
|
|
91
|
+
- `models/workload.py` — the workload-file lens (`WorkloadDocument`), the workload loader and
|
|
92
|
+
the compose-surface probe-adapter check, plus provisioner-file selection.
|
|
93
|
+
- `models/image.py` — the image and local-base models, the Dockerfile parse, and the tree-tag
|
|
94
|
+
sha machinery.
|
|
95
|
+
- `resolve.py` — the `resolve(config, lock, values)` fold answering the assembly plan `up` renders.
|
|
96
|
+
- `lock.py` — relock engine + crane resolution.
|
|
97
|
+
- `compose.py` — the compose invocation spelling.
|
|
98
|
+
- `build.py` — build pipeline.
|
|
99
|
+
- `markers.py` — provisioner and chart-value marker resolution.
|
|
100
|
+
- `score.py` / `score_compose.py` / `score_k8s.py` / `score_generate.py` — shared base / compose
|
|
101
|
+
rendering / k8s rendering / generation verb.
|
|
102
|
+
- `publish.py` — publish preparation.
|
|
103
|
+
- `crane.py` — pinned crane installer.
|
|
104
|
+
- `paths.py` — consumer-repo document paths.
|
|
105
|
+
- `temp.py` — shared digest/platform/tree-tag regex spellings.
|
|
106
|
+
- `yaml.py` — strict YAML load + model load; `Yaml` and the `is_mapping`/`is_list` guards.
|
|
107
|
+
- `verbs/up.py` — assembly rendering, the per-run dotenv, unwind on failure.
|
|
108
|
+
|
|
109
|
+
## This file
|
|
110
|
+
|
|
111
|
+
The code is the source of truth for mechanism; this file exists to prevent specific mistakes,
|
|
112
|
+
and every bullet names the mistake it prevents — a line whose mistake cannot be named does not
|
|
113
|
+
belong here.
|
|
114
|
+
|
|
115
|
+
- Nothing else lives here: mechanism belongs in the code it describes, a one-off procedure in
|
|
116
|
+
`design/`, another repo's fact in that repo's own doc, and refusal behavior nowhere — a loud
|
|
117
|
+
refusal's error text is its documentation. The string `refus` appears nowhere outside this
|
|
118
|
+
section.
|
|
119
|
+
- The shape is fixed, in order: identity paragraph, `Design treaties`, `Commands`,
|
|
120
|
+
`Placement conventions`, `Modules`, this section. One fact per bullet, plain sentences —
|
|
121
|
+
compression and shorthand are how wrong lines survive review. Lines wrap at or before column
|
|
122
|
+
100. `Modules` mirrors `src/boatyard/` exactly: one line per module, no function inventories,
|
|
123
|
+
no parenthetical laws.
|
|
124
|
+
- Treaties and conventions trade one for one: a new bullet replaces a weaker one, it never
|
|
125
|
+
merely appends. Growing this file is a human decision, not a session's.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# Closeout: the 0.6.0 critical path
|
|
2
2
|
|
|
3
|
-
This file is the critical path only — the work that must ship imminently
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
This file is the critical path only — the work that must ship imminently:
|
|
4
|
+
the 0.6.0 arc (iteration unit, release, toolkit cutover, consumer sweep),
|
|
5
|
+
then the 0.7 comportment wave (Work 5) — one release and one consumer sweep
|
|
6
|
+
each. Bang through it; when the units land, delete this file. Future
|
|
7
|
+
initiatives live in `design/` (one initiative per file, indexed by
|
|
8
|
+
`design/AGENTS.md`); every plan, compaction, and WIP doc this record
|
|
9
|
+
absorbed lives in git history where it landed.
|
|
10
|
+
`AGENTS.md` is the
|
|
10
11
|
present-truth operations manual for the shipped surface. Every decision
|
|
11
12
|
below is closed — do not re-litigate without its recorded flip condition. If
|
|
12
13
|
this file and the code disagree, reconcile this file before touching code
|
|
@@ -14,7 +15,7 @@ this file and the code disagree, reconcile this file before touching code
|
|
|
14
15
|
verify with the target repo's battery; commit as you go, prose and code in
|
|
15
16
|
separate commits.
|
|
16
17
|
|
|
17
|
-
## Snapshot (verified 2026-11-
|
|
18
|
+
## Snapshot (verified 2026-11-09)
|
|
18
19
|
|
|
19
20
|
- Work 1 landed: the `refactor` branch was squashed to a four-commit structure
|
|
20
21
|
on `dev` (AGENTS.md prose; code; docs/design prose; closeout.md), pushed as
|
|
@@ -163,7 +164,7 @@ separate commits.
|
|
|
163
164
|
`generate-score --check`, matrix `livekit-token`, plan `livekit`). Sandbox
|
|
164
165
|
note: the `==0.12.15` uv lives at `/home/code/.local/bin/uv` (PATH resolves
|
|
165
166
|
`0.11.14` first); `preflight-python` needs `PATH=/home/code/.local/bin:$PATH`
|
|
166
|
-
|
|
167
|
+
because it invokes bare `uv`. The Make-it-Sing sweep followed (`git
|
|
167
168
|
switch compose-bundles` first — its checkout sits on
|
|
168
169
|
`feature/clickable-buildings-room-join`). Session-open archaeology
|
|
169
170
|
re-verified: `docker-devkit.yaml` carries digest-pinned `ref:`s
|
|
@@ -207,14 +208,68 @@ separate commits.
|
|
|
207
208
|
`lock_key_prefix` (`ENTRY_KEY`) for its substitution keys instead of
|
|
208
209
|
`env_lock_slot` (`ENTRY__LOCK__KEY`) — the compose text's lock-key
|
|
209
210
|
slots never matched and shipped unsubstituted, making every published
|
|
210
|
-
bundle's image slots unresolvable by consumers.
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
bundle's image slots unresolvable by consumers. Both fixed (full preflight green, 517 tests), merged to `main` (PR
|
|
212
|
+
#29), and released as stable `0.6.6` — the wave's pin target and
|
|
213
|
+
`requires:` floor are `0.6.6` from here. The stale-bundle resolution
|
|
214
|
+
is in flight (2026-11-06, operator pushed): the producers repinned
|
|
215
|
+
onto 0.6.6 — placeframe `repin-boatyard-0.6.6` (`cdc88fde` off dev),
|
|
216
|
+
infra-rathole `repin-boatyard-0.6.6` (`f26cf5b`, its `==0.6.1` pin and
|
|
217
|
+
`>=0.6.0` floor jumped), lbe-toolkit `compose-bundles` (`558c1de`, its
|
|
218
|
+
fourth commit); each repin's `boatyard lock` was a
|
|
219
|
+
declaration-incremental no-op, so the commits carry only pin + floor +
|
|
220
|
+
`uv.lock`. As those land, CI's `publish-compose` re-publishes the
|
|
221
|
+
bundles at the new commit SHAs with the lock-key slots actually baked.
|
|
222
|
+
NEXT SESSION OPENS HERE: close the loop in Make-it-Sing — LIFTED; closed
|
|
223
|
+
2026-11-06 (commit `3ea2c0c` on its `compose-bundles`, local — operator
|
|
224
|
+
pushes; SSH remotes, the App token cannot write). The producers landed:
|
|
225
|
+
placeframe PR #153 (`cdc88fde`, merge `1de85ade`), infra-rathole PR #2
|
|
226
|
+
(`f26cf5b`, merge `7324533`); lbe-toolkit's repin (`558c1de`) is pushed as
|
|
227
|
+
PR #6 but NOT merged — its livekit publish rode the branch push (the
|
|
228
|
+
operator lands the PR; the sha tag is content-keyed and stays valid). All
|
|
229
|
+
five refs flipped onto the 0.6.6-baked republishes, crane-verified before
|
|
230
|
+
editing: the fresh sha tags (`cdc88fde…` ×3, `f26cf5bc…`, `558c1de0…`)
|
|
231
|
+
match their branch-alias digests and their compose layers carry zero
|
|
232
|
+
`${…__LOCK__…}` slots (the old tags: 6/1/1); the relock dropped every
|
|
233
|
+
lock-key require. Repin `==0.6.6` + floor `>=0.6.6`. The `up` verify
|
|
234
|
+
surfaced two more corrections: (a) the consumer entry name must equal the
|
|
235
|
+
producer's for the edge's `{entry}-net` attachment to find the bundle's
|
|
236
|
+
network (the `core` precedent again) — group `tunnel`/`rathole` renamed to
|
|
237
|
+
`rathole`/`client` (qualified `rathole-client`; edge-on-`rathole-client-net`
|
|
238
|
+
in `up.py` composes the name, the bundle defines it); (b) the rathole
|
|
239
|
+
defaults (`gateway:8443`, `livekit:6178`, `livekit:5957`) reference names
|
|
240
|
+
on the livekit bundle's private network where the tunnel client cannot
|
|
241
|
+
resolve them — explicit `TUNNEL_SIGNALING_ADDR`/`TUNNEL_RTC_ADDR` at the
|
|
242
|
+
host's published ports join `TUNNEL_GATEWAY_ADDR: edge:8443` in the values
|
|
243
|
+
file and both samples; the relay control channels verified established for
|
|
244
|
+
all three forwards. The verify ran end-to-end: full stack healthy through
|
|
245
|
+
the `core-cuda` path override against the sibling placeframe checkout, edge
|
|
246
|
+
routes answering (`/` 302). Compose v5.1.3 observation, not a boatyard
|
|
247
|
+
defect: an edge container created during a failed port-bind convergence
|
|
248
|
+
kept a partial network set when the next `up` merely started it —
|
|
249
|
+
`--force-recreate` (or a clean `down`/`up`, verified) reconciles. Battery
|
|
250
|
+
green (ruff, format, basedpyright 0, `lock --check`, `generate-score
|
|
251
|
+
--check` self-skip, matrix `[]`, plan `[]`, lint-workflows); zero boatyard
|
|
252
|
+
imports. Remaining before this file deletes: operator pushes `3ea2c0c`,
|
|
253
|
+
lands lbe-toolkit PR #6, and Make-it-Sing's Integrate runs green (the
|
|
254
|
+
Work-4 verify's "consumer CI green end-to-end" leg; the rest of that
|
|
255
|
+
checklist is verified across the swept repos).
|
|
256
|
+
- The image-declaration line closed (2026-11-08, `refactor-redux.md` deleted — the
|
|
257
|
+
plan file held the rulings; this entry is the record). Three increments: the
|
|
258
|
+
base registry (dual-shape `base_images`, one `FROM ${KEY}` grammar, one-hop
|
|
259
|
+
fan inheritance, pulled-only lock pairing), the walk death (source
|
|
260
|
+
annotations and `dockerfile:`/`lock:` markers author every image edge,
|
|
261
|
+
`image:` never authored, the build set the closure over declared edges), and
|
|
262
|
+
the closing session (lexical member grammar — `ref:` entry, `options:`
|
|
263
|
+
authored group, group-level `workloads:` fan group; the group fan derived
|
|
264
|
+
from the single axis the group's image closure fans, the `axes:` block and
|
|
265
|
+
its parse-time expansion dead; one workload pass per `ConfigFile.load`, the
|
|
266
|
+
per-entry reload dead, the compose-only probe-adapter check moved to
|
|
267
|
+
`require_compose_probe_adapters` at the compose rendering). Placeframe
|
|
268
|
+
transitioned with the core `axes:` block deleted; the regenerated artifacts
|
|
269
|
+
are byte-identical (the k8s regen reconstructed the absent
|
|
270
|
+
`boatyard.k8s-pins.yml` from the committed manifest's tags — extraction
|
|
271
|
+
must include digit-bearing stems, `s3-initializer` — verified byte-identity,
|
|
272
|
+
removed the file again). Boatyard battery 612 green at the closing commit.
|
|
218
273
|
- The values-file session (2026-11-04, battery green) landed atop Work 1 and
|
|
219
274
|
rewrote the consumer surface: `.env` is dead — `boatyard.values.yaml`
|
|
220
275
|
(gitignored, typed; `ConfigValues` in `values_file.py`) is the only
|
|
@@ -245,6 +300,30 @@ correct base in all five repos (the wave's commits land there and ride its
|
|
|
245
300
|
merge to `dev`); the toolkit on `dev`. Re-verify with grep at session open
|
|
246
301
|
before editing — the import inventory maps each site to a dissolution below.
|
|
247
302
|
|
|
303
|
+
- The repo consolidated (2026-11-09): the `refactor-redux` span — the
|
|
304
|
+
image-declaration line, the 0.7 slot/pins/values moves, the resolve
|
|
305
|
+
rework — collapses onto `dev` as three commits (AGENTS.md prose; one code
|
|
306
|
+
commit; this closeout fold); this record carries the 0.7 line's remains as
|
|
307
|
+
Work 5. `refactor.md` and both compaction docs were branch-only and never
|
|
308
|
+
land on `dev`. The landing went up as `origin/more-refactor` (tip
|
|
309
|
+
`c89116a`, the same three commits; the local `image-declaration-new`
|
|
310
|
+
name is dead); the PR is the operator's, still unopened.
|
|
311
|
+
- The path-pin comportment wave is in flight (opened 2026-11-09): Move 9 is
|
|
312
|
+
dead by operator ruling (Work 5); the landing branch sets `version
|
|
313
|
+
= "0.7.0"` and `publish.yml` `major_minor: "0.7"` first, so a
|
|
314
|
+
`0.7.0`-requiring pin resolves against the local tree. All five
|
|
315
|
+
consumers go onto the working-tree boatyard through uncommitted
|
|
316
|
+
`[tool.uv.sources] boatyard = { path = "…" }` pins plus `uv lock`, every
|
|
317
|
+
constraint and floor set straight to `0.7.0` (`==0.7.0`, `requires
|
|
318
|
+
>=0.7.0` — never loosened); the landing branch sets `version = "0.7.0"`
|
|
319
|
+
and `publish.yml` `major_minor: "0.7"` first, so a `0.7.0`-requiring pin
|
|
320
|
+
resolves against the local tree. Each repo's grammar flip and values/pins
|
|
321
|
+
transition per Work 5's order, each battery green against the local
|
|
322
|
+
checkout; nothing pin-shaped commits until the release exists. The
|
|
323
|
+
operator instruction (2026-11-09): the consumers update on their
|
|
324
|
+
currently checked out branches — no branch switches, Make-it-Sing's
|
|
325
|
+
diverged feature checkout included.
|
|
326
|
+
|
|
248
327
|
## Standing constraints
|
|
249
328
|
|
|
250
329
|
These rulings bind every work unit below.
|
|
@@ -309,6 +388,8 @@ These rulings bind every work unit below.
|
|
|
309
388
|
3 toolkit cutover onto boatyard spellings; the SHA the wave bumps to
|
|
310
389
|
4 sweep all five consumers repin once, relock, rename, drop imports,
|
|
311
390
|
adopt the iteration unit
|
|
391
|
+
5 comport the 0.7 wave: Move 9 (or its recorded death), the release,
|
|
392
|
+
the grammar flips validated on path pins, the final repins
|
|
312
393
|
```
|
|
313
394
|
|
|
314
395
|
Order within a unit is strict; unit order is fixed. 1 precedes 2 deliberately:
|
|
@@ -703,11 +784,11 @@ its `up` assembly (the path-override verify) surfaces whether the
|
|
|
703
784
|
|
|
704
785
|
Common to all five, order within a repo code → lockfiles → prose:
|
|
705
786
|
|
|
706
|
-
1. Dependency: `docker-devkit…` → `boatyard==0.6.
|
|
707
|
-
--upgrade-package boatyard`. `requires:` floor → `>=0.6.
|
|
708
|
-
carries the
|
|
709
|
-
shelving;
|
|
710
|
-
|
|
787
|
+
1. Dependency: `docker-devkit…` → `boatyard==0.6.6` (or `>=`); `uv lock
|
|
788
|
+
--upgrade-package boatyard`. `requires:` floor → `>=0.6.6` (0.6.6
|
|
789
|
+
carries the publish bake + up fill-check fixes atop the earlier
|
|
790
|
+
hashing/shelving fixes; every producer rode the 0.6.6 repin branches;
|
|
791
|
+
Make-it-Sing's close-the-loop repin rides its ref flip).
|
|
711
792
|
2. `git mv docker-devkit.yaml boatyard.yml`; `git mv docker-devkit.lock
|
|
712
793
|
boatyard.lock.yml`, then truncate the lock to the empty file before the
|
|
713
794
|
relock — the old env format never parses at relock's committed
|
|
@@ -827,3 +908,285 @@ manifests; every toolkit `uses:` ref
|
|
|
827
908
|
carries one SHA and every `--lock-only`/`--gpu` mention is gone from consumer
|
|
828
909
|
docs and workflows; Make-it-Sing's `up` assembles through the path override
|
|
829
910
|
against a sibling placeframe checkout.
|
|
911
|
+
|
|
912
|
+
## Work 5 — the 0.7 comportment wave
|
|
913
|
+
|
|
914
|
+
The `refactor.md` line's record, folded here; the file itself never lands
|
|
915
|
+
on `dev`. Its
|
|
916
|
+
code (moves 1–12: the slot/pins/values model, the `bump` verb, tree-slot
|
|
917
|
+
rendering) landed inside the span's single code commit; what remains is
|
|
918
|
+
below. One churn event carries it all.
|
|
919
|
+
|
|
920
|
+
- Move 9, the tree vocabulary rename — the `__BOATYARD_TREE__` marker (→
|
|
921
|
+
`__BOATYARD_{NAME}__`), the `tree-<oid>` tag spelling, the `tree-tags`
|
|
922
|
+
verb, `compute_service_shas`, and the docs' "tree-derived" vocabulary,
|
|
923
|
+
one stroke — is dead by operator ruling (2026-11-09), killed deliberately
|
|
924
|
+
before the PR: the existing vocabulary ships as-is, and nothing renames.
|
|
925
|
+
The name-bar musing (`SOURCE` rejected) dies with it.
|
|
926
|
+
- Consumer order per repo: `bump` first (creates the pins file at the
|
|
927
|
+
current head; the k8s manifest stays byte-stable if its baked tags were
|
|
928
|
+
fresh, heals if stale) → `generate-score` (compose artifacts slot-ify; the
|
|
929
|
+
secrets section migrates) → per-machine values reshuffle (sections; drop
|
|
930
|
+
`PUBLIC_URL`/port spellings; AUTH block → interpolation lines) → drop
|
|
931
|
+
`ALPINE_IMAGE`/`CADDY_IMAGE` from `base_images` → sample rewrite,
|
|
932
|
+
`stack/secrets.yaml` deletion, committed-artifact test updates (compose
|
|
933
|
+
assertions gain slot spellings; k8s unchanged). The grammar flips
|
|
934
|
+
(declared edges, lexical member grammar, dual-shape `base_images`,
|
|
935
|
+
`FROM ${KEY}`) ride the same wave; placeframe's `axes:` deletion is the
|
|
936
|
+
template (artifacts regenerated byte-identical).
|
|
937
|
+
- Validation without the publish round trip: each consumer pins the local
|
|
938
|
+
boatyard checkout through a `[tool.uv.sources] boatyard = { path = … }`
|
|
939
|
+
plus `uv lock` — adopted as COMMITTED local-branch state (the placeframe
|
|
940
|
+
template, `995f0f1e`; the plan's earlier "uncommitted hunk" shape died with
|
|
941
|
+
it), every constraint and floor at `>=0.7`, the release repin dropping the
|
|
942
|
+
source entry landing only after `0.7.0` exists. Every consumer is CLI-only
|
|
943
|
+
— zero `boatyard` imports anywhere.
|
|
944
|
+
- Toolkit: the getter's `generate-score --check` step command is unchanged;
|
|
945
|
+
its rationale line rewrites (structural freshness, not tag freshness);
|
|
946
|
+
bump-step integration depends on the D1 ruling; toolkit AGENTS.md line ~60
|
|
947
|
+
updates.
|
|
948
|
+
- Design docs: `precision-attribution.md` and `semver-image-bundle-lines.md`
|
|
949
|
+
"Release and regeneration" sections assume committed tree tags — amend to
|
|
950
|
+
the slots/pins/bump model.
|
|
951
|
+
- Placeframe-side (not boatyard work): sample + live `AUTH_JWKS_URL` fix
|
|
952
|
+
(literal edge spelling → `${EDGE_BASE_URL}`); API JWKS probe as
|
|
953
|
+
/health-reflects-JWKS (backoff beats restart storms; wait-for-resources
|
|
954
|
+
may need to gate api on keycloak under the auth option); `loki_query.py`
|
|
955
|
+
hardcoded container name; the Loki label-gap investigation (possible OTLP
|
|
956
|
+
plumbing dropped in the bundles cutover — investigate early).
|
|
957
|
+
- Release channel (ruled 2026-11-09): the wave cuts `0.7.0` — the operator's
|
|
958
|
+
call, re-opening the patch-flow law for this one. `publish.yml`'s
|
|
959
|
+
`major_minor` bumps to `"0.7"`, and the landing branch's `version` sets
|
|
960
|
+
`0.7.0` so consumer pins against the path source resolve.
|
|
961
|
+
|
|
962
|
+
Rulings carried from the 0.7 line:
|
|
963
|
+
|
|
964
|
+
- D1 — the operator always cuts the k8s pin bump commit: post-merge, on a
|
|
965
|
+
clean checkout of `dev` HEAD, then push; merge-gate absorption stays ruled
|
|
966
|
+
out (the unity library cache promotion needs the merge tree to equal the
|
|
967
|
+
PR head tree).
|
|
968
|
+
- D2 — a pin is writable only for content CI built and pushed at exactly
|
|
969
|
+
that head: enumerate the shelf's `sha-{HEAD}*` shards, merge the
|
|
970
|
+
`{target: {ref, digest, tags}}` manifests, and every computed tree tag
|
|
971
|
+
must appear in the union's `tags[]`. The enumerate-and-merge shape stays
|
|
972
|
+
inline until a third consumer appears. Ad-hoc `--push-to` builds are
|
|
973
|
+
unpinnable by design.
|
|
974
|
+
- No pin bootstrap: first k8s generation without a pins file fails naming
|
|
975
|
+
the bump verb, always. The bump verb writes the whole certified head's
|
|
976
|
+
tag set — no per-service partial bumps; unchanged services are no-ops by
|
|
977
|
+
identity.
|
|
978
|
+
- No filters, functions, or operators in the interpolation grammar, ever —
|
|
979
|
+
bare references only. `NGROK_DOMAIN` stays hand-set (host-of-URL is a
|
|
980
|
+
decision, not a derivation); same for `GATEWAY_PORT` vs `public_url`.
|
|
981
|
+
Reserved names (`PUBLIC_URL`, `EDGE_BASE_URL`) refuse hand-setting and are
|
|
982
|
+
minted when their declaration exists. Routes get no override surface,
|
|
983
|
+
ever.
|
|
984
|
+
- `--local` k8s generation reads no pins: fresh working-tree tags, dirt is
|
|
985
|
+
content. Unused values keys stay legal (unselected bundles still declare
|
|
986
|
+
them). Interpolation roots are hand variables + minted slots only.
|
|
987
|
+
- Four files at root — `boatyard.yml`, `boatyard.lock.yml`,
|
|
988
|
+
`boatyard.values.yaml`, `boatyard.k8s-pins.yml`; any other location is a
|
|
989
|
+
raise, and the producer-root hunt is `parents[3]` plus a raise.
|
|
990
|
+
|
|
991
|
+
Verify: consumer batteries green on the path pins; the release published;
|
|
992
|
+
the wave's repins landed; Move 9 recorded dead (2026-11-09).
|
|
993
|
+
|
|
994
|
+
- Wave progress (2026-11-09 session, all five on their currently checked out
|
|
995
|
+
branches per operator instruction; batteries green against the local
|
|
996
|
+
path-pinned boatyard): infra-rathole (`repin-boatyard-0.6.6`, four commits:
|
|
997
|
+
grammar flip, `Run generate-score`, repin, docs), lbe-toolkit
|
|
998
|
+
(`compose-bundles`, three), Make-it-Sing (`compose-bundles`, three),
|
|
999
|
+
placeframe-capture-tool (`compose-bundles`, four), placeframe (validated;
|
|
1000
|
+
one sample commit). The lexical-grammar ruling that shaped them: a bare
|
|
1001
|
+
local entry is unrepresentable (any `workloads:` mapping is a group), so
|
|
1002
|
+
every local producer restructures into group+option — infra-rathole group
|
|
1003
|
+
`rathole`/option `client` (qualified name unchanged), lbe group
|
|
1004
|
+
`livekit`/option `tier` (the published bundle RENAMES `livekit` →
|
|
1005
|
+
`livekit-tier` at CI push; Make-it-Sing's ref flip onto the new spelling
|
|
1006
|
+
is a follow-up after that republish — its current ref stays valid, the
|
|
1007
|
+
0.6.6-baked digest is locked). capture-tool gained its score tier (three
|
|
1008
|
+
workload files declaring the box Dockerfiles; groups `zed`/`aoa`), the
|
|
1009
|
+
`CADDY_IMAGE` base key became `AOA_GATEWAY_IMAGE` (the reserved owned
|
|
1010
|
+
name), and its CI will publish three NEW bundles (`zed-capture`,
|
|
1011
|
+
`aoa-bridge`, `aoa-gateway`) through the embedded publish-compose leg — a
|
|
1012
|
+
new surface the operator should expect. Make-it-Sing's lock was truncated
|
|
1013
|
+
and relocked from nothing (the 0.6 `requires:` fields on bundle records
|
|
1014
|
+
refuse under the 0.7 lock schema; digests carried forward identically,
|
|
1015
|
+
`slots:` walked from the published artifacts). Values reshuffles: the
|
|
1016
|
+
samples and live files onto sections (`gateway:`, `values:`), AUTH_* →
|
|
1017
|
+
`${PUBLIC_URL}` interpolation lines, `PUBLIC_URL`/`GATEWAY_PORT` hand-keys
|
|
1018
|
+
dead (minted/section), lbe's machine ports standardized onto the config
|
|
1019
|
+
literals (the values `ports:` override moves published only — target is
|
|
1020
|
+
config-owned). placeframe: ruff/format/pytest green (basedpyright carries
|
|
1021
|
+
only the recorded torch gaps), `lock --check` green, compose artifacts
|
|
1022
|
+
byte-fresh under regeneration, the sample+live `AUTH_JWKS_URL` fix landed
|
|
1023
|
+
(`${EDGE_BASE_URL}/auth/…`, commit `4cbeec29`); its full `generate-score
|
|
1024
|
+
--check` waits on the pins file (D1, post-merge) — and `--check --target
|
|
1025
|
+
compose` self-contaminates `secrets.txt` (the mint list is k8s-leg-sourced
|
|
1026
|
+
and the compose-only run writes it empty), a check-mode quirk left as-is.
|
|
1027
|
+
Toolkit rationale line rewritten (its `dev`, `bf811f1`); the two design
|
|
1028
|
+
docs' release sections amended to slots/pins/bump. Remaining: operator
|
|
1029
|
+
pushes (all branches local — Make-it-Sing's remotes are SSH), CI
|
|
1030
|
+
republishes, the `livekit-tier` ref flip in Make-it-Sing, the `0.7.0`
|
|
1031
|
+
release cut, the real repins (drop the path sources, pin PyPI), and
|
|
1032
|
+
placeframe's D1 bump; placeframe-side follow-ups unchanged (API JWKS
|
|
1033
|
+
probe, `loki_query.py` container name, Loki label-gap investigation).
|
|
1034
|
+
- NEXT SESSION OPENS HERE: the override-loop verification — LIFTED;
|
|
1035
|
+
closed 2026-11-09, all six legs passed (evidence in the bullets below;
|
|
1036
|
+
two diagnoses surfaced: the pure-base
|
|
1037
|
+
`BakeMetadata` coverage refusal, and the compose `configs.content`
|
|
1038
|
+
recreate gap with its iteration-unit consequence — artifact-side edits
|
|
1039
|
+
need the down/up cycle, image-side edits converge in place. The first
|
|
1040
|
+
is FIXED on `more-refactor` (`ff56f03`, battery green 614): the tag
|
|
1041
|
+
check moved out of the `BakeMetadata` model validator into
|
|
1042
|
+
`run_build`, scoped to the requested targets — dependency-only fan
|
|
1043
|
+
bases (built via `target:` contexts, legitimately untagged in bake's
|
|
1044
|
+
metadata) pass through, a requested target without tags still refuses
|
|
1045
|
+
(regression test locks both sides; verified live — the battery's exact
|
|
1046
|
+
refusing command exits 0 with identical tags). The compose gap stays
|
|
1047
|
+
open (upstream-shaped; workaround: down/up after config-side edits).
|
|
1048
|
+
One wave-relevant gotcha the fix verified: uv serves path sources from
|
|
1049
|
+
cache keyed by version — after editing boatyard, each consumer needs
|
|
1050
|
+
`uv sync --reinstall-package boatyard` before `uv run` sees the
|
|
1051
|
+
change. Wave
|
|
1052
|
+
remainder unchanged: operator pushes, CI republishes, the
|
|
1053
|
+
`livekit-tier` ref flip, the `0.7.0` release cut, the real repins,
|
|
1054
|
+
placeframe's D1 bump). The iteration
|
|
1055
|
+
unit's end-to-end proof on the live consumer (edit in placeframe, see it
|
|
1056
|
+
in Make-it-Sing, with no push, no CI, no digest copy), doubling as the
|
|
1057
|
+
wave's missing end-to-end `up` leg under 0.7 (values sections, minted
|
|
1058
|
+
slots, tree-slot fill from the producer's working tree, producer-lock
|
|
1059
|
+
attachment, ports rendering, edge assembly). Make-it-Sing's live values
|
|
1060
|
+
already carry the override (`path_overrides: {core-cuda:
|
|
1061
|
+
../placeframe/stack/generated/compose/compose.core-cuda.yaml}`); the box
|
|
1062
|
+
has GPU passthrough and ran the full stack during the close-the-loop
|
|
1063
|
+
session — invoke `up --quiet-pull` with long timeouts, `boatyard down`
|
|
1064
|
+
between legs, leave the stack down at the end, and record each leg's
|
|
1065
|
+
evidence here as it passes. The battery is a runbook, not a committed
|
|
1066
|
+
script (no ephemeral artifacts; a durable harness is a deliberate later
|
|
1067
|
+
decision). Legs:
|
|
1068
|
+
1. Baseline bring-up: `uv run boatyard up` in Make-it-Sing through the
|
|
1069
|
+
path override against the sibling placeframe checkout; the stack
|
|
1070
|
+
healthy, edge routes answering (`/` 302, the api surface reachable),
|
|
1071
|
+
and the core services running fresh working-tree tags — assert the
|
|
1072
|
+
rendered assembly's `tree-` refs equal placeframe's live
|
|
1073
|
+
`boatyard tree-tags` output.
|
|
1074
|
+
2. Artifact-side round: one observable artifact-side edit in placeframe
|
|
1075
|
+
(a workload `files:` or provisioner surface the running stack serves
|
|
1076
|
+
or logs), then placeframe `generate-score` — assert the tree tags did
|
|
1077
|
+
NOT move (image content untouched) — then Make-it-Sing `up`; the edit
|
|
1078
|
+
observable in the running stack.
|
|
1079
|
+
3. Image-side round: one observable source edit inside a built placeframe
|
|
1080
|
+
image, then placeframe `boatyard build` (fresh `tree-` tag in the
|
|
1081
|
+
local daemon) + `generate-score` — assert the tag moved — then
|
|
1082
|
+
Make-it-Sing `up` (compose's `--pull missing` serves the local-only
|
|
1083
|
+
tag); the edit observable in the running stack. Rounds 2 and 3 each
|
|
1084
|
+
run twice with different edits in one session — the loop must iterate,
|
|
1085
|
+
not one-shot.
|
|
1086
|
+
4. Producer-lock attachment: the core bundle's third-party image pins
|
|
1087
|
+
(postgres, loki, seaweed, …) resolve from placeframe's
|
|
1088
|
+
`boatyard.lock.yml`, not Make-it-Sing's — assert the running
|
|
1089
|
+
containers' image digests against placeframe's lock.
|
|
1090
|
+
5. Override edge teeth, live: a values file whose override names an
|
|
1091
|
+
unselected entry loads clean (the inert override rides with
|
|
1092
|
+
selection), and an override pointing at a missing file refuses
|
|
1093
|
+
loudly.
|
|
1094
|
+
6. Reconciliation: any leg that dies mid-convergence reconciles through
|
|
1095
|
+
`--force-recreate` or a clean `down`/`up` (the recorded compose-v5
|
|
1096
|
+
edge-container partial-network case).
|
|
1097
|
+
Failures surface and diagnose only — fix on direction, per the standing
|
|
1098
|
+
communication law; the diagnosis rides this record either way.
|
|
1099
|
+
- Override-loop evidence (2026-11-09 session, in flight): leg 1 PASSED —
|
|
1100
|
+
`up --quiet-pull` in Make-it-Sing converged through the path override
|
|
1101
|
+
(all healthchecked services healthy; edge `/` 302→`/schema`, `/health`
|
|
1102
|
+
200; rathole control channels established ×3), and all nine running
|
|
1103
|
+
first-party image refs equal placeframe's live `tree-tags` basis exactly
|
|
1104
|
+
(api f2bb1314…, seaweedfs b4e300b9…, postgres 74446d020…, lease-server
|
|
1105
|
+
4f8324da…, database-manager 069b630d…, database-migrator 16dbc3a8…,
|
|
1106
|
+
s3-initializer cf3cf0a8…, localizer-cuda 514ae004…, reconstructor-cuda
|
|
1107
|
+
ddf5136b…). Preconditions the runbook didn't carry: (a) placeframe's own
|
|
1108
|
+
dev stack held host port 58080 — downed first via `boatyard down` in
|
|
1109
|
+
placeframe (its own project, distinct from the makeitsing assembly); (b)
|
|
1110
|
+
the fresh localizer/reconstructor tags were never built on this daemon
|
|
1111
|
+
and ghcr rightly refuses PR-channel tree tags, so the producer half ran
|
|
1112
|
+
first — `boatyard build --targets "localizer/cuda reconstructor/cuda"`
|
|
1113
|
+
re-minted both committed tags deterministically from the clean tree. One
|
|
1114
|
+
defect surfaced there, diagnosed, NOT fixed (fix on direction): build's
|
|
1115
|
+
post-bake `BakeMetadata` coverage check refuses pure-base targets —
|
|
1116
|
+
`neural-networks-base-cuda` "must produce tagged image references" —
|
|
1117
|
+
because a dual-shape base consumed by the one-hop fan bakes untagged
|
|
1118
|
+
(the daemon carries zero neural-networks-base tags, ever). The check
|
|
1119
|
+
predates the image-declaration grammar; CI has not yet fired on it (all
|
|
1120
|
+
0.7 branches local), so every producer `build`/`build --push` under the
|
|
1121
|
+
new grammar refuses post-bake despite minting correctly. Also noted: uv
|
|
1122
|
+
`==0.12.15` PATH applies to both repos here (`/home/code/.local/bin/uv`).
|
|
1123
|
+
Leg 2 PASSED, ×2 rounds, with one compose finding: round A (grafana
|
|
1124
|
+
datasources rename → served name through the edge) after a full down/up;
|
|
1125
|
+
round B (loki `http_server_read_timeout: 45s` → served by loki's
|
|
1126
|
+
`/config` in-container) — both rounds' regens left every tree tag
|
|
1127
|
+
byte-identical to the basis (the artifact-side files hash into no
|
|
1128
|
+
service's closure; asserted live both rounds). The finding: compose
|
|
1129
|
+
v5.1.3 does NOT recreate a service when a top-level
|
|
1130
|
+
`configs.<name>.content` changes — reproduced minimally outside the
|
|
1131
|
+
project (content flip → "Running", not "Recreate") — so an artifact-side
|
|
1132
|
+
producer edit silently no-ops on a running consumer stack: round B's
|
|
1133
|
+
first `up` printed `core-cuda-loki Running` and the container kept the
|
|
1134
|
+
old config; the clean `down`/`up` reconciled (up exposes no
|
|
1135
|
+
`--force-recreate`). Consequence for the iteration unit: image-side
|
|
1136
|
+
edits converge in place (tag change recreates); artifact-side edits
|
|
1137
|
+
need the down/up cycle. Round A's observation rode the leg-boundary
|
|
1138
|
+
down, which is why it converged at all. Both rounds' probe edits
|
|
1139
|
+
reverted, artifacts regenerated back to committed bytes, placeframe
|
|
1140
|
+
tree CLEAN.
|
|
1141
|
+
Leg 3 PASSED, ×2 rounds (the loop iterates, not one-shots): probe
|
|
1142
|
+
surface = an inert `loop_probe` field on the api's `/server-info`
|
|
1143
|
+
(`workloads/api/src/routers/server_info.py`). Round A: field default
|
|
1144
|
+
`loop-a` → `build --targets api` minted `tree-e202092a…` (basis
|
|
1145
|
+
`tree-f2bb1314…` — tag moved), the compose artifacts stayed
|
|
1146
|
+
byte-identical (the 0.7 tree-slot model — `up` resolves working-tree
|
|
1147
|
+
tags per run, so no regen diff), and Make-it-Sing's `up` RECREATED api
|
|
1148
|
+
in place — no down — pulling nothing (the local-only tag served from
|
|
1149
|
+
the daemon); `{"loop_probe":"loop-a"}` served through the edge. Round
|
|
1150
|
+
B: default flipped to `loop-b` → third distinct tag
|
|
1151
|
+
`tree-55d4322b…`, same in-place recreate, `"loop_b"` observed. The
|
|
1152
|
+
image-side/image-slot contrast against leg 2's finding is the battery's
|
|
1153
|
+
sharpest result: image-tag changes recreate (compose hashes the image
|
|
1154
|
+
ref), `configs.content` changes do not — the iteration unit's
|
|
1155
|
+
image-side loop is fully no-down; its artifact-side loop needs the
|
|
1156
|
+
down/up. Probe reverted, tree CLEAN (both probe images remain in the
|
|
1157
|
+
daemon, inert).
|
|
1158
|
+
Leg 4 PASSED: the path form's producer-lock attachment verified live.
|
|
1159
|
+
The artifact's one runtime lock slot (`CORE_CUDA__BOATYARD_LOCK__ALPINE_IMAGE`,
|
|
1160
|
+
wait-for-resources) resolved to `alpine:3.20@sha256:c64c687c…` —
|
|
1161
|
+
exactly placeframe's lock `ALPINE_IMAGE` `linux/amd64` platform digest;
|
|
1162
|
+
every third-party literal baked at generation (fluent-bit `71cda445…`,
|
|
1163
|
+
alloy `0eae1eb9…`, grafana `b739cda4…`, loki `2cbddd6e…`) equals its
|
|
1164
|
+
placeframe lock entry; and the counterfactual holds — Make-it-Sing's
|
|
1165
|
+
own 91-line lock carries none of `ALPINE_IMAGE`/`LOKI_IMAGE`/
|
|
1166
|
+
`GRAFANA_IMAGE`, so the producer's lock is the only source. First-party
|
|
1167
|
+
postgres/seaweed ride working-tree tags (leg 1's basis assertion).
|
|
1168
|
+
Down/up boundary after leg 3 reconverged api onto the committed
|
|
1169
|
+
`tree-f2bb1314…` from the daemon with no rebuild.
|
|
1170
|
+
Leg 5 PASSED, both teeth live: (a) a values file whose `path_overrides`
|
|
1171
|
+
names the unselected `core-rocm` (a real sibling artifact) loads clean
|
|
1172
|
+
— `up` exit 0, normal convergence, zero core-rocm containers (the
|
|
1173
|
+
override rides inert with selection); (b) repointing the selected
|
|
1174
|
+
`core-cuda` override at a nonexistent path refuses loudly before any
|
|
1175
|
+
compose action — exit 1, `ValueError: path_overrides.core-cuda:
|
|
1176
|
+
…/compose.gone.yaml does not exist` — and the running stack is
|
|
1177
|
+
untouched. The live values file restored byte-identical afterward.
|
|
1178
|
+
Leg 6 PASSED (the recorded compose-v5 case reproduced faithfully):
|
|
1179
|
+
squatted host 58080 with a scratch container, `up` died mid-convergence
|
|
1180
|
+
at the edge's port bind (exit 1, "port is already allocated") leaving a
|
|
1181
|
+
`created` edge with a PARTIAL network set (core-cuda-net + livekit-net,
|
|
1182
|
+
rathole-client-net never attached); after freeing the port, the next
|
|
1183
|
+
`up` merely STARTED the edge — networks still partial, no recreate; the
|
|
1184
|
+
clean `down`/`up` reconciled (all three networks, `/` 302, full stack
|
|
1185
|
+
healthy). Stack left DOWN at battery end; placeframe and Make-it-Sing
|
|
1186
|
+
trees clean; probe images (`tree-e202092a…`, `tree-55d4322b…`) remain
|
|
1187
|
+
in the daemon, inert.
|
|
1188
|
+
- The wave remainder after the battery: operator pushes (boatyard's
|
|
1189
|
+
`more-refactor` landing branch and every consumer branch are local;
|
|
1190
|
+
Make-it-Sing's remotes are SSH), CI republishes, the `livekit-tier`
|
|
1191
|
+
ref flip in Make-it-Sing, the `0.7.0` release cut, the real repins
|
|
1192
|
+
(drop the path sources, pin PyPI), placeframe's D1 bump.
|
|
@@ -76,15 +76,20 @@ boatyard ships one patch release carrying the two phases above (pre-1.0;
|
|
|
76
76
|
breaking rides the patch flow). The image-building consumers — placeframe,
|
|
77
77
|
placeframe-capture-tool, Make-it-Sing — repin onto it before the semver change
|
|
78
78
|
detection ever runs: the toolkit compares tree tags recorded by consumer CI
|
|
79
|
-
builds
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
builds (the shelf manifests carry them in each entry's `tags[]`; the k8s side
|
|
80
|
+
records the certified head's set in `boatyard.k8s-pins.yml`, written only by
|
|
81
|
+
`boatyard bump`), so those builds must compute precise tags at the certified
|
|
82
|
+
head. The repin is a `uv.lock` bump — no declaration changes, no lock rewrite.
|
|
83
|
+
No regeneration cycle follows the re-key: compose artifacts carry
|
|
84
|
+
`{entry}__BOATYARD_TREE__…` slots, not literal tags, so image-content changes
|
|
85
|
+
leave them byte-stable (only structural source changes move them); the k8s
|
|
86
|
+
manifest bakes the pins file's certified tags, and `bump` — the operator's
|
|
87
|
+
post-merge run on a clean checkout of the certified head — is the one
|
|
88
|
+
deliberate cycle. Old `tree-` tags freeze in place — CI never re-pushes
|
|
84
89
|
them, so existing pins convert from movable to actually-immutable; infra's
|
|
85
90
|
three `tree-` pins keep resolving to frozen digests, re-pointed at leisure or
|
|
86
91
|
at the semver version tags. Calibration-corpus rows keep their old
|
|
87
92
|
`pipeline_version` values (the existing re-key hard-fail on redeploy stands).
|
|
88
93
|
|
|
89
|
-
Verify: consumer CI green end-to-end; the
|
|
94
|
+
Verify: consumer CI green end-to-end; the pins-file bump committed and
|
|
90
95
|
reviewed; a rebuild of an unchanged tree keeps its tag.
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
Pre-implementation design. Prerequisite: precision attribution has landed —
|
|
4
4
|
the change gate below compares tree tags, and tags are a trustworthy change
|
|
5
5
|
signal only once they are source-precise. One release; consumer adoption
|
|
6
|
-
lives in the adoption-wave design.
|
|
6
|
+
lives in the adoption-wave design. Compose artifacts carry tree slots (not
|
|
7
|
+
literal tags), so bundle source-diff detection rides structure and lock
|
|
8
|
+
baking, never image re-keys; the k8s side's certified tag set is the pins
|
|
9
|
+
file the `bump` verb writes.
|
|
7
10
|
|
|
8
11
|
Version space: per-unit semver lines with tag-everything — every release
|
|
9
12
|
aliases the full image set (changed images at their new version, unchanged at
|