Move the agent instructions from AGENTS.md to CLAUDE.md. AGENTS.md now points to CLAUDE.md. The UI rules move to docs/ui-design.md. The version and release policy moves to the new docs/releases.md. Rewrite the README, the user guides, and the developer references. Check each claim against the code. Remove old version history and repeated warnings. Link to Gitea at git.knottywyvern.com instead of the LAN address. Move the October 13 menu audit to the archive.
7.1 KiB
RuneStone
RuneStone is a desktop workspace for Markdown notes, code, and project work in ordinary local files.
A Tauri 2 host in Rust (src-tauri/) serves a Svelte 5 and TypeScript interface (src/).
Optional features are plugins. Each plugin is a separate repository beside this one, for example ../RuneStone_Terminal.
The development guide maps the source folders.
Skills
| Skill | Use it for |
|---|---|
asd-ste100 |
All prose: docs, commit messages, PR text, code comments, error messages, card text. Lint the docs you change. |
readme |
Any change to README.md |
ui-functional-color |
Any choice or review of UI colors |
runestone-project-management |
Boards and cards: find, select, group, delegate, and move cards to Review |
Commands
| Command | Use |
|---|---|
pnpm install --frozen-lockfile |
Install dependencies |
pnpm tauri dev |
Run the desktop app with hot reload |
pnpm check |
Type checks |
pnpm test |
Unit tests (scripts/*.spec.ts) |
cargo test --manifest-path src-tauri/Cargo.toml --lib |
Rust tests |
pnpm check:menus |
Menu surface inventory |
node scripts/<name>.smoke.mjs |
One browser smoke test. See Browser smoke tests. |
pnpm build:installer --version <version> |
Windows installer. See Builds. |
pnpm package:plugin <compiled-folder> [output-folder] |
Plugin ZIP |
A source edit needs the checks that cover it. A prose-only change needs only the lint and a link check.
Documentation
| Content | Location |
|---|---|
| Purpose, value, install, help, maintainer | README.md |
| From a supplied release file to a launched app | docs/installation.md |
| Current behavior, limits, and workspace tutorials | docs/user-guide.md, docs/guides/ |
| Plugin installation and management for users | docs/plugins.md |
| Source setup, architecture, checks, product boundaries | docs/development.md, docs/linux.md |
| Installer and package builds | docs/builds.md |
| Versions, release files, and publishing | docs/releases.md |
| Plugin package, API, and host internals | docs/plugin-development.md, docs/completion.md, docs/plugin-host.md |
| Interface rules, color, design decisions | docs/ui-design.md, docs/ui-color.md, docs/design-decisions.md |
| Dated records: audits, validations, trials | docs/archive/ |
| Plans and roadmaps | RuneStone Project Management only |
The old roadmap and product scope documents are retired. Do not recreate them.
Rules from the owner:
- Keep each guide within the task and the audience that its title names.
- Give the general procedure before examples. Label each example and cite its source file. A build example states the working folder, the prerequisites, the command, and the output. Do not present one plugin's build command as the process for all plugins.
- Keep the README's first-use path short. Link to details instead of repeating them.
- Include a limit only when it changes a reader's choice or action. Do not repeat availability warnings. Keep development history out of setup steps.
- Treat the owner's cuts as scope decisions. Do not restore removed tangents.
- After you move or remove content, check link text, paths, and heading anchors.
Kanban workflow
- Use the
runestone-project-managementskill. Each plugin has its own board. - Do not start blocked cards or cards outside the requested scope.
- Move an implementation-ready card to Review after its checks pass. Keep unresolved work In progress.
- Only the owner moves a card to Done. Automated checks do not replace the owner's review.
Versions and releases
docs/releases.md holds the full policy. It applies to RuneStone and to each plugin, and each project keeps its own version.
- Versions use
zz.yy.xx. A hotfix adds a lowercase letter suffix:0.2.28a, then0.2.28b. - Keep the current version during source edits, fixes, documentation, and checks. Instruction-only edits never change it.
- Set the next version only when you produce a build: a RuneStone installer or a plugin ZIP.
A regular build increases
xxby one. A hotfix build increases only the suffix. - If the build fails, restore the previous version fields. Failed attempts do not use up a version.
- Increase
yyorzzonly when the owner directs a release. - Report a new version only after its artifact exists. Report the full artifact path.
- Completed builds go in
releases/, outside Git. Never overwrite a release with different contents. - Repository releases contain only installers or plugin ZIPs, with an empty description.
Windows installer
- An existing installation defaults to reinstall, also for the same version. Users never need to uninstall first.
- Reinstall and update preserve workspace files and user settings.
- Keep the protection against version downgrades.
Plugin packages
- docs/plugin-development.md is the package and API reference for all plugin work.
- Each plugin ships as one standard
.zipwithplugin.jsonat the archive root. Create it withpnpm package:plugin. - Users install ZIPs through Settings → Plug-ins, from a local file or an experimental Gitea link. Do not add custom extensions, loose JSON installs, or folder installs.
- Keep the manifest and the entry module readable. Include the assets and dependencies that the plugin needs.
- GitHub and GitLab download adapters are future work. Do not add untested host support.
- Keep plugin ZIPs in the plugin's own
releases/folder. Never copy them into this project or another plugin.
UI work
docs/ui-design.md holds the full interface rules. Read it before you change UI. Check each change against this list:
- Use the shared components and tokens. Menus use
src/lib/ui/actionMenu.ts(orsrc/lib/layout/ContextMenu.svelte),src/lib/ui/menu.css, and the--rs-menu-*tokens insrc/lib/theme/tokens.css. Do not add a local menu renderer or local style overrides. - Use recognizable icons. Keep a visible label when an icon alone is ambiguous. An icon-only control needs an accessible name, a tooltip on hover and keyboard focus, and a comfortable click target.
- Controls and navigation highlights use rounded corners (
--rs-control-radius). Tables inside documents stay square. - A selection gets one outline around each group of adjacent selected items, with no borders on shared internal edges.
- Colors follow the
ui-functional-colorskill anddocs/ui-color.md: vivid by default, informative text opaque. - Before Review, check both themes, narrow windows, long lists, keyboard focus, and viewport edges.
For menu work, run
pnpm check:menusandscripts/menuConsistency.smoke.mjs. Keep screenshots of the exact control that the card names. - Record a rule change, a recurring problem, or an exception in
docs/design-decisions.md. An isolated fix needs no entry.
Subagents
Use only Haiku 5.5 (model: "haiku") or Opus 5.5 (model: "opus", effort medium to xhigh). Never use Sonnet or Fable.
The runestone-project-management skill maps task types to models and lists what each brief must contain.