Skip to content

Audit rules: every screen in every state, backup covers every table, and what a screen opens it closes - #230

Merged
SoryAK merged 5 commits into
mainfrom
docs/audit-rules
Dec 5, 2026
Merged

SoryAK merged 5 commits into
mainfrom
docs/audit-rules

Conversation

@SoryAK

@SoryAK SoryAK commented Nov 28, 2026

Copy link
Copy Markdown
Owner

What changed

Adds docs/audit.md: the checks a passing test suite can still miss. Every pull request that changes a screen or a record walks them, and every release walks them across the tester path.

  • States: every screen is checked empty, with one record, typical, with lots, loading and failing, at desktop and phone width. Empty screens keep their actions with the message, offer each action once, and show nothing with nothing behind it.
  • Records: add, read, change and remove ship together, with the same fields to add and change.
  • Private stays private: the preview and the published page come from the publish copy only.
  • Keep and leave, memory and speed, keyboard, words, missing pieces (relay off, offline, no map key, a failed import).

Two checks in the merge gate:

  • server/portability-coverage.test.ts fails when a table an occupant owns is left out of backup without a stated reason. Tables left out on purpose and tables not yet in backup are listed by name. restoreOrder is now exported from server/portability.ts for it.
  • core/web-cleanup.test.ts fails when a web file creates a photo URL, listener, interval, broadcast channel or observer and never releases it.

Pointers: a pull request template with the audit checklist, and links from AGENTS.md, CONTRIBUTING.md, docs/ci.md, docs/release.md (a new step: audit the tester path) and the UI design issue template.

Known gaps (named in the backup check)

Not yet in backup: Canvas boards (canvas_library), role contacts, role edits, resume set-asides, resume import markers and pending import facts. Each needs export and restore, or a stated reason.

Audit (docs/audit.md)

  • States, Records, Private stays private: no screens or records change here
  • Keep and leave: the backup check is new
  • Memory and speed: the cleanup check is new
  • Keyboard, Words, Missing pieces: no screens change

🤖 Generated with Claude Code

SoryAK and others added 2 commits November 28, 2026 16:11
…s, loading and failing; the backup must carry every table or say why not; and what a screen opens, it closes.

docs/audit.md sets out the rules. The pull request template, CONTRIBUTING, ci.md,
release.md and the UI design issue point to them. Two run in the merge gate:
server/portability-coverage.test.ts and core/web-cleanup.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rs each once, and shows nothing with nothing behind it; a nudge sits by what it's about.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4e144aeb-ea00-4ab6-8948-db8a6792632a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

SoryAK and others added 2 commits December 3, 2026 22:19
…tates, what each screen showed, and what was fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SoryAK
SoryAK merged commit b749895 into main Dec 5, 2026
3 checks passed
@SoryAK
SoryAK deleted the docs/audit-rules branch December 5, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant