{"id":34935193,"url":"https://github.com/nshkrdotcom/elixir_scope","last_synced_at":"2026-05-23T02:32:35.781Z","repository":{"id":296429944,"uuid":"993009676","full_name":"nshkrdotcom/elixir_scope","owner":"nshkrdotcom","description":"Revolutionary AST-based debugging and code intelligence platform for Elixir applications","archived":false,"fork":false,"pushed_at":"2025-06-10T05:11:56.000Z","size":2434,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T04:34:01.529Z","etag":null,"topics":["ast","ast-analysis","beam","code-analysis","code-inspection","code-intelligence","debugging","debugging-tools","developer-tools","elixir","erlang-vm","functional-programming","nshkr-devtools","otp","static-analysis","syntax-tree"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nshkrdotcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-30T04:14:30.000Z","updated_at":"2025-11-30T03:10:43.000Z","dependencies_parsed_at":"2025-05-31T00:35:17.611Z","dependency_job_id":null,"html_url":"https://github.com/nshkrdotcom/elixir_scope","commit_stats":null,"previous_names":["nshkrdotcom/elixir_scope"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nshkrdotcom/elixir_scope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Felixir_scope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Felixir_scope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Felixir_scope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Felixir_scope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nshkrdotcom","download_url":"https://codeload.github.com/nshkrdotcom/elixir_scope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Felixir_scope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33380587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T01:21:08.577Z","status":"online","status_checked_at":"2026-05-23T02:00:05.530Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ast","ast-analysis","beam","code-analysis","code-inspection","code-intelligence","debugging","debugging-tools","developer-tools","elixir","erlang-vm","functional-programming","nshkr-devtools","otp","static-analysis","syntax-tree"],"created_at":"2025-12-26T18:01:55.692Z","updated_at":"2026-05-23T02:32:35.757Z","avatar_url":"https://github.com/nshkrdotcom.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElixirScope\n\nElixirScope is a unified AST-based debugging and code intelligence platform for Elixir applications. Built on a clean 8-layer architecture with Foundation as an external hex dependency for optimal modularity and deployment simplicity.\n\n[![CI](https://github.com/nshkrdotcom/elixir_scope/actions/workflows/elixir.yaml/badge.svg)](https://github.com/nshkrdotcom/elixir_scope/actions/workflows/elixir.yaml)\n[![Elixir](https://img.shields.io/badge/elixir-1.18.3-purple.svg)](https://elixir-lang.org)\n[![OTP](https://img.shields.io/badge/otp-27.3.3-blue.svg)](https://www.erlang.org)\n[![Hex version badge](https://img.shields.io/hexpm/v/elixir_scope.svg)](https://hex.pm/packages/elixir_scope)\n[![Hexdocs badge](https://img.shields.io/badge/docs-hexdocs-purple)](https://hexdocs.pm/elixir_scope)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\n## Architecture\n\nElixirScope implements a clean 8-layer architecture built on top of the Foundation dependency:\n\n```\n┌─────────────────────────────────────┐\n│             Debugger                │ ← Complete debugging interface\n├─────────────────────────────────────┤\n│           Intelligence              │ ← AI/ML integration  \n├─────────────────────────────────────┤\n│      Capture          Query         │ ← Runtime correlation \u0026 querying\n├─────────────────────────────────────┤\n│            Analysis                 │ ← Architectural analysis\n├─────────────────────────────────────┤\n│              CPG                    │ ← Code Property Graph\n├─────────────────────────────────────┤\n│             Graph                   │ ← Graph algorithms\n├─────────────────────────────────────┤\n│              AST                    │ ← AST parsing \u0026 repository\n├─────────────────────────────────────┤\n│           Foundation                │ ← Core utilities (DEPENDENCY)\n└─────────────────────────────────────┘\n```\n\n## Dependencies\n\n- **Foundation Layer**: Available as hex dependency `foundation ~\u003e 0.1.0` ([HexDocs](https://hexdocs.pm/foundation/0.1.0/api-reference.html))\n- **Development Tools**: Credo, Dialyzer, ExCoveralls, ExDoc\n- **Testing**: Mox, StreamData\n\n## Current Status\n\n- ✅ **Foundation Layer**: Available as production-ready hex dependency\n- ✅ **Project Structure**: Clean 8-layer skeleton created\n- ✅ **Testing Framework**: Smoke, unit, integration test structure\n- ✅ **Foundation Integration**: Successfully integrated and tested\n- 🚧 **Upper 8 Layers**: Skeleton created, ready for implementation\n\n## Quick Start\n\n```bash\n# Install dependencies\nmix deps.get\n\n# Compile the project\nmix compile\n\n# Run tests\nmix test\n\n# Run smoke tests (Foundation integration)\nmix test.smoke\n\n# Development check (format, credo, compile, smoke tests)\nmix dev.check\n```\n\n## Development Commands\n\n```bash\n# Test categories\nmix test.unit          # Fast unit tests\nmix test.integration   # Cross-layer integration tests\nmix test.smoke         # Quick health checks\nmix test.all           # Complete test suite\n\n# Quality assurance\nmix dev.check          # Format check, Credo, compile, smoke tests\n```\n\n## Layer Implementation\n\nEach layer is a skeleton ready for implementation:\n\n- `ElixirScope.AST` - AST parsing and repository\n- `ElixirScope.Graph` - Graph algorithms and data structures\n- `ElixirScope.CPG` - Code Property Graph construction\n- `ElixirScope.Analysis` - Architectural pattern detection\n- `ElixirScope.Capture` - Runtime instrumentation and correlation\n- `ElixirScope.Query` - Advanced querying system\n- `ElixirScope.Intelligence` - AI/ML integration\n- `ElixirScope.Debugger` - Complete debugging interface\n\n## Foundation Services\n\nThe Foundation layer provides enterprise-grade OTP services:\n\n- **ConfigServer**: Dynamic configuration with validation\n- **EventStore**: Comprehensive event system\n- **TelemetryService**: Advanced metrics and monitoring\n- **ProcessRegistry**: Service discovery with namespace isolation\n- **Infrastructure Protection**: Circuit breakers, rate limiting, connection pooling\n\n## Examples\n\n```elixir\n# Start the application\n{:ok, _} = Application.ensure_all_started(:elixir_scope)\n\n# Check layer status\nElixirScope.layers()\n# [:ast, :graph, :cpg, :analysis, :capture, :query, :intelligence, :debugger]\n\n# Parse Elixir code (basic AST layer functionality)\n{:ok, ast} = ElixirScope.AST.parse(\"defmodule Test, do: :ok\")\n\n# Check current implementation status\nElixirScope.AST.status()\n# :not_implemented\n```\n\n## Implementation Plan\n\nThis project is ready for implementation following a comprehensive architecture plan:\n\n### Documentation\n- **Complete Architecture Plan**: [`docs/claudeCodeArchPlan.md`](docs/claudeCodeArchPlan.md)\n- **Reference Implementation**: [`docs/reference_implementation/`](docs/reference_implementation/) (302 files, 54k LOC)\n- **Implementation Guides**: [`docs/implementation/`](docs/implementation/) - Layer-by-layer instructions\n- **Full Documentation**: [`docs/README.md`](docs/README.md)\n\n### Implementation Priority\n1. **Graph Layer** (Week 2) - Lowest complexity, validates architecture (11 files, 506 LOC)\n2. **AST Layer** (Weeks 3-4) - Core functionality, central hub (70 files, 16k LOC)\n3. **Remaining Layers** (Weeks 5-16) - CPG, Analysis, Capture, Query, Intelligence, Debugger\n\n### Unified Package Benefits\n- **Single Dependency**: `{:elixir_scope, \"~\u003e 0.1.0\"}`\n- **Atomic Deployments**: All layers versioned together\n- **Direct Integration**: Function calls vs. message passing\n- **Shared Memory**: Efficient ETS table and cache sharing\n\nEach layer is ready for implementation with the Foundation layer providing robust enterprise-grade infrastructure.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnshkrdotcom%2Felixir_scope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnshkrdotcom%2Felixir_scope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnshkrdotcom%2Felixir_scope/lists"}