Skip to content

chore: remove whisper-apr — it is a standalone project - #2515

Open
noahgift wants to merge 1 commit into
mainfrom
chore/remove-whisper-apr
Open

chore: remove whisper-apr — it is a standalone project#2515
noahgift wants to merge 1 commit into
mainfrom
chore/remove-whisper-apr

Conversation

@noahgift

Copy link
Copy Markdown
Contributor

Repo owner's decision: whisper-apr does not belong in aprender.

Contained by construction

It was optional in all three crates and in no default feature set, so nothing that ships by default loses anything:

crate feature
apr-cli whisper = ["whisper-apr"]
aprender-orchestrate speech = ["whisper-apr", "native"]
aprender-rag transcription = ["dep:whisper-apr"]
aprender-rag-cli transcription = ["aprender-rag/transcription"]
root facade whisper = ["cli", "apr-cli/whisper"]

All five declarations, the three dependency lines, and "speech" from sovereign-stack are gone — plus 4 files, ~1,960 lines.

One judgement call

/transcribe had a #[cfg(not(feature = "speech"))] fallback returning:

"[dry-run] Would transcribe N bytes … Enable --features speech for real transcription."

With speech removed that tells the caller to enable a feature that no longer exists, and returns 200 with a plausible-looking body that is not a transcription.

It now returns 501 naming whisper-apr as the standalone tool. A route that answers is worse than one that refuses — the #2495 lesson.

Kept deliberately

whisper_apr:: references in the oracle cookbook and recommender. Those are string literals in examples teaching users about a separate project, which is now exactly the right thing for them to say.

Also removed the dangling book SUMMARY.md link to the deleted page, and CLAUDE.md's two apr … whisper examples — both advertised a capability this PR removes.

Verification

Green: workspace cargo check, apr-cli 7,064, aprender-rag 449, aprender-orchestrate 6,525.

An earlier orchestrate run showed 1 failure. Re-ran clean at 6,525/0 — it was a flake under load 30+, not this change. Verified before committing rather than assumed.

Clears part of #2481 F-1: the monorepo depending on published copies of itself. whisper-apr was the transitive source of the registry aprender/realizar/trueno pulls.

Repo owner's call: whisper-apr does not belong in aprender.

It was optional in all three crates and in NO default feature set, so
nothing that ships by default loses anything:

  apr-cli              whisper      = ["whisper-apr"]
  aprender-orchestrate speech       = ["whisper-apr", "native"]
  aprender-rag         transcription = ["dep:whisper-apr"]
  aprender-rag-cli     transcription = ["aprender-rag/transcription"]
  root facade          whisper      = ["cli", "apr-cli/whisper"]

All five feature declarations, the three dependency lines, and "speech"
from `sovereign-stack` are gone, along with 4 files (~1,960 lines):
aprender-rag's transcription loader, the orchestrate demo + book page,
and apr-cli's whisper routing falsifier.

ONE JUDGEMENT CALL, because the honest answer was not simply "delete".
`/transcribe` had a `#[cfg(not(feature = "speech"))]` fallback returning

    "[dry-run] Would transcribe N bytes ... Enable --features speech
     for real transcription."

With `speech` gone that tells the caller to enable a feature that no
longer exists, and returns a 200 with a plausible-looking body that is
not a transcription. It now returns 501 naming whisper-apr as the
standalone tool. A route that answers is worse than one that refuses,
which is the #2495 lesson.

KEPT DELIBERATELY: `whisper_apr::` in the oracle cookbook and
recommender. Those are string literals in examples teaching users about a
separate project -- which is now exactly the right thing for them to say.

Also removed the dangling book SUMMARY link to the deleted page and
CLAUDE.md's two `apr ... whisper` examples, both of which advertised a
capability this commit removes.

Green: workspace cargo check, apr-cli 7064, aprender-rag 449,
aprender-orchestrate 6525. (An earlier orchestrate run showed 1 failure;
re-run clean at 6525/0 -- it was a flake under load 30+, not this change.
Verified before committing rather than assumed.)

Refs #2481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant