Move cyber-edge into monorepo as domains/cyber/#251
Merged
grahamrowe82 merged 3 commits intomainfrom Apr 12, 2026
Merged
Conversation
69 Python files + 19 templates + 8 migrations + profile.yaml moved from the standalone cyber-edge repo into domains/cyber/. Infrastructure replaced with app.core imports: - DB, settings, budget, rate_limit, errors, auth, keys, embeddings, MCP tracking all import from app.core.* - Cyber-specific db.py points at cyber database (separate from AI) - Settings subclasses EdgeBaseSettings with cye_ key prefix render.yaml updated (Clarity pattern — one combined file): - Added cyber-edge-db, cyber-edge web service, cyber-edge-ingest-worker - autoDeploy: false on all services (AI + cyber) - DOMAIN env var selects behaviour Cyber domain: 250K CVEs, 8 data sources (NVD, KEV, EPSS, MITRE ATT&CK, MITRE CWE, MITRE CAPEC, OSV, GHSA, Exploit-DB), 6 entity types, 300K static pages, 10 materialized views, 8 migrations. All 142 AI tests pass. Cyber-edge standalone repo to be archived. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Settings reads from domains/cyber/.env (not root .env) - Added .env.example with all cyber-specific keys - Gitignore updated: domains/*/.env Each domain has its own .env next to its code. No shared .env for database credentials. Matches the Clarity per-client pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Settings reads from domains/ai/.env instead of root .env. Each domain has its own .env next to its code — no shared root .env for database credentials. Matches Clarity per-client pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Moves the complete cyber-edge codebase (250K CVEs, 8 data sources, 300K pages) into
domains/cyber/within this repo. Infrastructure code replaced withapp.coreimports. Combined render.yaml with autoDeploy: false on all services.app.core.*domains/cyber/app/db.pypoints at cyber database, not AIEdgeBaseSettingswithcye_key prefixautoDeploy: falseCyber domain
Post-merge
Test plan
from domains.cyber.app.models.core import CVEcye_prefix, cyber DB URL default🤖 Generated with Claude Code