Skip to content

fix(worker): Slice 1 ingest routes and profile gaps - #5

Merged
SarkarShubhdeep merged 2 commits into
developmentfrom
phase2/slice1-ingest-hotfix
Jul 8, 2026
Merged

fix(worker): Slice 1 ingest routes and profile gaps#5
SarkarShubhdeep merged 2 commits into
developmentfrom
phase2/slice1-ingest-hotfix

Conversation

@SarkarShubhdeep

Copy link
Copy Markdown
Collaborator

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 ingest
  • POST /v1/index — embed + vector upsert for collector ingest
  • Default privacy profile: register read_file, list_watched, index_document
  • search_memory limit param nullable fix
  • docs/manual.md — Slice 1 acceptance test walkthrough
  • docs/plans/phase-2.md — Slice 1 merged status + deviations

Acceptance Criteria

  • Collector drops .txt in watch folder → indexes without 404
  • curl -X POST .../v1/index returns { ok: true, id: ... }
  • pnpm test / CI green

Dependencies

Testing

  • Unit tests: collector ingest, tools package
  • Manual: Section 13 in docs/manual.md

Notes

Does not change default chat model. Embeddings remain direct Ollama API.

Made with Cursor

SarkarShubhdeep and others added 2 commits July 8, 2026 15:49
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>
@SarkarShubhdeep
SarkarShubhdeep merged commit c9bc533 into development Jul 8, 2026
1 check passed
@SarkarShubhdeep SarkarShubhdeep mentioned this pull request Jul 8, 2026
4 tasks
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