Update README.md - #2
Merged
Merged
Conversation
Removed reference to the full quick start guide in README.
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
damianloch
had a problem deploying
to
development
January 23, 2026 07:04 — with
GitHub Actions
Failure
OlivierTrudeau
added a commit
that referenced
this pull request
Mar 31, 2026
…gration (#169) * fix: stop auto-assigning org-less users to shared Default Organization The startup migration was dumping all users without an org_id into a single "Default Organization", merging unrelated tenants and stripping admin roles. Now org-less users are left alone and prompted to create their own org via /setup-org at next login. Made-with: Cursor * fix: return 409 instead of 500 for duplicate org names Add application-level uniqueness check (case-insensitive) before hitting the DB constraint in /register, /setup-org, and PATCH /orgs. Made-with: Cursor * lost fixes * final fixes * fix: log instead of silently passing in savepoint rollback except blocks Addresses code quality review feedback — bare `except: pass` blocks now log at debug level so rollback failures are visible in logs. Made-with: Cursor * feat: cross-org data migration with invitation-based join flow Enables users who created separate orgs to consolidate into one shared org, carrying all their data (incidents, chats, preferences, etc.) with them. This is critical for teams pulling the RBAC update where each member initially creates their own org. Backend: - Add migrate_user_to_org() in org_backfill.py — re-stamps ALL user-scoped and incident-child data from old org_id to new org_id (no IS NULL filter, unlike backfill which only stamps NULLs) - Add invitation CRUD endpoints (POST/GET /api/orgs/invitations) with 7-day TTL, duplicate detection, and expired-invite cleanup - Add POST /api/orgs/join — accepts invitation_id, validates email match, migrates data, auto-cleans empty source orgs - Refactor add_member to allow cross-org transfer (was 409 block) - Extract _transfer_user_to_org() shared helper to eliminate duplicate transfer logic between add_member and join_org - Security: SELECT FOR UPDATE on invitation and user rows to prevent race conditions; direct org_id join requires matching pending invitation; Casbin ops moved after commit Frontend: - Redesign /setup-org with tabbed UI: Create Org | Join Org - Join tab accepts invitation code (UUID), calls /api/orgs/join - API proxy whitelists only invitation_id field (blocks org_id bypass) Made-with: Cursor * fix: address CodeRabbit review — JSON error handling and join redirect race - Wrap request.json() and response.json() in try/catch in the /api/orgs/join proxy route (returns 400/502 on parse failure) - Remove 2-second setTimeout before signOut after successful join to prevent stale-session race with middleware redirect Made-with: Cursor * Add specification that they should contact the org owner to make them an account * Add invitations to orgs and fix other bugs * add db migration to dedup duplicate org names and show email that needs to be ivnited * make sure no duplicate credz. only when the org is created the connectors are migrated. Otherwise. They are ignored * more changes * fixed migration to new org * further fixes * addressed code rabbit * remvoed the stupid code rabbit comment * migration from previous RBAC * bot suggestion * olivier bugs * olivier fixes * fix delete the empty org * removed debug files * org backfill * poetential fix * potential fix #2 * readd deleted comments * Potential fix for pull request finding 'Unused import' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * fixed olivier comments --------- Co-authored-by: Olivier Trudeau <oliverek@hotmail.ca> Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
4 tasks
6 tasks
beng360
pushed a commit
that referenced
this pull request
May 25, 2026
* feat: add infrastructure context tool for prediscovery + MCP The prediscovery agent now produces a consolidated infrastructure context document as its primary deliverable (while still saving individual findings for backward-compatible RCA search). The document is exposed as a tool to both internal agents and external MCP clients. Changes: - New infrastructure_context table (org_id PK, content, updated_at) - New infra_context_tool.py with save/get functions - Registered save_infrastructure_context (prediscovery mode only) - Registered get_infrastructure_context (all authenticated users) - Rewritten prediscovery prompt targeting consolidated doc output - GET /api/graph/infrastructure/context API endpoint - MCP dispatch entry (Tier 3, always-on, category=topology) - Knowledge base skill hint for internal agent discoverability * fix: add infrastructure_context to RLS exclusions The table uses org_id as its PK (one row per org, queried directly) so RLS policies are not applicable. * chore: remove sample output file * fix: remove useless f-string prefix (sonar) * address PR review feedback - Clarify tool precedence in knowledge_base.md skill (comment #1) - Move org resolution inside try block in graph_routes.py (comment #2) * Less rigid prompting * change system prompt to be less ridid Clarify instructions for documenting environments and systems. * address PR review feedback (round 2) - Fix possessive grammar in knowledge_base.md - Add 100k char max limit on save_infrastructure_context - Remove redundant exception string in graph_routes logger.exception * chore: remove accidentally committed docs
This was referenced Jun 8, 2026
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.
Removed reference to the full quick start guide in README.