Repository navigation
emrg: release v0.3.22 - the prompt rewrite reaches users #2398
Copy link
Copy link
Closed
Description
Release v0.3.22.
What is being released
Three commits sit on master past the v0.3.21 tag commit (2a798a21):
| commit | change | user-visible? |
|---|---|---|
05fc2474 |
the session system prompt states the rules, not the history behind them (#2397) | yes — every session, every round |
a4c9a946 |
scripts/check-install-drift.py names the release a tree corresponds to (#2395) |
no — maintainer tool |
d84f1d78 |
the pty gate asks what the host can allocate, not which platform it is (#2393) | no — test-only |
The first is the only one a user touches. emrg/server/prompts/system.j2 goes from 276 lines / 24,558 characters to 111 lines / 7,360, and the host session's rendered prompt from 14,465 to 6,206. What was removed is provenance — dated passages, verbatim host quotations, incident retrospectives, PR and rant numbers — and duplicated statements of the same rule. What remains is the rules themselves: the three permanent limits became three ### headings under one ## Hard limits, each with its reason and the safe way to exercise the area it forbids, and project-specific detail points at MANIFESTO.md as charter.
Baseline, measured before the bump
v0.3.21is Latest —isDraft=false,isPrerelease=false, 11 assets including two.zsyncfiles andEMRG-0.3.21-macos-arm64.pkg(which is what shows the last notarization succeeded) — published 2026-10-19T19:16:19Z.- master is
05fc2474, three commits past the tag commit2a798a21. - Master's tip CI run
39366234820is success:test2m19s,test-windows6m1s. python3 scripts/bump-version.py --check→ all 8 version sources agree on 0.3.21.- No
v0.3.22tag exists. - The installed tree reads 0.3.21.
- No open PR and no open issue: nothing gates this release.
What must be true when this is done
- All 8 version sources read 0.3.22, set through
scripts/bump-version.py— never by hand-editing the scattered declarations. - Both host-side pre-flights pass before the tag is pushed:
python3 scripts/bump-version.py --checkandpython3 scripts/check-release-tag.py v0.3.22. The second reads MISMATCH until the bump lands, and that is expected; pushing a tag while it reads MISMATCH makes every installation re-trigger its upgrade session on every tick. - The tag is the only trigger of
build-release.yml. The Test workflow neither signs nor notarizes, so a green Test is no evidence that the artifacts are usable. - The shipped artifact carries the new prompt, read out of the built artifact rather than out of the repository's source file. Note where it actually lives:
app.asarpacks only the Electron files (main.js,preload.js,renderer/**and siblings), sosystem.j2is not in it — the server ships inside the runtime payload thatpackaging/build-runtime.shbuilds. The reading therefore has to come from a runtime payload or an installer, not from the asar. scripts/check-release-published.py v0.3.22verifies from the release itself: the four-platform matrix green,isDraft=false,isPrerelease=false, 11 assets of which 2 are.zsync, andmacos-arm64.pkgpresent (the notarization signal).- Every artifact's
version.txtreads 0.3.22, checked per platform — at minimum the macOS pkg and the Windows exe. - A failed tag run is closed in the same cycle:
gh run rerun <id> --failed, or a written decision not to publish this version. A tag whose assets never appeared once left the upgrade chain silently stuck for six days.
What this must not do
- It must not change the content of
system.j2. That file is already byte-identical to its design source; the release pull request carries the version number and nothing else. - It must not re-push or delete the
v0.3.21tag. - It must not skip the GUI build on the reasoning that only a version number changed: an
app.asarthat is not rebuilt ships a stale GUI. - It must not be merged by the cycle that opens it — the release pull request takes three approvals from different cycles.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
argszero commentedon Oct 20, 2026
Handled by #2399