Repository navigation
fix(authenticated-web-extraction): leave Reddit reading to the user - #60
Merged
Merged
Conversation
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>
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.
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-readeris user-invocable and hidden from the subagentlist (
disable-model-invocation: true). It skips the sharedlifecycle and the session-start note, is told never to open
auth-state/, and puts no links or images in its summary.reddit-readonly points the user to a new chatwith 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 correctsthe claims of 6.1.0.
reddit-readrefuses unless the harness passesheadless: false.tests/AuthenticatedWebExtraction.Tests.ps1holdseven 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 toolreaches
auth-state/. Nothing ran live. After upgrading, copytasks\reddit-read.mjs,scripts\extract.mjsandtasks\dump-cookies.mjsinto%LOCALAPPDATA%\CareerAuthBrowser, anddelete
auth-extract.prompt.mdor keepreddit-readout 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