Answer security round 1: 0 🔴, 0 🟡 (0 misread); fetch cited pages over https only and check where redirects end
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -83,7 +83,7 @@ Give a reviewer without Bash `git ls-files`'s output in its prompt, since some h
|
||||
|
||||
**Cited sources.** Before the Prose pass launches in a round, find each sentence the diff adds or changes that names a web page as the source of its claim, such as a licence line that cites the publisher's licence page. In round 2, take only the sentences the round's fixes changed. Prose-reviewer has no web access, so without the page it marks such a claim ❓.
|
||||
|
||||
- **Fetch.** Fetch each page into `source-pages-round-<n>/` in the chunk's review folder, as text: `curl --location --max-time 30`, or, where the page renders client-side and comes back empty, as `~/.claude/CLAUDE.md` → "Web research" says. Send nothing but the URL. A page behind a login or on an internal host is `not fetched: <why>`.
|
||||
- **Fetch.** Fetch each page into `source-pages-round-<n>/` in the chunk's review folder, as text: `curl --location --proto '=https' --proto-redir '=https' --max-redirs 5 --max-time 30 -w '%{url_effective}'`, or, where the page renders client-side and comes back empty, as `~/.claude/CLAUDE.md` → "Web research" says. Send nothing but the URL. A page behind a login, on an internal host or, after redirects, at one is `not fetched: <why>`: delete its copy. Check only that a copy isn't empty; the reviewer reads its text.
|
||||
- **Hand over.** Write each sentence into `source-pages-round-<n>.md` beside that folder: its file and line, the URL and the saved copy's path, or `not fetched: <why>`. Add `Source pages: <that path>` to the Prose reviewer's prompt. With no such sentence, write no file and add no line.
|
||||
|
||||
**Precedent, then ask** — for the full scan:
|
||||
|
||||
Reference in New Issue
Block a user