Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"transform",
"continuous modernization"
],
"version": "1.10.0"
"version": "1.11.0"
},
{
"category": "development",
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws-transform/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
"license": "Apache-2.0",
"name": "aws-transform",
"repository": "https://github.com/awslabs/agent-plugins",
"version": "1.10.0"
"version": "1.11.0"
}
2 changes: 1 addition & 1 deletion plugins/aws-transform/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-transform",
"version": "1.10.0",
"version": "1.11.0",
"description": "Migrate, modernize, and upgrade codebases to AWS. Transforms .NET Framework to .NET 8/10, mainframe COBOL to Java, VMware VMs to EC2, SQL Server to Aurora, and upgrades Java/Python/Node.js versions and AWS SDKs. AWS Transform - continuous modernization analyzes codebases for tech debt, security issues, and upgrade opportunities, then remediates them.",
"author": {
"name": "Amazon Web Services",
Expand Down
28 changes: 20 additions & 8 deletions plugins/aws-transform/skills/aws-transform/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ description: Migrate, modernize, and upgrade codebases to AWS. Run analysis on r

Look for an explicit workload signal in the user's request — a named technology (`.NET`, `VMware`, `SQL Server`/`Aurora`/`Oracle`/`MySQL`, `mainframe`/`COBOL`), workload-specific terminology (Hyper-V, EC2 rehost, stored procs, CICS, JCL), or file/project signals already in the conversation. If no signal is present, treat the request as **workload-unspecified**.

**An existing job is a workload signal.** When the user resumes or attaches to an existing job (a resumed `.atx/context.json`, a job URL, or a job picked from Browse My Jobs), route by that job's workload, even if the request was classified as workload-unspecified earlier. Take the workload from the context's `workload` field, the job's plan step names, or the job messages, record it in `.atx/context.json`, and read the matching reference files (Step B) before you report the job's status or act on it.

### Step B: Apply workload-specific routing

Workload-specific rules ALWAYS win over the keyword list in Step C. Do not let "analysis" or "tech debt" phrasing override these.

| Workload | Route |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **.NET** | Ask the user via `AskUserQuestion`: "For your .NET work, are you looking to **modernize to .NET 8/10** (port the code, change targets), **run an assessment for modernization** (scope the work, identify blockers, plan the port), or **analyze your repos for tech debt, security vulnerabilities, or CVEs**?" → "Modernize" or "Assessment for modernization" → proceed to the Overview section (the .NET workload handles both). → "Analyze for tech debt / security / CVEs" → route to continuous modernization (see Step D). |
| **VMware** | Proceed to the Overview section. **NEVER route VMware requests to continuous modernization** — even if the user uses words like "analyze", "assess", "find issues". VMware assessment is handled by the VMware workload agent, see [vmware](references/vmware.md). |
| **SQL / Database** | Proceed to the Overview section. **NEVER route SQL/database requests to continuous modernization** — SQL Server, Oracle, MySQL, and Aurora migrations are handled by the SQL workload agent, see [sql](references/sql.md). |
| **Mainframe / COBOL** | Proceed to the Overview section. **NEVER route mainframe requests to continuous modernization** — COBOL/CICS/JCL transformations are handled by the mainframe workload agent, see [mainframe](references/mainframe.md). |
| **Workload-unspecified** | Continue to Step C. |
| Workload | Route |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **.NET** | Ask the user: "For your .NET work, are you looking to **modernize to .NET 8/10** (port the code, change targets), **run an assessment for modernization** (scope the work, identify blockers, plan the port), or **analyze your repos for tech debt, security vulnerabilities, or CVEs**?" → "Modernize" or "Assessment for modernization" → proceed to the Overview section (the .NET workload handles both). → "Analyze for tech debt / security / CVEs" → route to continuous modernization (see Step D). |
| **VMware** | Proceed to the Overview section. **NEVER route VMware requests to continuous modernization** — even if the user uses words like "analyze", "assess", "find issues". VMware assessment is handled by the VMware workload agent, see [vmware](references/vmware.md). |
| **SQL / Database** | Proceed to the Overview section. **NEVER route SQL/database requests to continuous modernization** — SQL Server, Oracle, MySQL, and Aurora migrations are handled by the SQL workload agent, see [sql](references/sql.md). |
| **Mainframe / COBOL** | Proceed to the Overview section. **NEVER route mainframe requests to continuous modernization** — COBOL/CICS/JCL transformations are handled by the mainframe workload agent, see [mainframe](references/mainframe.md). |
| **Workload-unspecified** | Continue to Step C. |

### Step C: Keyword-based routing (workload-unspecified only)

Expand Down Expand Up @@ -168,7 +170,7 @@ Check for `.atx/context.json` (workspace-relative). NEVER read `~/.aws/atx/kiro-
- **No context found:** Proceed directly to intent. Produce no user-visible output for this step.
- **Context found:** If the context has an active job (`assessment.jobId` or entries in `execution.activeJobIds`), try to refresh live state from the service, but do so invisibly:
- **Check auth first** (no-auth-required). If sign-in is NOT configured, skip the refresh entirely — do not attempt service calls. Use local context only.
- **If sign-in is configured**, fetch each resource your resume message depends on — at minimum the job itself and all pending user tasks. Surface every pending task to the user; do not cherry-pick one and omit the others. `BLOCKING` HITL tasks hold up progress even when the job status is active; `NON_BLOCKING` tasks still need attention but don't stall the job. Name every pending task; flag blocking ones. Don't infer one resource from another.
- **If sign-in is configured**, fetch each resource your resume message depends on — at minimum every read in **Job status checks** (under Execution). Surface every pending task to the user; do not cherry-pick one and omit the others. `BLOCKING` HITL tasks hold up progress even when the job status is active; `NON_BLOCKING` tasks still need attention but don't stall the job. Name every pending task; flag blocking ones. Don't infer one resource from another.
- **If any call fails** for any reason, silently fall back to local context. **Do NOT reveal your reasoning about the refresh to the user** — no "sign-in isn't configured so I'll skip", no "the service isn't reachable". The user should see only the resume message. Do NOT demand auth or block the flow.

Then tell the user about their prior session. Frame the offer explicitly as a **continuation** of that same session — not a new one. The message should make clear:
Expand Down Expand Up @@ -314,6 +316,16 @@ When the AWS Transform agent asks for input, needs files, or hits a checkpoint:
3. WAIT for user response
4. Relay user's decision back to agent

### Job status checks

Every status check of a job (the resume refresh, a user asking for status, or a check after relaying an answer) reads all of these:

- The job (`get_resource resource="job"`) and its plan (`list_resources resource="plan"`).
- Pending tasks (`list_resources resource="tasks"`).
- The job messages (`list_resources resource="messages"`). The agent can ask a question in the job chat without creating a task or changing the job status, so an empty task list does not mean the job is not waiting on the user.

Never call `get_job_status` without `detailed=true`: its default posts a status question to the job chat. The workload's reference files may add reads; follow them too.

### Uploading artifacts to agents

Always use `categoryType: "CUSTOMER_INPUT"` when uploading files to an agent:
Expand Down
Loading
Loading