From 217a87324e41a18236e6ff1a956ef975c2b3b6ce Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Tue, 1 Dec 2026 12:33:38 +0100 Subject: [PATCH] docs(devlog): release 0.1.0 session log 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). --- AGENTS.md | 8 +- ...-release-010-readme-notes-packaging_log.md | 98 +++++++++++++++++++ docs/devlog/INDEX.md | 1 + 3 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 docs/devlog/20261201-release-010-readme-notes-packaging_log.md diff --git a/AGENTS.md b/AGENTS.md index 5ce9e53..02e2965 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -174,14 +174,14 @@ Session logs live in `docs/devlog/` (one per completed task/issue/milestone). Fu | Date | Log | | --- | --- | +| 2026-12-01 | [20261201-release-010-readme-notes-packaging_log.md](docs/devlog/20261201-release-010-readme-notes-packaging_log.md) | +| 2026-11-23 | [20261123-home-repoint-retains-old-editor-target_log.md](docs/devlog/20261123-home-repoint-retains-old-editor-target_log.md) | | 2026-11-19 | [20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md](docs/devlog/20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md) | +| 2026-11-17 | [20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md](docs/devlog/20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md) | | 2026-11-17 | [20261117-issue193-split-fat-files-along-postsmodel-pattern_log.md](docs/devlog/20261117-issue193-split-fat-files-along-postsmodel-pattern_log.md) | | 2026-11-17 | [20261117-issue192-collapse-gate-running-learnings-into-verify-rail-pointer_log.md](docs/devlog/20261117-issue192-collapse-gate-running-learnings-into-verify-rail-pointer_log.md) | | 2026-11-17 | [20261117-issue197-repo-wide-swiftlint-green-documented-lint-contract_log.md](docs/devlog/20261117-issue197-repo-wide-swiftlint-green-documented-lint-contract_log.md) | | 2026-11-17 | [20261117-issue190-full-test-verify-rail-pre-push-hook_log.md](docs/devlog/20261117-issue190-full-test-verify-rail-pre-push-hook_log.md) | +| 2026-11-16 | [20261116-failed-flush-discarded-on-document-switch_log.md](docs/devlog/20261116-failed-flush-discarded-on-document-switch_log.md) | | 2026-11-13 | [20261113-fold-typing-budget-pin_log.md](docs/devlog/20261113-fold-typing-budget-pin_log.md) | -| 2026-11-13 | [20261113-cold-turkey-full-tokenization_log.md](docs/devlog/20261113-cold-turkey-full-tokenization_log.md) | -| 2026-11-11 | [20261111-fix-library-search-stale-after-mutation_log.md](docs/devlog/20261111-fix-library-search-stale-after-mutation_log.md) | -| 2026-11-10 | [20261110-pr184-deferred-empty-piece-scope-lost-audit_log.md](docs/devlog/20261110-pr184-deferred-empty-piece-scope-lost-audit_log.md) | -| 2026-11-10 | [20261110-issue182-profilelayout-config-set-rail_log.md](docs/devlog/20261110-issue182-profilelayout-config-set-rail_log.md) | diff --git a/docs/devlog/20261201-release-010-readme-notes-packaging_log.md b/docs/devlog/20261201-release-010-readme-notes-packaging_log.md new file mode 100644 index 0000000..7abbac6 --- /dev/null +++ b/docs/devlog/20261201-release-010-readme-notes-packaging_log.md @@ -0,0 +1,98 @@ +# 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-.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/.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/.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 … `; 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/.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 ` — 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 `). +- [ ] Pre-existing, not touched: Release build emits `Text +` deprecation warnings in + `TrendsPaneView.swift:389–391`. + +--- + +*Log written by write-log skill* diff --git a/docs/devlog/INDEX.md b/docs/devlog/INDEX.md index bd4ce5e..6bfc512 100644 --- a/docs/devlog/INDEX.md +++ b/docs/devlog/INDEX.md @@ -5,6 +5,7 @@ Complete history of session logs in this directory, newest first. One-line summa | Date | Type | File | Summary | |------|------|------|---------| +| 2026-12-01 | milestone | [20261201-release-010-readme-notes-packaging_log.md](20261201-release-010-readme-notes-packaging_log.md) | Release 0.1.0: version bump + tag, README feature/usage rewrite, distilled release notes, release.sh (Developer ID DMG, notarize); rail 717/717; Developer ID cert pending | | 2026-11-23 | fix | [20261123-home-repoint-retains-old-editor-target_log.md](20261123-home-repoint-retains-old-editor-target_log.md) | Unticketed fix (brief-28, argus cycle-5): a Home repoint is a guarded document departure — the gate runs before the preference/binding commit, the refusal keeps Home A and the buffers; document identity is (Home, ID) across the model and re-checked at async completion (card scan, rescan — both mutation-checked); RED-first 6/6 at ca265d3b, review r1 +2 pins (rescan hoist, draft survives); rail 717/717 | | 2026-11-19 | fix | [20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md](20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md) | Quit routes through the departure gate (#200): conflict-held shutdown, BLOCK-QUIT at applicationShouldTerminate, never-loaded-retype guard; finish-audit fixes; rail 708/708 | | 2026-11-17 | fix | [20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md](20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md) | Unticketed fix (brief-27, argus cycle-4): stdin writes move to a dedicated writer queue — engine backpressure can no longer defeat the request deadline, Stop, or a bounded reaping close; neverRead/serverPing fake modes, 3 RED-first smokes + healthy-contract pin, suite 697/697 |