Title: [EPIC] Phase 7A: Python Ecosystem Intelligence (pyproject, requirements, import graph & FastAPI) · Issue #149 · elcode-id/elcode-forge · GitHub
Open Graph Title: [EPIC] Phase 7A: Python Ecosystem Intelligence (pyproject, requirements, import graph & FastAPI) · Issue #149 · elcode-id/elcode-forge
X Title: [EPIC] Phase 7A: Python Ecosystem Intelligence (pyproject, requirements, import graph & FastAPI) · Issue #149 · elcode-id/elcode-forge
Description: Objective Establish deterministic codebase intelligence for Python applications, including manifest parsing (pyproject.toml, requirements.txt, poetry.lock, uv.lock), AST/import graph extraction with standard library filtering, Python sec...
Open Graph Description: Objective Establish deterministic codebase intelligence for Python applications, including manifest parsing (pyproject.toml, requirements.txt, poetry.lock, uv.lock), AST/import graph extraction wit...
X Description: Objective Establish deterministic codebase intelligence for Python applications, including manifest parsing (pyproject.toml, requirements.txt, poetry.lock, uv.lock), AST/import graph extraction wit...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/149
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[EPIC] Phase 7A: Python Ecosystem Intelligence (pyproject, requirements, import graph & FastAPI)","articleBody":"## Objective\nEstablish deterministic codebase intelligence for Python applications, including manifest parsing (`pyproject.toml`, `requirements.txt`, `poetry.lock`, `uv.lock`), AST/import graph extraction with standard library filtering, Python security scanning, and FastAPI/Flask framework detection under the ELCODE Studio Manifesto.\n\n## Architectural Deliverables\n1. **Manifest & Dependency Parsers (`crates/forge-analyzer/src/python_manifest.rs`):**\n - Parse PEP 517/621 `pyproject.toml`, Poetry `[tool.poetry.dependencies]`, `uv.lock`, `poetry.lock`, and `requirements.txt`.\n - Populate normalized `Dependency` structs with `ecosystem: \"pypi\"`.\n - Flag unpinned versions (`*`, `>=0.0.0`), duplicates, and missing lockfile hygiene.\n2. **Import Graph & Module Resolver (`crates/forge-analyzer/src/python_imports.rs`):**\n - Parse `import x.y.z [as alias]`, `from x.y import a, b`, and relative imports (`from . import utils`, `from ..services import user_service`).\n - Standard library module filter (300+ builtin Python modules: `os`, `sys`, `json`, `typing`, etc.).\n - Tarjan SCC cycle detection for Python packages.\n3. **Security Rules & Curated Fixture:**\n - Detect FastAPI, Flask, Django, and Pytest.\n - Built-in security rules: `security/python-unsafe-eval`, `security/python-insecure-subprocess`, `security/python-pickle-deserialization`.\n - Curated test repository `fixtures/fastapi-app/`.\n\n## Sub-Issues\n- [x] #150 — feat(forge-analyzer): pyproject.toml, requirements.txt, and lockfile dependency parsers\n- [x] #151 — feat(forge-analyzer): Python import graph extractor, module resolver & cycle detector\n- [x] #152 — feat(forge-security): Python unsafe pattern rules, framework detectors & fixtures/fastapi-app\n","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-21T05:56:52Z","url":"https://github.com/elcode-id/elcode-forge/issues/149"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:21a90cff-2dbd-b17d-2e18-33528ad7f14f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E956:3BA519:1E1024:28CFFD:6B059997 |
| html-safe-nonce | d941e72a2258dd58921069f6156cee7321e50cbef5372249729ca5fe1fa5610e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTU2OjNCQTUxOToxRTEwMjQ6MjhDRkZEOjZCMDU5OTk3IiwidmlzaXRvcl9pZCI6IjQzOTUzNjM4Mzc2NzE3NDE4NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 237cfbb8eac8e03d7005d40cbd8e0d3927219a69337d71b3289ad8fec8e2eb9d |
| hovercard-subject-tag | issue:5955190931 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elcode-id/elcode-forge/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/395bb962729cc9e8b58d4f922d7f9ab4c3f606fb4dcd361ecbbf78baf8555d5a/elcode-id/elcode-forge/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/395bb962729cc9e8b58d4f922d7f9ab4c3f606fb4dcd361ecbbf78baf8555d5a/elcode-id/elcode-forge/issues/149 |
| og:image:alt | Objective Establish deterministic codebase intelligence for Python applications, including manifest parsing (pyproject.toml, requirements.txt, poetry.lock, uv.lock), AST/import graph extraction wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luksluki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139 |
| turbo-cache-control | no-preview |
| go-import | github.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git |
| octolytics-dimension-user_id | 337957755 |
| octolytics-dimension-user_login | elcode-id |
| octolytics-dimension-repository_id | 1423983661 |
| octolytics-dimension-repository_nwo | elcode-id/elcode-forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1423983661 |
| octolytics-dimension-repository_network_root_nwo | elcode-id/elcode-forge |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cda4791073b4da3005eb3d470dc0aef3956bbe34 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width