You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-18Lines changed: 28 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
# LegacyLens — Agentic Software Modernization
2
2
3
-
> **Agentic legacy-code migration with program analysis, dependency intelligence, Qdrant-backed retrieval, migration planning, context-grounded conversion, and post-migration release gates.**
3
+
> **Agentic software modernization with program analysis, dependency intelligence, migration planning, context-grounded code conversion, syntax-aware validation, bounded repair, and release gates.**
4
4
5
-
LegacyLens analyzes a legacy repository, builds a structured representation of its codebase, creates a migration plan, performs context-grounded code transformation, and evaluates the resulting target project with deterministic engineering checks.
5
+
LegacyLens analyzes a legacy repository, builds a structured representation of its codebase, creates a migration plan, performs context-grounded code transformation, validates generated source, and evaluates the resulting target project with deterministic engineering checks.
6
+
7
+
The conversion path is deliberately hybrid: deterministic repository analysis and validation remain outside the model, while the LLM is used for semantic translation and bounded repair where explicit transformation rules are insufficient.
6
8
7
9
## What changed in the portfolio-ready release
8
10
@@ -37,14 +39,15 @@ Live migration workspace
37
39
38
40
### Reliability / release behavior
39
41
40
-
The migration platform now has stronger failure handling around the hosted LLM gateway and artifact generation:
42
+
The migration platform treats conversion as a verification loop rather than a one-shot generation step:
41
43
42
-
- Gateway rate-limit failures are surfaced as real migration failures rather than fabricated code.
43
-
- Invalid/empty model output is rejected instead of being treated as generated source.
44
-
- Directory-like output paths are normalized defensively.
45
-
- Release readiness is derived from the post-migration quality gate.
46
-
- A blocked/failed migration can still produce a clearly labeled failure report when no valid migration artifact exists.
47
-
- Hosted execution can use lightweight workflow settings to reduce unnecessary agent-event retention.
44
+
- LLM inference is routed through the shared Portfolio LLM Gateway using a request-scoped JWT.
45
+
- Deterministic repository analysis and validation remain outside the model.
46
+
- Generated source is sanitized and syntax-validated before it is accepted as migrated code.
47
+
- Syntax failures can trigger a bounded, targeted repair pass instead of a full regeneration.
48
+
- Failed conversion steps are propagated as migration failures rather than being counted as successful conversions.
@@ -79,31 +85,35 @@ Migration artifact or failure report
79
85
- Universal CTags symbol extraction
80
86
- File and symbol dependency analysis
81
87
- Technology/framework detection
82
-
-Qdrant-backed analysis retrieval
88
+
-Knowledge-base retrieval over repository analysis and dependency context
83
89
- Planning before conversion
84
-
- Agentic code transformation
90
+
- Agentic code transformation with deterministic conversion guidance
91
+
- Syntax-aware generated-code validation and bounded repair
85
92
- Deterministic post-migration QA
86
93
- Release gates and repair loops
87
94
- Evidence-backed migration reports
88
95
- Ask-the-codebase retrieval over migration artifacts
89
96
90
97
## BYOK / shared LLM Gateway
91
98
92
-
LegacyLens uses the portfolio's shared LLM Gateway for request-scoped inference sessions.
99
+
LegacyLens uses the portfolio's shared LLM Gateway as its inference boundary.
93
100
94
101
```text
95
-
Portfolio BYOK
102
+
Portfolio
103
+
↓
104
+
Create request-scoped BYOK session
96
105
↓
97
-
Short-lived gateway session
106
+
Short-lived JWT
98
107
↓
99
108
LegacyLens
109
+
X-LLM-Gateway-Token
100
110
↓
101
111
Portfolio LLM Gateway
102
112
↓
103
113
Selected provider / model
104
114
```
105
115
106
-
Provider credentials remain outside the project frontend/source repository.
116
+
LegacyLens does not use direct provider API keys for inference in the hosted portfolio path. The gateway handles provider/model selection and credential custody.
107
117
108
118
## Local development
109
119
@@ -125,4 +135,4 @@ LegacyLens is a portfolio and engineering demonstration, not a turnkey enterpris
125
135
126
136
## Portfolio positioning
127
137
128
-
**Developer modernization workbench** — program analysis, retrieval-grounded planning, agentic conversion, executable validation, and release-aware migration workflows.
138
+
**Developer modernization workbench** — program analysis, migration planning, context-grounded conversion, syntax-aware validation, bounded repair, executable checks, and release-aware migration workflows.
0 commit comments