Skip to content

feat(D147): register a raw object a client uploaded directly - #547

Merged
fazpu merged 7 commits into
mainfrom
feat/ingest-stored-object
Nov 7, 2026
Merged

fazpu merged 7 commits into
mainfrom
feat/ingest-stored-object

Conversation

@fazpu

@fazpu fazpu commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

This is the second generic seam the team lead confirmed (2026-11-07): register a raw object a client already uploaded to the raw store (direct multipart upload by pre-signed URL). The first seam, convert by reference, is #545.

API

from rememberstack.workers import UploadIngestor
UploadIngestor.ingest_stored(
    *, deployment_id: UUID, key: ObjectKey, size: int, mime: str, filename: str,
    title: str | None = None, source_path: str | None = None,
    ingested_by: IngestPrincipal | None = None, lane: ProcessingLane = ProcessingLane.STEADY,
) -> IngestedVersion

from rememberstack.ports import StreamingReadPort        # new, runtime_checkable
class StreamingReadPort(Protocol):
    def iter_bytes(self, *, key: ObjectKey, chunk_size: int) -> Iterator[bytes]: ...
# implemented by MinIOObjectStore (S3 GetObject body, chunked) and LocalFSObjectStore

What the engine does

  1. It streams the object once from key in 1 MiB chunks. Each chunk goes into the SHA-256 hash and a temporary file on disk, and the received size must equal the declared size.
  2. It runs the D74 admission check on the content hash, the same check ingest makes.
  3. It classifies the type with the same detection as ingest, run on a memory map of the temporary file. The object is never held in memory whole.
  4. It records the version exactly as ingest does: one-shot upload lineage (source_ref = content_hash), a content-derived doc_id, D55 no-op on identical bytes, and the routable/parking rule including the oversize card rule.

Raw key rule: the raw object stays at key. The engine records key as the version's raw object and never copies or moves it. key must be uploads/<id>, where the id is opaque: 16–128 characters from [A-Za-z0-9_-]. Hard forget purges a version's raw key in every store, so the namespace keeps client keys disjoint from the engine's own keys, and opaque ids keep file names out of the immutable forget manifests. Each content keeps exactly one raw object, the first one recorded, and only that one is purged by hard forget. So when identical bytes are already stored under another key, that version answers and the engine deletes the object at key. The same rule now applies to ingest and ingest_observed: each deletes the copy it wrote when the content keeps another one. That closes a copy-outlives-forget gap that already existed between those two paths. A repeated registration of the same key changes nothing. Callers never delete registered objects.

Refusals:

  • size mismatch (ValueError);
  • a key outside uploads/<16–128 of [A-Za-z0-9_-]> (ValueError);
  • a missing object (FileNotFoundError);
  • a MIME contradiction (ContentDetectionError, the same as ingest);
  • a deployment with managed ingest metering, which needs the bytes (ValueError).

Content detection on a memory map

detect_content_mime and detect_mime now accept bytes | mmap.mmap and never copy the whole content:

  • prefix and suffix checks use slices;
  • the PDF searches run in place from a position, with ^ emulated by an anchored match at that position;
  • the ZIP check reads through a seekable bounded view; on a mapped file, a single read over 64 MiB (about a 700,000-entry directory) fails, so the file is not recognised as office. Bytes already in memory are read unbounded, exactly as before;
  • the UTF-8 and control-character check decodes 1 MiB windows incrementally.

The verdicts are identical:

  • a new test compares bytes against a memory map over 18 edge samples, including a multibyte character split across a window and a PDF object right after the header;
  • I also compared the old and new implementation on 200,000 fuzzed inputs: 0 differences.

Tests

  • src/tests/workers/test_ingest_stored_pg.py (integration):
    • Registration records the version at the client's key.
    • The same bytes through ingest give the same version (no-op), and registering again is a no-op.
    • Conversion then reads the raw object from the client's key.
    • The size mismatch, PDF mismatch, forgotten/ key and missing object are each refused, leaving no rows.
  • test_minio_store.py: chunked streaming, body closed, missing key.
  • The port inventory now has 16 protocols. The ingest-door audit now lists ingest_stored as a gated method.

