Skip to content

docs(cloud): remember.dev reads the stock formats (D150) - #560

Merged
fazpu merged 5 commits into
mainfrom
docs/d150-hosted-formats
Nov 19, 2026
Merged

fazpu merged 5 commits into
mainfrom
docs/d150-hosted-formats

Conversation

@fazpu

@fazpu fazpu commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Problem

Engine D150 (#556, released in v0.19.0) removed the ingest-time metering refusals. A metered deployment measures each new version while it is converted, and a file the card route describes has no processing charge. Request and upload limits and MIME validation still apply. The hosted <Cloud> passages still describe the old refusals (409 rate_class_unavailable, 413 source_bytes_limit_exceeded, 422 rate_class_ambiguous, 422 empty_text), the 10 MB text cap, and "UTF-8 Markdown and plain text only".

Scope

This PR touches <Cloud> passages and cloud pages only.

  • Formats: the pages list what the stock route table reads: text, Markdown, code, HTML, EPUB, Word, PowerPoint, Excel, CSV, email, notebooks and PDF, with every PDF page read through OCR. Files that take the card route (raster images such as PNG and JPEG, audio, video, archives and other binaries) are stored and described by a file card, not read. An SVG is in the config family, so it is read as text and charged as processed text. Supported file types says remember.dev reads its whole As installed column plus PDFs. The leftover "convert it to Markdown first" advice is removed.
  • What remember.dev serves:
    • The Ingest note reads "the stock formats, PDFs included".
    • The format row moves out of Not served. Its place is taken by a row that says raster images, audio and video take the card route and are not read.
  • Limits:
    • A request body is at most 100,000,000 bytes.
    • One file is at most 5 GiB (413 upload_too_large when a direct multipart upload starts).
    • Largest single stored object is 5 GiB.
    • The 2 GiB-per-project and 100,000-object storage rows are removed, because nothing in UMC enforces them.
    • An over-cap body is 413 body_too_large in the ingest reference and the HTTP conventions. The old advice to read 503 spend_lease_unavailable as "too large" is gone.
  • Hosted MCP: ingest takes any format as content_base64.
  • Removed error rows: the old refusal rows are deleted from Errors, the HTTP ingest reference, the HTTP conventions, Ingest files and What remember.dev serves.
  • Pricing and wording, no amounts added:
    • Formats read without a model are charged as processed text, by the characters of their reading.
    • A PDF is charged by its pages.
    • Files that take the card route have no processing charge; their storage is charged.
    • Bring your data costs now charge only the files remember.dev reads; card-only files pay for storage.
  • Self-hosted pages:
    • The self-hosted tab of Ingest files says every PDF needs the OCR key, and without it PDFs park. This matches Supported file types.
    • The Converters intro takes PDF off the no-API-key list.
    • The Converters size limits now say an oversized PDF fails conversion without a card, and a URL converter follows its own input limit.
    • "Processed text" becomes "processed documents" where the sentence covered every input (Choose, the Pricing intro and holds, Bring your data costs).
  • Merge: origin/main is merged in (a plain merge). It keeps docs: stop stating which engine version remember.dev runs #620's wording that remember.dev runs the latest release.

Hosted rollout: verified

  • PDF ingest and recall live: UMC infra/prod.yaml full_text_pdf_exit records a text version and a PDF version, both full-pipeline ready after 727 s, each own codeword recalled, with no manual drain. Evidence: UMC docs/operations/evidence/launch-owner-text-pdf-exit-2026-11-11.json. The UMC #805 control plane and #808 runtime are merged, and remember.dev runs engine 0.21.0.
  • Admission:
    • UMC runtime/src/umc_runtime/app.py:174 admits uploads for admission_routes() (convert.py:637), which is the engine's full STOCK_CONVERSION_ROUTE_NAMES.
    • The convert services run the stock converters on the engine 0.21.0 image, which includes LibreOffice, with the platform OCR key.
    • No image OCR route is configured. Raster images take the card route; image/svg+xml is in the config family and routes to text (engine core/format_registry.py).
  • Size:
    • UMC runtime/src/umc_runtime/uploads.py sets MAX_UPLOAD_BYTES to 5 GiB and refuses larger uploads with 413 upload_too_large.
    • UMC spend_safety/admission.py sets INGEST_BODY_MAX_BYTES to 5 GiB for declared sizes; the 100 MB limit belongs to the transport.
    • infra/prod.yaml sets ingest_body_max_bytes: 100000000, and the engine's _IngestBodyLimit answers 413 body_too_large above it.
    • The engine passes a control-plane 413 through as SpendLeaseRefused, not as 503.
    • No storage quota is enforced in the UMC runtime, provisioning, OpenTofu or prod.yaml.
  • Billing:
    • Engine core/metering.py: pdf is doc-scan, counted in pages. Every local reading route is doc-text, counted in characters. card is free.
    • UMC billing/initial_rates.py: doc-text and doc-scan are the active processed-input classes.
  • Claim card: the row is added in writeitai/ultimate-memory-cloud#1046 (merged).

Not live-probed: formats other than text and PDF. They rest on the admission and convert code path.

Verification

  • uv run python scripts/check_docs_truth.py: passed

  • uv run python scripts/check_docs_truth.py --cloud: passed

  • uv run python scripts/generate_docs_llms.py --check: current

  • npm run build in website/, plain and DOCS_CLOUD=1: both passed

  • UMC scripts/check_docs_truth.py --strict on this tree: no new finding compared with main (124 vs 125 hard, all pre-existing)

  • I have read and agree to the RememberStack Contributor License Agreement v1.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm

With engine D150 a metered deployment refuses no format or size at ingest:
the hosted <Cloud> passages stop describing the removed 409/413/422 text
refusals and the 10 MB cap, list the formats the stock routes read (PDF
with every page OCR'd), and say images, audio, video and archives are
stored as cards. The pricing page names the kinds of processing charge
without amounts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
fazpu and others added 4 commits November 19, 2026 10:03
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYytLf2PUQ2RVpEZYENzsq
remember.dev admits every stock route and reads PDFs through OCR; images,
audio, video and archives get a file card. State the 5 GiB per-file limit
for direct uploads, drop the leftover "convert it to Markdown first"
advice, move the format row out of "Not served", and name the processing
charge kinds (characters for locally read formats, pages for PDF) without
amounts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYytLf2PUQ2RVpEZYENzsq
…view round 1)

- An over-cap body on remember.dev is 413 body_too_large: the spend
  boundary admits declared sizes up to 5 GiB and the transport refuses a
  body over 100,000,000 bytes. Drop the advice to read 503
  spend_lease_unavailable as "too large".
- Remove the 2 GiB and 100,000-object storage rows; nothing in the cloud
  enforces them.
- Ingest reference: versions are measured during conversion and card-route
  files have no processing charge, instead of "refuses no type or size".
- Bring your data: only read files carry a processing charge (PDF pages,
  characters for the rest); card-only files pay for storage.
- Ingest files, self-hosted tab: every PDF needs the OCR key, not only
  scanned ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYytLf2PUQ2RVpEZYENzsq
… notes (review round 2)

- The no-processing-charge and "not read" statements now cover only files
  that take the card route (raster images such as PNG and JPEG, audio,
  video, archives); an SVG is in the config family, read as text and
  charged as processed text.
- Converters intro: PDF leaves the no-API-key list; every PDF needs the
  Mistral OCR key.
- Converters size limits: an oversized PDF fails conversion without a card,
  and a URL converter follows its own input limit, matching Supported file
  types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VYytLf2PUQ2RVpEZYENzsq
@fazpu
fazpu marked this pull request as ready for review November 19, 2026 12:02
@fazpu
fazpu merged commit 2b0d7fb into main Nov 19, 2026
21 checks passed
@fazpu fazpu mentioned this pull request Nov 23, 2026
1 task done
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