feat(microblog): add app token settings page and honest 5xx wording
The app token could only be entered in the publish sheet, and that field came back only after a 401/403, so a saved token had no standing way to be replaced or removed. The new Settings → Micro.blog page writes the same `MicropubTokenStore` slot the sheet reads, with a status row read back from the Keychain after every write so a locked keychain fails visibly instead of claiming "stored". The sheet now names the stored token a send carries when its field is hidden. Micro.blog's errors arrive as HTML pages, never Micropub JSON, so `decodeFailure` fell through to a bare `HTTP 503` that said nothing about whose side it was on. Any 5xx without a JSON description now reads "unavailable on their side — retry in a few minutes"; a described 5xx keeps its description and a 4xx keeps the bare status. One decode covers create, publish, q=config, and media uploads. Docs: AGENTS.md bullets, CHANGELOG [Unreleased] Added/Fixed, and the devlog for this task plus the 0.1.2 release log.
This commit is contained in:
1 parent
9aa0314564
commit
6938826101
11 files changed
+272
-14
No files matched your search
@@ -177,14 +177,14 @@ Session logs live in `docs/devlog/` (one per completed task/issue/milestone). Fu
|
|||||||
<!-- write-log: window-start -->
|
<!-- write-log: window-start -->
|
||||||
| Date | Log |
|
| Date | Log |
|
||||||
|------|-----|
|
|------|-----|
|
||||||
|
| 2026-12-04 | [20261204-microblog-5xx-wording-token-settings-page_log.md](20261204-microblog-5xx-wording-token-settings-page_log.md) |
|
||||||
| 2026-12-03 | [20261203-issue205-reveal-in-finder-copy-path_log.md](20261203-issue205-reveal-in-finder-copy-path_log.md) |
|
| 2026-12-03 | [20261203-issue205-reveal-in-finder-copy-path_log.md](20261203-issue205-reveal-in-finder-copy-path_log.md) |
|
||||||
| 2026-12-03 | [20261203-issue204-fix-cards-jump-to-the-anchor_log.md](20261203-issue204-fix-cards-jump-to-the-anchor_log.md) |
|
| 2026-12-03 | [20261203-issue204-fix-cards-jump-to-the-anchor_log.md](20261203-issue204-fix-cards-jump-to-the-anchor_log.md) |
|
||||||
|
| 2026-12-03 | [20261203-release-012-image-drop-fix_log.md](20261203-release-012-image-drop-fix_log.md) |
|
||||||
| 2026-12-03 | [20261203-image-drop-27-2-drag-routing-pastes-path_log.md](20261203-image-drop-27-2-drag-routing-pastes-path_log.md) |
|
| 2026-12-03 | [20261203-image-drop-27-2-drag-routing-pastes-path_log.md](20261203-image-drop-27-2-drag-routing-pastes-path_log.md) |
|
||||||
| 2026-12-03 | [20261203-release-011-apex-refresh-is-step-one_log.md](20261203-release-011-apex-refresh-is-step-one_log.md) |
|
| 2026-12-03 | [20261203-release-011-apex-refresh-is-step-one_log.md](20261203-release-011-apex-refresh-is-step-one_log.md) |
|
||||||
| 2026-12-01 | [20261201-release-010-readme-notes-packaging_log.md](20261201-release-010-readme-notes-packaging_log.md) |
|
| 2026-12-01 | [20261201-release-010-readme-notes-packaging_log.md](20261201-release-010-readme-notes-packaging_log.md) |
|
||||||
| 2026-11-30 | [20261130-external-watch-compares-unnormalized-text_log.md](20261130-external-watch-compares-unnormalized-text_log.md) |
|
| 2026-11-30 | [20261130-external-watch-compares-unnormalized-text_log.md](20261130-external-watch-compares-unnormalized-text_log.md) |
|
||||||
| 2026-11-23 | [20261123-home-repoint-retains-old-editor-target_log.md](20261123-home-repoint-retains-old-editor-target_log.md) |
|
| 2026-11-23 | [20261123-home-repoint-retains-old-editor-target_log.md](20261123-home-repoint-retains-old-editor-target_log.md) |
|
||||||
| 2026-11-19 | [20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md](20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md) |
|
| 2026-11-19 | [20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md](20261119-issue200-gate-quit-time-flushes-through-departure-gate_log.md) |
|
||||||
| 2026-11-17 | [20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md](20261117-acp-backpressure-defeats-timeout-and-shutdown_log.md) |
|
|
||||||
| 2026-11-17 | [20261117-issue193-split-fat-files-along-postsmodel-pattern_log.md](20261117-issue193-split-fat-files-along-postsmodel-pattern_log.md) |
|
|
||||||
<!-- write-log: window-end -->
|
<!-- write-log: window-end -->
|
||||||
@@ -6,10 +6,16 @@ All notable changes to this project will be documented in this file. The format
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- **settings:** **Micro.blog** page in Settings — the app token's home (unticketed; owner report 2026-12-04) — the token could only be entered in the publish sheet, and that field came back only after a 401/403, so a saved token had no standing way to be replaced or removed (a 503 left the writer stuck with whatever was stored). The new sidebar destination, after Provider Keys, writes the SAME login-keychain slot the sheet reads (`MicropubTokenStore`): a status row under the field (✓ Token saved in your Keychain / No token saved), a Save field that replaces the stored token, and a Remove button while one is stored. `saved` is read back from the Keychain after every write instead of assumed — a locked keychain fails the save and the status row says so rather than claiming "stored". The publish sheet picks up a Settings-saved token unchanged, and names it when it sends with the stored one (the field's absence alone never said which token a send carried). No new pins (a view over the already-pinned token store; the repo pins pure seams, not SwiftUI). Suite 736
|
||||||
|
|
||||||
- **library:** **Reveal in Finder** and **Copy Path** on every piece row — the library column's menu and the Archive pane's (#205) — one shared `FinderHandOffButtons` fragment in the workspace chrome over a model-resolved path: `PostsModel.fileURL(for:)` answers the piece's `post.md` through the one `PostStore.folder(of:home:)` resolver against the watched Home (never the scan snapshot), and a vanished piece answers nil so both entries no-op instead of revealing a stale path. Reveal selects the file in Finder; Copy Path puts the POSIX path on the pasteboard (Finder's own form; the pasteboard is cleared first). Library placement sits between Move to Archive and the destructive Trash behind a divider; the Archive menu appends after Convert. +3 tests (projects/ resolve, archive/ resolve, vanished → nil), flip-verified — bypassing the resolver reddens exactly the vanished and archive pins. Suite 735
|
- **library:** **Reveal in Finder** and **Copy Path** on every piece row — the library column's menu and the Archive pane's (#205) — one shared `FinderHandOffButtons` fragment in the workspace chrome over a model-resolved path: `PostsModel.fileURL(for:)` answers the piece's `post.md` through the one `PostStore.folder(of:home:)` resolver against the watched Home (never the scan snapshot), and a vanished piece answers nil so both entries no-op instead of revealing a stale path. Reveal selects the file in Finder; Copy Path puts the POSIX path on the pasteboard (Finder's own form; the pasteboard is cleared first). Library placement sits between Move to Archive and the destructive Trash behind a divider; the Archive menu appends after Convert. +3 tests (projects/ resolve, archive/ resolve, vanished → nil), flip-verified — bypassing the resolver reddens exactly the vanished and archive pins. Suite 735
|
||||||
|
|
||||||
- **fix cards:** **Jump** on a Fix Card selects the anchor's span in the piece's editor and makes the main window key (#204) — the borderless button sits in every non-stale card's action row (closed cards keep it; a stale anchor has nothing to land on); the span is the card's quote at its 1-based occurrence, resolved against the LIVE session text so a dirty buffer still lands, and it rides the reading flip-back's caret rail (one token counter; a zero-length hint stays a bare caret, a non-zero range selects). A jump leaves reading mode first, writes nothing, and re-fires on every click. Two review rounds closed the view-layer gaps the pure pins could not see: a jump dropped in reading mode, a main window that never became key (`NSApp.activate` is a no-op once the palette's click activated the app), a leading-blank caret hop that moved a span onto the title, and a cursor record taken before the scroll. +3 tests (`anchorRange` occurrence math with a UTF-16 fixture, the model's reveal stamp, the editor's `landingSpan`), all flip-verified. Suite 732
|
- **fix cards:** **Jump** on a Fix Card selects the anchor's span in the piece's editor and makes the main window key (#204) — the borderless button sits in every non-stale card's action row (closed cards keep it; a stale anchor has nothing to land on); the span is the card's quote at its 1-based occurrence, resolved against the LIVE session text so a dirty buffer still lands, and it rides the reading flip-back's caret rail (one token counter; a zero-length hint stays a bare caret, a non-zero range selects). A jump leaves reading mode first, writes nothing, and re-fires on every click. Two review rounds closed the view-layer gaps the pure pins could not see: a jump dropped in reading mode, a main window that never became key (`NSApp.activate` is a no-op once the palette's click activated the app), a leading-blank caret hop that moved a span onto the title, and a cursor record taken before the scroll. +3 tests (`anchorRange` occurrence math with a UTF-16 fixture, the model's reveal stamp, the editor's `landingSpan`), all flip-verified. Suite 732
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **publish:** A Micro.blog 5xx names their outage instead of a bare `HTTP 503` (unticketed; owner report 2026-12-04) — their errors arrive as HTML pages, never Micropub JSON, so `decodeFailure` fell through to the status code and the sheet read "Micro.blog said 503: HTTP 503", which says nothing about whose side it is on. A live probe at report time found the endpoint healthy (25/25 tokenless POSTs answered the usual 400; their news feed logs repeated 503 incidents), so the 503 was theirs and transient. The decode now answers `unavailable on their side — retry in a few minutes (status.micro.blog)` for any 5xx that carries no JSON description — ONE decode, so create, publish, q=config, and media uploads all speak it; a described 5xx keeps its description, a 4xx keeps the bare status. +1 test (a 503 over an HTML body → the their-side wording; a 422 over the same body → `HTTP 422`; a 502 with `error_description` → the description), flip-verified — the guard off reddens exactly that pin with `detail → "HTTP 503"`. Suite 736
|
||||||
|
|
||||||
## [0.1.2] - 2026-12-03
|
## [0.1.2] - 2026-12-03
|
||||||
|
|
||||||
Human-readable notes: [docs/releases/0.1.2.md](docs/releases/0.1.2.md).
|
Human-readable notes: [docs/releases/0.1.2.md](docs/releases/0.1.2.md).
|
||||||
|
|||||||
+2
-2
@@ -40,7 +40,7 @@ The map and the contracts, one bullet per file. Pin-level detail lives in the te
|
|||||||
- `DeslopLint.swift` — the deslop skill's findings computed in Swift at pass invocation (no engine round-trip; a failed lint never blocks a pass). `Resources/deslop-lint.json` bundled default; `<home>/deslop-lint.json` override wins when it exists AND decodes, any failure → bundled. Whole-word ICU matches; em-dash finding first, then tiers by first-match position; `emit` dedups against OPEN cards (closed never block, re-runs make progress).
|
- `DeslopLint.swift` — the deslop skill's findings computed in Swift at pass invocation (no engine round-trip; a failed lint never blocks a pass). `Resources/deslop-lint.json` bundled default; `<home>/deslop-lint.json` override wins when it exists AND decodes, any failure → bundled. Whole-word ICU matches; em-dash finding first, then tiers by first-match position; `emit` dedups against OPEN cards (closed never block, re-runs make progress).
|
||||||
- `Pass.swift` — `PassKind` (pass1/pass2 — the app's own names) + `PassContext.stub` (the pinned minimal engine prompt: verdict in the reply, findings as fix-card tool calls, research as candidate tool calls — the engine never writes to the piece folder) + `estimateTokens` (chars/4).
|
- `Pass.swift` — `PassKind` (pass1/pass2 — the app's own names) + `PassContext.stub` (the pinned minimal engine prompt: verdict in the reply, findings as fix-card tool calls, research as candidate tool calls — the engine never writes to the piece folder) + `estimateTokens` (chars/4).
|
||||||
- `BlindRead.swift` — neutral "Version A/B" prompt (both bodies inline, origin-free words never appear — the judge must not know which is the rewrite; caller randomizes order), ask = pick + one line why; `reveal` mapping appended by the model ONLY after the turn ends.
|
- `BlindRead.swift` — neutral "Version A/B" prompt (both bodies inline, origin-free words never appear — the judge must not know which is the rewrite; caller randomizes order), ask = pick + one line why; `reveal` mapping appended by the model ONLY after the turn ends.
|
||||||
- Micropub (`Micropub.swift`, `MicropubMedia.swift`, `MicropubPublishSheet.swift`) — the Micro.blog publish path. Client over the injectable Transport: draft = h=entry (name, markdown content verbatim, post-status draft, sorted keys; `category:` frontmatter NEVER travels; NO `photo` property — uploaded illustrations ride INLINE in content, refs rewritten to uploaded URLs on the WIRE only, the piece on disk never changes). Every URL through `trustworthyURL` (https + host + no line/control characters — the URL is trust-boundary data landing in frontmatter); 401/403 → authFailed with `error_description`; `preview` is display-only, never the publish target. `MicropubTokenStore` = the app's own login-keychain credential (ADR-0014's no-Keychain rule covers only provider keys). Media: `illustrations(in:)` parses only `` refs (remote refs ride as prose; multi-line alts don't parse at all — by design); parse + rewrite share ONE regex; markdown-active URLs ride the angle form. The model rail (`uploadIllustrations`) is the publish FLOOR: whitespace-empty alt refuses BEFORE any wire traffic, payload reads are contained (`../` or a symlinked asset refuses), uploads are all-or-nothing, style judgment stays with the author. The sheet owns Send as Draft → Publish, each an explicit click; refusals inline with buttons kept.
|
- Micropub (`Micropub.swift`, `MicropubMedia.swift`, `MicropubPublishSheet.swift`) — the Micro.blog publish path. Client over the injectable Transport: draft = h=entry (name, markdown content verbatim, post-status draft, sorted keys; `category:` frontmatter NEVER travels; NO `photo` property — uploaded illustrations ride INLINE in content, refs rewritten to uploaded URLs on the WIRE only, the piece on disk never changes). Every URL through `trustworthyURL` (https + host + no line/control characters — the URL is trust-boundary data landing in frontmatter); 401/403 → authFailed with `error_description`; a 5xx over Micro.blog's HTML error page names their outage (`unavailable on their side — retry in a few minutes`), never a bare `HTTP 503` — ONE decode (`decodeFailure`), every step; `preview` is display-only, never the publish target. `MicropubTokenStore` = the app's own login-keychain credential (ADR-0014's no-Keychain rule covers only provider keys) — entered in the sheet on first use, managed from Settings → Micro.blog (saved status, replace, remove; the page reads the slot back after every write — a locked keychain fails visibly, never a false "stored"; the status is a standing `✓ Token saved in your Keychain` row in the Settings verdict idiom, not an intro-line swap). Media: `illustrations(in:)` parses only `` refs (remote refs ride as prose; multi-line alts don't parse at all — by design); parse + rewrite share ONE regex; markdown-active URLs ride the angle form. The model rail (`uploadIllustrations`) is the publish FLOOR: whitespace-empty alt refuses BEFORE any wire traffic, payload reads are contained (`../` or a symlinked asset refuses), uploads are all-or-nothing, style judgment stays with the author. The sheet owns Send as Draft → Publish, each an explicit click; refusals inline with buttons kept; with a stored token in use it names it (the field's absence alone never said which token a send carries).
|
||||||
- `PostsModel.swift` — @MainActor @Observable, app-scoped. Domain extensions live in their own files (guard+Convert `PostsModelOutline.swift`, passes+Blind Read `PostsModelPasses.swift`, fix cards `PostsModelCards.swift`, write rail+structural ops `PostsModelWrites.swift`, external guest+imports `PostsModelImports.swift`, watcher+rescan `PostsModelWatcher.swift` (home of `PostsWatcher`), (Home, ID) identity `PostsModelIdentity.swift` — `openSessionTargets` + #205 `fileURL(for:)`, the row menus' post.md path, a pure read) — the #146/#193 splits. **#179 write rail**: every library store write (draft save, session-born post, rename, move to project, archive/restore, trash, convert, project creation, import batch, pass advance) rides `performWrite` — ONE seam pairing the write with exactly one rescan and owning the error strip (cleared BEFORE the write, so importFiles' mid-closure per-file failures survive; a nil-Home refusal writes nothing); the MODEL owns the Home (`watchedHome` — written only by the watcher extension's `startWatching` behind `bind`, driven by WorkspaceView's root `.task(id: museionHome)` (first frame + every repoint, whichever pane is showing); no public method takes a Home parameter); the editor's debounced flush and the micropub publish stay OUTSIDE the rail (own error semantics). `PostDraft` in-memory until first save; `mountID` keys the editor `.id` so every staging REMOUNTS (the outliner re-seeds its tree). Mixed-outline guard: a lossy outline select HOLDS the ask over an empty editor (nothing can normalize on ⌘S before the choice); reselect of the held piece is a no-op. Convert: consent rechecked at answer time (Headings aborts when the body went lossy behind the ask); converting the open piece tears down and reopens routed prose. `runPass` chain: guards through `guardOpenPieceRun` (#181: the ONE guard rail shared with blindRead — nothing running, mentor not mid-turn, engine ready, open saved piece) → readiness (missingKey names the provider) → flush → snapshot (unconditional, even for a later cancel) → capture stats → lint emit → `runningPass` live → own-engine run → advance ONLY on `.ended` with stopReason ≠ "refusal"; #179 audit: a Home repoint across the engine's turn REFUSES the advance with a strip message (the rail resolves `watchedHome` at call time — stamping into the repointed library would be silent on a slug collision). `blindRead` rides the same guard rail; nothing advances or records. `refreshCards` rides the rescan + open tails; `applyCard` = flush-first, stale anchor flags the card with no text change, the edit lands through `EditorSession.adoptText`; `promoteCard` writes a Learning and touches no text; #204 `revealCard` stamps ONE `revealRequest` (the anchor's span in the LIVE session text + a per-jump token) — a view act, nothing written; the editor column feeds it into the #71 caret rail (`caretHint`, now a `FixCardRevealRequest` — a non-zero range selects the span). `micropubSendDraft` = flush-first, ONE disk read serves both wire fields, success stamps `micropub_url`. `canArmWritingLock`/`editorBodyText` mirror the editor's outline routing (prose only). #200: quit is a document departure — `shutdown()` routes both sessions through `documentsMayDepart` (void — the verdict channel is quitReply's); `PostsModel.active` (weak static, registered by `AppGateState.init` — the `WritingLockState.active` precedent) is the quit gate's reachability, bare test rigs never register.
|
- `PostsModel.swift` — @MainActor @Observable, app-scoped. Domain extensions live in their own files (guard+Convert `PostsModelOutline.swift`, passes+Blind Read `PostsModelPasses.swift`, fix cards `PostsModelCards.swift`, write rail+structural ops `PostsModelWrites.swift`, external guest+imports `PostsModelImports.swift`, watcher+rescan `PostsModelWatcher.swift` (home of `PostsWatcher`), (Home, ID) identity `PostsModelIdentity.swift` — `openSessionTargets` + #205 `fileURL(for:)`, the row menus' post.md path, a pure read) — the #146/#193 splits. **#179 write rail**: every library store write (draft save, session-born post, rename, move to project, archive/restore, trash, convert, project creation, import batch, pass advance) rides `performWrite` — ONE seam pairing the write with exactly one rescan and owning the error strip (cleared BEFORE the write, so importFiles' mid-closure per-file failures survive; a nil-Home refusal writes nothing); the MODEL owns the Home (`watchedHome` — written only by the watcher extension's `startWatching` behind `bind`, driven by WorkspaceView's root `.task(id: museionHome)` (first frame + every repoint, whichever pane is showing); no public method takes a Home parameter); the editor's debounced flush and the micropub publish stay OUTSIDE the rail (own error semantics). `PostDraft` in-memory until first save; `mountID` keys the editor `.id` so every staging REMOUNTS (the outliner re-seeds its tree). Mixed-outline guard: a lossy outline select HOLDS the ask over an empty editor (nothing can normalize on ⌘S before the choice); reselect of the held piece is a no-op. Convert: consent rechecked at answer time (Headings aborts when the body went lossy behind the ask); converting the open piece tears down and reopens routed prose. `runPass` chain: guards through `guardOpenPieceRun` (#181: the ONE guard rail shared with blindRead — nothing running, mentor not mid-turn, engine ready, open saved piece) → readiness (missingKey names the provider) → flush → snapshot (unconditional, even for a later cancel) → capture stats → lint emit → `runningPass` live → own-engine run → advance ONLY on `.ended` with stopReason ≠ "refusal"; #179 audit: a Home repoint across the engine's turn REFUSES the advance with a strip message (the rail resolves `watchedHome` at call time — stamping into the repointed library would be silent on a slug collision). `blindRead` rides the same guard rail; nothing advances or records. `refreshCards` rides the rescan + open tails; `applyCard` = flush-first, stale anchor flags the card with no text change, the edit lands through `EditorSession.adoptText`; `promoteCard` writes a Learning and touches no text; #204 `revealCard` stamps ONE `revealRequest` (the anchor's span in the LIVE session text + a per-jump token) — a view act, nothing written; the editor column feeds it into the #71 caret rail (`caretHint`, now a `FixCardRevealRequest` — a non-zero range selects the span). `micropubSendDraft` = flush-first, ONE disk read serves both wire fields, success stamps `micropub_url`. `canArmWritingLock`/`editorBodyText` mirror the editor's outline routing (prose only). #200: quit is a document departure — `shutdown()` routes both sessions through `documentsMayDepart` (void — the verdict channel is quitReply's); `PostsModel.active` (weak static, registered by `AppGateState.init` — the `WritingLockState.active` precedent) is the quit gate's reachability, bare test rigs never register.
|
||||||
- `PostsModelWatcher.swift` — #193: the watching domain of PostsModel (moved from PostsModel.swift) — `PostsWatcher` (recursive FSEvents stream, file-level, 0.5 s latency) on BOTH `projects/` and `archive/`; `bind(home:)` (WorkspaceView's root `.task(id: museionHome)` drives it); `startWatching` (the one `watchedHome` writer); `rescan` off-main through the app-scoped scan cache, skipping the `posts` assignment on equality (@Observable invalidates on assignment — panes would regroup on autosave echoes), bumping `contentRevision` on list change OR cache miss (#144), handing the session the open post's disk text (the #67 check, watcher echo suppressed by equality), riding the cards refresh at the tail.
|
- `PostsModelWatcher.swift` — #193: the watching domain of PostsModel (moved from PostsModel.swift) — `PostsWatcher` (recursive FSEvents stream, file-level, 0.5 s latency) on BOTH `projects/` and `archive/`; `bind(home:)` (WorkspaceView's root `.task(id: museionHome)` drives it); `startWatching` (the one `watchedHome` writer); `rescan` off-main through the app-scoped scan cache, skipping the `posts` assignment on equality (@Observable invalidates on assignment — panes would regroup on autosave echoes), bumping `contentRevision` on list change OR cache miss (#144), handing the session the open post's disk text (the #67 check, watcher echo suppressed by equality), riding the cards refresh at the tail.
|
||||||
- `PostsModelWrites.swift` — #193: the #179 write rail + structural ops (moved from PostsModel.swift) — `performWrite` (ONE seam: write + exactly one rescan + the error strip, cleared before the write), `flushOrAbort` (flush-first; a failed write, an unanswered #67 conflict, or a never-loaded session's retyped words abort with nothing changed — the alert stays up), `documentsMayDepart` (#200: the departure gate's quit run — shutdown's flush half shared with `applicationShouldTerminate`; BLOCK-QUIT posture, never silently drop), rename, trash, the #108 project ops (create/stage, `moveTargets`, move to project, archive/restore/unarchive); document departure (new post/outline, select, open external, guest dismissal) rides the same gates through `sessionMayDepart`/`departOpenDocuments` — a navigation whose outgoing flush fails aborts with the dirty session retained (brief-25).
|
- `PostsModelWrites.swift` — #193: the #179 write rail + structural ops (moved from PostsModel.swift) — `performWrite` (ONE seam: write + exactly one rescan + the error strip, cleared before the write), `flushOrAbort` (flush-first; a failed write, an unanswered #67 conflict, or a never-loaded session's retyped words abort with nothing changed — the alert stays up), `documentsMayDepart` (#200: the departure gate's quit run — shutdown's flush half shared with `applicationShouldTerminate`; BLOCK-QUIT posture, never silently drop), rename, trash, the #108 project ops (create/stage, `moveTargets`, move to project, archive/restore/unarchive); document departure (new post/outline, select, open external, guest dismissal) rides the same gates through `sessionMayDepart`/`departOpenDocuments` — a navigation whose outgoing flush fails aborts with the dirty session retained (brief-25).
|
||||||
@@ -52,7 +52,7 @@ The map and the contracts, one bullet per file. Pin-level detail lives in the te
|
|||||||
- `FileDropTextView.swift` — the editor text views' drag base (macOS 27.2.1 routing): a live NSTextView registers itself for drag types and receives the drag a window-level SwiftUI destination never sees; URL-bearing drops route through `onFileDrop` (nil = bounce), text-only drops keep the stock drop, everything else bounces — never `super` for URLs (stock NSTextView pastes the dropped file's PATH via `readSelection` on NSFilenamesPboardType). The pasteboard probe is memoized per `changeCount` (`draggingUpdated` fires per mouse-move).
|
- `FileDropTextView.swift` — the editor text views' drag base (macOS 27.2.1 routing): a live NSTextView registers itself for drag types and receives the drag a window-level SwiftUI destination never sees; URL-bearing drops route through `onFileDrop` (nil = bounce), text-only drops keep the stock drop, everything else bounces — never `super` for URLs (stock NSTextView pastes the dropped file's PATH via `readSelection` on NSFilenamesPboardType). The pasteboard probe is memoized per `changeCount` (`draggingUpdated` fires per mouse-move).
|
||||||
- Editor core — `ProsePresenter.swift` (line-kind → attributes map mirroring the reading surface; plain store stays the source of truth — presentation-only attributes, ADR-0010). `EditorSession.swift` — per-document session: `SessionTarget` (post | external file), ~1 s debounce → `flush` (⌘S / selection change / quit also flush); externals write in place with NO sidecar; `loadFailed` never opens a writable empty session over a failed read (the first keystroke would destroy the file); the #67 conflict raises when disk ≠ last-flushed ≠ local, and the debounce never fires while the alert is unanswered; `adoptText` = programmatic writer-consented adoption (the #67 guard is the CALLER's job). Cursor sidecar `.museion-state.json` in the piece folder, written separately (a failed sidecar is not a failed save). `PostEditorView`/`ProseTextView` — plain NSTextView representable, loads keyed by `loadGeneration` (never per keystroke); spellcheck off by default (markdown on disk carries the spelling). `ProseListTextView` rides `FileDropTextView` with `onFileDrop` → the gate's `routeFileDrop`, so file drags landing on it ingest (never paste the path); `lastIngestNotice` is the refusal text the pins read.
|
- Editor core — `ProsePresenter.swift` (line-kind → attributes map mirroring the reading surface; plain store stays the source of truth — presentation-only attributes, ADR-0010). `EditorSession.swift` — per-document session: `SessionTarget` (post | external file), ~1 s debounce → `flush` (⌘S / selection change / quit also flush); externals write in place with NO sidecar; `loadFailed` never opens a writable empty session over a failed read (the first keystroke would destroy the file); the #67 conflict raises when disk ≠ last-flushed ≠ local, and the debounce never fires while the alert is unanswered; `adoptText` = programmatic writer-consented adoption (the #67 guard is the CALLER's job). Cursor sidecar `.museion-state.json` in the piece folder, written separately (a failed sidecar is not a failed save). `PostEditorView`/`ProseTextView` — plain NSTextView representable, loads keyed by `loadGeneration` (never per keystroke); spellcheck off by default (markdown on disk carries the spelling). `ProseListTextView` rides `FileDropTextView` with `onFileDrop` → the gate's `routeFileDrop`, so file drags landing on it ingest (never paste the path); `lastIngestNotice` is the refusal text the pins read.
|
||||||
- Prose list machinery — `ProseList.swift` (pure item scan/mutation over the plain buffer; every structural edit is ONE range replacement = single undo step); `ProseListTextView.swift` — folds are VIEW state (buffer never changes; hidden scopes styled via `foldedAttributes`), re-keyed to the nearest same-marker parent, dying when the marker text vanishes; single-line edits re-key in place (`rekey`), the newline gate is `\.isNewline` NEVER literal `\n`/`\r` compares (a CRLF pair is one grapheme); wholesale restyles self-heal into the full pass via a font probe. Fold chrome renders as tiny per-glyph CALayers in a click-through overlay — NEVER a document-sized bitmap. Image drops bridge through `ProseDropBridge` into `ingestDrop` (saved posts only, publishable files only, PLAIN files only — a dropped symlink refuses); the drop point is solved by the pure `dropIndex` (sampling + bracket + binary search; the SwiftUI closure's `location` is unusable under this hosting, off-screen rects return garbage).
|
- Prose list machinery — `ProseList.swift` (pure item scan/mutation over the plain buffer; every structural edit is ONE range replacement = single undo step); `ProseListTextView.swift` — folds are VIEW state (buffer never changes; hidden scopes styled via `foldedAttributes`), re-keyed to the nearest same-marker parent, dying when the marker text vanishes; single-line edits re-key in place (`rekey`), the newline gate is `\.isNewline` NEVER literal `\n`/`\r` compares (a CRLF pair is one grapheme); wholesale restyles self-heal into the full pass via a font probe. Fold chrome renders as tiny per-glyph CALayers in a click-through overlay — NEVER a document-sized bitmap. Image drops bridge through `ProseDropBridge` into `ingestDrop` (saved posts only, publishable files only, PLAIN files only — a dropped symlink refuses); the drop point is solved by the pure `dropIndex` (sampling + bracket + binary search; the SwiftUI closure's `location` is unusable under this hosting, off-screen rects return garbage).
|
||||||
- Settings — `SettingsPaneView.swift` (sidebar + detail: Content · Pass 1 · Pass 2 · Chat · Provider Keys; the pane takes the gate's `binaryPath` and hydrates at open; detail forms left-anchored). `SettingsModel.swift` — #181: `ModelProvider` is the provider-descriptor TABLE — label, effort ladder, flagship, default endpoint, env var, wire `dialect` (chat/models paths + the SSE decoder selector), `authMode` (Bearer vs Anthropic's header pair), `keyless` (nous rides the shared Portal login); the keyless UI branch, the probe's selectors, and both credential consumers key off it. `ProviderCredential` = the ONE credential resolution (provider key, else the Portal session key for keyless providers — official endpoint ONLY, never a user-set URL) serving Test Connection and pass readiness. Writes COALESCE: the newer write queues past an in-flight one, superseded writes never spawn (partial key prefixes of a secret never reach `.env`); `hydrate` reads only and never stomps a pending edit. `HermesSettingsWriter.swift` — the real write path: surface writes and the base_url write-through ride the HermesConfigRail (#182 — the writer only builds its key list: provider, default, effort set-or-unset, base_url LAST); provider keys upsert into ALL THREE profiles' `.env` (foreign lines byte-preserved, 0600, line-broken values REFUSED — env injection; paths via ProfileLayout). `ProviderProbe.swift` — Test Connection: every request carries `Content-Type: application/json` (without it z.ai answers 200 with an error envelope); per-provider dialects (OpenAI speaks the Responses API, Anthropic `x-api-key` + pinned version + required max_tokens, zai thinking+reasoning_effort, nous plain chat-completions) — #181: URL paths, auth shape, and the SSE decoder SELECT by the descriptor's dialect, the per-dialect code stays separate functions; 512 token cap; errors riding a 2xx decode as the provider error. `onChatSurfaceWrite` → `requestRestart` (chat surface only — pass engines are one-shot). `PassReadiness.swift` — #181: the per-surface readiness module (ready / missingKey / unknown): reads each surface's provider + `.env` key through the settings seam and resolves credentials through `ProviderCredential` (the keyless fallback included); MentorSessionModel stores the verdicts and reads no keys or auth files itself.
|
- Settings — `SettingsPaneView.swift` (sidebar + detail: Content · Pass 1 · Pass 2 · Chat · Provider Keys · Micro.blog (the app token's home — `MicroblogSettingsPage` in SettingsPagesView.swift: a standing saved-status row / replace / remove over `MicropubTokenStore`); the pane takes the gate's `binaryPath` and hydrates at open; detail forms left-anchored). `SettingsModel.swift` — #181: `ModelProvider` is the provider-descriptor TABLE — label, effort ladder, flagship, default endpoint, env var, wire `dialect` (chat/models paths + the SSE decoder selector), `authMode` (Bearer vs Anthropic's header pair), `keyless` (nous rides the shared Portal login); the keyless UI branch, the probe's selectors, and both credential consumers key off it. `ProviderCredential` = the ONE credential resolution (provider key, else the Portal session key for keyless providers — official endpoint ONLY, never a user-set URL) serving Test Connection and pass readiness. Writes COALESCE: the newer write queues past an in-flight one, superseded writes never spawn (partial key prefixes of a secret never reach `.env`); `hydrate` reads only and never stomps a pending edit. `HermesSettingsWriter.swift` — the real write path: surface writes and the base_url write-through ride the HermesConfigRail (#182 — the writer only builds its key list: provider, default, effort set-or-unset, base_url LAST); provider keys upsert into ALL THREE profiles' `.env` (foreign lines byte-preserved, 0600, line-broken values REFUSED — env injection; paths via ProfileLayout). `ProviderProbe.swift` — Test Connection: every request carries `Content-Type: application/json` (without it z.ai answers 200 with an error envelope); per-provider dialects (OpenAI speaks the Responses API, Anthropic `x-api-key` + pinned version + required max_tokens, zai thinking+reasoning_effort, nous plain chat-completions) — #181: URL paths, auth shape, and the SSE decoder SELECT by the descriptor's dialect, the per-dialect code stays separate functions; 512 token cap; errors riding a 2xx decode as the provider error. `onChatSurfaceWrite` → `requestRestart` (chat surface only — pass engines are one-shot). `PassReadiness.swift` — #181: the per-surface readiness module (ready / missingKey / unknown): reads each surface's provider + `.env` key through the settings seam and resolves credentials through `ProviderCredential` (the keyless fallback included); MentorSessionModel stores the verdicts and reads no keys or auth files itself.
|
||||||
- Focus mode — transient per-launch (no persistence); `FocusChrome` hover zones + overlay panels float over the measure, never push it; `CaretCentering` is EDITOR-WIDE, not focus-gated; focus × reading are orthogonal axes. Cold Turkey chrome (`ColdTurkeySeat`/`ColdTurkeyDot`) mounts as overlays on the focused branch only.
|
- Focus mode — transient per-launch (no persistence); `FocusChrome` hover zones + overlay panels float over the measure, never push it; `CaretCentering` is EDITOR-WIDE, not focus-gated; focus × reading are orthogonal axes. Cold Turkey chrome (`ColdTurkeySeat`/`ColdTurkeyDot`) mounts as overlays on the focused branch only.
|
||||||
- Reading mode (ADR-0011) — `ReadingPresenter.swift`: the bundled apex binary (arm64, Developer ID–signed with the hardened runtime at commit time, beside `libyaml.bundle/libyaml-0.2.dylib` — self-contained through the single rpath `@executable_path/../Resources/libyaml.bundle`; the `.bundle` wrapper is load-bearing: a bare dylib in the synced folder (with or without extension — Xcode sniffs Mach-O content) becomes the APP's link target; re-sign both when the Developer ID certificate rotates) with `-t html --no-mixed-lists --embed-images` (no-mixed-lists REQUIRED — the default merges ordered-after-bullets, killing `1. 1. 1.` renumbering; embed-images inlines base64 so `loadHTMLString` needs no file access); `<!--S:N-->` sentinels rewritten to `data-source-line` stamps; `blocks(for:)` = the click→edit line map; stylesheet = `Resources/reading.css` read fresh per build (dev builds prefer the repo copy); fallback on apex failure = escaped source, never a second renderer. `ReadingSurface.swift` — ONE WKWebView reloaded in place (remount was the dominant switch cost); only our own about:blank main-frame load is allowed.
|
- Reading mode (ADR-0011) — `ReadingPresenter.swift`: the bundled apex binary (arm64, Developer ID–signed with the hardened runtime at commit time, beside `libyaml.bundle/libyaml-0.2.dylib` — self-contained through the single rpath `@executable_path/../Resources/libyaml.bundle`; the `.bundle` wrapper is load-bearing: a bare dylib in the synced folder (with or without extension — Xcode sniffs Mach-O content) becomes the APP's link target; re-sign both when the Developer ID certificate rotates) with `-t html --no-mixed-lists --embed-images` (no-mixed-lists REQUIRED — the default merges ordered-after-bullets, killing `1. 1. 1.` renumbering; embed-images inlines base64 so `loadHTMLString` needs no file access); `<!--S:N-->` sentinels rewritten to `data-source-line` stamps; `blocks(for:)` = the click→edit line map; stylesheet = `Resources/reading.css` read fresh per build (dev builds prefer the repo copy); fallback on apex failure = escaped source, never a second renderer. `ReadingSurface.swift` — ONE WKWebView reloaded in place (remount was the dominant switch cost); only our own about:blank main-frame load is allowed.
|
||||||
- `AppGateState.museionHome` — fresh installs resolve once and PIN the winner: legacy `~/Documents/Museion` (dir-ness gated) → `<CloudDocs>/Museion` (resolved at the unprefixed path, never a hard-coded `iCloud~` form) → silent Documents fallback. Hosted tests take an early return — the machine's real iCloud state and defaults are never touched.
|
- `AppGateState.museionHome` — fresh installs resolve once and PIN the winner: legacy `~/Documents/Museion` (dir-ness gated) → `<CloudDocs>/Museion` (resolved at the unprefixed path, never a hard-coded `iCloud~` form) → silent Documents fallback. Hosted tests take an early return — the machine's real iCloud state and defaults are never touched.
|
||||||
|
|||||||
+11
-3
@@ -168,13 +168,21 @@ nonisolated enum Micropub {
|
|||||||
|
|
||||||
/// Internal for MicropubMedia's media steps (#34) — the one failure
|
/// Internal for MicropubMedia's media steps (#34) — the one failure
|
||||||
/// decode this client speaks; extensions share it rather than fork it.
|
/// decode this client speaks; extensions share it rather than fork it.
|
||||||
|
/// A 5xx is Micro.blog's side (their nginx front with the app not
|
||||||
|
/// answering behind it, or a rate limit) and arrives as an HTML page,
|
||||||
|
/// never Micropub JSON — so the fallback names the outage instead of
|
||||||
|
/// a bare `HTTP 503` (2026-12-04: a 503 in the sheet while the
|
||||||
|
/// endpoint answered its usual 400 to a tokenless probe minutes later).
|
||||||
static func decodeFailure(status: Int, body: Data) -> Outcome {
|
static func decodeFailure(status: Int, body: Data) -> Outcome {
|
||||||
let root = (try? JSONSerialization.jsonObject(with: body)) as? [String: Any] ?? [:]
|
let root = (try? JSONSerialization.jsonObject(with: body)) as? [String: Any] ?? [:]
|
||||||
let detail = (root["error_description"] as? String) ?? (root["error"] as? String) ?? "HTTP \(status)"
|
let described = (root["error_description"] as? String) ?? (root["error"] as? String)
|
||||||
if status == 401 || status == 403 {
|
if status == 401 || status == 403 {
|
||||||
return .authFailed(detail)
|
return .authFailed(described ?? "HTTP \(status)")
|
||||||
}
|
}
|
||||||
return .requestFailed(status: status, detail: detail)
|
let fallback = (500 ... 599).contains(status)
|
||||||
|
? "unavailable on their side — retry in a few minutes (status.micro.blog)"
|
||||||
|
: "HTTP \(status)"
|
||||||
|
return .requestFailed(status: status, detail: described ?? fallback)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,9 @@
|
|||||||
// sheet owns the whole two-step flow over the OPEN piece: Send as
|
// sheet owns the whole two-step flow over the OPEN piece: Send as
|
||||||
// Draft (h=entry, name, markdown content) → review on Micro.blog →
|
// Draft (h=entry, name, markdown content) → review on Micro.blog →
|
||||||
// Publish (the post-status update against the piece's remembered
|
// Publish (the post-status update against the piece's remembered
|
||||||
// draft URL). The app token is entered here ONCE and lives in the
|
// draft URL). The app token is entered here when none is saved and
|
||||||
// Keychain (G11; re-offered only on an auth failure). Refusals show
|
// lives in the Keychain (G11; re-offered only on an auth failure —
|
||||||
|
// Settings → Micro.blog is the standing manager). Refusals show
|
||||||
// inline with the buttons kept (ApplyAskSheet posture).
|
// inline with the buttons kept (ApplyAskSheet posture).
|
||||||
//
|
//
|
||||||
|
|
||||||
@@ -60,6 +61,12 @@ struct MicropubPublishSheet: View {
|
|||||||
Text("From micro.blog → Account → App Tokens. Stored in your Keychain.")
|
Text("From micro.blog → Account → App Tokens. Stored in your Keychain.")
|
||||||
.font(.system(size: 11, design: DesignTokens.mono))
|
.font(.system(size: 11, design: DesignTokens.mono))
|
||||||
.foregroundStyle(DesignTokens.muted)
|
.foregroundStyle(DesignTokens.muted)
|
||||||
|
} else {
|
||||||
|
// A stored token is in use — the field's absence alone
|
||||||
|
// never said which token a send carries.
|
||||||
|
Text("Sends with the app token in your Keychain — Settings → Micro.blog manages it.")
|
||||||
|
.font(.system(size: 11, design: DesignTokens.mono))
|
||||||
|
.foregroundStyle(DesignTokens.muted)
|
||||||
}
|
}
|
||||||
|
|
||||||
if phase == .drafting || phase == .publishing {
|
if phase == .drafting || phase == .publishing {
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
// in-memory SettingsModel — one page per LLM surface (provider select,
|
// in-memory SettingsModel — one page per LLM surface (provider select,
|
||||||
// registry combobox with first-class free text, per-provider effort menu)
|
// registry combobox with first-class free text, per-provider effort menu)
|
||||||
// and the Provider Keys page (endpoint, z.ai key-type toggle swapping the
|
// and the Provider Keys page (endpoint, z.ai key-type toggle swapping the
|
||||||
// endpoint family, masked key + reveal). Visual contract: #130 prototype
|
// endpoint family, masked key + reveal). The Micro.blog page is the app
|
||||||
|
// token's home (saved status, replace, remove over the publish sheet's own
|
||||||
|
// Keychain slot). Visual contract: #130 prototype
|
||||||
// variant C, with variant B's current-model headline folded in.
|
// variant C, with variant B's current-model headline folded in.
|
||||||
//
|
//
|
||||||
|
|
||||||
@@ -340,6 +342,83 @@ private struct TestConnectionResult: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The Micro.blog page: the app token's home — saved status, replace,
|
||||||
|
/// remove. Writes the SAME Keychain slot the publish sheet reads
|
||||||
|
/// (`MicropubTokenStore`), so a token saved here is the one a send
|
||||||
|
/// carries; the sheet's own field stays the first-run path and its
|
||||||
|
/// 401/403 re-entry. `saved` is read back from the Keychain after every
|
||||||
|
/// write, never assumed — a locked keychain fails the save and the
|
||||||
|
/// status line says so.
|
||||||
|
struct MicroblogSettingsPage: View {
|
||||||
|
@State private var tokenField = ""
|
||||||
|
@State private var saved = MicropubTokenStore.read() != nil
|
||||||
|
|
||||||
|
var body: some View {
|
||||||
|
VStack(alignment: .leading, spacing: 4) {
|
||||||
|
Text("Micro.blog")
|
||||||
|
.font(.system(size: 15, weight: .semibold, design: DesignTokens.serif))
|
||||||
|
Text("Where the Micro.blog app token lives.")
|
||||||
|
.font(.system(size: 12))
|
||||||
|
.foregroundStyle(DesignTokens.muted)
|
||||||
|
form
|
||||||
|
.padding(.top, 12)
|
||||||
|
.frame(maxWidth: DesignTokens.settingsFormWidth, alignment: .leading)
|
||||||
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
|
}
|
||||||
|
.padding(.horizontal, 24)
|
||||||
|
.padding(.top, 17)
|
||||||
|
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
|
||||||
|
}
|
||||||
|
|
||||||
|
private var trimmedToken: String {
|
||||||
|
tokenField.trimmingCharacters(in: .whitespaces)
|
||||||
|
}
|
||||||
|
|
||||||
|
private var form: some View {
|
||||||
|
VStack(alignment: .leading, spacing: 6) {
|
||||||
|
SettingsFieldLabel("App Token")
|
||||||
|
HStack(spacing: 8) {
|
||||||
|
SecureField("App token", text: $tokenField)
|
||||||
|
.textFieldStyle(.roundedBorder)
|
||||||
|
.font(.system(size: 12, design: DesignTokens.mono))
|
||||||
|
Button("Save") {
|
||||||
|
let token = trimmedToken
|
||||||
|
MicropubTokenStore.save(token)
|
||||||
|
tokenField = ""
|
||||||
|
saved = MicropubTokenStore.read() == token
|
||||||
|
}
|
||||||
|
.buttonStyle(BorderedSecondaryButtonStyle(minHeight: 28))
|
||||||
|
.disabled(trimmedToken.isEmpty)
|
||||||
|
if saved {
|
||||||
|
Button("Remove") {
|
||||||
|
MicropubTokenStore.delete()
|
||||||
|
saved = MicropubTokenStore.read() != nil
|
||||||
|
}
|
||||||
|
.buttonStyle(BorderedSecondaryButtonStyle(minHeight: 28))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// The standing state, in the Settings verdict idiom (Provider
|
||||||
|
// Keys' "✓ works"). The intro line is a description — a state
|
||||||
|
// swap there never read as a status.
|
||||||
|
status
|
||||||
|
Text("From micro.blog → Account → App Tokens. Stored in your Keychain — the publish sheet sends with this token.")
|
||||||
|
.font(.system(size: 11.5))
|
||||||
|
.foregroundStyle(DesignTokens.muted)
|
||||||
|
.padding(.top, 2)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Live: Save and Remove read the Keychain back, so this line is
|
||||||
|
/// both the confirmation that a write landed and the standing
|
||||||
|
/// answer to "is a token stored?".
|
||||||
|
private var status: some View {
|
||||||
|
Text(saved ? "✓ Token saved in your Keychain" : "No token saved — publishing will ask for one")
|
||||||
|
.font(.system(size: 11, design: DesignTokens.mono))
|
||||||
|
.foregroundStyle(saved ? DesignTokens.accent : DesignTokens.muted)
|
||||||
|
.padding(.top, 2)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// The z.ai key-type toggle (prototype `.seg`): a two-segment capsule, the
|
/// The z.ai key-type toggle (prototype `.seg`): a two-segment capsule, the
|
||||||
/// selected segment filled with the foreground ink. Toggling swaps the
|
/// selected segment filled with the foreground ink. Toggling swaps the
|
||||||
/// endpoint family (the model guards a custom endpoint).
|
/// endpoint family (the model guards a custom endpoint).
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
// #17 (S1.1): Settings — the Museion Home path, repoint-only (ADR-0004).
|
// #17 (S1.1): Settings — the Museion Home path, repoint-only (ADR-0004).
|
||||||
// #135 (Profiles S2): reworked to the #130 prototype's variant C verdict —
|
// #135 (Profiles S2): reworked to the #130 prototype's variant C verdict —
|
||||||
// a Settings sidebar + detail column (System Settings shape): destinations
|
// a Settings sidebar + detail column (System Settings shape): destinations
|
||||||
// Content · Pass 1 · Pass 2 · Chat · Provider Keys. Content keeps the #17
|
// Content · Pass 1 · Pass 2 · Chat · Provider Keys · Micro.blog. Content
|
||||||
// Home control unchanged; the surface and keys pages live in
|
// keeps the #17 Home control unchanged; the surface, keys, and Micro.blog
|
||||||
// SettingsPagesView.swift.
|
// pages live in SettingsPagesView.swift.
|
||||||
// #136 (Profiles S3): the model runs over HermesSettingsWriter (the real
|
// #136 (Profiles S3): the model runs over HermesSettingsWriter (the real
|
||||||
// CLI/.env rail) and hydrates from the profiles at pane open.
|
// CLI/.env rail) and hydrates from the profiles at pane open.
|
||||||
//
|
//
|
||||||
@@ -109,6 +109,8 @@ struct SettingsPaneView: View {
|
|||||||
SurfaceSettingsPage(model: model, surface: .chat)
|
SurfaceSettingsPage(model: model, surface: .chat)
|
||||||
case .keys:
|
case .keys:
|
||||||
ProviderKeysPage(model: model)
|
ProviderKeysPage(model: model)
|
||||||
|
case .microblog:
|
||||||
|
MicroblogSettingsPage()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
@@ -116,13 +118,15 @@ struct SettingsPaneView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// The sidebar's destinations (#135): the #17 Content control, one page per
|
/// The sidebar's destinations (#135): the #17 Content control, one page per
|
||||||
/// LLM surface (Sessions rides Chat — #126), and the provider keys.
|
/// LLM surface (Sessions rides Chat — #126), the provider keys, and the
|
||||||
|
/// Micro.blog app token (the one Keychain credential, ADR-0014).
|
||||||
enum SettingsPage: String, CaseIterable, Identifiable, Hashable {
|
enum SettingsPage: String, CaseIterable, Identifiable, Hashable {
|
||||||
case content
|
case content
|
||||||
case pass1
|
case pass1
|
||||||
case pass2
|
case pass2
|
||||||
case chat
|
case chat
|
||||||
case keys
|
case keys
|
||||||
|
case microblog
|
||||||
|
|
||||||
var id: String {
|
var id: String {
|
||||||
rawValue
|
rawValue
|
||||||
@@ -135,6 +139,7 @@ enum SettingsPage: String, CaseIterable, Identifiable, Hashable {
|
|||||||
case .pass2: "Pass 2"
|
case .pass2: "Pass 2"
|
||||||
case .chat: "Chat"
|
case .chat: "Chat"
|
||||||
case .keys: "Provider Keys"
|
case .keys: "Provider Keys"
|
||||||
|
case .microblog: "Micro.blog"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -214,6 +214,25 @@ struct MicropubTests {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test func `a 5xx names micro.blog's outage not a bare status`() {
|
||||||
|
// Their errors arrive as HTML pages, so the JSON decode finds
|
||||||
|
// nothing — a 503 over that body names their side; a 4xx keeps
|
||||||
|
// the bare status; a described 5xx keeps the description.
|
||||||
|
let html = Data("<html><body>503 Service Unavailable</body></html>".utf8)
|
||||||
|
let outage = Micropub.decodeFailure(status: 503, body: html)
|
||||||
|
guard case let .requestFailed(status, detail) = outage else {
|
||||||
|
Issue.record("expected requestFailed, got \(outage)")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
#expect(status == 503)
|
||||||
|
#expect(detail.contains("their side"))
|
||||||
|
|
||||||
|
let bare = Micropub.decodeFailure(status: 422, body: html)
|
||||||
|
#expect(bare == .requestFailed(status: 422, detail: "HTTP 422"))
|
||||||
|
let described = Micropub.decodeFailure(status: 502, body: Data(#"{"error_description":"upstream timeout"}"#.utf8))
|
||||||
|
#expect(described == .requestFailed(status: 502, detail: "upstream timeout"))
|
||||||
|
}
|
||||||
|
|
||||||
@Test func `publish outcome is published on 2xx`() async {
|
@Test func `publish outcome is published on 2xx`() async {
|
||||||
let log = MicropubRequestLog()
|
let log = MicropubRequestLog()
|
||||||
let outcome = await Micropub.publish(
|
let outcome = await Micropub.publish(
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# Release 0.1.2 — the macOS 27.2 image-drop fix ships
|
||||||
|
|
||||||
|
> **Date:** 2026-12-03
|
||||||
|
> **Type:** milestone
|
||||||
|
> **Reference:** Gitea release id 29 (tag v0.1.2); follow-up to #141 (unticketed fix, same-day)
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
|
||||||
|
Ship the macOS 27.2 image-drop fix (this morning's `fix(editor)` work, finish-audited) as **0.1.2** — the first cut under the release skill's new patch-for-a-bug-fix rule — through the full runbook: apex check, bump, changelog heading, notes, rail, sliced commits, annotated tag, notarized DMG, then on Alexander's go: push, forge release, Micro.blog draft, Buy Me a Coffee draft.
|
||||||
|
|
||||||
|
## What Was Done
|
||||||
|
|
||||||
|
- **apex check (step 1):** GitHub `releases/latest` is still **v1.1.59** — identical to the bundled binary (published 2026-12-01). The shipped layout re-proven without any upgrade: exactly one rpath (`@executable_path/../Resources/libyaml.bundle`), `flags=0x10000(runtime)` + Developer ID authority, `--version` 1.1.59, and the load-bearing `--no-mixed-lists` check emits `<ul>` then `<ol>`. No `THIRD-PARTY-NOTICES.md` bump, no `### Changed` line. (The skill's "appears in `--help`" phrasing reads 0 because the help spells the flag `--[no-]mixed-lists`; the functional check is the evidence.)
|
||||||
|
- **Bump (step 2, first run of the new rule):** `MARKETING_VERSION` 0.1.1 → 0.1.2 in all 6 pbxproj occurrences; build-settings read-back prints 0.1.2. Bug-fix cut → patch, per the rule committed this morning (`1b0c23a`).
|
||||||
|
- **Changelog heading (step 3):** the former `[Unreleased]` Fixed entry moved under `## [0.1.2] - 2026-12-03` with the pointer line to the notes; a fresh empty `[Unreleased]` sits above.
|
||||||
|
- **Notes (step 4):** `docs/releases/0.1.2.md` in the 0.1.1 shape — the fix told for a reader who never saw the ticket, the two deliberate refusals, install copy, suite numbers. **README (step 5):** no change — it carries no version-specific copy; "macOS 27 or later" matches `MACOSX_DEPLOYMENT_TARGET = 27.0`.
|
||||||
|
- **Rail (step 6):** run `20261203T154235Z` (pid 41682) — **729/729**; swiftformat `--lint` 0/153; swiftlint 0. Freshness pinned on the test host's `Info.plist` reading **0.1.2** (zero `SwiftCompile` lines is expected — no Swift source changed).
|
||||||
|
- **Slices + tag (step 7):** `build(release)` (notes) · `chore(release)` (bump + changelog heading) · annotated tag `v0.1.2` on the DMG tree `c959b67`. The `chore(release)` body wrapped at 74–77 columns past a 72 check — amended (tree byte-unchanged, verified) and the still-local tag force-moved onto the amended commit per the runbook.
|
||||||
|
- **DMG (step 8):** `dist/Museion-0.1.2.dmg` — 3,167,265 bytes, **sha256 `2d0942ea1b5c01675feccc817424786f551b4ff4e1cc7aa8f60d016c54001913`**; mounted image: app `0.1.2`, apex `1.1.59`; `stapler validate` clean; `spctl` → `accepted, source=Notarized Developer ID`.
|
||||||
|
- **On go (step 10):** `git push origin main v0.1.2` (remote main `d183d735` — Alexander's own `chore: ignore .hermes directory` rode between the tag and the push; the tag stayed on `c959b67`); `tea releases create` → release **id 29**, `draft: false`, one asset at the local byte size, body ends with the `[Generated by AI]` marker; token-authenticated download sha256-identical to the local DMG.
|
||||||
|
- **Micro.blog (step 11):** draft posted to the main blog via `mp-destination` + `mp-channel: default` → 202, `Location: https://alexanderkucera.com/2026/12/03/164803.html`; read-back `q=source` → `post-status: draft`, download/release/notarized lines intact. **preview** `https://micro.blog/account/posts/239/preview/6088880`, **edit** `https://micro.blog/account/posts/239/edit/6088880`.
|
||||||
|
- **Buy Me a Coffee (step 12):** `bmc.js` `create`/`draft`/`public` → `RESULT.mode: "draft"`, **editUrl** `https://www.buymeacoffee.com/posts/5336222/edit`; task space finished.
|
||||||
|
|
||||||
|
## Gotchas & Fixes
|
||||||
|
|
||||||
|
| Problem | Root Cause | Fix |
|
||||||
|
|---------|------------|-----|
|
||||||
|
| The apex `--help` grep for `no-mixed-lists` printed 0 | The help spells the flag `--[no-]mixed-lists` | The functional check (`printf … \| apex --no-mixed-lists` → `<ul>` then `<ol>`) is the evidence; expect the literal grep to miss |
|
||||||
|
| The `chore(release)` body wrapped at 74–77 columns | Drafted wider than the 72 rule | Amended the message (tree verified unchanged), force-moved the still-local tag — after a push this would have been a new version |
|
||||||
|
| `status` reported done ~60 s after `start`, looking like a stale summary read | Warm incremental build + no Swift changes: the suite is that fast on this tree | Freshness pinned on the run-dir pid (41682) and the test host's `Info.plist` version (0.1.2), not on elapsed time |
|
||||||
|
| A `.hermes -> .agents` symlink appeared at the repo root mid-session | Hermes runtime artifact | Left untracked; Alexander committed `chore: ignore .hermes directory` (`d183d735`) which rode the release push |
|
||||||
|
|
||||||
|
## Files Changed
|
||||||
|
|
||||||
|
| File | Change Summary |
|
||||||
|
|------|---------------|
|
||||||
|
| `Museion.xcodeproj/project.pbxproj` | `MARKETING_VERSION` 0.1.1 → 0.1.2 (6 occurrences) |
|
||||||
|
| `CHANGELOG.md` | `## [0.1.2] - 2026-12-03` heading + notes pointer; fresh `[Unreleased]` |
|
||||||
|
| `docs/releases/0.1.2.md` | NEW — human-readable notes |
|
||||||
|
| `.agents/skills/release/SKILL.md` | (Alexander, `1b0c23a`) patch-for-a-bug-fix bump rule |
|
||||||
|
|
||||||
|
## Open Items & Next Steps
|
||||||
|
|
||||||
|
- [ ] Release live: https://git.babylondreams.de/AlexKucera/museion/releases/tag/v0.1.2 — DMG sha256 `2d0942ea…`, asset byte-identical on download.
|
||||||
|
- [ ] Both announcements sit as DRAFTS in Alexander's queues (Micro.blog preview link, BMC edit link) — he publishes; rotation of the Micro.blog announce token recommended if it ever pastes into a transcript.
|
||||||
|
- [ ] `/Applications/Museion.app` (0.1.1) should be replaced by the 0.1.2 DMG locally.
|
||||||
|
- [ ] Next session: nothing pending from this release.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*Log written by write-log skill*
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
# Micro.blog: honest 5xx wording + a Settings page for the app token
|
||||||
|
|
||||||
|
> **Date:** 2026-12-04
|
||||||
|
> **Type:** generic
|
||||||
|
> **Reference:** unticketed — owner report in session ("publishing returns error 503; there is no place in settings to save the auth token")
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
|
||||||
|
Two things the owner hit while publishing to Micro.blog. First, the publish sheet showed `Micro.blog said 503: HTTP 503` — find out whether the 503 was Museion's or Micro.blog's, and make the message say so. Second, the Micro.blog app token had no home in Settings: it was entered once in the publish sheet, the field came back only after a 401/403, and a saved token could not be replaced or removed anywhere in the app.
|
||||||
|
|
||||||
|
## What Was Done
|
||||||
|
|
||||||
|
- **Diagnosis first, no code.** Probed `https://micro.blog/micropub` tokenless at 14:01 CET: 25/25 POSTs → `400 Invalid request` (text/html — their no-token answer), homepage 200, media endpoint 400, an app-like User-Agent 400. The request shape matched the current `microblog.dev/api/posting` docs (JSON create with `post-status: draft`; `update`/`replace` is JSON-only, which is what `Micropub.swift` sends). Their documented error vocabulary is 400 (bad request) and 401/403 (auth) — a 503 is their nginx front with the app behind it not answering, or a rate limit. Their news feed logs the same pattern repeatedly (Nov 25 "traffic spikes or attacks", Nov 30 "blog publishing stuck", 2025-04-26 "sorry for the 503s"). The bare `HTTP 503` in the sheet was `decodeFailure` falling through: the body was an HTML page, so the JSON decode found no `error_description`.
|
||||||
|
- `Micropub.decodeFailure(status:body:)` — the ONE failure decode every step shares (create, publish, q=config, media upload) — answers `unavailable on their side — retry in a few minutes (status.micro.blog)` for a 5xx that carries no JSON description. A described 5xx keeps its description; a 4xx keeps the bare `HTTP n`; 401/403 → `authFailed` unchanged. The sheet needed no change — it already renders `Micro.blog said <status>: <detail>`.
|
||||||
|
- `SettingsPage.microblog` (label **Micro.blog**, last in the sidebar after Provider Keys) + `MicroblogSettingsPage` in `SettingsPagesView.swift`: a status line (stored / not saved), a `SecureField` + **Save** (replaces the stored token), a **Remove** button while one is stored. It writes the same `MicropubTokenStore` slot the publish sheet reads, so the sheet picks the token up unchanged.
|
||||||
|
- `saved` is read back from the Keychain after every write: `save` is void (the `SecItemAdd` result is ignored), so a locked keychain would otherwise flip the status to "stored" falsely. On Save the read-back is compared with the token just written — an older token surviving a failed replace must not read as success.
|
||||||
|
- Pin in `MicropubTests`: `a 5xx names micro.blog's outage not a bare status` — 503 over an HTML body → the their-side wording; 422 over the same body → `HTTP 422`; 502 with `error_description` → the description.
|
||||||
|
- DOX: `Museion/AGENTS.md` (the Micropub bullet carries the 5xx contract and the token's two entry points; the Settings bullet names the page), the sheet's and both Settings files' headers, `CHANGELOG.md` `[Unreleased]` (Added + Fixed).
|
||||||
|
|
||||||
|
**Verification:** `./scripts/full-test.sh` — **736 executed / 736 passed / 0 failed** (run dir `_build/full-test/20261204T131024Z-Museion`; was 735, exactly +1). The filtered `MicropubTests` run 14/14 with `SwiftCompile` lines for every edited source. The new pin flip-verified: guard off (`status < 0`) → 14 executed / 13 passed / 1 failed, the one red being that pin with `detail → "HTTP 503"`; tree restored byte-exact (sha256 `21e9f101…` before and after). `swiftformat .` 0/153 formatted, `swiftlint .` exit 0.
|
||||||
|
|
||||||
|
**Follow-up, same session (owner: "there should be an indication on if the token was saved / is currently saved").** The owner was on the 14:59 build, so they had the page — the status was there, but as a muted intro-line text swap, which reads as description, not status. And the publish sheet showed nothing at all when a stored token was in use (the field just wasn't there).
|
||||||
|
|
||||||
|
- `MicroblogSettingsPage`: the intro is static again ("Where the Micro.blog app token lives."), and the status moved under the field row as its own row in the Settings verdict idiom — `✓ Token saved in your Keychain` in accent mono 11, `No token saved — publishing will ask for one` muted. Live: Save and Remove already read the Keychain back into `saved`.
|
||||||
|
- `MicropubPublishSheet`: when the field is hidden because a token is stored, the sheet says `Sends with the app token in your Keychain — Settings → Micro.blog manages it.`
|
||||||
|
- Verification: rail again on the settled tree — **736 / 736 / 0** (run dir `20261204T140402Z-Museion`). The two files were compiled by the standalone build that preceded the rail (`SwiftCompile` 2 lines each in its log; the rail's own build found them up to date — 0 lines, legitimately), so the artifact was checked instead: the dylib (15:04:07) postdates every source and carries all four new strings. `swiftformat --lint` 0/2, `swiftlint` 0. No new pin — both are view-only over the already-pinned store.
|
||||||
|
|
||||||
|
## Decisions & Rationale
|
||||||
|
|
||||||
|
| Decision | Rationale |
|
||||||
|
|----------|-----------|
|
||||||
|
| The 5xx wording lives in `decodeFailure`, not the sheet's `.requestFailed` branch | One decode serves create, publish, q=config, and media upload; every one of them surfaces through the same refusal line. Patching the sheet would have left the three other callers saying `HTTP 503`. |
|
||||||
|
| A JSON description on a 5xx still wins over the outage wording | Never hide a real server explanation behind the generic line. Their documented errors are 400-shaped JSON; a 5xx from the app itself might still carry one. |
|
||||||
|
| No retry, no `Retry-After` parsing | The user asked for honest wording. A 503 from an overloaded service is best retried by a human a few minutes later; automatic retries on a publish path can double-post. Add when a real outage pattern justifies it. |
|
||||||
|
| The page goes into `SettingsPagesView.swift`, not a new file | This repo disables `file_length`/`type_body_length` ("deliberately large cohesive units"); the surface pages and Provider Keys already live there. |
|
||||||
|
| Sidebar position: last, after Provider Keys | Enum declaration order is sidebar order. Credentials cluster at the end: provider keys (`.env`), then the one Keychain credential. |
|
||||||
|
| `saved` is read back from the Keychain, compared with the written token on Save | `MicropubTokenStore.save` ignores the `SecItemAdd` status. A void write plus an assumed `saved = true` would lie on a locked keychain; comparing against the new token also catches a failed replace that leaves the old one in place. |
|
||||||
|
| Capture `trimmedToken` into a local before clearing the field | `trimmedToken` is computed over `tokenField`. Clearing first made the read-back compare against `""` — always false. Caught before the first build. |
|
||||||
|
| No "Test token" button on the page | The publish sheet's Send as Draft is the test, and a draft creates nothing public. A read-only `q=config` probe is a fine follow-up if the owner wants it. |
|
||||||
|
| No view-layer pin | Repo convention: pure seams pinned, SwiftUI dogfooded. The page's logic is three calls into the store the `token store round-trips` pin already covers. |
|
||||||
|
| The owner's Keychain token was confirmed present but never read | Credential rule. A read-only `q=config` with it was offered and not run; the tokenless probe was enough to rule out a hard outage. |
|
||||||
|
| Unticketed, generic log | The owner asked for both fixes directly in session; no Gitea issue exists. The CHANGELOG carries the entry. |
|
||||||
|
|
||||||
|
## Gotchas & Fixes
|
||||||
|
|
||||||
|
| Problem | Root Cause | Fix |
|
||||||
|
|---------|------------|-----|
|
||||||
|
| My first test patch called `outcomeDetail(outage)`, a helper that does not exist | Wrote the pin from a mental shape instead of the suite's | Read the landed region before building; replaced with the suite's `guard case let .requestFailed` shape |
|
||||||
|
| The patch tool's diffs around closing-brace runs read ambiguously (the `}` lines seemed added/re-indented) | Repeated `}` lines let the diff algorithm pair them unpredictably; the display is not the file | Read the landed regions and counted braces (open == close in every touched file) instead of trusting the diff |
|
||||||
|
| The rail log showed 0 `SwiftCompile` lines for four of the edited sources on first grep | The earlier filtered run had compiled them (2 lines each in its log); the rail recompiled only the sheet, whose header comment changed after that build | Verified the artifact instead: the dylib postdates every source and carries all five distinctive strings |
|
||||||
|
| `cut -c` on Swift source with em-dashes → `Illegal byte sequence` | macOS `cut` is not UTF-8-aware under the default locale | `read_file` for the region |
|
||||||
|
| A tokenless POST answers **400** `Invalid request` (text/html), not 401 | Micro.blog's no-token answer is not REST-shaped | Useful probe signature for "is the endpoint up": 400 means healthy, 503 means theirs |
|
||||||
|
| `MicropubPublishSheet` header said the token is "entered here ONCE" | True until this session | Header now names both entry points; the sheet's own logic is untouched |
|
||||||
|
| Owner follow-up: "there should be an indication" although the page had a status text | The status sat in the intro slot — a muted 12pt subtitle swapping text — which reads as description, not state; the sheet showed nothing when a stored token was in use | A dedicated status row under the field in the Settings verdict idiom (`✓ …` accent / muted); the sheet names the stored token it sends with |
|
||||||
|
| The first status-row patch nested `private var status` inside `form`'s body | The fuzzy patch matcher re-indents a replaced region that starts on a closing-brace run to the anchor's scope (the code-editing skill's rule 7) | Repaired by a programmatic splice of the whole struct between two unique doc-comment markers; verified column-0 struct line, brace balance, then swiftformat/swiftlint/build |
|
||||||
|
|
||||||
|
## Files Changed
|
||||||
|
|
||||||
|
| File | Change Summary |
|
||||||
|
|------|---------------|
|
||||||
|
| `Museion/Micropub.swift` | `decodeFailure`: 5xx → their-side wording (JSON description wins); doc comment |
|
||||||
|
| `Museion/SettingsPaneView.swift` | `SettingsPage.microblog` + label + detail switch; header |
|
||||||
|
| `Museion/SettingsPagesView.swift` | `MicroblogSettingsPage` (status row / Save / Remove, Keychain read-back); header |
|
||||||
|
| `Museion/MicropubPublishSheet.swift` | header comment (names the Settings manager); names the stored token a send carries when the field is hidden |
|
||||||
|
| `MuseionTests/MicropubTests.swift` | +1 pin (5xx wording; 4xx and described-5xx contrasts) |
|
||||||
|
| `Museion/AGENTS.md` | Micropub bullet (5xx contract, token entry points); Settings bullet (the page) |
|
||||||
|
| `CHANGELOG.md` | `[Unreleased]` → Added (the page), Fixed (the wording) |
|
||||||
|
| `docs/devlog/INDEX.md`, `AGENTS.md` | this log's row + the rolling window |
|
||||||
|
|
||||||
|
## Open Items & Next Steps
|
||||||
|
|
||||||
|
- [ ] Retry the publish that 503'd — the endpoint was healthy at 14:01 CET; if it 503s again, run a read-only `q=config` with the saved token (owner's go needed) to tell an account-specific 503 from a blip.
|
||||||
|
- [ ] Dogfood Settings → Micro.blog: the `✓ Token saved in your Keychain` row shows on open; Save replaces it (Remove appears); Remove flips it to `No token saved` and the publish sheet offers its field again; the sheet shows `Sends with the app token in your Keychain…` while one is stored.
|
||||||
|
- [ ] Optional: a **Test token** button (read-only `q=config`) on the page.
|
||||||
|
- [ ] Optional: `Retry-After`-aware outage wording; automatic retry on 503 for the draft send (mind double-posting).
|
||||||
|
- [ ] Pre-existing, untouched: the sheet's `showsTokenField` reads the Keychain on every body evaluation; a `.onAppear`-seeded state would read once.
|
||||||
|
- [ ] Commit (maintainer) — nothing was committed, pushed, or commented on the forge.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
*Log written by write-log skill*
|
||||||
@@ -5,8 +5,10 @@ Complete history of session logs in this directory, newest first. One-line summa
|
|||||||
<!-- write-log: full-index -->
|
<!-- write-log: full-index -->
|
||||||
| Date | Type | File | Summary |
|
| Date | Type | File | Summary |
|
||||||
|------|------|------|---------|
|
|------|------|------|---------|
|
||||||
|
| 2026-12-04 | generic | [20261204-microblog-5xx-wording-token-settings-page_log.md](20261204-microblog-5xx-wording-token-settings-page_log.md) | Micro.blog publish: a 5xx names their outage instead of `HTTP 503`, and the app token gains a Settings page (rail 736/736) |
|
||||||
| 2026-12-03 | issue | [20261203-issue205-reveal-in-finder-copy-path_log.md](20261203-issue205-reveal-in-finder-copy-path_log.md) | Reveal in Finder / Copy Path on library and Archive rows: one shared menu fragment over the model-resolved post.md path, three pins, rail 735/735 |
|
| 2026-12-03 | issue | [20261203-issue205-reveal-in-finder-copy-path_log.md](20261203-issue205-reveal-in-finder-copy-path_log.md) | Reveal in Finder / Copy Path on library and Archive rows: one shared menu fragment over the model-resolved post.md path, three pins, rail 735/735 |
|
||||||
| 2026-12-03 | issue | [20261203-issue204-fix-cards-jump-to-the-anchor_log.md](20261203-issue204-fix-cards-jump-to-the-anchor_log.md) | Fix Cards gain Jump: the anchor span selected in the editor, the main window keyed, over the #71 caret rail |
|
| 2026-12-03 | issue | [20261203-issue204-fix-cards-jump-to-the-anchor_log.md](20261203-issue204-fix-cards-jump-to-the-anchor_log.md) | Fix Cards gain Jump: the anchor span selected in the editor, the main window keyed, over the #71 caret rail |
|
||||||
|
| 2026-12-03 | milestone | [20261203-release-012-image-drop-fix_log.md](20261203-release-012-image-drop-fix_log.md) | Release 0.1.2 ships the macOS 27.2 image-drop fix: bump, notes, rail 729/729, notarized DMG, forge release id 29, drafts |
|
||||||
| 2026-12-03 | generic | [20261203-image-drop-27-2-drag-routing-pastes-path_log.md](20261203-image-drop-27-2-drag-routing-pastes-path_log.md) | macOS 27.2 routes drags to the deepest view: NSTextView pasted the file path; the editor now owns drops through one router (rail 729/729) |
|
| 2026-12-03 | generic | [20261203-image-drop-27-2-drag-routing-pastes-path_log.md](20261203-image-drop-27-2-drag-routing-pastes-path_log.md) | macOS 27.2 routes drags to the deepest view: NSTextView pasted the file path; the editor now owns drops through one router (rail 729/729) |
|
||||||
| 2026-12-03 | milestone | [20261203-release-011-apex-refresh-is-step-one_log.md](20261203-release-011-apex-refresh-is-step-one_log.md) | Release 0.1.1: apex 1.1.59 refreshed FIRST (full recipe now in the release skill), bump + tag 4a056f9, rail 720/720, DMG notarized; push on go |
|
| 2026-12-03 | milestone | [20261203-release-011-apex-refresh-is-step-one_log.md](20261203-release-011-apex-refresh-is-step-one_log.md) | Release 0.1.1: apex 1.1.59 refreshed FIRST (full recipe now in the release skill), bump + tag 4a056f9, rail 720/720, DMG notarized; push on go |
|
||||||
| 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-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 |
|
||||||
|
|||||||
Reference in new issue
Block a user