Checks

  • ruff, pyright (0), import-linter, unit lane (3140 passed)

  • DB tests not run locally. The local Docker store became unreadable after the machine's disk filled (containerd I/O errors on every image), so the new integration test runs in CI only.

  • CI

  • Codex review: round 6 APPROVE (all dispositions in the comments)

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

🤖 Generated with Claude Code

https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm

fazpu and others added 2 commits November 7, 2026 10:24
UploadIngestor.ingest_stored(deployment_id, key, size, mime, filename, ...)
streams the object once through the new StreamingReadPort (S3 and local
adapters) to hash it into a temporary file, classifies it on a memory map
of that file, and records the version through the same admission, MIME
validation, versioning and deduplication as ingest. The raw object stays
at the client's key. Content detection now works on a memory map without
copying it (identical verdicts; 200k fuzzed inputs compared with the old
implementation).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
… on 3.12

Codex round 1:
- ingest_stored accepts only uploads/<16-128 of [A-Za-z0-9_-]>: hard forget
  purges a raw key in every store, and file names must not enter manifests.
- Detection keeps memory bounded: the HTML head collapses whitespace runs
  (keeping arbitrarily long doctype whitespace recognised), BMFF brands are
  scanned without collecting, and ZIP reads go through a seekable bounded
  reader (8 MiB per read) that also fixes mapped ODF on Python 3.12.
- No promise that a deduplicated key is unused; callers never delete
  registered objects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 1 (gpt-6.1-sol, max effort)

VERDICT: REQUEST_CHANGES

  1. Blocker — Client keys can cause collateral deletion. e0.py:337 only excludes forgotten/. Hard forget sends manifest keys to every object-store purger. I reproduced registration with a raw key matching another document’s artifact key; forgetting the upload deleted that unrelated artifact. Caller filenames also enter immutable forget manifests. Simplest fix: require canonical, opaque keys in a dedicated raw-upload namespace, preserving accepted keys verbatim.

  2. Major — Detection still allocates memory proportional to object size. content_detection.py:388 accumulates whitespace indefinitely: a 32 MiB mapped whitespace file used 34 MiB of Python heap. ZIP central-directory loading copied an entire crafted 16 MiB object; BMFF brand collection used 35 MiB for a 2 MiB object. Fix: discard consumed whitespace, scan brands without collecting them, and read ZIP directory records incrementally.

  3. Major — Mapped ODF detection crashes on supported Python 3.12. content_detection.py:292 passes mmap directly to ZipFile. Reading ODF’s mimetype member raises AttributeError: 'mmap.mmap' object has no attribute 'seekable' on 3.12; identical bytes succeed. Fix: supply a small seekable file wrapper and add ODF equivalence coverage on 3.12.

  4. Major — HTML detection is not equivalent to origin/main. content_detection.py:388 stops retaining text once the candidate exceeds 64 characters. b"<!doctype" + b" " * (1 << 20) + b"html>" previously detected as HTML; both new paths return plain text. This changes existing ingest routing. Fix: preserve HTML recognition state across windows, including arbitrarily long whitespace after doctype.

  5. Major — Managed ingest equivalence is excluded. e0.py:333 rejects every metered deployment before D74 admission. Ordinary native text accepted by ingest cannot use this seam. The refusal is documented and fails closed, but narrows the confirmed equivalence requirement. Fix: reuse the existing managed measurement and approval flow for the stored-object reference.

  6. Major — Storage-class routing is skipped. e0.py:377 registers without applying or validating storage_class_for(detected). I registered a PNG stored cold; ordinary ingest selects hot. Simplest fix: validate the existing class against the detected MIME and reject mismatches, documenting that direct-upload precondition.

  7. Major — Dedup cleanup advice can delete the live original. e0.py:323 says the submitted key is unused when identical bytes already exist. Retrying registration of the same key returns the existing version while retaining that very key. Following the documented deletion advice loses its original. Fix: remove the blanket cleanup promise; deletion is safe only when the submitted key differs from the retained raw_uri. Correct D147 likewise.

