Rewrite the documentation and the agent instructions

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.
This commit is contained in:
Knotty Wyvern
2026-10-27 19:35:43 -07:00
parent d7a87795f5
commit 4240d7dad1
25 changed files with 2041 additions and 2017 deletions
+38 -43
View File
@@ -1,25 +1,20 @@
# Design decision log
[Interface design](ui-design.md) · [Agent instructions](../AGENTS.md)
[Interface design](ui-design.md) · [Functional color](ui-color.md)
The design guide holds current rules. This log records intentional rule changes, recurring problems, and scoped exceptions for RuneStone and its plugins.
An isolated correction belongs in its normal card or commit record. It does not need an entry here.
This log records interface rule changes, recurring problems, and exceptions for RuneStone and its plugins. The [interface design guide](ui-design.md) holds the current rules and says when an entry is necessary.
## Use this log
Copy the matching template into Entries. Give each entry a unique sequential ID, such as UI-001, and a date.
Replace every placeholder. Use relative links to guide sections, source files, and saved evidence where possible.
Record missing evidence as pending. Do not claim acceptance or completed checks without evidence.
For a rule change or exception, record the decision source, such as the user's direction or an accepted review.
A proposed entry does not authorize a departure from the current guide.
Update the guide in the same change as an accepted rule change. Summarize an active exception beside its affected rule and link its entry.
Record the scope as the app, named plugins, or specific controls. Avoid silently extending a local decision to every plugin.
For recurring problems, link separate occurrences or a regression after a prior correction. Record unknown causes as unknown.
Update an existing problem entry when it recurs. Mark it resolved only after the prevention action and relevant check pass.
Keep earlier decisions when a later entry replaces them. Mark them superseded and link the replacement in both directions.
When an exception ends, mark it retired and remove its active exception note from the guide.
Entry status describes the record. It does not move a Kanban card to Done or replace user acceptance.
- Copy the matching template to the end of Entries. Give the entry the next free ID (UI-NNN) and a date. Replace every placeholder.
- Link guide sections, source files, cards, and saved evidence. Record missing evidence as pending. Do not claim a check or an acceptance without evidence.
- Record the decision source of a rule change or an exception, such as the user's direction or an accepted review.
- State the scope: the app, named plugins, or specific controls. Do not extend a local decision to every plugin.
- Rule change: update the guide in the same change.
- Recurring problem: update the existing entry when the problem returns. Mark it resolved only after the prevention and its check pass. Record an unknown cause as unknown.
- Exception: put a short note beside the affected rule in the guide and link the entry. When the exception ends, mark it retired and remove the note.
- Keep replaced entries. Mark them superseded and link old and new entries in both directions.
- Entry status describes the record only. It does not move a card to Done or replace the user's acceptance.
## Templates
@@ -32,14 +27,14 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Date: YYYY-MM-DD
- Status: Proposed / Accepted / Superseded
- Decision source: User direction or review link
- Previous rule: Prior behavior and guide section
- New rule: Chosen behavior and current guide section
- Reason: User benefit and relevant design principle
- Scope: App, named plugins, and affected controls
- Previous rule: Old behavior and guide section
- New rule: New behavior and guide section
- Reason: User benefit and design principle
- Scope: App, plugins, and controls
- Shared implementation: Component or token paths
- Exceptions: None, or linked exception entries
- Evidence: Reference images, check results, and review link, or pending items
- Replaces / replaced by: None, or linked entries
- Exceptions: None, or entry links
- Evidence: Screenshots, check results, review link, or pending
- Replaces / replaced by: None, or entry links
```
### Recurring problem
@@ -50,15 +45,15 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Type: Recurring problem
- Date: YYYY-MM-DD
- Status: Open / Resolved
- Existing rule: Link to the rule that still applies
- Scope: App, named plugins, and affected controls
- Occurrences: Links to repeated violations or a regression and its prior correction
- Cause: Evidence for the cause, or unknown with the next investigation step
- Correction: How the current violation returns to the existing rule
- Prevention: Shared component change, override removal, check, or needed rule clarification
- Check: How to detect recurrence and the actual result, or pending
- Evidence: Reference images and card, commit, or review links
- Resolution / recurrence: Date and result, or pending. Reopen this entry if the problem returns.
- Existing rule: Guide section that still applies
- Scope: App, plugins, and controls
- Occurrences: Links to each violation, or to the regression and its earlier fix
- Cause: Evidence, or unknown and the next investigation step
- Correction: How this occurrence returns to the rule
- Prevention: Shared component change, override removal, check, or rule clarification
- Check: How to detect a recurrence, and the result or pending
- Evidence: Screenshots and card, commit, or review links
- Resolution / recurrence: Date and result, or pending
```
### Exception
@@ -72,13 +67,13 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Decision source: User direction or review link
- Current rule: Guide section and its exception note
- Departure: Exact difference from the rule
- User benefit: Why the standard pattern does not meet this need
- Scope: Specific app or plugin controls and states where the exception applies
- Shared implementation: Component or token paths and why a local difference is necessary
- Review: Responsible person or role, plus a date or concrete trigger
- Exit condition: When the standard pattern can replace the exception
- Evidence: Reference images, accessibility and interaction checks, or pending items
- Replaces / replaced by: None, or linked entries
- User benefit: Why the standard pattern does not meet the need
- Scope: Controls and states
- Shared implementation: Component or token paths, and why a local difference is necessary
- Review: Owner, and a date or trigger
- Exit condition: When the standard pattern can return
- Evidence: Screenshots, accessibility and interaction checks, or pending
- Replaces / replaced by: None, or entry links
```
## Entries
@@ -140,7 +135,7 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Scope: Host action menus and plugin menus that use the host API, including theme, appearance, board, and list menus.
- Shared implementation: [actionMenu.ts](../src/lib/ui/actionMenu.ts), [menu.css](../src/lib/ui/menu.css), and the `--rs-menu-*` tokens in [tokens.css](../src/lib/theme/tokens.css).
- Exceptions: None. Existing older-host plugin fallbacks remain available.
- Evidence: The [card reference](../output/pass3-ref-0ce1efe3-7e2a-40a8-99bb-64215aa9d977.png). Shared menu checks passed in both themes. Further screenshots accompany the card review.
- Evidence: The card reference image `pass3-ref-0ce1efe3` (local `output/` file, not in the repository). Shared menu checks passed in both themes. Further screenshots accompany the card review.
- Replaces / replaced by: The outline and radio presentation changed in [UI-003](#ui-003--quiet-menu-choices). Other rules remain.
### UI-001 — Separate design decisions from routine corrections
@@ -150,10 +145,10 @@ Entry status describes the record. It does not move a Kanban card to Done or rep
- Status: Accepted
- Decision source: The user's request to implement this policy in the guide, agent instructions, and decision log.
- Previous rule: The guide required UI review evidence but did not distinguish corrections, rule changes, recurring problems, and exceptions.
- New rule: Use the [record categories](ui-design.md#current-rules-and-decision-history) and templates above. Keep current design rules in the guide.
- New rule: Use the [record categories](ui-design.md#decision-records) and templates above. Keep current design rules in the guide.
- Reason: Preserve useful design history without a log entry for every isolated correction.
- Scope: Documentation and review workflow for the app and its plugins.
- Shared implementation: [Agent instructions](../AGENTS.md#ui-work-record-design-decisions) and [review evidence](ui-design.md#evidence-for-review). No component or token change.
- Shared implementation: [Decision records](ui-design.md#decision-records) and [review evidence](ui-design.md#review-checklist). No component or token change.
- Exceptions: None.
- Evidence: The user's explicit instruction in this chat. This entry changes documentation policy and has no visual reference image.
- Replaces / replaced by: None.
@@ -505,7 +500,7 @@ Replaced by: [UI-024](#ui-024--assertive-functional-color-by-default) strengthen
- Scope: RuneStone and all plugins. The user's global skill applies the same preference to other UI work within its stated scope.
- Shared implementation: [Functional color requirements](ui-color.md), theme tokens, project agent instructions, and the global ui-functional-color skill.
- Exceptions: Explicit user direction and approved project exceptions retain their scope. Readability remains required.
- Evidence: The [October 13 review](menu-audit.md), cards 093e372f and 4bb33e4f, and the user's direction in this chat.
- Evidence: The [October 13 review](archive/menu-audit-2026-10-13.md), cards 093e372f and 4bb33e4f, and the user's direction in this chat.
- Limits: This policy cannot guarantee future adherence. Reviews still need measured values and rendered screenshots.
- Replaces: [UI-022](#ui-022--functional-color-without-an-artificial-ceiling) for the strength of the default and required evidence.
- Release impact: Documentation and instructions only. No version or artifact change.