Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 939897c3946c6e1a056b51aa387288471d264245
parent f9d1a3e50e7b27970df1188340eb1a10d4510fdb
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 18 Nov 2026 08:20:24 -0500

plans: x-trending slice 3, as built

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mplans/x-trending.md | 32++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/plans/x-trending.md b/plans/x-trending.md @@ -178,10 +178,34 @@ These are rulings, not reasons. A later ruling overturns an earlier one only whe `watch-trending {"settings"}` sets them. A watched topic's media that failed (a 403, a 404) is not asked for again by the watch; keeping the post asks again. -## Slice 3: the judge view - -umtool's Posts library page: by topic, filters by state, media type and author, bulk actions, keyboard -friendly, judgements through the editor's `judge-trending`; the purge button and its `pnpm ops` twin. +## Slice 3, as built: the judge view (lane `lane/posts-library`) + +- **The page** is umtool's `/tools/library` (`umtool/app/tools/library/page.tsx`, + `components/tools/library/LibraryView.tsx`): topics, the posts of a view drawn with the archive viewer's + body (`common/components/PostBody.tsx`, split out of `PostModal.tsx`), Keep / Drop / Later / Clear per post + or thread, a note, a selection, bulk over the filter, undo, keys, filters in the URL, a Watch switch, Mark + seen and the purge. It reads THROUGH THE EDITOR (`umtool/lib/library/load.ts`) and every press is the + editor's action with `by: "operator"` stamped on umtool's server (`umtool/lib/library/presses.mjs`; a `by` + in the body is not read). umtool writes no file of a library and asks X nothing. +- **The listing** (`listXTrending`, `GET /api/ops/trending`) takes a filter, `offset`, `ids` and `detail`, and + with no `slug` lists the libraries. Asked as before it answers as before: the MCP's tools and `get trending` + are unchanged. +- **The purge** (`common/lib/xTrending/purge.ts`, `purge-trending`): dropped posts only, a dry run whose walk + is the removal's, a digest of the exact posts the removal must carry, the operator's, refused while a + capture is queued or running. +- **Media** is served by umtool, `/api/library/media/<lib>/<id>/<name>` (`umtool/lib/library/media.mjs`): a + picture or a video under a MARKED library's `trending/posts-media/<id>/`, its real path inside it, read + only, refusing a cross-site request, listing nothing. umtool is LAN-bound, as its other media routes are. +- **"New since last visit"** is umtool's own state, `<reports>/.umtool/posts-library.json`, moved only by + Mark seen (`umtool/lib/library/seen.mjs`). +- **`umtool library`** (`umtool/lib/library/cli.mjs`) is the same calls from a shell; there `--by` is `agent` + unless told. +- **Not offered**: any way from a library post into a project, a report, an article, the post archive or a + site. The four pins hold that, and that no build, publisher or MCP source reaches the judge view's reads. +- **Found on the way.** After a press the page reads its view again through `GET /api/library`, not + `router.refresh()`: several refreshes in a row left the last one unapplied until the next press. An undo + writes the restored entry as the operator's, whoever wrote the one it replaced (the action cannot write + another hand's entry). ## Slice 4: topics and publishing