145 focused tests passed. The PDF anchor rewrite matched 30,000 targeted old/new comparisons. Shared catalog handling preserves D55, metadata and parking behavior.

Rule 4: no direct paid-work identity or volatile-header changes found, but the HTML routing regression prevents treating this as behavior-preserving. PostgreSQL lifecycle proofs remain for CI; I did not attempt Docker/database tests or modify files.

Disposition (Claude), fixed in 0350af2

  1. Accepted. Keys must be uploads/<16–128 of [A-Za-z0-9_-]>. That namespace is disjoint from the engine's own keys (<doc_id>/…, forgotten/…) in every store, and it carries no file names. Tests refuse forgotten/…, uploads/notes.md and a/b/original.md.
  2. Accepted. The HTML head keeps at most 64 characters, with whitespace runs collapsed. BMFF brands are scanned one at a time against a lookup table. ZIP reads go through _BoundedReader, which refuses any single read over 8 MiB (a starting point). The same reader serves bytes and memory maps, so both get the same verdict. A package whose ZIP directory is larger than 8 MiB is no longer recognised as office; D147 states this bound.
  3. Accepted. _BoundedReader is seekable, so zipfile never sees the raw mmap. ODF was added to the mapped-equivalence samples.
  4. Accepted. Collapsing whitespace runs keeps <!doctype + 1 MiB of spaces + html> recognised as HTML, as on origin/main. Added to the samples, along with a no-break space before <html>. A re-run of 200,000 fuzzed old/new comparisons shows 0 differences.
  5. Declined, documented. The managed ingest metering path (meter_scope, the D46 fleet receipts) stages the whole bytes for its measurement. The relaunched cloud does not use it: billing moved to the control plane. A deployment configured with it refuses ingest_stored before anything is recorded, so the seam fails closed rather than silently skipping metering.
  6. Declined, documented. D51 storage classes are a storage-cost hint, not correctness. For a direct upload, the uploader's store decides the class; the docstring and D147 say that D51 routing is not applied.
  7. Accepted. The cleanup promise is gone. The docstring and D147 say the deduplicated version keeps its own raw object, possibly this very key, and that callers never delete registered objects.

Codex round 2: the brand offsets were expanded into a tuple; the 8 MiB ZIP
bound changed ordinary ingest. Bytes keep the old unbounded ZIP read; a
memory-mapped stored object is bounded at 64 MiB per read. A tracemalloc
test keeps mapped classification of 32 MiB objects under 8 MiB of heap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 2 (gpt-6.1-sol, max effort)

VERDICT: REQUEST_CHANGES

  1. Major — BMFF detection still uses memory proportional to object size. content_detection.py:233 expands (8, *range(...)) into a tuple before iteration. A 2 MiB mapped file peaked at 24 MiB of Python heap; an 8 MiB file peaked at 96 MiB. Round-one finding 2 remains unresolved. Simplest fix: iterate lazily with itertools.chain((8,), range(...)) and add a memory regression test.

  2. Major — The ZIP memory fix regresses ordinary ingest. content_detection.py:337 rejects directory reads above 8 MiB. An office ZIP fixture with a 9,107,128-byte directory previously detected as DOCX; both new paths detect generic binary, and declaring DOCX now raises content_type_mismatch. The documented cutoff changes existing ingestion behavior. Simplest fix: scan directory records incrementally for the required members, preserving recognition with bounded memory.

  3. Minor — The PR description retains unsafe cleanup advice. Its “Raw key rule” still permits deleting the submitted key after deduplication, contradicting the corrected contract at e0.py:325. Same-key retries can retain that key. Simplest fix: update the PR body’s cleanup and key-validation descriptions.

The opaque namespace, mapped ODF on Python 3.12, HTML whitespace handling, and cleanup wording in code/D147 are fixed. Admission identities, metadata and routing matched across ten representative bytes/stored comparisons.

