Skip to content

Gotchas

Reese Hodge edited this page Nov 25, 2026 · 65 revisions

Gotchas

A curated index of traps — things that cost someone an hour and would cost the next person the same hour. Each line is a pointer; the full story lives on the page that owns the thing, so it is also found in context.

The standing rule: when you hit a non-obvious trap, write it on the relevant page and add a line here, in the same change. See Wiki-Conventions.

Wiki and documentation

Trap Full story on
Wiki edits are live — no branch, no pull request, no CI Guide-Wiki-Contributing
An empty wiki cannot be cloned; the first page must be made in the browser Guide-Wiki-Contributing
The wiki's default branch is master, not main Guide-Wiki-Contributing
Flat namespace — folders do not nest, filenames must be globally unique Wiki-Conventions
YAML frontmatter is not stripped by the wiki; it renders as visible junk. Use the <!--meta --> block Wiki-Conventions
Browser-UI edits bypass wiki:lint entirely Guide-Wiki-Contributing
A blank line inside a Markdown table ends the table on GitHub — every row after it renders as literal pipe-prefixed prose — and a row missing its closing ` ` silently swallows its last cell. Neither is an error, so both survived unnoticed on Log
A lone CR breaks a table the same way, and is invisible. Worse, .gitattributes eol=lf does not protect you: git normalization only rewrites CRLF→LF, so a bare CR is treated as content and survives commit, checkout and review. The table rule was itself blind to it until 2026-09-29 Wiki-Conventions
A Windows checkout rewrites a page to CRLF, so a one-line edit diffs as whole-file churn; .gitattributes pins the wiki to LF Guide-Wiki-Contributing
Chaining git with && skips the push on a clean tree — commit exits non-zero with nothing staged, so the wiki looks published when it is not. Use ; Guide-Wiki-Contributing
A bare git push at the repo root pushes Agent004, not the wiki — ./wiki is a separate repo nested in the working tree. Always git -C wiki ... Guide-Wiki-Contributing
5,000-file soft limit; GitHub Pages is the documented escape hatch Wiki-Conventions

Toolchain and validation

