Skip to content

feat(skills): add frostyard-suite-app-release - #181

Merged
bketelsen merged 8 commits into
mainfrom
lucilla/skill-suite-app-release
Nov 1, 2026
Merged

bketelsen merged 8 commits into
mainfrom
lucilla/skill-suite-app-release

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

New skill frostyard-suite-app-release (desk ask T644d, item 2 of 4). A suite app ships on 2 tracks (core ADR-0058, ADR-0062), and this skill covers both:

  • Desktop Flatpak: an attested vX.Y.Z-rc.N candidate (never latest), then a clean-desktop gate on a leased VM from a staged catalogue that lists only the candidate's digest, with the evidence recorded in the app's plan. Brian then runs make bump CANDIDATE=… (same commit, so the .deb and the Flatpak hold the same code) and promote.yml (copies the gated digest to vX.Y.Z and latest, dispatches flatpak-index). The proof is the listing at the gated digest. A section covers an app's first listing (public package, the apps.json entry, the dispatch token, metainfo).
  • Daemon sysext: the .deb contract (/usr only, Upholds=, no Condition*= on upheld units, no RequiredBy=, its own sysusers.d), the attested release asset (no publish-deb: suite daemons are not APT producers), snosi's attested checksum pin, then repogen and updex. A new daemon is a snosi change by its owner.

Also: an AGENTS.md index bullet and a docs/design/shared-skills.md row. No skills-sync assignment; that waits for desk asks T644b and T644c.

Sources: frostmail AGENTS.md (Releases and dependencies), flatpak.yml, promote.yml, Makefile bump, plan 0013 Phases 8-10; frostnotes, lodge, porter, frostread AGENTS.md; flatpak-index README ("Add an app", "Stage a candidate"); snosi docs/design/sysexts.md (attested downloads); core ADR-0058, ADR-0062.

Owner fact-check requested: Irulan (app side) and Murbella (snosi side). This PR stays unlabeled until both confirm or their corrections are in.

Risk tier

Risk tier: 1 — a new skill, an index line and a table row; no code, workflow, authority or script change.

Docs housekeeping

  • Skill follows the TEMPLATE shape (trigger description, done-when, steps, pitfalls)
  • Indexed in AGENTS.md and docs/design/shared-skills.md
  • Conformance aliases untouched

Verification

  • npm run check: docs gate 1.000/1.000/1.000, 68/68 tests.

The two delivery tracks of a suite app (ADR-0058, ADR-0062): the desktop
Flatpak through an attested candidate, a clean-desktop gate on a leased
VM, make bump on the candidate's commit, promote.yml and the
flatpak-index listing; and the daemon's attested frostyard-<name> .deb
that snosi pins and ships as a sysext.
…-check

The pin job runs weekly or on dispatch, on branch
auto-update-sysext-checksums, and checks the signer workflow; updates
merge at the next boot or at once with an interactive updex update; the
Upholds= drop-in and preset ship in the sysext, not the .deb; the .deb
must not ship a base-owned path; and a new daemon needs the full snosi
list (finalize guards, postinst, base-image feature and transfer, the
pin_attested wiring, tests, docs).
frostread has no flatpak.yml yet; lodge and porter have no Flatpak;
frostnotes publishes from the release tag with no gate (a decision for
Brian); the gate updates from a baseline candidate, tests schema
migrations, uses a second VM for a refused portal, checks for a second
daemon, and passes on one digest; Promote's refusals and its optional
dispatch; the .deb has no factory /etc and installs its units with
WantedBy=.
…, per app plan after

Cross-review finding: the general skill made a per-release gate mandatory,
which the flatpak-index procedure and ADR-0062 require only before the
first listing. Later releases follow the app's plan; the general rule is
an open decision.
… app's practice

Every listed digest must be a gated digest; the candidate flow meets it,
and a workflow that moves latest to an untested digest does not. The
ADRs win over the skill and the app documents; the apps' documents stay
the reference for their own mechanics.
…names user, groups and memberships

A refused Background portal stops only the start at login (ADR-0062);
frostmail's accepted end-with-last-window behaviour is named as a
difference to record. The sysusers rule lists the service user, group
lodge, the memberships and user lodge, as the shipped files do.
@frostyard-machines frostyard-machines added ready-for-human Reviewed, CI green: ready for Brian to review and merge and removed ready-for-human Reviewed, CI green: ready for Brian to review and merge labels Nov 1, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 1, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Re-labeled at fde45bf after cross-review (re-review 3, Ready) and green CI. Merge after #186 (ADR-0065): the gate's portal-refusal check links it by URL.

@frostyard-machines frostyard-machines removed the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 1, 2026
…pp-release

# Conflicts:
#	AGENTS.md
#	docs/design/shared-skills.md
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 1, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Merged origin/main (f5cbfac) into the branch to clear index-line conflicts with #180 and #182; no force-push. The PR's own change set is unchanged: the sorted added/removed lines of git diff origin/main...HEAD at cc851c4 hash the same as at the reviewed head fde45bf (sha1 b8a065bb…). CI green at cc851c4. Merge after #186.

@bketelsen
bketelsen merged commit 963efaf into main Nov 1, 2026
3 checks passed
@bketelsen
bketelsen deleted the lucilla/skill-suite-app-release branch November 1, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants