docs: phase 14 audit cluster C (operator-facing docs vs code drift)#310
Merged
Merged
Conversation
Fix 6 docs-vs-code drift items detected during the Phase 14 post-closeout audit so operators copy-pasting the `opshub.toml` snippets stop hitting silent-ignore fields: - D1/D2: align `docs/repository-structure.md` L284/L291 with the real class names (`GoogleMailConnectorSettings` / `GoogleCalendarConnectorSettings`) and env prefixes (`OPSHUB_CONNECTORS__GOOGLE_MAIL__` / `OPSHUB_CONNECTORS__GOOGLE_CALENDAR__`), listing the actual fields. - D3: drop the silent-ignore `fallback_window_days = 30` line from the `[connectors.google_calendar]` snippet in `docs/upgrading.md` and `docs/google-workspace-setup.md` (Calendar uses `time_min_days` + `time_max_days` for the 410 GONE window walk, not a separate field). - D4: drop the silent-ignore `max_body_chars` / `max_messages_per_pass` comment-out lines from the `[connectors.google_mail]` snippet in both docs (Phase 14 plan OQ10 rejected per-connector overrides; the cap is a module-level constant in `mapper.py`). - D5: add the real `# initial_window_days = 7` knob to the `[connectors.google_mail]` snippet in both docs. - D6: rewrite `docs/repository-structure.md` L284/L291 in the same "re-export shim" format already used by the Drive entry on L277 so the three Google connector settings rows read consistently. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ozzy-3
pushed a commit
that referenced
this pull request
May 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.2.6](v0.2.5...v0.2.6) (2026-05-31) ### Added * **connectors/google_calendar:** events api sync token + master event mapper + override + cursor + fallback (Phase 14 G4) ([#301](#301)) ([a4cefab](a4cefab)) * **connectors/google_mail:** gmail api history + message mapper + cursor + fallback ([#303](#303)) ([3c621c1](3c621c1)) ### Changed * **connectors/google_auth:** shared OAuth foundation + 3-scope expansion (Phase 14 G2) ([#300](#300)) ([bd74191](bd74191)) ### Documentation * **adr,plan:** adr-0010 + 0014 amendments + phase-14-plan (Gmail + Google Calendar) ([#298](#298)) ([f5d43c8](f5d43c8)) * phase 14 audit cluster B2 (Phase 14+ → 15+ unification + anchor links + outlook + mapper symmetry counts) ([#312](#312)) ([02667d7](02667d7)), closes [#307](#307) * phase 14 audit cluster C (operator-facing docs vs code drift) ([#310](#310)) ([bfefa82](bfefa82)) * phase 14 closeout (docs + e2e + status lines + phase-13 forecast realign) ([#304](#304)) ([ab0b792](ab0b792)) * **skills:** phase 14 audit cluster B1 (SKILL.md vocabulary 反映漏れ修正) ([#311](#311)) ([16504fc](16504fc)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #305
Summary
Phase 14 audit cluster C fixes 6 operator-facing docs vs code drift items
(silent-ignore fields and naming gaps) so operators copy-pasting the
opshub.tomlsnippets stop landing on silently-ignored configuration.docs/repository-structure.mdL284/L291 referencedfictitious class names (
OpshubGoogleMailSettings/OpshubGoogleCalendarSettings) and env prefixes(
OPSHUB_OFFICE_GMAIL_/OPSHUB_OFFICE_GCAL_). The real classes areGoogleMailConnectorSettings/GoogleCalendarConnectorSettings(
src/opshub/core/config.py:637,576) and the real env prefixes areOPSHUB_CONNECTORS__GOOGLE_MAIL__/OPSHUB_CONNECTORS__GOOGLE_CALENDAR__.[connectors.google_calendar] fallback_window_days = 30is asilent-ignore field; Calendar uses
time_min_days+time_max_daysforthe 410 GONE window walk. Removed from both setup docs.
[connectors.google_mail]# max_body_charsand# max_messages_per_passcomment-out lines pointed at silently-ignoredfields (Phase 14 plan OQ10 rejected per-connector overrides; the cap is
the module-level
MAX_GMAIL_BODY_CHARSconstant inmapper.py).initial_window_daysis a real field (core/config.py:698,default 7) but was undocumented. Added as a commented-out override line
to the Gmail snippet in both docs.
settings.pylines indocs/repository-structure.mdin the same "re-export shim" wording theDrive entry on L277 already uses, so the three Google connector entries
read consistently.
Test plan
in changed lines)
[connectors.google_mail]/[connectors.google_calendar]blocks from either
docs/upgrading.mdordocs/google-workspace-setup.mdinto
opshub.tomlandopshub connector syncsucceeds withoutsilent-ignore.
🤖 Generated with Claude Code