I accept the two declined items as documented limits: configured managed metering fails closed, and the already-uploaded object retains its uploader-chosen storage class. Additional billing or storage-class machinery would expand this seam unnecessarily.

Rule 4: no new volatile identity inputs or reuse-boundary changes found. Existing lifecycle proofs remain intact.

185 focused tests passed; 40,000 PDF/text comparisons matched origin/main. Database tests were not run locally; worker integration CI remains running. Worktree unchanged.

Disposition (Claude), fixed in 66aef3a

  1. Accepted. The brand offsets are iterated lazily with itertools.chain. A new tracemalloc test classifies a 32 MiB mapped BMFF file and a 32 MiB mapped whitespace file under 8 MiB of peak heap.
  2. Accepted, with the smallest fix that keeps ordinary ingest identical. Bytes already in memory (ingest) are read through the ZIP view with no limit, so their behaviour is exactly origin/main. Only a memory-mapped stored object is bounded, at 64 MiB per read (about a 700,000-entry directory; a starting point). That bound stops a crafted directory from pulling a large stored object into memory. I did not write an incremental central-directory parser: it would mean re-implementing name decoding, ZIP64 and member reads that zipfile already does, for packages no real office suite produces. Ordinary ingest is unchanged; 200,000 fuzzed old/new comparisons show 0 differences.
  3. Accepted. The PR body now states the opaque key namespace and that callers never delete registered objects.

…IO seeks

Codex round 3:
- Hard forget purges only the content's kept raw object, so a copy written
  under another key (another upload key, file name or entry point) would
  outlive a forget. ingest, ingest_observed and ingest_stored now delete the
  copy they wrote or were given when the record keeps another one
  (DocumentCatalog.raw_object_key; ObjectPurgePort).
- The ZIP view's seek matches io.BytesIO, including the negative-seek error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 3 (gpt-6.1-sol, max effort)

VERDICT: REQUEST_CHANGES

  1. Blocker — Deduplicated uploads escape hard forget. e0.py:386. Register identical bytes at keys A and B: D55 returns the existing version, whose content_objects.raw_uri remains A. Hard forget inventories only A, leaving B readable in raw storage while verification succeeds. An ordinary ingest retry after stored registration creates another untracked copy. Simplest fix: include every accepted raw key in the content object’s erasure inventory. Add a forget regression covering distinct keys, same-key retries, and mixed entry points.

  2. Major — The ZIP fix still breaks equivalence and copies whole directories. content_detection.py:340. An office ZIP with a 67,166,250-byte directory detects as DOCX on origin/main and HEAD’s bytes path; HEAD’s mmap path raises content_type_mismatch. Below the cutoff, ZipFile still loads the entire directory: a 16 MiB mapped archive consumed 32 MiB of Python heap. Round-two finding 2 remains unresolved. Simplest fix: scan directory records incrementally, retaining only recognition state and required member metadata, identically for bytes and mmap.

  3. Minor — The ZIP reader changes malformed-input admission. content_detection.py:337. Negative absolute seeks are clamped to zero. I reproduced a malformed ODT with a negative member offset that origin/main refuses but both new paths accept as ODT. Simplest fix: raise ValueError for negative absolute seeks, matching BytesIO, and add the fixture.

The lazy BMFF scan, opaque key validation, HTML handling, Python 3.12 mapped ODF, and PR cleanup wording fixes are verified. The previously accepted metering and storage-class limits remain documented.

205 focused tests passed; 5 database tests skipped. Twelve representative ingest comparisons matched admission identities, metadata, routing inputs and lane. Another 52,144 PDF/text comparisons matched origin/main.

Rule 4: no new volatile identity inputs or reuse-boundary changes found; existing lifecycle proofs remain intact. PostgreSQL lifecycle tests were not run locally; worker integration CI remains pending. Worktree unchanged.

