Skip to content

release: promote dev to main - #278

Open
Atom-oh wants to merge 152 commits into
mainfrom
dev
Open

Atom-oh wants to merge 152 commits into
mainfrom
dev

Conversation

@Atom-oh

@Atom-oh Atom-oh commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Promote dev to main for v0.11.0

This release follows v0.10.1. The English and Korean 0.11.0 sections of CHANGELOG.md cover the release, including site flow and service topology, multi-account discovery, diagnosis reports and exports, and AgentCore and PrivateLink changes.

Release preparation

Release and deployment

Merge this PR with a merge commit to preserve the ancestry of both standing branches. Verify the merge on main, its package and changelog versions, then publish the annotated v0.11.0 tag on that merge. Production rollout is a separate workflow dispatch with production environment approval. The release includes migrations and Terraform changes. Review the production saved plan before applying it.

Atom-oh and others added 30 commits September 22, 2026 18:15
* fix: resolve actionable CodeQL security alerts

* test: load extracted HCL encoder in configurator regression

* fix: preserve canonical AWS DNS classification and address review findings

* fix: normalize DNS spelling before AWS suffix classification
* docs: publish user guide to GitHub Pages on aws-samples/sample-awsops

- docs-site now targets this repo's Pages site (aws-samples.github.io/
  sample-awsops) instead of the previous personal-domain deployment:
  url/baseUrl, organizationName/projectName, robots.txt sitemap, and
  runbook cross-references in alerts.md (4 locales).
- Drop the personal Google Analytics tracker from the docs preset.
- Replace the "대시보드" navbar/footer/homepage links (personal domain)
  and the showcase/brochure GitHub links (private Atom-oh/awsops) with
  links to the public repo, across all 4 locales.
