Skip to content

sync: add foundation layer — kernel, startup, indexing, utils - #2130

Open
unsupo wants to merge 2 commits into
developmentfrom
sync/foundation-kernel-startup-indexing
Open

unsupo wants to merge 2 commits into
developmentfrom
sync/foundation-kernel-startup-indexing

Conversation

@unsupo

@unsupo unsupo commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add new source files from internal repo — the foundation layer that other modules depend on.

What is included

  • kernel/ (7 files) — pluggable content layer: seam types, seam resolution, capabilities, feature handoff, index builders, index store seam, content seam
  • server/startup/ (11 files) — EKS boot sequence wiring: content/git/ripgrep/search backend wiring, content writer wiring, control plane metadata wiring, feature wiring, golden mount guard, index store wiring, leader gate, removed scip settings
  • indexing/ (6 files) — content prefetcher, fetch planner, file facts, file texts, repo manifest, text decoding
  • global_repos/ (3 files) — control plane metadata, repointed origin, write mode markers
  • utils/ (7 files) — blob hash, git invoker, index store, remote endpoint, sandbox mcp client, snapshot paths, worker budget
  • services/ (3 files) — chunk coverage, git head, temporal git seam
  • scip/ (1 file) — delegation API

Review notes

All files are NEW additions (not modifications). Part of the incremental internal→public sync.

Disclosure scan run: ticket refs, MR refs, K8s DNS, internal emails, AWS account IDs, GitLab paths checked.


Merge-order dependencies

Prerequisite What it supplies
PR #2122 cidx-sdk seams package
PR #2127 Dockerfile + pyproject packaging for cidx-sdk
PR #2132 Storage shared backends (content_backend, git_backend)
PR #2131 Server services (index_store, checkout_sweep, etc.)
PR #2133 Startup wiring, lifespan hooks

Review findings

# Severity Status Summary
1 BLOCKING Fixed Internal tracker keys, service names, URL/port, MR refs, network-policy details
2 MEDIUM Merge-order Modules import cidx_sdk — no open PR supplies it
3 MEDIUM Merge-order Modules import server.storage.shared — supplied by PR #2132
4-7 MEDIUM Noted EKS silent fallback, performance, duplication
8-19 LOW Noted Security, code quality (tracked privately where applicable)

Add new source files from internal repo:
- kernel/ — pluggable content layer (seam types, resolution, capabilities)
- server/startup/ — EKS boot sequence wiring modules
- indexing/ — content prefetcher, fetch planner, manifest, text decoding
- global_repos/ — control plane metadata, repointed origin, write markers
- utils/ — blob hash, git invoker, index store, worker budget
- services/ — chunk coverage, git head, temporal git seam
- scip/ — delegation API
- Remove internal tracker keys from source files (EVO-/TDMS-/ARCH- → issue-NNNNN)
- Replace internal service names with generic descriptions
- Replace internal sandbox URL/port with sandbox.example:8080
- Remove MR references and network-policy authorization details
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