| @@ -0,0 +1,172 @@ |
| |
1 | # Roadmap status, 2026-11-25 |
| |
2 | |
| |
3 | Where the milestone work stands, so a session can pick it up at any point. Read `docs/plans/2026-11-21-roadmap-handoff.md` first: its repository rules, decisions and procedure still apply. This document adds what milestone 1 taught, what it left open, and what comes next. |
| |
4 | |
| |
5 | ## State |
| |
6 | |
| |
7 | - `main` is at `c287e0e`, in sync with gitbay. No worktrees, work branches or open merge requests. |
| |
8 | - Milestone 1 (Reviews and cleanup) is closed: 32 issues, 30 merge requests (447–476). |
| |
9 | - On `main` with everything merged: `swift test` (1,240 tests), both Xcode builds and every performance gate pass. |
| |
10 | - Not released. The code is past 1.2.0; the plan pencils milestone 1 as 1.3.0. Releasing is the owner's call. |
| |
11 | - Simulators: "iPhone 17", "iPad Air 11-inch (M4)" (iOS 27.0) and "Apple Watch Series 11 (46mm)" (watchOS 27.0). Reuse them; do not create others. |
| |
12 | |
| |
13 | | Milestone | Open | Closed | |
| |
14 | |---|---|---| |
| |
15 | | 1 Reviews and cleanup | 0 | 32 | |
| |
16 | | 2 Capture | 6 | 0 | |
| |
17 | | 3 Agenda and planning | 9 | 0 | |
| |
18 | | 4 Commands and editing speed | 11 | 0 | |
| |
19 | | 5 Sync and files | 9 | 0 | |
| |
20 | | 6 Formats, import and export | 6 | 0 | |
| |
21 | | 7 Notes and knowledge | 3 | 0 | |
| |
22 | | 8 Automation and extension | 3 | 0 | |
| |
23 | | Backlog | 39 | 0 | |
| |
24 | |
| |
25 | #109 (code scanning) has no milestone and stays out of scope. |
| |
26 | |
| |
27 | ## Resuming after an interruption |
| |
28 | |
| |
29 | Work may stop mid-issue. Before starting anything, find what is in flight: |
| |
30 | |
| |
31 | ```bash |
| |
32 | git fetch origin |
| |
33 | git worktree list |
| |
34 | git branch -a |
| |
35 | gitbay mr list --state open --json |
| |
36 | gitbay milestone list |
| |
37 | ``` |
| |
38 | |
| |
39 | - A worktree under `.claude/worktrees/` or a local branch with commits not on `origin/main` is unfinished work. `git log origin/main..<branch>` shows it; the commit subjects name the issue. Continue it in that worktree rather than starting over. |
| |
40 | - An open merge request is waiting for review and merge (procedure step 2.4 in the handoff). |
| |
41 | - A worktree with no commits beyond `origin/main` and no changes can be removed. |
| |
42 | - Remove a worktree with `git worktree remove -f -f <path>` if it is locked, then `git worktree prune`; delete its branch locally and on gitbay after the merge request shows `merged`. |
| |
43 | |
| |
44 | ## What milestone 1 taught |
| |
45 | |
| |
46 | ### Merging |
| |
47 | |
| |
48 | - Every branch must be rebased onto `origin/main` before `gitbay mr merge <n> --strategy ff`; otherwise the merge is refused. Commits are signed; a rebase re-signs them. Push with `--force-with-lease`. |
| |
49 | - Two merge requests that each pass can fail together. In milestone 1, one made `WorkspaceModel.backlinks` throw and another called it without `try`; git saw no conflict. Run `swift test` and both builds on the combined code before the last merge of a batch, not only on each branch. |
| |
50 | - `l10n/Localizable.xcstrings` conflicts on almost every rebase when several branches add strings. Resolve by keeping both sides' keys; then check the file still parses (`python3 -c "import json;json.load(open('l10n/Localizable.xcstrings'))"`). Run `scripts/sync-strings.sh` once at the end of a milestone so the catalog is in the form the script writes. |
| |
51 | |
| |
52 | ### Testing |
| |
53 | |
| |
54 | - Batch the full test run: once on the combined code of a batch, before its last merge. |
| |
55 | - Timing tests must not depend on machine load. Compare against something load cannot move (the fastest of several interleaved rounds; a spin long enough that "not stopped" is unmistakable), or assert on behaviour (which thread did the work) instead of durations. Two such tests were fixed in milestone 1. |
| |
56 | - Take performance gate numbers on a quiet machine (`uptime` load under about 5). The 1 MB open gate is at 85–90 ms against 100 ms; under load it misses. |
| |
57 | - Random tests use fixed default seeds; `ORGSTAR_SEED=<n> swift test` runs another. |
| |
58 | |
| |
59 | ### Running agents in parallel |
| |
60 | |
| |
61 | - One worktree per agent, on files no other agent touches. Name the files each agent owns and the ones it must not edit; overlapping files cost a rebase conflict at best. |
| |
62 | - This Mac (16 GB) runs about four full builds at once. Past that it swaps and every build slows; load averages of 400 were seen. A worktree after `swift test` and both Xcode builds holds 10–12 GB. |
| |
63 | - Only one agent may use a given simulator at a time. Assign them. |
| |
64 | - An agent stopped by a usage limit can be resumed; its worktree and commits survive. A worktree with no commits may be removed by the tool that created it; recreate one on the branch. |
| |
65 | - Ask agents for screenshots in the scratchpad, not the repository, and look at a few before merging: two defects in milestone 1 (images 80 pt wide, a clipped icon on onboarding) were found only that way. |
| |
66 | |
| |
67 | ### Writing issues |
| |
68 | |
| |
69 | - Issue bodies were often wrong about what exists. Check the code first and correct the body. |
| |
70 | - Every follow-up found during a fix was filed as its own issue (Backlog unless it blocks something). #225–#235 came from milestone 1. |
| |
71 | |
| |
72 | ## Decisions taken in milestone 1, for the owner to confirm or overrule |
| |
73 | |
| |
74 | 1. Agenda: one row layout for Mac and iOS (the Mac's left column; iOS's line of tags and keywords above the title; Overdue under Today). The iOS agenda bar is `‹ Today [span] ›`. |
| |
75 | 2. Repeated agenda grid lines: fixed by a new default for the grid setting, so existing installs keep the old value. |
| |
76 | 3. Mac first run starts on Mac keys unless an Emacs or Doom configuration is found. The App Store build probably always starts on Mac keys. |
| |
77 | 4. Complete at Point is `⌥Esc` in the Mac preset; `⌃Space` belongs to input sources. |
| |
78 | 5. Every echo-area message stays until the next key, not only errors. |
| |
79 | 6. "Act at Point (C-c C-c)" is renamed "Update at Point". |
| |
80 | 7. "Commands" (Mac toolbar, iOS) and "Command Palette…" (Mac menu) still name one thing. Open. |
| |
81 | 8. Kanban: `⇧←` / `⇧→` move a card between columns. |
| |
82 | 9. Comparison sheets use the theme's TODO and DONE colours for removed and added lines. |
| |
83 | 10. Twelve of fourteen ported themes have a lighter secondary text colour (4.5:1). The watch uses keyword colours by kind, not the phone's theme. |
| |
84 | 11. iOS: the icon set (pencil for Edit); one message panel, top in the editor, bottom elsewhere; heading tags drawn at the right edge. |
| |
85 | 12. iPad: a sidebar with "All Folders"; Settings on `⌘,`; the Org menu lists commands that refuse on iOS. |
| |
86 | 13. #112: export scope and body only are kept per file and used by the export commands. |
| |
87 | 14. #114: `<<name()>>` is refused when tangling. |
| |
88 | 15. #195: TAB doesn't realign after a row was changed and left another way. |
| |
89 | 16. #208: script sandboxing is off on four Xcode targets so a build phase can trim SwiftMath's fonts. |
| |
90 | |
| |
91 | ## Device checks owed |
| |
92 | |
| |
93 | By the owner's rule, an issue closes on merge and its device checks are tracked here. A problem found becomes a new issue. |
| |
94 | |
| |
95 | ### At the next release |
| |
96 | |
| |
97 | - Mac App Store and iOS archives build, export and pass App Store Connect validation with the re-signed SwiftMath bundle (#208). |
| |
98 | - Notarisation passes on the stripped Developer ID binaries; keep `orgstar-<version>-dSYMs.zip` from `.build/release` (#207). |
| |
99 | - A Sparkle update from the previous version works. |
| |
100 | - Run the release on a quiet Mac; the release scripts now stop on a gate miss (#193). In the App Store scripts the gates run inside appstore-kit's preflight, tested only against a stand-in. |
| |
101 | - Upload the German Mac and iPhone screenshots (`ios/AppStore/screenshots/de/`) by hand. A German set still needs a 13" iPad, a paired watch and a search shot. The iPhone 6.9" set is the 6.3" set scaled up. |
| |
102 | |
| |
103 | ### Mac |
| |
104 | |
| |
105 | - Org submenus, Help ▸ orgstar Manual and Help ▸ Keys, Help search, View ▸ Customize Toolbar. |
| |
106 | - `⌥Esc` completion; a message clears on the next key. |
| |
107 | - Return, Escape and Tab in the agenda's prompt; Escape in the column view's prompt. |
| |
108 | - A large file opens quickly; the `#+STARTUP` options (`noindent`, `hidestars`, `inlineimages`, `latexpreview`, `shrink`) at the top and far down; syntax highlighting unchanged. |
| |
109 | - Typing in a large workspace; the backlinks pane updates on heading change, save and rename; the inspector follows edits; the agenda picks up a file saved in another app. |
| |
110 | - Export settings per file; `C-c C-e C-s` / `C-b` in the Emacs and Doom presets. |
| |
111 | - Inline images: selection across an image, a folded heading with an image, an image beside LaTeX, dark appearance. |
| |
112 | - Doom: `C-e` / `C-y`, `zl` / `zh` with truncation on, `&` / `g&`, the `z` fold keys, `g;` after typing and after undo. |
| |
113 | - The `:post` and `<<name()>>` examples in `11-code-blocks.org`; a `:post` block with `:eval query` shows both blocks. |
| |
114 | - Kanban keys; a folder dropped on the sidebar in the App Store build. |
| |
115 | - The mode line's branch after a `git checkout`; no `.git/HEAD` reads in the background. |
| |
116 | - Error alerts after deleting `index.sqlite` or making an open file unreadable. |
| |
117 | |
| |
118 | ### iPhone |
| |
119 | |
| |
120 | - 1 MB and 10 MB files: typing feel, open time, whether the watchdog ends the app at 10 MB. |
| |
121 | - The share sheet end to end and its error path; a watch capture arriving while a capture sheet is open. |
| |
122 | - Export Body Only; German "Nur Inhalt". |
| |
123 | - Widgets on the Home and Lock Screen, tinted mode, locked and unlocked orgstar+; complications; the Live Activity in German. |
| |
124 | - org-protocol from Safari; a `config.toml` in iCloud that isn't downloaded; tapping an iCloud file starts the download; the orgstar+ load failure. |
| |
125 | - Find with a hardware keyboard; the key bar's feel; the agenda at iPhone width. |
| |
126 | - iOS and Mac App Store: an Emacs Lisp or JavaScript `:post` chain runs; one reaching `sh` is refused with nothing written. |
| |
127 | |
| |
128 | ### iPad |
| |
129 | |
| |
130 | - The menu bar with a keyboard and pointer; Stage Manager resizing; several windows. |
| |
131 | |
| |
132 | ### Accessibility, both platforms |
| |
133 | |
| |
134 | - VoiceOver announcements and rows; Increase Contrast; Differentiate Without Colour. |
| |
135 | |
| |
136 | ### From the performance review |
| |
137 | |
| |
138 | - The twelve steps in section 7 of `docs/review-2026-11-21.md` (launch, memory, widgets, watch, Live Activity, energy, sync folders, Mac cold launch, hangs and leaks, download sizes, the M1 Air gate run). |
| |
139 | |
| |
140 | ## Open questions before the next milestones |
| |
141 | |
| |
142 | From the handoff, still unanswered: |
| |
143 | |
| |
144 | - #115: an option on capture templates, or a separate quick-add field? |
| |
145 | - #122: does snooze move only the notification, or rewrite the timestamp? |
| |
146 | - #129: how closely to follow org-ql's syntax. |
| |
147 | - #152: lint the current file first, or all folders from the start? |
| |
148 | - #164: Beamer and reveal.js, or only the in-app presentation mode. |
| |
149 | - #172: which package's card format to read and write. |
| |
150 | |
| |
151 | New: |
| |
152 | |
| |
153 | - #135 and #138: the design review's recommendations are posted as comments on each. #138 is partly done (palette selection, first run, menus). Confirm the rest before milestone 4. |
| |
154 | - #229: is 10 MB a supported file size? |
| |
155 | |
| |
156 | ## Estimated effort, relative to milestone 1 |
| |
157 | |
| |
158 | Milestone 1 took about four and a half days, 30 merge requests and about 35 agent runs. It was mostly fixes to findings that named the file and the fix, checked on this Mac. Later milestones are new features with more decisions and more checks that need a device. Estimates are from the issue titles and scoping notes, not from the code, and are ±50%. |
| |
159 | |
| |
160 | | Milestone | Effort | Main cost | Limits | |
| |
161 | |---|---|---|---| |
| |
162 | | 2 Capture | 0.6–0.8× | Voice on iPhone and Watch, natural-language quick add, Live Text, Pencil sketches, Lock Screen and Action button, Mac Services | Almost all needs a device. #115. | |
| |
163 | | 3 Agenda and planning | 1.2–1.5× | Timeline with time blocking and a second zone, month grid with drag, query language with triage and weekly review, completing from widgets and watch | #129 sets the size. #122. Widgets and watch need devices. | |
| |
164 | | 4 Commands and editing speed | 0.9–1.1× | Snippets and templates, macros kept across restarts, completion (auto, fuzzy, buffer words, index), iOS key bar and suggestion row | Testable on the Mac with the Emacs oracle. #138 partly done. | |
| |
165 | | 5 Sync and files | 1.2–1.5× | Working Copy, Handoff, git auto-commit, find and replace across files, lint, whole-file encryption, file history | Writes and encrypts user files; review the encryption for security. Two devices and a third-party app. #152. | |
| |
166 | | 6 Formats, import and export | 0.9–1.2× | Pyodide in the sandboxed builds, minimal Markdown and Denote, Markdown and Obsidian import, slides, printing | Pyodide's size works against #207–#209. #164. | |
| |
167 | | 7 Notes and knowledge | about 0.5× | org-roam gaps, citations with Zotero, spaced repetition | #172. Zotero needs a running instance. | |
| |
168 | | 8 Automation and extension | 0.3–0.5× | #173 (review only), command-line tool, x-callback-url | #173's recommendation gates build work; the sandbox may rule out the command-line tool. | |
| |
169 | |
| |
170 | Milestones 2–8 together: about five to six times milestone 1. The Backlog's performance items (#197–#203 and others) are about one milestone 1 more. |
| |
171 | |
| |
172 | Milestone 4 is the cheapest to run well next, being testable on this Mac; milestone 2 is next in order but most dependent on devices. |