Peach: Local-first video metadata scraper and media manager.
feat(tooling): 精简 README 并在交付时核对文档影响
longmeidaob0b4eb853918
diff --git a/.claude/skills/peach-worktree/SKILL.md b/.claude/skills/peach-worktree/SKILL.mdindex 02ddf221c..f61fa5a4c 100644--- a/.claude/skills/peach-worktree/SKILL.md+++ b/.claude/skills/peach-worktree/SKILL.md@@ -5,7 +5,7 @@ description: 在用户说并行、工作树、暂存、提交、ready、集成# 并行 worktree 与提交边界-最后复核:2026-09-05+最后复核:2026-09-06证据来源:`docs/HANDOFF.md`「并行智能体与 Git 工作树」、`README.md`、ADR-0015、ADR-0017。## 何时使用@@ -37,6 +37,9 @@ description: 在用户说并行、工作树、暂存、提交、ready、集成## 暂存与提交+- 提交前核对 README 影响;交付分支最后提交加 `README-Impact: updated; 说明` 或 `README-Impact: none; 原因`。+ 触发面、中英文同批与例外见 `docs/HANDOFF.md`「README 维护」;`ready/integrate` 拒收缺失或矛盾声明。+- 禁止 `git add .`、`git add -A`、目录路径或 glob。只暂存任务明确拥有的文件。- 提交前用 `git diff --cached --name-status` 与任务边界逐条对照。干净的 `git status`不能证明归属正确。diff --git a/README.en.md b/README.en.mdindex ed0cee2b0..a49a7cfdf 100644--- a/README.en.md+++ b/README.en.md@@ -1,266 +1,163 @@<p align="center">- <img src="resources/peach-logo.png" alt="Peach" width="128">+ <img src="resources/peach-logo.png" alt="Peach" width="96"></p><h1 align="center">Peach</h1>-<p align="center">A single-user, local-first personal media system</p>+<p align="center">A personal library for media across your disks, mounted drives and followed sources.</p><p align="center">- <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&logo=githubactions&logoColor=white" alt="tests"></a>- <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&logo=github&logoColor=white" alt="release"></a>- <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?logo=gnu&logoColor=white" alt="license"></a>- <img src="https://img.shields.io/badge/python-3.12%2B-3776AB?logo=python&logoColor=white" alt="Python 3.12+">- <img src="https://img.shields.io/badge/platform-Windows-0078D4?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xIDFoMTB2MTBIMXptMTIgMGgxMHYxMEgxM3pNMSAxM2gxMHYxMEgxem0xMiAwaDEwdjEwSDEzeiIvPjwvc3ZnPg%3D%3D" alt="Windows">- <img src="https://img.shields.io/badge/platform-macOS-555555?logo=apple&logoColor=white" alt="macOS">- <img src="https://img.shields.io/badge/18%2B-adult%20content-critical?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIj48cGF0aCBkPSJNMTIgMiAzIDZ2NmMwIDUgOSAxMCA5IDEwczktNSA5LTEwVjZ6TTEyIDd2Nm0wIDN2MSIvPjwvc3ZnPg%3D%3D" alt="18+ adult content">+ <a href="https://github.com/longmeidao/peach/releases">Download for Windows</a> ·+ <a href="#quick-start">Quick start</a> ·+ <a href="#documentation">Documentation</a> ·+ <a href="README.md">中文</a></p>-<p align="center"><a href="README.md">中文</a> · English</p>+<p align="center">+ <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&style=flat" alt="Tests"></a>+ <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&style=flat" alt="Release"></a>+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?style=flat" alt="AGPL-3.0-or-later"></a>+</p>-> **18+** Peach is for adults and manages an adult-content collection. The repository, its documentation and screenshots contain SFW material only; the boundaries are in "Scope and disclaimer" below.+Peach is a single-user, local-first media system. Search, play and organize media you already own on your computer, with browser access from your phone over the LAN. Your library, viewing history and review decisions stay in a local SQLite ledger.-Peach is a single-user, local-first personal media system, built for one person self-hosting on their own machines over a LAN — not for teams or public deployment. It indexes media you already own — local disks, CloudDrive mounts, followed online sources — and serves search, playback, profile pages, playlists, review and follow from one FastAPI process. The local SQLite ledger is the single source of truth and also stores viewing behavior and manual decisions; whatever CloudDrive, online sites or AI return is a candidate with provenance and confidence, and becomes truth only after the user reviews it.+> **18+** Intended for adults managing adult-content collections. The repository contains no media or site datasets; documentation uses SFW demo material only. Connectors require access rights and do not bypass paywalls, bot verification or other access controls.-Peach runs completely on a single machine and is pre-1.0. Windows and macOS are first-class platforms; Linux is not supported and has not been tested. Single-writer replication between machines is optional and off by default, and so far it has been verified in exactly one shape: a Windows writer with a macOS reader. The current runtime state and verification results are in [`docs/STATUS.md`](docs/STATUS.md), open work is in [`docs/PRODUCT_BACKLOG.md`](docs/PRODUCT_BACKLOG.md), and development constraints start at [`AGENTS.md`](AGENTS.md).+## Features++| Capability | What it does |+| --- | --- |+| Browse and search | Find videos and photo collections by work, performer, studio, creator, series or tag |+| Play and save | Play local and mounted media; keep watch-later items, viewing state, Mixes and playlists |+| Follow updates | Register official or archive sources, explicitly check updates, view and save content inside Peach |+| Review and organize | Review external candidates; manage duplicates, junk, unavailable files and trash |+| Taste and history | Explore your taste profile and manage browsing records and reasons for liking items |-## Core capabilities+CloudDrive · 115 and CloudDrive · PikPak connect through mounted local folders. Sign in and mount them in CloudDrive first, then add the folders to Peach. Local disks alone also work.-- Browse the collection by item, performer, studio, creator, series and tag.-- Play local and cloud-drive media; incompatible containers get a deletable transcode cache, and original files are never rewritten.-- Save watch later, reasons for liking, watched state, automatic Mixes and persistent playlists.-- Review external metadata, identity, image and media-failure candidates through `/review`.-- Discover updates from the official FANBOX, SubscribeStar and Patreon channels, the Kemono/Pawchive/Coomer archive sites, Rule34Video, Rule34.xxx, Rule34 Paheal and F95zone; SimpCity's bot verification is not bypassed.-- Optional: replicate the ledger explicitly between two machines; on divergence the reader turns read-only, with no automatic merge.+Follow sources include FANBOX, Patreon, SubscribeStar, Kemono, Pawchive, Coomer, the Rule34 family and F95zone. Availability depends on the site and your access rights. See [source collection](docs/SOURCING.md) for supported workflows and boundaries.-## Data boundaries+## Quick start-The ledger is the source of truth for assets, identities, behavior and review decisions. CloudDrive, online sites and AI are adapters or candidate sources; none of them may write truth fields directly.+Peach is **pre-1.0**. The application interface is currently Chinese only.-| Content | Location or rule |+| Platform | Available today || --- | --- |-| Database | `peach-data/database/ledger.db` |-| Media paths | The ledger always stores Windows drive letters; macOS translates them at read time |-| Credentials | `peach-data/secrets/`; never enter Git, logs or API responses |-| Derived images | Deletable and rebuildable; one-way sync Windows → macOS |-| Real writes | Only the current writer may write; migrations and irreversible operations require a backup and authorization first |-| Tests | Use temporary SQLite databases and temporary media only |--When replication is enabled, each machine keeps its own local working copy of the ledger; the shared directory is only a transfer point. Starting the service does not replicate anything; "Sync Ledger" and "Take over ledger writes" are explicit operations. The detailed design is in [`ADR-0017`](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md).--## Scope and disclaimer--- Peach is built for a personal collection of adult content (JAV, creator subscriptions and the- like); the repository itself contains none of it. Screenshots in the README, the documentation and- the website always use SFW demo data, never a real collection.-- The repository contains only code, documentation and pinned frontend dependencies. It ships no- media, covers, thumbnails or metadata, and no copy of any site's data; what it indexes is the- library the person running it already owns.-- Connectors access only sources the user is entitled to access, with credentials the user supplies.- Peach does not bypass bot verification, paywalls or any access control: when it meets such a block- it records "not obtained" — the fixed wording for a failed acquisition — and stops there.-- Titles, images and descriptions fetched from external sources remain the content and copyright of- the respective sites and their creators. Peach stores them as candidates, keeps their provenance- and confidence, and leaves verification to the user.--## Layout--```text-peach-app/-├─ src/peach/ FastAPI, media, ledger, migrations and providers-├─ web/ Frontend without a build step-├─ migrations/ Versioned, checksummed SQLite migrations-├─ scripts/ Build, check and batch-job entry points-├─ tests/ Isolated tests-├─ docs/ Status, architecture, reuse decisions and ADRs-├─ AGENTS.md Shared entry point for Codex and Claude-└─ CLAUDE.md Import entry point for Claude-```+| Windows | Standalone test package or source installation |+| macOS | Source installation; standalone desktop packaging is in development |+| Linux | Unsupported and untested |-The repository stores no media, databases, credentials, logs, `.venv`, build output or worktrees.+### Windows test package-## Prerequisites+1. Download `Peach-<version>-windows-x64.zip` from [GitHub Releases](https://github.com/longmeidao/peach/releases) and extract the complete archive.+2. Open `Peach.exe`, select existing media folders in the setup page and submit.+3. Browse your library. Media and service configuration are available from page settings or the tray menu.-- **Python 3.12 or newer**: a hard requirement from `requires-python`; the maintainer runs 3.14, and CI tests both 3.12 and 3.14. Windows needs the py launcher (`py -3.14`, substitute the version you installed); in a console using the cp936 code page the CLI's Chinese output is garbled, and `PYTHONIOENCODING=utf-8` fixes it.-- **Git**: the editable install runs from a checked-out repository.-- **FFmpeg and ffprobe**: not distributed with the repository, which has no downloader for them either. Lookup order: the `PEACH_FFMPEG` / `PEACH_FFPROBE` environment variables → `<data root>/tools/ffmpeg/bin/ffmpeg(.exe)` and `ffprobe(.exe)` → `PATH`. Without them `/healthz` reports `ffmpeg: unavailable`, and frame extraction, contact sheets, probing and covers are all unavailable; browsing and playback of compatible formats still work.-- **openssl** (optional, HTTPS only): required to generate the local CA. On Windows it usually comes from Git for Windows (choose the option that puts the Unix tools on `PATH`). Without it `peach init` prints that no local CA was generated and completes normally; once installed, `peach init --force` fills it in.-- Node is not a runtime prerequisite; it only maintains the pinned frontend files (see "Dependency maintenance").+The test package is accessible only on the same computer and needs no Python, Git, Node or OpenSSL.+Data lives separately from the program in `%LOCALAPPDATA%\Peach\peach-data`. To update, exit the tray, extract the complete new package and keep the data directory.-## Downloads+Install FFmpeg and ffprobe separately for transcoding, probing and thumbnails. Without them, browsing and playback of browser-compatible formats remain available.+The package is unsigned; see [Windows testing](docs/TESTING_DESKTOP.md) for download verification, configuration and feedback.-Windows testers can download `Peach-<version>-windows-x64.zip` from [GitHub Releases](https://github.com/longmeidao/peach/releases), extract the complete folder, and double-click `Peach.exe`. Choose a media folder in the first-run page to get started. The runtime is bundled and access is local to this computer. Configuration is available from Settings and the tray menu. Install FFmpeg separately; replace the entire program folder when updating. See [Windows testing guide](docs/TESTING_DESKTOP.md). macOS users currently follow the source installation steps below.+### Run from source-## Installation+Requires Git and **Python 3.12 or newer**. These examples use 3.14; CI covers 3.12 and 3.14.+Node is unnecessary at runtime; frontend development needs Node 24 or newer.-Three steps, with no directories or configuration files to prepare in advance. Run from the repository root:+Clone the repository:-```powershell-& py -3.14 -m venv .venv # macOS: python3.14 -m venv .venv-& .\.venv\Scripts\python.exe -m pip install -e . # macOS: ./.venv/bin/python -m pip install -e ".[macos]"-& .\.venv\Scripts\peach.exe init # macOS: ./.venv/bin/peach init+```shell+git clone https://github.com/longmeidao/peach.git peach-app+cd peach-app```-Run without arguments, `peach init` asks five questions in the terminal; pressing Enter accepts the default shown in brackets:--| Question | Default |-| --- | --- |-| Data directory (the Peach database, caches and the settings file live here) | `peach-data/` next to the repository |-| Media folder (must already exist, may live on an external drive; used as source `local`). Afterwards it keeps asking for one more folder until you press Enter on an empty answer; every folder belongs to `local` | `~\Videos` (`~/Movies` on macOS); required when that folder is missing |-| Who can access: 1 = only this computer, 2 = devices on the same LAN | `2` |-| Port | `8900` |-| LAN address (`<name>.local`, published only when LAN access is allowed) | `peach` |--It then creates the data root, migrates the ledger to the latest schema, generates the local CA, writes-`<data root>/config.toml`, asks "scan <directory> now?" (default yes) to register that directory's files-in the ledger, and prints the next steps. The settings file declares only the one source you named; after-that `peach serve` starts the service and `peach scan local` rescans at any time. The listen address, port,-sources and replication switches are all edited in that settings file, explained item by item in-[`docs/OPERATIONS.md`](docs/OPERATIONS.md). The tray is started with `peach-tray`, without arguments.--You can answer in a browser instead of the terminal: skip step three and run `peach-tray` (or-double-click `Peach.exe` / `Peach.app`). Seeing that the machine is not configured yet, the tray starts a-setup service bound to `127.0.0.1` only and opens a browser on it. The page is the same five questions as a-form, plus a "scan now" checkbox that is ticked by default. On submit the tray stops the setup service,-switches to the normal Peach services, and runs the scan in the background if you asked for it. This path-calls the same logic as `peach init` and writes exactly the same files. While it waits, the tray menu reads-"等待完成首次设置" and its first item becomes "重新打开设置页".--To skip the questions, pass arguments: `peach init --no-input` (or any single option such as `--data-root`,-`--port` or `--mount local=/mnt/media`) generates the file from the built-in defaults plus your arguments;-the same path is taken when stdin is not a terminal. A file written this way carries three example sources,-`local = R:\media`, `115 = B:/` and `pikpak = A:/`, which must be changed to your own paths under-`[media.locations]` and `[media.mounts]`; leaving them means every source is offline, not an error.--Five facts:--- Listening on `127.0.0.1` needs no token. Reaching the service from a phone or any other device on the LAN (`--host 0.0.0.0`, and everything the tray starts) does: `peach init` has already written one to `<data root>/secrets/auth-token`, `peach token` prints it, and each device pastes it into the login page once. `peach serve` refuses to start when it binds a non-loopback address without a token, because that puts the whole collection and the write endpoints on the local network.-- Use `-e` for source development. Regular installations and wheels include pages and migrations and support running from any working directory.-- When the data root is not next to the repository, `peach serve` looks for it only via `PEACH_DATA_ROOT` and the `peach-data/` directories a few levels above the repository, so set `PEACH_DATA_ROOT` as well; the default data root needs no such step.-- Ledger paths are always in the Windows shape. On Windows the media directories (one or several) go straight into `[media.locations]`; on macOS the declared roots are `R:\media`, `R:\media2`, … and the directories go into `[media.mounts]` in the same order, where the local mount points do the translation. CloudDrive is not required — any cloud drive that mounts as a local path works; 115 and PikPak are recommendations, not requirements.-- The interface is currently available in Chinese only.--The service also starts without a settings file: `/healthz` reports `configured=false`, and the home page is the first-run form described above.--## Development--After initializing the virtual environment, run the tests with `& .\scripts\test.ps1` on Windows and `./scripts/test.sh` on macOS/Linux.-Each platform has exactly one official test entry point. The script locates the main project's virtual environment, forces the current worktree's `src` onto the import path and verifies the actual import location. The repository uses the standard-library `unittest`, not pytest.--During development, run the tests for the affected functional domain, for example-`& .\scripts\test.ps1 -Scope follow` on Windows and `./scripts/test.sh follow` on macOS/Linux.-The domains are `follow`, `catalog`, `media`, `sync`, `metadata`, `tooling`, `web` and `checks`.-The default `auto` selects the union of affected domains. Shared test infrastructure, dependencies,-build inputs, migrations and unknown paths select `full`; CI and releases explicitly run `full`.-Local results are reusable for 24 hours when code, environment and scope match. Use `-Fresh` on-Windows or a second `--fresh` argument on macOS/Linux to rerun; explicit `full` always runs.-With a valid full baseline in the same environment, `auto` tests affected domains for the new-differences. Unknown differences still require a full run.--## Dependency maintenance--The Python runtime and optional tools are all pinned to exact versions in `pyproject.toml`; the-self-hosted frontend packages are pinned jointly by `package.json`, `package-lock.json` and-`web/vendor/`. Optional dependencies stay out of the default runtime environment:--| extra | Consumer |-| --- | --- |-| `build` | PyInstaller packaging |-| `macos` | AppKit menu bar |-| `vision` | Face-framing scripts for avatars and covers |-| `maintenance-115` | 115 SHA-1 reconciliation script |--GitHub Dependabot checks Python, npm and GitHub Actions weekly; every update PR runs the official-tests on Windows and macOS with Python 3.12 and 3.14. After a frontend dependency update, first-install the locked packages:+Windows: create the environment, install and launch setup in PowerShell:```powershell-npm ci --ignore-scripts+& py -3.14 -m venv .venv+& .\.venv\Scripts\python.exe -m pip install -e .+& .\.venv\Scripts\peach-tray.exe```-Then rebuild the self-hosted files and source hashes from the locked packages:+macOS: create the environment, install menu-bar support and launch setup:-```powershell-npm run vendor:web+```shell+python3.14 -m venv .venv+./.venv/bin/python -m pip install -e ".[macos]"+./.venv/bin/peach-tray```-Finally confirm that the pinned files in the repository match the manifest:+Setup configures media folders, access scope and ports. Alternatively, use the `peach init` terminal wizard followed by `peach serve`; executables are in the virtual environment directories above.-```powershell-npm run check:vendor-```+Source deployments default to a sibling `peach-data/` directory. Set `PEACH_DATA_ROOT` for a custom location.+LAN access requires a token: use `peach token` and sign in on each device. Local CA generation requires OpenSSL.+See [operations](docs/OPERATIONS.md) for configuration, HTTPS, CloudDrive mounts and non-interactive initialization.-This Node tooling exists only to maintain the pinned frontend files; Peach pages still have no runtime build step and do not depend on a CDN.+## Your data-Check the migration status and start a local development server:+- Media stays in its original folders. Transcoding uses disposable derived caches without rewriting source files.+- The SQLite ledger stores library identities, viewing behavior and human decisions. External metadata and AI assertions retain provenance and confidence and require review to become truth.+- Credentials live in the data directory's `secrets/`, outside Git, logs and API responses. Migrations and irreversible operations require a backup and authorization.+- Each deployment serves one person and is not intended for teams or public hosting.+- Optional replication is off by default. The verified setup is a Windows writer and macOS reader, each with a local ledger. A shared folder transports data; replication and takeover are explicit. Divergence makes the ledger read-only rather than automatically merging it. See [replication boundaries](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md).++The repository distributes no media, covers, thumbnails, metadata or site datasets. External titles, images and descriptions remain the content and copyright of their respective sites and creators.++## Development and contributions++The backend is a FastAPI modular monolith with SQLite as the truth store. The frontend migrates page by page to Vite, TypeScript and Preact islands.+Python serves existing pages and committed build output from `web/`; runtime requires neither Node nor a CDN.++| Path | Contents |+| --- | --- |+| `src/peach/` | API, media, ledger and source adapters |+| `frontend/` | TypeScript, Preact islands and Vite build |+| `web/` | Pages, styles, self-hosted dependencies and `web/dist/` output |+| `migrations/` | Versioned SQLite migrations |+| `scripts/`, `tests/` | Development entry points, maintenance scripts and isolated tests |+| `docs/` | Guides, architecture and project status |++Read the [working agreement](AGENTS.md) before changing the project. Tests use temporary databases and media. Run the official entry point in an isolated worktree.++Windows: run checks for the current changes:```powershell-& .\.venv\Scripts\peach.exe migrate status-& .\.venv\Scripts\peach.exe serve --port 8900+& .\scripts\test.ps1```-The current entry points and limits of the production tray, the macOS menu bar, the local CA, mDNS and ledger replication are in [`docs/STATUS.md`](docs/STATUS.md) and [`docs/HANDOFF.md`](docs/HANDOFF.md). The README does not duplicate IPs, versions, port ownership or certificate state, all of which go stale quickly.+macOS: run checks for the current changes:-## Main pages+```shell+./scripts/test.sh+```-| Route | Purpose |-| --- | --- |-| `/` | Home |-| `/item/{id}` | Item details |-| `/performers` | Performer index |-| `/performers/{name}` | Performer profile |-| `/creators/{name}` | Creator profile and galleries |-| `/tags` | Tag management |-| `/immerse` | Immersive mode |-| `/playlists` | Playlists |-| `/follow` | Watch followed sources |-| `/follow-manage` | Manage followed sources and credential status |-| `/review` | Manual review |-| `/data-cleanup` | Data cleanup overview: junk files, duplicate files and empty folders |-| `/junk-files` | Junk file classification and decisions |-| `/trash` | Trash |-| `/stats` | Statistics, cloud-drive resource sync and orphaned-cache cleanup |-| `/taste` | Taste profile and browsing-history management |--`/healthz` provides side-effect-free health status, and `/api/sources` provides source reachability. Other API contracts are defined by the implementation and its tests; the README does not maintain the full set of endpoints, which drifts easily.--After deleting files by hand in a cloud-drive or local resource directory, open "Manage → Statistics → Resource sync" (`管理 → 统计 → 资源同步` in the interface) and scan for differences first. The scan runs in the background and shows progress per source; leaving the page does not interrupt it. Peach checks only mounted sources, and a directory that is temporarily unreadable is skipped rather than judged deleted. Missing entries go to the trash first, so recoverable ledger metadata is not lost immediately. Confirming the sync re-checks the candidates and cleans up screenshots, posters, image thumbnails, covers and playback caches that nothing in the regular collection still uses; candidate CSVs, source evidence, performer avatars and studio logos are never deleted as caches.--Promotional videos, advertisement images, URL shortcuts and other files bundled inside media packages go to "Manage → Data cleanup" (`管理 → 数据清理`, `/data-cleanup`). The junk-files page groups them into video, image, archive, audio, URL and other files; each entry can open its location on the cloud drive, be moved to the trash, or be marked "not junk" (`不是垃圾`) and undone under "Excluded" (`已排除`). Duplicate files share this management entry with junk files, and empty folders are cleaned up explicitly from a separate fieldset within it. Multi-select in the top bar batch-runs whichever decision or trash operations the current view offers. Peach lists candidates by file name, promotional directories and whatever duration or size evidence each type offers, and never permanently deletes on its own; after a physical file is permanently deleted from the trash, only parent directories inside the same source root that become empty as a result are removed with it — the source root itself is never deleted.--## Follow and candidates--Follow management accepts pasted links, names or IDs, and official creator pages on FANBOX, Patreon-and SubscribeStar can be registered directly. A checkbox per channel decides whether it takes part-in update checks; network access happens only during explicit lookups and update checks. Disabled-channels do not appear on the follow watch page and reappear once re-enabled. Service startup, health checks and ordinary browsing never go online.-When the F95zone site index has no match for a name, the results area offers a corresponding Google query; Google results are only for a person to verify the real thread link and never register a source automatically.--Rule34.xxx tag identities are case-insensitive. Cross-site sources are grouped by canonical author; `Collection(s)` in an F95 title is not part of the author name.-When an official homepage gives both a unique author name and a platform account, Peach learns that platform alias automatically; an existing manual decision is never overwritten.-A mere name similarity without an official identity chain only produces a suggestion, which is merged only after the user confirms; aliases can be removed at any time. Author avatars are taken preferentially from verified-official FANBOX/Pixiv pages, with archive sites as a fallback only. Connector design and evidence are in-[`ADR-0019`](docs/adr/0019-site-follow-connectors-and-variant-grouping.md).--Fetched updates stay in the `new` or `seen` candidate state. Only after an explicit save or approval in `/review` does the data enter the corresponding ledger truth or online assets.+The default `auto` scope selects affected domains; CI and releases use `full`.+See [frontend development](docs/FRONTEND.md) for installation, builds, type checking and committed output.+Dependency manifests and lockfiles define versions; Dependabot checks Python, npm and GitHub Actions weekly.++For issues, include the version, steps, expected result and actual result. Do not attach a real ledger, media, cookies or private keys.+Report security issues according to the [security policy](SECURITY.md).## Documentation-- [`AGENTS.md`](AGENTS.md): the boundaries and skill index every change must follow.-- [`docs/STATUS.md`](docs/STATUS.md): current runtime state and verification results.-- [`docs/PRODUCT_BACKLOG.md`](docs/PRODUCT_BACKLOG.md): open requirements and pending operations.-- [`docs/HANDOFF.md`](docs/HANDOFF.md): facts and working conventions that hold across tasks.-- [`docs/REUSE.md`](docs/REUSE.md): the reuse checklist to consult before adding or replacing an implementation.-- [`docs/adr/`](docs/adr/): architecture decisions, their reasons and trade-offs.+Detailed project documentation is in Chinese.-The documents above are currently available in Chinese only. [`CONTRIBUTING.md`](CONTRIBUTING.md) and [`SECURITY.md`](SECURITY.md) each open with an English summary.+| Task | Guide |+| --- | --- |+| Download, configure and test the package | [Windows testing](docs/TESTING_DESKTOP.md) |+| Configure media, LAN, HTTPS and replication | [Operations](docs/OPERATIONS.md) |+| Understand collection and evidence boundaries | [Sources](docs/SOURCING.md) |+| Check the installed runtime and verification | [Status](docs/STATUS.md) |+| Find open work | [Backlog](docs/PRODUCT_BACKLOG.md) |+| Change and maintain Peach | [Working agreement](AGENTS.md) · [Frontend](docs/FRONTEND.md) · [Reuse](docs/REUSE.md) |+| Read durable conventions and architecture | [Handoff](docs/HANDOFF.md) · [Decisions](docs/adr/) |-## License+README describes mainline capabilities. Status records the installed runtime and its verification; Releases identifies distributed packages.+See [README maintenance](docs/README_MAINTENANCE.md) for the documentation update process.-Peach is released under AGPL-3.0-or-later; the full text is in [`LICENSE`](LICENSE). In practice this means: distributing a-modified version, or offering a modified version to others as a network service, requires publishing the source under the same license.+## License-Copyright (C) 2026 longmeidao+[AGPL-3.0-or-later](LICENSE) · Copyright (C) 2026 longmeidao.-The third-party frontend files pinned in the repository keep their upstream licenses; the files and source hashes are in-[`web/vendor/`](web/vendor/). FFmpeg is not distributed with the repository or the build output; users install it themselves and comply with its license.+Vendored frontend dependencies retain upstream licenses and provenance in [web/vendor](web/vendor/).+FFmpeg is not distributed with the repository or packages; install it separately and follow its license.diff --git a/README.md b/README.mdindex d9b92e47b..5d152821a 100644--- a/README.md+++ b/README.md@@ -1,256 +1,160 @@<p align="center">- <img src="resources/peach-logo.png" alt="Peach" width="128">+ <img src="resources/peach-logo.png" alt="Peach 蜜桃" width="96"></p>-<h1 align="center">Peach</h1>+<h1 align="center">Peach · 蜜桃</h1>-<p align="center">单用户、本地优先的个人媒体系统</p>+<p align="center">把散落在磁盘、网盘和关注来源里的媒体,整理成自己的馆藏。</p><p align="center">- <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&logo=githubactions&logoColor=white" alt="tests"></a>- <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&logo=github&logoColor=white" alt="release"></a>- <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?logo=gnu&logoColor=white" alt="license"></a>- <img src="https://img.shields.io/badge/python-3.12%2B-3776AB?logo=python&logoColor=white" alt="Python 3.12+">- <img src="https://img.shields.io/badge/platform-Windows-0078D4?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0xIDFoMTB2MTBIMXptMTIgMGgxMHYxMEgxM3pNMSAxM2gxMHYxMEgxem0xMiAwaDEwdjEwSDEzeiIvPjwvc3ZnPg%3D%3D" alt="Windows">- <img src="https://img.shields.io/badge/platform-macOS-555555?logo=apple&logoColor=white" alt="macOS">- <img src="https://img.shields.io/badge/18%2B-adult%20content-critical?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIj48cGF0aCBkPSJNMTIgMiAzIDZ2NmMwIDUgOSAxMCA5IDEwczktNSA5LTEwVjZ6TTEyIDd2Nm0wIDN2MSIvPjwvc3ZnPg%3D%3D" alt="18+ adult content">+ <a href="https://github.com/longmeidao/peach/releases">下载 Windows 测试版</a> ·+ <a href="#快速开始">快速开始</a> ·+ <a href="#文档">文档</a> ·+ <a href="README.en.md">English</a></p>-<p align="center">中文 · <a href="README.en.md">English</a></p>+<p align="center">+ <a href="https://github.com/longmeidao/peach/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/longmeidao/peach/test.yml?branch=master&label=tests&style=flat" alt="测试状态"></a>+ <a href="https://github.com/longmeidao/peach/releases"><img src="https://img.shields.io/github/v/release/longmeidao/peach?include_prereleases&label=release&style=flat" alt="发行版本"></a>+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0--or--later-blue?style=flat" alt="AGPL-3.0-or-later"></a>+</p>-> **18+** Peach 面向成年人,管理的是成人内容馆藏。仓库、文档与截图只出现 SFW 素材;边界见下文「范围与免责声明」。+Peach 是单用户、本地优先的个人媒体系统。在自己的电脑上搜索、播放、整理已有媒体,也能从手机浏览器经局域网访问。馆藏、观看记录和人工复核决定保存在本机 SQLite ledger。-Peach(蜜桃)是单用户、本地优先的个人媒体系统,只为一个人在自己的机器上经局域网自用而设计,不面向团队或公开部署。它统一索引你已经拥有的媒体——本地磁盘、CloudDrive 挂载和在线关注来源——由一个 FastAPI 进程提供搜索、播放、资料页、播放列表、复核与追更。本地 SQLite ledger 是唯一真相源,观看行为和人工决定都保存在这里;CloudDrive、在线站点和 AI 取回的内容只是带来源与置信度的候选,经用户复核后才成为真相。+> **18+** 面向成年人的成人内容馆藏。仓库不含媒体与站点数据;文档中的演示素材仅限 SFW。连接器需要使用者拥有访问权限,不绕过付费墙、机器人验证或其他访问控制。-Peach 在一台机器上就能完整运行,目前处于 pre-1.0 阶段。Windows 与 macOS 是一等平台;Linux 不在支持范围,未测试。多台机器之间的单写者复制是可选项,默认关闭,目前只在「Windows 写者 + macOS 读者」一种形状上验证过。当前运行状态与验证结果见 [`docs/STATUS.md`](docs/STATUS.md),待办见 [`docs/PRODUCT_BACKLOG.md`](docs/PRODUCT_BACKLOG.md);开发约束从 [`AGENTS.md`](AGENTS.md) 开始读。+## 能做什么-## 核心能力+| 能力 | 使用方式 |+| --- | --- |+| 浏览与搜索 | 按作品、女优、厂牌、创作者、系列和标签查找视频与图集 |+| 播放与收藏 | 播放本地和挂载网盘媒体,保存稍后看、观看状态、Mix 与播放列表 |+| 关注与追更 | 登记官方或归档来源,显式检查更新,在站内查看和保存内容 |+| 复核与整理 | 核对外部候选,处理重复文件、垃圾文件、脱盘条目和回收站 |+| 口味与记录 | 查看口味画像,管理浏览记录和喜欢理由 |-- 按作品、女优、厂牌、创作者、系列和标签浏览馆藏。-- 播放本地与网盘媒体;不兼容容器生成可删除的转码缓存,不改写原文件。-- 保存稍后看、喜欢理由、观看状态、自动 Mix 和持久播放列表。-- 通过 `/review` 复核外部元数据、身份、图片和媒体失败候选。-- 从 FANBOX、SubscribeStar、Patreon 官方渠道,Kemono/Pawchive/Coomer 归档站,Rule34Video、Rule34.xxx、Rule34 Paheal 和 F95zone 发现更新;SimpCity 的机器人验证不会被绕过。-- 可选:在两台机器之间显式复制 ledger;发生分叉时转只读,不自动合并。+CloudDrive · 115 与 CloudDrive · PikPak 按本机文件夹接入;先在 CloudDrive 登录并挂载,再交给 Peach 索引。也可以只使用本地磁盘。-## 数据边界+关注来源包括 FANBOX、Patreon、SubscribeStar,以及 Kemono、Pawchive、Coomer、Rule34 系列与 F95zone。来源可用性受站点和使用者权限限制;采集边界与支持情况见 [来源采集](docs/SOURCING.md)。-CloudDrive 在首次设置页与配置页按文件夹选择「CloudDrive · 115」或「CloudDrive · PikPak」。-先在 CloudDrive 登录对应网盘并完成挂载,再把本机文件夹填入 Peach;Windows 使用盘符路径,-macOS 在「本机文件夹」填挂载点,在「Windows 中的对应路径」填馆藏已有的盘符路径。配置页的「挂载状态」可刷新检查各来源。-离线来源可保存,恢复挂载后再扫描。详细步骤见 [CloudDrive 配置](docs/OPERATIONS.md#clouddrive-配置)。+## 快速开始-Ledger 是资产、身份、行为和复核决定的真相源。CloudDrive、在线站点和 AI 都是适配器或候选来源,不能直接改写真相字段。+Peach 处于 **pre-1.0** 阶段,界面目前只有中文。-| 内容 | 位置或规则 |+| 平台 | 当前使用方式 || --- | --- |-| 数据库 | `peach-data/database/ledger.db` |-| 媒体路径 | Ledger 始终保存 Windows 盘符;macOS 在读取时转换 |-| 凭据 | `peach-data/secrets/`,不进入 Git、日志或 API 返回 |-| 派生图片 | 可删除重建;Windows → macOS 单向同步 |-| 真实写入 | 只允许当前 writer;迁移和不可逆操作必须先备份并取得授权 |-| 测试 | 只使用临时 SQLite 和临时媒体 |--开启复制时,两台机器各有本地 ledger 工作副本,共享目录只作传输点。服务启动不会自动复制;「同步 Ledger」和「接管 Ledger 写入」是显式操作。详细设计见 [`ADR-0017`](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md)。--## 范围与免责声明--- Peach 面向成人内容的个人馆藏(JAV、创作者订阅等),仓库本身不含任何此类内容;README、- 文档与网站里的截图一律使用 SFW 演示数据,不使用真实馆藏。-- 仓库只有代码、文档和固定的前端依赖。它不包含任何媒体、封面、缩略图或元数据,也不附带任何- 站点的数据副本;它索引的是运行它的人自己已有的库。-- 连接器只访问使用者自己有权访问的来源,凭据由使用者自己提供。Peach 不绕过机器人验证、付费墙- 或任何访问控制:遇到这类拦截时它报告「未取得」并停在那里。-- 从外部来源取回的标题、图片和说明,内容与版权属于各站点及其创作者。Peach 把它们当候选保存,- 并保留来源与置信度,供使用者自己核对。--## 目录--```text-peach-app/-├─ src/peach/ FastAPI、媒体、ledger、迁移和 Provider-├─ web/ 无构建步骤的前端-├─ migrations/ 带版本和校验和的 SQLite 迁移-├─ scripts/ 构建、检查和批处理入口-├─ tests/ 隔离测试-├─ docs/ 状态、架构、复用决策和 ADR-├─ AGENTS.md Codex 与 Claude 共用入口-└─ CLAUDE.md Claude 导入入口-```+| Windows | 独立测试包,或源码运行 |+| macOS | 源码运行;独立桌面包仍在开发 |+| Linux | 不在支持范围,未测试 |-仓库不保存媒体、数据库、凭据、日志、`.venv`、构建产物或 worktree。+### Windows 测试包-## 前置条件+1. 从 [GitHub Releases](https://github.com/longmeidao/peach/releases) 下载 `Peach-<版本>-windows-x64.zip`,完整解压。+2. 双击 `Peach.exe`,在首次设置页选择已有媒体文件夹并提交。+3. 打开馆藏浏览;媒体文件夹与服务配置可从页面设置或托盘进入。-- **Python 3.12 或更高**:`requires-python` 的硬要求,维护者以 3.14 运行,CI 同时测 3.12 与 3.14。Windows 需要 py launcher(`py -3.14`,按本机装的版本换);控制台是 cp936 代码页时 CLI 的中文输出会乱码,设 `PYTHONIOENCODING=utf-8` 即可。-- **Git**:以可编辑方式安装要从检出的仓库运行。-- **FFmpeg 与 ffprobe**:不随仓库分发,仓库里也没有下载器。查找顺序:环境变量 `PEACH_FFMPEG` / `PEACH_FFPROBE` → `<数据根>/tools/ffmpeg/bin/ffmpeg(.exe)` 与 `ffprobe(.exe)` → `PATH`。缺了 `/healthz` 报 `ffmpeg: unavailable`,抽帧、接触表、探测和封面全部不可用;浏览与播放兼容格式仍可用。-- **openssl**(可选,仅 HTTPS):生成本机 CA 的前置。Windows 上通常来自 Git for Windows(安装时选把 Unix 工具放进 `PATH`)。缺了 `peach init` 打印「未生成本机 CA」并正常完成,装好后 `peach init --force` 补上。-- Node 不是运行前置,只用于维护固定的前端文件(见「依赖维护」)。+测试包只在本机访问,不需要 Python、Git、Node 或 OpenSSL。数据保存在+`%LOCALAPPDATA%\Peach\peach-data`,与程序目录分开。更新时先退出托盘,再完整解压新版,保留数据目录。-## 下载制品+FFmpeg 与 ffprobe 需另装;缺少它们时可浏览和播放浏览器兼容格式,转码、探测与缩略图不可用。+测试包未签名;下载校验、配置与问题反馈见 [Windows 测试版](docs/TESTING_DESKTOP.md)。-Windows 调试用户下载 [GitHub Releases](https://github.com/longmeidao/peach/releases) 的 `Peach-<版本>-windows-x64.zip`,完整解压后双击 `Peach.exe`,在首次设置页选择媒体文件夹即可开始。程序自带运行环境,支持本机访问;配置入口在页面「设置」和托盘菜单。FFmpeg 另装,更新时完整替换程序目录。详细步骤见 [Windows 测试版](docs/TESTING_DESKTOP.md)。macOS 当前按下面的源码安装流程使用。+### 源码运行-## 安装+需要 Git、**Python 3.12 或更高**。下面示例使用 3.14,CI 覆盖 3.12 与 3.14。+普通运行不需要 Node;修改前端需要 Node 24 或更高。-三步,不需要事先准备任何目录或配置文件。在仓库根目录执行:+先克隆仓库并进入目录:-```powershell-& py -3.14 -m venv .venv # macOS: python3.14 -m venv .venv-& .\.venv\Scripts\python.exe -m pip install -e . # macOS: ./.venv/bin/python -m pip install -e ".[macos]"-& .\.venv\Scripts\peach.exe init # macOS: ./.venv/bin/peach init+```shell+git clone https://github.com/longmeidao/peach.git peach-app+cd peach-app```-不带参数的 `peach init` 在终端里问五个问题,每一题回车即接受方括号里的默认值:+Windows:在 PowerShell 创建环境、安装并启动首次设置:-| 问题 | 默认值 |-| --- | --- |-| 数据目录(Peach 数据库、缓存和设置文件都放在这里) | 仓库同级的 `peach-data/` |-| 媒体文件夹(必须已经存在,可以在外置硬盘上;作为来源 `local`)。答完接着问「再加一个媒体文件夹」,回车结束,几个文件夹都归 `local` | `~\Videos`(macOS 为 `~/Movies`),不存在则必填 |-| 谁可以访问:1 = 只有这台电脑,2 = 同一局域网的设备 | `2` |-| 端口 | `8900` |-| 局域网访问地址(`<名字>.local`,只在允许局域网访问时发布) | `peach` |--回答完它建数据根、把账本迁到最新 schema、生成本机 CA、写出 `<数据根>/config.toml`,然后问-「现在扫描 <目录>?」(默认是)把那个目录的文件登记进账本,最后打印下一步。设置文件里只有你-声明过的那一个来源;之后 `peach serve` 就能起服务,`peach scan local` 可以随时重扫。监听地址、-端口、来源与复制开关都在那个设置文件里改,逐项说明见 [`docs/OPERATIONS.md`](docs/OPERATIONS.md)。-托盘由 `peach-tray` 启动,不带参数。--不想在终端里回答也行:跳过第三步,直接跑 `peach-tray`(或双击 `Peach.exe` / `Peach.app`)。-托盘看到这台机器还没配置,就起一条只监听 `127.0.0.1` 的引导服务并把浏览器打开到它,页面-是同样五个问题的一张表单,外加一个默认勾上的「现在扫描」。提交之后托盘自动停掉引导服务、-换成正常的 Peach 服务,勾了扫描就在后台跑一遍。这条路和 `peach init` 调的是同一组逻辑,-落盘结果完全一样。托盘菜单在等待期间显示「等待完成首次设置」,第一项变成「重新打开设置页」。+```powershell+& py -3.14 -m venv .venv+& .\.venv\Scripts\python.exe -m pip install -e .+& .\.venv\Scripts\peach-tray.exe+```-不想问答就给参数:`peach init --no-input`(或任何一个参数,例如 `--data-root`、`--port`、-`--mount local=/mnt/media`)按内建默认与参数直接生成;stdin 不是终端时也走这条路。这条路写出的-设置文件带三个示例来源 `local = R:\media`、`115 = B:/`、`pikpak = A:/`,必须在 `[media.locations]`-与 `[media.mounts]` 里改成自己的路径,不改的结果是全部来源脱盘,而不是报错。+macOS:在终端创建环境、安装菜单栏依赖并启动首次设置:-五个事实:+```shell+python3.14 -m venv .venv+./.venv/bin/python -m pip install -e ".[macos]"+./.venv/bin/peach-tray+```-- 只监听 `127.0.0.1` 不需要口令。要让手机或局域网里别的设备访问(`--host 0.0.0.0`、托盘起的服务都算),就必须有访问口令:`peach init` 已经在 `<数据根>/secrets/auth-token` 生成一份,`peach token` 打印出来,设备第一次访问时贴进登录页。绑非回环地址却读不到口令时 `peach serve` 拒绝启动,因为那等于把整个馆藏和写接口摆在同网段上。-- 源码开发使用 `-e`;普通安装与 wheel 自带页面和迁移文件,可从任意工作目录运行。-- 数据根不在仓库同级时,`peach serve` 只按 `PEACH_DATA_ROOT` 和仓库上方几层的 `peach-data/` 找数据根,所以要同时设 `PEACH_DATA_ROOT`;用默认数据根没有这一步。-- 账本里的路径一律是 Windows 形态。Windows 上媒体目录(一个或几个)直接写进 `[media.locations]`;macOS 上声明根写 `R:\media`(第二个目录起是 `R:\media2`……)、目录按同样顺序写进 `[media.mounts]`,由本机挂载点负责翻译。CloudDrive 不是必需,任何能挂成本地路径的网盘都行;115 与 PikPak 是推荐项,不是要求。-- 界面目前只有中文。+首次设置页会配置媒体文件夹、访问范围和端口。也可使用 `peach init` 的终端问答,再用 `peach serve` 启动服务;可执行文件位于上述虚拟环境目录。-没有设置文件也能启动:`/healthz` 报 `configured=false`,首页是上面那张首次运行表单。+源码部署默认使用仓库同级的 `peach-data/`;自定义位置需设置 `PEACH_DATA_ROOT`。+局域网访问需要口令,由 `peach token` 查看,设备首次访问时登录。本机 CA 生成需要 OpenSSL。+配置、HTTPS、CloudDrive 挂载与非交互初始化详见 [运行与配置](docs/OPERATIONS.md)。-## 开发+## 数据属于自己-初始化虚拟环境后运行测试,Windows 用 `& .\scripts\test.ps1`,macOS/Linux 用 `./scripts/test.sh`。-每个平台只有一个正式测试入口。脚本会定位主项目的虚拟环境、强制加载当前 worktree 的 `src`,并核对实际导入路径。仓库使用标准库 `unittest`,不使用 pytest。+- 媒体保留在原目录;转码使用可删除的派生缓存,不改写原文件。+- SQLite ledger 保存馆藏、身份、观看行为和人工决定;外部元数据与 AI 断言保留来源与置信度,经复核才成为真相。+- 凭据保存在数据目录的 `secrets/`,不进入 Git、日志或 API 返回。迁移和不可逆操作必须先备份并取得授权。+- 每个部署只服务一个人,不面向团队或公开部署。+- 可选的多机复制默认关闭,目前验证形态是 Windows writer + macOS reader。两端各有本地 ledger,共享目录只传输;复制与接管为显式操作,分叉时只读,不自动合并。见 [复制边界](docs/adr/0017-dual-host-local-runtime-and-sync-boundaries.md)。-开发时按功能域运行必要测试,例如 Windows 用 `& .\scripts\test.ps1 -Scope follow`,-macOS/Linux 用 `./scripts/test.sh follow`。可选域为 `follow`、`catalog`、`media`、`sync`、-`metadata`、`tooling`、`web`、`checks`;默认 `auto` 按改动文件取影响域并集。迁移、共享测试设施、-依赖、构建和未知影响面选 `full`;CI 与发布显式跑全量。相同代码与环境可复用 24 小时内的记录,-Windows `-Fresh`、POSIX 第二参数 `--fresh` 强制重跑;显式 `full` 总是实际执行。-同环境有有效全量基线时,`auto` 只补测新增差异的影响域;未知差异仍做全量验证。+仓库不分发媒体、封面、缩略图、元数据或任何站点的数据副本。外部标题、图片与说明的内容及版权属于对应站点和创作者。-## 依赖维护+## 开发与贡献-Python 运行时与可选工具全部在 `pyproject.toml` 精确固定版本;前端自托管包由-`package.json`、`package-lock.json` 和 `web/vendor/` 共同固定。可选依赖不进入默认运行环境:+后端是 FastAPI 模块化单体,SQLite ledger 是真相源。前端以 Vite + TypeScript + Preact island 逐页迁移;+`web/` 提供现有页面与已提交的构建产物,运行时由 Python 直接服务,不依赖 Node 或 CDN。-| extra | 消费者 |+| 路径 | 内容 || --- | --- |-| `build` | PyInstaller 打包 |-| `macos` | AppKit 菜单栏 |-| `vision` | 头像、封面的人脸取景脚本 |-| `maintenance-115` | 115 SHA-1 对账脚本 |+| `src/peach/` | API、媒体、ledger 与来源适配器 |+| `frontend/` | TypeScript、Preact island 与 Vite 构建 |+| `web/` | 页面、样式、自托管依赖与 `web/dist/` 产物 |+| `migrations/` | SQLite 版本迁移 |+| `scripts/`、`tests/` | 开发入口、维护脚本与隔离测试 |+| `docs/` | 使用说明、架构与项目状态 |-GitHub Dependabot 每周检查 Python、npm 和 GitHub Actions;每个更新 PR 都在 Windows/macOS 上以-Python 3.12 与 3.14 运行正式测试。前端依赖更新后,先安装锁定包:+开始修改前阅读 [工作契约](AGENTS.md)。测试使用临时数据库与临时媒体;在隔离工作树运行正式入口。-```powershell-npm ci --ignore-scripts-```--再从锁定包重建自托管文件和来源哈希:+Windows:运行与当前改动对应的检查:```powershell-npm run vendor:web+& .\scripts\test.ps1```-最后确认仓库里的固定文件与清单一致:+macOS:运行与当前改动对应的检查:-```powershell-npm run check:vendor+```shell+./scripts/test.sh```-这套 Node 工具只用于维护固定前端文件,Peach 页面仍没有运行时构建步骤,也不依赖 CDN。--检查迁移状态并启动本地开发服务:+默认 `auto` 按影响域选测;CI 与发布使用 `full`。前端安装、构建、类型检查与产物提交见+[前端开发](docs/FRONTEND.md)。依赖以项目清单和锁文件为准,Dependabot 每周检查 Python、npm 与 GitHub Actions。-```powershell-& .\.venv\Scripts\peach.exe migrate status-& .\.venv\Scripts\peach.exe serve --port 8900-```--生产托盘、macOS 菜单栏、本地 CA、mDNS 和 ledger 复制的当前入口与限制见 [`docs/STATUS.md`](docs/STATUS.md) 和 [`docs/HANDOFF.md`](docs/HANDOFF.md)。README 不复制易过期的 IP、版本、端口归属或证书状态。+提交问题请附版本、操作步骤、预期与实际结果;不要附带真实账本、媒体、Cookie 或私钥。+安全问题按 [安全政策](SECURITY.md) 报告。-## 主要页面+## 文档-| 路由 | 用途 |+| 要做什么 | 入口 || --- | --- |-| `/` | 首页 |-| `/item/{id}` | 作品详情 |-| `/performers` | 女优索引 |-| `/performers/{name}` | 女优资料 |-| `/creators/{name}` | 创作者资料与图集 |-| `/tags` | 标签管理 |-| `/immerse` | 沉浸模式 |-| `/playlists` | 播放列表 |-| `/follow` | 关注观看 |-| `/follow-manage` | 关注管理与凭据状态 |-| `/review` | 人工复核 |-| `/data-cleanup` | 数据清理总览:垃圾文件、重复文件与空文件夹 |-| `/junk-files` | 垃圾文件分类与判断 |-| `/trash` | 回收站 |-| `/stats` | 统计、网盘资源同步与孤立缓存清理 |-| `/taste` | 口味画像与浏览记录管理 |--`/healthz` 提供无副作用健康状态,`/api/sources` 提供来源可达性。其他 API 契约以实现和测试为准,不在 README 维护容易漂移的端点全集。--在网盘或本地资源目录手动删除文件后,进入「管理 → 统计 → 资源同步」先扫描差异。扫描在后台运行并逐来源显示进度,离开页面不会中断;Peach 只核对已挂载来源,暂时不可读的目录会跳过而不是判成删除。缺失条目先进入回收站,可恢复的账本元数据不会立即丢失。确认同步时会再次核对候选项,并清理不再被正常馆藏使用的截图、海报、图片缩略图、封面和播放缓存;候选 CSV、来源证据、女优头像和厂牌 Logo 不作缓存删除。--媒体包里夹带的推广视频、广告图片、网址快捷方式和其它文件进入「管理 → 数据清理」(`/data-cleanup`)。垃圾文件页按视频、图片、压缩包、音频、网址和其它文件分类;每项都可打开网盘所在位置、移入回收站,也可标记为「不是垃圾」并在「已排除」中撤销。重复文件与垃圾文件共用这个管理入口,空文件夹也从其中的独立 Fieldset 显式清理。顶栏多选支持批量执行当前视图可用的判断或回收操作。Peach 按文件名、推广目录及各类型可用的时长/体积证据列候选,不自动永久删除;从回收站永久删除物理文件后,只会继续删除同一来源根以内随之变空的父目录,来源根本身不会删除。--## 关注与候选--关注管理支持粘贴链接、名称或 ID,也可直接登记 FANBOX、Patreon 和 SubscribeStar 的-官方创作者页。每个渠道的复选框决定它是否参与检查更新;联网只发生在显式查找和检查更新时,-关闭的渠道也不会出现在关注观看页,重新启用后恢复显示。服务启动、健康检查和普通浏览不会联网。-F95zone 站内索引没有命中名称时,结果区会给出对应的 Google 查询入口;Google 结果只供人核对真实线程链接,不会自动登记来源。--Rule34.xxx 标签身份不区分大小写。跨站来源按规范作者归组,F95 标题中的 `Collection(s)` 不属于作者名。-官方主页同时给出唯一作者名与平台账号时,Peach 自动学习该平台别名;已有人工作决定时不覆盖。-只有名称相似而没有官方身份链的情况仍只产生建议,用户确认后才合并;别名可随时移除。作者头像优先从已验证的-官方 FANBOX/Pixiv 页面取得,归档站只作回退。连接器设计与证据见-[`ADR-0019`](docs/adr/0019-site-follow-connectors-and-variant-grouping.md)。--抓到的更新保持 `new` 或 `seen` 候选状态。只有显式保存或在 `/review` 批准后,数据才进入对应 ledger 真相或在线资产。--## 文档入口--- [`AGENTS.md`](AGENTS.md):每次改动都必须遵守的边界和技能索引。-- [`docs/STATUS.md`](docs/STATUS.md):当前运行态与验证结果。-- [`docs/PRODUCT_BACKLOG.md`](docs/PRODUCT_BACKLOG.md):开放需求与待执行的操作。-- [`docs/HANDOFF.md`](docs/HANDOFF.md):跨任务长期有效的事实与工作约定。-- [`docs/REUSE.md`](docs/REUSE.md):新增或替换实现前的复用清单。-- [`docs/adr/`](docs/adr/):架构决定、原因和取舍。-- [`CONTRIBUTING.md`](CONTRIBUTING.md) 与 [`SECURITY.md`](SECURITY.md):参与方式,以及威胁模型与漏洞报告。+| 下载、配置与反馈测试包 | [Windows 测试版](docs/TESTING_DESKTOP.md) |+| 配置媒体、局域网、HTTPS 与同步 | [运行与配置](docs/OPERATIONS.md) |+| 了解采集来源与证据边界 | [来源采集](docs/SOURCING.md) |+| 确认当前运行状态 | [项目状态](docs/STATUS.md) |+| 查看开放需求 | [产品待办](docs/PRODUCT_BACKLOG.md) |+| 修改与维护项目 | [工作契约](AGENTS.md) · [前端开发](docs/FRONTEND.md) · [复用清单](docs/REUSE.md) |+| 了解长期约定与架构 | [交接说明](docs/HANDOFF.md) · [架构决策](docs/adr/) |-## 许可证+README 描述当前主线能力;已安装版本与验证结果以项目状态为准,发行制品以 Releases 为准。+文档迭代方式见 [README 维护](docs/README_MAINTENANCE.md)。-Peach 以 AGPL-3.0-or-later 发布,全文见 [`LICENSE`](LICENSE)。它的实际含义:修改后分发,或修改后作为网络服务-提供给他人,都必须以同一许可证公开源码。+## 许可证-Copyright (C) 2026 longmeidao+[AGPL-3.0-or-later](LICENSE) · Copyright (C) 2026 longmeidao。-固定在仓库里的第三方前端文件各自保留上游许可证,文件与来源哈希在-[`web/vendor/`](web/vendor/)。FFmpeg 不随仓库或构建产物分发,由使用者自行安装并遵守其许可证。+固定的第三方前端文件保留上游许可证与来源记录,见 [web/vendor](web/vendor/)。+FFmpeg 不随仓库或制品分发,使用者需自行安装并遵守其许可证。diff --git a/docs/HANDOFF.md b/docs/HANDOFF.mdindex 605726bdd..ca7b3db62 100644--- a/docs/HANDOFF.md+++ b/docs/HANDOFF.md@@ -1,7 +1,6 @@# Peach 交接与长期工作约定-本文件只保存跨任务长期有效的事实和工作规则,不记录逐次聊天流水。每条判据只写一句,-展开的测量值、命令和事故过程放在技能、参考快照、L2 文档和测试里。+本文件保存长期事实与规则;细节见技能、参考快照、专题文档与测试。## 界面、媒体与复核的既定判据@@ -72,6 +71,8 @@## 参考产品证据登记+- README 提交检查与参考取舍:[维护流程](README_MAINTENANCE.md)。+- 图 3、JavDB:`docs/REUSE.md`。快照、URL、版本、SHA、未取得面与 Peach 的有意差异统一登记在 `docs/reference-sources.json` 和diff --git a/docs/README_MAINTENANCE.md b/docs/README_MAINTENANCE.mdnew file mode 100644index 000000000..ea577f9bb--- /dev/null+++ b/docs/README_MAINTENANCE.md@@ -0,0 +1,44 @@+# README 维护+++README 面向初次访问项目的人,依次解释定位、核心能力、开始使用、数据边界和文档入口。+中英文同批维护,平台支持、安装方式和能力限制保持一致。主线能力、已安装运行态和发行制品分别+以实现、STATUS 和 Releases 为准,README 不填写本机 IP、端口归属、真实馆藏数字或动态版本号。++| 内容 | 核验入口 |+| --- | --- |+| Python 与桌面命令 | `pyproject.toml`、`src/peach/cli.py`、`src/peach/tray.py` |+| 前端工具与产物 | `frontend/package.json`、`docs/FRONTEND.md` |+| 桌面包与平台范围 | `docs/TESTING_DESKTOP.md`、`.github/workflows/release.yml` |+| 当前行为与已部署范围 | 实现与测试、`docs/STATUS.md`、`docs/PRODUCT_BACKLOG.md` |+| 来源、配置与数据边界 | `docs/SOURCING.md`、`docs/OPERATIONS.md` |++README 迭代绑定 Codex 与 Claude 共用的工作树交付流程。每次提交前核对暂存差异,+涉及用户可见能力、安装、平台或构建要求时,同批更新中英文。只改变内部实现时保留 README,+在交付分支最后一个提交的 Git trailer 写明原因:++| 判断 | 提交消息末尾的独立字段 |+| --- | --- |+| 已更新两份 README | `README-Impact: updated; 同步了哪些用户说明` |+| 不影响 README | `README-Impact: none; 具体原因` |++`scripts/check_readme_impact.py` 读取目标分支到交付 HEAD 的实际差异,并使用+`git interpret-trailers --parse` 读取最后提交的声明。涉及运行时代码、前端、迁移、资源、+依赖或安装说明时必须声明;纯测试和其他内部文档不触发。触发清单由脚本统一维护。+README 改动必须包含两种语言;`updated` 必须对应两份实际差异,`none` 不得伴随 README 改动。+提交后的暂存内容不能满足要求。原因的真实性仍由代码审阅负责,脚本不代替语义判断。++`agent_worktree.py ready/integrate` 在接受测试记录前执行这一门槛;漏项由当前智能体直接补齐,+再次验证后交付,不需要用户转述。检查覆盖本次分支交付,不追溯主线历史提交;+允许在最后交付提交统一核对整批差异。它不是 Git 全局 hook,直接 Git 提交不会触发,+但未通过的分支不能经项目入口集成。两个智能体都从 peach-worktree 技能读取流程。+无需定时任务、账号专属 hook 或额外模型调用。Python 下限、文案和快照校验继续复用现有测试。+结构或品牌调整时重读已登记的参考快照,上游变化只作为参考,计划功能不得写成已实现。++## 参考依据++- **README 结构(2026-09-06)**:依据聊天「寻找README范例」并取得 Immich、Bruno、Hoppscotch+ 当前 README 原文,URL、日期与 SHA-256 见 `docs/reference-sources.json` 的 `readme-*` 条目。+ 采用短定位、小尺寸具象 Logo、集中下载导航和精简能力分组;仅沿用 Peach 自有图标,+ 不复制外部商标、截图、功能承诺或宣传内容。上游快照仅为取证,保留原文及上游许可入口。+ Peach 的 SFW 产品截图未取得,因此当前首页不展示产品截图;桌面、手机与深浅色渲染尚需实际浏览器验收。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex 58737ee33..d78fa6a13 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -5,6 +5,15 @@## 复用决策门槛+- README 交付检查复用系统 Git 的 `diff --no-renames -z` 和 `interpret-trailers --parse`,+ 挂到既有 `agent_worktree.py ready/integrate`;Peach 只定义影响文件与双语声明 policy。+ 本机 Git 2.55.0.windows.3(GPL-2.0,持续维护)与 Python 3.12+ 标准库,无新增依赖或运行时体积。+ 已检索当前树与 Git 历史:已有 Python 下限文档测试及工作树门槛,没有 README 影响声明。+ 官方依据为 https://git-scm.com/docs/git-interpret-trailers 和 https://git-scm.com/docs/githooks 。+ 原生 hook 不会随 clone 自动安装,且无法判断文案语义,因此选项目共有交付入口,不加账户专属 hook。+ 真实 Git 临时仓库回归覆盖缺声明、双语缺一、虚假 updated、暂存但未提交、重命名与无影响原因;+ 不写真实 ledger,不改生产。维护流程见 HANDOFF「README 维护」。+- 发行身份继续复用 Javinizer-Go v1.5.1 与 Seesaa 原始 DTO;数字前缀等价属于 Peach 领域 policy,不新增依赖。真实 r18dev 快照中请求 `390JAC-040` 却返回 `JAC-040`/`118jac040`;Jackson 表中两者是不同商品行。查询回退不能承担身份确认;所有响应按原始查询检查,MGStage 官方详情路径可佐证展示编号别名。diff --git a/docs/reference-snapshots/upstream/readme-bruno.md b/docs/reference-snapshots/upstream/readme-bruno.mdnew file mode 100644index 000000000..9d78ea58d--- /dev/null+++ b/docs/reference-snapshots/upstream/readme-bruno.md@@ -0,0 +1,224 @@+<br />+<img src="assets/images/logo-transparent.png" width="80"/>++### Bruno - Opensource IDE for exploring and testing APIs.++[](https://badge.fury.io/gh/usebruno%2Fbruno)+[](https://github.com/usebruno/bruno/actions/workflows/tests.yml)+[](https://github.com/usebruno/bruno/pulse)+[](https://twitter.com/use_bruno)+[](https://www.usebruno.com)+[](https://www.usebruno.com/downloads)++**English**+| [Українська](docs/readme/readme_ua.md)+| [Русский](docs/readme/readme_ru.md)+| [Türkçe](docs/readme/readme_tr.md)+| [Deutsch](docs/readme/readme_de.md)+| [Français](docs/readme/readme_fr.md)+| [Português (BR)](docs/readme/readme_pt_br.md)+| [한국어](docs/readme/readme_kr.md)+| [বাংলা](docs/readme/readme_bn.md)+| [Español](docs/readme/readme_es.md)+| [Italiano](docs/readme/readme_it.md)+| [Română](docs/readme/readme_ro.md)+| [Polski](docs/readme/readme_pl.md)+| [简体中文](docs/readme/readme_cn.md)+| [正體中文](docs/readme/readme_zhtw.md)+| [العربية](docs/readme/readme_ar.md)+| [日本語](docs/readme/readme_ja.md)+| [ქართული](docs/readme/readme_ka.md)+| [Nederlands](docs/readme/readme_nl.md)+| [فارسی](docs/readme/readme_fa.md)++Bruno is a new and innovative API client, aimed at revolutionizing the status quo represented by Postman and similar tools out there.++Bruno stores your collections directly in a folder on your filesystem. We use a plain text markup language, Bru, to save information about API requests.++You can use Git or any version control of your choice to collaborate over your API collections.++Bruno is offline-only. There are no plans to add cloud-sync to Bruno, ever. We value your data privacy and believe it should stay on your device. Read our long-term vision [here](https://github.com/usebruno/bruno/discussions/269)++[Download Bruno](https://www.usebruno.com/downloads)++📢 Watch our recent talk at India FOSS 3.0 Conference [here](https://www.youtube.com/watch?v=7bSMFpbcPiY)+++ <br /><br />++## Commercial Versions ✨++Majority of our features are free and open source.+We strive to strike a harmonious balance between [open-source principles and sustainability](https://github.com/usebruno/bruno/discussions/269)++You can explore our [paid versions](https://www.usebruno.com/pricing) to see if there are additional features that you or your team may find useful! <br/>++## Table of Contents++- [Installation](#installation)+- [Bruno CLI](#bruno-cli)+- [Run with Docker](#run-with-docker)+- [Features](#features)+ - [Run across multiple platforms 🖥️](#run-across-multiple-platforms-%EF%B8%8F)+ - [Collaborate via Git 👩💻🧑💻](#collaborate-via-git-%E2%80%8D%E2%80%8D)+- [Important Links 📌](#important-links-)+- [Showcase 🎥](#showcase-)+- [Share Testimonials 📣](#share-testimonials-)+- [Publishing to New Package Managers](#publishing-to-new-package-managers)+- [Stay in touch 🌐](#stay-in-touch-)+- [Trademark](#trademark)+- [Contribute 👩💻🧑💻](#contribute-%E2%80%8D%E2%80%8D)+- [Authors](#authors)+- [License 📄](#license-)++## Installation++Bruno is available as binary download [on our website](https://www.usebruno.com/downloads) for Mac, Windows and Linux.++You can also install Bruno via package managers like Homebrew, Chocolatey, Scoop, Snap, Flatpak and Apt.++```sh+# On Mac via Homebrew+brew install bruno++# On Windows via Chocolatey+choco install bruno++# On Windows via Scoop+scoop bucket add extras+scoop install bruno++# On Windows via winget+winget install Bruno.Bruno++# On Linux via Snap+snap install bruno++# On Linux via Flatpak+flatpak install com.usebruno.Bruno++# On Arch Linux via AUR+yay -S bruno++# On Linux via Apt+sudo mkdir -p /etc/apt/keyrings+sudo apt update && sudo apt install gpg curl+curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x9FA6017ECABE0266" \+ | gpg --dearmor \+ | sudo tee /etc/apt/keyrings/bruno.gpg > /dev/null+sudo chmod 644 /etc/apt/keyrings/bruno.gpg+echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/bruno.gpg] http://debian.usebruno.com/ bruno stable" \+ | sudo tee /etc/apt/sources.list.d/bruno.list+sudo apt update && sudo apt install bruno+```++## Bruno CLI++The **Bruno CLI** lets you run your API collections from the command line, which is ideal for automated testing and CI/CD pipelines. Install it from npm using the package manager of your choice:++```sh+npm install -g @usebruno/cli+```++Navigate to the directory containing your collection and run it:++```sh+# Run every request in the collection+bru run++# Run a single request+bru run request.bru++# Run a folder against a specific environment+bru run folder --env Local+```++For the full command reference, see the [Bruno CLI documentation](https://docs.usebruno.com/bru-cli/overview).++## Run with Docker++Official Docker images for the **Bruno CLI** let you run API collections in CI/CD pipelines and locally without installing Node.js or npm on the host. Images are published to both [Docker Hub](https://hub.docker.com/r/usebruno/cli) and the [GitHub Container Registry](https://ghcr.io/usebruno/cli) on every CLI release, with `alpine` and `debian` variants for `linux/amd64` and `linux/arm64`.++```sh+# Pull from Docker Hub+docker pull usebruno/cli:latest++# Or pull from the GitHub Container Registry+docker pull ghcr.io/usebruno/cli:latest++# Run a collection by mounting the current directory+docker run -v $(pwd):/bruno usebruno/cli run+```++For variants, tag matrix, environment files, and CI examples (GitHub Actions, GitLab CI, Jenkins), see the full [Bruno CLI Docker documentation](https://docs.usebruno.com/bru-cli/docker).++## Features++### Run across multiple platforms 🖥️++ <br /><br />++### Collaborate via Git 👩💻🧑💻++Or any version control system of your choice++ <br /><br />++## Important Links 📌++- [Our Long Term Vision](https://github.com/usebruno/bruno/discussions/269)+- [Roadmap](https://www.usebruno.com/roadmap)+- [Documentation](https://docs.usebruno.com)+- [Stack Overflow](https://stackoverflow.com/questions/tagged/bruno)+- [Website](https://www.usebruno.com)+- [Pricing](https://www.usebruno.com/pricing)+- [Download](https://www.usebruno.com/downloads)++## Showcase 🎥++- [Testimonials](https://github.com/usebruno/bruno/discussions/343)+- [Knowledge Hub](https://github.com/usebruno/bruno/discussions/386)+- [Scriptmania](https://github.com/usebruno/bruno/discussions/385)++## Share Testimonials 📣++If Bruno has helped you at work and your teams, please don't forget to share your [testimonials on our GitHub discussion](https://github.com/usebruno/bruno/discussions/343)++## Publishing to New Package Managers++Please see [here](publishing.md) for more information.++## Stay in touch 🌐++[𝕏 (Twitter)](https://twitter.com/use_bruno) <br />+[Website](https://www.usebruno.com) <br />+[Discord](https://discord.com/invite/KgcZUncpjq) <br />+[LinkedIn](https://www.linkedin.com/company/usebruno)++## Trademark++**Name**++`Bruno` is a trademark held by [Anoop M D](https://www.helloanoop.com/)++**Logo**++The logo is sourced from [OpenMoji](https://openmoji.org/library/emoji-1F436/). License: CC [BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)++## Contribute 👩💻🧑💻++I am happy that you are looking to improve bruno. Please check out the [contributing guide](contributing.md)++Even if you are not able to make contributions via code, please don't hesitate to file bugs and feature requests that needs to be implemented to solve your use case.++## Authors++<div align="center">+ <a href="https://github.com/usebruno/bruno/graphs/contributors">+ <img src="https://contrib.rocks/image?repo=usebruno/bruno" />+ </a>+</div>++## License 📄++[MIT](license.md)diff --git a/docs/reference-snapshots/upstream/readme-hoppscotch.md b/docs/reference-snapshots/upstream/readme-hoppscotch.mdnew file mode 100644index 000000000..ffe946ee4--- /dev/null+++ b/docs/reference-snapshots/upstream/readme-hoppscotch.md@@ -0,0 +1,299 @@+<div align="center">+ <a href="https://hoppscotch.io">+ <img+ src="https://avatars.githubusercontent.com/u/56705483"+ alt="Hoppscotch"+ height="64"+ />+ </a>+ <h3>+ <b>+ Hoppscotch+ </b>+ </h3>+ <b>+ Open Source API Development Ecosystem+ </b>+ <p>++[](CODE_OF_CONDUCT.md) [](https://hoppscotch.io) [](https://github.com/hoppscotch/hoppscotch/actions) [](https://x.com/share?text=%F0%9F%91%BD%20Hoppscotch%20%E2%80%A2%20Open%20source%20API%20development%20ecosystem%20-%20Helps%20you%20create%20requests%20faster,%20saving%20precious%20time%20on%20development.&url=https://hoppscotch.io&hashtags=hoppscotch&via=hoppscotch_io)++ </p>+ <p>+ <sub>+ Built with ❤︎ by+ <a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors">+ contributors+ </a>+ </sub>+ </p>+ <br />+ <p>+ <a href="https://hoppscotch.io">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="./packages/hoppscotch-common/public/images/banner-dark.png">+ <source media="(prefers-color-scheme: light)" srcset="./packages/hoppscotch-common/public/images/banner-light.png">+ <img alt="Hoppscotch" src="./packages/hoppscotch-common/public/images/banner-dark.png">+ </picture>+ </a>+ </p>+</div>++_We highly recommend you take a look at the [**Hoppscotch Documentation**](https://docs.hoppscotch.io) to learn more about the app._++#### **Support**++[](https://hoppscotch.io/discord) [](https://hoppscotch.io/telegram) [](https://github.com/hoppscotch/hoppscotch/discussions)++### **Features**++❤️ **Lightweight:** Crafted with minimalistic UI design.++⚡️ **Fast:** Send requests and get responses in real time.++🗄️ **HTTP Methods:** Request methods define the type of action you are requesting to be performed.++- `GET` - Requests retrieve resource information+- `POST` - The server creates a new entry in a database+- `PUT` - Updates an existing resource+- `PATCH` - Very similar to `PUT` but makes a partial update on a resource+- `DELETE` - Deletes resource or related component+- `HEAD` - Retrieve response headers identical to those of a GET request, but without the response body.+- `CONNECT` - Establishes a tunnel to the server identified by the target resource+- `OPTIONS` - Describe the communication options for the target resource+- `TRACE` - Performs a message loop-back test along the path to the target resource+- `<custom>` - Some APIs use custom request methods such as `LIST`. Type in your custom methods.++🌈 **Theming:** Customizable combinations for background, foreground, and accent colors — [customize now](https://hoppscotch.io/settings).++- Choose a theme: System preference, Light, Dark, and Black+- Choose accent colors: Green, Teal, Blue, Indigo, Purple, Yellow, Orange, Red, and Pink+- Distraction-free Zen mode++_Customized themes are synced with your cloud/local session._++🔥 **PWA:** Install as a [Progressive Web App](https://web.dev/progressive-web-apps) on your device.++- Instant loading with Service Workers+- Offline support+- Low RAM/memory and CPU usage+- Add to Home Screen+- Desktop PWA++🚀 **Request:** Retrieve response from endpoint instantly.++1. Choose `method`+2. Enter `URL`+3. Send++- Copy/share public "Share URL"+- Generate/copy request code snippets for 10+ languages and frameworks+- Import `cURL`+- Label requests++🔌 **WebSocket:** Establish full-duplex communication channels over a single TCP connection.++📡 **Server-Sent Events:** Receive a stream of updates from a server over an HTTP connection without resorting to polling.++🌩 **Socket.IO:** Send and Receive data with the SocketIO server.++🦟 **MQTT:** Subscribe and Publish to topics of an MQTT Broker.++🔮 **GraphQL:** GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.++- Set endpoint and get schema+- Multi-column docs+- Set custom request headers+- Query schema+- Get query response++🔐 **Authorization:** Allows to identify the end-user.++- None+- Basic+- Bearer Token+- OAuth 2.0+- OIDC Access Token/PKCE++📢 **Headers:** Describes the format the body of your request is being sent in.++📫 **Parameters:** Use request parameters to set varying parts in simulated requests.++📃 **Request Body:** Used to send and receive data via the REST API.++- Set `Content Type`+- FormData, JSON, and many more+- Toggle between key-value and RAW input parameter list++📮 **Response:** Contains the status line, headers, and the message/response body.++- Copy the response to the clipboard+- Download the response as a file+- View response headers+- View raw and preview HTML, image, JSON, and XML responses++⏰ **History:** Request entries are synced with your cloud/local session storage.++📁 **Collections:** Keep your API requests organized with collections and folders. Reuse them with a single click.++- Unlimited collections, folders, and requests+- Nested folders+- Export and import as a file or GitHub gist++_Collections are synced with your cloud/local session storage._++📜 **Pre-Request Scripts:** Snippets of code associated with a request that is executed before the request is sent.++- Set environment variables+- Include timestamp in the request headers+- Send a random alphanumeric string in the URL parameters+- Any JavaScript functions++👨👩👧👦 **Teams:** Helps you collaborate across your teams to design, develop, and test APIs faster.++- Create unlimited teams+- Create unlimited shared collections+- Create unlimited team members+- Role-based access control+- Cloud sync+- Multiple devices++👥 **Workspaces:** Organize your personal and team collections environments into workspaces. Easily switch between workspaces to manage multiple projects.++- Create unlimited workspaces+- Switch between personal and team workspaces++⌨️ **Keyboard Shortcuts:** Optimized for efficiency.++> **[Read our documentation on Keyboard Shortcuts](https://docs.hoppscotch.io/documentation/features/shortcuts)**++🌐 **Proxy:** Enable Proxy Mode from Settings to access blocked APIs.++- Hide your IP address+- Fixes [`CORS`](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) (Cross-Origin Resource Sharing) issues+- Access APIs served in non-HTTPS (`http://`) endpoints+- Use your Proxy URL++_Official proxy server is hosted by Hoppscotch - **[GitHub](https://github.com/hoppscotch/proxyscotch)** - **[Privacy Policy](https://docs.hoppscotch.io/support/privacy)**._++🌎 **i18n:** Experience the app in your language.++Help us to translate Hoppscotch. Please read [`TRANSLATIONS`](TRANSLATIONS.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md) and the process for submitting pull requests to us.++☁️ **Auth + Sync:** Sign in and sync your data in real-time across all your devices.++**Sign in with:**++- GitHub+- Microsoft+- SSO (Single Sign-On)[^EE]++**🔄 Synchronize your data:** Handoff to continue tasks on your other devices.++- Workspaces+- History+- Collections+- Environments+- Settings++✅ **Post-Request Tests:** Write tests associated with a request that is executed after the request's response.++- Check the status code as an integer+- Filter response headers+- Parse the response data+- Set environment variables+- Write JavaScript code++🌱 **Environments:** Environment variables allow you to store and reuse values in your requests and scripts.++- Unlimited environments and variables+- Initialize through the pre-request script+- Export as / import from GitHub gist++<details>+ <summary><i>Use-cases</i></summary>++---++- By storing a value in a variable, you can reference it throughout your request section+- If you need to update the value, you only have to change it in one place+- Using variables increases your ability to work efficiently and minimizes the likelihood of error++---++</details>++🚚 **Bulk Edit:** Edit key-value pairs in bulk.++- Entries are separated by newline+- Keys and values are separated by `:`+- Prepend `#` to any row you want to add but keep disabled++🎛️ **Admin dashboard:** Manage your team and invite members.++- Insights+- Manage users+- Manage teams++📦 **Add-ons:** Official add-ons for hoppscotch.++- **[Hoppscotch CLI](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-cli)** - Command-line interface for Hoppscotch.+- **[Proxy](https://github.com/hoppscotch/proxyscotch)** - A simple proxy server created for Hoppscotch.+- **[Browser Extensions](https://github.com/hoppscotch/hoppscotch-extension)** - Browser extensions that enhance your Hoppscotch experience.++ [ **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/hoppscotch) | [ **Chrome**](https://chrome.google.com/webstore/detail/hoppscotch-extension-for-c/amknoiejhlmhancpahfcfcfhllgkpbld)++ > **Extensions fix `CORS` issues.**++_Add-ons are developed and maintained under **[Hoppscotch Organization](https://github.com/hoppscotch)**._++**For a complete list of features, please read our [documentation](https://docs.hoppscotch.io).**++## **Demo**++- Web : [hoppscotch.io](https://hoppscotch.io)+- Windows/Linux/macOS : [Desktop Apps](https://docs.hoppscotch.io/documentation/clients/desktop#download-hoppscotch-desktop-app)++## Usage++1. Provide your API endpoint in the URL field+2. Click "Send" to simulate the request+3. View the response++## Developing++Follow our [self-hosting documentation](https://docs.hoppscotch.io/documentation/self-host/getting-started) to get started with the development environment.++## Contributing++Please contribute using [GitHub Flow](https://guides.github.com/introduction/flow). Create a branch, add commits, and [open a pull request](https://github.com/hoppscotch/hoppscotch/compare).++Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md), and the process for submitting pull requests to us.++## Continuous Integration++We use [GitHub Actions](https://github.com/features/actions) for continuous integration. Check out our [build workflows](https://github.com/hoppscotch/hoppscotch/actions).++## Changelog++See the [`CHANGELOG`](CHANGELOG.md) file for details.++## Authors++This project owes its existence to the collective efforts of all those who contribute — [contribute now](CONTRIBUTING.md).++<div align="center">+ <a href="https://github.com/hoppscotch/hoppscotch/graphs/contributors">+ <img src="https://opencollective.com/hoppscotch/contributors.svg?width=840&button=false"+ alt="Contributors"+ width="100%" />+ </a>+</div>++## License++This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) — see the [`LICENSE`](LICENSE) file for details.++[^EE]: Enterprise edition feature. [Learn more](https://docs.hoppscotch.io/documentation/self-host/getting-started).diff --git a/docs/reference-snapshots/upstream/readme-immich.md b/docs/reference-snapshots/upstream/readme-immich.mdnew file mode 100644index 000000000..ba774d44c--- /dev/null+++ b/docs/reference-snapshots/upstream/readme-immich.md@@ -0,0 +1,125 @@+<p align="center">+ <br/>+ <a href="https://opensource.org/license/agpl-v3"><img src="https://img.shields.io/badge/License-AGPL_v3-blue.svg?color=3F51B5&style=for-the-badge&label=License&logoColor=000000&labelColor=ececec" alt="License: AGPLv3"></a>+ <a href="https://discord.immich.app">+ <img src="https://img.shields.io/discord/979116623879368755.svg?label=Discord&logo=Discord&style=for-the-badge&logoColor=000000&labelColor=ececec" alt="Discord"/>+ </a>+ <br/>+ <br/>+</p>++<p align="center">+<img src="design/immich-logo-stacked-light.svg" width="300" title="Login With Custom URL">+</p>+<h3 align="center">High performance self-hosted photo and video management solution</h3>+<br/>+<a href="https://immich.app">+<img src="design/immich-screenshots.png" title="Main Screenshot">+</a>+<br/>++<p align="center">+ <a href="readme_i18n/README_ca_ES.md">Català</a>+ <a href="readme_i18n/README_es_ES.md">Español</a>+ <a href="readme_i18n/README_fr_FR.md">Français</a>+ <a href="readme_i18n/README_it_IT.md">Italiano</a>+ <a href="readme_i18n/README_ja_JP.md">日本語</a>+ <a href="readme_i18n/README_ko_KR.md">한국어</a>+ <a href="readme_i18n/README_de_DE.md">Deutsch</a>+ <a href="readme_i18n/README_nl_NL.md">Nederlands</a>+ <a href="readme_i18n/README_tr_TR.md">Türkçe</a>+ <a href="readme_i18n/README_zh_CN.md">简体中文</a>+ <a href="readme_i18n/README_zh_TW.md">正體中文</a>+ <a href="readme_i18n/README_uk_UA.md">Українська</a>+ <a href="readme_i18n/README_ru_RU.md">Русский</a>+ <a href="readme_i18n/README_bg_BG.md">Български</a>+ <a href="readme_i18n/README_pt_BR.md">Português Brasileiro</a>+ <a href="readme_i18n/README_sv_SE.md">Svenska</a>+ <a href="readme_i18n/README_ar_JO.md">العربية</a>+ <a href="readme_i18n/README_vi_VN.md">Tiếng Việt</a>+ <a href="readme_i18n/README_th_TH.md">ภาษาไทย</a>+ <a href="readme_i18n/README_ml_IN.md">മലയാളം</a>+</p>+++> [!WARNING]+> ⚠️ Always follow [3-2-1](https://www.backblaze.com/blog/the-3-2-1-backup-strategy/) backup plan for your precious photos and videos!+>+++> [!NOTE]+> You can find the main documentation, including installation guides, at https://immich.app/.++## Links++- [Documentation](https://docs.immich.app/)+- [About](https://docs.immich.app/overview/introduction)+- [Installation](https://docs.immich.app/install/requirements)+- [Roadmap](https://immich.app/roadmap)+- [Demo](#demo)+- [Features](#features)+- [Translations](https://docs.immich.app/developer/translations)+- [Contributing](https://docs.immich.app/overview/support-the-project)++## Demo++Access the demo [here](https://demo.immich.app). For the mobile app, you can use `https://demo.immich.app` for the `Server Endpoint URL`.++### Login credentials++| Email | Password |+| --------------- | -------- |+| [email protected] | demo |++## Features++| Features | Mobile | Web |+| :------------------------------------------- | ------ | --- |+| Upload and view videos and photos | Yes | Yes |+| Auto backup when the app is opened | Yes | N/A |+| Prevent duplication of assets | Yes | Yes |+| Selective album(s) for backup | Yes | N/A |+| Download photos and videos to local device | Yes | Yes |+| Multi-user support | Yes | Yes |+| Album and Shared albums | Yes | Yes |+| Scrubbable/draggable scrollbar | Yes | Yes |+| Support raw formats | Yes | Yes |+| Metadata view (EXIF, map) | Yes | Yes |+| Search by metadata, objects, faces, and CLIP | Yes | Yes |+| Administrative functions (user management) | No | Yes |+| Background backup | Yes | N/A |+| Virtual scroll | Yes | Yes |+| OAuth support | Yes | Yes |+| API Keys | N/A | Yes |+| LivePhoto/MotionPhoto backup and playback | Yes | Yes |+| Support 360 degree image display | No | Yes |+| User-defined storage structure | Yes | Yes |+| Public Sharing | Yes | Yes |+| Archive and Favorites | Yes | Yes |+| Global Map | Yes | Yes |+| Partner Sharing | Yes | Yes |+| Facial recognition and clustering | Yes | Yes |+| Memories (x years ago) | Yes | Yes |+| Offline support | Yes | No |+| Read-only gallery | Yes | Yes |+| Stacked Photos | Yes | Yes |+| Tags | No | Yes |+| Folder View | Yes | Yes |++## Translations++Read more about translations [here](https://docs.immich.app/developer/translations).++<a href="https://hosted.weblate.org/engage/immich/">+<img src="https://hosted.weblate.org/widget/immich/immich/multi-auto.svg" alt="Translation status" />+</a>++## Repository activity++++## Contributors++<a href="https://github.com/immich-app/immich/graphs/contributors">+ <img src="https://contrib.rocks/image?repo=immich-app/immich" width="100%"/>+</a>diff --git a/docs/reference-sources.json b/docs/reference-sources.jsonindex ef48155a6..60c6de8e1 100644--- a/docs/reference-sources.json+++ b/docs/reference-sources.json@@ -273,6 +273,45 @@"web/app.js","tests/test_web_ui.py"]+ },+ {+ "id": "readme-immich",+ "name": "immich README",+ "url": "https://raw.githubusercontent.com/immich-app/immich/main/README.md",+ "snapshot": "docs/reference-snapshots/upstream/readme-immich.md",+ "checked_on": "2026-09-06",+ "sha256": "27b511ae6ee3be2295c4c1e0674dd0ac5b0c6023d9fdd9187869b1605ff56fad",+ "role": "短定位、下载与文档入口、精简功能层级;Peach 仅借鉴信息结构。",+ "consumers": [+ "README.md",+ "README.en.md"+ ]+ },+ {+ "id": "readme-bruno",+ "name": "bruno README",+ "url": "https://raw.githubusercontent.com/usebruno/bruno/main/readme.md",+ "snapshot": "docs/reference-snapshots/upstream/readme-bruno.md",+ "checked_on": "2026-09-06",+ "sha256": "9c58f675282a73a8c7f2a0a740799743b50a654d60dafc114fdd11060ed8a039",+ "role": "小尺寸具象 Logo 配短介绍;Peach 使用自己的桃形 Logo,不复制上游品牌素材。",+ "consumers": [+ "README.md",+ "README.en.md"+ ]+ },+ {+ "id": "readme-hoppscotch",+ "name": "hoppscotch README",+ "url": "https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/README.md",+ "snapshot": "docs/reference-snapshots/upstream/readme-hoppscotch.md",+ "checked_on": "2026-09-06",+ "sha256": "f943825e526b79841882127fbf6a3c043359efd1ca6f47794c851f827a6373b4",+ "role": "集中导航与图片替代文本;Peach 统一三枚 flat 徽章,不复制长功能清单。",+ "consumers": [+ "README.md",+ "README.en.md"+ ]}]}diff --git a/scripts/agent_worktree.py b/scripts/agent_worktree.pyindex 97b03aee0..6ee5b77ef 100644--- a/scripts/agent_worktree.py+++ b/scripts/agent_worktree.py@@ -15,7 +15,7 @@ from pathlib import Pathif not __package__:sys.path.insert(0, str(Path(__file__).resolve().parents[1]))__package__ = "scripts"-from . import test_evidence, test_runner+from . import check_readme_impact, test_evidence, test_runner#: Claude Code 内置工作树的落点。分支集成后它自己不收:目录留在主检出里,成了一份看不出#: 区别的旧副本(见 CLAUDE.md)。`tests/test_repo_hygiene.py` 拦得住,但拦住之后没有任何@@ -197,6 +197,9 @@ def require_verified(worker: Path, target_branch: str, paths: Iterable[str]) ->raise WorkspaceError("验证工作树必须干净")if _git(worker, "merge-base", "--is-ancestor", target_branch, "HEAD", check=False).returncode:raise WorkspaceError("目标分支已前进;请在工作树 rebase 后运行 auto 验证")+ problems = check_readme_impact.check(worker, target_branch)+ if problems:+ raise WorkspaceError("; ".join(problems))scopes, _ = test_runner.scopes_for_changes(paths)state = test_evidence.key(worker)if not test_evidence.covers(test_evidence.read(worker, state), scopes):diff --git a/scripts/check_readme_impact.py b/scripts/check_readme_impact.pynew file mode 100644index 000000000..d827dca6f--- /dev/null+++ b/scripts/check_readme_impact.py@@ -0,0 +1,48 @@+"""核对一次分支交付的 README 影响声明。"""++from __future__ import annotations++import subprocess+from pathlib import Path++READMES = {"README.md", "README.en.md"}+PREFIXES = ("src/peach/", "web/", "frontend/", "migrations/", "resources/")+FILES = {+ "pyproject.toml", "package.json", "package-lock.json",+ ".github/workflows/release.yml", "docs/FRONTEND.md",+ "docs/TESTING_DESKTOP.md", "docs/OPERATIONS.md", "docs/SOURCING.md",+ "scripts/build_windows.ps1", "scripts/build_app_entry.py",+}+++def git(repo: Path, *args: str, message: str | None = None) -> str:+ return subprocess.run(+ ["git", "-C", str(repo), *args], input=message, capture_output=True,+ text=True, encoding="utf-8", check=True,+ ).stdout+++def check(repo: Path, base: str, head: str = "HEAD") -> list[str]:+ """以实际交付差异和最后提交的 Git trailer 为依据。"""+ paths = set(git(repo, "diff", "--name-only", "--no-renames", "-z",+ base, head).rstrip("\0").split("\0")) - {""}+ touched = paths & READMES+ relevant = any(path in FILES or path.startswith(PREFIXES) for path in paths)+ if not touched and not relevant:+ return []+ message = git(repo, "show", "-s", "--format=%B", head)+ trailers = git(repo, "interpret-trailers", "--parse", message=message)+ values = [line.partition(":")[2].strip() for line in trailers.splitlines()+ if line.partition(":")[0].casefold() == "readme-impact"]+ if len(values) != 1:+ return ["交付提交须有唯一 README-Impact: updated; 说明 或 README-Impact: none; 原因"]+ status, separator, reason = values[0].partition(";")+ if status not in {"updated", "none"} or not separator or not reason.strip():+ return ["README-Impact 需使用 updated/none,并在英文分号后写具体原因"]+ if touched and touched != READMES:+ return ["README.md 与 README.en.md 必须同批维护"]+ if status == "updated" and touched != READMES:+ return ["README-Impact 声明 updated,但交付差异未包含两份 README"]+ if status == "none" and touched:+ return ["README-Impact 声明 none,但交付差异包含 README"]+ return []diff --git a/tests/test_agent_worktree.py b/tests/test_agent_worktree.pyindex e9958fd00..a58efadae 100644--- a/tests/test_agent_worktree.py+++ b/tests/test_agent_worktree.py@@ -392,3 +392,86 @@ class VersionBumpTests(AgentWorktreeTests):self.assertEqual(report["version"], "0.7.15")self.assertEqual(report["release_tag_entry"], "scripts/release_tag.py")self.assertEqual(_lines(_git(self.repo, "tag", "--list")), [])+++from scripts.check_readme_impact import check, git+++class ReadmeImpactTests(unittest.TestCase):+ def setUp(self):+ self.temp = tempfile.TemporaryDirectory()+ self.addCleanup(self.temp.cleanup)+ self.repo = Path(self.temp.name).resolve()+ git(self.repo, "init", "-b", "master")+ git(self.repo, "config", "user.name", "Test")+ git(self.repo, "config", "user.email", "[email protected]")+ self.save("README.md", "中文")+ self.save("README.en.md", "English")+ git(self.repo, "commit", "-m", "base")+ self.base = git(self.repo, "rev-parse", "HEAD").strip()+ git(self.repo, "checkout", "-b", "worker")++ def save(self, name, content):+ path = self.repo / name+ path.parent.mkdir(parents=True, exist_ok=True)+ path.write_text(content, encoding="utf-8")+ git(self.repo, "add", "--", name)++ def commit(self, trailer=""):+ git(self.repo, "commit", "-m", "测试", "-m", trailer)+ return check(self.repo, self.base)++ def test_runtime_change_requires_review(self):+ self.save("src/peach/example.py", "x = 1")+ self.assertTrue(self.commit())++ def test_internal_change_accepts_explained_none(self):+ self.save("src/peach/example.py", "x = 1")+ self.assertEqual(self.commit("README-Impact: none; 内部缓存实现,使用方式不变"), [])++ def test_updated_requires_both_languages(self):+ self.save("README.md", "新内容")+ self.assertTrue(self.commit("README-Impact: updated; 功能说明"))++ def test_bilingual_update_accepts_review(self):+ self.save("README.md", "新内容")+ self.save("README.en.md", "New content")+ self.assertEqual(self.commit("README-Impact: updated; 功能说明"), [])++ def test_none_cannot_describe_document_changes(self):+ self.save("README.md", "新内容")+ self.save("README.en.md", "New content")+ self.assertTrue(self.commit("README-Impact: none; 内部改动"))++ def test_test_only_change_needs_no_declaration(self):+ self.save("tests/example.py", "x = 1")+ self.assertEqual(self.commit(), [])++ def test_uncommitted_readme_does_not_satisfy_review(self):+ self.save("frontend/package.json", "{}")+ self.commit("README-Impact: updated; 工具要求")+ self.save("README.md", "新内容")+ self.save("README.en.md", "New content")+ self.assertTrue(check(self.repo, self.base))++ def test_missing_reason_and_duplicate_trailers_are_rejected(self):+ self.save("web/app.js", "x = 1")+ for trailer in ("README-Impact: none;",+ "README-Impact: none; 原因\nREADME-Impact: updated; 原因"):+ git(self.repo, "commit", "--allow-empty", "-m", "测试", "-m", trailer)+ self.assertTrue(check(self.repo, self.base))++ def test_deletion_and_rename_trigger_review(self):+ self.save("src/peach/example.py", "x = 1")+ self.commit("README-Impact: none; 内部实现")+ self.base = git(self.repo, "rev-parse", "HEAD").strip()+ git(self.repo, "mv", "src/peach/example.py", "example.txt")+ self.assertTrue(self.commit())++ def test_gate_rejects_before_accepting_verification(self):+ self.save("web/app.js", "x = 1")+ self.commit()+ with mock.patch.object(agent_worktree.test_evidence, "key") as key:+ with self.assertRaisesRegex(agent_worktree.WorkspaceError, "README"):+ agent_worktree.require_verified(self.repo, "master", {"web/app.js"})+ key.assert_not_called()diff --git a/tests/test_reference_updates.py b/tests/test_reference_updates.pyindex 81773cdb0..68998a923 100644--- a/tests/test_reference_updates.py+++ b/tests/test_reference_updates.py@@ -28,7 +28,8 @@ class ReferenceUpdateTests(unittest.TestCase):sources = {source["id"]: source for source in registry["sources"]}self.assertEqual(set(sources),- {"vercel-report-design", "vercel-web-interface-guidelines",+ {"readme-immich", "readme-bruno", "readme-hoppscotch",+ "vercel-report-design", "vercel-web-interface-guidelines","fiu758-studio-logo-discovery", "rule34-follow-tags-and-collections","f95-masked-gofile-media", "follow-fanbox-gofile-paheal","fanbox-browser-transport", "beeg-profile-layout",diff --git a/tests/test_test_evidence.py b/tests/test_test_evidence.pyindex 31481cbed..aee53fcc8 100644--- a/tests/test_test_evidence.py+++ b/tests/test_test_evidence.py@@ -40,8 +40,10 @@ class VerificationTests(unittest.TestCase):item = coordinator.create(self.repo, "codex", "verification", self.root / "worktrees")worker = Path(item["path"])(worker / "README.md").write_text("测试内容\n", encoding="utf-8")- evidence.git(worker, "add", "README.md")- evidence.git(worker, "commit", "-m", "docs: test")+ (worker / "README.en.md").write_text("Test content\n", encoding="utf-8")+ evidence.git(worker, "add", "README.md", "README.en.md")+ evidence.git(worker, "commit", "-m", "docs: test",+ "-m", "README-Impact: updated; 测试文档")return worker, item["branch"]def certify(self, worker, scopes=("checks",), success=True):