[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-analyzing-release-readiness":3,"mdc-uz5j4u-key":38,"related-repo-aws-analyzing-release-readiness":3439,"related-org-aws-analyzing-release-readiness":3543},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":33,"sourceUrl":36,"mdContent":37},"analyzing-release-readiness","analyze release readiness for code changes","Trigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch. Use when the user wants to analyze code changes for risk, correctness, and potential rollback issues before merging. Trigger words include release readiness, analyze PR, analyze MR, review PR, risk analysis, pre-merge, safe to ship, ready to merge, ready to commit, any risks, before merging, validate changes, release management.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,21,24],{"name":13,"slug":14,"type":15},"GitHub","github","tag",{"name":17,"slug":18,"type":15},"CI\u002FCD","ci-cd",{"name":20,"slug":8,"type":15},"AWS",{"name":22,"slug":23,"type":15},"Code Analysis","code-analysis",{"name":25,"slug":26,"type":15},"Risk Assessment","risk-assessment",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:44:00.008228",null,157,[],{"repoUrl":28,"stars":27,"forks":31,"topics":34,"description":35},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fplugins\u002Faws-agents-for-devsecops\u002Fskills\u002Fanalyzing-release-readiness","---\nname: analyzing-release-readiness\ndescription: >-\n  Trigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch.\n  Use when the user wants to analyze code changes for risk, correctness, and potential\n  rollback issues before merging. Trigger words include release readiness, analyze PR,\n  analyze MR, review PR, risk analysis, pre-merge, safe to ship, ready to merge,\n  ready to commit, any risks, before merging, validate changes, release management.\n---\n\n# Release Readiness Review\n\n> **AgentSpace routing (SigV4 only):** If `list_agent_spaces` is available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine which `agent_space_id` to use. Then pass `agent_space_id` on all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.\n\nRun a release readiness review via the AWS DevOps Agent. Analyzes a code change for risk, correctness, and potential rollback issues. Returns a structured report with actionable findings.\n\n**Rules:**\n\n- If a **PR\u002FMR URL** is provided: Extract ALL fields from the URL. Do NOT inspect the local workspace or git state.\n- **NEVER use `gh` CLI, `glab` CLI, or any external tool to fetch PR\u002FMR details.** All required fields (repository, prNumber\u002FmergeRequestIid, hostname) MUST be parsed directly from the URL or user input. The DevOps Agent fetches the content itself — you only need to pass identifiers.\n- **Only** use the local workspace flows when the user references a repository or package **without** a PR\u002FMR link.\n\n## Gathering execution parameters\n\nInfer everything automatically from the user's request — do not ask for parameters that can be derived.\n\n**Input source decision tree:**\n\n```\nHas the user provided a pull request\u002Fmerge request link or ID?\n├── Yes: github.com PR URL               → use \"GitHub PR\" flow below\n├── Yes: gitlab.com MR URL               → use \"GitLab MR\" flow below\n└── No link provided — repo name only    → use \"Local GitHub\u002FGitLab repo\" flow below\n```\n\n---\n\n### GitHub PR (github.com URL or PR reference)\n\n- Parse the input to extract fields — do NOT attempt a web fetch unless fields cannot be determined from the input.\n- `repository` (required): `owner\u002Frepo` from the PR URL\n- At least one of the following is required: `headSha` (commit SHA), `headBranch` (branch name), `prNumber` (PR number as a **string**, e.g. `\"8\"` not `8`)\n- `hostname`: Extract from the URL (e.g., `github.com` or a self-hosted hostname)\n- Pass these fields to `create_release_readiness_review` under `content.githubPrContent` as an **array of objects** (even for a single PR).\n\n**Example:**\n\n```json\n{\n  \"content\": {\n    \"githubPrContent\": [\n      {\n        \"repository\": \"owner\u002Frepo\",\n        \"prNumber\": \"8\",\n        \"hostname\": \"github.com\"\n      }\n    ]\n  }\n}\n```\n\n> **Critical format rules**: `githubPrContent` MUST be an array (not a single object). `prNumber` MUST be a string (not an integer).\n\n---\n\n### GitLab MR (gitlab.com URL)\n\n- Parse the input to extract fields — do NOT attempt a web fetch unless fields cannot be determined from the input.\n- `repository` (required): `owner\u002Frepo` from the MR URL\n- At least one of the following is required: `headSha` (commit SHA), `headBranch` (branch name), `mergeRequestIid` (MR number as a **string**, e.g. `\"1\"` not `1`)\n- `hostname`: Extract from the URL (e.g., `gitlab.com` or a self-hosted hostname)\n- Pass these fields to `create_release_readiness_review` under `content.gitlabMrContent` as an **array of objects** (even for a single MR).\n\n**Example:**\n\n```json\n{\n  \"content\": {\n    \"gitlabMrContent\": [\n      {\n        \"repository\": \"namespace\u002Frepo\",\n        \"mergeRequestIid\": \"1\",\n        \"hostname\": \"gitlab.com\"\n      }\n    ]\n  }\n}\n```\n\n> **Critical format rules**: `gitlabMrContent` MUST be an array (not a single object). `mergeRequestIid` MUST be a string (not an integer). Violating either causes immediate task failure with no journal records.\n\n---\n\n### Local GitHub\u002FGitLab repo (no PR\u002FMR URL provided — local workspace ONLY)\n\n**MANDATORY**: When the user references a repository or branch without a PR\u002FMR link, you MUST execute every step below in order. Do NOT shortcut by grabbing the remote URL and SHA directly — the review agent needs a pushed branch to read from. Skipping the push step will cause the analysis to fail or produce incomplete results.\n\n1. **Navigate to the repository directory**: `cd` to the repo root (e.g., the clone directory). Ask the user if needed.\n2. **Determine the base branch**: Use `main` unless the user specifies a different branch. Verify the remote tracking branch exists:\n\n   ```bash\n   BASE_BRANCH=\"main\"\n   if ! git show-ref --verify --quiet refs\u002Fremotes\u002Forigin\u002F$BASE_BRANCH; then\n       git fetch origin $BASE_BRANCH\n   fi\n   ```\n\n   If the fetch fails (e.g., \"couldn't find remote ref\"), ask the user to specify the base branch and stop.\n3. **Check for local changes**: Run `git status --short` and `git rev-list --count origin\u002F$BASE_BRANCH..HEAD` to determine the state and communicate accordingly:\n\n   - **Clean AND not ahead**: Inform the user there's nothing new to analyze and stop.\n\n   - **Has uncommitted changes (with or without unpushed commits)**:\n     - If there are one or more unpushed commits (rev-list count >= 1), tell the user:\n       > \"You have uncommitted changes and N unpushed commits. I'll commit your uncommitted changes on top, then push all N+1 commits to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?\"\n     - If there are no other unpushed commits (rev-list count = 0), tell the user:\n       > \"I'll commit your uncommitted changes and push them to a new branch for release readiness review. Shall I proceed?\"\n     - **Do NOT proceed until the user approves.** If they decline, stop.\n\n   - **Clean but ahead of remote (rev-list count > 0, no uncommitted changes)**:\n     - If ahead by more than 1 commit, tell the user:\n       > \"You have N unpushed commits. I'll push all of them to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?\"\n     - If ahead by exactly 1 commit, tell the user:\n       > \"I'll push your latest commit to a new branch for release readiness review. Shall I proceed?\"\n     - **Do NOT proceed until the user approves.** If they decline, stop.\n\n4. **Stash uncommitted changes** (skip this step if working directory is clean):\n\n   ```bash\n   git stash push --include-untracked -m \"release-analysis: preserve working changes\"\n   ```\n\n5. **Create review branch** (do this BEFORE committing so the snapshot commit only lives on the disposable branch):\n\n   ```bash\n   ORIGINAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)\n   BRANCH_NAME=\"feat\u002Frelease-readiness-review\"\n   git checkout -b $BRANCH_NAME 2>\u002Fdev\u002Fnull || { BRANCH_NAME=\"feat\u002Frelease-readiness-review-$(date +%Y%m%d-%H%M%S)\"; git checkout -b $BRANCH_NAME; }\n   ```\n\n6. **Apply stashed changes and commit on the review branch** (skip this step if working directory was clean — go straight to step 7):\n\n   ```bash\n   git stash apply\n   ```\n\n   Before staging, check for sensitive files:\n\n   ```bash\n   git status --short | grep -iE '\\.(env|pem|key|p12|pfx|credentials|secret)'\n   ```\n\n   If sensitive files are detected, warn the user and ask for confirmation before proceeding. If the user declines, abort:\n\n   ```bash\n   git checkout $ORIGINAL_BRANCH && git branch -D $BRANCH_NAME && git stash drop\n   ```\n\n   Once confirmed (or no sensitive files found):\n\n   ```bash\n   git add -A\n   git commit -m \"chore: snapshot for release readiness review\"\n   ```\n\n7. **Push all unpushed commits** (requires prior user approval):\n   If the user already approved the push in step 3, proceed directly. Otherwise (e.g., the flow reached here without an explicit approval prompt), confirm before pushing:\n   > \"I'm about to push branch `$BRANCH_NAME` to `origin`. This is a prerequisite step, can I proceed?\"\n   **Do NOT push until the user approves.** If they decline, abort and skip to step 11.\n\n   Once approved (or if already approved in step 3):\n\n   ```bash\n   git push -u origin HEAD\n   ```\n\n8. **Determine the repository identifier and hostname**: Run `git remote get-url origin | sed 's|:\u002F\u002F[^@]*@|:\u002F\u002F|'` to extract the `owner\u002Frepo` and hostname.\n   - GitHub URLs (github.com or self-hosted) → use `githubPrContent`, hostname from URL\n   - GitLab URLs (gitlab.com or self-hosted) → use `gitlabMrContent`, hostname from URL\n\n9. **Build the content**: Set `headBranch` to `$BRANCH_NAME`, `repository` to the extracted `owner\u002Frepo`, and `hostname` to the value from step 8. Wrap the object in an array:\n   - GitHub: `{\"githubPrContent\": [{\"repository\": \"owner\u002Frepo\", \"headBranch\": \"feat\u002Frelease-readiness-review\", \"hostname\": \"github.com\"}]}`\n   - GitLab: `{\"gitlabMrContent\": [{\"repository\": \"namespace\u002Frepo\", \"headBranch\": \"feat\u002Frelease-readiness-review\", \"hostname\": \"gitlab.com\"}]}`\n\n10. **Inform the user**: Tell them which branch was created and pushed, then proceed with the core workflow below.\n11. **After analysis completes**: Clean up and restore working state:\n\n    ```bash\n    git checkout $ORIGINAL_BRANCH\n    git push origin --delete $BRANCH_NAME 2>\u002Fdev\u002Fnull || true\n    git branch -D $BRANCH_NAME 2>\u002Fdev\u002Fnull || true\n    ```\n\n    If step 4 was executed (uncommitted changes were stashed), also run:\n\n    ```bash\n    git stash pop\n    ```\n\n**Important**: Do NOT create a PR\u002FMR — only push the branch. The release readiness review agent will read the branch directly.\n\n## Core workflow\n\n> **STRICT SEQUENCING**: Steps below are numbered. You MUST complete each step before moving to the next. In particular, step 1 (automated testing prompt) MUST NOT happen until the entire \"Gathering execution parameters\" flow above is fully complete — all git operations done, branch pushed (if local flow), content object built, and user informed of the branch. Only THEN proceed to step 1.\n\n### 1. Determine `skip_automated_testing` (ask ONLY after content is ready)\n\nThe `skip_automated_testing` parameter controls whether the agent runs automated testing (automated verification tests) or only static analysis.\n\n| Value | Behavior |\n|-------|----------|\n| `true` | Skip automated testing, run static analysis only (fast — code review, risk assessment, dependency checks) |\n| `false` | Full analysis including automated testing (longer — spins up a testing environment, builds code, runs automated verification tests) |\n\nPresent the choice and wait for a response:\n> \"Would you like a quick static analysis (code review, risk assessment, dependency checks), or a full analysis that also includes automated testing? Automated testing spins up a testing environment, builds your code, and runs automated verification tests — it's more thorough but takes longer.\"\n\n**Do NOT proceed until the user answers.**\n\n- If the user says \"yes\" \u002F \"include testing\" \u002F \"full analysis\" \u002F \"run tests\" → use `skip_automated_testing=false`\n- If the user says \"no\" \u002F \"static only\" \u002F \"skip testing\" \u002F \"quick\" \u002F declines → use `skip_automated_testing=true`\n- If the response is ambiguous (e.g., \"go ahead\", \"sure\", \"proceed\") → ask the user to clarify which option they prefer.\n\n### 2. Check tool availability\n\nVerify that the following tools are available: `aws_devops_agent__create_release_readiness_review`, `aws_devops_agent__get_task`, `aws_devops_agent__list_journal_records`, `aws_devops_agent__get_release_readiness_report`. These tools are NOT deferred\u002Flazy-loaded — if they do not appear in your tool list, they are unavailable. Do NOT search for them via ToolSearch. If any are missing, skip the remaining steps in this section and use the \"Fallback (aws-mcp)\" path below instead. Tell the user: \"Remote server unavailable — using direct aws-mcp server fallback.\"\n\n### 3. Start the Job\n\n```\naws_devops_agent__create_release_readiness_review(\n    content={...},\n    skip_automated_testing=true\u002Ffalse\n)\n→ {\"taskId\": \"...\", \"executionId\": \"...\", \"status\": \"started\"}\n```\n\nRecord the **taskId** and **executionId** from the response.\n\n### 4. Poll for Status\n\nCall `aws_devops_agent__get_task(task_id=TASK_ID)` every **30 seconds** until the status transitions to `IN_PROGRESS` or a terminal state (`COMPLETED`, `FAILED`, `CANCELED`, `TIMED_OUT`).\n\n### 5. Monitor Until Completion\n\nOnce `IN_PROGRESS`, poll for progress in a loop:\n\n1. Call `aws_devops_agent__list_journal_records(execution_id=EXEC_ID, order=\"ASC\")` to fetch new findings.\n2. Present each record to the user with a friendly progress update.\n3. Use `next_token` from the response to fetch only new records on subsequent polls.\n4. **Wait 15 seconds** between each poll iteration.\n5. Check `aws_devops_agent__get_task(task_id=TASK_ID)` periodically — stop when terminal status.\n\n### 6. Present Results\n\nOnce the job reaches a terminal status:\n\n- If `COMPLETED`:\n  1. Call `aws_devops_agent__get_release_readiness_report(execution_id=EXEC_ID)` to retrieve the full report.\n  2. Write the report contents to a markdown file:\n\n     ```\n     release-readiness-review-\u003CYYYY-MM-DD-HHmmss>.md\n     ```\n\n  3. Inform the user that the report was saved, including the file path.\n  4. **Auto-fix flow (MANDATORY)**: After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step.\n     - First, locate the analyzed repository in the current workspace:\n       1. Run `ls` to list available directories in the workspace.\n       2. Match by repo name (the last segment of `owner\u002Frepo` or `namespace\u002Frepo`). For example, `testgroupadthiru\u002Frepo1updated` → look for a directory named `repo1updated`.\n       3. If a single match is found, confirm with the user: \"I found `\u003Cmatch>` — is this the correct local copy of `\u003Cnamespace\u002Frepo>`?\"\n       4. If multiple matches are found, ask the user which one is correct.\n       5. If no obvious match exists, ask the user: \"I couldn't find a local directory matching `\u003Crepo-name>`. Is it available locally under a different name, or should I just show the suggested fixes?\"\n     - If **found locally**:\n       - **Verify branch**: Run `git -C \u003Crepo-directory> branch --show-current` to confirm you're on the expected branch. If not on the expected branch, check out the correct one before proceeding.\n       - Scan the relevant code, interpret the risks\u002Fissues from the report. Then tell the user:\n         > \"The report identified N actionable issues. I can generate the fixes in your local repository, and push them to a new branch `feat\u002Frelease-readiness-fix`. Shall I proceed?\"\n       - **Do NOT proceed until the user approves.** If they decline, stop.\n       - Once approved, generate the fixes. Then:\n\n         ```bash\n         cd \u003Crepo-directory>\n         git checkout -b feat\u002Frelease-readiness-fix 2>\u002Fdev\u002Fnull || { git checkout -b \"feat\u002Frelease-readiness-fix-$(date +%Y%m%d-%H%M%S)\"; }\n         # Apply the fixes\n         git add -A\n         git commit -m \"fix: Address issues identified by release readiness review\"\n         ```\n\n       - **Before pushing, verify branch again**: Run `git branch --show-current` and confirm it shows `feat\u002Frelease-readiness-fix*`. Do NOT push if you're on any other branch.\n\n         ```bash\n         git push -u origin HEAD\n         ```\n\n         Inform the user: which issues were fixed, what branch was created, and that the fix has been pushed.\n     - If **NOT found locally**: Present the suggested fixes from the report as concrete, ready-to-apply code patches. Use the `suggestedFix` field from each risk. Format them as code blocks the user can copy-paste directly. Walk through each actionable risk: explain the issue, show the exact fix, and state which file\u002Fline it targets.\n     - If the report finds **no risks or issues**: Inform the user the analysis completed with no actionable findings.\n- If `FAILED` or `TIMED_OUT`: Present the error information and suggest next steps.\n- If `CANCELED`: Inform the user the job was canceled and no report is available.\n\n## Cancelling a job\n\n```\naws_devops_agent__cancel_release_readiness_review(task_id=TASK_ID)\n```\n\n## Error handling\n\n1. If `FAILED` or `TIMED_OUT` — stop and present the error. If the job failed quickly (within the first poll or two), call `aws_devops_agent__list_associations()` to check whether the target repository's hosting service (GitHub\u002FGitLab hostname) is associated with the agent space.\n2. If job does not reach `IN_PROGRESS` within 5 minutes — cancel with `cancel_release_readiness_review`.\n3. If throttled (`429` or `ThrottlingException`) — wait 30 seconds, retry up to 3 times.\n4. If the error does not match any known pattern above, present the raw error output to the user.\n\n## Fallback (aws-mcp)\n\nIf the `aws-devops-agent` remote server is unavailable, use the AWS CLI directly:\n\nTell the user: \"Remote server unavailable — using the aws-mcp server fallback.\"\n\n### 1. Select Agent Space\n\nList available agent spaces:\n\n```\naws devops-agent list-agent-spaces --region us-east-1\n```\n\nPresent the list to the user and ask which agent space they'd like to use. **Do NOT proceed until the user has selected one.** Use the selected `agentSpaceId` as `SPACE_ID` in all subsequent calls.\n\n### 2. Start the Job\n\n```\naws devops-agent create-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-type RELEASE_READINESS_REVIEW \\\n  --title 'Release Readiness Review' \\\n  --priority MEDIUM \\\n  --description '{\\\"agentInput\\\": {\\\"content\\\": \u003CCONTENT_JSON>, \\\"metadata\\\": {\\\"skipAutomatedTesting\\\": true}}}' \\\n  --region us-east-1\n```\n\n> **CRITICAL:** The `content` value must be a single object — NOT wrapped in a list. Correct: `\"content\": {\"githubPrContent\": [...]}`. Incorrect: `\"content\": [{\"githubPrContent\": [...]}]`. Wrapping in a list causes a Pydantic validation failure on the backend. The values in the content should all be of string format e.g. the PR number should be a string.\n\nDefault is `\"skipAutomatedTesting\": true` (static only). Set to `false` only if user explicitly opted into automated testing.\n\n### 3. Poll for Status\n\n```\naws devops-agent get-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-id TASK_ID \\\n  --region us-east-1\n```\n\nPoll every **30 seconds** until the status transitions to `IN_PROGRESS` or a terminal state (`COMPLETED`, `FAILED`, `CANCELED`, `TIMED_OUT`).\n\n### 4. Monitor Until Completion\n\nOnce `IN_PROGRESS`, poll for progress in a loop:\n\n```\naws devops-agent list-journal-records \\\n  --agent-space-id SPACE_ID \\\n  --execution-id EXEC_ID \\\n  --order ASC \\\n  --region us-east-1\n```\n\n1. Present each record to the user with a friendly progress update.\n2. Use `next_token` from the response to fetch only new records on subsequent polls.\n3. **Wait 15 seconds** between each poll iteration.\n4. Check `get-backlog-task` periodically — stop when terminal status.\n\n### 5. Present Results\n\nOnce the job reaches a terminal status:\n\n- If `COMPLETED`:\n  1. Retrieve the report:\n\n     ```\n     aws devops-agent list-journal-records \\\n       --agent-space-id SPACE_ID \\\n       --execution-id EXEC_ID \\\n       --record-type release_analysis_report \\\n       --order ASC \\\n       --region us-east-1\n     ```\n\n  2. Write the report contents to a markdown file:\n\n     ```\n     release-readiness-review-\u003CYYYY-MM-DD-HHmmss>.md\n     ```\n\n  3. Inform the user that the report was saved, including the file path.\n  4. **Auto-fix flow (MANDATORY)**: After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step. Follow the same auto-fix flow described in the Core workflow section above (locate repo, verify branch, generate fixes, push to `feat\u002Frelease-readiness-fix`).\n- If `FAILED` or `TIMED_OUT`: Present the error information and suggest next steps.\n- If `CANCELED`: Inform the user the job was canceled and no report is available.\n\n#### Cancelling (fallback)\n\n```\naws devops-agent update-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-id TASK_ID \\\n  --task-status CANCELED \\\n  --region us-east-1\n```\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,52,92,97,105,165,172,177,185,197,201,208,334,342,576,603,606,612,717,724,922,946,949,955,965,2073,2083,2089,2102,2116,2128,2190,2195,2203,2211,2241,2247,2281,2287,2296,2314,2320,2377,2383,2395,2450,2456,2461,2968,2974,2983,2989,3061,3067,3080,3085,3091,3096,3105,3133,3139,3148,3184,3204,3210,3219,3259,3265,3275,3284,3320,3326,3330,3417,3424,3433],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"release-readiness-review",[49],{"type":50,"value":51},"text","Release Readiness Review",{"type":44,"tag":53,"props":54,"children":55},"blockquote",{},[56],{"type":44,"tag":57,"props":58,"children":59},"p",{},[60,66,68,75,77,83,85,90],{"type":44,"tag":61,"props":62,"children":63},"strong",{},[64],{"type":50,"value":65},"AgentSpace routing (SigV4 only):",{"type":50,"value":67}," If ",{"type":44,"tag":69,"props":70,"children":72},"code",{"className":71},[],[73],{"type":50,"value":74},"list_agent_spaces",{"type":50,"value":76}," is available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine which ",{"type":44,"tag":69,"props":78,"children":80},{"className":79},[],[81],{"type":50,"value":82},"agent_space_id",{"type":50,"value":84}," to use. Then pass ",{"type":44,"tag":69,"props":86,"children":88},{"className":87},[],[89],{"type":50,"value":82},{"type":50,"value":91}," on all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.",{"type":44,"tag":57,"props":93,"children":94},{},[95],{"type":50,"value":96},"Run a release readiness review via the AWS DevOps Agent. Analyzes a code change for risk, correctness, and potential rollback issues. Returns a structured report with actionable findings.",{"type":44,"tag":57,"props":98,"children":99},{},[100],{"type":44,"tag":61,"props":101,"children":102},{},[103],{"type":50,"value":104},"Rules:",{"type":44,"tag":106,"props":107,"children":108},"ul",{},[109,122,148],{"type":44,"tag":110,"props":111,"children":112},"li",{},[113,115,120],{"type":50,"value":114},"If a ",{"type":44,"tag":61,"props":116,"children":117},{},[118],{"type":50,"value":119},"PR\u002FMR URL",{"type":50,"value":121}," is provided: Extract ALL fields from the URL. Do NOT inspect the local workspace or git state.",{"type":44,"tag":110,"props":123,"children":124},{},[125,146],{"type":44,"tag":61,"props":126,"children":127},{},[128,130,136,138,144],{"type":50,"value":129},"NEVER use ",{"type":44,"tag":69,"props":131,"children":133},{"className":132},[],[134],{"type":50,"value":135},"gh",{"type":50,"value":137}," CLI, ",{"type":44,"tag":69,"props":139,"children":141},{"className":140},[],[142],{"type":50,"value":143},"glab",{"type":50,"value":145}," CLI, or any external tool to fetch PR\u002FMR details.",{"type":50,"value":147}," All required fields (repository, prNumber\u002FmergeRequestIid, hostname) MUST be parsed directly from the URL or user input. The DevOps Agent fetches the content itself — you only need to pass identifiers.",{"type":44,"tag":110,"props":149,"children":150},{},[151,156,158,163],{"type":44,"tag":61,"props":152,"children":153},{},[154],{"type":50,"value":155},"Only",{"type":50,"value":157}," use the local workspace flows when the user references a repository or package ",{"type":44,"tag":61,"props":159,"children":160},{},[161],{"type":50,"value":162},"without",{"type":50,"value":164}," a PR\u002FMR link.",{"type":44,"tag":166,"props":167,"children":169},"h2",{"id":168},"gathering-execution-parameters",[170],{"type":50,"value":171},"Gathering execution parameters",{"type":44,"tag":57,"props":173,"children":174},{},[175],{"type":50,"value":176},"Infer everything automatically from the user's request — do not ask for parameters that can be derived.",{"type":44,"tag":57,"props":178,"children":179},{},[180],{"type":44,"tag":61,"props":181,"children":182},{},[183],{"type":50,"value":184},"Input source decision tree:",{"type":44,"tag":186,"props":187,"children":191},"pre",{"className":188,"code":190,"language":50},[189],"language-text","Has the user provided a pull request\u002Fmerge request link or ID?\n├── Yes: github.com PR URL               → use \"GitHub PR\" flow below\n├── Yes: gitlab.com MR URL               → use \"GitLab MR\" flow below\n└── No link provided — repo name only    → use \"Local GitHub\u002FGitLab repo\" flow below\n",[192],{"type":44,"tag":69,"props":193,"children":195},{"__ignoreMap":194},"",[196],{"type":50,"value":190},{"type":44,"tag":198,"props":199,"children":200},"hr",{},[],{"type":44,"tag":202,"props":203,"children":205},"h3",{"id":204},"github-pr-githubcom-url-or-pr-reference",[206],{"type":50,"value":207},"GitHub PR (github.com URL or PR reference)",{"type":44,"tag":106,"props":209,"children":210},{},[211,216,235,287,306],{"type":44,"tag":110,"props":212,"children":213},{},[214],{"type":50,"value":215},"Parse the input to extract fields — do NOT attempt a web fetch unless fields cannot be determined from the input.",{"type":44,"tag":110,"props":217,"children":218},{},[219,225,227,233],{"type":44,"tag":69,"props":220,"children":222},{"className":221},[],[223],{"type":50,"value":224},"repository",{"type":50,"value":226}," (required): ",{"type":44,"tag":69,"props":228,"children":230},{"className":229},[],[231],{"type":50,"value":232},"owner\u002Frepo",{"type":50,"value":234}," from the PR URL",{"type":44,"tag":110,"props":236,"children":237},{},[238,240,246,248,254,256,262,264,269,271,277,279,285],{"type":50,"value":239},"At least one of the following is required: ",{"type":44,"tag":69,"props":241,"children":243},{"className":242},[],[244],{"type":50,"value":245},"headSha",{"type":50,"value":247}," (commit SHA), ",{"type":44,"tag":69,"props":249,"children":251},{"className":250},[],[252],{"type":50,"value":253},"headBranch",{"type":50,"value":255}," (branch name), ",{"type":44,"tag":69,"props":257,"children":259},{"className":258},[],[260],{"type":50,"value":261},"prNumber",{"type":50,"value":263}," (PR number as a ",{"type":44,"tag":61,"props":265,"children":266},{},[267],{"type":50,"value":268},"string",{"type":50,"value":270},", e.g. ",{"type":44,"tag":69,"props":272,"children":274},{"className":273},[],[275],{"type":50,"value":276},"\"8\"",{"type":50,"value":278}," not ",{"type":44,"tag":69,"props":280,"children":282},{"className":281},[],[283],{"type":50,"value":284},"8",{"type":50,"value":286},")",{"type":44,"tag":110,"props":288,"children":289},{},[290,296,298,304],{"type":44,"tag":69,"props":291,"children":293},{"className":292},[],[294],{"type":50,"value":295},"hostname",{"type":50,"value":297},": Extract from the URL (e.g., ",{"type":44,"tag":69,"props":299,"children":301},{"className":300},[],[302],{"type":50,"value":303},"github.com",{"type":50,"value":305}," or a self-hosted hostname)",{"type":44,"tag":110,"props":307,"children":308},{},[309,311,317,319,325,327,332],{"type":50,"value":310},"Pass these fields to ",{"type":44,"tag":69,"props":312,"children":314},{"className":313},[],[315],{"type":50,"value":316},"create_release_readiness_review",{"type":50,"value":318}," under ",{"type":44,"tag":69,"props":320,"children":322},{"className":321},[],[323],{"type":50,"value":324},"content.githubPrContent",{"type":50,"value":326}," as an ",{"type":44,"tag":61,"props":328,"children":329},{},[330],{"type":50,"value":331},"array of objects",{"type":50,"value":333}," (even for a single PR).",{"type":44,"tag":57,"props":335,"children":336},{},[337],{"type":44,"tag":61,"props":338,"children":339},{},[340],{"type":50,"value":341},"Example:",{"type":44,"tag":186,"props":343,"children":347},{"className":344,"code":345,"language":346,"meta":194,"style":194},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"content\": {\n    \"githubPrContent\": [\n      {\n        \"repository\": \"owner\u002Frepo\",\n        \"prNumber\": \"8\",\n        \"hostname\": \"github.com\"\n      }\n    ]\n  }\n}\n","json",[348],{"type":44,"tag":69,"props":349,"children":350},{"__ignoreMap":194},[351,363,393,421,430,471,507,540,549,558,567],{"type":44,"tag":352,"props":353,"children":356},"span",{"class":354,"line":355},"line",1,[357],{"type":44,"tag":352,"props":358,"children":360},{"style":359},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[361],{"type":50,"value":362},"{\n",{"type":44,"tag":352,"props":364,"children":366},{"class":354,"line":365},2,[367,372,378,383,388],{"type":44,"tag":352,"props":368,"children":369},{"style":359},[370],{"type":50,"value":371},"  \"",{"type":44,"tag":352,"props":373,"children":375},{"style":374},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[376],{"type":50,"value":377},"content",{"type":44,"tag":352,"props":379,"children":380},{"style":359},[381],{"type":50,"value":382},"\"",{"type":44,"tag":352,"props":384,"children":385},{"style":359},[386],{"type":50,"value":387},":",{"type":44,"tag":352,"props":389,"children":390},{"style":359},[391],{"type":50,"value":392}," {\n",{"type":44,"tag":352,"props":394,"children":396},{"class":354,"line":395},3,[397,402,408,412,416],{"type":44,"tag":352,"props":398,"children":399},{"style":359},[400],{"type":50,"value":401},"    \"",{"type":44,"tag":352,"props":403,"children":405},{"style":404},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[406],{"type":50,"value":407},"githubPrContent",{"type":44,"tag":352,"props":409,"children":410},{"style":359},[411],{"type":50,"value":382},{"type":44,"tag":352,"props":413,"children":414},{"style":359},[415],{"type":50,"value":387},{"type":44,"tag":352,"props":417,"children":418},{"style":359},[419],{"type":50,"value":420}," [\n",{"type":44,"tag":352,"props":422,"children":424},{"class":354,"line":423},4,[425],{"type":44,"tag":352,"props":426,"children":427},{"style":359},[428],{"type":50,"value":429},"      {\n",{"type":44,"tag":352,"props":431,"children":433},{"class":354,"line":432},5,[434,439,444,448,452,457,462,466],{"type":44,"tag":352,"props":435,"children":436},{"style":359},[437],{"type":50,"value":438},"        \"",{"type":44,"tag":352,"props":440,"children":442},{"style":441},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[443],{"type":50,"value":224},{"type":44,"tag":352,"props":445,"children":446},{"style":359},[447],{"type":50,"value":382},{"type":44,"tag":352,"props":449,"children":450},{"style":359},[451],{"type":50,"value":387},{"type":44,"tag":352,"props":453,"children":454},{"style":359},[455],{"type":50,"value":456}," \"",{"type":44,"tag":352,"props":458,"children":460},{"style":459},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[461],{"type":50,"value":232},{"type":44,"tag":352,"props":463,"children":464},{"style":359},[465],{"type":50,"value":382},{"type":44,"tag":352,"props":467,"children":468},{"style":359},[469],{"type":50,"value":470},",\n",{"type":44,"tag":352,"props":472,"children":474},{"class":354,"line":473},6,[475,479,483,487,491,495,499,503],{"type":44,"tag":352,"props":476,"children":477},{"style":359},[478],{"type":50,"value":438},{"type":44,"tag":352,"props":480,"children":481},{"style":441},[482],{"type":50,"value":261},{"type":44,"tag":352,"props":484,"children":485},{"style":359},[486],{"type":50,"value":382},{"type":44,"tag":352,"props":488,"children":489},{"style":359},[490],{"type":50,"value":387},{"type":44,"tag":352,"props":492,"children":493},{"style":359},[494],{"type":50,"value":456},{"type":44,"tag":352,"props":496,"children":497},{"style":459},[498],{"type":50,"value":284},{"type":44,"tag":352,"props":500,"children":501},{"style":359},[502],{"type":50,"value":382},{"type":44,"tag":352,"props":504,"children":505},{"style":359},[506],{"type":50,"value":470},{"type":44,"tag":352,"props":508,"children":510},{"class":354,"line":509},7,[511,515,519,523,527,531,535],{"type":44,"tag":352,"props":512,"children":513},{"style":359},[514],{"type":50,"value":438},{"type":44,"tag":352,"props":516,"children":517},{"style":441},[518],{"type":50,"value":295},{"type":44,"tag":352,"props":520,"children":521},{"style":359},[522],{"type":50,"value":382},{"type":44,"tag":352,"props":524,"children":525},{"style":359},[526],{"type":50,"value":387},{"type":44,"tag":352,"props":528,"children":529},{"style":359},[530],{"type":50,"value":456},{"type":44,"tag":352,"props":532,"children":533},{"style":459},[534],{"type":50,"value":303},{"type":44,"tag":352,"props":536,"children":537},{"style":359},[538],{"type":50,"value":539},"\"\n",{"type":44,"tag":352,"props":541,"children":543},{"class":354,"line":542},8,[544],{"type":44,"tag":352,"props":545,"children":546},{"style":359},[547],{"type":50,"value":548},"      }\n",{"type":44,"tag":352,"props":550,"children":552},{"class":354,"line":551},9,[553],{"type":44,"tag":352,"props":554,"children":555},{"style":359},[556],{"type":50,"value":557},"    ]\n",{"type":44,"tag":352,"props":559,"children":561},{"class":354,"line":560},10,[562],{"type":44,"tag":352,"props":563,"children":564},{"style":359},[565],{"type":50,"value":566},"  }\n",{"type":44,"tag":352,"props":568,"children":570},{"class":354,"line":569},11,[571],{"type":44,"tag":352,"props":572,"children":573},{"style":359},[574],{"type":50,"value":575},"}\n",{"type":44,"tag":53,"props":577,"children":578},{},[579],{"type":44,"tag":57,"props":580,"children":581},{},[582,587,589,594,596,601],{"type":44,"tag":61,"props":583,"children":584},{},[585],{"type":50,"value":586},"Critical format rules",{"type":50,"value":588},": ",{"type":44,"tag":69,"props":590,"children":592},{"className":591},[],[593],{"type":50,"value":407},{"type":50,"value":595}," MUST be an array (not a single object). ",{"type":44,"tag":69,"props":597,"children":599},{"className":598},[],[600],{"type":50,"value":261},{"type":50,"value":602}," MUST be a string (not an integer).",{"type":44,"tag":198,"props":604,"children":605},{},[],{"type":44,"tag":202,"props":607,"children":609},{"id":608},"gitlab-mr-gitlabcom-url",[610],{"type":50,"value":611},"GitLab MR (gitlab.com URL)",{"type":44,"tag":106,"props":613,"children":614},{},[615,619,635,678,694],{"type":44,"tag":110,"props":616,"children":617},{},[618],{"type":50,"value":215},{"type":44,"tag":110,"props":620,"children":621},{},[622,627,628,633],{"type":44,"tag":69,"props":623,"children":625},{"className":624},[],[626],{"type":50,"value":224},{"type":50,"value":226},{"type":44,"tag":69,"props":629,"children":631},{"className":630},[],[632],{"type":50,"value":232},{"type":50,"value":634}," from the MR URL",{"type":44,"tag":110,"props":636,"children":637},{},[638,639,644,645,650,651,657,659,663,664,670,671,677],{"type":50,"value":239},{"type":44,"tag":69,"props":640,"children":642},{"className":641},[],[643],{"type":50,"value":245},{"type":50,"value":247},{"type":44,"tag":69,"props":646,"children":648},{"className":647},[],[649],{"type":50,"value":253},{"type":50,"value":255},{"type":44,"tag":69,"props":652,"children":654},{"className":653},[],[655],{"type":50,"value":656},"mergeRequestIid",{"type":50,"value":658}," (MR number as a ",{"type":44,"tag":61,"props":660,"children":661},{},[662],{"type":50,"value":268},{"type":50,"value":270},{"type":44,"tag":69,"props":665,"children":667},{"className":666},[],[668],{"type":50,"value":669},"\"1\"",{"type":50,"value":278},{"type":44,"tag":69,"props":672,"children":674},{"className":673},[],[675],{"type":50,"value":676},"1",{"type":50,"value":286},{"type":44,"tag":110,"props":679,"children":680},{},[681,686,687,693],{"type":44,"tag":69,"props":682,"children":684},{"className":683},[],[685],{"type":50,"value":295},{"type":50,"value":297},{"type":44,"tag":69,"props":688,"children":690},{"className":689},[],[691],{"type":50,"value":692},"gitlab.com",{"type":50,"value":305},{"type":44,"tag":110,"props":695,"children":696},{},[697,698,703,704,710,711,715],{"type":50,"value":310},{"type":44,"tag":69,"props":699,"children":701},{"className":700},[],[702],{"type":50,"value":316},{"type":50,"value":318},{"type":44,"tag":69,"props":705,"children":707},{"className":706},[],[708],{"type":50,"value":709},"content.gitlabMrContent",{"type":50,"value":326},{"type":44,"tag":61,"props":712,"children":713},{},[714],{"type":50,"value":331},{"type":50,"value":716}," (even for a single MR).",{"type":44,"tag":57,"props":718,"children":719},{},[720],{"type":44,"tag":61,"props":721,"children":722},{},[723],{"type":50,"value":341},{"type":44,"tag":186,"props":725,"children":727},{"className":344,"code":726,"language":346,"meta":194,"style":194},"{\n  \"content\": {\n    \"gitlabMrContent\": [\n      {\n        \"repository\": \"namespace\u002Frepo\",\n        \"mergeRequestIid\": \"1\",\n        \"hostname\": \"gitlab.com\"\n      }\n    ]\n  }\n}\n",[728],{"type":44,"tag":69,"props":729,"children":730},{"__ignoreMap":194},[731,738,761,785,792,828,863,894,901,908,915],{"type":44,"tag":352,"props":732,"children":733},{"class":354,"line":355},[734],{"type":44,"tag":352,"props":735,"children":736},{"style":359},[737],{"type":50,"value":362},{"type":44,"tag":352,"props":739,"children":740},{"class":354,"line":365},[741,745,749,753,757],{"type":44,"tag":352,"props":742,"children":743},{"style":359},[744],{"type":50,"value":371},{"type":44,"tag":352,"props":746,"children":747},{"style":374},[748],{"type":50,"value":377},{"type":44,"tag":352,"props":750,"children":751},{"style":359},[752],{"type":50,"value":382},{"type":44,"tag":352,"props":754,"children":755},{"style":359},[756],{"type":50,"value":387},{"type":44,"tag":352,"props":758,"children":759},{"style":359},[760],{"type":50,"value":392},{"type":44,"tag":352,"props":762,"children":763},{"class":354,"line":395},[764,768,773,777,781],{"type":44,"tag":352,"props":765,"children":766},{"style":359},[767],{"type":50,"value":401},{"type":44,"tag":352,"props":769,"children":770},{"style":404},[771],{"type":50,"value":772},"gitlabMrContent",{"type":44,"tag":352,"props":774,"children":775},{"style":359},[776],{"type":50,"value":382},{"type":44,"tag":352,"props":778,"children":779},{"style":359},[780],{"type":50,"value":387},{"type":44,"tag":352,"props":782,"children":783},{"style":359},[784],{"type":50,"value":420},{"type":44,"tag":352,"props":786,"children":787},{"class":354,"line":423},[788],{"type":44,"tag":352,"props":789,"children":790},{"style":359},[791],{"type":50,"value":429},{"type":44,"tag":352,"props":793,"children":794},{"class":354,"line":432},[795,799,803,807,811,815,820,824],{"type":44,"tag":352,"props":796,"children":797},{"style":359},[798],{"type":50,"value":438},{"type":44,"tag":352,"props":800,"children":801},{"style":441},[802],{"type":50,"value":224},{"type":44,"tag":352,"props":804,"children":805},{"style":359},[806],{"type":50,"value":382},{"type":44,"tag":352,"props":808,"children":809},{"style":359},[810],{"type":50,"value":387},{"type":44,"tag":352,"props":812,"children":813},{"style":359},[814],{"type":50,"value":456},{"type":44,"tag":352,"props":816,"children":817},{"style":459},[818],{"type":50,"value":819},"namespace\u002Frepo",{"type":44,"tag":352,"props":821,"children":822},{"style":359},[823],{"type":50,"value":382},{"type":44,"tag":352,"props":825,"children":826},{"style":359},[827],{"type":50,"value":470},{"type":44,"tag":352,"props":829,"children":830},{"class":354,"line":473},[831,835,839,843,847,851,855,859],{"type":44,"tag":352,"props":832,"children":833},{"style":359},[834],{"type":50,"value":438},{"type":44,"tag":352,"props":836,"children":837},{"style":441},[838],{"type":50,"value":656},{"type":44,"tag":352,"props":840,"children":841},{"style":359},[842],{"type":50,"value":382},{"type":44,"tag":352,"props":844,"children":845},{"style":359},[846],{"type":50,"value":387},{"type":44,"tag":352,"props":848,"children":849},{"style":359},[850],{"type":50,"value":456},{"type":44,"tag":352,"props":852,"children":853},{"style":459},[854],{"type":50,"value":676},{"type":44,"tag":352,"props":856,"children":857},{"style":359},[858],{"type":50,"value":382},{"type":44,"tag":352,"props":860,"children":861},{"style":359},[862],{"type":50,"value":470},{"type":44,"tag":352,"props":864,"children":865},{"class":354,"line":509},[866,870,874,878,882,886,890],{"type":44,"tag":352,"props":867,"children":868},{"style":359},[869],{"type":50,"value":438},{"type":44,"tag":352,"props":871,"children":872},{"style":441},[873],{"type":50,"value":295},{"type":44,"tag":352,"props":875,"children":876},{"style":359},[877],{"type":50,"value":382},{"type":44,"tag":352,"props":879,"children":880},{"style":359},[881],{"type":50,"value":387},{"type":44,"tag":352,"props":883,"children":884},{"style":359},[885],{"type":50,"value":456},{"type":44,"tag":352,"props":887,"children":888},{"style":459},[889],{"type":50,"value":692},{"type":44,"tag":352,"props":891,"children":892},{"style":359},[893],{"type":50,"value":539},{"type":44,"tag":352,"props":895,"children":896},{"class":354,"line":542},[897],{"type":44,"tag":352,"props":898,"children":899},{"style":359},[900],{"type":50,"value":548},{"type":44,"tag":352,"props":902,"children":903},{"class":354,"line":551},[904],{"type":44,"tag":352,"props":905,"children":906},{"style":359},[907],{"type":50,"value":557},{"type":44,"tag":352,"props":909,"children":910},{"class":354,"line":560},[911],{"type":44,"tag":352,"props":912,"children":913},{"style":359},[914],{"type":50,"value":566},{"type":44,"tag":352,"props":916,"children":917},{"class":354,"line":569},[918],{"type":44,"tag":352,"props":919,"children":920},{"style":359},[921],{"type":50,"value":575},{"type":44,"tag":53,"props":923,"children":924},{},[925],{"type":44,"tag":57,"props":926,"children":927},{},[928,932,933,938,939,944],{"type":44,"tag":61,"props":929,"children":930},{},[931],{"type":50,"value":586},{"type":50,"value":588},{"type":44,"tag":69,"props":934,"children":936},{"className":935},[],[937],{"type":50,"value":772},{"type":50,"value":595},{"type":44,"tag":69,"props":940,"children":942},{"className":941},[],[943],{"type":50,"value":656},{"type":50,"value":945}," MUST be a string (not an integer). Violating either causes immediate task failure with no journal records.",{"type":44,"tag":198,"props":947,"children":948},{},[],{"type":44,"tag":202,"props":950,"children":952},{"id":951},"local-githubgitlab-repo-no-prmr-url-provided-local-workspace-only",[953],{"type":50,"value":954},"Local GitHub\u002FGitLab repo (no PR\u002FMR URL provided — local workspace ONLY)",{"type":44,"tag":57,"props":956,"children":957},{},[958,963],{"type":44,"tag":61,"props":959,"children":960},{},[961],{"type":50,"value":962},"MANDATORY",{"type":50,"value":964},": When the user references a repository or branch without a PR\u002FMR link, you MUST execute every step below in order. Do NOT shortcut by grabbing the remote URL and SHA directly — the review agent needs a pushed branch to read from. Skipping the push step will cause the analysis to fail or produce incomplete results.",{"type":44,"tag":966,"props":967,"children":968},"ol",{},[969,986,1130,1263,1321,1510,1728,1806,1856,1925,1935],{"type":44,"tag":110,"props":970,"children":971},{},[972,977,978,984],{"type":44,"tag":61,"props":973,"children":974},{},[975],{"type":50,"value":976},"Navigate to the repository directory",{"type":50,"value":588},{"type":44,"tag":69,"props":979,"children":981},{"className":980},[],[982],{"type":50,"value":983},"cd",{"type":50,"value":985}," to the repo root (e.g., the clone directory). Ask the user if needed.",{"type":44,"tag":110,"props":987,"children":988},{},[989,994,996,1002,1004,1124,1128],{"type":44,"tag":61,"props":990,"children":991},{},[992],{"type":50,"value":993},"Determine the base branch",{"type":50,"value":995},": Use ",{"type":44,"tag":69,"props":997,"children":999},{"className":998},[],[1000],{"type":50,"value":1001},"main",{"type":50,"value":1003}," unless the user specifies a different branch. Verify the remote tracking branch exists:",{"type":44,"tag":186,"props":1005,"children":1009},{"className":1006,"code":1007,"language":1008,"meta":194,"style":194},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","BASE_BRANCH=\"main\"\nif ! git show-ref --verify --quiet refs\u002Fremotes\u002Forigin\u002F$BASE_BRANCH; then\n    git fetch origin $BASE_BRANCH\nfi\n","bash",[1010],{"type":44,"tag":69,"props":1011,"children":1012},{"__ignoreMap":194},[1013,1039,1093,1116],{"type":44,"tag":352,"props":1014,"children":1015},{"class":354,"line":355},[1016,1022,1027,1031,1035],{"type":44,"tag":352,"props":1017,"children":1019},{"style":1018},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1020],{"type":50,"value":1021},"BASE_BRANCH",{"type":44,"tag":352,"props":1023,"children":1024},{"style":359},[1025],{"type":50,"value":1026},"=",{"type":44,"tag":352,"props":1028,"children":1029},{"style":359},[1030],{"type":50,"value":382},{"type":44,"tag":352,"props":1032,"children":1033},{"style":459},[1034],{"type":50,"value":1001},{"type":44,"tag":352,"props":1036,"children":1037},{"style":359},[1038],{"type":50,"value":539},{"type":44,"tag":352,"props":1040,"children":1041},{"class":354,"line":365},[1042,1048,1053,1058,1063,1068,1073,1078,1083,1088],{"type":44,"tag":352,"props":1043,"children":1045},{"style":1044},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1046],{"type":50,"value":1047},"if",{"type":44,"tag":352,"props":1049,"children":1050},{"style":359},[1051],{"type":50,"value":1052}," !",{"type":44,"tag":352,"props":1054,"children":1055},{"style":404},[1056],{"type":50,"value":1057}," git",{"type":44,"tag":352,"props":1059,"children":1060},{"style":459},[1061],{"type":50,"value":1062}," show-ref",{"type":44,"tag":352,"props":1064,"children":1065},{"style":459},[1066],{"type":50,"value":1067}," --verify",{"type":44,"tag":352,"props":1069,"children":1070},{"style":459},[1071],{"type":50,"value":1072}," --quiet",{"type":44,"tag":352,"props":1074,"children":1075},{"style":459},[1076],{"type":50,"value":1077}," refs\u002Fremotes\u002Forigin\u002F",{"type":44,"tag":352,"props":1079,"children":1080},{"style":1018},[1081],{"type":50,"value":1082},"$BASE_BRANCH",{"type":44,"tag":352,"props":1084,"children":1085},{"style":359},[1086],{"type":50,"value":1087},";",{"type":44,"tag":352,"props":1089,"children":1090},{"style":1044},[1091],{"type":50,"value":1092}," then\n",{"type":44,"tag":352,"props":1094,"children":1095},{"class":354,"line":395},[1096,1101,1106,1111],{"type":44,"tag":352,"props":1097,"children":1098},{"style":404},[1099],{"type":50,"value":1100},"    git",{"type":44,"tag":352,"props":1102,"children":1103},{"style":459},[1104],{"type":50,"value":1105}," fetch",{"type":44,"tag":352,"props":1107,"children":1108},{"style":459},[1109],{"type":50,"value":1110}," origin",{"type":44,"tag":352,"props":1112,"children":1113},{"style":1018},[1114],{"type":50,"value":1115}," $BASE_BRANCH\n",{"type":44,"tag":352,"props":1117,"children":1118},{"class":354,"line":423},[1119],{"type":44,"tag":352,"props":1120,"children":1121},{"style":1044},[1122],{"type":50,"value":1123},"fi\n",{"type":44,"tag":1125,"props":1126,"children":1127},"br",{},[],{"type":50,"value":1129},"If the fetch fails (e.g., \"couldn't find remote ref\"), ask the user to specify the base branch and stop.",{"type":44,"tag":110,"props":1131,"children":1132},{},[1133,1138,1140,1146,1148,1154,1156],{"type":44,"tag":61,"props":1134,"children":1135},{},[1136],{"type":50,"value":1137},"Check for local changes",{"type":50,"value":1139},": Run ",{"type":44,"tag":69,"props":1141,"children":1143},{"className":1142},[],[1144],{"type":50,"value":1145},"git status --short",{"type":50,"value":1147}," and ",{"type":44,"tag":69,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":50,"value":1153},"git rev-list --count origin\u002F$BASE_BRANCH..HEAD",{"type":50,"value":1155}," to determine the state and communicate accordingly:",{"type":44,"tag":106,"props":1157,"children":1158},{},[1159,1169,1217],{"type":44,"tag":110,"props":1160,"children":1161},{},[1162,1167],{"type":44,"tag":61,"props":1163,"children":1164},{},[1165],{"type":50,"value":1166},"Clean AND not ahead",{"type":50,"value":1168},": Inform the user there's nothing new to analyze and stop.",{"type":44,"tag":110,"props":1170,"children":1171},{},[1172,1177,1178],{"type":44,"tag":61,"props":1173,"children":1174},{},[1175],{"type":50,"value":1176},"Has uncommitted changes (with or without unpushed commits)",{"type":50,"value":387},{"type":44,"tag":106,"props":1179,"children":1180},{},[1181,1194,1207],{"type":44,"tag":110,"props":1182,"children":1183},{},[1184,1186],{"type":50,"value":1185},"If there are one or more unpushed commits (rev-list count >= 1), tell the user:\n",{"type":44,"tag":53,"props":1187,"children":1188},{},[1189],{"type":44,"tag":57,"props":1190,"children":1191},{},[1192],{"type":50,"value":1193},"\"You have uncommitted changes and N unpushed commits. I'll commit your uncommitted changes on top, then push all N+1 commits to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?\"",{"type":44,"tag":110,"props":1195,"children":1196},{},[1197,1199],{"type":50,"value":1198},"If there are no other unpushed commits (rev-list count = 0), tell the user:\n",{"type":44,"tag":53,"props":1200,"children":1201},{},[1202],{"type":44,"tag":57,"props":1203,"children":1204},{},[1205],{"type":50,"value":1206},"\"I'll commit your uncommitted changes and push them to a new branch for release readiness review. Shall I proceed?\"",{"type":44,"tag":110,"props":1208,"children":1209},{},[1210,1215],{"type":44,"tag":61,"props":1211,"children":1212},{},[1213],{"type":50,"value":1214},"Do NOT proceed until the user approves.",{"type":50,"value":1216}," If they decline, stop.",{"type":44,"tag":110,"props":1218,"children":1219},{},[1220,1225,1226],{"type":44,"tag":61,"props":1221,"children":1222},{},[1223],{"type":50,"value":1224},"Clean but ahead of remote (rev-list count > 0, no uncommitted changes)",{"type":50,"value":387},{"type":44,"tag":106,"props":1227,"children":1228},{},[1229,1242,1255],{"type":44,"tag":110,"props":1230,"children":1231},{},[1232,1234],{"type":50,"value":1233},"If ahead by more than 1 commit, tell the user:\n",{"type":44,"tag":53,"props":1235,"children":1236},{},[1237],{"type":44,"tag":57,"props":1238,"children":1239},{},[1240],{"type":50,"value":1241},"\"You have N unpushed commits. I'll push all of them to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?\"",{"type":44,"tag":110,"props":1243,"children":1244},{},[1245,1247],{"type":50,"value":1246},"If ahead by exactly 1 commit, tell the user:\n",{"type":44,"tag":53,"props":1248,"children":1249},{},[1250],{"type":44,"tag":57,"props":1251,"children":1252},{},[1253],{"type":50,"value":1254},"\"I'll push your latest commit to a new branch for release readiness review. Shall I proceed?\"",{"type":44,"tag":110,"props":1256,"children":1257},{},[1258,1262],{"type":44,"tag":61,"props":1259,"children":1260},{},[1261],{"type":50,"value":1214},{"type":50,"value":1216},{"type":44,"tag":110,"props":1264,"children":1265},{},[1266,1271,1273],{"type":44,"tag":61,"props":1267,"children":1268},{},[1269],{"type":50,"value":1270},"Stash uncommitted changes",{"type":50,"value":1272}," (skip this step if working directory is clean):",{"type":44,"tag":186,"props":1274,"children":1276},{"className":1006,"code":1275,"language":1008,"meta":194,"style":194},"git stash push --include-untracked -m \"release-analysis: preserve working changes\"\n",[1277],{"type":44,"tag":69,"props":1278,"children":1279},{"__ignoreMap":194},[1280],{"type":44,"tag":352,"props":1281,"children":1282},{"class":354,"line":355},[1283,1288,1293,1298,1303,1308,1312,1317],{"type":44,"tag":352,"props":1284,"children":1285},{"style":404},[1286],{"type":50,"value":1287},"git",{"type":44,"tag":352,"props":1289,"children":1290},{"style":459},[1291],{"type":50,"value":1292}," stash",{"type":44,"tag":352,"props":1294,"children":1295},{"style":459},[1296],{"type":50,"value":1297}," push",{"type":44,"tag":352,"props":1299,"children":1300},{"style":459},[1301],{"type":50,"value":1302}," --include-untracked",{"type":44,"tag":352,"props":1304,"children":1305},{"style":459},[1306],{"type":50,"value":1307}," -m",{"type":44,"tag":352,"props":1309,"children":1310},{"style":359},[1311],{"type":50,"value":456},{"type":44,"tag":352,"props":1313,"children":1314},{"style":459},[1315],{"type":50,"value":1316},"release-analysis: preserve working changes",{"type":44,"tag":352,"props":1318,"children":1319},{"style":359},[1320],{"type":50,"value":539},{"type":44,"tag":110,"props":1322,"children":1323},{},[1324,1329,1331],{"type":44,"tag":61,"props":1325,"children":1326},{},[1327],{"type":50,"value":1328},"Create review branch",{"type":50,"value":1330}," (do this BEFORE committing so the snapshot commit only lives on the disposable branch):",{"type":44,"tag":186,"props":1332,"children":1334},{"className":1006,"code":1333,"language":1008,"meta":194,"style":194},"ORIGINAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)\nBRANCH_NAME=\"feat\u002Frelease-readiness-review\"\ngit checkout -b $BRANCH_NAME 2>\u002Fdev\u002Fnull || { BRANCH_NAME=\"feat\u002Frelease-readiness-review-$(date +%Y%m%d-%H%M%S)\"; git checkout -b $BRANCH_NAME; }\n",[1335],{"type":44,"tag":69,"props":1336,"children":1337},{"__ignoreMap":194},[1338,1375,1400],{"type":44,"tag":352,"props":1339,"children":1340},{"class":354,"line":355},[1341,1346,1351,1355,1360,1365,1370],{"type":44,"tag":352,"props":1342,"children":1343},{"style":1018},[1344],{"type":50,"value":1345},"ORIGINAL_BRANCH",{"type":44,"tag":352,"props":1347,"children":1348},{"style":359},[1349],{"type":50,"value":1350},"=$(",{"type":44,"tag":352,"props":1352,"children":1353},{"style":404},[1354],{"type":50,"value":1287},{"type":44,"tag":352,"props":1356,"children":1357},{"style":459},[1358],{"type":50,"value":1359}," rev-parse",{"type":44,"tag":352,"props":1361,"children":1362},{"style":459},[1363],{"type":50,"value":1364}," --abbrev-ref",{"type":44,"tag":352,"props":1366,"children":1367},{"style":459},[1368],{"type":50,"value":1369}," HEAD",{"type":44,"tag":352,"props":1371,"children":1372},{"style":359},[1373],{"type":50,"value":1374},")\n",{"type":44,"tag":352,"props":1376,"children":1377},{"class":354,"line":365},[1378,1383,1387,1391,1396],{"type":44,"tag":352,"props":1379,"children":1380},{"style":1018},[1381],{"type":50,"value":1382},"BRANCH_NAME",{"type":44,"tag":352,"props":1384,"children":1385},{"style":359},[1386],{"type":50,"value":1026},{"type":44,"tag":352,"props":1388,"children":1389},{"style":359},[1390],{"type":50,"value":382},{"type":44,"tag":352,"props":1392,"children":1393},{"style":459},[1394],{"type":50,"value":1395},"feat\u002Frelease-readiness-review",{"type":44,"tag":352,"props":1397,"children":1398},{"style":359},[1399],{"type":50,"value":539},{"type":44,"tag":352,"props":1401,"children":1402},{"class":354,"line":395},[1403,1407,1412,1417,1422,1427,1432,1437,1442,1447,1451,1455,1460,1465,1470,1475,1480,1484,1488,1492,1496,1501,1505],{"type":44,"tag":352,"props":1404,"children":1405},{"style":404},[1406],{"type":50,"value":1287},{"type":44,"tag":352,"props":1408,"children":1409},{"style":459},[1410],{"type":50,"value":1411}," checkout",{"type":44,"tag":352,"props":1413,"children":1414},{"style":459},[1415],{"type":50,"value":1416}," -b",{"type":44,"tag":352,"props":1418,"children":1419},{"style":1018},[1420],{"type":50,"value":1421}," $BRANCH_NAME ",{"type":44,"tag":352,"props":1423,"children":1424},{"style":359},[1425],{"type":50,"value":1426},"2>",{"type":44,"tag":352,"props":1428,"children":1429},{"style":459},[1430],{"type":50,"value":1431},"\u002Fdev\u002Fnull",{"type":44,"tag":352,"props":1433,"children":1434},{"style":359},[1435],{"type":50,"value":1436}," ||",{"type":44,"tag":352,"props":1438,"children":1439},{"style":359},[1440],{"type":50,"value":1441}," {",{"type":44,"tag":352,"props":1443,"children":1444},{"style":1018},[1445],{"type":50,"value":1446}," BRANCH_NAME",{"type":44,"tag":352,"props":1448,"children":1449},{"style":359},[1450],{"type":50,"value":1026},{"type":44,"tag":352,"props":1452,"children":1453},{"style":359},[1454],{"type":50,"value":382},{"type":44,"tag":352,"props":1456,"children":1457},{"style":459},[1458],{"type":50,"value":1459},"feat\u002Frelease-readiness-review-",{"type":44,"tag":352,"props":1461,"children":1462},{"style":359},[1463],{"type":50,"value":1464},"$(",{"type":44,"tag":352,"props":1466,"children":1467},{"style":404},[1468],{"type":50,"value":1469},"date",{"type":44,"tag":352,"props":1471,"children":1472},{"style":459},[1473],{"type":50,"value":1474}," +%Y%m%d-%H%M%S",{"type":44,"tag":352,"props":1476,"children":1477},{"style":359},[1478],{"type":50,"value":1479},")\"",{"type":44,"tag":352,"props":1481,"children":1482},{"style":359},[1483],{"type":50,"value":1087},{"type":44,"tag":352,"props":1485,"children":1486},{"style":404},[1487],{"type":50,"value":1057},{"type":44,"tag":352,"props":1489,"children":1490},{"style":459},[1491],{"type":50,"value":1411},{"type":44,"tag":352,"props":1493,"children":1494},{"style":459},[1495],{"type":50,"value":1416},{"type":44,"tag":352,"props":1497,"children":1498},{"style":1018},[1499],{"type":50,"value":1500}," $BRANCH_NAME",{"type":44,"tag":352,"props":1502,"children":1503},{"style":359},[1504],{"type":50,"value":1087},{"type":44,"tag":352,"props":1506,"children":1507},{"style":359},[1508],{"type":50,"value":1509}," }\n",{"type":44,"tag":110,"props":1511,"children":1512},{},[1513,1518,1520,1543,1546,1548,1602,1605,1607,1670,1673,1675],{"type":44,"tag":61,"props":1514,"children":1515},{},[1516],{"type":50,"value":1517},"Apply stashed changes and commit on the review branch",{"type":50,"value":1519}," (skip this step if working directory was clean — go straight to step 7):",{"type":44,"tag":186,"props":1521,"children":1523},{"className":1006,"code":1522,"language":1008,"meta":194,"style":194},"git stash apply\n",[1524],{"type":44,"tag":69,"props":1525,"children":1526},{"__ignoreMap":194},[1527],{"type":44,"tag":352,"props":1528,"children":1529},{"class":354,"line":355},[1530,1534,1538],{"type":44,"tag":352,"props":1531,"children":1532},{"style":404},[1533],{"type":50,"value":1287},{"type":44,"tag":352,"props":1535,"children":1536},{"style":459},[1537],{"type":50,"value":1292},{"type":44,"tag":352,"props":1539,"children":1540},{"style":459},[1541],{"type":50,"value":1542}," apply\n",{"type":44,"tag":1125,"props":1544,"children":1545},{},[],{"type":50,"value":1547},"Before staging, check for sensitive files:",{"type":44,"tag":186,"props":1549,"children":1551},{"className":1006,"code":1550,"language":1008,"meta":194,"style":194},"git status --short | grep -iE '\\.(env|pem|key|p12|pfx|credentials|secret)'\n",[1552],{"type":44,"tag":69,"props":1553,"children":1554},{"__ignoreMap":194},[1555],{"type":44,"tag":352,"props":1556,"children":1557},{"class":354,"line":355},[1558,1562,1567,1572,1577,1582,1587,1592,1597],{"type":44,"tag":352,"props":1559,"children":1560},{"style":404},[1561],{"type":50,"value":1287},{"type":44,"tag":352,"props":1563,"children":1564},{"style":459},[1565],{"type":50,"value":1566}," status",{"type":44,"tag":352,"props":1568,"children":1569},{"style":459},[1570],{"type":50,"value":1571}," --short",{"type":44,"tag":352,"props":1573,"children":1574},{"style":359},[1575],{"type":50,"value":1576}," |",{"type":44,"tag":352,"props":1578,"children":1579},{"style":404},[1580],{"type":50,"value":1581}," grep",{"type":44,"tag":352,"props":1583,"children":1584},{"style":459},[1585],{"type":50,"value":1586}," -iE",{"type":44,"tag":352,"props":1588,"children":1589},{"style":359},[1590],{"type":50,"value":1591}," '",{"type":44,"tag":352,"props":1593,"children":1594},{"style":459},[1595],{"type":50,"value":1596},"\\.(env|pem|key|p12|pfx|credentials|secret)",{"type":44,"tag":352,"props":1598,"children":1599},{"style":359},[1600],{"type":50,"value":1601},"'\n",{"type":44,"tag":1125,"props":1603,"children":1604},{},[],{"type":50,"value":1606},"If sensitive files are detected, warn the user and ask for confirmation before proceeding. If the user declines, abort:",{"type":44,"tag":186,"props":1608,"children":1610},{"className":1006,"code":1609,"language":1008,"meta":194,"style":194},"git checkout $ORIGINAL_BRANCH && git branch -D $BRANCH_NAME && git stash drop\n",[1611],{"type":44,"tag":69,"props":1612,"children":1613},{"__ignoreMap":194},[1614],{"type":44,"tag":352,"props":1615,"children":1616},{"class":354,"line":355},[1617,1621,1625,1630,1635,1639,1644,1649,1653,1657,1661,1665],{"type":44,"tag":352,"props":1618,"children":1619},{"style":404},[1620],{"type":50,"value":1287},{"type":44,"tag":352,"props":1622,"children":1623},{"style":459},[1624],{"type":50,"value":1411},{"type":44,"tag":352,"props":1626,"children":1627},{"style":1018},[1628],{"type":50,"value":1629}," $ORIGINAL_BRANCH ",{"type":44,"tag":352,"props":1631,"children":1632},{"style":359},[1633],{"type":50,"value":1634},"&&",{"type":44,"tag":352,"props":1636,"children":1637},{"style":404},[1638],{"type":50,"value":1057},{"type":44,"tag":352,"props":1640,"children":1641},{"style":459},[1642],{"type":50,"value":1643}," branch",{"type":44,"tag":352,"props":1645,"children":1646},{"style":459},[1647],{"type":50,"value":1648}," -D",{"type":44,"tag":352,"props":1650,"children":1651},{"style":1018},[1652],{"type":50,"value":1421},{"type":44,"tag":352,"props":1654,"children":1655},{"style":359},[1656],{"type":50,"value":1634},{"type":44,"tag":352,"props":1658,"children":1659},{"style":404},[1660],{"type":50,"value":1057},{"type":44,"tag":352,"props":1662,"children":1663},{"style":459},[1664],{"type":50,"value":1292},{"type":44,"tag":352,"props":1666,"children":1667},{"style":459},[1668],{"type":50,"value":1669}," drop\n",{"type":44,"tag":1125,"props":1671,"children":1672},{},[],{"type":50,"value":1674},"Once confirmed (or no sensitive files found):",{"type":44,"tag":186,"props":1676,"children":1678},{"className":1006,"code":1677,"language":1008,"meta":194,"style":194},"git add -A\ngit commit -m \"chore: snapshot for release readiness review\"\n",[1679],{"type":44,"tag":69,"props":1680,"children":1681},{"__ignoreMap":194},[1682,1699],{"type":44,"tag":352,"props":1683,"children":1684},{"class":354,"line":355},[1685,1689,1694],{"type":44,"tag":352,"props":1686,"children":1687},{"style":404},[1688],{"type":50,"value":1287},{"type":44,"tag":352,"props":1690,"children":1691},{"style":459},[1692],{"type":50,"value":1693}," add",{"type":44,"tag":352,"props":1695,"children":1696},{"style":459},[1697],{"type":50,"value":1698}," -A\n",{"type":44,"tag":352,"props":1700,"children":1701},{"class":354,"line":365},[1702,1706,1711,1715,1719,1724],{"type":44,"tag":352,"props":1703,"children":1704},{"style":404},[1705],{"type":50,"value":1287},{"type":44,"tag":352,"props":1707,"children":1708},{"style":459},[1709],{"type":50,"value":1710}," commit",{"type":44,"tag":352,"props":1712,"children":1713},{"style":459},[1714],{"type":50,"value":1307},{"type":44,"tag":352,"props":1716,"children":1717},{"style":359},[1718],{"type":50,"value":456},{"type":44,"tag":352,"props":1720,"children":1721},{"style":459},[1722],{"type":50,"value":1723},"chore: snapshot for release readiness review",{"type":44,"tag":352,"props":1725,"children":1726},{"style":359},[1727],{"type":50,"value":539},{"type":44,"tag":110,"props":1729,"children":1730},{},[1731,1736,1738,1769,1772,1774],{"type":44,"tag":61,"props":1732,"children":1733},{},[1734],{"type":50,"value":1735},"Push all unpushed commits",{"type":50,"value":1737}," (requires prior user approval):\nIf the user already approved the push in step 3, proceed directly. Otherwise (e.g., the flow reached here without an explicit approval prompt), confirm before pushing:",{"type":44,"tag":53,"props":1739,"children":1740},{},[1741],{"type":44,"tag":57,"props":1742,"children":1743},{},[1744,1746,1752,1754,1760,1762,1767],{"type":50,"value":1745},"\"I'm about to push branch ",{"type":44,"tag":69,"props":1747,"children":1749},{"className":1748},[],[1750],{"type":50,"value":1751},"$BRANCH_NAME",{"type":50,"value":1753}," to ",{"type":44,"tag":69,"props":1755,"children":1757},{"className":1756},[],[1758],{"type":50,"value":1759},"origin",{"type":50,"value":1761},". This is a prerequisite step, can I proceed?\"\n",{"type":44,"tag":61,"props":1763,"children":1764},{},[1765],{"type":50,"value":1766},"Do NOT push until the user approves.",{"type":50,"value":1768}," If they decline, abort and skip to step 11.",{"type":44,"tag":1125,"props":1770,"children":1771},{},[],{"type":50,"value":1773},"Once approved (or if already approved in step 3):",{"type":44,"tag":186,"props":1775,"children":1777},{"className":1006,"code":1776,"language":1008,"meta":194,"style":194},"git push -u origin HEAD\n",[1778],{"type":44,"tag":69,"props":1779,"children":1780},{"__ignoreMap":194},[1781],{"type":44,"tag":352,"props":1782,"children":1783},{"class":354,"line":355},[1784,1788,1792,1797,1801],{"type":44,"tag":352,"props":1785,"children":1786},{"style":404},[1787],{"type":50,"value":1287},{"type":44,"tag":352,"props":1789,"children":1790},{"style":459},[1791],{"type":50,"value":1297},{"type":44,"tag":352,"props":1793,"children":1794},{"style":459},[1795],{"type":50,"value":1796}," -u",{"type":44,"tag":352,"props":1798,"children":1799},{"style":459},[1800],{"type":50,"value":1110},{"type":44,"tag":352,"props":1802,"children":1803},{"style":459},[1804],{"type":50,"value":1805}," HEAD\n",{"type":44,"tag":110,"props":1807,"children":1808},{},[1809,1814,1815,1821,1823,1828,1830],{"type":44,"tag":61,"props":1810,"children":1811},{},[1812],{"type":50,"value":1813},"Determine the repository identifier and hostname",{"type":50,"value":1139},{"type":44,"tag":69,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":50,"value":1820},"git remote get-url origin | sed 's|:\u002F\u002F[^@]*@|:\u002F\u002F|'",{"type":50,"value":1822}," to extract the ",{"type":44,"tag":69,"props":1824,"children":1826},{"className":1825},[],[1827],{"type":50,"value":232},{"type":50,"value":1829}," and hostname.",{"type":44,"tag":106,"props":1831,"children":1832},{},[1833,1845],{"type":44,"tag":110,"props":1834,"children":1835},{},[1836,1838,1843],{"type":50,"value":1837},"GitHub URLs (github.com or self-hosted) → use ",{"type":44,"tag":69,"props":1839,"children":1841},{"className":1840},[],[1842],{"type":50,"value":407},{"type":50,"value":1844},", hostname from URL",{"type":44,"tag":110,"props":1846,"children":1847},{},[1848,1850,1855],{"type":50,"value":1849},"GitLab URLs (gitlab.com or self-hosted) → use ",{"type":44,"tag":69,"props":1851,"children":1853},{"className":1852},[],[1854],{"type":50,"value":772},{"type":50,"value":1844},{"type":44,"tag":110,"props":1857,"children":1858},{},[1859,1864,1866,1871,1872,1877,1879,1884,1886,1891,1893,1898,1900],{"type":44,"tag":61,"props":1860,"children":1861},{},[1862],{"type":50,"value":1863},"Build the content",{"type":50,"value":1865},": Set ",{"type":44,"tag":69,"props":1867,"children":1869},{"className":1868},[],[1870],{"type":50,"value":253},{"type":50,"value":1753},{"type":44,"tag":69,"props":1873,"children":1875},{"className":1874},[],[1876],{"type":50,"value":1751},{"type":50,"value":1878},", ",{"type":44,"tag":69,"props":1880,"children":1882},{"className":1881},[],[1883],{"type":50,"value":224},{"type":50,"value":1885}," to the extracted ",{"type":44,"tag":69,"props":1887,"children":1889},{"className":1888},[],[1890],{"type":50,"value":232},{"type":50,"value":1892},", and ",{"type":44,"tag":69,"props":1894,"children":1896},{"className":1895},[],[1897],{"type":50,"value":295},{"type":50,"value":1899}," to the value from step 8. Wrap the object in an array:",{"type":44,"tag":106,"props":1901,"children":1902},{},[1903,1914],{"type":44,"tag":110,"props":1904,"children":1905},{},[1906,1908],{"type":50,"value":1907},"GitHub: ",{"type":44,"tag":69,"props":1909,"children":1911},{"className":1910},[],[1912],{"type":50,"value":1913},"{\"githubPrContent\": [{\"repository\": \"owner\u002Frepo\", \"headBranch\": \"feat\u002Frelease-readiness-review\", \"hostname\": \"github.com\"}]}",{"type":44,"tag":110,"props":1915,"children":1916},{},[1917,1919],{"type":50,"value":1918},"GitLab: ",{"type":44,"tag":69,"props":1920,"children":1922},{"className":1921},[],[1923],{"type":50,"value":1924},"{\"gitlabMrContent\": [{\"repository\": \"namespace\u002Frepo\", \"headBranch\": \"feat\u002Frelease-readiness-review\", \"hostname\": \"gitlab.com\"}]}",{"type":44,"tag":110,"props":1926,"children":1927},{},[1928,1933],{"type":44,"tag":61,"props":1929,"children":1930},{},[1931],{"type":50,"value":1932},"Inform the user",{"type":50,"value":1934},": Tell them which branch was created and pushed, then proceed with the core workflow below.",{"type":44,"tag":110,"props":1936,"children":1937},{},[1938,1943,1945,2045,2048,2050],{"type":44,"tag":61,"props":1939,"children":1940},{},[1941],{"type":50,"value":1942},"After analysis completes",{"type":50,"value":1944},": Clean up and restore working state:",{"type":44,"tag":186,"props":1946,"children":1948},{"className":1006,"code":1947,"language":1008,"meta":194,"style":194},"git checkout $ORIGINAL_BRANCH\ngit push origin --delete $BRANCH_NAME 2>\u002Fdev\u002Fnull || true\ngit branch -D $BRANCH_NAME 2>\u002Fdev\u002Fnull || true\n",[1949],{"type":44,"tag":69,"props":1950,"children":1951},{"__ignoreMap":194},[1952,1968,2010],{"type":44,"tag":352,"props":1953,"children":1954},{"class":354,"line":355},[1955,1959,1963],{"type":44,"tag":352,"props":1956,"children":1957},{"style":404},[1958],{"type":50,"value":1287},{"type":44,"tag":352,"props":1960,"children":1961},{"style":459},[1962],{"type":50,"value":1411},{"type":44,"tag":352,"props":1964,"children":1965},{"style":1018},[1966],{"type":50,"value":1967}," $ORIGINAL_BRANCH\n",{"type":44,"tag":352,"props":1969,"children":1970},{"class":354,"line":365},[1971,1975,1979,1983,1988,1992,1996,2000,2004],{"type":44,"tag":352,"props":1972,"children":1973},{"style":404},[1974],{"type":50,"value":1287},{"type":44,"tag":352,"props":1976,"children":1977},{"style":459},[1978],{"type":50,"value":1297},{"type":44,"tag":352,"props":1980,"children":1981},{"style":459},[1982],{"type":50,"value":1110},{"type":44,"tag":352,"props":1984,"children":1985},{"style":459},[1986],{"type":50,"value":1987}," --delete",{"type":44,"tag":352,"props":1989,"children":1990},{"style":1018},[1991],{"type":50,"value":1421},{"type":44,"tag":352,"props":1993,"children":1994},{"style":359},[1995],{"type":50,"value":1426},{"type":44,"tag":352,"props":1997,"children":1998},{"style":459},[1999],{"type":50,"value":1431},{"type":44,"tag":352,"props":2001,"children":2002},{"style":359},[2003],{"type":50,"value":1436},{"type":44,"tag":352,"props":2005,"children":2007},{"style":2006},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2008],{"type":50,"value":2009}," true\n",{"type":44,"tag":352,"props":2011,"children":2012},{"class":354,"line":395},[2013,2017,2021,2025,2029,2033,2037,2041],{"type":44,"tag":352,"props":2014,"children":2015},{"style":404},[2016],{"type":50,"value":1287},{"type":44,"tag":352,"props":2018,"children":2019},{"style":459},[2020],{"type":50,"value":1643},{"type":44,"tag":352,"props":2022,"children":2023},{"style":459},[2024],{"type":50,"value":1648},{"type":44,"tag":352,"props":2026,"children":2027},{"style":1018},[2028],{"type":50,"value":1421},{"type":44,"tag":352,"props":2030,"children":2031},{"style":359},[2032],{"type":50,"value":1426},{"type":44,"tag":352,"props":2034,"children":2035},{"style":459},[2036],{"type":50,"value":1431},{"type":44,"tag":352,"props":2038,"children":2039},{"style":359},[2040],{"type":50,"value":1436},{"type":44,"tag":352,"props":2042,"children":2043},{"style":2006},[2044],{"type":50,"value":2009},{"type":44,"tag":1125,"props":2046,"children":2047},{},[],{"type":50,"value":2049},"If step 4 was executed (uncommitted changes were stashed), also run:",{"type":44,"tag":186,"props":2051,"children":2053},{"className":1006,"code":2052,"language":1008,"meta":194,"style":194},"git stash pop\n",[2054],{"type":44,"tag":69,"props":2055,"children":2056},{"__ignoreMap":194},[2057],{"type":44,"tag":352,"props":2058,"children":2059},{"class":354,"line":355},[2060,2064,2068],{"type":44,"tag":352,"props":2061,"children":2062},{"style":404},[2063],{"type":50,"value":1287},{"type":44,"tag":352,"props":2065,"children":2066},{"style":459},[2067],{"type":50,"value":1292},{"type":44,"tag":352,"props":2069,"children":2070},{"style":459},[2071],{"type":50,"value":2072}," pop\n",{"type":44,"tag":57,"props":2074,"children":2075},{},[2076,2081],{"type":44,"tag":61,"props":2077,"children":2078},{},[2079],{"type":50,"value":2080},"Important",{"type":50,"value":2082},": Do NOT create a PR\u002FMR — only push the branch. The release readiness review agent will read the branch directly.",{"type":44,"tag":166,"props":2084,"children":2086},{"id":2085},"core-workflow",[2087],{"type":50,"value":2088},"Core workflow",{"type":44,"tag":53,"props":2090,"children":2091},{},[2092],{"type":44,"tag":57,"props":2093,"children":2094},{},[2095,2100],{"type":44,"tag":61,"props":2096,"children":2097},{},[2098],{"type":50,"value":2099},"STRICT SEQUENCING",{"type":50,"value":2101},": Steps below are numbered. You MUST complete each step before moving to the next. In particular, step 1 (automated testing prompt) MUST NOT happen until the entire \"Gathering execution parameters\" flow above is fully complete — all git operations done, branch pushed (if local flow), content object built, and user informed of the branch. Only THEN proceed to step 1.",{"type":44,"tag":202,"props":2103,"children":2105},{"id":2104},"_1-determine-skip_automated_testing-ask-only-after-content-is-ready",[2106,2108,2114],{"type":50,"value":2107},"1. Determine ",{"type":44,"tag":69,"props":2109,"children":2111},{"className":2110},[],[2112],{"type":50,"value":2113},"skip_automated_testing",{"type":50,"value":2115}," (ask ONLY after content is ready)",{"type":44,"tag":57,"props":2117,"children":2118},{},[2119,2121,2126],{"type":50,"value":2120},"The ",{"type":44,"tag":69,"props":2122,"children":2124},{"className":2123},[],[2125],{"type":50,"value":2113},{"type":50,"value":2127}," parameter controls whether the agent runs automated testing (automated verification tests) or only static analysis.",{"type":44,"tag":2129,"props":2130,"children":2131},"table",{},[2132,2151],{"type":44,"tag":2133,"props":2134,"children":2135},"thead",{},[2136],{"type":44,"tag":2137,"props":2138,"children":2139},"tr",{},[2140,2146],{"type":44,"tag":2141,"props":2142,"children":2143},"th",{},[2144],{"type":50,"value":2145},"Value",{"type":44,"tag":2141,"props":2147,"children":2148},{},[2149],{"type":50,"value":2150},"Behavior",{"type":44,"tag":2152,"props":2153,"children":2154},"tbody",{},[2155,2173],{"type":44,"tag":2137,"props":2156,"children":2157},{},[2158,2168],{"type":44,"tag":2159,"props":2160,"children":2161},"td",{},[2162],{"type":44,"tag":69,"props":2163,"children":2165},{"className":2164},[],[2166],{"type":50,"value":2167},"true",{"type":44,"tag":2159,"props":2169,"children":2170},{},[2171],{"type":50,"value":2172},"Skip automated testing, run static analysis only (fast — code review, risk assessment, dependency checks)",{"type":44,"tag":2137,"props":2174,"children":2175},{},[2176,2185],{"type":44,"tag":2159,"props":2177,"children":2178},{},[2179],{"type":44,"tag":69,"props":2180,"children":2182},{"className":2181},[],[2183],{"type":50,"value":2184},"false",{"type":44,"tag":2159,"props":2186,"children":2187},{},[2188],{"type":50,"value":2189},"Full analysis including automated testing (longer — spins up a testing environment, builds code, runs automated verification tests)",{"type":44,"tag":57,"props":2191,"children":2192},{},[2193],{"type":50,"value":2194},"Present the choice and wait for a response:",{"type":44,"tag":53,"props":2196,"children":2197},{},[2198],{"type":44,"tag":57,"props":2199,"children":2200},{},[2201],{"type":50,"value":2202},"\"Would you like a quick static analysis (code review, risk assessment, dependency checks), or a full analysis that also includes automated testing? Automated testing spins up a testing environment, builds your code, and runs automated verification tests — it's more thorough but takes longer.\"",{"type":44,"tag":57,"props":2204,"children":2205},{},[2206],{"type":44,"tag":61,"props":2207,"children":2208},{},[2209],{"type":50,"value":2210},"Do NOT proceed until the user answers.",{"type":44,"tag":106,"props":2212,"children":2213},{},[2214,2225,2236],{"type":44,"tag":110,"props":2215,"children":2216},{},[2217,2219],{"type":50,"value":2218},"If the user says \"yes\" \u002F \"include testing\" \u002F \"full analysis\" \u002F \"run tests\" → use ",{"type":44,"tag":69,"props":2220,"children":2222},{"className":2221},[],[2223],{"type":50,"value":2224},"skip_automated_testing=false",{"type":44,"tag":110,"props":2226,"children":2227},{},[2228,2230],{"type":50,"value":2229},"If the user says \"no\" \u002F \"static only\" \u002F \"skip testing\" \u002F \"quick\" \u002F declines → use ",{"type":44,"tag":69,"props":2231,"children":2233},{"className":2232},[],[2234],{"type":50,"value":2235},"skip_automated_testing=true",{"type":44,"tag":110,"props":2237,"children":2238},{},[2239],{"type":50,"value":2240},"If the response is ambiguous (e.g., \"go ahead\", \"sure\", \"proceed\") → ask the user to clarify which option they prefer.",{"type":44,"tag":202,"props":2242,"children":2244},{"id":2243},"_2-check-tool-availability",[2245],{"type":50,"value":2246},"2. Check tool availability",{"type":44,"tag":57,"props":2248,"children":2249},{},[2250,2252,2258,2259,2265,2266,2272,2273,2279],{"type":50,"value":2251},"Verify that the following tools are available: ",{"type":44,"tag":69,"props":2253,"children":2255},{"className":2254},[],[2256],{"type":50,"value":2257},"aws_devops_agent__create_release_readiness_review",{"type":50,"value":1878},{"type":44,"tag":69,"props":2260,"children":2262},{"className":2261},[],[2263],{"type":50,"value":2264},"aws_devops_agent__get_task",{"type":50,"value":1878},{"type":44,"tag":69,"props":2267,"children":2269},{"className":2268},[],[2270],{"type":50,"value":2271},"aws_devops_agent__list_journal_records",{"type":50,"value":1878},{"type":44,"tag":69,"props":2274,"children":2276},{"className":2275},[],[2277],{"type":50,"value":2278},"aws_devops_agent__get_release_readiness_report",{"type":50,"value":2280},". These tools are NOT deferred\u002Flazy-loaded — if they do not appear in your tool list, they are unavailable. Do NOT search for them via ToolSearch. If any are missing, skip the remaining steps in this section and use the \"Fallback (aws-mcp)\" path below instead. Tell the user: \"Remote server unavailable — using direct aws-mcp server fallback.\"",{"type":44,"tag":202,"props":2282,"children":2284},{"id":2283},"_3-start-the-job",[2285],{"type":50,"value":2286},"3. Start the Job",{"type":44,"tag":186,"props":2288,"children":2291},{"className":2289,"code":2290,"language":50},[189],"aws_devops_agent__create_release_readiness_review(\n    content={...},\n    skip_automated_testing=true\u002Ffalse\n)\n→ {\"taskId\": \"...\", \"executionId\": \"...\", \"status\": \"started\"}\n",[2292],{"type":44,"tag":69,"props":2293,"children":2294},{"__ignoreMap":194},[2295],{"type":50,"value":2290},{"type":44,"tag":57,"props":2297,"children":2298},{},[2299,2301,2306,2307,2312],{"type":50,"value":2300},"Record the ",{"type":44,"tag":61,"props":2302,"children":2303},{},[2304],{"type":50,"value":2305},"taskId",{"type":50,"value":1147},{"type":44,"tag":61,"props":2308,"children":2309},{},[2310],{"type":50,"value":2311},"executionId",{"type":50,"value":2313}," from the response.",{"type":44,"tag":202,"props":2315,"children":2317},{"id":2316},"_4-poll-for-status",[2318],{"type":50,"value":2319},"4. Poll for Status",{"type":44,"tag":57,"props":2321,"children":2322},{},[2323,2325,2331,2333,2338,2340,2346,2348,2354,2355,2361,2362,2368,2369,2375],{"type":50,"value":2324},"Call ",{"type":44,"tag":69,"props":2326,"children":2328},{"className":2327},[],[2329],{"type":50,"value":2330},"aws_devops_agent__get_task(task_id=TASK_ID)",{"type":50,"value":2332}," every ",{"type":44,"tag":61,"props":2334,"children":2335},{},[2336],{"type":50,"value":2337},"30 seconds",{"type":50,"value":2339}," until the status transitions to ",{"type":44,"tag":69,"props":2341,"children":2343},{"className":2342},[],[2344],{"type":50,"value":2345},"IN_PROGRESS",{"type":50,"value":2347}," or a terminal state (",{"type":44,"tag":69,"props":2349,"children":2351},{"className":2350},[],[2352],{"type":50,"value":2353},"COMPLETED",{"type":50,"value":1878},{"type":44,"tag":69,"props":2356,"children":2358},{"className":2357},[],[2359],{"type":50,"value":2360},"FAILED",{"type":50,"value":1878},{"type":44,"tag":69,"props":2363,"children":2365},{"className":2364},[],[2366],{"type":50,"value":2367},"CANCELED",{"type":50,"value":1878},{"type":44,"tag":69,"props":2370,"children":2372},{"className":2371},[],[2373],{"type":50,"value":2374},"TIMED_OUT",{"type":50,"value":2376},").",{"type":44,"tag":202,"props":2378,"children":2380},{"id":2379},"_5-monitor-until-completion",[2381],{"type":50,"value":2382},"5. Monitor Until Completion",{"type":44,"tag":57,"props":2384,"children":2385},{},[2386,2388,2393],{"type":50,"value":2387},"Once ",{"type":44,"tag":69,"props":2389,"children":2391},{"className":2390},[],[2392],{"type":50,"value":2345},{"type":50,"value":2394},", poll for progress in a loop:",{"type":44,"tag":966,"props":2396,"children":2397},{},[2398,2410,2415,2428,2438],{"type":44,"tag":110,"props":2399,"children":2400},{},[2401,2402,2408],{"type":50,"value":2324},{"type":44,"tag":69,"props":2403,"children":2405},{"className":2404},[],[2406],{"type":50,"value":2407},"aws_devops_agent__list_journal_records(execution_id=EXEC_ID, order=\"ASC\")",{"type":50,"value":2409}," to fetch new findings.",{"type":44,"tag":110,"props":2411,"children":2412},{},[2413],{"type":50,"value":2414},"Present each record to the user with a friendly progress update.",{"type":44,"tag":110,"props":2416,"children":2417},{},[2418,2420,2426],{"type":50,"value":2419},"Use ",{"type":44,"tag":69,"props":2421,"children":2423},{"className":2422},[],[2424],{"type":50,"value":2425},"next_token",{"type":50,"value":2427}," from the response to fetch only new records on subsequent polls.",{"type":44,"tag":110,"props":2429,"children":2430},{},[2431,2436],{"type":44,"tag":61,"props":2432,"children":2433},{},[2434],{"type":50,"value":2435},"Wait 15 seconds",{"type":50,"value":2437}," between each poll iteration.",{"type":44,"tag":110,"props":2439,"children":2440},{},[2441,2443,2448],{"type":50,"value":2442},"Check ",{"type":44,"tag":69,"props":2444,"children":2446},{"className":2445},[],[2447],{"type":50,"value":2330},{"type":50,"value":2449}," periodically — stop when terminal status.",{"type":44,"tag":202,"props":2451,"children":2453},{"id":2452},"_6-present-results",[2454],{"type":50,"value":2455},"6. Present Results",{"type":44,"tag":57,"props":2457,"children":2458},{},[2459],{"type":50,"value":2460},"Once the job reaches a terminal status:",{"type":44,"tag":106,"props":2462,"children":2463},{},[2464,2940,2957],{"type":44,"tag":110,"props":2465,"children":2466},{},[2467,2469,2474,2476],{"type":50,"value":2468},"If ",{"type":44,"tag":69,"props":2470,"children":2472},{"className":2471},[],[2473],{"type":50,"value":2353},{"type":50,"value":2475},":\n",{"type":44,"tag":966,"props":2477,"children":2478},{},[2479,2491,2505,2510],{"type":44,"tag":110,"props":2480,"children":2481},{},[2482,2483,2489],{"type":50,"value":2324},{"type":44,"tag":69,"props":2484,"children":2486},{"className":2485},[],[2487],{"type":50,"value":2488},"aws_devops_agent__get_release_readiness_report(execution_id=EXEC_ID)",{"type":50,"value":2490}," to retrieve the full report.",{"type":44,"tag":110,"props":2492,"children":2493},{},[2494,2496],{"type":50,"value":2495},"Write the report contents to a markdown file:",{"type":44,"tag":186,"props":2497,"children":2500},{"className":2498,"code":2499,"language":50},[189],"release-readiness-review-\u003CYYYY-MM-DD-HHmmss>.md\n",[2501],{"type":44,"tag":69,"props":2502,"children":2503},{"__ignoreMap":194},[2504],{"type":50,"value":2499},{"type":44,"tag":110,"props":2506,"children":2507},{},[2508],{"type":50,"value":2509},"Inform the user that the report was saved, including the file path.",{"type":44,"tag":110,"props":2511,"children":2512},{},[2513,2518,2520],{"type":44,"tag":61,"props":2514,"children":2515},{},[2516],{"type":50,"value":2517},"Auto-fix flow (MANDATORY)",{"type":50,"value":2519},": After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step.",{"type":44,"tag":106,"props":2521,"children":2522},{},[2523,2618,2909,2928],{"type":44,"tag":110,"props":2524,"children":2525},{},[2526,2528],{"type":50,"value":2527},"First, locate the analyzed repository in the current workspace:\n",{"type":44,"tag":966,"props":2529,"children":2530},{},[2531,2544,2579,2600,2605],{"type":44,"tag":110,"props":2532,"children":2533},{},[2534,2536,2542],{"type":50,"value":2535},"Run ",{"type":44,"tag":69,"props":2537,"children":2539},{"className":2538},[],[2540],{"type":50,"value":2541},"ls",{"type":50,"value":2543}," to list available directories in the workspace.",{"type":44,"tag":110,"props":2545,"children":2546},{},[2547,2549,2554,2556,2561,2563,2569,2571,2577],{"type":50,"value":2548},"Match by repo name (the last segment of ",{"type":44,"tag":69,"props":2550,"children":2552},{"className":2551},[],[2553],{"type":50,"value":232},{"type":50,"value":2555}," or ",{"type":44,"tag":69,"props":2557,"children":2559},{"className":2558},[],[2560],{"type":50,"value":819},{"type":50,"value":2562},"). For example, ",{"type":44,"tag":69,"props":2564,"children":2566},{"className":2565},[],[2567],{"type":50,"value":2568},"testgroupadthiru\u002Frepo1updated",{"type":50,"value":2570}," → look for a directory named ",{"type":44,"tag":69,"props":2572,"children":2574},{"className":2573},[],[2575],{"type":50,"value":2576},"repo1updated",{"type":50,"value":2578},".",{"type":44,"tag":110,"props":2580,"children":2581},{},[2582,2584,2590,2592,2598],{"type":50,"value":2583},"If a single match is found, confirm with the user: \"I found ",{"type":44,"tag":69,"props":2585,"children":2587},{"className":2586},[],[2588],{"type":50,"value":2589},"\u003Cmatch>",{"type":50,"value":2591}," — is this the correct local copy of ",{"type":44,"tag":69,"props":2593,"children":2595},{"className":2594},[],[2596],{"type":50,"value":2597},"\u003Cnamespace\u002Frepo>",{"type":50,"value":2599},"?\"",{"type":44,"tag":110,"props":2601,"children":2602},{},[2603],{"type":50,"value":2604},"If multiple matches are found, ask the user which one is correct.",{"type":44,"tag":110,"props":2606,"children":2607},{},[2608,2610,2616],{"type":50,"value":2609},"If no obvious match exists, ask the user: \"I couldn't find a local directory matching ",{"type":44,"tag":69,"props":2611,"children":2613},{"className":2612},[],[2614],{"type":50,"value":2615},"\u003Crepo-name>",{"type":50,"value":2617},". Is it available locally under a different name, or should I just show the suggested fixes?\"",{"type":44,"tag":110,"props":2619,"children":2620},{},[2621,2622,2627,2628],{"type":50,"value":2468},{"type":44,"tag":61,"props":2623,"children":2624},{},[2625],{"type":50,"value":2626},"found locally",{"type":50,"value":2475},{"type":44,"tag":106,"props":2629,"children":2630},{},[2631,2648,2669,2677,2850],{"type":44,"tag":110,"props":2632,"children":2633},{},[2634,2639,2640,2646],{"type":44,"tag":61,"props":2635,"children":2636},{},[2637],{"type":50,"value":2638},"Verify branch",{"type":50,"value":1139},{"type":44,"tag":69,"props":2641,"children":2643},{"className":2642},[],[2644],{"type":50,"value":2645},"git -C \u003Crepo-directory> branch --show-current",{"type":50,"value":2647}," to confirm you're on the expected branch. If not on the expected branch, check out the correct one before proceeding.",{"type":44,"tag":110,"props":2649,"children":2650},{},[2651,2653],{"type":50,"value":2652},"Scan the relevant code, interpret the risks\u002Fissues from the report. Then tell the user:",{"type":44,"tag":53,"props":2654,"children":2655},{},[2656],{"type":44,"tag":57,"props":2657,"children":2658},{},[2659,2661,2667],{"type":50,"value":2660},"\"The report identified N actionable issues. I can generate the fixes in your local repository, and push them to a new branch ",{"type":44,"tag":69,"props":2662,"children":2664},{"className":2663},[],[2665],{"type":50,"value":2666},"feat\u002Frelease-readiness-fix",{"type":50,"value":2668},". Shall I proceed?\"",{"type":44,"tag":110,"props":2670,"children":2671},{},[2672,2676],{"type":44,"tag":61,"props":2673,"children":2674},{},[2675],{"type":50,"value":1214},{"type":50,"value":1216},{"type":44,"tag":110,"props":2678,"children":2679},{},[2680,2682],{"type":50,"value":2681},"Once approved, generate the fixes. Then:",{"type":44,"tag":186,"props":2683,"children":2685},{"className":1006,"code":2684,"language":1008,"meta":194,"style":194},"cd \u003Crepo-directory>\ngit checkout -b feat\u002Frelease-readiness-fix 2>\u002Fdev\u002Fnull || { git checkout -b \"feat\u002Frelease-readiness-fix-$(date +%Y%m%d-%H%M%S)\"; }\n# Apply the fixes\ngit add -A\ngit commit -m \"fix: Address issues identified by release readiness review\"\n",[2686],{"type":44,"tag":69,"props":2687,"children":2688},{"__ignoreMap":194},[2689,2716,2798,2807,2822],{"type":44,"tag":352,"props":2690,"children":2691},{"class":354,"line":355},[2692,2696,2701,2706,2711],{"type":44,"tag":352,"props":2693,"children":2694},{"style":2006},[2695],{"type":50,"value":983},{"type":44,"tag":352,"props":2697,"children":2698},{"style":359},[2699],{"type":50,"value":2700}," \u003C",{"type":44,"tag":352,"props":2702,"children":2703},{"style":459},[2704],{"type":50,"value":2705},"repo-director",{"type":44,"tag":352,"props":2707,"children":2708},{"style":1018},[2709],{"type":50,"value":2710},"y",{"type":44,"tag":352,"props":2712,"children":2713},{"style":359},[2714],{"type":50,"value":2715},">\n",{"type":44,"tag":352,"props":2717,"children":2718},{"class":354,"line":365},[2719,2723,2727,2731,2736,2741,2745,2749,2753,2757,2761,2765,2769,2774,2778,2782,2786,2790,2794],{"type":44,"tag":352,"props":2720,"children":2721},{"style":404},[2722],{"type":50,"value":1287},{"type":44,"tag":352,"props":2724,"children":2725},{"style":459},[2726],{"type":50,"value":1411},{"type":44,"tag":352,"props":2728,"children":2729},{"style":459},[2730],{"type":50,"value":1416},{"type":44,"tag":352,"props":2732,"children":2733},{"style":459},[2734],{"type":50,"value":2735}," feat\u002Frelease-readiness-fix",{"type":44,"tag":352,"props":2737,"children":2738},{"style":359},[2739],{"type":50,"value":2740}," 2>",{"type":44,"tag":352,"props":2742,"children":2743},{"style":459},[2744],{"type":50,"value":1431},{"type":44,"tag":352,"props":2746,"children":2747},{"style":359},[2748],{"type":50,"value":1436},{"type":44,"tag":352,"props":2750,"children":2751},{"style":359},[2752],{"type":50,"value":1441},{"type":44,"tag":352,"props":2754,"children":2755},{"style":404},[2756],{"type":50,"value":1057},{"type":44,"tag":352,"props":2758,"children":2759},{"style":459},[2760],{"type":50,"value":1411},{"type":44,"tag":352,"props":2762,"children":2763},{"style":459},[2764],{"type":50,"value":1416},{"type":44,"tag":352,"props":2766,"children":2767},{"style":359},[2768],{"type":50,"value":456},{"type":44,"tag":352,"props":2770,"children":2771},{"style":459},[2772],{"type":50,"value":2773},"feat\u002Frelease-readiness-fix-",{"type":44,"tag":352,"props":2775,"children":2776},{"style":359},[2777],{"type":50,"value":1464},{"type":44,"tag":352,"props":2779,"children":2780},{"style":404},[2781],{"type":50,"value":1469},{"type":44,"tag":352,"props":2783,"children":2784},{"style":459},[2785],{"type":50,"value":1474},{"type":44,"tag":352,"props":2787,"children":2788},{"style":359},[2789],{"type":50,"value":1479},{"type":44,"tag":352,"props":2791,"children":2792},{"style":359},[2793],{"type":50,"value":1087},{"type":44,"tag":352,"props":2795,"children":2796},{"style":359},[2797],{"type":50,"value":1509},{"type":44,"tag":352,"props":2799,"children":2800},{"class":354,"line":395},[2801],{"type":44,"tag":352,"props":2802,"children":2804},{"style":2803},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[2805],{"type":50,"value":2806},"# Apply the fixes\n",{"type":44,"tag":352,"props":2808,"children":2809},{"class":354,"line":423},[2810,2814,2818],{"type":44,"tag":352,"props":2811,"children":2812},{"style":404},[2813],{"type":50,"value":1287},{"type":44,"tag":352,"props":2815,"children":2816},{"style":459},[2817],{"type":50,"value":1693},{"type":44,"tag":352,"props":2819,"children":2820},{"style":459},[2821],{"type":50,"value":1698},{"type":44,"tag":352,"props":2823,"children":2824},{"class":354,"line":432},[2825,2829,2833,2837,2841,2846],{"type":44,"tag":352,"props":2826,"children":2827},{"style":404},[2828],{"type":50,"value":1287},{"type":44,"tag":352,"props":2830,"children":2831},{"style":459},[2832],{"type":50,"value":1710},{"type":44,"tag":352,"props":2834,"children":2835},{"style":459},[2836],{"type":50,"value":1307},{"type":44,"tag":352,"props":2838,"children":2839},{"style":359},[2840],{"type":50,"value":456},{"type":44,"tag":352,"props":2842,"children":2843},{"style":459},[2844],{"type":50,"value":2845},"fix: Address issues identified by release readiness review",{"type":44,"tag":352,"props":2847,"children":2848},{"style":359},[2849],{"type":50,"value":539},{"type":44,"tag":110,"props":2851,"children":2852},{},[2853,2858,2859,2865,2867,2873,2875,2904,2907],{"type":44,"tag":61,"props":2854,"children":2855},{},[2856],{"type":50,"value":2857},"Before pushing, verify branch again",{"type":50,"value":1139},{"type":44,"tag":69,"props":2860,"children":2862},{"className":2861},[],[2863],{"type":50,"value":2864},"git branch --show-current",{"type":50,"value":2866}," and confirm it shows ",{"type":44,"tag":69,"props":2868,"children":2870},{"className":2869},[],[2871],{"type":50,"value":2872},"feat\u002Frelease-readiness-fix*",{"type":50,"value":2874},". Do NOT push if you're on any other branch.",{"type":44,"tag":186,"props":2876,"children":2877},{"className":1006,"code":1776,"language":1008,"meta":194,"style":194},[2878],{"type":44,"tag":69,"props":2879,"children":2880},{"__ignoreMap":194},[2881],{"type":44,"tag":352,"props":2882,"children":2883},{"class":354,"line":355},[2884,2888,2892,2896,2900],{"type":44,"tag":352,"props":2885,"children":2886},{"style":404},[2887],{"type":50,"value":1287},{"type":44,"tag":352,"props":2889,"children":2890},{"style":459},[2891],{"type":50,"value":1297},{"type":44,"tag":352,"props":2893,"children":2894},{"style":459},[2895],{"type":50,"value":1796},{"type":44,"tag":352,"props":2897,"children":2898},{"style":459},[2899],{"type":50,"value":1110},{"type":44,"tag":352,"props":2901,"children":2902},{"style":459},[2903],{"type":50,"value":1805},{"type":44,"tag":1125,"props":2905,"children":2906},{},[],{"type":50,"value":2908},"Inform the user: which issues were fixed, what branch was created, and that the fix has been pushed.",{"type":44,"tag":110,"props":2910,"children":2911},{},[2912,2913,2918,2920,2926],{"type":50,"value":2468},{"type":44,"tag":61,"props":2914,"children":2915},{},[2916],{"type":50,"value":2917},"NOT found locally",{"type":50,"value":2919},": Present the suggested fixes from the report as concrete, ready-to-apply code patches. Use the ",{"type":44,"tag":69,"props":2921,"children":2923},{"className":2922},[],[2924],{"type":50,"value":2925},"suggestedFix",{"type":50,"value":2927}," field from each risk. Format them as code blocks the user can copy-paste directly. Walk through each actionable risk: explain the issue, show the exact fix, and state which file\u002Fline it targets.",{"type":44,"tag":110,"props":2929,"children":2930},{},[2931,2933,2938],{"type":50,"value":2932},"If the report finds ",{"type":44,"tag":61,"props":2934,"children":2935},{},[2936],{"type":50,"value":2937},"no risks or issues",{"type":50,"value":2939},": Inform the user the analysis completed with no actionable findings.",{"type":44,"tag":110,"props":2941,"children":2942},{},[2943,2944,2949,2950,2955],{"type":50,"value":2468},{"type":44,"tag":69,"props":2945,"children":2947},{"className":2946},[],[2948],{"type":50,"value":2360},{"type":50,"value":2555},{"type":44,"tag":69,"props":2951,"children":2953},{"className":2952},[],[2954],{"type":50,"value":2374},{"type":50,"value":2956},": Present the error information and suggest next steps.",{"type":44,"tag":110,"props":2958,"children":2959},{},[2960,2961,2966],{"type":50,"value":2468},{"type":44,"tag":69,"props":2962,"children":2964},{"className":2963},[],[2965],{"type":50,"value":2367},{"type":50,"value":2967},": Inform the user the job was canceled and no report is available.",{"type":44,"tag":166,"props":2969,"children":2971},{"id":2970},"cancelling-a-job",[2972],{"type":50,"value":2973},"Cancelling a job",{"type":44,"tag":186,"props":2975,"children":2978},{"className":2976,"code":2977,"language":50},[189],"aws_devops_agent__cancel_release_readiness_review(task_id=TASK_ID)\n",[2979],{"type":44,"tag":69,"props":2980,"children":2981},{"__ignoreMap":194},[2982],{"type":50,"value":2977},{"type":44,"tag":166,"props":2984,"children":2986},{"id":2985},"error-handling",[2987],{"type":50,"value":2988},"Error handling",{"type":44,"tag":966,"props":2990,"children":2991},{},[2992,3017,3036,3056],{"type":44,"tag":110,"props":2993,"children":2994},{},[2995,2996,3001,3002,3007,3009,3015],{"type":50,"value":2468},{"type":44,"tag":69,"props":2997,"children":2999},{"className":2998},[],[3000],{"type":50,"value":2360},{"type":50,"value":2555},{"type":44,"tag":69,"props":3003,"children":3005},{"className":3004},[],[3006],{"type":50,"value":2374},{"type":50,"value":3008}," — stop and present the error. If the job failed quickly (within the first poll or two), call ",{"type":44,"tag":69,"props":3010,"children":3012},{"className":3011},[],[3013],{"type":50,"value":3014},"aws_devops_agent__list_associations()",{"type":50,"value":3016}," to check whether the target repository's hosting service (GitHub\u002FGitLab hostname) is associated with the agent space.",{"type":44,"tag":110,"props":3018,"children":3019},{},[3020,3022,3027,3029,3035],{"type":50,"value":3021},"If job does not reach ",{"type":44,"tag":69,"props":3023,"children":3025},{"className":3024},[],[3026],{"type":50,"value":2345},{"type":50,"value":3028}," within 5 minutes — cancel with ",{"type":44,"tag":69,"props":3030,"children":3032},{"className":3031},[],[3033],{"type":50,"value":3034},"cancel_release_readiness_review",{"type":50,"value":2578},{"type":44,"tag":110,"props":3037,"children":3038},{},[3039,3041,3047,3048,3054],{"type":50,"value":3040},"If throttled (",{"type":44,"tag":69,"props":3042,"children":3044},{"className":3043},[],[3045],{"type":50,"value":3046},"429",{"type":50,"value":2555},{"type":44,"tag":69,"props":3049,"children":3051},{"className":3050},[],[3052],{"type":50,"value":3053},"ThrottlingException",{"type":50,"value":3055},") — wait 30 seconds, retry up to 3 times.",{"type":44,"tag":110,"props":3057,"children":3058},{},[3059],{"type":50,"value":3060},"If the error does not match any known pattern above, present the raw error output to the user.",{"type":44,"tag":166,"props":3062,"children":3064},{"id":3063},"fallback-aws-mcp",[3065],{"type":50,"value":3066},"Fallback (aws-mcp)",{"type":44,"tag":57,"props":3068,"children":3069},{},[3070,3072,3078],{"type":50,"value":3071},"If the ",{"type":44,"tag":69,"props":3073,"children":3075},{"className":3074},[],[3076],{"type":50,"value":3077},"aws-devops-agent",{"type":50,"value":3079}," remote server is unavailable, use the AWS CLI directly:",{"type":44,"tag":57,"props":3081,"children":3082},{},[3083],{"type":50,"value":3084},"Tell the user: \"Remote server unavailable — using the aws-mcp server fallback.\"",{"type":44,"tag":202,"props":3086,"children":3088},{"id":3087},"_1-select-agent-space",[3089],{"type":50,"value":3090},"1. Select Agent Space",{"type":44,"tag":57,"props":3092,"children":3093},{},[3094],{"type":50,"value":3095},"List available agent spaces:",{"type":44,"tag":186,"props":3097,"children":3100},{"className":3098,"code":3099,"language":50},[189],"aws devops-agent list-agent-spaces --region us-east-1\n",[3101],{"type":44,"tag":69,"props":3102,"children":3103},{"__ignoreMap":194},[3104],{"type":50,"value":3099},{"type":44,"tag":57,"props":3106,"children":3107},{},[3108,3110,3115,3117,3123,3125,3131],{"type":50,"value":3109},"Present the list to the user and ask which agent space they'd like to use. ",{"type":44,"tag":61,"props":3111,"children":3112},{},[3113],{"type":50,"value":3114},"Do NOT proceed until the user has selected one.",{"type":50,"value":3116}," Use the selected ",{"type":44,"tag":69,"props":3118,"children":3120},{"className":3119},[],[3121],{"type":50,"value":3122},"agentSpaceId",{"type":50,"value":3124}," as ",{"type":44,"tag":69,"props":3126,"children":3128},{"className":3127},[],[3129],{"type":50,"value":3130},"SPACE_ID",{"type":50,"value":3132}," in all subsequent calls.",{"type":44,"tag":202,"props":3134,"children":3136},{"id":3135},"_2-start-the-job",[3137],{"type":50,"value":3138},"2. Start the Job",{"type":44,"tag":186,"props":3140,"children":3143},{"className":3141,"code":3142,"language":50},[189],"aws devops-agent create-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-type RELEASE_READINESS_REVIEW \\\n  --title 'Release Readiness Review' \\\n  --priority MEDIUM \\\n  --description '{\\\"agentInput\\\": {\\\"content\\\": \u003CCONTENT_JSON>, \\\"metadata\\\": {\\\"skipAutomatedTesting\\\": true}}}' \\\n  --region us-east-1\n",[3144],{"type":44,"tag":69,"props":3145,"children":3146},{"__ignoreMap":194},[3147],{"type":50,"value":3142},{"type":44,"tag":53,"props":3149,"children":3150},{},[3151],{"type":44,"tag":57,"props":3152,"children":3153},{},[3154,3159,3161,3166,3168,3174,3176,3182],{"type":44,"tag":61,"props":3155,"children":3156},{},[3157],{"type":50,"value":3158},"CRITICAL:",{"type":50,"value":3160}," The ",{"type":44,"tag":69,"props":3162,"children":3164},{"className":3163},[],[3165],{"type":50,"value":377},{"type":50,"value":3167}," value must be a single object — NOT wrapped in a list. Correct: ",{"type":44,"tag":69,"props":3169,"children":3171},{"className":3170},[],[3172],{"type":50,"value":3173},"\"content\": {\"githubPrContent\": [...]}",{"type":50,"value":3175},". Incorrect: ",{"type":44,"tag":69,"props":3177,"children":3179},{"className":3178},[],[3180],{"type":50,"value":3181},"\"content\": [{\"githubPrContent\": [...]}]",{"type":50,"value":3183},". Wrapping in a list causes a Pydantic validation failure on the backend. The values in the content should all be of string format e.g. the PR number should be a string.",{"type":44,"tag":57,"props":3185,"children":3186},{},[3187,3189,3195,3197,3202],{"type":50,"value":3188},"Default is ",{"type":44,"tag":69,"props":3190,"children":3192},{"className":3191},[],[3193],{"type":50,"value":3194},"\"skipAutomatedTesting\": true",{"type":50,"value":3196}," (static only). Set to ",{"type":44,"tag":69,"props":3198,"children":3200},{"className":3199},[],[3201],{"type":50,"value":2184},{"type":50,"value":3203}," only if user explicitly opted into automated testing.",{"type":44,"tag":202,"props":3205,"children":3207},{"id":3206},"_3-poll-for-status",[3208],{"type":50,"value":3209},"3. Poll for Status",{"type":44,"tag":186,"props":3211,"children":3214},{"className":3212,"code":3213,"language":50},[189],"aws devops-agent get-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-id TASK_ID \\\n  --region us-east-1\n",[3215],{"type":44,"tag":69,"props":3216,"children":3217},{"__ignoreMap":194},[3218],{"type":50,"value":3213},{"type":44,"tag":57,"props":3220,"children":3221},{},[3222,3224,3228,3229,3234,3235,3240,3241,3246,3247,3252,3253,3258],{"type":50,"value":3223},"Poll every ",{"type":44,"tag":61,"props":3225,"children":3226},{},[3227],{"type":50,"value":2337},{"type":50,"value":2339},{"type":44,"tag":69,"props":3230,"children":3232},{"className":3231},[],[3233],{"type":50,"value":2345},{"type":50,"value":2347},{"type":44,"tag":69,"props":3236,"children":3238},{"className":3237},[],[3239],{"type":50,"value":2353},{"type":50,"value":1878},{"type":44,"tag":69,"props":3242,"children":3244},{"className":3243},[],[3245],{"type":50,"value":2360},{"type":50,"value":1878},{"type":44,"tag":69,"props":3248,"children":3250},{"className":3249},[],[3251],{"type":50,"value":2367},{"type":50,"value":1878},{"type":44,"tag":69,"props":3254,"children":3256},{"className":3255},[],[3257],{"type":50,"value":2374},{"type":50,"value":2376},{"type":44,"tag":202,"props":3260,"children":3262},{"id":3261},"_4-monitor-until-completion",[3263],{"type":50,"value":3264},"4. Monitor Until Completion",{"type":44,"tag":57,"props":3266,"children":3267},{},[3268,3269,3274],{"type":50,"value":2387},{"type":44,"tag":69,"props":3270,"children":3272},{"className":3271},[],[3273],{"type":50,"value":2345},{"type":50,"value":2394},{"type":44,"tag":186,"props":3276,"children":3279},{"className":3277,"code":3278,"language":50},[189],"aws devops-agent list-journal-records \\\n  --agent-space-id SPACE_ID \\\n  --execution-id EXEC_ID \\\n  --order ASC \\\n  --region us-east-1\n",[3280],{"type":44,"tag":69,"props":3281,"children":3282},{"__ignoreMap":194},[3283],{"type":50,"value":3278},{"type":44,"tag":966,"props":3285,"children":3286},{},[3287,3291,3301,3309],{"type":44,"tag":110,"props":3288,"children":3289},{},[3290],{"type":50,"value":2414},{"type":44,"tag":110,"props":3292,"children":3293},{},[3294,3295,3300],{"type":50,"value":2419},{"type":44,"tag":69,"props":3296,"children":3298},{"className":3297},[],[3299],{"type":50,"value":2425},{"type":50,"value":2427},{"type":44,"tag":110,"props":3302,"children":3303},{},[3304,3308],{"type":44,"tag":61,"props":3305,"children":3306},{},[3307],{"type":50,"value":2435},{"type":50,"value":2437},{"type":44,"tag":110,"props":3310,"children":3311},{},[3312,3313,3319],{"type":50,"value":2442},{"type":44,"tag":69,"props":3314,"children":3316},{"className":3315},[],[3317],{"type":50,"value":3318},"get-backlog-task",{"type":50,"value":2449},{"type":44,"tag":202,"props":3321,"children":3323},{"id":3322},"_5-present-results",[3324],{"type":50,"value":3325},"5. Present Results",{"type":44,"tag":57,"props":3327,"children":3328},{},[3329],{"type":50,"value":2460},{"type":44,"tag":106,"props":3331,"children":3332},{},[3333,3391,3407],{"type":44,"tag":110,"props":3334,"children":3335},{},[3336,3337,3342,3343],{"type":50,"value":2468},{"type":44,"tag":69,"props":3338,"children":3340},{"className":3339},[],[3341],{"type":50,"value":2353},{"type":50,"value":2475},{"type":44,"tag":966,"props":3344,"children":3345},{},[3346,3360,3372,3376],{"type":44,"tag":110,"props":3347,"children":3348},{},[3349,3351],{"type":50,"value":3350},"Retrieve the report:",{"type":44,"tag":186,"props":3352,"children":3355},{"className":3353,"code":3354,"language":50},[189],"aws devops-agent list-journal-records \\\n  --agent-space-id SPACE_ID \\\n  --execution-id EXEC_ID \\\n  --record-type release_analysis_report \\\n  --order ASC \\\n  --region us-east-1\n",[3356],{"type":44,"tag":69,"props":3357,"children":3358},{"__ignoreMap":194},[3359],{"type":50,"value":3354},{"type":44,"tag":110,"props":3361,"children":3362},{},[3363,3364],{"type":50,"value":2495},{"type":44,"tag":186,"props":3365,"children":3367},{"className":3366,"code":2499,"language":50},[189],[3368],{"type":44,"tag":69,"props":3369,"children":3370},{"__ignoreMap":194},[3371],{"type":50,"value":2499},{"type":44,"tag":110,"props":3373,"children":3374},{},[3375],{"type":50,"value":2509},{"type":44,"tag":110,"props":3377,"children":3378},{},[3379,3383,3385,3390],{"type":44,"tag":61,"props":3380,"children":3381},{},[3382],{"type":50,"value":2517},{"type":50,"value":3384},": After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step. Follow the same auto-fix flow described in the Core workflow section above (locate repo, verify branch, generate fixes, push to ",{"type":44,"tag":69,"props":3386,"children":3388},{"className":3387},[],[3389],{"type":50,"value":2666},{"type":50,"value":2376},{"type":44,"tag":110,"props":3392,"children":3393},{},[3394,3395,3400,3401,3406],{"type":50,"value":2468},{"type":44,"tag":69,"props":3396,"children":3398},{"className":3397},[],[3399],{"type":50,"value":2360},{"type":50,"value":2555},{"type":44,"tag":69,"props":3402,"children":3404},{"className":3403},[],[3405],{"type":50,"value":2374},{"type":50,"value":2956},{"type":44,"tag":110,"props":3408,"children":3409},{},[3410,3411,3416],{"type":50,"value":2468},{"type":44,"tag":69,"props":3412,"children":3414},{"className":3413},[],[3415],{"type":50,"value":2367},{"type":50,"value":2967},{"type":44,"tag":3418,"props":3419,"children":3421},"h4",{"id":3420},"cancelling-fallback",[3422],{"type":50,"value":3423},"Cancelling (fallback)",{"type":44,"tag":186,"props":3425,"children":3428},{"className":3426,"code":3427,"language":50},[189],"aws devops-agent update-backlog-task \\\n  --agent-space-id SPACE_ID \\\n  --task-id TASK_ID \\\n  --task-status CANCELED \\\n  --region us-east-1\n",[3429],{"type":44,"tag":69,"props":3430,"children":3431},{"__ignoreMap":194},[3432],{"type":50,"value":3427},{"type":44,"tag":3434,"props":3435,"children":3436},"style",{},[3437],{"type":50,"value":3438},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3440,"total":3542},[3441,3458,3473,3488,3501,3511,3526],{"slug":3442,"name":3442,"fn":3443,"description":3444,"org":3445,"tags":3446,"stars":27,"repoUrl":28,"updatedAt":3457},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3447,3450,3453,3454],{"name":3448,"slug":3449,"type":15},"Agents","agents",{"name":3451,"slug":3452,"type":15},"Automation","automation",{"name":20,"slug":8,"type":15},{"name":3455,"slug":3456,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":3459,"name":3459,"fn":3460,"description":3461,"org":3462,"tags":3463,"stars":27,"repoUrl":28,"updatedAt":3472},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3464,3465,3468,3471],{"name":3448,"slug":3449,"type":15},{"name":3466,"slug":3467,"type":15},"API Development","api-development",{"name":3469,"slug":3470,"type":15},"Authentication","authentication",{"name":20,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":3474,"name":3474,"fn":3475,"description":3476,"org":3477,"tags":3478,"stars":27,"repoUrl":28,"updatedAt":3487},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3479,3480,3481,3484],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3482,"slug":3483,"type":15},"Debugging","debugging",{"name":3485,"slug":3486,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":3489,"name":3489,"fn":3490,"description":3491,"org":3492,"tags":3493,"stars":27,"repoUrl":28,"updatedAt":3500},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3494,3495,3496,3497],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":3498,"slug":3499,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":3502,"name":3502,"fn":3503,"description":3504,"org":3505,"tags":3506,"stars":27,"repoUrl":28,"updatedAt":3510},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3507,3508,3509],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3498,"slug":3499,"type":15},"2026-07-12T08:42:51.963247",{"slug":3512,"name":3512,"fn":3513,"description":3514,"org":3515,"tags":3516,"stars":27,"repoUrl":28,"updatedAt":3525},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3517,3518,3519,3522],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3520,"slug":3521,"type":15},"Best Practices","best-practices",{"name":3523,"slug":3524,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":3527,"name":3527,"fn":3528,"description":3529,"org":3530,"tags":3531,"stars":27,"repoUrl":28,"updatedAt":3541},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3532,3533,3534,3537,3538],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3535,"slug":3536,"type":15},"Evals","evals",{"name":3485,"slug":3486,"type":15},{"name":3539,"slug":3540,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",114,{"items":3544,"total":3661},[3545,3552,3559,3566,3573,3579,3586,3594,3611,3624,3636,3651],{"slug":3442,"name":3442,"fn":3443,"description":3444,"org":3546,"tags":3547,"stars":27,"repoUrl":28,"updatedAt":3457},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3548,3549,3550,3551],{"name":3448,"slug":3449,"type":15},{"name":3451,"slug":3452,"type":15},{"name":20,"slug":8,"type":15},{"name":3455,"slug":3456,"type":15},{"slug":3459,"name":3459,"fn":3460,"description":3461,"org":3553,"tags":3554,"stars":27,"repoUrl":28,"updatedAt":3472},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3555,3556,3557,3558],{"name":3448,"slug":3449,"type":15},{"name":3466,"slug":3467,"type":15},{"name":3469,"slug":3470,"type":15},{"name":20,"slug":8,"type":15},{"slug":3474,"name":3474,"fn":3475,"description":3476,"org":3560,"tags":3561,"stars":27,"repoUrl":28,"updatedAt":3487},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3562,3563,3564,3565],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3482,"slug":3483,"type":15},{"name":3485,"slug":3486,"type":15},{"slug":3489,"name":3489,"fn":3490,"description":3491,"org":3567,"tags":3568,"stars":27,"repoUrl":28,"updatedAt":3500},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3569,3570,3571,3572],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":3498,"slug":3499,"type":15},{"slug":3502,"name":3502,"fn":3503,"description":3504,"org":3574,"tags":3575,"stars":27,"repoUrl":28,"updatedAt":3510},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3576,3577,3578],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3498,"slug":3499,"type":15},{"slug":3512,"name":3512,"fn":3513,"description":3514,"org":3580,"tags":3581,"stars":27,"repoUrl":28,"updatedAt":3525},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3582,3583,3584,3585],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3520,"slug":3521,"type":15},{"name":3523,"slug":3524,"type":15},{"slug":3527,"name":3527,"fn":3528,"description":3529,"org":3587,"tags":3588,"stars":27,"repoUrl":28,"updatedAt":3541},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3589,3590,3591,3592,3593],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3535,"slug":3536,"type":15},{"name":3485,"slug":3486,"type":15},{"name":3539,"slug":3540,"type":15},{"slug":3595,"name":3595,"fn":3596,"description":3597,"org":3598,"tags":3599,"stars":27,"repoUrl":28,"updatedAt":3610},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3600,3601,3604,3607],{"name":20,"slug":8,"type":15},{"name":3602,"slug":3603,"type":15},"Database","database",{"name":3605,"slug":3606,"type":15},"MySQL","mysql",{"name":3608,"slug":3609,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":3612,"name":3612,"fn":3613,"description":3614,"org":3615,"tags":3616,"stars":27,"repoUrl":28,"updatedAt":3623},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3617,3618,3619,3622],{"name":20,"slug":8,"type":15},{"name":3602,"slug":3603,"type":15},{"name":3620,"slug":3621,"type":15},"PostgreSQL","postgresql",{"name":3608,"slug":3609,"type":15},"2026-07-16T06:00:34.789624",{"slug":3625,"name":3625,"fn":3626,"description":3627,"org":3628,"tags":3629,"stars":27,"repoUrl":28,"updatedAt":3635},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3630,3631,3632],{"name":3448,"slug":3449,"type":15},{"name":20,"slug":8,"type":15},{"name":3633,"slug":3634,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":3637,"name":3637,"fn":3638,"description":3639,"org":3640,"tags":3641,"stars":27,"repoUrl":28,"updatedAt":3650},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3642,3643,3644,3647],{"name":20,"slug":8,"type":15},{"name":3602,"slug":3603,"type":15},{"name":3645,"slug":3646,"type":15},"MongoDB","mongodb",{"name":3648,"slug":3649,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":3652,"name":3652,"fn":3653,"description":3654,"org":3655,"tags":3656,"stars":27,"repoUrl":28,"updatedAt":3660},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3657,3658,3659],{"name":20,"slug":8,"type":15},{"name":3602,"slug":3603,"type":15},{"name":3648,"slug":3649,"type":15},"2026-07-16T06:00:37.690386",115]