Release Version
ASecurityDeploy or cut a versioned release of Agentmaster — the local deploy inner-loop (close → build → relaunch) AND the public GitHub release pipeline (tag or dispatch release.yml → monitor → verify the 6 assets (bundle, cert, 2 portable zips with public PDBs, 2 full-PDB symbols zips) → apply notes → publish). Encodes the hard rules: hold the build mutex, pin `-R Nucs/Agentmaster` (gh defaults to the upstream microsoft/terminal remote), confirm the version with the user first, build the RELEASE ide...
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added December 6, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add Nucs/Agentmaster --skill release-version --agent claude-codeAre you the author of Release Version?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nucs-release-version)---
name: release-version
description: |
Deploy or cut a versioned release of Agentmaster — the local deploy inner-loop
(close → build → relaunch) AND the public GitHub release pipeline (tag or dispatch
release.yml → monitor → verify the 6 assets (bundle, cert, 2 portable zips with public PDBs,
2 full-PDB symbols zips) → apply notes → publish). Encodes
the hard rules: hold the build mutex, pin `-R Nucs/Agentmaster` (gh defaults to the
upstream microsoft/terminal remote), confirm the version with the user first, build the
RELEASE identity, and ALWAYS pre-validate with a clean Release build (incremental Debug
builds mask clean-build errors the runner WILL hit): locally, or as a PURGED build on the
build server (`amb build --config Release --identity release --purge force`, then
`amb test <id> m5`), which costs this PC nothing. Use when the user asks to
release a new version, cut/publish a release, ship vX.Y.Z, cut a NIGHTLY
(vX.Y.Z-prerelease-nightly — auto-marked prerelease, offered only to nightly-opted users),
or deploy the dev instance.
keywords: release, deploy, version, publish, ship, vX.Y.Z, release.yml, ci.yml, msixbundle, gh release, git tag, AgentmasterDev, agentmaster.exe, draft release, build mutex, nightly, prerelease-nightly
keywords-sparse: cut a release, release a new version, publish vX.Y.Z, ship it, deploy the app, redeploy, cut a nightly, nightly build
keywords-regex: \brelease\b|\bdeploy\b|\bpublish\b|\bnightly\b|v\d+\.\d+\.\d+|release\.yml|\.msixbundle
---
# Agentmaster — deploy & release a version
Two distinct workflows. **Path A (local deploy)** = the inner loop that gets your code
into the running dev instance (standing-authorized, no prompt). **Path B (public release)**
= cut a versioned GitHub Release (outward-facing — confirm the version with the user FIRST,
never self-initiate). They share the same pre-flight.
The authoritative source is **`CLAUDE.md`** → *Deploy & run*, *Concurrency lock*, and
*Releasing a public version*. This skill is the runnable checklist; if it ever disagrees with
CLAUDE.md, CLAUDE.md wins — re-read it (it changes).
For the LOCAL machine's build flavors, the production (Release-layout) install, the
self-kill check before closing an instance, and the build/registration troubleshooting
matrix (PRI210, 0x80070020 re-register collisions, stale mutex), see the **`build-install`**
skill — it owns the local how; this skill owns the release pipeline. NOTE: every build writes
to Q:, never K: (CLAUDE.md *Building FAST* #1). Path B's pre-validation build (B1) must never
write the layout production runs from: build it with `-LayoutDir` set to the Q: slot production
does NOT run from (the result is then also a hot-swap candidate, build-install §4a), or with no
`-LayoutDir` (the wapproj's default folder is a junction into `Q:\tmp\agentmaster-package-bin`,
which nothing is registered from). Production keeps running either way.
---
## Hard rules (both paths)
1. **Hold the `build-launch` mutex** around any full-exe build, launch, deploy, or closing our
instance. (A lib-only compile-check does NOT need it.) It's a filesystem lock shared by all
agents — persists across separate Bash calls.
```bash
TOKEN=$(bash tools/am-lock.sh acquire --wait 600 --label "release $(git rev-parse --short HEAD)") || exit 1
# ... whole cycle ...
bash tools/am-lock.sh release --token "$TOKEN" # ALWAYS release, even on failure
```
2. **`gh` defaults to the WRONG repo.** This checkout has an `upstream` remote =
`microsoft/terminal`, and `gh` picks it. **Always pass `-R Nucs/Agentmaster`** (or run
`gh repo set-default Nucs/Agentmaster` once per session). Symptom if you forget: "release not
found" / `HTTP 404 ... microsoft/terminal`.
3. **`gh` HTTP-trace noise can corrupt `--json`/`--jq`.** If a `--jq` query exits 1 with no
output, fall back to the plain table form (`gh release view vX.Y.Z -R Nucs/Agentmaster`) and
read it, or `gh api .../releases/<id>/assets | jq ...`.
4. **Two package identities, one branding** — don't conflate them:
- **Release** = `Agentmaster` / `agentmaster.exe`, `Package-Rel.appxmanifest`, built with
`/p:AgentmasterPackageIdentity=Release`. This is what `release.yml` ships.
- **Dev** = `AgentmasterDev` / `agentmasterdev.exe`, `Package-Dev.appxmanifest` (the default).
This is the **local loose layout**.
5. **Close ONLY the target instance, its GUI process only** — path-filter on its InstallLocation
(`ExecutablePath -like "$dir\*"`, a `Q:\agentmaster-layouts\<slot>` folder; the instances
alternate between two). Never stop `OpenConsole.exe` (a killed ConPTY host orphans its tab's
claude), and NEVER blanket-kill by image name (spares the user's Store WT).
---
## Pre-flight (do this before EITHER path)
```bash
cd /k/source/Agentmaster
git status --porcelain # note modified AND untracked (??) — untracked source isn't in a tag/CI checkout
git log --oneline -5
git fetch origin --quiet; git status -sb | head -1 # branch vs origin (ahead/behind)
```
If there's WIP that committed `.cpp` depends on (a classic break: a committed `TerminalPage.Agent*.cpp`
references a declaration that only lives in an uncommitted `TerminalPage.h` / `AgentManagerContent.h`),
that WIP MUST be committed or the clean build fails. Check it deliberately.
---
## Path A — Local deploy (inner loop)
**The default since 2026-11-13 is the build server** (build-install §A): `amb build` on the worker
machine (`--snapshot` for uncommitted work), then `amb install w… --instance dev|production`, which
downloads the layout and swaps it in here. The local ways below are for when it cannot.
**Needs the user's permission** (CLAUDE.md *Development Rules*: the old "always auto deploy"
standing authorization is REVOKED). **Prefer the HOT deploy** (build-install §4a: dev keeps
running, the swap costs seconds); the close cycle below is the fallback, and build-install §3 is its
full version (the purge check, the drain, the post-launch checks). Hold the mutex around the whole
cycle. Every build writes to Q:, never K: (CLAUDE.md *Building FAST* #1).
```bash
# 0. mutex
TOKEN=$(bash tools/am-lock.sh acquire --wait 600 --label "deploy $(git rev-parse --short HEAD)") || exit 1
```
```powershell
# 1. dev's registered folder (Q:\agentmaster-layouts\Debug or Debug-B); close ONLY its GUI process
# (never OpenConsole.exe; the hosts end their clients and exit by themselves - wait for them)
$devDir = (Get-AppxPackage AgentmasterDev).InstallLocation.TrimEnd('\')
Get-CimInstance Win32_Process -Filter "Name='Agentmaster.exe'" |
? { $_.ExecutablePath -like "$devDir\*" } | % { Stop-Process -Id $_.ProcessId -Force }
$deadline = (Get-Date).AddSeconds(30)
do { Start-Sleep -Milliseconds 500; $hosts = Get-CimInstance Win32_Process -Filter "Name='OpenConsole.exe'" |
? { $_.ExecutablePath -like "$devDir\*" } } while ($hosts -and (Get-Date) -lt $deadline)
# 2. build INTO that folder (full exe link; without -LayoutDir dev would never see the build)
pwsh -ExecutionPolicy Bypass -File .\tools\Build-Agentmaster.ps1 -NoRestore -LayoutDir $devDir
# 3. relaunch the DEV identity
Start-Process "shell:appsFolder\AgentmasterDev_56k4f06dsfp9r!App" # or: agentmasterdev
```
```bash
# 4. release the mutex
bash tools/am-lock.sh release --token "$TOKEN"
```
- A changed `Package-Dev.appxmanifest` reaches dev only through a swap: build into the Q: slot dev
does NOT run from (`Q:\agentmaster-layouts\Debug` / `Debug-B`) and run
`tools\Swap-AgentmasterLayout.ps1 -LayoutDir <that slot> -PackageName AgentmasterDev` (build-install
§4a). Never register a K: folder, and never a fresh build by hand.
- **One-time identity-split migration** (first deploy after the profiles split): the old loose
registration still owns `Agentmaster_56k4f06dsfp9r` (now the RELEASE family). `Remove-AppxPackage
Agentmaster_56k4f06dsfp9r`, then re-register (becomes `AgentmasterDev`). First launch shows the
**profile picker** — Browse to `~/.agentmaster`, or Development + migrate to `~/.agentmaster-dev`.
(A GUI picker can't be answered headlessly; set env `AGENTMASTER_PROFILE=<dir>` to bypass, or let
the user click it.) See `PROFILES.md` §3.
- State for the dev instance lives in its profile (default `~/.agentmaster-dev/`, or wherever the
picker pointed — check `~/.agentmaster.profiles`). Tail `<profile>/hooks.log` for
`[engine] bridge listening …` + `[SessionStart]`.
---
## Path B — Public release (the main event)
### B0. Confirm the version with the user
It's outward-facing — never decide the version yourself. Default scheme: a tag `vX.Y.Z` →
`ver3 = X.Y.Z`, `ver4 = X.Y.Z.0` (the manifest `Identity Version`). Decide whether to release
HEAD as-is or commit pending WIP first.
**NIGHTLY scheme:** tag `vX.Y.Z-prerelease-nightly` (any tag containing `nightly` is a nightly —
the in-app updater's `IsNightlyTag` matches by contains, case-insensitive). `release.yml`'s prep
strips each component to digits, so `ver3`/`ver4` stay numeric (`X.Y.Z` / `X.Y.Z.0`) while the
TAG + release name + installer `-Version` keep the full suffix (`rawver`). **`X.Y.Z` must be
bumped past the newest release** — the updater's compare is numeric `major.minor.patch`
(suffixes ignored), so a nightly reusing the current version is never offered to anyone.
**A STABLE after a pre-release follows the same rule:** a stable `vX.Y.Z` equal to a published
`vX.Y.Z-prerelease` is never offered to the users already on that pre-release (`CompareVersion` returns
0 in `Updater.h`), so the stable goes past it — v0.8.2-prerelease was followed by v0.9.0 (2026-11-13).
### B0.5. Map the topology — diverged tags & "reunification" releases
A version's tag is a **snapshot**, not necessarily a point on mainline. Prereleases and hotfixes
routinely **diverge**: a hotfix cut off an old stable base, or a rebased/force-pushed branch, leaves
a tagged commit that is **NOT an ancestor of `agentmaster` HEAD**. Before cutting, map where the
release sits so the notes baseline and the "what does this contain" story are correct:
```bash
git fetch --tags --force origin
for t in $(git tag --list 'v*' | sort -V | tail -6); do
git merge-base --is-ancestor "$t" HEAD 2>/dev/null \
&& echo "$t ON-mainline (ancestor of HEAD)" \
|| echo "$t DIVERGED (its commit is not on HEAD)"
done
git rev-list --count "v<lastStable>"..HEAD # how far mainline is past the last STABLE
git rev-parse HEAD origin/agentmaster # is local ahead of origin? (push mainline before tagging)
```
- **Diverged tags are history** — leave them on GitHub; don't assume their commit is reachable from
mainline, and don't try to reconcile them into the branch. Their WORK usually still lives on
mainline (re-integrated / continued under different hashes).
- **"Reunification" release:** when several prereleases/hotfixes diverged off an old stable base and
mainline is now the **superset** of all of them, releasing mainline REUNIFIES the line. But the
NOTES still follow the §2 rule by release TYPE: a reunification **prerelease** lists only ITS OWN
delta — the work it newly ships (e.g. a previously-abandoned batch), MINUS anything already shipped
in an intervening hotfix prerelease; the comprehensive merge waits for the eventual STABLE. Today's
case: 0.6.2 (abandoned prerelease) + 0.6.3/0.6.4 (diverged hotfixes) all sat off the 0.6.1 base;
mainline carried the full superset, so v0.6.5 released mainline as one **prerelease** whose notes are
just the 0.6.2 batch + newer state/triage commits (NOT the 23 GB leak / hourly-update / crash-loop
that already shipped in 0.6.3/0.6.4) — even though 0.6.2–0.6.4 are "newer" tags.
- **A prerelease baselines off the PREVIOUS release; a STABLE baselines off the last stable.** `Latest`
= the newest **non**-prerelease; intervening prereleases do NOT advance it. That last-stable is the
baseline for the STABLE merge (release-notes §6: ONE changelog naming no pre-release version) only —
a prerelease's delta is measured against whatever release
came right before it, not off the last stable or the highest version number (release-notes §2).
**NIGHTLIES are INVISIBLE to baselining** (release-notes §2): a pre-release/stable's delta is
measured against the previous NON-nightly release — a nightly is a throwaway snapshot almost nobody
installed, so its commits must still appear in the next real release's notes, and the stable merge
(§6) merges pre-releases only, never nightlies.
- **Push mainline before tagging** so `origin/agentmaster` reflects the released tree (the install
one-liner pulls `tools/*.ps1` from the branch). A clean fast-forward (`git merge-base --is-ancestor
origin/agentmaster HEAD`) is a plain `git push origin agentmaster`.
### B1. PRE-VALIDATE with a clean Release build — REQUIRED (locally, or purged on the build server)
This is the single most important step. **The CI/release runner does a from-scratch Release x64
build; your incremental Debug builds MASK errors it will hit** (e.g. a dead `using namespace
::Microsoft::Console;` in a TU that doesn't include `utils.hpp` — compiles in stale Debug, fails
`C2039`/`C2871` on a clean build). Catching it locally saves a ~22-min runner failure cycle.
A **lib-only** check is NOT sufficient — building `TerminalAppLib.vcxproj` alone in a fresh Release
obj tree fails on missing GENERATED headers (`ITerminalHandoff.h`) because it skips dependency IDL
generation. Do the **full** package build (it builds dependencies in order):
```bash
TOKEN=$(bash tools/am-lock.sh acquire --wait 600 --label "validate release $(git rev-parse --short HEAD)") || exit 1
# A Release build writes the Release build trees (bin\x64\Release and obj\x64\Release, junctions
# to Q:) and, with no -LayoutDir, the package-bin junction on Q:\tmp: neither instance runs from
# them, so no close is needed.
pwsh -ExecutionPolicy Bypass -File ./tools/Build-Agentmaster.ps1 -NoRestore -Configuration Release 2>&1 \
| grep -iE 'error C|error MSB|error LNK|fatal error|Build OK|Build FAILED' | grep -ivE 'PRI263|: warning' | tail -40
bash tools/am-lock.sh release --token "$TOKEN"
```
Expect `Build OK`. The wrapper skips the ~156s `.appxsym` symbol-package zip by default (see the
`build-install` skill §2 — it was 77% of a Debug package build), so a first cold Release build is
~5–10 min and incremental rebuilds drop to **~30s–2 min** — fix-rebuild loops are cheap. (Skipping
appxsym is safe for pre-validation: it catches compile/link errors, and the symbol-zip itself never
fails. NOTE the CI `release.yml` does NOT pass the flag, so it still spends ~156s/arch generating an
`.appxsym` nobody consumes — a separate, untouched CI-speedup opportunity.) `cl /MP` here reveals
errors roughly one file at a time — fix, rebuild, repeat until green. (Optional belt-and-suspenders:
the engine harness — `tests/run-m5-tests.bat`, ~12,900 checks in ~1.5 min, no lock needed — but it
validates the pure-C++ ENGINE TUs only, NOT the WinRT/XAML app TUs where clean-build-only errors bite,
so it is NOT a substitute for B1.)
**B1 on the build server instead** (it costs this PC nothing; build-install §A, whose §A.1 names the CLI:
`AMB='/q/tmp/buildserver-build/Amb.Cli/bin/Debug/net10.0-windows/win-x64/amb.exe'`). A PURGED build is
a clean build in a VM, as the runner's is —
`"$AMB" build <commit> --config Release --identity release --purge force --wait` (measured 2026-11-13 on
the worker: 104.7 min of build, 115 min to the build id; `--site home` builds on this PC in ~33 min
when it has the memory), then `"$AMB" test <build id> m5` (that build's own compiled harness in a
fresh VM; the three TaskbarBadge failures are the known baseline). Its layout is also what
production would install (`amb install <id> --instance production`), so one build both validates and
deploys. It does not replace B3's CI run, which builds x64 AND arm64 and signs.
**Self-kill caveat — when the release HOST is itself the production instance.** If your Claude
session runs *inside* production (`Q:\agentmaster-layouts\Release*\Agentmaster.exe` since
2026-10-12), a Release build is still safe: it writes only the Q: build trees and a layout folder
production does NOT run from (the slot it is not registered from, or the default package-bin
junction) — never the registered one. Only a SWAP of production would end your host (CLAUDE.md
*What a swap ends, and who can run it*). Before the hot deploy, production ran from the main tree's
`bin\x64\Release` on K:, a Release build relinked it in place, and this paragraph sent such a session
to CI: **CI's from-scratch Release build IS the clean-build gate B1 seeks** — trigger it (B3) and
watch the **build** step (B4) — which is why v0.6.5 leaned on CI, not a local Release build. That
route still works when a local build is not wanted.
### B2. Commit anything needed for a clean build
Extensive commit message (project convention). If local diverged from origin by a content-identical
amend, force-with-lease is safe; verify first with `git log --oneline origin/agentmaster ^HEAD` (only
the amended commit should be unique) and an empty `git diff <origin-tip> HEAD`. **Do NOT add the
`Co-Authored-By` / "Generated with Claude Code" trailers** (global rule).
```bash
git add -A && git commit -F - <<'MSG'
<subject>
<body>
MSG
git push --force-with-lease origin agentmaster # or plain push if fast-forward
```
### B3. Trigger the release
```bash
# real release (tag-push):
git tag -a vX.Y.Z -m "Agentmaster X.Y.Z" <commit> && git push --force origin vX.Y.Z
# NIGHTLY (auto-marked prerelease by the workflow; numeric X.Y.Z bumped per B0):
git tag -a vX.Y.Z-prerelease-nightly -m "Agentmaster X.Y.Z nightly" <commit> && git push --force origin vX.Y.Z-prerelease-nightly
# re-pointing an existing tag: git tag -d vX.Y.Z; git tag -a ...; git push --force origin vX.Y.Z
# (a force-update of a v* tag DOES re-trigger release.yml)
# OR a draft dry-run without a tag:
gh workflow run release.yml -R Nucs/Agentmaster -f version=X.Y.Z
# (a dispatch KEEPS a version suffix in the tag it mints — `-f version=X.Y.Z-prerelease-nightly`
# cuts a nightly draft exactly like the tag-push would)
```
### B4. Monitor (background it)
```bash
gh run list --workflow=release.yml -R Nucs/Agentmaster --limit 3 # grab the run id
gh run watch <run-id> -R Nucs/Agentmaster --exit-status --interval 30 # exits non-zero on failure
```
5 jobs must go green: **prep · build (x64) · build (arm64) · bundle · release** (~22 min total;
the x64+arm64 matrix is the long pole). The compile failure point is the **"Build CascadiaPackage
(Release, …)"** step — an early `gh run view <id> -R Nucs/Agentmaster --json jobs` confirms it cleared.
### B5. Verify the draft release + its 6 assets
```bash
gh release view vX.Y.Z -R Nucs/Agentmaster # title / tag / draft:true / 6 assets
gh api repos/Nucs/Agentmaster/releases/<id>/assets | jq -r '.[]|" \(.name): \(.size) bytes"'
```
Expect exactly these, non-empty (the msixbundle and zip sizes of v0.8.0, plus the symbol sizes measured
2026-10-23 on a local x64 build — `doc/agentmaster/SYMBOLS.md`):
- `Agentmaster_<ver4>.msixbundle` (~50 MB; no PDBs inside, by the owner's choice)
- `Agentmaster.cer` (~768 bytes — DER cert; "0 MB" is just rounding, confirm it's > 0)
- `Agentmaster_<ver4>_x64.zip` (~42 MB: ~27 MB of binaries + ~15 MB of PUBLIC PDBs beside them)
- `Agentmaster_<ver4>_arm64.zip` (~43 MB, the same shape)
- `Agentmaster_<ver4>_x64_symbols.zip` (~190 MB: the FULL PDB of every binary, Source Link + srcsrv indexed)
- `Agentmaster_<ver4>_arm64_symbols.zip` (~190 MB)
A missing, stale or unindexed PDB never gets this far: the build job's "Package the full symbols" step and the
portable step's `-RequireSymbolsUnder` fail the run first. Spot-check one: `unzip -l Agentmaster_<ver4>_x64.zip |
grep -c '\.pdb$'` → 16, and the same for the `_symbols.zip`.
- **A DRAFT's asset is downloaded by its id** (`gh release download` and `releases/tags/<tag>` cannot see a
draft): read the id from `gh api 'repos/Nucs/Agentmaster/releases?per_page=4'` (select by `tag_name`), then
`gh api -H 'Accept: application/octet-stream' repos/Nucs/Agentmaster/releases/assets/<asset id> > x64.zip`.
- **The portable zip's files sit under `agentmaster-<ver4>/`** (`agentmaster-0.9.0.0/.am-version`, never at the
root): `.am-version` reads `<ver4>`, and its `TerminalApp.dll` bakes the tag's commit as UTF-16LE text
(`AGENTMASTER_COMMIT_HASH`, `git rev-parse --short=9`): `python -I -c "import sys; print(sys.argv[2].encode('utf-16-le')
in open(sys.argv[1],'rb').read())" <dll> <short hash>`.
**Nightly note:** `<ver4>` is always the NUMERIC `X.Y.Z.0` — for a nightly the TAG/release name
carry the `-prerelease-nightly` suffix but the asset names do NOT (prep strips components to
digits), so verify assets by the numeric ver4, not the tag.
### B6. Apply curated release notes
Write the notes in the `release-notes` skill's house format (§3–§4) to a `.md` in the session
scratchpad: a 1–2 sentence intro (framing only) · **What's new** and **What's fixed**, ONE ROW per
change (a bold lead and about a sentence; nothing long-form below the rows, the owner's rule of
2026-11-16) · **Worth knowing when you upgrade** · **Install** — the one-command installer,
portable zip + MSIX/cert steps with the exact asset names. Then:
```bash
SC=<the session scratchpad> # never /tmp, never the checkout
gh release edit vX.Y.Z -R Nucs/Agentmaster --notes-file "$SC/am_release_notes.md"
```
(`softprops/action-gh-release` writes a terse default body; override it.)
### B7. Publish
Pick the flags by framing (the `release-notes` skill §5 owns stable-vs-prerelease framing):
```bash
# STABLE — becomes the new Latest:
gh release edit vX.Y.Z -R Nucs/Agentmaster --draft=false --latest --prerelease=false
# PRE-RELEASE — the current stable stays Latest:
gh release edit vX.Y.Z -R Nucs/Agentmaster --draft=false --prerelease --latest=false
```
**NIGHTLY** — a third framing BELOW pre-release (unstable development build): tag it
`vX.Y.Z-prerelease-nightly` (any tag containing `nightly` counts — the in-app updater's
`IsNightlyTag` matches the TAG by contains, case-insensitive). `release.yml` strips the suffix
to digits for the MSIX Identity Version and **auto-marks the release prerelease**; publish it
with the PRE-RELEASE flags above (never `--latest`). The updater offers a nightly ONLY to users
who enabled the cog's warning-gated "Allow updating to nightly builds" switch — even
prerelease-opted users skip it — and `X.Y.Z` must be bumped past the current release or the
numeric compare never offers it.
Confirm the state + badge:
```bash
gh release view vX.Y.Z -R Nucs/Agentmaster | grep -iE '^draft:|^prerelease:'
gh release list -R Nucs/Agentmaster --limit 5 | grep -vE '^\*' # right badge on the right release
```
**Badge gotcha (proven):** `--latest=false` alone does NOT move the Latest badge off a release — to
relocate it you must explicitly `--latest` the release you want as Latest (release-notes §5). After
publishing, refresh `README.md` (Download/capabilities) if the feature set moved.
---
## Signing & identity (FYI — already wired)
The release self-signs at runtime with a `CN=Agentmaster` cert whose subject is **read from the
manifest** (so it always == the Publisher; this is why the Publisher is `CN=Agentmaster`). Users
trust `Agentmaster.cer` once for the `.msixbundle`; the portable `.zip` needs no cert. A real cert
goes via repo secrets `SIGNING_PFX_BASE64` + `SIGNING_PFX_PASSWORD` (subject must still == Publisher).
Fork one-time settings (Actions OFF by default on forks): `gh api -X PUT
repos/<owner>/<repo>/actions/permissions -F enabled=true -f allowed_actions=all` and
`.../permissions/workflow -f default_workflow_permissions=write`.
## Gotchas recap
- `-R Nucs/Agentmaster` on EVERY `gh` call (upstream remote hijacks the default).
- Pre-validate with the **full** Release package build, never the lib alone (generated-header trap).
- Incremental Debug ≠ clean Release — only the from-scratch build catches the errors CI hits.
- Force-updating a tag re-triggers `release.yml`; a draft has no public effect until you publish.
- Local deploy relaunches **`AgentmasterDev`**/`agentmasterdev`, NOT `Agentmaster`/`agentmaster`.
- Always release the build mutex, even when a step fails.
- **NIGHTLY**: bump `X.Y.Z` (numeric compare; a suffix alone is never "newer"); the workflow
auto-marks it prerelease — still publish with the PRE-RELEASE flags, never `--latest`; asset
names stay numeric `<ver4>` while the tag carries the suffix; the one-command installer needs
the FULL suffixed version (`-Version X.Y.Z-prerelease-nightly` — it maps `-Version` → tag);
nightlies are invisible to notes baselines (release-notes §2).
Files in this skill
- SKILL.md
- am_release_0100_notes.draft.md
- am_release_010_notes.draft.md
- am_release_011_notes.draft.md
- am_release_020_notes.draft.md
- am_release_03_notes.draft.md
- am_release_041_notes.draft.md
- am_release_04_notes.draft.md
- am_release_050_notes.draft.md
- am_release_050_qa.md
- am_release_051_notes.draft.md
- am_release_052_notes.draft.md
- am_release_053_notes.draft.md
- am_release_054_notes.draft.md
- am_release_055_notes.draft.md
- am_release_056_notes.draft.md
- am_release_057_notes.draft.md
- am_release_058_notes.draft.md
- am_release_059_notes.draft.md
- am_release_060_notes.draft.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.