Archilyzer · Source

archilyzer

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

commit b9d1ecff9ea4e6196acf9f9c4810cc98fab6841c
parent 4b2e5a6a7ecde2fa3cc896c7ed01c5b50e173a63
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 03:10:07 -0400

plans: CHANGELOG [Unreleased] for P3; projects.ts comments name /projects

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Meditor/CHANGELOG.md | 4++++
Mumtool/lib/projects.ts | 6+++---
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -35,6 +35,10 @@ - **umtool: a piece can be parked or marked done.** `POST /api/pieces/lifecycle {piece, state}` sets `active`, `parked` or `done`, kept in `REPORTS_ROOT/.umtool/lifecycle.json` with when and by whom; a parked or done piece's decisions stay in the list, `hidden`. "Looks done" — a song with every cut, a final video with a `share-*` batch, a published article with its video — is only ever a suggestion (a `looks-done` decision) and never sets it. `GET /api/pieces` lists every piece with its stage, lifecycle, linked projects and how many decisions wait on it. - **`umtool inbox [--all] [--json]`** prints the decisions grouped and ranked as the inbox shows them, one card per piece and kind, and how many are hidden; `--all` lists the hidden ones and the quiet group. - **umtool links an article's video by its iterations first.** A project an article's iteration made (`projectDir`) is that article's, and no other article matches it by slug, so a generated article no longer lists its own `…/i1` as "possible"; `current.video` picks the one its Cut opens, and a project outside the reports root is listed as not reachable here. Then a manifest's `article`, then a unique slug in the article's workspace — the only step that can be ambiguous. +- **umtool's front door is the Inbox: the calls waiting on you, in one list.** `/` shows one number — the calls waiting on active pieces — and a line under it (rows, pieces ready to finish, quiet, hidden), then the cards: Your call → Review → Blocking → Notes → Open → Ready to finish, with Quiet folded. A card is one piece and one kind of decision (483 unadjudicated claims on one video are one card) with its count and ONE action named for its result ("Make i1 current", "Adjudicate claim", "Answer note"); `j` / `k` move the lit card, and the lit card's action is the filled one. **Park** and **Mark done** (on a piece that looks done) set the piece's lifecycle, with **Undo** for a few seconds; **Show hidden** lists the calls on parked and done pieces with **Reactivate**. **Mute** hides a card in this browser only (**Muted N** shows them). A required tool missing at the last check, or a disk under 5 GB free, is a card too. `/?from=<channel>/<id>` (the editor's "make a video") still opens the new-project form prefilled. Needs a restart of umtool. +- **umtool: Work lists every piece.** `/work` is every article (with the video projects made from it) and every project no article claims, one lit line each: its stage on a four-step bar, what it is, its lifecycle and how many calls wait on it, with **Park**, **Mark done** and **Reactivate** on the line. Facets: stage, kind, site, lifecycle (active by default) and a search (`/` puts the cursor there); **By site** groups by site, each site's name linking its page. It reads the old lists' keys, so an old link lands on the same set. +- **umtool's addresses moved, and every old one redirects.** `/browse` → `/work`; `/browse/<project>[/…]` → `/projects/<project>[/…]` (cuts, clip and claim benches, takes, narration, review); `/browse/decisions` → `/`; `/browse/find`, `/browse/faces`, `/browse/sources`, `/browse/trim/<set>` → `/tools/…`; `/mix` → `/tools/mix`; `/sort`, `/salvage`, `/verify`, `/keeps` → `/tools/song/<pile>`; `/bench` → `/tools/bench`; `/articles` → `/work?kind=article`; `/sites` → `/work?by=site`. Redirects are temporary (307) and keep the query string, so a decision's `…?note=<id>` link and every bookmark still land. `/projects` is the project grid by folder (the old `/browse` page, with **+ new project**); `/tools` and `/tools/song` list the tools; `/sites/<site>` and the article pages are unchanged. A project named `find`, `faces`, `sources`, `trim` or `decisions` is no longer shadowed by a tool page; only `at` (`/projects/at?path=`, for a name that cannot be a URL) is reserved. +- **umtool: the rail is Inbox · Research · Work · Tools · Settings, and ⌘K jumps anywhere.** Inbox and Work show their counts; Tools opens into its tools (find, mix, the song piles, faces, sources, the verdict bench) while you are in one; Settings is `/settings/system`, which holds the old dashboard's panels (tools and disk, recent jobs, project states, sources, deliverables) and links the generation policy. ⌘K (or Ctrl+K), from any page including a bench, opens a jump list of every piece, place, tool and create action: type to narrow, ↑ / ↓, Enter. Research is linked ahead of its page. The "resume" chip on the Inbox offers where an old remembered address lands now. - **Articles, iterations, report-video projects and takes can be deleted, and every delete shows its plan first.** `archilyzer reports delete <id>` prints what would go — each path with its size, what is kept and why, and anything that stops it — and deletes nothing until `--apply`; `--iteration <n>` deletes one iteration. Deleting an article removes its directory (report, video, history, notes, iterations), each iteration's video project under `settings.generation.projectsRoot` and its staged exports. A published article is refused unless `--force`, which unpublishes it first; an article with a running iteration is always refused. An iteration is refused while it is the current article or video, the one the article's report came from, running, or the parent or original of another iteration, and its number is never given out again. The usage ledger, the shared prepared-media cache and the corpus's git history are kept. The same deletes run over HTTP as `pnpm ops delete-article {id, force?, dryRun?}` and `pnpm ops delete-iteration {id, n, dryRun?}`, which answer a refusal as a 409 with the plan. - **umtool: Delete article, `Delete i<n>`, Delete project and `Delete take <id>`.** Each button reads the plan, shows it (what goes with sizes, what is kept, what refuses) and deletes only on **Confirm delete**; **Keep it** closes it. **Delete article** is on an article's page (one in the making too) and returns to `/articles`, which says what went; `Delete i<n>` is on each iteration of the Iterations tab. **Delete project** on a report-video project removes its directory, and its `out/` or deliverables on the media drive when they are its own copy; it is refused while a job works in the project, for an article's current video, and — unless you tick **delete anyway** — for a project whose manifest names an article with a video attached. `Delete take <id>` removes `takes/<id>/`; the take whose manifest is the project's own needs **delete anyway**, and its verdict and notes are kept. - **Reports and their revisions can be generated by the editor: `pnpm ops report-draft`.** `{"task": "sweep", "article", "question", "channels"}` drafts a new report of an article as its next iteration; `{"task": "revise-report" | "revise-video", "article", "iteration", "feedback"}` revises one; `{"task": "narrate", "article", "iteration"}` drafts the narration of an iteration's video cut; `"copyOf": N` runs iteration N again on another `"model"`. Each is a **Report draft** job on /jobs, on the Claude API (`draft:api`) or the local model (`draft:local`) by the model, and `pnpm ops job cancel` stops one. Every quote a model writes must be the transcript's words within 90 seconds of its link, or the finding is dropped; links cite the archive, never the platform. The answer names the job and the iteration; the job's log ends with the outcome. Needs a restart of the editor. diff --git a/umtool/lib/projects.ts b/umtool/lib/projects.ts @@ -352,7 +352,7 @@ export type Resolved = | null; /** - * Resolve a `/browse/...` path to the LONGEST prefix that is a project, and + * Resolve a `/projects/...` path (`/browse/...` until P3) to the LONGEST prefix that is a project, and * hand the remaining segments to that kind's view. * * Longest-prefix rather than "first project found" because a project id is a @@ -381,8 +381,8 @@ export async function resolveProjectPath(segments: string[]): Promise<Resolved> // ---- the basename alias ------------------------------------------------- // // A project id is a PATH, so a song's canonical URL is now - // /browse/quartering-uh-song/videos/yoshi. But /browse/yoshi and - // /browse/yoshi/wide are the URLs that exist -- in every decision href, in + // /projects/quartering-uh-song/videos/yoshi. But /projects/yoshi and + // /projects/yoshi/wide (/browse/… before P3, redirected) are the URLs that exist -- in every decision href, in // the e2e suite, and in whatever anybody has open in a tab. A URL has to mean // the same thing in six weeks, so the bare name keeps working as an alias. //