- deploy-guide.yml: switch from dispatch-only on a nonexistent
  self-hosted runner to ubuntu-latest, triggered on pushes to dev
  touching docs-site/** (plus manual dispatch), matching the
  github-pages environment's dev-only deployment-branch policy.

Verified: docs-site build succeeds for all 4 locales with no broken-link
warnings; sitemap.xml resolves to the new Pages URL and still contains
overview/why-awsops; grep of the build output for the old domain/org/GA
ID returns no matches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* ci: scope Pages write and OIDC token to the guide deploy job

The build job runs npm ci and third-party build code on every dev push;
it now keeps contents:read only, and pages:write/id-token:write are
granted solely to the deploy job that calls actions/deploy-pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: address guide Pages review findings

- check-showcase.mjs asserted the removed personal demo URL; it now
  asserts the public repo link and rejects personal-domain/private-repo
  links.
- Guide build checkout sets persist-credentials: false (repo convention
  for jobs running npm ci / third-party build code).
- Deploy job runs only on refs/heads/dev, mirroring the github-pages
  environment branch policy in code; document the 8 GB heap setting.
- Narrow the CHANGELOG claim to the links this change actually retargets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
The provisioner created every section gateway with authorizerType NONE,
so anyone who knew a gateway URL could invoke the read-only MCP tools.
All callers already SigV4-sign with the Runtime role, which holds
bedrock-agentcore:InvokeGateway, so create gateways with AWS_IAM and
treat a deployed NONE authorizer as drift that is switched in place.
Other deployed auth/protocol settings are preserved; a failed switch
records ERR so the run fails instead of leaving the gateway open.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…date (#145)

UpdateGateway rejects authorizer-type changes ("Authorizer type cannot be
updated for an existing gateway"), so the in-place NONE -> AWS_IAM switch
failed with ValidationException on every existing gateway. Record a fixed
ERR code (gateway_auth_replacement_required) without sending the update,
keep converging role/description drift, and document the operator
replacement procedure. The provisioner still never deletes gateways.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat: list topology sub-pages in the sidebar

The infra layout graph and service map were reachable only from small
buttons inside /topology, so users could not find them from the
sidebar. The Topology entry now expands to Request flow, Infra layout
and Service map, auto-opens on any /topology path, and keeps the header
active on sub-pages without a menu entry (per-resource relationship
graph). Labels are localized in all four languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: title topology sub-pages on mobile and restrict sidebar nesting

Map /topology/infra and /topology/services to their own mobile top-bar
titles instead of the generic Topology label, and type FIXED children as
one level so the renderer cannot silently drop a nested entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: keep the topology header active when its panel is collapsed

Collapsing the Topology group on a child page unmounted the active
child and left no sidebar item with aria-current. The header is now
active whenever the panel is collapsed on a topology path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#147)

* docs: correct route counts and document network-path and SG rule APIs

README, CLAUDE.md and web/app/CLAUDE.md quoted 99 API routes and 110
components; the tree has 104 routes and 118 components. The API
reference was missing the network-path check routes and the SG rule
inventory, refresh and flow-source routes. README also still described
v1 as being decommissioned.

A new vitest derives the counts from the tree and checks every route
has an API reference row, so the numbers can't drift again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: keep root CLAUDE.md sync-managed and tighten the stats test

The route count in root CLAUDE.md sits inside the /project-init
AUTO-MANAGED block, so it is left to that sync and no longer asserted.
The stats test now matches each quoted number exactly, checks the API
reference in both directions and resolves paths with fileURLToPath.
README scopes the v1 wording to the decision and code removal, since
infrastructure teardown is still tracked in the decommission runbook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(agent): give the chat model runtime scope, time, and honest tool-less fallback

- Add a Runtime Context block (account scope, region, evidence limits, RCA
  evidence rules) to every prompt branch; put the per-request clock on the
  user turn so the cached system prompt stays stable.
- Mark the tool-less fallback: override the ALWAYS-call-tools rules and
  stream a visible notice that no live data was used.
- Bound history (40 messages, 12k chars each) and open it with a user turn.
- Mark truncated extraContext instead of cutting silently.
- Fix the section roster (9 agents, including observability).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): disclose list truncation and inventory account scope

- Add cross_account.cap_list and report returned/total/truncated (plus
  more_pages when the AWS API paginated) on capped RDS, ECS, EKS, MSK,
  DynamoDB, ElastiCache, CloudWatch, network and cost list results, with
  the region they read.
- inventory_read stays host-scoped but now says so in every response; a
  request for another account is marked requested_account_served=false
  with a warning instead of silently returning host data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): surface account fallback and bound outgoing history

- Name an unregistered, disabled, or unverifiable requested account in the
  answer (and stored thread) instead of silently using the host account.
- Send only the newest turns that fit 40 messages / 300k chars so long
  threads stop failing with a generic error; show a specific 413 message.
- CHANGELOG: AI chat grounding entry (English and Korean).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): budget outgoing history in UTF-8 bytes, not characters

The 512,000-byte body cap is in bytes; a 300k-character history of Korean
text (3 bytes/char) could still exceed it and 413. Measure each message's
JSON-encoded UTF-8 size against a 300KB budget, leaving room for a max-size
prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): mark TGW route and ENI search results that have more pages

SearchTransitGatewayRoutes is not paginated and signals a capped result with
AdditionalRoutesAvailable; DescribeNetworkInterfaces returns NextToken. Both
now set more_pages/truncated, and get_all_tgw_routes reports per-table cap
metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): address review — document scope, keep fallback ladder, explain more_pages

- graph-read-contract: document the inventory reader's scope block and that
  the scope warning leads warning.
- Tool-less fallback notice rides on the first model delta, so a fallback
  model failure still leaves the BFF's Bedrock-direct ladder able to recover.
- Runtime Context: more_pages=true means total is a lower bound.
- Stream fallback/account notices before the unavailable-pin return, so the
  stored thread matches what was streamed.
- inventory_read echoes only a 12-digit requested account id.
- Localize the 413 message; fix the history truncation marker wording; treat
  a non-string last message as no input; scope the CHANGELOG claim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): report region on every ECS/ECR list result

Only list_clusters carried the region it read; list_services, list_tasks,
task-definition families and ECR repositories now do too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): disclose TGW route-table/peering pages; public host accessor

- get_all_tgw_routes reports routeTablesMorePages; list_tgw_peerings carries
  cap_list metadata including the attachments NextToken.
- inventory_read uses cross_account.host_account_id() instead of reaching
  into the private helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): close remaining undisclosed caps; certified empty is empty

- CloudWatch alarm history, log groups (API-side limit + nextToken), log
  events and Insights results; MSK configurations and nodes; VPC endpoints;
  ECS service events; cost comparison/drivers/dimension/tag values now carry
  cap metadata (a *Meta block where the key already holds data).
- Runtime Context: a list is complete only when the tool says truncated=false;
  a list without that metadata is not called complete; a successful
  truncated=false empty result is a real empty, while errors and stale
  freshness stay unknown.
- CHANGELOG scoped to the instrumented tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): only certify complete results the API actually completed

- Cost comparison and driver aggregates follow NextPageToken, so totals,
  top drivers and their truncated=false are computed over every page.
- get_active_alarms requests composite alarms too (AlarmTypes), so a
  composite-only incident is not certified as no active alarms.
- Logs Insights results are marked truncated/more_pages unless status is
  Complete.
- CHANGELOG names the CloudWatch tools actually instrumented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(agent-tools): top-level truncated on get_all_tgw_routes

The response is complete only when the route-table list and every table are;
expose that as the standard truncated field the Runtime Context rule reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): bound encoded requests and disclose incomplete ECS reads

* fix(agent-tools): bound Cost Explorer paging; unknown is not empty; fair alarm cap

- Cost comparison/driver reads stop at 5 pages or 40 s (the Lambda times out
  at 60 s) or on a token that does not advance, and say so (costPagesCut,
  more_pages, note) instead of timing out.
- A serverless-cache listing that fails is reported unknown, not empty.
- get_active_alarms keeps up to 10 composite alarms before metric alarms and
  reports returned/total for what was actually shown.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(agent-tools): name incomplete-result causes instead of reusing more_pages

Review follow-ups on the completeness contract:
- Logs Insights results that are not Complete carry complete=false and
  query_status (query_failed for Failed/Cancelled/Timeout) instead of
  more_pages, which promised a fetchable remainder that does not exist.
- SearchTransitGatewayRoutes has no pagination token: AdditionalRoutesAvailable
  now sets api_result_capped, and the Runtime Context explains both flags.
- get_metric_data keeps the latest 30 points with returned/total/truncated
  and kept=latest instead of trimming silently.
- DynamoDB list_tables count equals returned, like every other capped list.
- Active alarms: composites take up to all 20 slots before metric alarms
  backfill; the CHANGELOG claim is scoped to one API page.
- Cost Explorer paging reports why it stopped (costPagesCutReason:
  page_cap | time_budget | repeated_token) instead of always blaming the cap.
- Document the contract in docs/reference/05-agentcore.md with a link to
  the inventory scope block; move the RDS truncation tests above the
  __main__ guard; clarify two comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: fit #152 inside the AI review input limit

The PR diff reached 132,211 bytes, over the review gate's 131,072-byte
(128 KiB) input limit, so no model was called and no verdict was possible.
No behavior change: condense the CHANGELOG bullets to the user-visible
behavior, merge rows of the completeness-contract table, and shorten
comments that restated what the code shows. Diff is now 128,179 bytes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The CI identity is not authorized for codex web search. When codex tries it
the stream ends with "Access denied: web search is not authorized for this
identity", no report is written, and the panel is BLOCKED for incomplete
coverage — on PR #154 twice in a row (run 38150704998, both attempts), and
roughly half of recent runs on #152/#153. The reviewer only needs the diff
and the checkout.

run-panel.sh probes `codex -c web_search=disabled features list` (an
unknown value fails config load) and, when accepted, passes the same
override to `codex exec`; an older codex without the setting keeps the
previous invocation unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…unts (#154)

* fix(chat): keep follow-up context across sections, regions and accounts

- Regex-only routing (hybrid off, the default) sent every keyword-less
  follow-up to the ops catch-all, dropping the domain prompt and tools the
  previous answer used. The client now sends the last answering section;
  the BFF accepts it only for an active, gateway-backed built-in section and
  pickGateway uses it after pins and keywords, before the ops default.
- The agent never learned which regions an account has enabled, so
  account-wide questions were answered from the gateway's default region.
  The BFF passes the target account's inventory scan scope (['*'] for the
  host / all-regions accounts) and agent.py adds a Region Scope block that
  says to cover each needed region, list what was checked, and treat an
  unqueried region as unknown.
- History carried no account, so after an account switch earlier answers
  read as facts about the current target. The route echoes the answered-for
  account ('host' | 12-digit id) on the meta frame and in stored exchange
  meta; the client sends it back per message; sanitizeHistory rebuilds
  entries from known fields only; agent.py labels user turns only when the
  thread spans accounts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): address review — dark path, honest region cap, changelog placement

MAJOR:
- anthropic_loop (flag-gated dark path) returned before the new code ran,
  so it got neither region scope nor account labels. Both paths now use
  agent.scoped_conversation() and build_region_scope().
- The 30-region cap (BFF and agent) made the prompt call genuinely enabled
  regions "not inventoried". BFF cap raised to 100; the agent lists up to
  64 and, past that, says how many enabled regions are not listed instead of
  asserting anything about them.
- The Korean CHANGELOG bullet sat under released 0.10.1; moved to the
  Korean Unreleased 수정 list.

MINOR:
- Hybrid routing: classifyRoute uses the validated previous section when
  neither a keyword nor the classifier picks a route.
- HOST_ACCOUNT_ID unset: a non-id current account ('self') is labelled
  'host', matching the BFF.
- A user-typed "[Account for this turn:" is neutralized before labelling.
- All-regions wording no longer asserts every tool defaults to the runtime
  region; the model checks the region each result reports.
- CHANGELOG notes the hybrid classifier still re-routes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): neutralize runtime markers everywhere; log missing region scope

Review MINORs on the passed head:
- User-typed "[Target Account:" / "[Account for this turn:" copies are now
  neutralized on every user turn before labelling, not only in threads that
  span accounts, so no prompt text can pose as a runtime-added marker.
- chatRegionScope logs a structured warning when the scope read fails
  (it still degrades to the default-region wording, never throws).
- Precedence comment in the chat route names the previous-section step.
- CHANGELOG region sentence is scoped to AgentCore agent answers and to
  when the scope can be read (EN/KO).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(chat): region scope states the AWSops selection, never AWS enablement

Review MAJOR (both panels): the Region Scope block said "every region is
enabled" for ['*'] — which listScanScope returns for the host
unconditionally — and "this account's enabled regions are …" for an
operator's account_regions selection. Both describe what AWSops is
configured to inventory, not what AWS has enabled. The block and the
CHANGELOG (EN/KO) now say exactly that, and an unlisted region is "not
inventoried by AWSops, may still be enabled in AWS", never disabled.

MINOR: runtime markers are neutralized on assistant history turns too;
previous-section continuity gets its own routing method ('previous') so
ADR-038 telemetry stays separable; chatRegionScope reads only the requested
account; CHANGELOG says labels apply where recorded; 05-agentcore.md
documents the three chat-context mechanisms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… evidence (#153)

* fix(diagnosis): ground AI Diagnosis RCA in run context and collection status

- Each section gets _run (time, scope, region, tier) and _collection
  (ok/empty/degraded/not_collected, window, notes) and is told that a
  non-ok source is unavailable, not healthy.
- Critical/Warning findings must carry target, evidence field=value,
  confirmed/suspected cause, a read-only verification command, operator
  remediation steps and confidence (still advice only, ADR-005).
- Keep Bedrock stop_reason; mark max_tokens truncation and count failed or
  truncated sections in summary.render_degraded so the report is partial.
- Security Hub top critical/high titles and control ids (no resource ids),
  X-Ray target service names, inventory unsampled_types.
- Fix propose() calling _bedrock_render with 2 of 4 arguments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): fit the RCA table within the section output budget

A live Sonnet render of security_posture with the new rules hit max_tokens
exactly where the root-cause rows begin. Collect Critical/Warning findings in
one compact '원인 분석 및 조치' table, stop the model from re-tabulating
collection status, and raise budgets (2500/2500/3200) with a 120s read
timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): address review — keep evaluator inert, no mutating remediation

- X-Ray target names move to display-only to_name; the evaluator's to stays
  unresolved, with a collector-to-verdict regression test (all unknown).
- _RULES: remediation is a reviewed proposal; no execution and no mutating
  CLI output (resolves the remediation vs no-change contradiction).
- Security Hub top findings come from a CRITICAL/HIGH-filtered query, grouped
  by title+severity+control; product findings are labelled by product/type
  because their titles embed resource names; failures keep the rollup.
- not_collected sources keep their window; inventory names types whose sample
  read failed; windows describe X-Ray first-page, inventory sync/region, cost.
- propose() maps the sonnet|opus alias; handler test stubs exports.
- Document the section evidence/RCA contract, render_degraded, and budgets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): disclose the Security Hub group cap; backstop mutating commands

- posture: top_groups_total / more_top_groups when groups exceed 15; window
  states the cap and that severity counts are a sampled distribution.
- render_section flags a body that still contains a resource-changing AWS
  CLI command (start-query exempt) and counts it in render_degraded.
- inventory: partial_types for the cap-straddling type; zero-row detail reads
  are named in unsampled_types.
- One clock: the report header uses the same instant as the sections' _run.
- Collection status uses 'failed' (the UI reads 'degraded' in a body as a
  render failure); lockstep test for COLLECTION_WINDOWS vs section sources.
- Docs/CHANGELOG: group cap, console path, deterministic backstop, workers
  reference cross-link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): size section budgets from a live full-report run

A live mid-tier generate() against real samples-account collectors stopped
8 of 9 sections at 2500 tokens (the old 1500/2200 budgets were cutting them
silently before the marker existed). Budgets 6000/6000/7000 plus an 8000
floor for executive_summary, cost and recommendations, a 300 s read timeout
(invoke_model waits for the full answer; the job runs on Fargate, 3600 s),
a concision rule, and a wider mutating-verb guard (copy/send/tag/set/...)
after a remediation cell emitted copy-snapshot. Two consecutive live runs:
9/9 sections complete, render_degraded empty, no mutating command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): give the model the inventory sync window

collect_inventory adds synced_at (oldest/newest captured_at for the scope),
best-effort, so sections can state how stale the inventory evidence is
instead of hedging abstractly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): address review — empty inventory stays empty; size timeouts; parse CLI

- synced_at is None when the scope has no rows, so an empty inventory keeps
  its empty collection status instead of reading ok.
- Bedrock read timeout scales with each section's token budget (20 tok/s +
  60 s, env value as floor), one cached client per (region, timeout).
- The mutating-command backstop classifies each aws <service> <operation>
  by leading verb (hyphenated or bare: lambda invoke, sns publish,
  cloudformation deploy), the aws s3 transfer commands, batch writes, and an
  explicit read-only allowlist instead of a hyphen-anchored lookahead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): CLI backstop skips global options and ignores prose

aws --region x ec2 terminate-instances (or --profile=y --debug ...) used to be
read as service=--region and slip past the check. Parse tokens after aws,
skip global options (with or without values), and match lowercase aws only
so prose like "AWS Lambda update" is not flagged. Docs list the full
read-only allowlist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): disclose partial evidence and reject empty sections

* fix(diagnosis): bound the render phase; classify CLI commands by allowlist

- One wall-clock render budget (DIAGNOSIS_RENDER_BUDGET_S, 2400 s) inside
  the 3600 s Step Functions task. botocore retries are off (a legacy retry
  tripled each read timeout, per section, per wave of four); throttling and
  5xx are retried here, up to three attempts, within the budget. Once spent,
  remaining sections fail fast and the report completes as partial instead
  of the task being killed. The read-timeout floor is back to the base 90 s.
- The mutating-command backstop now passes only provably read-only
  operations (read verbs, four exceptions, aws s3 ls/presign) instead of
  denylisting verbs: route53 change-*, sns subscribe, ssm start-session and
  Athena start-query-execution (DDL/CTAS) are flagged; prose and non-operation
  text are ignored.
- Live mid-tier run against real collectors: 9/9 sections, no false
  positives across 15 model-written commands, 112 s.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): verify is not read-only; by-design caps do not force partial

- Remove verify from the read-only verbs: ses verify-email-identity and
  verify-domain-identity create identities and send mail. Added to the
  mutating corpus with kms verify.
- Split coverage gaps: caps the collectors always apply (100-finding Security
  Hub page, 24 KB inventory sample, datasource payload cap) are disclosed to
  the model and listed in summary.incomplete without changing the report
  status; failed collectors and unexpected gaps (a failed inventory type read,
  a failed Security Hub detail query) stay in summary.degraded and make the
  report partial. Inventory now reports read_failed_types separately.
- The datasource payload cap (_truncated) is recognized; the Security Hub
  top-findings docstring no longer overstates determinism.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): CLI backstop sees through line continuations and unknown options

A command written across lines (aws ec2 \ + newline + terminate-instances)
yielded a backslash token as the operation and passed unflagged; so did an
unknown value-taking global option (aws --cli-input-yaml f.yaml ec2
delete-volume). Join line continuations before parsing, drop the bare
backslash token, and take the first adjacent (service, operation)-shaped pair
after any options and their values. stop-query is no longer exempt (it
cancels a running query). A live full run parsed 54 model-written commands
with no false positive.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): generate and push are not read-only; align the s3 doc

- Remove the generate verb from the read-only verbs (apigateway
  generate-client-certificate creates one); the three harmless IAM report
  builders are allowlisted by name.
- Recognize codedeploy/emr/codeartifact single-word operations (push,
  register, deregister, install, uninstall, put, get, ssh, socks, login).
- aws s3 has exactly nine subcommands and the code covers all of them; the
  doc now says so and lists the flagged ones. A test pins the set.
- The posture window tells the model the severity counts and top findings are
  independent samples and a group count is a frequency, not a total.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): name enable/disable/register/deploy among forbidden command verbs

A live full run wrote aws ec2 enable-ebs-encryption-by-default into a
remediation column; the backstop flagged and degraded both sections as
designed, but the prompt's example list did not name enable. Two further live
runs: 9/9 sections, nothing flagged or degraded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): CLI guard skips options between service and operation; bound title input

aws s3 --region x rm (an option between the service and the operation) was
not parsed as a command. The scanner now takes the first service-shaped
token among the leading tokens and finds its operation after any options and
their values, known or not. A matrix test wraps 9 mutating and 6 read-only
examples in every position and form (options before/between/both, = form,
unknown options, line continuations, quoting): 4,860 mutating forms flagged,
3,240 read-only forms unflagged. The previous detector missed 1,656 of those.

make_title_and_tags now sends only the first 12,000 characters instead of the
whole report, which grew about 4x with the larger section budgets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): CLI guard counts positional tokens; state its limits

Three or more leading global options exhausted a fixed 6-token window, so
aws --profile p --region r --output json ec2 terminate-instances was not
parsed. The service is now the first of the leading POSITIONAL tokens (options
and their values never count), however many options precede it. The matrix
grows to 6,318 mutating and 4,212 read-only forms, with 3-4 option prefixes
and a 12-option case.

Docs and CHANGELOG now describe the check as a best-effort text heuristic and
list what it does not recognize (shell variables, command substitution,
wrappers such as xargs and bash -c, other tools); the prompt rule remains the
primary control.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): test is not read-only; anchor the render budget to the job start

- Drop the test verb: aws apigateway test-invoke-method runs the method and
  its backend. The pure evaluations (events test-event-pattern, logs
  test-metric-filter, route53 test-dns-answer) are allowlisted by name.
- The 3600 s Step Functions limit covers the whole task, so the render
  deadline is also capped at job start + DIAGNOSIS_TASK_BUDGET_S (3300 s)
  minus DIAGNOSIS_POST_RENDER_RESERVE_S (600 s). A slow collection phase now
  shortens rendering instead of pushing the task past the limit; remaining
  sections fail fast and the report completes partial.
- Guide: nine read-only exceptions, the anchoring, and that the fixed
  15-rows-per-type sample is stated in the window rather than listed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): retry connection resets in budget; disclose stripped secret fields

- Turning off botocore retries (to stop a read timeout tripling per section
  per wave) also dropped recovery from a transient connection failure, so
  one TCP reset degraded a section and the report. The in-budget loop now
  also retries EndpointConnectionError, ConnectionClosedError and
  ConnectTimeoutError, plus ModelNotReadyException; a read timeout is still
  not retried. Attempts stay bounded.
- _safe_data silently removes policy documents, inline and assume-role
  policies, user data, environment variables and password/secret/token/
  credential-like keys. The inventory data now carries redacted_keys, the
  window says their absence is not evidence, and the deep IAM section is
  told to report policy analysis as unavailable instead of concluding that a
  policy is missing or safe.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…compute section budget (#156)

* fix(diagnosis): give remediation a console-path alternative to change commands

Live full runs against real collectors still produced a change command in a
remediation cell about one run in four (aws ec2
enable-ebs-encryption-by-default), even with enable named among the
forbidden verbs. The rule now says what to write instead: a console path or
setting name and a sentence, with aws read commands only in the verification
column. Over four runs the detector flagged nothing.

The same runs truncated compute_infrastructure at 6000 tokens in two of four
runs; its floor is raised to 8000 like the other long sections. Five
further runs: every section complete, nothing degraded.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(diagnosis): make the change-command ban unconditional in the rule text

'코드·백틱·괄호 안 어디에도' could be read as scoping the ban to formatted
text. It now says the ban applies everywhere, formatted or in a sentence.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…stopped (#158)

Live check on dev after deploying #152/#154 (2026-10-12): a cost follow-up
root-cause answer (5 tool calls, Korean tables) stopped mid-sentence. The
runtime log shows Strands MaxTokensReachedException: BedrockModel had no
max_tokens, so ConverseStream used the model's default output limit. The
user then saw "연결이 중단되어 …" — a connection error that did not happen.

- BedrockModel (cache and no-cache paths) passes max_tokens=AGENT_MAX_TOKENS
  (default 16000, env-overridable; strands 1.41.0 BedrockConfig.max_tokens).
- A stream that fails after the first delta ends with a localized notice
  that distinguishes the output-length stop from a lost connection.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… permissions (#159)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
…w-ups (#157)

* fix(diagnosis): check the root-cause table; close remaining review MINORs

Follow-up to the AI Diagnosis root-cause grounding (#153) review MINORs,
ported onto dev's CLI scanner:

- RCA contract enforced, not only prompted: a section that tags a
  [Critical]/[Warning] finding but lacks a root-cause heading (localized
  per report language via sections.RCA_HEADINGS) followed by a real table
  (header, separator, >=1 data row) is marked `rca_missing`, gets a
  localized note and lands in render_degraded → report `partial`. Mentions
  of the scale ("[Critical]/[Warning] 발견 없음", markers in inline code)
  are not findings — a false positive found in a live Sonnet render on the
  samples account.
- CLI scanner compares the tokens after the lowercase `aws` lowercased, so
  `aws ec2 Delete-Volume` is flagged.
- Security Hub top-findings page is sorted by SeverityNormalized desc (the
  docstring claimed it; the call did not pass SortCriteria).
- top_findings_unavailable carries a bounded error code, not provider text.
- Coverage note names the gap behind `partial`.
- Retry backoff fails fast instead of sleeping past the render budget;
  section budgets are capped by DIAGNOSIS_MAX_OUTPUT_TOKENS (default 32000)
  at the call site; dead _BEDROCK_CONFIG, an unreachable branch and a stale
  retry comment removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): count a finding only in tag position; close review MINORs

Review MAJOR (both panels, opposite directions): the slash-adjacency regex
flagged negative prose ("No [Critical] or [Warning] findings were
identified") and exempted real "[Critical]/P1 …" tags. A marker is now a
finding only in TAG position — start of a line/list item (optional heading
or bold) or of a table cell; a marker paired with the next one
("[Critical]/[Warning] 발견 없음") and fenced/inline code are excluded.
Re-run live on 5 sections (samples account, real Sonnet): no false
positives, all with root-cause tables.

MINOR: any root-cause heading followed by a table satisfies the check and
the separator accepts `|:-:|`; the missing-table note carries no bracketed
marker (the UI section-severity heuristic keys on "[Critical]");
_call_timeout keeps a _MIN_CALL_S floor; Security Hub detail falls back to
the unsorted page on a rejected sort and tags top_findings_order;
coverage-note redaction mirror test; CHANGELOG case wording matches the
guide; web/lib/CLAUDE.md lockstep list names RCA_HEADINGS/_RCA_MISSING_MARK;
stale comment fragment fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(diagnosis): tag-position finding rule, sort tag, case wording, lockstep list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): fall back on the codes Security Hub actually returns

Review MAJOR: the unsorted fallback caught only ValidationException, which
GetFindings never declares; a rejected sort arrives as InvalidInputException
(or a client-side ParamValidationError), escaped to the broad handler, set
top_findings_unavailable and made the report partial — the exact outcome
the fallback promised to avoid. Both are now handled; other errors still
surface as a bounded code.

MINOR: a negation in tag position ("- [Critical] 발견 없음") is not a
finding; code fences are stripped on the table side too, so a fenced table
does not satisfy the contract; a failed inventory read is no longer also
labelled "sample size cap"; the section context rules tell the model the
severity-ordered detail page can omit HIGH groups; guide and CHANGELOG
wording follow (EN/KO).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): negation tags in every report language are not findings

Review MAJOR: the tag-position negation list had only ko/en phrases, so a
clean zh/ja section ("- [Critical] 未发现问题", "- [Warning] 該当なし") was
counted as a finding, marked rca_missing and made the report partial.
Negations are now a per-language table (_NEGATIONS, a SUPPORTED_LANGS
lockstep site like RCA_HEADINGS, enforced by a test against LANG_RULES and
listed in web/lib/CLAUDE.md); real zh/ja findings still require the table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(diagnosis): a negation exempts a tag only as the whole line or cell

Review MAJORs:
- The negation lookahead accepted any negation word as a PREFIX, so real
  findings were exempted from the RCA contract ("- [Warning] None of the
  S3 buckets have default encryption enabled", "- [Critical] Not found:
  CloudTrail trail …", "- [Critical] 未发现关键审计日志配置") and the report
  passed with no root-cause table. A negation now exempts a tag only when
  it is the entire remaining line or table cell; the regression test that
  pinned "not found in this window" as a non-finding is replaced.
  Negations are compiled per report language (+ English), so _NEGATIONS'
  per-language keys are real, not a flat union.
- COLLECTION_WINDOWS["posture"] still said the detail page was "unsorted",
  contradicting the new rule; it now describes the severity-sorted page
  (and the tagged unsorted fallback). The section rule is a
  negative-inference ban instead of pointing at another sampled count.

MINOR: ~~~ fences are code too; bold-paired scale markers
(**[Critical]**/**[Warning]**) are excluded; web/lib/CLAUDE.md lockstep
wording corrected; guide follows.

