scripts: bus unit drop-in guard covers inherited globs; script usage and copy wrapper comments (row 108, #1602)
Candidate manifest 19ef7133db592787c24fa473357687a5741ccd7823627b970624c930a7611dbc from Rocko's round 1 packet (a6e4fe747), on BASE234121b30. No manifest path changed between BASE and the landing target. The bus-service.sh drop-in guard now refuses inherited mosaic-.service.d and service.d drop-ins, the header lists every flag, the unreachable install-show fakes are gone, and the stack-copy.sh wrapper carries its copy and lease comments after the line-2 marker. Filbert approved in 28489 with no findings. Sage reran the full gate at the landing target with the candidate applied. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+15
-1
@@ -470,11 +470,25 @@ mosaic-stack/copies/<full id>. bus-service.sh render/install take --copy
|
||||
ID and --pm alongside the existing --claude pin. Without --copy render
|
||||
keeps today's checkout unit. A PM refusal exits 3 and the unit does not
|
||||
retry it. Install refuses every busy instance (also --no-reload), failed
|
||||
state reads and drop-ins overriding ExecStart or WorkingDirectory.
|
||||
state reads and drop-ins overriding ExecStart or WorkingDirectory, including
|
||||
inherited mosaic-.service.d/ and service.d/ in every unit lookup directory.
|
||||
Status reads effective systemd properties, reports the tree/copy, PM flag,
|
||||
refactor drift and drop-in files; it changes nothing. The temporary PM
|
||||
ExecStart drop-in must be removed by Mos before installing the pinned unit.
|
||||
|
||||
The wrapper keeps the Q81 marker on line 2 and the final copy exec on the
|
||||
last line. Comments name the copy root and explain that the Q81 lease probe
|
||||
still answers at mosaic-old.
|
||||
|
||||
Copy npm ci may warn that @google/genai's preinstall, esbuild's postinstall
|
||||
and protobufjs's postinstall are blocked. This is expected for the current
|
||||
copy paths: Mosaic launches Pi's published bundled CLI, whose runtime does
|
||||
not load those installed package entrypoints. @google/genai's preinstall
|
||||
only echoes; esbuild's script installs/checks its build binary; protobufjs's
|
||||
script only warns about dependency version schemes. The copy runs the
|
||||
already published bundle and does not build it. No allowScripts change is
|
||||
needed for these paths; adding a runtime loader requires a fresh audit.
|
||||
|
||||
The one update and rollback plan is [TOOLS.md, Pinned stack update](../../docs/TOOLS.md#pinned-stack-update).
|
||||
Each live switch/unit change/stop/start requires Mos's go; agents build
|
||||
and test fixtures only. Restarting the bus ends its sessions, so no PM
|
||||
|
||||
Reference in New Issue
Block a user