Skip to content

Commit b2de95b

Browse files
Asaif AliAsaif Ali
authored andcommitted
Readme Update
1 parent 477b3cb commit b2de95b

1 file changed

Lines changed: 28 additions & 18 deletions

File tree

README.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# LegacyLens — Agentic Software Modernization
22

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.**
44
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.
68

79
## What changed in the portfolio-ready release
810

@@ -37,14 +39,15 @@ Live migration workspace
3739

3840
### Reliability / release behavior
3941

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:
4143

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.
49+
- Post-migration quality gates determine release readiness.
50+
- Blocked migrations are surfaced with explicit failure/review states rather than being presented as successful releases.
4851

4952
## Architecture
5053

@@ -55,13 +58,16 @@ Program Analysis
5558
AST / CTags / dependencies / stack detection
5659
5760
Knowledge Base
58-
Qdrant + metadata-aware retrieval
61+
analysis + dependency context
5962
6063
Migration Planning
6164
target architecture + symbol/file mapping
6265
6366
Agentic Conversion
64-
context-grounded transformations
67+
deterministic rules + context-grounded LLM translation
68+
69+
Syntax Validation
70+
AST / tree-sitter checks + bounded repair
6571
6672
Post-Migration QA
6773
structural + executable validation
@@ -79,31 +85,35 @@ Migration artifact or failure report
7985
- Universal CTags symbol extraction
8086
- File and symbol dependency analysis
8187
- Technology/framework detection
82-
- Qdrant-backed analysis retrieval
88+
- Knowledge-base retrieval over repository analysis and dependency context
8389
- Planning before conversion
84-
- Agentic code transformation
90+
- Agentic code transformation with deterministic conversion guidance
91+
- Syntax-aware generated-code validation and bounded repair
8592
- Deterministic post-migration QA
8693
- Release gates and repair loops
8794
- Evidence-backed migration reports
8895
- Ask-the-codebase retrieval over migration artifacts
8996

9097
## BYOK / shared LLM Gateway
9198

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.
93100

94101
```text
95-
Portfolio BYOK
102+
Portfolio
103+
104+
Create request-scoped BYOK session
96105
97-
Short-lived gateway session
106+
Short-lived JWT
98107
99108
LegacyLens
109+
X-LLM-Gateway-Token
100110
101111
Portfolio LLM Gateway
102112
103113
Selected provider / model
104114
```
105115

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.
107117

108118
## Local development
109119

@@ -125,4 +135,4 @@ LegacyLens is a portfolio and engineering demonstration, not a turnkey enterpris
125135

126136
## Portfolio positioning
127137

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

Comments
 (0)