Disposition (Claude), fixed in 607bc21

  1. Accepted: the copy now goes, rather than being added to the forget inventory. Each content keeps one raw object (content_objects.raw_uri, the first one recorded), and that is the only raw key hard forget purges. After recording, ingest, ingest_observed and ingest_stored look up the kept key (DocumentCatalog.raw_object_key). If it is not the key this call wrote or was given, they purge that copy (ObjectPurgePort). This also closes the same gap that already existed between ingest and ingest_observed, and between two file-name suffixes. New integration test test_each_content_keeps_exactly_one_raw_object:
    • a same-key retry keeps the key;
    • a distinct key B is deleted;
    • an ingest after registration removes its canonical copy;
    • exactly one raw object remains, and it is the kept one.
  2. Declined, with the reason recorded. Bytes in memory (ingest) keep the exact origin/main ZIP behaviour. Only a memory-mapped stored object is bounded, at 64 MiB per read; below that, zipfile holds at most the central directory. The only verdict difference is for packages whose directory exceeds 64 MiB (roughly 700,000 entries). No office suite produces such a package, and it is exactly the memory-exhaustion input the bound exists for. An incremental central-directory parser would re-implement zipfile's EOCD/ZIP64 handling, name decoding, validation and member reads, with its own equivalence risk on malformed archives. That is more machinery than this seam warrants, given the owner's simplicity rule.
  3. Accepted. _BoundedReader.seek now matches io.BytesIO: ValueError for a negative absolute seek, and clamping for relative seeks. Unit test: test_the_zip_view_seeks_like_bytesio.

… test fixture

Codex round 4:
- The ODF mimetype member is read through archive.open(...).read(129):
  read() inflated the whole stream before truncating to the declared size.
  Reading past that size still ends the member and checks its CRC.
- ingest_stored requires a raw store that both streams and purges.
- The cleanup test creates the second object only when it registers it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 4 (gpt-6.1-sol, max effort)

VERDICT: REQUEST_CHANGES

  1. Major — Duplicate cleanup silently skips stores without purge support. e0.py:527. A store implementing the required object and streaming ports can register identical bytes at A and B successfully while retaining both objects. The catalog inventories only A; purging that inventory leaves B readable. Both bundled stores support purge, but the generic API permits this gap. Simplest fix: make purge capability an explicit prerequisite, checked before accepting registration, and remove the silent skip.

  2. Major — Mapped ODF detection can still exhaust memory through decompression. content_detection.py:382. The mimetype member’s declared size is untrusted; archive.read(member) decompresses before truncating to that size. A reproduced 33 KB archive consumed 81 MB of Python heap and detected as ODT. The 64 MiB input-read limit does not prevent this. Simplest fix: cap the member read/decompression and add this regression. For the deflated reproduction, archive.open(member).read(128) preserves the verdict with approximately 54 KB peak heap.

  3. Major — The new cleanup integration test has a deterministic fixture failure. test_ingest_stored_pg.py:255. Lines 233–234 create both A and B, but this assertion expects only A before B has been registered. Registration correctly leaves that unregistered object alone. Simplest fix: create B immediately after the first assertion.

The raw-copy release works across all three ingest paths with purge-capable stores, including retained same-key retries. Opaque keys, negative ZIP seeks, PDF anchors and chunked text detection fixes check out. Shared admission, metadata, routability and D55 handling otherwise match ordinary ingest.

I accept the documented mapped ZIP-directory cutoff under the owner’s simplicity preference; it remains an explicit bytes/mmap equivalence exception. A custom central-directory parser is unnecessary for this review. The previously accepted metering and uploader-selected storage-class limits remain documented.

Rule 4: no new volatile identity inputs, lineage changes or paid-work reuse boundaries found; existing lifecycle proofs remain intact.

Validation: 201 tests passed; 21 database tests skipped. Another 75,378 old/new PDF/text comparisons and 500 bytes/mmap comparisons matched. Worker integration CI remained pending. Worktree unchanged; Docker untouched.

