fleet tools: mint-seat-credential.sh joins the framework toolkit (onboarding step 6) #1366

Open
opened 2026-08-22 00:25:07 +00:00 by fred · 0 comments
Collaborator

Operator direction 2026-08-21: the seat onboarding scripts belong in the framework toolkit, not in a brain-local directory.

This issue covers the first and only clean move: mint-seat-credential.sh (create the Gitea account + mint a scoped token per instance, write the seat slot at mode 600, project the login via the sibling seat-logins.sh). Parameterized (no hardcoded admin seat: MOSAIC_ADMIN_SEAT / --admin-seat; instances and URL overrides follow the seat-logins.sh convention) with a hermetic test test-mint-seat-credential.sh wired into CI and verify-release.mjs, plus tools/fleet/README.md.

Out of scope here (design finding, operator decision Q-S6 pending in the brain plan docs/plans/2026-08-21_git-operations-toolkit.md): new-seat.sh (splits between mosaic fleet add and the mint step) and launch-seat.sh (overlaps the framework launcher start-agent-session.sh; socket goal is a roster-v2 migration).

Operator direction 2026-08-21: the seat onboarding scripts belong in the framework toolkit, not in a brain-local directory. This issue covers the first and only clean move: `mint-seat-credential.sh` (create the Gitea account + mint a scoped token per instance, write the seat slot at mode 600, project the login via the sibling `seat-logins.sh`). Parameterized (no hardcoded admin seat: `MOSAIC_ADMIN_SEAT` / `--admin-seat`; instances and URL overrides follow the `seat-logins.sh` convention) with a hermetic test `test-mint-seat-credential.sh` wired into CI and `verify-release.mjs`, plus `tools/fleet/README.md`. Out of scope here (design finding, operator decision Q-S6 pending in the brain plan `docs/plans/2026-08-21_git-operations-toolkit.md`): `new-seat.sh` (splits between `mosaic fleet add` and the mint step) and `launch-seat.sh` (overlaps the framework launcher `start-agent-session.sh`; socket goal is a roster-v2 migration).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#1366