Skip to content

docs: phase 14 audit cluster C (operator-facing docs vs code drift)#310

Merged
ozzy-3 merged 1 commit into
mainfrom
docs/phase-14-audit-cluster-c-operator-docs-drift
May 31, 2026
Merged

docs: phase 14 audit cluster C (operator-facing docs vs code drift)#310
ozzy-3 merged 1 commit into
mainfrom
docs/phase-14-audit-cluster-c-operator-docs-drift

Conversation

@ozzy-3
Copy link
Copy Markdown
Contributor

@ozzy-3 ozzy-3 commented May 31, 2026

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.toml snippets stop landing on silently-ignored configuration.

  • D1/D2docs/repository-structure.md L284/L291 referenced
    fictitious class names (OpshubGoogleMailSettings /
    OpshubGoogleCalendarSettings) and env prefixes
    (OPSHUB_OFFICE_GMAIL_ / OPSHUB_OFFICE_GCAL_). The real classes are
    GoogleMailConnectorSettings / GoogleCalendarConnectorSettings
    (src/opshub/core/config.py:637,576) and the real env prefixes are
    OPSHUB_CONNECTORS__GOOGLE_MAIL__ / OPSHUB_CONNECTORS__GOOGLE_CALENDAR__.
  • D3[connectors.google_calendar] fallback_window_days = 30 is a
    silent-ignore field; Calendar uses time_min_days + time_max_days for
    the 410 GONE window walk. Removed from both setup docs.
  • D4[connectors.google_mail] # max_body_chars and
    # max_messages_per_pass comment-out lines pointed at silently-ignored
    fields (Phase 14 plan OQ10 rejected per-connector overrides; the cap is
    the module-level MAX_GMAIL_BODY_CHARS constant in mapper.py).
  • D5initial_window_days is 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.
  • D6 — rewrote the two Google Mail / Calendar settings.py lines in
    docs/repository-structure.md in the same "re-export shim" wording the
    Drive entry on L277 already uses, so the three Google connector entries
    read consistently.

Test plan

  • markdownlint — no new lint errors (pre-existing errors on main, not
    in changed lines)
  • Operator copy-pastes [connectors.google_mail] / [connectors.google_calendar]
    blocks from either docs/upgrading.md or docs/google-workspace-setup.md
    into opshub.toml and opshub connector sync succeeds without
    silent-ignore.

🤖 Generated with Claude Code

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 ozzy-3 merged commit bfefa82 into main May 31, 2026
3 checks passed
@ozzy-3 ozzy-3 deleted the docs/phase-14-audit-cluster-c-operator-docs-drift branch May 31, 2026 17:19
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>
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.

Phase 14 audit cluster C: operator-facing docs vs code drift (silent ignore)

1 participant