Skip to content

docs: audit README, comments, and dead setup files - #57

Merged
kixelated merged 6 commits into
mainfrom
quest/m1/audit-docs
Nov 26, 2026
Merged

kixelated merged 6 commits into
mainfrom
quest/m1/audit-docs

Conversation

@kixelated

@kixelated kixelated commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The first docs audit run (quest audit docs, base 6a3af10). The Tauri, staging, and infra/ removals left stale docs and dead files behind:

  • README called the app layer "closed-source", but the repo is public and dual-licensed.
  • README said @moq/* comes from npm (it comes from the moq/ submodule) and that just dev works without Nix with only bun and just. It also needs moq-relay, moq, quest, and Playwright Chromium, which only the dev shell provides.
  • README had a "This migration pins MoQ…" section that duplicated Getting Started.
  • setup-windows.sh installed bun, just, and 1password-cli only. The Nix shell has no Windows support and Hang is web-only, so the script could never give a working setup.
  • app/.env.staging pointed at hang.now. Nothing has built in staging mode since Remove obsolete hang.now staging deployment #31.
  • just prod ran a prod script that no package defines (error: Script "prod" not found).
  • In app/src/api.ts, the loginStart comment named a callback() that the challenge/code login (fix(auth)!: harden OAuth, JWT auth, avatar uploads, and chat sanitization #44) replaced with loginComplete().

Approach

  • Rewrote the README's facts only. It now points at flake.nix for tools and just --list for the remaining recipes instead of repeating them, so the next removal can't leave it stale. It also adds moq/ and quest/ to the structure, ports to the just dev list, and moq.pro as the production relay.
  • Deleted setup-windows.sh, app/.env.staging, and the just prod recipe. Gave just deploy a description.
  • Fixed the loginStart comment and updated the Vite config URL to vite.dev, which vitejs.dev redirects to.
  • Next run: deleted quest/m1/audit-docs.md and added quest/m2/audit-docs.md, which requires m1, is scheduled 2026-12-02, and has baseline 6a3af10.

Checked with no change needed:

  • Every external URL in README, code, and config answers a browser GET with 200. The exceptions are cdn.moq.dev, api.hang.live, and public.hang.live, which are API origins whose root returns 404, as expected. The Discord invite is valid per Discord's API.
  • Every local link resolves.
  • CONTRIBUTING's commands and claims match flake.nix, justfile, and .claude/settings.json. CONTRIBUTING, AGENTS, and REVIEW are left to the instructions audit.
  • about.tsx matches. privacy.tsx is accurate in what it states; see follow-ups for what it omits.

Choices made without asking:

  • Deleted setup-windows.sh instead of fixing it, since m1 decided Hang is web-only and the dev shell has no Windows support.
  • Planned the export doc comments (173 of 232 exports in app/src and api/src have none) as a follow-up instead of writing them here. They touch the same files as the five parallel m1 audits and room-token-identity.

Impact

Docs, a dead recipe, and dead files only. No public API or wire impact. just prod is gone, but it never worked.

Follow-ups

  • quest/m1/export-docs.md [M]: document the 173 exports and gate new ones with a small Bun script in just check. The decision is answered in its Plan: use the script rather than eslint-plugin-jsdoc.
  • quest/m1/privacy-policy.md [XS]: the policy doesn't mention the moq.pro relays (media, names, and avatars), Hugging Face (Kokoro TTS model download), or Cloudflare, nor that browser speech may send names to a remote voice, and it says logout clears preferences, which it doesn't. It waits on the maintainer: legal copy is theirs to write, so the quest lists only what to cover.

Validation

Models

Size: M
Implementer: Claude Code, claude-opus-5-5, high
Implementer: Claude Code, claude-opus-5-5, medium effort (iterate, XS)

🤖 Generated with Claude Code

(Written by Claude Opus 5.5 with medium)

Review

Rewritten by quest review after each round.

  • Head: 1419c25

  • Base: origin/main at 2b42a80

  • Risk: medium, the base has no RISK.md to name what is always high or customer-facing, so every change is medium

  • Classified: medium by default

  • Reviewer: Codex, gpt-6.2-sol, high effort

  • Session: 01a21957-b716-7040-b1b0-e0333a5d8819, round 2

  • Score: 10/10, The README now documents the Nix features required by `just install`, and the privacy checklist updates introduce no new findings.

  • Rounds: 2; first round 1 (medium 1); findings 1 (medium 1): fixed 1, refuted 0, open 0

  • Findings: none

  • The last round's findings, at f08ea14:

    • Fixed: medium, README.md:29: Document the Nix features required by `just install`; README.md:29 now tells contributors to enable `nix-command` and `flakes` before setup, satisfying the requirements of the plain `nix build` invocation in moq/js/libav/build.ts:16.

kixelated and others added 2 commits November 25, 2026 22:47
Quest-Claim: fa0bd103300e7dac
Fix stale README claims (closed-source, npm packages, Nix-optional dev),
point it at flake.nix and `just --list` instead of repeating them, and
delete the dead Windows setup script, staging env file, and broken
`just prod` recipe. Plan follow-ups for export doc comments and the
privacy policy, and schedule the next docs audit in m2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Audit the docs docs: audit README, comments, and dead setup files Nov 26, 2026
…wnload

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

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: de6b7872-7362-41e0-93f3-199737ce7f8f
Commits

Reviewing files that changed from the base of the PR and between 2b42a80 and 1419c25.

Files selected for processing: 10

  • README.md
  • app/.env.staging
  • app/src/api.ts
  • app/vite.config.ts
  • justfile
  • quest/m1/audit-docs.md
  • quest/m1/export-docs.md
  • quest/m1/privacy-policy.md
  • quest/m2/audit-docs.md
  • setup-windows.sh
  • 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

@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (via /quest-run): ✅ /quest-merge this PR (rejected: iterate, skip).

Follow-ups: quest/m1/export-docs.md ✅ keep (rejected: drop); quest/m1/privacy-policy.md ✅ keep as the maintainer's wait (rejected: drop).

(Written by Claude Opus 5.5)

@kixelated
kixelated merged commit c3af25a into main Nov 26, 2026
3 checks passed
@kixelated
kixelated deleted the quest/m1/audit-docs branch November 26, 2026 20:17
kixelated added a commit that referenced this pull request Nov 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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