Skip to content

docs: weekly review 2026-06-25#8

Open
vasylenko wants to merge 1 commit into
mainfrom
docs/weekly-review-2026-06-25
Open

docs: weekly review 2026-06-25#8
vasylenko wants to merge 1 commit into
mainfrom
docs/weekly-review-2026-06-25

Conversation

@vasylenko

Copy link
Copy Markdown
Owner

Summary

Weekly documentation review for vigil. Inventoried user-facing docs (website/index.html, website/privacy.html, website/support.html) and maintainer-facing docs (README.md, ARCHITECTURE.md, PRD.md, CLAUDE.md), then cross-checked every factual claim against the current codebase (SleepManager.swift, MenuBarView.swift, VigilApp.swift, PrivacyInfo.xcprivacy, Localizable.xcstrings, project.pbxproj, CI workflow). Found one factual inaccuracy in the privacy policy and fixed it; everything else checked out.

Changes

  • website/privacy.html — Local Storage section incorrectly claimed the "launch-at-login setting" is stored in macOS UserDefaults alongside sleep mode and last-active-state. In the actual code, launch-at-login is managed entirely through SMAppService (the ServiceManagement framework / OS login-item system) — see MenuBarView.swift (launchAtLogin state synced from SMAppService.mainApp.status, toggled via register()/unregister()). SleepManager.swift's DefaultsKey enum only has three keys (rememberLastState, sleepMode, wasActiveAtQuit) and none relate to login items. ARCHITECTURE.md's own UserDefaults Keys table already reflects this correctly, so this was a cross-document consistency gap as well as a factual error. Split the sentence to accurately attribute each piece of stored state to its actual storage mechanism.

No Issues Found

  • Reference AccuracyCLAUDE.md's Project Structure tree (app/Vigil.xcodeproj/, app/Vigil/, app/VigilTests/) matches the actual directory layout. Entry point (AppLauncher in VigilApp.swift), menu bar SF Symbol (light.beacon.max.fill), and MenuBarExtra(.window) style all match code exactly.
  • Configuration OptionsPrivacyInfo.xcprivacy declares only NSPrivacyAccessedAPICategoryUserDefaults (reason CA92.1), matching CLAUDE.md/ARCHITECTURE.md. Localizable.xcstrings has source language en plus de, es, hi, uk, zh-Hans — matches the Localization section's language list exactly.
  • Feature Behavior Descriptions — Sleep mode behavior table in README.md (Display & System vs System Only, display/system sleep blocked/allowed) matches SleepManager.swift's SleepMode assertion types. ARCHITECTURE.md's Assertion Behavior Matrix and Error Handling table are consistent with the implementation.
  • Installation and Setup — Build/test/run xcodebuild commands in CLAUDE.md and the verify command (pmset -g assertions | grep Vigil) are accurate and reproducible against the current Xcode project.
  • Architecture Spec — Deployment target: project-level default in project.pbxproj is a generic Xcode-generated value, but the target-level setting (the one that actually applies to the Vigil app/test targets) is 15.6, matching all docs. ARCHITECTURE.md's Key Technical Constraints table (sandbox, LSUIElement, MainActor isolation, Bundle ID, PRODUCT_NAME) matches the project settings and CLAUDE.md.
  • Cross-Document Consistency — Platform/OS version ("macOS 15.6 Sequoia+, Apple Silicon & Intel") is stated identically across README.md, CLAUDE.md, and website/index.html. Two-mode behavior description is consistent across README.md, ARCHITECTURE.md, and website/index.html. (The one inconsistency found — privacy.html vs. ARCHITECTURE.md on launch-at-login storage — is the fix above.)

Generated by Claude Code

…cy policy

privacy.html stated the launch-at-login setting is stored via UserDefaults,
but SleepManager's DefaultsKey enum has no such key — it's managed entirely
through SMAppService (ServiceManagement framework / OS login-item system).
ARCHITECTURE.md's UserDefaults Keys table already reflects this correctly
(rememberLastState, wasActiveAtQuit, sleepMode only); privacy.html did not.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vigil Ready Ready Preview, Comment Jun 25, 2026 12:19am

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.

2 participants