Trap Full story on
A local wiki/ clone breaks prettier --check . unless ignored Guide-Validation-Gate
eslint ignores scripts/ and *.mjs — root scripts are silently unlinted and untested Guide-Validation-Gate
no-deprecated only sees files in a package's tsconfig.eslint.json; projectService silently skipped 57 test and config files Guide-Validation-Gate
Logic in a root package.json script is invisible to lint, types and tests — wiki:push hid a short-circuit bug there for weeks Guide-Validation-Gate
Wrapping a tool that already works buys bugs, not safety — the three wiki-script bugs were all created by the wrappers; plain git had none of them. Ask whether the decision needs to exist before moving it into a package Guide-Validation-Gate
AWS Emulator's fidelity scores are per release and move both ways, and "an operation has fidelity tests" is not "the emulator is faithful on it". CloudFormation was 19% at v1.0.322, so cdk deploy against it proves nothing Source-AWS-Emulator
AWS Emulator never denies a request signed with its own key and does not evaluate IAM, resource or KMS policies — a passing emulator test says nothing about least privilege (P11) Source-AWS-Emulator
pnpm 11 reads dependency overrides only from pnpm-workspace.yaml Concept-Supply-Chain-Discipline
pnpm will not re-resolve a transitive dependency the lockfile already satisfies — and pnpm update <pkg> -r / --depth Infinity both no-op on one, reporting "Already up to date" while the vulnerable version stays put Concept-Supply-Chain-Discipline
A lockfile can keep an optional peer that a fresh install would never add (@tobilu/qmd, and with it unpatched braces). A - override only loosens the range to '*', and remove/re-add re-resolves the parent's whole subtree Concept-Supply-Chain-Discipline
A patched-version advisory override is a one-time nudge; once the lockfile holds the patch it is inert, and leaving it behind can later hold that dependency back Concept-Supply-Chain-Discipline
An unpatched required transitive may need a lasting, parent-scoped cross-major override: Jest's coverage loader only calls js-yaml.load, so moving that edge from v3 to v4 removes sprintf-js without changing other YAML consumers (PR #69) Concept-Supply-Chain-Discipline
A convergence override ("pkg@": <exact version>) takes one exact version per key, so it cannot move two major lines of the same package at once — use a selector override per line Concept-Supply-Chain-Discipline
pnpm audit hits the live advisory database, so an untouched commit can go red between two runs — news, not a regression you caused Concept-Supply-Chain-Discipline
The fix usually predates the advisory by weeks — check the patched version's npm publish date before treating a red audit as new exposure Concept-Supply-Chain-Discipline
Dependabot version updates come from dependabot.yml but security updates are a repo setting needing alerts on — so a healthy PR list proves nothing; this repo ran nine version-update PRs with security updates off Concept-Supply-Chain-Discipline
GitHub's Dependency Graph did drop our pnpm 11 pnpm-lock.yaml until it silently started parsing it between 2026-10-25 and 2026-10-31 — re-verify a platform limitation with /dependency-graph/sbom (743 packages, not 54); GraphQL dependencyGraphManifests still misreports dependenciesCount: 0 Concept-Supply-Chain-Discipline
A green Audit job is not an empty alert list: CI runs pnpm audit --audit-level=moderate and exits 0 on a low, while Dependabot alerts report every severity — read both Concept-Supply-Chain-Discipline
A Dependabot alert's scope is unreliable on a lockfile manifest — alert #1 labels a packages/infra jest devDependency runtime; establish reach with pnpm why <pkg> -r Concept-Supply-Chain-Discipline
first_patched_version: null means there is nothing to bump to — accept, dismiss with a reason, or remove the parent, but record which Concept-Supply-Chain-Discipline
minimumReleaseAge is checked before resolution — restore the committed lockfile, do not patch it Concept-Supply-Chain-Discipline
GitHub Actions must be pinned to full 40-character SHAs; a test enforces it Concept-Supply-Chain-Discipline
main requires CI and Audit by name — renaming a job without updating the required context leaves the old check pending and blocks merging; a conditionally skipped job can instead report success Guide-Validation-Gate
The toolchain self-pins via packageManager + devEngines.runtime — never add Corepack steps Guide-Local-Setup
Spec Kit hashes its managed .ps1 as LF; .gitattributes needs an eol=lf exception or every script falsely reports as modified Decision-Spec-Kit-Upgrade
Upgrade Spec Kit with specify integration upgrade, never init --here --force — upstream calls --force an escape hatch Decision-Spec-Kit-Upgrade
Spec Kit extensions get no per-file hashing — extension update deletes and reinstalls, so local patches vanish without a diff Decision-Spec-Kit-Upgrade
On Windows, specify self upgrade cannot replace its own running Scripts\ ("Access is denied"). Never delete that directory by hand — that breaks the launcher (uv trampoline failed to canonicalize script path). Run uv tool install --force from the shell Decision-Spec-Kit-Upgrade
A Spec Kit upgrade on Windows can leave .github/agents/speckit.git.* as CRLF — shown as modified with an empty git diff. git checkout -- them; never commit or reformat Decision-Spec-Kit-Upgrade

Specs, process and infrastructure

