feat(projects): project-centric scoping foundation (UX redesign P1)#77
Merged
Conversation
- projects table (settings JSONB: default_timeline_window, auto_load_timeline,
max_events) + project_id on log_chunks/watcher_configs/conversations/
investigations; real signature column on log_chunks (un-defers Path B from
cluster_view) with idempotent backfill; Default project seed absorbs all
pre-project rows
- /projects CRUD + /projects/{id}/services; resolve_project shared name-or-id
resolver (name get-or-create, uuid must exist, blank -> Default)
- ingest stamps signature + project_id (API form field, worker via
watcher_configs.project_id); /watchers accepts project_id
- scoping: RetrievalFilters.project_id applies to both vector + FTS arms;
every ReAct tool gains project_id injected via container closures (LLM
never sees it; cache keys include it); chat + investigate accept/inherit
project_id; known_services resolved per project
- conversations list/detail return project_id + name for the sidebar
Verified live: zk ingested into 'Infra', ssh into Default; Infra-scoped chat
cites only Infra chunks; asking Infra about ssh-server clarifies with zero
cross-project leakage.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Merged
3 tasks
VarunGitGood
added a commit
that referenced
this pull request
Jun 14, 2026
feat(projects): project-centric scoping foundation (UX redesign P1)
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.
First of three stacked PRs implementing the AI-Observability-Assistant redesign (projects → timeline-first landing → guided investigation).
What this adds
projectstable with per-project settings (default_timeline_window,auto_load_timeline,max_events);project_idon log_chunks, watcher_configs, conversations, investigations. Idempotent schema migration seeds a Default project and backfills all existing rows into it — zero-friction upgrade.signaturecolumn on log_chunks (un-defers "Path B" documented in cluster_view.py) + backfill — enables the corpus-wide event feed and clusters in P2./projectsAPI: list (with service counts), create, get, PATCH (settings merge),/projects/{id}/services.POST /ingesttakes an optionalproject(name get-or-create / uuid / blank → Default); the worker stamps from its watcher's project.RetrievalFilters.project_idfilters both retrieval arms; every ReAct tool getsproject_idinjected via container closures — the LLM never sees or controls it, and cache keys include it./chatand/investigateaccept or inherit the conversation's project; intent resolution uses project-scoped known services.Verified live (real LogHub data)
Test plan
uv run pytest tests/ -q— 216 passed (8 new: resolver branches, settings merge, filter clause)