commit 368e1c5b1325707607a1e286dd572e80ffaf9368
parent 81c712609eeace8952a95f7d90f571e1fe809087
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 13 Oct 2026 11:26:37 -0400
plans: release 27 S3b, as shipped — research tools
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,8 @@
# Changelog
## [Unreleased]
+- **Import one post by its URL.** `pnpm ops import-post --json '{"slug", "url"}'` imports one X status or one Bluesky post into a posts channel of that platform that archives that account, as an `import-post` job on the platform's queue, through the channel's own fetcher (gallery-dl with the channel's X login; the public Bluesky API). It is refused before any job when the URL is not a post, when the channel is not a posts channel of that platform (or its fetcher cannot read one post), when the post is another account's, or while the platform is held or cooling down after a rate limit. A post already archived is not read again. Needs a restart of the editor.
+- **archive.org from the command line, read only.** `pnpm ops archive-search --json '{"query", "limit"?}'` answers the items an archive.org search finds, and `pnpm ops archive-item --json '{"item"}'` one item's files with their sizes, formats and lengths, which are the media an import would take, and what archive.org restricts. Both go through the editor's archive.org client, paced like an import, and download nothing. Needs a restart of the editor.
- **`pnpm ops web-search` and `pnpm ops web-fetch` read the web, politely.** `web-search` (`{"query", "n"?}`) answers DuckDuckGo's results as titles, links and snippets; `web-fetch` (`{"url", "maxChars"?}`) answers one page as plain text. Both are read only and go through one queue in the editor: one request at a time, three seconds apart, backing off when a site answers 429 or 503. A page on a private or local address (`localhost`, `192.168.…`, a name that resolves to one) is refused before anything is sent, and so is a file that is not a page (a PDF, an image). Needs a restart of the editor.
- **`archilyzer reports verify-quotes` flags an inexact quote.** A quote that passes the usual check but whose words are not, word for word, in the transcript within 90 seconds of its cited second — a word dropped that reverses its meaning, a quote from another moment — is now reported as `INEXACT (warning)`, with the first fragment that was not found. It is a warning: it is counted in the summary line and does not change the exit code; compose and publish are unchanged. Quotes a model writes in release 27's generation are held to it.
- **Orpheus speaks as the operator picked by ear: zac, calmer, quicker, in longer runs.** The default Orpheus voice is now `zac` (leah stays available); the sampler is cooler (temperature 0.55, top_p 0.85) and its repeat penalty higher (1.2), which reads less acted and less over-enunciated; a chunk holds up to 5 sentences and 420 characters, with shorter joins (0.2 s after a sentence, 0.1 s after a clause, 0.4 s after a paragraph), so the voice restarts its phrasing less often; and a very short line gets at least four seconds of budget, so it can no longer fail every take. Orpheus narration made before this is made again the next time it is asked for. Needs a restart of the editor.
diff --git a/plans/release-27.md b/plans/release-27.md
@@ -293,6 +293,21 @@ Gates: tsc clean; common 3870/3870 (8 new); mcp 314/314 (8 new, `protocol.test.t
Not done here: the editor's `next.config.ts` `transpilePackages` does not list `yt-dlp-transcript-mcp` yet — S6, which imports it from a route, adds it (the unit test imports it under tsx).
+### S3b, as shipped (2026-10-13, lane B)
+
+| Commit | What |
+| --- | --- |
+| `f7b2757c` | editor actions `archive-search`, `archive-item`, `import-post` (routes, ACTIONS rows, help, COMMANDS.md; the `import-post` action in `channels/[slug]/importPostAction.ts`); `describeArchiveOrgItem` in `archiveOrgImport.ts`; `SocialFetcher.fetchOne` (X through gallery-dl on the status URL, Bluesky through `getPosts`), `parsePostUrl`, `social/importPost.ts`; job kind `import-post`; `report/draft/research/{decide,tools}.ts`; `testing/archiveOrg/fakeArchiveOrg.mjs`; common's test glob reaches `lib/*/*/*/` |
+| (this commit) | this record; the CHANGELOG bullets |
+
+- **`decideAcquisition(proposal, autonomy, limits, spentSoFar)`** → `{decision: "enqueue"} | {decision: "approval", reason} | {decision: "refuse", reason}`. The standing rules (`standingRuleRefusal`) refuse in every mode: `create-channel` with any `sites` (an X channel's refusal says so), a Twitch VOD URL anywhere in the args, a `queueKey`, an action not in `ACQUISITION_ACTIONS`. Then `propose` waits on everything; the approval flags (`newChannelsNeedApproval`, `postWalksNeedApproval` — `fetch-posts` with `full` or `older`) hold under `limits` and `auto`; under `limits` a new channel and a priority bump always wait; a cap reached, or a download of unknown size (`estimate.gb` absent; a dry run is 0) or a transcription of unknown length, waits in both. One post is one item; a channel, a post fetch, a capture and a bump cost none.
+- **`acquisitionTools(ctx)`** → nine AgentTools named as the actions (`import-archive-org`, `import-video`, `create-channel`, `fetch-posts`, `capture-posts`, `import-post`, `transcribe-one`, `priority-bump` = `channel-priority` tier normal, `persist-videos`), each taking the action's own keys plus `reason`, `evidence`, `estimate`. Each records a `Proposal` in `ctx.ledger` (ids `p01`…; `note` carries why it waits or failed), and only an `enqueue` calls `ctx.editor.run(editorAction, body)` — the body is built from the action's own keys, so a `sites` the model adds never reaches the editor. `runApprovedProposal` (the operator's yes: past autonomy and caps, never past a standing rule), `rejectProposal`, `archiveReadTools` (`archive-search` / `archive-item` through the editor), `newLedger`. `ctx.onChange` is where S11 writes `proposals.json`.
+- **`import-post`** refuses at the door (route unit test) and in the job: not a post URL, no channel, not a posts channel, a channel of another platform, a fetcher with no `fetchOne` (x-playwright, x-nitter, forum), a post the URL names as another account's; after the read, a post the platform says is another account's is not written. The platform's hold and rate-limit cooldown refuse it before a job (`importPostHeld`, the holds a manual download meets). The job's log ends `@@import-post {…}`.
+
+Gates: tsc clean; common 3891/3891 (21 new); mcp 314/314; editor unit 270/270 (3 new); `test:scripts` 833 + 3 skipped; `docs cli --check` clean. Editor `next build` (heavy slot, 5 GB cap): clean, the five new `/api/ops` routes built. e2e `ops-api.spec.ts` alone: 13 passed, 0 failed (32 s; its prebuild rebuilt `editor/.next/e2e` in 66 s).
+
+Decided here: `import-post` takes a post of the channel's own account only (a reply or quote by another account would be misattributed in that archive). `import-post` is not replayable (a second import reads nothing anyway).
+
## Rollout
- Fast-forward `main`.