Squash of Darkwing's 176a6bf4b..df65a3d4c on origin/darkwing/row190-r3, the 25 manifest paths, build-r3.patch efe898c2, manifest cc0ea9e8 (Filbert approve round 3, comment 29713). Design revision 3 in agents/darkwing/work/queue-190/DESIGN.md. Gate on based0bbc5c1cwith the patch: 15 package suites 2664 pass 0 fail, 10 scripts/test-*.sh suites 429 pass 0 fail (plus 156 node tests in the queue suite). Refactor moved to99a406ed3since, a window record touching no manifest path. Mutants 20 of 20 killed (BUILD.md, round 3). No live change: the stack runs from copy4429a104funtil a re-pin.
14 lines
594 B
Bash
Executable File
14 lines
594 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Explicit, idempotent configuration bootstrap.
|
|
#
|
|
# Creates ~/.config/mosaic-dev/config.json (or $MOSAIC_CONFIG) only when
|
|
# absent. An existing configuration is validated, never modified.
|
|
# `--instance NAME` (row 190) creates ~/.config/mosaic-NAME/config.json
|
|
# instead, with the data root ~/.mosaic-NAME claimed by its instance.json.
|
|
# Normal run paths (build/hello/verify) deliberately do NOT auto-bootstrap:
|
|
# missing configuration is an error there, not something to invent.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
|
|
exec node scripts/mosaic-config.mjs bootstrap "$@"
|