Skip to content

v1.93.25.0 docs: /setup-browser-cookies warns about the eMudhra trust gap (#3338) - #3871

Merged
capy-ai[bot] merged 4 commits into
mainfrom
garrytan/gsta-84-cookie-import-trust-note
Nov 2, 2026
Merged

capy-ai[bot] merged 4 commits into
mainfrom
garrytan/gsta-84-cookie-import-trust-note

Conversation

@garrytan

@garrytan garrytan commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3871,
  "head": "0aa93fa92720f0c8c20e5f6908f17165101bf36f",
  "version": "1.92.81.0",
  "base": "main",
  "gate": {
    "focused": {
      "pass": 56,
      "fail": 0,
      "skip": 0
    },
    "tests": {
      "pass": 18641,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "head_tree": "ad1eb4294ccd8b786e01b1fb1ae0ec3d12f7beec",
  "product_patch_id": "c0d753bc59548aba333b74b61cc476feadf01e69",
  "gstack_version": "1.92.81.0",
  "review_depth": {
    "depth": "full",
    "class": "code",
    "runtime_lines": 2,
    "rules": "b2272efd321ce7cb",
    "base": "1022f4fc51a4771e3838ce6bbf7c19b7e94e67fe",
    "registry": "1022f4fc51a4771e3838ce6bbf7c19b7e94e67fe",
    "gate_scan": {
      "tagged": 0,
      "head": "0aa93fa92720f0c8c20e5f6908f17165101bf36f"
    },
    "reasons": [
      "risk:data",
      "runtime=2"
    ],
    "risk": [
      "data"
    ]
  },
  "pregate": "requires-remote cleared @ad1eb4294ccd (1 checks, current for 0aa93fa92720)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/41465851444/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/41465851514/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=ad1eb4294ccd tests=18641 receipt=/home/user/.capy/work/gsta84/remote-receipt3.txt sha256=c5e250a3d932"
  ],
  "issues": {
    "fixes": [],
    "refs": [
      3338
    ],
    "flakes": []
  },
  "docs": {
    "status": "blocked",
    "scope": "README.md, BROWSER.md, ARCHITECTURE.md, docs/, setup-browser-cookies/SKILL.md.tmpl (audit at d6f5ed9; stale after 0aa93fa)",
    "exception": {
      "accepted_by": "GStack Minder",
      "date": "2026-11-02",
      "via": "GSTA-84 thread, Captain message 2026-11-02",
      "reason": "Captain accepts the named documentation risk. The audit at d6f5ed9 is current. 0aa93fa only deletes the #3338 link from the setup-browser-cookies trust paragraph and its fixture constant, and no other doc content changed."
    }
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 2,
    "deferred": 0,
    "noted": 3,
    "fixed": 1,
    "scope": "frozen",
    "fix_checks": 1,
    "rounds": 3,
    "unrecorded": 1,
    "ledgers_read": 3,
    "dispatches": {
      "specialist": 2,
      "red-team": 1
    }
  },
  "review_loop_exception": {
    "accepted_by": "GStack Minder",
    "date": "2026-11-02",
    "via": "GSTA-84 thread, Captain message 2026-11-02",
    "reason": "#3871: A. One fix-check reader on the single changed hunk at 0aa93fa, then the receipt, queue ready and READY, inside the $10 cap. Nothing the reader finds starts another round.",
    "fix_check": {
      "head": "0aa93fa92720f0c8c20e5f6908f17165101bf36f",
      "findings": 0,
      "files": [
        "setup-browser-cookies/SKILL.md.tmpl",
        "setup-browser-cookies/SKILL.md",
        "test/helpers/manual-judge-review-fixture.ts"
      ]
    }
  }
}

What changed

Step 3 now tells the user, before the import, that gstack's headless browser still trusts the compromised eMudhra intermediates (#3338) and points to BROWSER.md

Step 3 now tells the user, before the import, that gstack's headless browser still trusts the compromised eMudhra intermediates (#3338) and points to BROWSER.md.

Before/after as text: Step 3 now tells the user, before the import, that gstack's headless browser still trusts the compromised eMudhra intermediates (#3338) and points to BROWSER.md
--- Before · setup-browser-cookies/SKILL.md.tmpl § 3. Prepare gstack's browser at 1022f4f · source text
+++ After · setup-browser-cookies/SKILL.md.tmpl § 3. Prepare gstack's browser on this branch · source text
@@ ⋯ 6 unchanged ⋯ @@
 ```bash
 $B goto "<url>"
 ```
+
+Tell the user once, before the import: gstack's headless browser trusts the root store built into gstack's bundled Chromium, which still accepts certificates from the compromised eMudhra intermediates ([#3338](https://github.com/garrytan/gstack/issues/3338)). Until gstack moves to a Playwright release that drops them, don't use the imported sessions on a network the user does not trust. That same root's `BROWSER.md`, **TLS trust: the bundled Chromium's root store**, has the details and the check.

Why

#3338 asked for a warning "in the browse docs (BROWSER.md and the cookie-import docs)". #3403 added the BROWSER.md section, but the cookie import skill, the one flow that puts signed-in sessions into the bundled Chromium, never mentioned it. Now the agent tells the user once before importing, and points to the BROWSER.md section that has the details and the check.

Blast radius

The change adds one paragraph to the skill text and its generated SKILL.md. It also adds an exact-string reversal to test/helpers/manual-judge-review-fixture.ts, so the historical cookie-workflow approval still rebuilds byte for byte. Without the reversal, test/cookie-workflow-manual-review.test.ts fails 27 of 27. With it, all 27 pass. A one-word change to the paragraph fails all 27 again, so the reversal can't hide any other edit (script ran).

Approvals

Date Asked Exact words Outcome Covers Still pending
2026-10-24 #3338 mitigation: bump Playwright once its Chromium carries the eMudhra root removal, add a doc warning now, no hostname denylist “Do it” (Garry (via GStack Minder)) approved doc warnings in BROWSER.md and the cookie-import docs now; Playwright bump later; no denylist none
2026-11-02 Ship the cookie-import docs follow-up (setup-browser-cookies/SKILL.md.tmpl paragraph pointing to BROWSER.md #3338) as its own PR “Do it: the small cookie-import docs follow-up (one paragraph in setup-browser-cookies/SKILL.md.tmpl pointing to BROWSER.md#3338, regenerate the docs, parity and size guards, one reviewer and one round). Cap $10. Ship it as its own PR now, not with PR 2.” (GStack Minder) approved one paragraph in setup-browser-cookies/SKILL.md.tmpl, regenerate, guards, one reviewer and one round, cap $10 none

Source: gstack-approvals record for garrytan/gsta-84-cookie-import-trust-note (display only; not an approval citation).

Summary

/setup-browser-cookies now warns about the eMudhra trust gap, matching the warning BROWSER.md has carried since v1.91.239.0. The warning is advisory, like the BROWSER.md one. GSTA-84's planned Playwright bump (the first stable release whose Chromium is 158.0.8115.0 or later) removes both warnings.

Test Coverage

Coverage: deterministic (each of 2 changed runtime files has a changed test naming it; no audit reader).
Tests ran: focused 56
Tests ran: tests (remote free tier, pregate) 18641 (tree ad1eb42)

Pre-Landing Review

Pass 1 ran at full depth, because the planner classes the cookie skill as a data path. The batched specialist and Red Team found nothing blocking. I applied one wording fix ("this browser" became "gstack's headless browser", since headed mode gets CRLSet updates after launch), and the fix-check came back clean. The native adversarial pass raised three Low / Blocks: no notes. The outside voice (openai/gpt-6.1-sol) found nothing actionable.

REVIEW_LOOP: passes=2 blocking_found=2 deferred=0 noted=3 fixed=1 scope=frozen unrecorded=1 ledgers_read=3 fix_checks=1 dispatches=3

blocking_found and unrecorded count adversarial-native#2, "nothing removes the warning when the gap closes". The collector labels every FIXABLE item CRITICAL, but the reviewer stated Low / Blocks: no, and the item meets none of the floor conditions: no failing test, no production break, no data loss. I stopped here because R51 allows two review rounds. The note is recorded as noted. The ledger line has no path:line, so the summary can't pair it with that row and still reports it as unrecorded. The planned Playwright bump closes it.

After review, CI's free-suite (10) failed test/archaeology-lint.test.ts, which bans issue numbers in skill text the model reads. I deleted the paragraph's #3338 link at 0aa93fa; BROWSER.md still carries the link. That edit came after round 2, so GStack Minder granted one scoped fix-check on the changed hunk, and it found nothing. The remote pregate never selected archaeology-lint for this skill-template edit. GSTA-253 filed that selection gap as GST-1006.

Review-loop exception: accepted by GStack Minder 2026-11-02 via GSTA-84 thread, Captain message 2026-11-02: #3871: A. One fix-check reader on the single changed hunk at 0aa93fa, then the receipt, queue ready and READY, inside the $10 cap. Nothing the reader finds starts another round. (fix-check at 0aa93fa, 0 findings)

Gate edits: none detected (1 listed, 0 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

Exploratory QA

Smoke probes on the generated SKILL.md at 0a35685, all passing (the 0aa93fa link removal leaves every probed position unchanged):

  • The paragraph sits between step 3's $B goto and ## 4. Import.
  • The cited BROWSER.md heading exists.
  • The Aside READY and Mode: cdp exits both come before the warning, so the warning only appears on the fallback path.
  • gen:skill-docs --dry-run reports 0 stale files.

Design Review

No frontend files changed, so design review was skipped.

Eval Results

Selected: the setup-browser-cookies/SKILL.md workflow quality judge. It ran locally (local eval:bg:pr run, tested 0a35685): 1 executed, 0 reused. It passed on 3 samples, with median clarity 4, completeness 4 and actionability 4. It ran again at 0aa93fa after the link removal (a second local eval:bg:pr run) and passed.

Issues

Refs #3338

TODOS

No TODO items completed in this PR.

Documentation

Status: blocked (stale). The Step 14.5 audit returned current at d6f5ed9, covering README.md, BROWSER.md, ARCHITECTURE.md, docs/ and setup-browser-cookies/SKILL.md.tmpl. 0aa93fa then changed the skill template, and no audit attempt was left.

Documentation exception: accepted by GStack Minder 2026-11-02 via GSTA-84 thread, Captain message 2026-11-02: Captain accepts the named documentation risk. The audit at d6f5ed9 is current. 0aa93fa only deletes the #3338 link from the setup-browser-cookies trust paragraph and its fixture constant, and no other doc content changed.

Test plan

  • bun test test/cookie-workflow-manual-review.test.ts test/cookie-workflow-judge-input.test.ts test/skill-md-size-guard.test.ts test/parity-suite.test.ts: 56 pass, 0 fail at 0aa93fa
  • bun test test/archaeology-lint.test.ts: pass at 0aa93fa
  • Remote free tier (gstack-pregate --stage tests --remote): 18,641 tests, 0 failed at tree ad1eb42
  • PR CI at 0aa93fa: 27 passed, 0 failed
  • Cookie workflow judge: pass (median 4/4/4)

garrytan and others added 2 commits November 2, 2026 14:16
…sts the eMudhra intermediates (#3338)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

E2E Evals: ✅ PASS

[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 0/0 · behavior 0/0 · judge 1/1 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 0m10s · cost $0.06

1 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $.06 rule/judge cost | reconcile exit: 0

Profile: pr / mode pr; selected behaviors: 0, judges: 1. Deferred to scheduled/release coverage: 11 behaviors and 0 changed prompt files. Deferred checks did not run and receive no PR-pass credit.

Rule and judge shards
Shard Automated result Manual/unscored Executed Reused Status Cost
llm-judge/skill-llm-eval 1/1 0 1 0 ✅ $0.06
Fail-closed reconciliation
[test:paid] report: 1/1 slices, 1 planned shards, tier=gate, attempt 1
[test:paid] coverage: profile=pr mode=pr; selected E2E=0, judges=1
[test:paid] deferred: 11 broad behaviors, 0 changed prompts without quick live coverage; these are not PR passes
  slice 1  passed              4s  test/skill-llm-eval.test.ts
[test:paid] collector final outcomes: 1 executed, 0 reused; 1 passed, 0 failed, 0 manual accepted (unscored; no score-cache credit) (1 attempt records from 1 collectors; every record counts)
[test:paid] deselected testcases, zero credit (23):
[test:paid]     23  outside the run's case selection
[test:paid] VERDICT GREEN — lane gate/pr, attempt 1
  rule 0/0 · behavior 0/0 · judge 1/1 · quarantined 0 (0 failing the lane)
  SKIPPED 0 · INFRA 0 · INCOMPLETE 0 · unattributed 0 · ACTION REQUIRED 0
  wall 0m10s · cost $0.06
[test:paid] exercised-path map (shadow, non-blocking): 0 MAP_GAP line(s) over 0 executed case(s) with recorded commands
[test:paid] report: every planned shard accounted and passed

Sliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry.

Dispatched narrow screen (gstack-ship-queue ready --screen) of merge commit 8c4f849f364d02d229e813d105a73889dd3f8fe0.

@github-actions github-actions Bot changed the title docs: /setup-browser-cookies warns about the eMudhra trust gap (#3338) v1.93.25.0 docs: /setup-browser-cookies warns about the eMudhra trust gap (#3338) Nov 2, 2026
@capy-ai
capy-ai Bot merged commit ffc8c13 into main Nov 2, 2026
45 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