Milestone log for the release cut; INDEX row and the AGENTS.md window rebuilt from the ten newest rows (the 11-23 log had never entered the window).
99 lines
7.5 KiB
Markdown
99 lines
7.5 KiB
Markdown
# Release 0.1.0 — version bump, README rewrite, release notes, DMG packaging
|
||
|
||
> **Date:** 2026-12-01
|
||
> **Type:** milestone
|
||
> **Reference:** tag `v0.1.0` at `d470615` (local; push + Gitea release pending Alexander's go)
|
||
|
||
## Goal
|
||
|
||
Cut the first release: bump to 0.1.0 with a git tag, a DMG shareable on Gitea, a human-readable
|
||
release-notes document (CHANGELOG.md is too dense for a release page), and a README with a real
|
||
feature list and usage instructions now that the codebase is stable.
|
||
|
||
## What Was Done
|
||
|
||
- `Museion.xcodeproj/project.pbxproj`: `MARKETING_VERSION` 1.0 → 0.1.0 on all three targets (six
|
||
configs). `CURRENT_PROJECT_VERSION` stays 1. Verified in a real Release archive: Info.plist reads
|
||
`0.1.0` / `1`, `LSMinimumSystemVersion` 27.0, binary arm64 only.
|
||
- `CHANGELOG.md`: `## [0.1.0] - 2026-12-01` heading over the former Unreleased entries, empty
|
||
`[Unreleased]` above, pointer to the release notes.
|
||
- `README.md`: rewritten. Intro → features (Writing, Outlines, Library, The Mentor, Measuring
|
||
progress, Publishing, Rails) → requirements → install → quick start → shortcut table → the
|
||
Museion Home (kept, plus a folder-layout block) → development commands → license. Every feature
|
||
line grounded in `MuseionApp.swift` (menus/shortcuts), `Museion/AGENTS.md`, and CHANGELOG entries;
|
||
nothing from the PRD's ambitions.
|
||
- `docs/releases/0.1.0.md`: the distilled notes — what's in it, the milestones closed (M0–M6 plus
|
||
the post-v1 extensions), install, known limits, numbers. This is the Gitea release body.
|
||
- `scripts/release.sh`: archive → `-exportArchive` with `method: developer-id` → UDZO DMG
|
||
(`diskutil image create from`) → `notarytool --wait` → `stapler staple` → `spctl` assessment.
|
||
Preflight refuses before any build when no `Developer ID Application` identity is in the
|
||
keychain. `NOTARIZE=0` skips notarize+staple. Output `dist/Museion-<MARKETING_VERSION>.dmg`
|
||
(version read from build settings, not from the pbxproj text). `.gitignore` gains `dist/`.
|
||
- DOX: root `AGENTS.md` commands block + scripts index row + Stack line (macOS 27+, see gotchas);
|
||
`docs/AGENTS.md` Local Contract for `docs/releases/<version>.md` + Child DOX Index row.
|
||
- Three commits (`docs(readme)`, `build(release)`, `chore(release)`) and annotated tag `v0.1.0` on
|
||
the last.
|
||
- Verification: `scripts/full-test.sh` at the tagged commit — 717 executed / 717 passed / 0 failed;
|
||
`shellcheck scripts/release.sh` clean; `bash -n` clean; preflight refusal exercised; archive step
|
||
ran (38 s); DMG step proven on the dev-signed archive app (3.3 MB UDZO, mounts, signature
|
||
verifies inside).
|
||
|
||
## Decisions & Rationale
|
||
|
||
| Decision | Rationale |
|
||
|----------|-----------|
|
||
| No wayfinder map — direct session | The skill's own test: no fog, one session. The only real decision (signing) was a question for Alexander, not a ticket. |
|
||
| `v0.1.0` tag with the `v` | The convention Gitea release pages expect; annotated so it carries a message. |
|
||
| Tag AFTER the docs commits | The tagged tree must contain the README and release notes it describes. |
|
||
| DMG, no zip | Same effort with `diskutil image create`; DMG is what Mac users expect. |
|
||
| `docs/releases/<version>.md` over a root `RELEASE_NOTES.md` | Scales per release, lives under the docs contract, reviewable in the commit; the Gitea release body is pasted from it. |
|
||
| `archive` + `-exportArchive` (method `developer-id`) over a plain Release build with `CODE_SIGN_IDENTITY` overrides | The Xcode-sanctioned distribution path — identical to Organizer's export, so a GUI fallback matches. Preflight guarantees no portal-side surprise from `-allowProvisioningUpdates`. |
|
||
| arm64 only | `MACOSX_DEPLOYMENT_TARGET = 27.0`; macOS 27 does not run on Intel, so a universal binary is dead weight. |
|
||
| Developer ID + notarization | Alexander has a Developer ID (not yet on this Mac). Without notarization Gatekeeper still blocks on Sequoia+ regardless of the signing cert, so Developer ID alone buys nothing for the downloader. |
|
||
| `diskutil image create from` over `hdiutil create` | hdiutil create is deprecated on macOS 27 (warning on every run); the replacement produced an identical UDZO image. |
|
||
| Stale README "macOS 26.5+" → 27+ | pbxproj `MACOSX_DEPLOYMENT_TARGET = 27.0` on all six configs and `Museion/AGENTS.md` already said 27.0; the root Stack line was corrected to match. |
|
||
|
||
## Gotchas & Fixes
|
||
|
||
| Problem | Root Cause | Fix |
|
||
|---------|------------|-----|
|
||
| `codesign -dv` prints no `Authority=` lines — the script's Developer-ID check would have false-failed on the real run | Authority chain needs `-dvv` | `codesign -dvv` in both the check and the diagnostic echo |
|
||
| `hdiutil create` warns "deprecated. Please use 'diskutil image create…'" on macOS 27 | Apple moved image creation under diskutil | `diskutil image create from --format UDZO --volumeName … <stage> <dmg>`; kept `hdiutil detach` for the busy-volume guard (not deprecated) |
|
||
| `security find-identity -v -p codesigning` showed only `Apple Development` despite Alexander having a Developer ID | A Developer ID private key exists only on the Mac that generated the CSR; the portal copy is useless without it | Preflight names the Xcode path (Settings ▸ Accounts ▸ Manage Certificates ▸ + ▸ Developer ID Application) or a `.p12` import from the other Mac |
|
||
| `git log --oneline` hid the merge commit `3bb1782` and read as if HEAD were `cac66f6` | This machine's log config suppresses merges in short logs | Trust `git status --branch` and `git show -s` for ancestry; the snapshot's "ahead 2" was the merge + one chore commit |
|
||
| AGENTS.md session-log window was one log stale (11-23 missing) | The 11-23 write-log did not refresh the window | Window rebuilt from INDEX's 10 newest rows |
|
||
|
||
## Files Changed
|
||
|
||
| File | Change Summary |
|
||
|------|---------------|
|
||
| `Museion.xcodeproj/project.pbxproj` | `MARKETING_VERSION = 0.1.0` ×6 |
|
||
| `CHANGELOG.md` | `[0.1.0] - 2026-12-01` heading + notes pointer |
|
||
| `README.md` | Full rewrite: features, requirements, install, quick start, shortcuts, Home layout, development |
|
||
| `docs/releases/0.1.0.md` | New — distilled release notes (Gitea release body) |
|
||
| `scripts/release.sh` | New — Developer ID export → notarized DMG |
|
||
| `.gitignore` | `dist/` |
|
||
| `AGENTS.md` | Stack line → macOS 27+; commands block `release.sh`; scripts index row; session-log window |
|
||
| `docs/AGENTS.md` | `docs/releases/<version>.md` contract + index row |
|
||
|
||
## Open Items & Next Steps
|
||
|
||
- [ ] Alexander: create the Developer ID Application identity on this Mac (Xcode ▸ Settings ▸
|
||
Accounts ▸ Manage Certificates… ▸ + ▸ Developer ID Application — Account Holder only) or
|
||
import the `.p12` from the Mac that holds the private key.
|
||
- [ ] Alexander (for notarization): `xcrun notarytool store-credentials museion-notary --apple-id …
|
||
--team-id 3M7APDAAC5 --password <app-specific password>` — the secret never leaves his hands.
|
||
- [ ] Then `./scripts/release.sh` → `dist/Museion-0.1.0.dmg`; mount test, `spctl` should read
|
||
`accepted, source=Notarized Developer ID`.
|
||
- [ ] Only on explicit go: `git push origin main v0.1.0`, then the Gitea release with the DMG
|
||
attached and `docs/releases/0.1.0.md` as the body.
|
||
- [ ] README's "signed and notarized" sentence is true only after the step above lands — revert
|
||
to the Gatekeeper-workaround wording if notarization is skipped.
|
||
- [ ] Optional: a screenshot for the README (launch the archive build, `screencapture -l <window>`).
|
||
- [ ] Pre-existing, not touched: Release build emits `Text +` deprecation warnings in
|
||
`TrendsPaneView.swift:389–391`.
|
||
|
||
---
|
||
|
||
*Log written by write-log skill*
|