Trap Full story on
A provider's maxTokens limits each call, and SDK invocation limits check between calls; neither is strict pre-spend admission Source-Agent-Infra-Deployment-Review
A model-input byte limit is not proven unless it includes system prompt, tool specifications and messages; trimming messages alone can leave the static prompt/tools over the ceiling Component-Agent-Runtime
Cognito control-table authorization reads need DynamoDB ConsistentRead: true, and operational read/write failures must log locally then return the constant DENIED to the callback Component-Infra-Stacks, Component-Agent-Runtime
Reused Agents expose lifetime usage; adding successive accumulatedUsage readings double-counts earlier invocations Source-Agent-Infra-Deployment-Review
Strong control reads do not prevent unconditional session writes from losing concurrent updates Source-Agent-Infra-Deployment-Review
A fixed-window rate write is spend-adjacent work: consume it only after admission and every pre-admission/session refusal succeeds; otherwise a breaker, busy, cap or allowlist refusal has consumed an allowance it never earned Component-Agent-Runtime, Source-Spec-003
A 60-second deadline is turn_deadline, not session_cap_exceeded: it is retryable and must leave the counted session active Component-Agent-Runtime, Contract-Message-Protocol
Settlement starts at the admitted reservation, not zero or a retrieval-only cost; missing usage and cancellation retain the full reservation Component-Agent-Runtime, Source-Spec-003
Web-search claims must be persisted against SESSION#<sub> before outbound execution; an in-memory turn count alone loses cancelled/failed claims and a final write must not add that count twice Component-Agent-Runtime, Source-AgentCore-Web-Search-Tool
JSON "spans" are logs, not exported OpenTelemetry traces; a name-keyed span map also mixes concurrent requests Source-Agent-Infra-Deployment-Review
A separate warm-up client does not retain the serving model's credentials and connection pool Source-Agent-Infra-Deployment-Review
An unconditional frontend asset source can block even Budget synth before production build outputs exist Source-Agent-Infra-Deployment-Review
A [x] in tasks.md is a claim, not proof (deviations C4 and C6 — it happened twice) Source-Tasks-001
AgentCore Runtime V2 cannot be set by CDK or CloudFormation — no longer true (C7); CloudFormation gained PlatformVersion and the constructs graduated to stable aws-cdk-lib/aws-bedrockagentcore Decision-AgentCore-Runtime-V2
platformVersion is absent from the CDK L1 in 2.270.0 and 2.271.0, so it needs an untyped addPropertyOverride — a typo there silently deploys V1 and looks like success Decision-AgentCore-Runtime-V2
The AgentCore session idle timeout defaults to 900 s, but FR-010 allows 30 minutes and the session opens at TV power-on — the default would drop a quiet visitor at ~16 minutes. Set to 1800 s Decision-AgentCore-Runtime-V2
Constructing a Bedrock client warms nothing — the SDK resolves credentials, endpoints, signing and sockets lazily, so a V2 snapshot captures none of it unless a real request is driven. Nothing fails; the cost just silently returns on every restored instance Component-Agent-Runtime
CountTokens is free but cannot warm our model path — AWS documents Claude models offered only through cross-Region inference as unsupported on bedrock-runtime, and global.anthropic.claude-haiku-4-5-* is one Decision-AgentCore-Runtime-V2
TDD's subject is behavior, not files touched. A change with no behavioral delta (removing an unimported dep, a rename, formatting) cannot have a RED test — name that out loud instead of manufacturing one, or you get a test with no subject and then pressure to keep it tdd skill, Log entry 28
A guard test (asserting on config, deps or toolchain rather than behavior) needs all four conditions in AGENTS.md § When a guard test earns its keep — two have now been written and deleted in review. The one most often missed: if tsc, ESLint, the build or the package manager already catches the mistake, the guard is redundant Log entries 25 and 28
A graduated CDK module's own README is not a reliable inventory — the AgentCore alpha README still calls Policy experimental after it shipped in stable, and lists Observability as a construct when it is a submodule of helper functions. Check with typeof on a real import Decision-AgentCore-Runtime-V2
MCP config lives in two files that must stay in parity, with different top-level keys Guide-MCP-Servers
Repo-shared MCP entries must be plain HTTP; personal/session stdio servers are outside that rule Guide-MCP-Servers
.specify/extensions.yml is generated from each extension's own extension.yml — hand-edits look applied but any extension update regenerates the file and restores them. Disable hooks in the extension's own config instead Decision-Spec-Kit-Upgrade
Spec Kit hooks are pull-based — a before_x/after_x stanza is read by speckit.x itself, so a hook for a removed command goes inert rather than failing, and nothing announces it Decision-Spec-Kit-Upgrade
.specify/extension-catalogs.yml replaces Spec Kit's built-in catalog stack rather than adding to it — listing only the community catalog silently drops the default one, orphaning every bundled extension from extension update Decision-Spec-Kit-Upgrade
speckit.plan destructively regenerates an existing feature's artifacts Guide-Spec-Kit-Iteration
speckit.checklist is not read-only — it creates or appends to checklists/<name>.md Guide-Spec-Kit-Iteration
speckit.converge silently does nothing when already converged — no output is the success case, not a failure Guide-Spec-Kit-Iteration
Copilot CLI's /agent speckit.clarify selects an agent; appending a question on that line makes the entire line the agent name and reports Custom agent not found. Send the question in the next message Guide-Spec-Kit-Iteration
Package names and service limits recorded in specs/ go stale — verify before acting on them Concept-Supply-Chain-Discipline
AgentCore resets its 15-minute idle session timer on any activity including ping/pong, so our 30-second heartbeat would keep sessions alive forever and defeat scale-to-zero Source-AgentCore-Bidirectional-Streaming
AgentCore's browser OAuth path smuggles the token through Sec-WebSocket-Protocol — our contract says Subprotocol: none, and no other subprotocol is supported Source-AgentCore-Bidirectional-Streaming
Connecting the browser straight to AgentCore means the platform owns the close code (1008/1009/1011) — our custom 4000–4500 codes cannot be delivered Contract-WebSocket-API
AgentCore WebRTC requires VPC network mode plus a TURN relay — standing infrastructure a $10/month ceiling cannot absorb Source-AgentCore-Bidirectional-Streaming
The bedrock_agentcore SDK and every bidirectional-streaming sample is Python; packages/agent is Node, so the wrappers do not apply Source-AgentCore-Bidirectional-Streaming
Strands' BidiAgent went GA Python-only, and the GA post never says so. @strands-agents/sdk 1.20.0 exports no Bidi or realtime API, so voice through Strands means a Python service. Pre-GA AWS samples also use an older class name (BidiNovaSonicModel) Source-Strands-Bidi-Agents
Strands Decider's "tens of milliseconds" headline is GPU-only. The post's own median is ~115 ms on an RTX 3090, while the repo measures 1.6 s per question on an 8-thread Xeon CPU. It also downloads 4.5 GB of base weights from Hugging Face on first load Source-Strands-Decider
Polly bills Speech Marks per character at the same rate as speech, so our dual audio-plus-viseme call charges every reply twice — the spec's $0.80 worst case is really $1.60 Decision-Polly-Voice
Polly's Neural free tier lasts 12 months, not forever (Standard's 5M/month has no limit; Neural's 1M/month does). A $0 voice bill requires account eligibility and remaining allowance; neither was checked here Source-Amazon-Polly
Nova Sonic is not a drop-in Polly swap: it is speech-to-speech, so it also replaces speech input and the text model, it emits no visemes, and Bedrock supports no Guardrails and no CountTokens for it Source-Nova-Sonic
Some AWS pricing tables render client-side, but their public regional Price List files expose the rates without credentials. Research there and check official free-tier terms; a missing HTML table is not a reason to hand every lookup back to the builder. Keep spec-required human confirmation separate Source-AWS-Infrastructure-Pricing, Source-Nova-Sonic
Cognito's built-in Google social provider uses the direct/social MAU allowance, not the 50-MAU enterprise SAML/OIDC allowance; CloudFront's pay-as-you-go Free Tier is not its newer flat-rate Free plan Source-AWS-Infrastructure-Pricing
The in-console Pricing Calculator's bill estimates cost $2 each after five per calendar month. That is 20% of our $10 ceiling per extra estimate. Workload estimates and the public calculator.aws are free Source-AWS-Pricing-Calculator
A public Pricing Calculator share link expires after one year and never updates when the estimate changes. When an estimate informs a decision, record its line items, not just the link Source-AWS-Pricing-Calculator
Nova 2 Sonic speech is ~12% cheaper than v1, but its text tokens are 5.5x (input) and 11.5x (output) dearer — and text rates cover transcription, tool calls and conversation history, so a tool-using agent with memory pays them constantly Source-Nova-Sonic
Neither AWS pricing page states an audio tokens-per-second rate, so the published $/1M figures alone cannot be compared with Polly's $/character. It works out to ~25 tokens/second, but that is derived from a blog's $/hour figure, not published Source-Nova-Sonic
A model card's "EOL no sooner than" date is a floor, not a schedule — a model can pass it and stay Active for months. Nova Lite v1 passed its floor ten months ago and is still Active. Check the modelLifecycle field instead, and remember Legacy is a ≥6-month notice period that runs before EOL, not after Source-Bedrock-Model-Lifecycle
A Legacy model does not just get removed — it gets more expensive. After ~3 months in Legacy it enters public extended access, where the provider may raise the rate on a workload nobody changed. The clock that matters is 3 months, not 6 Source-Bedrock-Model-Lifecycle
Bedrock has two lifecycle policies split at 2026-09-07, and the one titled simply "Model lifecycle" is the wrong one for every model we use. Only the legacy policy mentions the price rise above Source-Bedrock-Model-Lifecycle
Models launched on or after 2026-09-07, Nova 2.5 Sonic first among ours, fall under the current policy. It allows a 45-day Legacy period instead of six months and drops the 12-month minimum. Read the card's Legacy period, not just the floor date Source-Bedrock-Model-Lifecycle
A provider's own pricing page is not a proxy for Bedrock's: rates differ by route, and Bedrock serves models a provider lists as retired. Cite a Bedrock source (the AWS Price List) for any budget number. The Haiku 4.5 cache-read example once recorded here ($0.20 in us-west-2) was not in the Price List when re-checked on 2026-11-02: it is $0.10 on the global profile and $0.11 on the us. profile Decision-LLM-Model-Selection
Prompt caching needs 4,096 tokens minimum per checkpoint, and our system prompt alone is only ~2,990; combined prompt/tools size is unverified, so the saving is unproven, not automatically reachable Decision-LLM-Model-Selection
Claude bills through AWS Marketplace, so it appears in Cost Explorer under the provider, not under Amazon Bedrock. Account-wide budgets still catch it, if they measure gross of credits; a spend investigation filtered on "Bedrock" does not Concept-Budget-Ceiling
The AWS Free plan documents no global or geographic cross-Region inference, yet our global. Haiku 4.5 model ID works on it (spike S0, 2026-10-29), and the first deployment adopts it (spec 003 T144, 2026-11-02). The Free plan is temporary and rejects nothing (Decision-AWS-Account-Plan); the residual risk is that AWS starts enforcing the documented rule, which the post-upgrade model review (T152) re-checks Decision-LLM-Model-Selection
Nova 2 Lite is cross-Region only, so it is unusable on the Free plan until the upgrade; Nova Lite v1 (amazon.nova-lite-v1:0) is the in-Region option Source-Amazon-Nova-Lite
A model card's bare model ID is not an in-Region path. Check the card's In-Region endpoint URL column: Haiku 5.5's reads N/A on bedrock-runtime, so only its us. and global. profiles apply, and S0-4 probed the wrong path. Haiku 4.5 on mantle and Haiku 5.5's bare ID both return "not available for this account"; spec 003's S0-9 re-probes Haiku 5.5 through its us. profile Decision-LLM-Model-Selection
Setting AWS_BEARER_TOKEN_BEDROCK switches every Bedrock SDK call to API-key auth, not just the ones you meant it for, and bearer calls need the separate IAM action bedrock:CallWithBearerToken Concept-Credential-Hygiene
Lambda@Edge is unsupported on the Free plan, until the upgrade; CloudFront Functions are cheaper for edge rewrites anyway Component-Infra-Stacks
An AWS budget counts credits by default (CostTypes.IncludeCredit is true). On a credit-funded account it sees almost no spend and never fires Concept-Budget-Ceiling
Budgets data refreshes up to three times a day, 8–12 hours apart, so a budget alarm is a lagging backstop, not a limit Concept-Budget-Ceiling
Budgets sends an ACTUAL alert once per budget per period. After a mid-month recovery the same hard stop cannot fire again that month Concept-Budget-Ceiling
Cost-allocation tags take up to 24 hours to appear and 24 more to activate, so tag-filtered spend views lag a new deployment by up to two days Concept-Budget-Ceiling
AgentCore Memory short-term pricing changed on 2026-10-06: billed per GB with a 12 KB minimum per event, not per 1,000 events. AWS's $42.50 worked example predates it and is now $18.97 Source-AgentCore-Pricing
AgentCore Memory's built-in strategies route inference cross-Region (us-west-2 can run in us-east-1 or us-east-2), which the Free plan forbids until the upgrade. AWS charges nothing extra for it. Overrides avoid it, but bill model usage separately, need an execution role, and cannot override summary extraction Source-AgentCore-Long-Term-Memory
AgentCore Memory's eventExpiryDuration covers short-term events only; extracted long-term records never expire, so a retention window needs a pruner Component-Agent-Runtime
Google's Custom Search JSON API ends on 2027-01-01 and takes no new customers. webSearchTool.ts now uses AgentCore InvokeWebSearch (IAM only, 5,000 free queries a month); results with no URL are dropped, and the hard stop denies the action Decision-Web-Search-Provider
AgentCore Evaluations' built-in evaluators route inference cross-Region automatically, which the Free plan forbids until the upgrade. Only custom evaluators with an in-Region judge avoid it, and they bill model usage separately Source-AgentCore-Evaluations
A Lambda Web Function endpoint stays publicly reachable behind CloudFront OAC, and ApplicationManaged auth is open to anyone: the app must validate the token itself. There is also no session affinity, so in-memory per-session state (spec 003's Q8 history) does not survive Source-Lambda-Web-Functions
Polly reads a lone letter as its name, so written stutters like b-b-ball come out "b b ball", not "buh-buh-ball". Speech marks do not fix it. Schwa won the pronunciation audition and rapid the pacing one (2026-11-07): 115% speech, onset-only x-fast, no inserted gaps; all 16 greetings regenerated at 8.4–14.7 seconds. Gaps, not onset rate, drive stutter speed Decision-Polly-Voice
Rejecting an overlong greeting after overwriting its MP3 leaves new audio beside old manifest durations. The generator now validates the entire selected pool before writing production audio; isolated audition clips instead carry a re-tune warning Decision-Polly-Voice, Source-Audio-Plan
polly:Engine and polly:VoiceId are not IAM condition keys, despite P11's illustrative examples and the frozen spec 001 policy. Region-scope synthesis with aws:RequestedRegion; voice and engine are application settings Source-Amazon-Polly, Concept-Credential-Hygiene
AWS's Polly docs disagree about Standard voices: the available-voices table lists a Standard Matthew, but the Standard voices page omits him. Check DescribeVoices SupportedEngines, not a single docs page Source-Amazon-Polly
The AWS Free plan closes the account when it expires (six months, or when credits run out). Content is kept 90 days; upgrading to the Paid plan restores it and carries over remaining credits. Ours expires in December 2026 Decision-AWS-Account-Plan
AWS's new account experience is a separate account type, not an upgrade: existing accounts do not convert. A US contact address pins the project to us-east-2, and the only way to choose a Region, "advanced features", is one-way and permanently removes spend limits. Our design is in us-west-2 Source-AWS-New-Account-Experience
An AWS spend limit pauses the whole project at the cap (minimum $20/month), and a project left paused for 90 days has its data deleted. It is a Budget underneath, with undocumented enforcement latency, so it does not by itself replace an in-path breaker Source-AWS-New-Account-Experience
supported-services-sign-up-new.html describes the new account type only. We cited it for "the Free plan documents no cross-Region inference"; the general Free-plan guide lists no such limit, and the builder's account is classic (confirmed 2026-11-02), so that page never applied to it Decision-AWS-Account-Plan
The golden set has 65 cases, not 50. The constitution, spec 001 and older docs still say 50 Concept-Personality-Gate
Never declare the aws/spans log group: X-Ray creates it and enabling Transaction Search fails if it exists. Set retention with LogRetention afterwards Concept-Observability

Product and UI

Trap Full story on
The brass knob is baked pixels in TV-frame.png; .volume-knob geometry is asserted by an E2E test Feature-Volume-Knob
Never write "Max Headroom" in project-visible copy — the name is Max Height Concept-IP-And-Legal-Posture

Code that is not what it looks like

Found while ingesting the code on 2026-09-26. Each one is a place where the obvious assumption is wrong.

Trap Full story on
Volume lives in local App.tsx state, not in voiceStore — so it resets on reload Component-Volume-Knob
AudioWorklet nodes do not prove effects are active: no app callers trigger the stutter worklet or static bursts, and the stutter worklet's replay is broken anyway (a one-sample delay). Voice glitches come from the main-thread glitch engine Component-Audio-Chain
EQ comments describe roughly 5 kHz/+6 dB, but the fixed coefficients plus dry mix peak near 3.34 kHz/+9.54 dB at 44.1 kHz; inspect the actual response before tuning Component-Audio-Chain
Replies never reach the DSP chain today: new PollyClient({}) throws Region is missing, so useAudio falls back to speechSynthesis (pitch 1.2, browser voice). Greetings are the only processed speech Component-Audio-Chain
Glitches change a clip's length, so a manifest or source duration is not the played duration. Time speech from the ms audioChain.play() returns Component-Audio-Chain
Worklets must be imported as ./xProcessor.ts?worker&url. A bare new URL('./x.ts', import.meta.url) makes vite build ship a data:video/mp2t URL of raw TypeScript, which browsers reject. Fixed 2026-11-16 and guarded by a production-build test. A tests/build/ folder is gitignored, so do not put tests there Component-Audio-Chain
TextInput allows 2,000 characters; the Lambda rejects user_message text over 500 Component-WebSocket-Transport
Speech input is fully written but not wired into App.tsx — only TextInput renders Component-Speech-Input
Avatar2D and crtShader.ts exist but are unused; the live path is AvatarFrameCycler Component-CRT-Presentation
createAgentCoreMemoryClient() deliberately throws — production memory is not configured Component-Agent-Runtime
The per-session token/turn cap bounds a cooperative client only: sessionId is read from the request body, so omitting it mints a fresh budget every turn (issue #55) Concept-Budget-Ceiling
agent-stack.ts constructs neither the AgentCore Runtime nor AgentCore Memory — deviation C4 is real Component-Infra-Stacks
The $10 hard stop deletes a policy name that does not exist — CDK appends a hash (CognitoUnauthRoleDefaultPolicy4E16848D) — and its "already detached" path reports success, so the cap would silently never fire (issue #61) Component-Infra-Stacks
CloudWatch logs persist indefinitely by default, and neither Lambda stack sets retention; this is an undeployed cost and privacy gap, not a measured bill. CDK's own Lambdas (crossRegionReferences' writer and reader) emit no log group either, so retention on our functions alone is not enough Concept-Observability
extractUsage reads result.usage, which does not exist; Strands reports usage at result.metrics.accumulatedUsage, so every turn falls back to a character estimate (spec 003 N1) Component-Agent-Runtime
A fresh Agent is built per request, so the runtime keeps no in-session conversation history (N2) Component-Agent-Runtime
handleDeleteMemory takes a record ID and no actorId, so it cannot check ownership (N3) Component-Agent-Runtime
CloudFront errorResponses are distribution-wide: the SPA's 403/404 → /index.html fallback would turn an API's 403 into an HTML 200 (N6) Component-Infra-Stacks
cloudfront.Function defaults to the JavaScript 1.0 runtime; set FunctionRuntime.JS_2_0 explicitly Component-Infra-Stacks
Tags.of does not reach CfnBudget, which is not ITaggable in aws-cdk-lib 2.272.0 Component-Infra-Stacks
CloudFront's connect-src omits Polly while the browser calls Polly directly; deployment would block intended voice output until the endpoint and CSP match Component-Infra-Stacks, Component-Audio-Chain
AWS Budgets cannot publish to an SNS topic unless the topic policy grants budgets.amazonaws.com sns:Publish, and CDK's sns.Topic adds none. Without it no budget notification arrives, the hard stop included (fixed with #56) Component-Infra-Stacks
One SNS topic cannot route by budget threshold. The Budgets message format is undocumented, and a filter policy has nothing reliable to match on. Give warnings and the hard stop separate subscribers, never a shared topic (#56) Component-Infra-Stacks
Never publish anything else to BudgetHardStopTopic. Every message revokes guest access, so an ops alarm wired there would shut the site on an error spike (T111, deviation C8) Component-Infra-Stacks
Wire disconnect-cancellation to res.on('close'), never req.on('close') — the request stream emits close once drained, aborting every healthy turn Component-Agent-Runtime
Strands cancellation is cooperative: a tool that never reads context.cancelSignal keeps its outbound fetch alive after the model stops Source-Strands-Harness-SDK-Docs
printer: false is load-bearing, not cosmetic — the SDK's default printer would stream every guest token into CloudWatch Component-Agent-Runtime
Strands hooks are interceptive now. Decision-Strands-SDK once used the opposite claim to justify post-processing, but the live invocation handler actually calls neither personality nor stutter helper Source-Strands-Harness-SDK-Docs
The constitution's P1 requires all TTS on AWS; an already-written browser SpeechSynthesis fallback cannot be authorized by a spec or wiki decision alone Decision-Browser-TTS-Fallback
Native Strands limits (turns, outputTokens, totalTokens — not maxTurns, which does not exist) reset every invocation, so they cannot implement per-session budget caps Source-Strands-Harness-SDK-Docs
"Harness" names three different things: Strands harness, Strands Harness SDK, and AgentCore Harness Source-AgentCore-Platform-2026, Source-Strands-Harness-Docs
The Strands harness defaults to a task agent: Opus 5 with reasoning, a host shell, file write and edit, a background subagent and background memory extraction — all on unless turned off Source-Strands-Harness-Docs
A Strands harness patch can add a default-on built-in tool or plugin, so a version pin does not freeze capability — only explicit builtinTools / builtinPlugins lists do Source-Strands-Harness-Docs
Strands session managers are single-writer: two agents on one session id overwrite each other's turns silently, with no error from either call Source-Strands-Harness-Docs
Strands prompt caching with strategy: 'auto' silently skips an application inference profile ARN; it needs strategy: 'anthropic' Source-Strands-Harness-SDK-Docs
The AWS Prescriptive Guidance page links an old TypeScript quickstart path that returned 404 on 2026-10-04; the current SDK page is under /sdk/quickstart/typescript/index.md Source-AWS-Prescriptive-Guidance-Strands-Agents
The Strands TypeScript quickstart's optional coding-assistant MCP server uses uvx/stdio; it is not a runtime dependency or a repo-shared config entry Source-AWS-Prescriptive-Guidance-Strands-Agents, Guide-MCP-Servers
The AWS open-protocols article's runnable examples are Python; verify protocol APIs against the pinned TypeScript SDK and project code before assuming they are integrated Source-AWS-Open-Protocols-Strands-Agents-SDK
AgentCore Runtime v2 costs more than v1 (+42% CPU, +79% memory); the choice was made without pricing it Source-AgentCore-Pricing
A Strands turn that is cancelled returns stopReason: 'cancelled' instead of throwing, so abort handling in catch alone misses every cancel and deadline: the turn is under-metered, sends done and writes a partial reply to memory. Treat that result as an abort (fixed 2026-11-16) Component-Agent-Runtime, Source-Strands-Harness-SDK-Docs
An error after a response has started cannot be answered with res.writeHead(500) — it throws ERR_HTTP_HEADERS_SENT in an unawaited promise and kills the Node process, leaking leases that never expire. End the response instead (fixed 2026-11-16) Component-Agent-Runtime
boundModelInput must cut on a genuine user message and never drop the turn in progress: Bedrock Converse rejects an assistant-first history or a toolResult with no toolUse. Not yet run against live Bedrock (T179) Component-Agent-Runtime
useRef(createX()) re-runs createX() every render; App once rebuilt its audio chain and players that way. Use a lazy useState, and build useAudio in a mount effect, because its dispose() is permanent and <StrictMode> remounts Component-Frontend-App
Gating sends on sessionState === 'ACTIVE' makes the first message unsendable over SSE, because ACTIVE arrives only after a send. Tests that mock the store as ACTIVE hid it Component-Frontend-App, Component-State-Stores
Request-only SSE does not establish startup readiness; migrating from an auto-opening WebSocket can leave INITIALIZING through the greeting. App now runs a no-model runtime.ready action when TV power reaches on, uses greeting completion as the deadline, and aborts late probe work on power-off Component-Frontend-App, Component-WebSocket-Transport
Each turn's audio segments are numbered from 0, so a player that remembers the highest seq it ever played goes silent after the first reply. Clips carry their turn Component-State-Stores

See also: Index, Wiki-Conventions, Log.

Clone this wiki locally