Skip to content

Config: pin the automatic browser-access default - #302

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
chore/auth-config-docs-polish
Nov 1, 2026
Merged

Coding-Dev-Tools merged 1 commit into
mainfrom
chore/auth-config-docs-polish

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Why

Three small gaps left after the automatic browser-access change:

  • The security-relevant default had no direct configuration test; only behavior tests that monkeypatch the attribute.
  • ENGRAPHIS_DASHBOARD_URL's row did not mention that its host now also authorizes automatic browser sessions.
  • The Playwright config comment still described the removed URL-token sign-in.

What changed

  • test_browser_auto_session_defaults_on_and_can_be_hardened: asserts the default is on, that 0/false/off/no harden it, and that a malformed value keeps the documented default instead of flipping the access posture.
  • docs/CONFIGURATION.md: the ENGRAPHIS_DASHBOARD_URL host is accepted by the /mcp guard, automatic dashboard browser access, and the token-free API.
  • playwright.config.js: comment now says token-protected API routes with automatic browser access (the fixture token itself is unchanged and still not an owner credential).

Verification

  • python -m pytest tests/test_config.py -q (passes)
  • ruff check tests/test_config.py
  • Net diff is 17 insertions / 3 deletions; no line-ending churn.

Guard the security-relevant ENGRAPHIS_BROWSER_AUTO_SESSION default (on) and its
off switches, including the malformed-value fallback. The configuration and
Playwright comments now describe the shipped behavior: token-protected API
routes, automatic browser access.
@Coding-Dev-Tools
Coding-Dev-Tools deleted the chore/auth-config-docs-polish branch November 1, 2026 09:08
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-01T08:41:29.596264Z
We couldn’t complete this review. Comment @codex review to try again.
e79417f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Coding-Dev-Tools
Coding-Dev-Tools merged commit 308f509 into main Nov 1, 2026
29 checks passed
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