Files
museion/docs/devlog/20261203-release-011-apex-refresh-is-step-one_log.md
T
AlexKucera d5a515091a docs(devlog): release 0.1.1 session log; release skill gains the Micro.blog draft step
Session log for the 0.1.1 cut: apex 1.1.59 refreshed first, bump + tag
4a056f9, rail 720/720 with the freshness proof, notarized DMG sha256
e7add45a…, the go (push + Gitea release id 28, token-authenticated
download byte-identical), and the Micro.blog announcement left as a
draft. The gotchas table carries the six post-go traps: silent
tea releases create, Gitea's tag_name, no PyYAML on the system python,
security add-generic-password needing </dev/null, and an account with
no default microblog.

Release skill 0.2.0: new step 11 posts the announcement to Micro.blog as
post-status: draft — token in the login keychain under its own service
(never the app's production micropub slot), mp-destination mandatory
because q=config shows three blogs and none is default, mp-channel
default, q=source read-back before reporting. Intro, Prerequisites,
Quick Reference, Pitfalls and Verification updated to match; root
AGENTS.md Child DOX Index row mentions the draft step.
2026-12-03 08:02:06 +01:00

10 KiB
Raw Blame History

Release 0.1.1 — the apex refresh becomes step one

Date: 2026-12-03 Type: milestone Reference: tag v0.1.1 → 4a056f9; docs/releases/0.1.1.md

Goal

Cut 0.1.1, a bug-fix release carrying the one fix that sat under [Unreleased] since 0.1.0 (the external-watch normalizer, PR #203), and land the release skill that ran it.

What Was Done

  • Pre-flight. Local main == forge at 2d5073e (the #203 merge; Alexander pulled it mid-session). Developer ID identity present, tea default login present. [Unreleased] held exactly one entry — the fix that defines this release.
  • apex 1.1.58 → 1.1.59 (step 1). GitHub releases/latest = v1.1.59 (published 2026-12-01, the day after the 0.1.0 cut). Universal tarball .sha256 verified (e75cd828…), lipo -thin arm64, the three CI/Homebrew rpaths deleted, @executable_path/../Resources/libyaml.bundle added, Developer ID–signed --options runtime --timestamp. Proven in a scratch Resources/libyaml.bundle/ layout before the copy: --version = 1.1.59, --no-mixed-lists renders - a + 1. one as <ul> then <ol>. 1.1.59 still links libyaml dynamically — the vendored dylib and the ADR-0011 recipe stay as they were. THIRD-PARTY-NOTICES.md bumped.
  • Bump. MARKETING_VERSION 0.1.0 → 0.1.1 on all six target×configuration pairs; CURRENT_PROJECT_VERSION stays 1. Read back from -showBuildSettings: one unique value, 0.1.1.
  • Changelog. ## [0.1.1] - 2026-12-03 over the external-watch entry, fresh empty [Unreleased] above, pointer to the notes, a ### Changed → - **reading:** line for the apex refresh.
  • Release notes. docs/releases/0.1.1.md — bug-fix-sized: the false #67 conflict in plain language, the apex refresh, known limits pointing at 0.1.0's, install (replaces 0.1.1 in place), numbers (720 at the tag).
  • README. Unchanged — <version> placeholder, "macOS 27 or later" matches the 6× MACOSX_DEPLOYMENT_TARGET = 27.0, license pointer already covers apex + libyaml.
  • Rail. 720 executed / 720 passed / 0 failed. Freshness proven, not assumed: run dir _build/full-test/20261203T064608Z-Museion/ at 07:46:32 > last tree edit 07:45:51; CpResource …/Resources/apex at 07:46:10; the built test host's apex reports 1.1.59; 59 SwiftCompile lines. swiftformat 0/152, swiftlint 0/0/141, shellcheck scripts/release.sh clean.
  • Slices + tag. bba4688 build(release) (skill + its DOX row + notes) · 570abb3 fix(reading) (apex binary + notices) · 4a056f9 chore(release) (bump + changelog heading). Working tree byte-identical to HEAD's tree at tag time (git diff HEAD empty). git tag -a v0.1.1 on 4a056f9.
  • DMG. release.sh: archive → Developer ID export → UDZO DMG → signed → notarized → stapled. Four proofs: from the mounted image Contents/Resources/apex --version = 1.1.59 and CFBundleShortVersionString = 0.1.1, shipped apex carries exactly the one rpath, the app does not link libyaml, stapler validate OK, spctl → accepted, source=Notarized Developer ID. sha256 e7add45a9a577b36fa39864f1acfdfa9db72448311ffa459031a33344dd9d76b, 3,164,194 bytes.
  • Skill updated (mid-session, on Alexander's steer). Step 1 went from "compare --version, upgrade if stale" to an unconditional refresh with the full recipe inline — the exact commands that until now lived only in the 0.1.0 devlog. Homebrew is a labeled fallback. Quick Reference line and three Pitfalls added; skill version: 0.1.1.

Decisions & Rationale

Decision Rationale
GitHub releases/latest is the apex source of record; Homebrew is fallback only Live-checked during the cut: the Homebrew formula and the installed binary were both 1.1.58 while GitHub had 1.1.59. A brew upgrade apex printing "already up-to-date" would have shipped the stale renderer with a clean conscience
Step 1 is unconditional, not a comparison The old wording read as optional and was skipped by habit — Alexander's steer. A bundled binary is stale by definition between releases
Scratch-layout proof BEFORE the copy into Resources/ A binary that fails --no-mixed-lists in $TMPDIR has touched nothing; the same failure in-tree costs a rail run
The apex bump is its own fix(reading) slice Same shape as 0.1.0's fd806e9; the binary and its notices travel together, separate from the version bump
CHANGELOG ### Changed entry for apex even though it's a patch bump Common Changelog: anything a user can observe (renderer version) is recorded. 0.1.0 did the same for 1.1.17→1.1.58
Homebrew variant's rpath loop tolerates absent paths (2>/dev/null || true) The Homebrew build carries $(brew --prefix)/lib instead of the CI paths; install_name_tool -delete_rpath fails on a path the binary lacks. The Done-check (exactly ONE rpath left) is the real gate

Gotchas & Fixes

Problem Root Cause Fix
git log --oneline showed 3197b92 as tip while rev-parse HEAD said 2d5073e — looked like a corrupted state rtk (terminal-output wrapper on PATH) mangles git log porcelain output; it dropped the merge commit and flattened the first-parent line Trusted plumbing (cat-file -p, rev-parse, describe) and the forge (ls-remote), all of which agreed: 2d5073e is a real merge, parents 3197b92 + 07da076, tree 93dcb24. Prefer plumbing when a wrapper is in the path
My first origin/main check printed 3197b92, then minutes later everything said 2d5073e Alexander pulled the PR mid-session (reflog: pull: Fast-forward); my earlier read was correct at the time Confirmed via git ls-remote origin refs/heads/main = forge truth before any write
The release skill itself was uncommitted (untracked SKILL.md + unstaged AGENTS.md row) at the start of a release that requires a clean tree The skill was authored in the 0.1.0 session but never committed Folded into build(release) — it is release tooling; Alexander approved
find -newer rel.json missed the extracted tarball files Both were written in the same second tar tzf for the layout, find -name apex for the binary
full-test.sh status prints no run directory The script keeps it in ${FT_BASE_DIR:-$ROOT/_build/full-test}/<utc-id>-<scheme>/ Read BASE from the script; the run dir's mtime + the log's CpResource line are the freshness proof
tea releases create printed nothing on success Normal — silent exit 0 The tea api read-back is the proof; it showed release id 28, draft: false, one asset at the local byte size
First read-back script died on KeyError: 'tag' Gitea's release JSON spells it tag_name (GitHub-shaped assumptions) Read tag_name; recorded in the skill's Quick Reference
python3 -c 'import yaml' → ModuleNotFoundError reading the tea token PyYAML isn't on the system python grep -E '^\s*token:' + sed — no new dependency for a one-line read
security add-generic-password … -w <value> → "passwords don't match", nothing stored (read-back 0 chars) Without a tty, security prompts for a retype </dev/null on the add; always read the length back before relying on it
Micro.blog q=config shows three microblogs, none microblog-default A post without mp-destination would be ambiguous Sent mp-destination: https://AlexKucera.micro.blog/ explicitly; Location host confirms it took

Files Changed

File Change Summary
.agents/skills/release/SKILL.md New (committed this release): step 1 = unconditional apex refresh with the full recipe inline (GitHub canonical, Homebrew fallback); step 11 = Micro.blog announcement as a draft (Keychain token service, mp-destination mandatory, read-back); Quick Reference lines; eight Pitfalls; version: 0.2.0
AGENTS.md .agents/skills/ Child DOX Index row (now mentions the Micro.blog draft); session-log window refreshed to the 10 newest INDEX rows (picks up the 11-30 log the #203 merge indexed but didn't window)
docs/releases/0.1.1.md New — human-readable notes, the Gitea release body
CHANGELOG.md [0.1.1] - 2026-12-03 heading, fresh [Unreleased], notes pointer, ### Changed apex entry
Museion.xcodeproj/project.pbxproj MARKETING_VERSION = 0.1.1 ×6
Museion/Resources/apex 1.1.58 → 1.1.59, arm64 slice, one rpath, Developer ID + hardened runtime (1,019,232 → 1,019,312 bytes)
Museion/Resources/THIRD-PARTY-NOTICES.md ## apex 1.1.59, v1.1.59 prose
docs/devlog/20261203-release-011-apex-refresh-is-step-one_log.md This log
docs/devlog/INDEX.md Row inserted at top

Open Items & Next Steps

  • Go given 2026-12-03. git push origin main v0.1.1 → forge main = 4a056f9, annotated tag derefs to it.
  • Gitea release id 28 created (draft: false, one asset 3,164,194 bytes, body ends [Generated by AI]). Token-authenticated download hashes to e7add45a… — byte-identical to local — and stapler validate passes on the downloaded file.
  • Micro.blog announcement posted as a draft (on Alexander's request, mid-run): POST /micropub → 202, Location https://alexanderkucera.com/2026/12/03/museion.html, preview https://micro.blog/account/posts/239/preview/6088556. Read back q=source → post-status: draft, 1118 chars, both links present. Awaiting Alexander's publish.
  • Alexander: review + publish the Micro.blog draft from the preview link.
  • Rotate the Micro.blog App Token — it was pasted into chat, so it lives in this transcript. After rotating, re-store: security add-generic-password -U -a micro.blog -s com.babylondreams.Museion.release-announce -w '<new>' </dev/null.
  • Ask upstream (ApexMarkdown/apex) for a statically linked macOS build — would retire the rpath/codesign dylib dance and the .bundle; carried from the 0.1.0 log, still open
  • rtk mangling git log is a recurring hazard on this machine — already has a skill (rtk-terminal-output); consider making the release skill's step 7 use git log --format via plumbing or --no-color if it bites again

Log written by write-log skill