You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Break the bootstrap cycle: deploying base must not require base #477
On a machine with nothing installed, building devlore-cli from source cannot start. Its quality gate needs the base layer: the Makefile's powershell-lint finds it through writ repo list, or through BASE_LAYER set to a checkout of noblefactor-engprod (formerly noblefactor-ops), and stops with "no base layer" otherwise; and devlore-cli's scripts source Declare-BashScript from it. But the base layer is deployed by writ, which devlore-cli builds. Building needs the base layer, the base layer needs writ, and writ needs the build.
Solution, if known
Likely, though not yet proven on an empty machine: the first install takes writ from a release, through install.sh, which carries its own copies of the Declare-BashScript functions it uses rather than sourcing them; writ then registers and deploys the base layer; only then is devlore-cli built from source.
Outstanding questions
Does install.sh, or the writ it installs, need anything from the base layer on a first install?
Does anything else on the way to a first build source Declare-BashScript before the base layer is deployed?
Evidence that the problem is solved, with test coverage:
a run on a machine with no layers deployed, such as a clean virtual machine or container, that follows the written order to a deployed base layer and a built devlore-cli; and
a test that walks that path, so that a change that brings the cycle back fails CI.
Before this issue closes, a comment on it links both.
Plan and design documents
Kind
Document
Plan
Not yet opened
Related
#475, the base layer; #483 and #484, consumers stating the base-layer prerequisite
Made a bug on 2026-11-06, in the Area review of NobleFactor/noblefactor-engprod#452: it describes something that fails today, since on a new machine the build stops with "no base layer". Area Product, Severity Medium (only a new machine hits it), Priority Medium. What this body called its deliverable is its evidence of completion, what will be true when the bug is fixed, so that heading is renamed. Its parent, #475, has no Area yet; if it turns out Engineering, this bug cannot stay under it.
Moved on 2026-11-06 from #475, the base layer, which is Engineering, to #798, install.sh and install.ps1 install lore, star and writ and take the three layers without requiring them, which is Product: a product bug sits under a product feature, and its likely fix is the first install going through install.sh. In the Area review of NobleFactor/noblefactor-engprod#452.
Activity
David-Noble-at-work commentedon Nov 7, 2026
Made a bug on 2026-11-06, in the Area review of NobleFactor/noblefactor-engprod#452: it describes something that fails today, since on a new machine the build stops with "no base layer". Area Product, Severity Medium (only a new machine hits it), Priority Medium. What this body called its deliverable is its evidence of completion, what will be true when the bug is fixed, so that heading is renamed. Its parent, #475, has no Area yet; if it turns out Engineering, this bug cannot stay under it.
David-Noble-at-work commentedon Nov 7, 2026
Moved on 2026-11-06 from #475, the base layer, which is Engineering, to #798, install.sh and install.ps1 install lore, star and writ and take the three layers without requiring them, which is Product: a product bug sits under a product feature, and its likely fix is the first install going through install.sh. In the Area review of NobleFactor/noblefactor-engprod#452.