Skip to content

docs: Notion accuracy sweep (no version bump)#62

Merged
brian-a-au merged 1 commit into
mainfrom
docs-notion-accuracy-sweep
Jun 22, 2026
Merged

docs: Notion accuracy sweep (no version bump)#62
brian-a-au merged 1 commit into
mainfrom
docs-notion-accuracy-sweep

Conversation

@brian-a-au

Copy link
Copy Markdown
Owner

Documentation accuracy sweep for the Notion integration. No version bump, no code changes.

I cross-checked every Notion doc against the code for v1.18.0 through v1.21.0. The flags, env vars, and lifted constraints (watch plus Notion, parallel batch plus Notion, one-command database creation) were already correct across README, CLI_REFERENCE, OUTPUT_FORMATS, CONFIGURATION, NOTION_SETUP, and AGENTS. I found and fixed three accuracy issues.

Fixes

  1. SNAPSHOT_DIFF.md stated a stale constraint. The --watch summary said --format is rejected with --watch. The code (watch.py:153) allows --format json and --format notion and rejects only other format values. This went stale when watch plus Notion support landed in v1.20.0. The bullet now states the real rule.

  2. LOGGING_STYLE.md was missing two emitted events. The code emits notion_repair_error (ERROR) and notion_repair_failed (WARNING) at notion_repair.py:43,47, but neither was documented. The create section already documents its notion_create_failed counterpart, so this was a gap. Both are now in the repair events section and in the v1.20.0 row of the introduced table. I confirmed with git log -S that both shipped in v1.20.0 (commit 4d47e13).

  3. LOGGING_STYLE.md had a wrong file path. The create-database section pointed to cli/commands/notion_create_database.py. The handler is cli/commands/notion_create.py. Fixed.

Verification

The 101 tests under tests/core/test_logging_vocabulary.py and tests/docs/ pass. No test parses these markdown files for content. The vocabulary meta-test does not scan the Notion modules, so the added events did not need registering there.

Cross-checked the Notion docs against the code for v1.18.0 through v1.21.0
and fixed three accuracy issues. Docs only, no version bump.

- SNAPSHOT_DIFF.md: the --watch summary claimed --format is rejected with
  --watch. The code allows --format json and --format notion and rejects
  only other format values. This went stale when watch plus Notion support
  landed in v1.20.0. Corrected to state the real rule.
- LOGGING_STYLE.md: added notion_repair_error (ERROR) and
  notion_repair_failed (WARNING). Both are emitted by notion_repair.py but
  were undocumented. Added them to the repair events section and to the
  v1.20.0 row of the introduced table (confirmed via git that both shipped
  in v1.20.0).
- LOGGING_STYLE.md: fixed the create-database event source path from
  cli/commands/notion_create_database.py to cli/commands/notion_create.py.

Claude-Session: https://claude.ai/code/session_018dxwAxuNy43dbN4pEvKsne
@brian-a-au brian-a-au merged commit d0ea086 into main Jun 22, 2026
13 checks passed
@brian-a-au brian-a-au deleted the docs-notion-accuracy-sweep branch June 22, 2026 02:36
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