Disposition (Claude): all three accepted, fixed in d2ea598

  1. ingest_stored now refuses (TypeError) a raw store that does not implement both StreamingReadPort and ObjectPurgePort, before anything is read or recorded.
  2. The mimetype member is read with archive.open(member).read(129). This inflates in bounded steps, and reading past the declared size still reaches the member's end, so the CRC check runs as before. The bytes path improves too, and the verdicts are unchanged: 200,000 fuzzed old/new comparisons show 0 differences. Regression test: a crafted ODT whose mimetype declares 39 bytes but inflates to 64 MiB is still classified as ODT, with peak heap bounded.
  3. Fixed: B is created just before its registration.

Codex round 5: zipfile cannot bound BZIP2 or LZMA output. On a memory-mapped
stored object only a stored or DEFLATE mimetype member is read (ODF requires
it stored); bytes in memory keep the previous behaviour exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 5 (gpt-6.1-sol, max effort)

VERDICT: REQUEST_CHANGES

  1. Major — ODF detection still permits decompression memory exhaustion. content_detection.py:390: stream.read(129) bounds DEFLATE output, but zipfile decompresses BZIP2/LZMA data before truncating to the declared member size. A 380-byte mapped BZIP2 archive consumed 77 MiB of Python heap and was accepted as ODT; a 5,120-byte LZMA archive consumed 64 MiB. Round-four finding 2 remains partly unresolved. Simplest fix: enforce decompressor output and memory limits for these methods too, and extend the regression test to cover them.

The purge-capability guard and corrected integration fixture check out. Ten representative upload/stored comparisons matched admission identities, MIME, metadata, lane, and routing inputs. Previously accepted metering, storage-class, and oversized ZIP-directory exceptions remain documented.

Rule 4: no new volatile identity inputs, lineage changes, or paid-work reuse boundaries found; existing lifecycle proofs remain intact.

Validation: 202 tests passed; 21 database tests skipped. Another 50,252 old/new detection comparisons and 800 bytes/mmap comparisons matched. Worker integration CI remains running. Worktree unchanged; Docker untouched.

Disposition (Claude): accepted, fixed in 73a3f35

zipfile cannot bound BZIP2 or LZMA output. So on a memory-mapped stored object, the check reads the mimetype member only when it is stored or DEFLATE (ODF requires it stored); any other method means the package is not recognised as ODF. Bytes in memory keep the previous behaviour exactly: 200,000 fuzzed old/new comparisons show 0 differences. D147 lists this next to the 64 MiB directory bound.

Regression test test_a_mapped_package_never_inflates_an_unboundable_mimetype: crafted BZIP2 and LZMA members that declare 39 bytes and inflate to 32 MiB are detected as application/octet-stream with peak heap under 8 MiB. I confirmed both cases fail if the guard is removed.

Codex round 6 minor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9cMsQBqiW2qU2ow4zeNCm
@fazpu

fazpu commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Codex review round 6 (gpt-6.1-sol, max effort)

VERDICT: APPROVE

  1. Minor — Streaming S3 reads skip D148 transfer accounting. minio.py:257: inside an active object_transfer_scope, streaming 10 bytes reports zero bytes read; read_bytes reports 10. This undercounts streaming reads during worker attempts. Simplest fix: call record_object_transfer(bytes_read=len(chunk)) before yielding, and extend the streaming test.

The latest BZIP2/LZMA fix closes round five’s memory finding, verified on Python 3.12. Its documented detection exception is reasonable under the simplicity requirement. Previously accepted metering, storage-class and ZIP-directory limits remain documented.

No blocker or major findings. Admission, metadata, routing and D55 handling match normal ingest within those limits. Raw-key validation and retained-object cleanup check out.

Rule 4: no new volatile identity inputs, lineage changes or paid-work reuse boundaries found.

Validation: 182 passed; 21 database tests skipped. Thirty upload/stored comparisons and 71,000 old/new detection comparisons matched. CI Quality and Unit passed; worker integration remains running. Worktree unchanged; Docker untouched.

Disposition (Claude)

The minor is accepted and fixed in 69da76d. MinIOObjectStore.iter_bytes now records each streamed chunk in the D148 transfer scope. The streaming test checks that bytes_read == 10.

@fazpu
fazpu merged commit f67c730 into main Nov 7, 2026
19 checks passed
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