Live re-run (samples, real Sonnet, 5 sections): no false positives; all
have root-cause tables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Bumps [undici](https://github.com/nodejs/undici) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.30.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.14 to 3.4.16.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@3.4.14...3.4.16)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… view (#161)

* feat(agent): expose EC2 power state to query_inventory via the reader view

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* test(agent): hold the reader-view leak guards against the current view owner

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* docs(agent): name the current owner of sql_reader.inventory_resources; restore CHANGELOG clauses

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
#151)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.7.0...2.8.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 오준석(Junseok Oh)DevOps <52226147+Atom-oh@users.noreply.github.com>
Bumps [sharp](https://github.com/lovell/sharp) from 0.35.4 to 0.35.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.35.4...v0.35.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [next](https://github.com/vercel/next.js) from 15.5.25 to 15.5.27.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](vercel/next.js@v15.5.25...v15.5.27)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [proxy-addr](https://github.com/jshttp/proxy-addr) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/jshttp/proxy-addr/releases)
- [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md)
- [Commits](jshttp/proxy-addr@v2.0.7...v2.0.8)

---
updated-dependencies:
- dependency-name: proxy-addr
  dependency-version: 2.0.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.10.0 to 1.12.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.12.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [joi](https://github.com/hapijs/joi) from 17.13.6 to 17.13.8.
- [Commits](hapijs/joi@v17.13.6...v17.13.8)

---
updated-dependencies:
- dependency-name: joi
  dependency-version: 17.13.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump postcss-selector-parser and tailwindcss in /web

Removes [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser). It's no longer used after updating ancestor dependency [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss). These dependencies need to be updated together.


Removes `postcss-selector-parser`

Updates `tailwindcss` from 3.4.19 to 4.3.3
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version:
  dependency-type: indirect
- dependency-name: tailwindcss
  dependency-version: 4.3.3
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: address review feedback (iteration 1/5)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: atomoh <ojs0106@gmail.com>
Bumps [compression](https://github.com/expressjs/compression) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/expressjs/compression/releases)
- [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md)
- [Commits](expressjs/compression@v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: compression
  dependency-version: 1.8.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh deployed to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Active
@Atom-oh
Atom-oh requested a deployment to ci-review-auto November 26, 2026 01:29 — with GitHub Actions In progress
@Atom-oh
Atom-oh requested a deployment to ci-review-auto November 26, 2026 01:29 — with GitHub Actions Abandoned

This branch had an error being deployed

1 abandoned and 2 active (1 outdated) deployments
development — e5c774b9 Deployed Nov 26, 2026 by Atom-oh via Roll ECS service #182
ci-review-auto — e5c774b9 Deployed Nov 26, 2026 by Atom-oh via Claude review (58) #1133
github-pages — a8128726 Deployed Nov 25, 2026 by Atom-oh via deploy #38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants