fix(worker): Slice 1 ingest routes and profile gaps - #5
Merged
Conversation
Adds PUT /v1/files and POST /v1/index so the collector ingest pipeline can upload and index documents. Also registers new file tools in the default privacy profile and fixes search_memory limit schema handling. Changes: - Worker: PUT /v1/files/:path for bucket upload - Worker: POST /v1/index for embed + vector upsert - Profile: register read_file, list_watched, index_document dispositions - search_memory: nullable/optional limit param with transform - test-portability.sh: health check regex fix Co-authored-by: Cursor <cursoragent@cursor.com>
Documents the full drop-file → index → search acceptance path and records Slice 1 merge status plus known deviations from the plan. Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks
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.
Phase 2 Slice 1 Hotfix
Summary
Completes the collector → Jerry ingest pipeline by wiring worker HTTP routes
that PR #4's collector client expects but were not merged.
Changes
PUT /v1/files/:path— bucket upload for collector ingestPOST /v1/index— embed + vector upsert for collector ingestread_file,list_watched,index_documentsearch_memorylimit param nullable fixdocs/manual.md— Slice 1 acceptance test walkthroughdocs/plans/phase-2.md— Slice 1 merged status + deviationsAcceptance Criteria
.txtin watch folder → indexes without 404curl -X POST .../v1/indexreturns{ ok: true, id: ... }pnpm test/ CI greenDependencies
Testing
docs/manual.mdNotes
Does not change default chat model. Embeddings remain direct Ollama API.
Made with Cursor