Skip to content

fix(browser): guard unresolved context before persistent state and artifacts - #50

Merged
lidge-jun merged 2 commits into
devfrom
fix/context-boundary-hardening
Sep 22, 2026
Merged

lidge-jun merged 2 commits into
devfrom
fix/context-boundary-hardening

Conversation

@lidge-jun

Copy link
Copy Markdown
Owner

Follow up the already merged #48 browser-routing API without replacing its per-call MCP account/host support or browserContext/browse.context contracts.

Independent review found three remaining boundaries: an inherited host was treated as local for artifacts; incomplete identities could reuse shared cache/approval/journal state; and install/enable commands could mutate settings before rejecting unknown arguments. This patch requires explicit local host for local materialization, disables reusable state for incomplete contexts, validates administrative modes before side effects, and rejects flag-shaped/control-character host values.

Validation: 1,097 passed, 0 failed, 1 platform skip in the combined suite; 78 focused tests; structure/syntax/machine-identity guards passed. Independent adaptation reviewer passed with 11 focused tests. Existing persistence tests keep their assertions and now supply explicit identities. No dependencies, version bump, release or global Aside defaults change.

Supersedes only the additional hardening portion of closed #47; #48 remains the canonical routing implementation. Targets dev as requested.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 22, 2026 •

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 ✅ Completed 2026-09-22T09:17:25.964697Z 778fc15 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.

@lidge-jun
lidge-jun merged commit 960edc7 into dev Sep 22, 2026
10 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