Skip to content

docs: kiro-cli X-Amz-Target evidence and kiro-cps route - #14

Merged
chaodu-agent merged 1 commit into
mainfrom
docs/kiro-cli-xamz-target-and-cps-host
Nov 17, 2026
Merged

chaodu-agent merged 1 commit into
mainfrom
docs/kiro-cli-xamz-target-and-cps-host

Conversation

@chaodu-agent

Copy link
Copy Markdown
Contributor

Ports two findings from the closed phase1-k8s branch (PR #10) onto main.

C: X-Amz-Target evidence. New docs/evidence/xamz-target.md: kiro-cli 3.3.0 sends exactly one X-Amz-Target per call; the model call is AmazonCodeWhispererStreamingService.GenerateAssistantResponse. Captured against a local listener with a surrogate key, 0 real requests. The file lists what is not verified. The open condition in docs/design/phase1.md is ticked, and docs/recipes/kiro-cli.md notes other targets on cps and codewhisperer. No shipped policy uses aws_targets for them; the cps grant has none.

D: kiro-cps route. deploy/k8s/identity-configmap.yaml gets route kiro-cps (host management.us-east-1.kiro.dev, pass_headers = ["tokentype"] as krs), the credential's route list, and a grant (POST, /). Host list updated in the recipe.

Unmeasured: the host was observed by DNS/SNI only (CONNECT logging, kiro-cli 3.3.0, no real request). tokentype need and the error shape are not measured; both are copied from krs and flagged as assumptions in the recipe and the configmap comment. Other-region management.* hosts are not covered.

Checks: deploy/k8s/validate_manifests.py --root deploy/k8s all pass; test_validate_manifests.py 10 ok (it does not count routes, no change needed); the shipped identity.toml loads through ap_core::config::load (checked on macmini with a throwaway test, not committed). No Rust changes, so the cargo CI steps are unaffected.

Ran: validate_manifests.py --root deploy/k8s (all pass), test_validate_manifests.py (10 ok),
ap-core loader parse of the shipped identity.toml on macmini (ok, throwaway test not committed).
No Rust code changed.
@chaodu-agent
chaodu-agent merged commit 2926018 into main Nov 17, 2026
1 of 2 checks passed
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.

1 participant