Commit Graph
1 Commits
Author SHA1 Message Date
Devika Verma e8075dd01e fix(reviewer): the computed facts name only real destinations and track outside content while it is in context (OPE-235)
Destination fact:
- A bare name ending in a file-like top-level domain (main.py, README.md, run.sh,
  model.ai) is a file name, not a site. It counts as a site only when written as one:
  in a URL or email address, after `www.`, or followed by a path or port.
- Naming a shared hosting platform (herokuapp.com, github.io, vercel.app,
  s3.amazonaws.com, pages.dev, netlify.app, ...) names only itself, never the sites
  hosted under it. Naming the exact site still names it. The Public Suffix List's
  private section is vendored in coworker/_psl_private.py, generated by
  scripts/refresh_public_suffixes.py (source, version and licence recorded there).
- Connector targets match only in their own form: `#channel` or the full channel id,
  `owner/repo` or `owner/repo#12`, the full `platform:id` handle, an exact email
  address or phone number; a bare id only when long enough to be an id.

Outside-content fact:
- The tool result that brought outside content in is marked on its message. The line
  is shown while such a result is still in what the agent is sent: a summary written
  from it keeps the line, the no-summary trim that drops it clears the line.
- Spilled tool output and the compacted transcript count as outside files when they
  hold outside content.
- Files that arrive through the shell count: git clone / gh repo clone / submodule add,
  wget, curl -o/-O in every flag spelling, pip download, Start-BitsTransfer, and
  archives from outside unpacked with tar, unzip, 7z, Expand-Archive or gunzip.
  Reading such a file, searching a folder that holds one, or running a command inside
  one counts. A folder that already existed is never marked as a whole, only the names
  that appear in it during the call, so the user's own files stay the user's.

Fact sentences and the reviewer instructions are unchanged.
2026-10-29 11:23:49 +05:30