Repository navigation
feat(kc): restore public upload and lifecycle APIs (SHD-1073) - #32
Merged
Merged
Conversation
Signed-off-by: janosmurai <janos.murai@axem.dev>
janosmurai
force-pushed
the
SHD-1073/upload-lifecycle
branch
from
October 18, 2026 17:13
e34bc01 to
a0257ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Related issue
SHD-1073 — Public collection and file orchestration APIs
Description
Restores collection, membership and file APIs, five-minute upload links, upload forwarding and storage-event processing. The server enforces caller access and owns metadata/status orchestration. KC owns all RustFS operations; the server has no storage credentials or direct S3 client.
Core operation remains available without the optional KC service.
Validation
cargo fmt --checkcargo clippy --all-targets --all-features -- -D warningscargo build --verbose --all-featurescargo test --offline --locked --all-featuresLocal commands used offline, locked dependencies. Independent ordinary parallel tests passed 180 cases, with one inherited transport diagnostic ignored.
An independent isolated upload-to-MCP run passed 74 assertions using real server/KC/RustFS/Qdrant services and a deterministic embedding double. Coverage includes PDF/DOCX uploads, storage-write origin, user/admin isolation, forged/replayed requests, identical-text file deletion, failure fences and no-KC standalone operation. An independent extension rerun passed 78 primary assertions covering actual provider embeddings, disk-backed restart and security cases, plus 83 separate fault-injection assertions; cleanup was verified.
Deployment and compatibility
Adds a reversible operation-state migration. KC integration is opt-in. Existing public upload paths remain facades over authenticated KC internal APIs.
Documentation
Documents the public/internal boundary, configuration, upload lifecycle and recovery limitations.
Checklist
Signed-off-bytrailer (git commit -s).AI assistance: