Part of #54.
Execute
Reads PLAN.md and applies transformations file by file. Supports parallel sub-agents.
|
|
| Consumes |
PLAN.md, domain skill references (/opt/skills/*/references/) |
| Produces |
Migrated source files committed to branch, .konveyor/results.json entry |
| Image |
agent-execute-{lang} (e.g. agent-execute-java) |
| Mode |
Non-interactive, supports parallel sub-agents |
Parallel sub-agents
Each plan step (or group of steps) can run as a separate sub-agent. Each sub-agent handles one step from PLAN.md — reads the target file, applies transformations, writes it back.
Git strategy (TBD): Sub-agents working in parallel need a git merge strategy:
- Each sub-agent could work on a separate branch and results get merged back into the main migration branch
- Or sub-agents work on disjoint files on the same branch (PLAN.md steps are one-file-per-step, so conflicts are unlikely if steps are partitioned correctly)
- Need to handle merge conflicts if two steps touch the same file (e.g. a shared config file)
Expected artifact
Migrated source files committed to the branch. Results entry includes step count and completion summary.
{"stage": "execute", "status": "succeeded", "summary": "migrated 47/47 steps"}
Tasks
Part of #54.
Execute
Reads PLAN.md and applies transformations file by file. Supports parallel sub-agents.
PLAN.md, domain skill references (/opt/skills/*/references/).konveyor/results.jsonentryagent-execute-{lang}(e.g.agent-execute-java)Parallel sub-agents
Each plan step (or group of steps) can run as a separate sub-agent. Each sub-agent handles one step from PLAN.md — reads the target file, applies transformations, writes it back.
Git strategy (TBD): Sub-agents working in parallel need a git merge strategy:
Expected artifact
Migrated source files committed to the branch. Results entry includes step count and completion summary.
{"stage": "execute", "status": "succeeded", "summary": "migrated 47/47 steps"}Tasks