Repository navigation
Conversation
Owner
Author
|
Closing: reading Outlook mail is out of scope for lighthouse-cli, and other connectors already cover mail. The underlying goal was a Lighthouse login that doesn't need the password and MFA re-entered every ~5 days. This draft deliberately saves no session, so it doesn't serve that goal. That work continues in a separate PR. The branch stays for reference. |
This was referenced Oct 14, 2026
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.
Summary
Publish independently reviewable improvements: safer Microsoft authentication diagnostics, an experimental content-free Outlook capability probe, and an explicitly opted-in bounded reader for one manually selected already-read email.
This is intentionally a draft. A standalone manual fresh sign-in and Python baseline capture succeeded with system Chromium through an external executable-only launch override. Successful standalone body extraction and the stock pinned-browser launch remain unverified.
Changes
Authentication diagnostics (
bf649c1): consolidate fixed recovery advice and distinguish consent/admin approval/access-policy failures from incorrect credentials. Authentication, MFA, permissions and credential persistence behavior are unchanged. Isolate one credential-store test from the system keyring; the secret baseline changes only two existing line numbers.Metadata-only Outlook probe (
4609767): addlighthouse outlook probe --interactive-loginusing a fresh temporary browser. Inspect mounted-row positions and read states without collecting message labels, previews or text. Search is explicitly rejected before launching a browser.Selected-message reader (
54bbb01): addlighthouse outlook read-selected --interactive-loginfor one user-selected message already read and present in a clean baseline. Bound subject/sender/body output, reject ambiguous or changed layouts, repeat selection/content checks, suppress known sensitive patterns, and preserve the JSON-only stdout contract.Compose guard and safe diagnostics (
d260c46): stop selected reads when the current page exposes a matching English Send button, including disabled controls; report only fixed, allowlisted layout-stage labels. Add regression tests and explain the current-page scope, separate-window exclusion, conservative false positives, and remaining validation gaps.The Outlook features never import an existing signed-in browser, export cookies/tokens, or save a persistent browser profile. They do not click mail rows, send/reply, change read state, move/delete mail, or download attachments. Tests use synthetic fixtures only; no real mail, credentials, browser storage or screenshots are included.
Experimental limitations
unsupported_layout, returned no message content, and closed the browser. The failing stage was not established.See probe documentation and selected-message documentation.
Validation
Final local validation of the incremental hardening:
git diff --check: passedGitHub CI run #51 is green for updated head
d260c461335846f8aa3cf4a6ecbfe76a608a371f: Python 3.10 and 3.13 full-suite jobs, lint/types/architecture/dependency/complexity checks, repository policy tests, and both history-wide gitleaks and working-tree secret scans passed. The draft-only auto-review workflow was skipped as configured.Reviewer checklist