Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Documentation archive
|
||||
|
||||
[User guide](../user-guide.md) · [Development](../development.md) · [Release history](../releases.md)
|
||||
|
||||
These records preserve past checks, decisions, and proposals. They do not define current behavior or authorize planned work.
|
||||
|
||||
| Record | Purpose |
|
||||
| --- | --- |
|
||||
| [Kanban review, October 8](kanban-review-2026-10-08.md) | Scope, assignments, checks, and the 0.1.13 test builds |
|
||||
| [Kanban changes, October 8](kanban-changes-2026-10-08.md) | Editor, settings, browser, and plugin changes |
|
||||
| [Kanban follow-up, October 8](kanban-followup-2026-10-08.md) | Menu, theme, and Git graph checks |
|
||||
| [App updating draft](app-updating-draft.md) | Unaccepted proposal for installer repair and later update checks |
|
||||
| [Development notes, 0.1.8](development-0.1.8.md) | Settings windows and pasted Markdown |
|
||||
@@ -0,0 +1,111 @@
|
||||
# App updating draft
|
||||
|
||||
Status: Draft for review. The App updating card stays in Backlog until the user accepts this scope.
|
||||
|
||||
RuneStone needs an update flow that keeps workspace files, settings, plugins, and browser profiles.
|
||||
Users must not uninstall RuneStone before an update or a same-version repair.
|
||||
The proposed first milestone makes the installer reliable and clear. A later milestone adds update checks inside RuneStone.
|
||||
|
||||
## Current state
|
||||
|
||||
The card reports an uninstall and reinstall workflow. The project rules already require direct reinstall and update.
|
||||
The Windows configuration uses a per-user NSIS installer and blocks downgrades.
|
||||
The 0.1.15 release notes tell users to run the installer directly, but also identify native installer behavior as untested.
|
||||
This difference needs reproduction on an installed copy before implementation.
|
||||
|
||||
Sources: [project rules](../../AGENTS.md#windows-installer), [Windows configuration](../../src-tauri/tauri.windows.conf.json), and [0.1.15 release notes](../release-0.1.15.md).
|
||||
|
||||
## Proposed first milestone
|
||||
|
||||
The installer detects an existing installation and defaults to reinstall or update.
|
||||
It shows the installed version, package version, and destination before it changes files.
|
||||
The primary action reads Update for a newer version and Reinstall for the same version.
|
||||
An older package stops with a clear downgrade message.
|
||||
|
||||
If RuneStone is open, setup asks the user to close it after saving work.
|
||||
The app must not discard unsaved files or end active terminal work without a user decision.
|
||||
The installer keeps the existing installation path and application identity.
|
||||
It replaces program files and bundled browser files without deleting user data.
|
||||
|
||||
After success, setup offers Open RuneStone.
|
||||
After failure, setup identifies the failed step and offers a retry or a recovery instruction.
|
||||
A retry must not require manual removal of the application or its data.
|
||||
|
||||
## Proposed update screen
|
||||
|
||||
Settings gains an Updates category with a recognizable icon and a visible label.
|
||||
It shows the installed version, last check, available version, release notes, and download state.
|
||||
Check for updates is a manual action in the first implementation.
|
||||
Background checks remain a later option. Downloads and installation require explicit user actions.
|
||||
|
||||
| State | User action | Result |
|
||||
| --- | --- | --- |
|
||||
| No check yet | Check for updates | Read the selected release channel |
|
||||
| Current version | Check again | Show that no newer release exists |
|
||||
| Update available | Download update | Show progress and allow cancellation |
|
||||
| Download complete | Restart and update | Save work and close the app before setup |
|
||||
| Open work prevents restart | Return to RuneStone | Keep the downloaded package for later |
|
||||
| Offline or failed download | Retry | Keep the installed app usable |
|
||||
| Invalid package | Download again | Do not run the invalid package |
|
||||
|
||||
The update service must compare numeric version parts, including build numbers above 99.
|
||||
It must not mistake a same-version repair for a newer release.
|
||||
The default channel excludes trial releases. A future trial channel requires an explicit choice.
|
||||
|
||||
## Release source and package checks
|
||||
|
||||
The in-app milestone needs a chosen release source, stable metadata format, and publisher verification method.
|
||||
The proposed source is the existing Gitea service, with a dedicated application release contract.
|
||||
Plugin download support does not establish an application update contract.
|
||||
|
||||
The contract must identify the version, Windows architecture, installer URL, file size, digest, release notes, and release channel.
|
||||
The app validates the downloaded bytes and publisher before execution.
|
||||
Transport security and a digest alone do not prove the publisher when the source itself changes.
|
||||
Signing keys and credentials stay outside the repository. The build process must document key recovery and rotation.
|
||||
|
||||
The app rejects a mismatched version, architecture, digest, or signature.
|
||||
It does not run an arbitrary URL as an installer.
|
||||
If private releases need authentication, the credential flow requires a separate design before implementation.
|
||||
|
||||
## Data and plugin behavior
|
||||
|
||||
| Data | Required result |
|
||||
| --- | --- |
|
||||
| Workspace files and hidden workspace metadata | Preserve all files and paths |
|
||||
| Application settings and recent workspaces | Preserve values and reopen behavior |
|
||||
| Installed plugins and plugin settings | Preserve packages, enable states, and stored data |
|
||||
| Browser profiles, cookies, history, and bookmarks | Preserve data and profile identity |
|
||||
| Unsaved documents and active terminals | Resolve before restart, without silent data loss |
|
||||
|
||||
Application updates do not silently replace third-party plugins.
|
||||
Plugin update support stays outside this card. Existing plugin ZIP installation remains separate.
|
||||
An incompatible plugin should remain installed but inactive, with a clear explanation, if compatibility checks become necessary.
|
||||
That compatibility policy requires defined host requirements before enforcement.
|
||||
|
||||
## Acceptance checks
|
||||
|
||||
| Scenario | Pass condition |
|
||||
| --- | --- |
|
||||
| Clean installation | Setup installs and opens RuneStone |
|
||||
| Same-version reinstall | Reinstall is the default action and restores program files |
|
||||
| Upgrade from the previous build | Setup updates directly without an uninstall step |
|
||||
| Older installer | Setup blocks the downgrade |
|
||||
| Custom installation path | Setup uses the existing path |
|
||||
| Populated workspace and user data | Before and after file hashes and settings match |
|
||||
| App open with unsaved work | The user can return to work without losing edits |
|
||||
| Failure or cancellation | User data remains intact and retry is possible |
|
||||
| Download or publisher check failure | The app does not execute the package |
|
||||
| Successful update | The app reports the installed version and opens normally |
|
||||
|
||||
Test the installer in a disposable Windows profile with representative workspace, plugin, and browser data.
|
||||
Automated source checks do not replace the native installer checks.
|
||||
|
||||
## Decisions before To Do
|
||||
|
||||
1. Approve installer repair as the first milestone, or include the update screen in the first card.
|
||||
2. Choose the application release source and its public or private access model.
|
||||
3. Choose the publisher verification and signing process before an in-app installer launch.
|
||||
|
||||
The recommended first card covers installer repair and native regression checks.
|
||||
The update screen can follow after the release source and signing decisions.
|
||||
This draft does not authorize updater implementation or move the card into To Do.
|
||||
@@ -0,0 +1,19 @@
|
||||
# Historical development notes: 0.1.8
|
||||
|
||||
[Archive](README.md) · [Current development guide](../development.md)
|
||||
|
||||
## Settings windows and pasted Markdown
|
||||
|
||||
Desktop Settings opens in a separate movable window for each workspace window.
|
||||
Repeated requests focus the existing Settings window.
|
||||
Closing the workspace window also closes its Settings window.
|
||||
Settings opened before a workspace closes when that workspace opens, so plugin context cannot remain stale.
|
||||
|
||||
Saved preferences synchronize across windows. The browser preview keeps the Settings dialog.
|
||||
The separate window has dedicated native permissions and loads only the browser settings contribution.
|
||||
Plugin installation still lists all installed plugins.
|
||||
|
||||
Live Markdown formatting refreshes when background parsing finishes after a large paste.
|
||||
Run `scripts/markdownPaste.smoke.mjs` against the development server to check pasted source and rendered formatting.
|
||||
Run `scripts/settingsWindow.smoke.mjs` to check the Settings layout, save synchronization, and mocked native requests.
|
||||
The browser checks do not test native title-bar movement or desktop clipboard behavior.
|
||||
@@ -0,0 +1,55 @@
|
||||
# Kanban changes for October 8 2026
|
||||
|
||||
This pass covers eight To Do cards across RuneStone, RuneStone Project Management, and RuneStone_Git.
|
||||
The global project management helper read all three boards without data issues.
|
||||
Selection used board placements and the separate priority field.
|
||||
The App updating card received a [draft](app-updating-draft.md) and remains in Backlog.
|
||||
|
||||
## Changes
|
||||
|
||||
| Board | Card | Result |
|
||||
| --- | --- | --- |
|
||||
| RuneStone | Autocorrect only shows errors | Plain editable text permits the native spelling menu. Selection and table action menus remain available. |
|
||||
| RuneStone | New file button | New file accepts the complete name without adding an extension. Rename includes the extension. |
|
||||
| RuneStone | Monospace font is too big | Both code layouts use the shared 13px size and 21px line height. |
|
||||
| RuneStone | Themes and theme switching | GPT, Claude, Sakura, and RuneStone support light and dark modes. Terminal uses green on black. |
|
||||
| RuneStone | Users need the ability to clear specific cookies | Settings lists and filters cookies and history for each profile, with individual removal. |
|
||||
| Project Management | Text box for adding new cards is somewhat broken | The composer uses the empty list space above the Add control. |
|
||||
| Project Management | Add new card UI persists when not in use | Focus changes hide the composer and retain its draft. Cancel, view changes, board changes, and disposal discard drafts. |
|
||||
| Git | Git interface missing functions | Visible push and pull controls accompany separate collapsible Changes and Graph sections. |
|
||||
|
||||
## Source checks
|
||||
|
||||
RuneStone passes its type checks with zero errors or warnings and all 195 unit tests.
|
||||
The native suite passes 75 tests. Three existing tests remain ignored because they require external fixtures or services.
|
||||
Git passes 11 native fixture tests, four plugin unit tests, source compilation, and sidebar browser checks.
|
||||
The Git checks include upstream selection, divergence, dirty files, merge history, and errors.
|
||||
|
||||
Project Management passes type checks, 98 unit tests, and all 119 browser tests.
|
||||
Its current source compiles, and both compiled-plugin browser tests pass.
|
||||
The first compilation attempt stopped on Git ownership checks. A process-local safe-directory setting permits this known checkout.
|
||||
No global Git trust setting changed.
|
||||
|
||||
Browser runtime checks pass all 35 unit tests, syntax checks, and the native Electron smoke test.
|
||||
Individual removal preserves other cookie paths, other history entries, other profiles, bookmarks, and open tabs.
|
||||
The host browser checks cover filters, busy controls, errors, profile changes, and delayed responses.
|
||||
The cookie implementation uses the [Electron Cookies API](https://www.electronjs.org/docs/latest/api/cookies) to expire the selected cookie's exact domain and path.
|
||||
|
||||
Editor and menu checks cover exact filenames, extension changes, duplicate-name protection, fonts, spelling event dispatch, and shared menus.
|
||||
Visual checks cover narrow settings and light and dark themes.
|
||||
The appearance check covers all palettes, persistence, cross-window changes, and existing and newly opened code editors.
|
||||
The initial Terminal check found gold brackets. The theme now sets all bracket colors to green. Separate editor theme IDs restore normal syntax colors after Terminal mode.
|
||||
|
||||
## Limits and review
|
||||
|
||||
Native spelling suggestions and actual correction still need desktop acceptance.
|
||||
The Git graph uses text topology and shows at most 100 commits.
|
||||
Push and pull require a configured upstream and existing Git authentication. Pull permits only fast-forward updates.
|
||||
The updater remains a draft. This pass does not implement its proposed milestones.
|
||||
|
||||
Implementation-ready cards move to Review after their checks pass. Done remains reserved for user acceptance.
|
||||
Build work must use GPT-6.1 Sol with medium reasoning, as requested.
|
||||
It must produce the installer and changed Project Management and Git ZIPs.
|
||||
The installer needs the rebuilt Browser runtime. A separate Browser plugin ZIP is unnecessary.
|
||||
Source checks retain the existing versions until each distributable build starts.
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
# Menu, theme, and Git graph changes
|
||||
|
||||
These changes cover three To Do cards from the RuneStone and RuneStone_Git boards on October 8, 2026.
|
||||
The [local test builds](../release-0.1.17.md) are RuneStone 0.1.17 and Git 0.1.4.
|
||||
|
||||
## Changes
|
||||
|
||||
| Card | Result |
|
||||
| --- | --- |
|
||||
| 591c856a-2dc8-40a8-b656-b1d709c59114 | WebView2 supplies spelling suggestions to the shared menu. Native commands apply corrections. |
|
||||
| 8a2f3bef-dec0-4b8e-8cc8-923a204386ec | Claude follows Anthropic colors and font stacks. Sakura uses the card palette and light mode. GPT and Terminal themes are removed. |
|
||||
| 7d194eeb-fd9c-4116-b716-f8b96a3b1de8 | Git history draws commit nodes and parent links, with branches, tags, messages, authors, and dates. |
|
||||
|
||||
Saved GPT and Terminal selections migrate to RuneStone with their previous light or dark mode.
|
||||
Saved dark Sakura selections migrate to light Sakura.
|
||||
Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.
|
||||
Sakura syntax colors depend on the tokens that each language supplies.
|
||||
|
||||
The spelling bridge validates the window, request, and enabled command before it acts.
|
||||
Dismissal completes the native request. Unsupported targets retain their native menu.
|
||||
|
||||
The graph shows at most 100 commits. Dashed links mark parents outside that history.
|
||||
The Git ZIP requires the matching host build. Earlier hosts show an update message.
|
||||
|
||||
## Checks
|
||||
|
||||
- Host source check: no errors or warnings.
|
||||
- Host unit tests: 198 passed.
|
||||
- Native tests: 78 passed, three ignored.
|
||||
- Frontend production compilation: passed.
|
||||
- Git unit tests: five passed. Plugin compilation and sidebar, UI, and host browser checks passed.
|
||||
- Appearance checks: migration, palette colors, font stacks, window sync, code editors, and 360px settings passed.
|
||||
- Shared menu checks: both themes, keyboard navigation, native command mapping, and fallback passed.
|
||||
|
||||
Screenshots and check logs are in `.audit/`. Git screenshots are in `../RuneStone_Git/output/`.
|
||||
The native Windows check confirmed real WebView2 commands in the shared menu. Native Undo restored Writer text in an isolated test profile.
|
||||
That profile supplied no spelling suggestions. Correction and undo with a spelling suggestion still need desktop acceptance.
|
||||
The reusable check is `scripts/spellingNative.smoke.mjs`. Set `REQUIRE_NATIVE_SUGGESTIONS=1` to require an actual suggestion.
|
||||
Cards move to Review after their checks pass. Done remains reserved for user acceptance.
|
||||
@@ -0,0 +1,110 @@
|
||||
# Kanban work, October 8, 2026
|
||||
|
||||
## Scope and inspection
|
||||
|
||||
Workspace: `D:/Users/KnottyWyvern/Documents/RuneStone`.
|
||||
The RuneStone board contains six selected To do cards. The Project Management board contains eight.
|
||||
All 14 selected cards are unblocked.
|
||||
Selection uses each board placement, not the shared card status.
|
||||
|
||||
Command from the RuneStone checkout: `node ../RuneStone_ProjectManagement/.agents/skills/runestone-project-management/scripts/inspect.mjs boards --workspace .`.
|
||||
|
||||
The first helper run failed because the renamed plugin checkout lacked usable dependencies (`ERR_MODULE_NOT_FOUND: yaml`).
|
||||
The documented frozen-lockfile install restored dependencies.
|
||||
The recent sandbox workspace contained no boards. The RuneStone workspace contained both requested boards.
|
||||
The helper then retrieved both boards and all 14 cards with exit code 0 and no data issues.
|
||||
Manual card retrieval was not necessary. The initial dependency failure remains part of this test record.
|
||||
The shell sandbox also failed before command execution. Authorized commands ran outside that broken sandbox.
|
||||
|
||||
## Assignments
|
||||
|
||||
Related cards share an agent when their behavior or files overlap. These cards describe distinct outcomes, not confirmed duplicates.
|
||||
Keep each card and its acceptance criteria. Do not delete or archive cards solely to group implementation.
|
||||
The coordinator owns board updates, the skill, this record, and integration checks.
|
||||
|
||||
| Group | Card IDs | Model and effort | File ownership and sequence |
|
||||
| --- | --- | --- | --- |
|
||||
| Tabs and ribbon | bee9f324, c8321a48, d0850861 | Astra 6 high | Workbench, tab/pane layout, related smoke tests |
|
||||
| Settings density | d8c20c7d, 2a509815 | Sol 6.1 medium | Settings windows, plugin list, dedicated tests |
|
||||
| Repeated paste | 68136a13 | Sol 6.1 medium | LiveWriter, clipboard lifecycle, paste regression |
|
||||
| Card details | 32f33744, 30a4c620, ed978e3d, 57074b19 | Astra 6 high | PM detail/editor UI and styles, before other PM groups |
|
||||
| Card transfer | 7e41dc9e | Astra 6 high | PM board/store/UI, after card details |
|
||||
| Board controls | 6369fc91, fe7e86e4 | Luna 6 max | PM board title/menu, after transfer releases UI ownership |
|
||||
| Image viewer | 68fd3750 | Sol 6.1 medium | PM image viewer, description preview, styles, and image tests |
|
||||
|
||||
Only one agent edits each file at a time. Separate functions do not imply separate ownership.
|
||||
Agents preserve all existing uncommitted changes. They do not reset files or commit unrelated work.
|
||||
The coordinator moves cards to Review after their relevant checks pass. Done requires user acceptance.
|
||||
The initial implementation scope did not include distributable builds or version changes.
|
||||
|
||||
## Skill checks
|
||||
|
||||
The six board-helper tests pass, including multiple workspaces, placements, migration conflicts, and read-only behavior.
|
||||
The revised skill passes the prose lint at 0.97 issues per 100 words.
|
||||
The Python format validator first failed because PyYAML was absent. It passed after a temporary dependency install.
|
||||
## Host review results
|
||||
|
||||
All six RuneStone cards moved to Review.
|
||||
The tab bar uses the available width and keeps its new-tab button beside the tabs.
|
||||
Closing the last tab leaves one New tab. The two misleading ribbon launchers are removed.
|
||||
Settings and the main window share their header height. Plugin rows use shared spacing tokens.
|
||||
The paste fix accepts clipboard line endings and stops synchronous edits from returning to their source editor.
|
||||
|
||||
Checks pass: host type checks with zero errors or warnings, and all 191 unit tests.
|
||||
Browser checks pass for tab order, plugin access, menu consistency, saved layout, settings density, settings titlebar, and settings windows.
|
||||
Paste checks pass for 12 repeated clipboard cycles, saved source, editor reopen, line-ending variants, undo, and 5,000 formatted sections.
|
||||
Visual checks cover light and dark themes, an 880-pixel tab bar, and settings widths down to 360 pixels.
|
||||
Native desktop window calls used browser mocks. Native titlebar behavior still needs user acceptance.
|
||||
|
||||
## Project Management review results
|
||||
|
||||
The four card-detail cards moved to Review.
|
||||
Description editing stays inside the card. Saved Markdown opens formatted.
|
||||
Detail hints sit inside buttons. Priority choices use colored icons in a picker beside the trigger.
|
||||
Type checks, unit tests, and 11 focused browser tests pass for these changes.
|
||||
|
||||
## Source review result, before packaging
|
||||
|
||||
All 14 selected cards are in Review. The helper confirmed their exact board placements after the updates.
|
||||
No cards moved to Done. No cards were deleted or archived.
|
||||
Seven subagents handled the seven groups with one writer for each file.
|
||||
The small board-control group used Luna 6 max after source review confirmed its limited scope.
|
||||
The other assignments used Astra 6 high or Sol 6.1 medium as shown above.
|
||||
|
||||
Card transfer now preserves the card identity, body, metadata, and unrelated board placements.
|
||||
The image viewer opens from saved descriptions and supports outside-click dismissal, Escape, focus restoration, and image overlays.
|
||||
Board menu actions now have icons. The smaller title pencil appears on hover or keyboard focus.
|
||||
|
||||
Final checks:
|
||||
|
||||
- RuneStone type checks: zero errors and warnings. All 191 unit tests pass.
|
||||
- Host browser checks include installation, removal, menus, tabs, layout, settings, paste, and undo.
|
||||
- Project Management type checks and compilation pass. All 101 unit tests and all 103 browser tests pass.
|
||||
- The six skill-helper tests and the skill format validator pass.
|
||||
- Both repository patches pass the whitespace check.
|
||||
|
||||
The first complete PM browser run exposed seven outdated or brittle test expectations.
|
||||
Corrections scope deadline inputs to their field region, expect the saved description preview, and establish keyboard focus before checking its indicator.
|
||||
The next complete run passed all 103 tests. The host install smoke also needed its removed ribbon selector replaced with the command API.
|
||||
These test corrections retain the existing behavior checks.
|
||||
|
||||
Compiled PM output supports bundled-plugin tests. No installer or release ZIP was produced during source review.
|
||||
Source review used RuneStone `0.1.12` and Project Management `0.2.17`.
|
||||
The automated browser checks use mocked host calls. Native desktop behavior still needs user acceptance.
|
||||
Test output is saved under the plugin repository's ignored `.audit/kanban-review-2026-10-08/` directory.
|
||||
Original card backups are in `.runestone/agent-work-2026-10-08/backups/` in the RuneStone workspace.
|
||||
Prose lint for this record: 1.45 issues per 100 words.
|
||||
|
||||
## Test builds requested after source review
|
||||
|
||||
The user requested distributable builds for desktop testing.
|
||||
RuneStone 0.1.13 is available as `src-tauri/target/release/bundle/nsis/RuneStone_0.1.13_x64-setup.exe`.
|
||||
Project Management 0.2.18 is available as `../RuneStone_ProjectManagement/plugin-packages/runestone.pm-0.2.18.zip`.
|
||||
See the [installation notes](../release-0.1.13.md).
|
||||
|
||||
Both builds completed and passed artifact integrity checks. Previous release files remain intact.
|
||||
The installer includes the existing browser runtime. Its application version is 0.1.13 and downgrades remain disabled.
|
||||
The plugin ZIP has its manifest at the archive root. Its recorded file hashes match its contents.
|
||||
Post-package checks passed the PM type check, 101 unit tests, and 103 browser tests.
|
||||
Native host tests passed 63 tests, with three ignored.
|
||||
The 14 cards remain in Review for user acceptance.
|
||||
Reference in New Issue
Block a user