Skip to content

fix(authenticated-web-extraction): leave Reddit reading to the user - #60

Merged
raandree merged 5 commits into
mainfrom
ai/reddit-quarantine
Nov 14, 2026
Merged

raandree merged 5 commits into
mainfrom
ai/reddit-quarantine

Conversation

@raandree

Copy link
Copy Markdown
Owner

Brief 16: signed-in Reddit text no longer reaches an agent that can
act. It settles the two Majors that the re-review of #53 found. Option
1, decided under the owner's delegation: the user, not an agent, reads
the reader's summary.

  • quarantined-reader is user-invocable and hidden from the subagent
    list (disable-model-invocation: true). It skips the shared
    lifecycle and the session-start note, is told never to open
    auth-state/, and puts no links or images in its summary.
  • The agent that runs reddit-read only points the user to a new chat
    with the reader and declines to run it, even when the user asks. The
    Skill's general workflow no longer sends an agent into
    extracted/reddit/, and a Security entry in the CHANGELOG corrects
    the claims of 6.1.0.
  • reddit-read refuses unless the harness passes headless: false.
  • SHA-256 pins in tests/AuthenticatedWebExtraction.Tests.ps1 hold
    seven reviewed places; changing one needs a reviewed re-pin.

Validation: every new test failed first for its stated reason, and
every mutant of the three reviews is caught. The full gate before the
Memory Bank commit passed 5,878 tests, 0 failed, 145 skipped, coverage
91.54 %; the Node tests 62 of 62. Review: Request changes (1 Major,
4 Minor, 3 Nit), re-review Approve with changes, round 2 Approve; all
fixed.

Held by instructions only: a caller without an explicit agents:
list, such as VS Code's built-in Agent, or an agent-host agent that
holds agent, can still run the reader by name, and its file tool
reaches auth-state/. Nothing ran live. After upgrading, copy
tasks\reddit-read.mjs, scripts\extract.mjs and
tasks\dump-cookies.mjs into %LOCALAPPDATA%\CareerAuthBrowser, and
delete auth-extract.prompt.md or keep reddit-read out of it.

Rebased onto main unchanged: the tree is identical to the brief's
recorded tip.

Co-authored-by: AI Assistant ai@example.com
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

raandree and others added 5 commits November 14, 2026 20:11
The Skill still sent the agent that holds a shell, the web, and a browser
to the raw Reddit output, and the quarantined reader's summary came back
to that agent verbatim while the reader could read the plaintext cookies
in auth-state/ (RR03-01 and RR03-02 of the re-review of #53).

- Make quarantined-reader user-invocable and not model-invocable; the
  calling agent only runs reddit-read and points the user to a new chat.
- Scope the general workflow's read and copy steps away from reddit-read;
  the user, not an agent, checks a decision against the raw files.
- Drop the "no channel out", "breaks the lethal trifecta", and "never
  reaches" claims and name what remains.
- Exempt the reader from the reads of the shared lifecycle (RR03-03).
- Refuse reddit-read unless the harness passes headless: false, and pin
  the harness call with a test (RR03-04).

Co-authored-by: AI Assistant <ai@example.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- R16-01: state what disable-model-invocation does per host. VS Code
  1.146.0 local chat hides the reader but still runs it by name for a
  caller without an explicit agents: list, its built-in Agent included;
  the Copilot CLI refuses the call; the agent host passes infer: false,
  unverified. Step 4 tells the agent to decline to run the reader even
  when the user asks; a hook that denies the call stays open.
- R16-02: pin that the reader declares no infer and that every agent
  holding agent declares an explicit agents: list without * or the reader.
- R16-03: name the session-start note in the reader's exemption, word the
  exemption as an instruction, and list the injected lifecycle as a risk.
- R16-04: pin the SHA-256 of the reviewed Skill and README text, and
  extend the claim check to the CHANGELOG entry.
- R16-05: tell the user to delete auth-extract.prompt.md or to keep
  reddit-read out of it, and list it among the remaining limits.
- R16-06: assert that the browser launches the way the task is told.
- R16-07: require each negation next to the item it negates, and no
  exception in the exemption.
- R16-08: name scripts\extract.mjs in the upgrade line.

Co-authored-by: AI Assistant <ai@example.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…her Reddit lines

- R16-09: extend the SHA-256 pins to the reader's body below its
  frontmatter and to the Skill's Reddit lines of Existing Tasks, its
  Reddit rows of Failure Modes & Diagnosis, and its Companion Prompt
  section, so that a reworded or contradicting instruction there fails
  until a reviewer re-pins it.
- R16-10: limit the CLI claim to the Copilot CLI 1.0.73 that Copilot Chat
  bundles (1.0.96 was not inspected), and widen the remaining risk to any
  caller without an explicit agents: list and, in agent-host sessions, to
  any agent that holds agent while infer: false is unverified. Re-pin the
  Skill's Reddit section and the reader's README section.

Co-authored-by: AI Assistant <ai@example.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- N11: VS Code 1.146.0 names the subagent tool runSubagent, in the tool
  set agent, so an agent whose tools hold runSubagent now needs the same
  explicit agents: list without * and without quarantined-reader as one
  holding agent.
- Name tasks\dump-cookies.mjs in the upgrade line for an installation
  that predates Reddit reading, and in the CHANGELOG's upgrade note: an
  older dump-cookies.mjs writes cookie values into extracted\.

Co-authored-by: AI Assistant <ai@example.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Record brief 16 on ai/reddit-quarantine, stacked on brief 13's unmerged
branch and not pushed: the current focus, the residual of the re-review
of #53 with the owner's three follow-ups, the next step, a progress
milestone with the gate (5,878 passed, 0 failed on 3c7d541), and the
pattern that a subagent flag is not a refusal and that reviewed security
prose is pinned by SHA-256. The two oldest entries of each list are
curated to keep both files within their line budgets.

Co-authored-by: AI Assistant <ai@example.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@raandree
raandree merged commit a71f63f into main Nov 14, 2026
12 checks passed
@raandree
raandree deleted the ai/reddit-quarantine branch November 14, 2026 20:49
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