Skip to content
Reese Hodge edited this page Sep 30, 2026 · 83 revisions

Log

Append-only record of what changed on this wiki and why. Newest last.

Every ingest, migration, or correction gets a line. When the wiki and a completed spec disagree, the disagreement is recorded here rather than silently resolved — see Wiki-Conventions.

# Date Change
1 2026-09-26 Wiki established. Spine created: Home, _Sidebar, Index, Log, Wiki-Conventions, Gotchas, Guide-Wiki-Contributing. Metadata uses an HTML-comment block, not YAML frontmatter — verified that the wiki renders frontmatter as visible junk while Mermaid renders correctly.
2 2026-09-26 Ingested .specify/memory/constitution.md → nine Concept-* pages and Source-Constitution.
3 2026-09-26 Ingested specs/001-max-height-ai-character/ → Feature-Max-Height-Core, five Contract-* pages, Source-Spec-001, Source-Tasks-001, Source-Quickstart.
4 2026-09-26 Ingested research.md, plan.md and docs/infra-plan.md → nine Decision-* pages, including Decision-Spec-Kit-Upgrade (deferred) and Decision-Wiki-As-Knowledge-Base.
5 2026-09-26 Ingested packages/**/src → nine Component-* pages, each verified against a real read of the code.
6 2026-09-26 Ingested README.md, AGENTS.md, quickstart.md and docs/ → four Guide-* pages and six Source-* pages.
7 2026-09-26 Spec 002 migrated. Feature-Volume-Knob written from the spec plus issues #10, #12, #13 and #14; specs/002-volume-knob-up-down/ deleted from the tree and cited by pinned permalink @d3cf582. Source-Spec-002 marked superseded. All four issues now point at the wiki page.
8 2026-09-26 wiki:lint implemented in packages/repo-tools (TDD, 37 tests) and run clean across the whole wiki. Two rules were relaxed against reality: sources: accepts absolute URLs, and [[wikilink]] inside inline code is notation rather than a reference.
9 2026-09-26 Retrospective: six code-drift traps found during ingest added to Gotchas under "Code that is not what it looks like". Steering files updated — the wiki is now level 2 in the source-of-truth order, above specs/.
10 2026-09-26 Spec Kit upgraded, closing decision D2. Decision-Spec-Kit-Upgrade flipped deferred → current. Four claims on that page were disproved by testing and are corrected there: the baseline was 0.7.3 not 0.7.4.dev0 (build c118c1c, 2026-04-17); the upgrade command is specify integration upgrade, not specify init --here --force, which upstream now calls an escape hatch; the catalog/extension format did not change; and the 16 .github/prompts/* files were not regenerated, because they are three-line pointers to .github/agents/*.agent.md. Sourced from docs/llm-wiki-plan.md, which is frozen and keeps the original values.
11 2026-09-26 The abandoned third-party iterate extension removed — it sat in the unprotected extension tier where our local PowerShell patch would have vanished silently. Three toolchain traps added to Gotchas, including the .gitattributes CRLF-versus-LF trap that made Spec Kit's own integrity check report six false positives.
12 2026-09-26 Concept-Testing-And-TDD gained "Methodology is raised, not waited for": the spec question and the failing-test question are now answered up front rather than remembered mid-way, and declining either requires a stated reason.
13 2026-09-26 New convention in Wiki-Conventions — "Publish what you remember." An agent's private memory reaches one agent and one user, so storing one is now a trigger to ask whether the fact belongs on the wiki too. Personal preferences stay private; conventions, corrected facts and traps get published. Audited today's memories against the rule: the Spec Kit LF-hashing trap and the integration upgrade command were already on the wiki, and the remaining one is a personal preference.
14 2026-09-26 docs/llm-wiki-plan.md removed from the tree and re-cited by pinned permalink @3de6dca across nine pages; Source-LLM-Wiki-Plan marked superseded, the same treatment Source-Spec-002 received. All 31 of the plan's tasks were complete but none were ever ticked, so it read as entirely unstarted, and it still carried the four Spec Kit values Decision-Spec-Kit-Upgrade disproved. Audited the rest of docs/: audio-plan (phases 4–5) and infra-plan (phases 1–6) have open work and stay; initial-plan, the personality bible and the image prompts remain useful as reference.
15 2026-09-26 First genuinely external source ingested — Source-LLM-Wiki-Pattern, the Karpathy idea file this wiki implements. The attribution had lived only in docs/llm-wiki-plan.md, so retiring that plan would have left the wiki unable to explain where its own design came from. The page records what was kept, changed and dropped, and is honest about the divergence: every page here arrived by ingest, none was ever filed back from a query, and the LLM health pass still has no trigger. It also names the operating difference — external sources arrive as task-driven research, not as a curated reading list.
16 2026-09-26 Wiki pinned to LF via a .gitattributes in the wiki repo, and Log renormalised. Editing from Windows had been rewriting whole pages to CRLF, so a one-line append to this very file diffed as 37 added and 35 deleted lines — an append-only history nobody could read. Trap recorded on Guide-Wiki-Contributing and linked from Gotchas. Same class of bug as the Spec Kit one in Decision-Spec-Kit-Upgrade, in a second place.
17 2026-09-27 docs/iterating-with-speckit-guidance.md retired and re-cited by pinned permalink @3de6dca, the same treatment docs/llm-wiki-plan.md received. Its durable content — the per-command scope table and the change-type decision matrix — moved to the new Guide-Spec-Kit-Iteration; the rest already lived on Decision-Spec-Kit-Upgrade, Gotchas and AGENTS.md. Two claims were disproved while re-verifying against v1.0.12 and are corrected on the new page: speckit.checklist is not read-only (it creates or appends checklists/<name>.md), and speckit.clarify touches checklists/requirements.md as well as spec.md. Also recorded speckit.converge's append-only contract, including that it writes nothing at all when already converged.
18 2026-09-27 The three wiki workflows exposed as an agent skill at .github/skills/wiki/, with a /wiki prompt — the same shape as the existing tdd skill. Ingest is seven ordered steps whose two easiest omissions are updating Index and appending to Log, which is exactly what a skill checklist prevents. The skill is deliberately thin: it points at Wiki-Conventions rather than restating it, so the two cannot drift, and it keeps the approval gate before wiki:push because pushes are live and public. Placed in .github/skills/, never .specify/extensions/ — the unprotected tier described on Decision-Spec-Kit-Upgrade.
19 2026-09-27 wiki:push was silently not pushing. The script was git add -A && git commit -m "Update wiki" && git push, so on a clone whose work was already committed, git commit exited non-zero with "nothing to commit" and && short-circuited the push. Found the hard way: this very wiki's entries 17–18 sat unpublished while the run looked like an ordinary no-op. Rewritten in packages/repo-tools (TDD, 8 new tests) so it commits only when dirty, pushes regardless, accepts a real commit message, and reports the failing git step instead of swallowing it. Trap recorded on Guide-Wiki-Contributing and linked twice from Gotchas — once as a wiki trap, once as the more general lesson that logic in a root package.json script is invisible to lint, types and tests.
20 2026-09-27 First AWS documentation ingested as research — Source-AgentCore-Bidirectional-Streaming, found while reviewing a dependency bump. AgentCore Runtime now speaks WebSocket natively at /ws on port 8080, which could delete the API Gateway and Lambda hop from Contract-WebSocket-API entirely. Recorded because it surfaces three conflicts with our existing contract, now tabled on that page: Subprotocol: none versus the browser OAuth token smuggled through Sec-WebSocket-Protocol; our custom 4000–4500 close codes versus the platform's 1008/1009/1011; and — the expensive one — our 30-second heartbeat versus an idle timer that any activity including ping/pong resets, which would keep sessions alive indefinitely and defeat scale-to-zero against Concept-Budget-Ceiling. The WebRTC option needs VPC network mode plus a TURN relay and looks out of budget; WebSocket needs neither. Also relevant to Source-Audio-Plan, since the AWS samples demonstrate Nova Sonic speech-to-speech with native interruption. Nothing adopted — this trips the Spec Kit hybrid rule and wants a spec.
21 2026-09-27 A load-bearing decision reversed: CDK reclaims the AgentCore Runtime. Decision-AgentCore-Runtime-V2 had said the AgentCore CLI must own runtime deployment because "CloudFormation and CDK cannot set platformVersion". Three facts verified today undo that premise: AWS::BedrockAgentCore::Runtime now exposes a PlatformVersion property; every AgentCore construct except Policy graduated into stable aws-cdk-lib/aws-bedrockagentcore (per the alpha package's own README); and that stable module already ships in the aws-cdk-lib we pin, while @aws-cdk/aws-bedrock-agentcore-alpha is declared and imported nowhere. The deciding argument is P10: as a CLI invocation the platform version was a manual post-deploy check, whereas in CDK it is an assertion that runs in CI. Recorded as research.md §R2d with the superseded claims struck through rather than deleted. New trap — CDK codegen lags the CFN spec (platformVersion absent from both 2.270.0 and 2.271.0), so it needs an untyped addPropertyOverride that, if mistyped, silently deploys V1 and looks like success. Also settles the open question parked by PR #31: idleRuntimeSessionTimeout defaults to 900 s against FR-010's 30 minutes and a session opened at TV power-on, so it is decided at 1800 s rather than inherited. Two drift findings recorded as C6 and C7: PR #30 landed T148/T149 but left them unchecked (the C4 failure class, one PR later), and its warmBedrockClient() only constructs the Bedrock client where the task required exercising it — so the V2 snapshot captures none of the setup the warm-up exists for, split out as T154. Flagged honestly as unproven by us: V2-through-CloudFormation is newly exposed and must be confirmed with get-agent-runtime before it drives a deploy. Pages updated: Decision-AgentCore-Runtime-V2, Guide-Deployment, Component-Infra-Stacks, Component-Agent-Runtime, Gotchas.
22 2026-09-28 The orphaned git extension closed, and the recorded cause was wrong. Decision-Spec-Kit-Upgrade had blamed git becoming a bundled extension at v0.10.0. Reading get_active_catalogs() in the installed CLI shows the real mechanism: .specify/extension-catalogs.yml replaces Spec Kit's built-in catalog stack rather than extending it. Adding the community catalog in 0ad8722 — to install the iterate extension that entry 11 above later removed — therefore silently deleted the default catalog, the only one listing git (verified by fetching both catalogs; git is absent from catalog.community.json). So the orphaning was collateral damage from a change whose own subject was already reverted, and it outlived it. Fixed by re-adding the default catalog at priority 5: .registry flipped source: local → source: {kind: catalog, catalog: default} and extension update moved git 1.0.0 → 1.0.1. The community catalog was demoted to install_allowed: false, which is what the CLI's own guidance says for unvetted public catalogs — it had been true since 0ad8722. The obvious fix would not have worked: specify extension add git resolves the copy bundled inside the CLI, so it updates once, but extension update skips anything absent from a configured catalog, and the freeze would have returned at v1.0.2. Also measured how much the extension earns its keep, since the answer changes how much this matters: all 18 auto-commit hooks are enabled: false, core ships its own create-new-feature.ps1, and only before_specify → speckit.git.feature is live — and the extension's [Spec Kit] … messages conflict with this repo's Conventional Commits rule, so auto-commit stays off. New trap in Gotchas. Closes issue #24.
23 2026-09-28 The Log table had been broken for two days and the linter said nothing. Entries 15, 20 and 21 were separated by blank lines, and GitHub ends a table at the first blank line — so every row from 15 onward rendered as literal pipe-prefixed prose rather than as table rows, and entry 20 had silently lost its closing `
24 2026-09-28 The second Spec Kit item closed by disproving it. Issue #25 said two hooks depend on taskstoissues and that "when it goes, those two hooks fail, and the failure will surface mid-workflow". Neither half survived checking. Hooks are pull-based — hooks.before_taskstoissues is read by speckit.taskstoissues itself, per its own agent file — so removing the command removes the only reader, and the stanza goes inert rather than failing. And unwiring them by hand would not stick: .specify/extensions.yml is generated from the git extension's extension.yml, which declares both hooks, and a throwaway specify init --extension git reproduced them, so the next extension update would silently restore them. There is also nothing to migrate to yet — upstream's bundled github-issues replacement (github/spec-kit#4421) has not shipped, and the same-named community entry is an unrelated third-party extension now deliberately discovery-only after entry 22. So the decision is keep the hooks, and fix the real gap, which was visibility: packages/infra/test/speckit-hooks.test.ts asserts every hook event maps to an installed command and every hook command: resolves. Proven by deleting the taskstoissues agent file and watching it name both hooks. Also cleared the churn parked on #25: .specify/extensions/.cache/ — 234 KB of HTTP cache with a one-hour TTL, committed by accident in 0ad8722 — is now gitignored and untracked. Trap recorded in Gotchas.
25 2026-09-28 The guard from entry 24 was removed before it merged, during review. The question asked was the right one: "is it adding value or are we testing someone else's code?" It was the latter. Both sides of that assertion — .specify/extensions.yml and .github/agents/speckit.*.agent.md — are generated by Spec Kit from the same extension manifest in one install transaction, and we author neither, so the test could only ever restate upstream's own invariant. The decisive argument is its failure mode: a red build would have meant "upstream retired a command", which needs no action from us because the leftover stanza is inert — while the pressure of a red build points straight at hand-deleting the stanzas, the anti-pattern recorded in the very same change, which regenerates on the next extension update anyway. A guard whose failure prescribes a forbidden action is worse than no guard. Contrast the tests it would have sat beside in packages/infra/test — the MCP-parity, workflow-pin and toolchain checks all guard files we hand-edit, and each failure names something a human got wrong. The knowledge was always the valuable part and it survives in AGENTS.md and Gotchas, where nothing has to break for it to be read.
26 2026-09-28 The readiness gate was protecting a warm-up that was not warm (issue #33, T154, closing the last of C6). warmBedrockClient() called createMaxHeightAgent() and stopped, so the V2 snapshot captured an allocated Bedrock client and none of the setup the snapshot exists to preserve — the AWS SDK resolves credentials, evaluates the endpoint ruleset, builds the signer, wires protocol serde and opens the TLS pool lazily, on first send(). Nothing failed; every restored instance simply re-paid the cost V2 was chosen to eliminate, which is why it needed a test rather than an inspection. Fixed in packages/agent/src/bedrock/warmup.ts: one real signed ListAsyncInvokes(maxResults: 1) against the same bedrock-runtime host the Converse path uses, driven inside initialize() so /ping stays 503 until it completes. The operation choice is the Concept-Budget-Ceiling decision, not a code detail — it runs no model and bills nothing, and on a scale-to-zero service container starts are frequent enough that a per-start token charge compounds. CountTokens was the obvious free candidate and was rejected on evidence: AWS documents Claude models offered only through cross-Region inference as unsupported for CountTokens on bedrock-runtime, and global.anthropic.claude-haiku-4-5-* is exactly such a model, so it would have failed at startup on every instance. A small maxTokens invocation was rejected because it bills every cold start. Failure propagates deliberately — a swallowed warm-up error becomes a degraded snapshot inherited by every later instance. Carries an IAM obligation into T152: the runtime execution role must grant bedrock:ListAsyncInvokes or the container will not start. Pages updated: Component-Agent-Runtime, Decision-AgentCore-Runtime-V2, Gotchas.
27 2026-09-28 An alpha dependency removed, and the README that justified it was wrong twice (issue #34, closing deviation C7). @aws-cdk/aws-bedrock-agentcore-alpha@2.267.0-alpha.0 had been declared in packages/infra/package.json since C4 and imported nowhere — pure supply-chain surface carrying a documented "API can break between versions" risk for constructs we never used. Its contents graduated into stable aws-cdk-lib/aws-bedrockagentcore, which already ships in the aws-cdk-lib we pin, so this is that rare dependency change that is a net reduction (Concept-Supply-Chain-Discipline, P6): the pin is gone and the transitive @aws-cdk/aws-bedrock-alpha left the lockfile with it. The interesting part was verifying it. The alpha package's Migration to Stable README is the cited source for "all constructs except Policy graduated" — and importing the module and checking typeof disproved both edges of that sentence. Policy is exported from stable, so the migration is total and nothing is left behind at all; and Observability, listed among the graduated constructs, is not a construct in either package but a submodule of helpers (LogType, LoggingConfig, LoggingDestination, configureTracingDelivery(), configureLoggingDelivery()), with stable a superset that adds RuntimeObservabilityOptions. Both corrections recorded in research.md §R2d and on Decision-AgentCore-Runtime-V2; the general lesson — a graduated module's own README is not a reliable inventory — added to Gotchas. Guarded by nothing, deliberately — see entry 28. Pages updated: Decision-AgentCore-Runtime-V2, Component-Infra-Stacks, Decision-Dependency-Refresh, Feature-Max-Height-Core, Gotchas.
28 2026-09-28 A test was written to satisfy a process, not to prove anything — and the process wording was the bug. Entry 25 removed a guard test in review and recorded the lesson as "guards a file we hand-edit, and each failure names something a human got wrong". Three days later a guard written for issue #34 satisfied exactly that sentence and was removed in review anyway. Two separate faults, both now fixed. First, the guard-test bar stated a necessary condition as if it were sufficient. Seven of the removed test's eight assertions checked that aws-cdk-lib exports Runtime, Memory and friends — which tsc catches sooner and more precisely the moment T023b writes the import, so the guard expired on the exact day it became relevant. Restated in AGENTS.md § When a guard test earns its keep as four conditions that must all hold: we author the file; the failure names a human mistake and its fix is an action we are allowed to take; no earlier or cheaper gate already catches it; and it does not expire when planned work lands. Clause three is new and is the one that would have stopped this. Second, and more important, the tdd skill said "MANDATORY for all code changes — no exceptions", which is the wrong subject. TDD's subject is behavior, not files touched; the test goes first because that forces you to define done before how. Removing a dependency nothing imports has no behavioral delta, so there was nothing to specify — and the absolute wording turned that into pressure to manufacture a test, then to keep it because it existed. The tell was stark: earlier in the same task a throwaway .probe.mjs answered the identical typeof question and was correctly deleted, then the same probe was committed as a .test.ts. Same probe, opposite decision, and the only difference was the file extension. The skill now scopes the mandate to behavioral change, tells you to name the absence of a delta out loud and state the check replacing RED → GREEN (normally: the suite stays green) rather than skipping silently, and adds a What to check in section — three questions (what mistake does this catch, who makes it, does the failure say what to do) plus a taxonomy separating specification and regression tests, which are always kept, from probes, scaffolding and guards, which are not. Writing a throwaway probe is named as good practice; the discipline is deleting it. Behavior tests are never scaffolding. Pattern worth naming: both deleted guards asserted something someone else guarantees, and both felt responsible to write. Guard tests are cheap, which is precisely why they need a bar.
29 2026-09-29 An override added to fix an advisory was already unnecessary when it was added — and four older ones had quietly gone inert too. Entry 28's ip-address override (PR #40) was written on the belief that express-rate-limit pinned a vulnerable version exactly. It had, at 8.2.1 — but 8.6.2 relaxed to ^10.2.0, so pnpm would have resolved the patch unaided. Testing all five advisory overrides empirically showed every one was inert: removing fast-uri, qs, hono, js-yaml and ip-address together changed no resolved version and left pnpm audit clean. The mechanism is that pnpm resolves to the highest satisfying version, so an override only ever supplies the initial shove — it cannot keep supplying one. Yet the override is genuinely hard to avoid at the moment of the shove, because pnpm will not re-resolve a dependency the lockfile already satisfies and pnpm update <pkg> -r and --depth Infinity both no-op on a transitive package. Hence the policy now on Concept-Supply-Chain-Discipline: nudge, then remove the nudge, and keep an override only where a parent pins an exact vulnerable version. Leaving inert pins behind is not neutral — each is a hand-maintained floor that obscures whether upstream recovered and can hold a dependency back once its range moves on. The standing guard is the Audit job on every PR, the same "don't keep a second mechanism for something an existing gate covers" reasoning entry 28 applied to tests. Also recorded: a red pnpm audit on an untouched commit is news from the live advisory database, not a regression. PR #41.
30 2026-09-29 The table linter was blind to the exact defect it was written to catch. Log was broken again — entries 26, 27 and 29 rendering as literal pipe-prefixed prose — and wiki:lint reported "59 pages, no findings". The cause was three lone CR bytes, not the blank lines entry 23's rule was built for. findTableFindings split on \n and stripped a trailing CR, which normalizes CRLF correctly but leaves a lone CR as a leading \r on the next row; that row then failed `startsWith("
31 2026-09-29 Ingested the current Strands SDK docs, and a load-bearing claim had expired. Decision-Strands-SDK stated "hooks are observational, not interceptive", and that sentence was the entire justification for running stutter injection as post-processing instead of inside the agent loop. It is no longer true of the 1.19.0 we pin: BeforeToolCallEvent can substitute the tool or rename it, AfterToolCallEvent can replace the result, and BeforeToolsEvent.cancel can stop a whole batch before it runs. The fact is corrected immediately, per the source-of-truth rule; the design conclusion is deliberately not, because post-processing may still be right on testability grounds and reversing it by inference is exactly the drift the wiki exists to prevent — so it goes to an issue and, if it changes, to a spec (#42). Three further gaps found and recorded on Component-Agent-Runtime: nothing ever calls agent.cancel(), so a guest who closes the tab keeps billing tokens to completion (#43); cacheConfig: { strategy: 'auto' } enables Bedrock prompt caching and is unused while our system prompt and tool schemas are resent every turn; and the SDK's three-way state model (messages / appState / invocationState) is sharper than our code treats it, with the TypeScript accessor being appState, not Python's state. Native maxTurns / maxTotalTokens limits look like our session caps but reset every invocation, so they are an inner guard, not a replacement. Also corrected: the wiki recorded 1.15.0, the repo pins 1.19.0. New page Source-Strands-Harness-SDK-Docs.
32 2026-09-29 Ingested the AgentCore platform and, for the first time, actual prices. Concept-Budget-Ceiling has committed us to $10/month since the constitution, but carried no numbers, so a design could only ever be argued about rather than checked. Three figures change that. Web search costs $7.00 per 1,000 queries — 70% of the entire monthly budget — which turns a per-session search cap from prudent into mandatory, and reframes Source-AgentCore-Web-Search-Tool as a genuine trade rather than an upgrade: it removes third-party egress and two long-lived secrets (P11), but our Google CSE free tier currently costs nothing. Memory is the component most likely to breach the cap: AWS's own worked example runs to $42.50/month, which matters because the Memory construct is still unbuilt (deviation C4) and its sizing is therefore still ours to decide. And Runtime v2 costs ~42% more CPU and ~79% more memory than v1 — Decision-AgentCore-Runtime-V2 rejected "stay on V1" without pricing the premium, because the premium was not on the wiki. That decision is not reversed: an all-cold-start, scale-to-zero workload is what snapshots exist for. It is simply now held knowingly. Also recorded: the catalog has grown to thirteen services, Harness is GA (so the managed loop is a real alternative to running our own), Guardrails can now be enforced at the gateway rather than in the agent, and "harness" now names three unrelated things. New pages Source-AgentCore-Platform-2026, Source-AgentCore-Pricing, Source-AgentCore-Web-Search-Tool.
33 2026-09-29 Closed the cancellation leak entry 31 found, and the fix was mostly below the model. Issue #43: a guest who closed the tab mid-turn kept billing tokens, because nothing in handleInvocations observed the dead socket. The turn now runs under an AbortController fed to agent.invoke({ cancelSignal }). The part worth remembering is that stopping the model is not the whole saving — Strands cancellation is cooperative, so each of the three tools had to forward context.cancelSignal to its fetcher and each fetcher pass it to fetch as init.signal, or an in-flight HTTP request outlives the model that asked for it. Two traps recorded in Gotchas. First, detection must hang off res.on('close') guarded by res.writableFinished, never req.on('close'): the request stream emits close naturally once drained, so wiring the abort there aborts every healthy turn — and because both a disconnect and a clean finish emit close, writableFinished is the only thing distinguishing them. Second, an incidental find: index.cap-enforcement.test.ts's response double was a plain object with no .on, so it broke the instant production code attached a listener — a fake that had drifted from the real ServerResponse it stood in for. Deliberately left alone: an aborted turn abandons its reply.first_token span, which is inert only because activeSpans is keyed by name and nothing reads getActiveSpans(); it becomes real if the endpoint ever streams for real (#45). PR #46.
34 2026-09-29 Three AWS voice sources ingested to answer one question: is Nova Sonic a replacement for Polly? It is not — it is a replacement for something larger, and saying so needed both services written down properly, as Source-Amazon-Polly and Source-Nova-Sonic. Nova Sonic is speech-to-speech, so adopting it would dissolve Component-Speech-Input, the text model in Decision-LLM-Model-Selection and Polly into one component — an architecture change that trips the Spec Kit rule twice over. Four costs it would carry, now tabled: no visemes in its output stream, which the analyser-driven MVP mouth survives but the V1 3D lip-sync Contract-Polly-TTS stores marks for does not; no free replay, the Polly property that makes Contract-Greeting-Manifest cheap and hides the V2 cold start; no Guardrails and no CountTokens, unsupported on bedrock-runtime for this model; and a cost that bills the whole conversation including listening and silence, against per-session caps currently expressed in text tokens. What survives is the character — the AudioWorklet chain takes a decoded AudioBuffer and does not care what produced it, and since the model's own guidance forbids prompting for voice effects, DSP is the only place the glitch could live either way. Reading Polly properly also corrected two live numbers on Decision-Polly-Voice: Speech Marks are billed per character like speech, so the dual audio-plus-viseme call makes the spec's $0.80 worst case really $1.60 — and the Neural free tier of 1M characters/month covers ten times our volume, so the voice path costs $0 today, but for the first 12 months of the account only. Both belong in the cost model; neither alone is honest, and the constitution's own rule against treating free tiers as permanent is the reason. Nova Sonic pricing was deliberately left blank: AWS renders its speech-to-speech rate tables client-side, third-party aggregator figures are not good enough for Concept-Budget-Ceiling, and the audio-tokens-per-second ratio is unknown, so no comparison is computable yet. The genuinely interesting finding is the March 2026 addition of Polly-compatible voices — AWS built a voice-identity bridge between the two services, making a hybrid plausible rather than a swap. Nothing adopted; this is input to the architecture re-evaluation alongside issue #42, and the two findings that need tracking are filed as #47 (the Polly cost cliff and the double-billed reply) and #48 (the hybrid evaluation).
35 2026-09-29 The Nova Sonic pricing gap closed, and it reversed one of entry 34's conclusions. Entry 34 left rates blank because AWS renders its speech-to-speech tables client-side; they were read in a browser instead and are now on Source-Nova-Sonic for two regions. Nova 2 Sonic speech is $3.00/$12.00 per 1M tokens in us-east-1, 12% cheaper than v1 — but its text tokens are 5.5x (input) and 11.5x (output) dearer than v1's, and AWS's note says text rates cover transcription, tool calls and conversation history, so a tool-using agent with memory pays them continuously. The published $/1M figures still could not be compared with Polly's $/character, because neither page states an audio tokens-per-second rate. AWS's own Loka case study supplies it indirectly — "approximately $0.27 per hour of the input audio" — which at $3.00/1M is 90,000 tokens/hour, or exactly 25 audio tokens per second, giving $0.27/hour to listen and $1.08/hour to speak. Flagged on the page as derived, not published. The worked comparison then contradicts what entry 34 implied: against the same R0 worst case of 50 maximum replies, Polly's double-billed dual call is $1.60 and Nova 2 Sonic speaking the same replies is **$1.13** — and Sonic also removes the separate text-model spend, because it replaces Decision-LLM-Model-Selection rather than sitting beside it. So cost is not the argument against Nova Sonic; the arguments are visemes, free replay, Guardrails and the loss of a text seam. Corrected on Source-Nova-Sonic, Concept-Budget-Ceiling and issue #48 rather than left standing, because "it would be more expensive" was about to become a thing everyone repeated. Two numbers still want checking against a real session: the derived 25 tokens/second, and the assumed speaking rate behind ~75 seconds per reply.
36 2026-09-29 Asked whether the Haiku figures had gone stale too. The prices had not; the framing around them had. Re-verified Claude Haiku 4.5 against the model card and the Bedrock pricing page in both Regions: $1.00/$5.00 per 1M is still correct, and Decision-LLM-Model-Selection was right about it. Three things were wrong or missing. Cache reads are $0.20 in us-west-2, not the $0.10 recorded — and comparing the two published tables line by line, that is the only cell that differs between Regions for any Anthropic model, which is why it was never noticed. Anthropic's own docs say $0.10, matching us-east-1, so the incidental lesson is that a provider's pricing page is fine for orientation and unsafe for a budget number. Both cache rates turn out to be unreachable anyway: a checkpoint needs 4,096 tokens minimum and systemPrompt.ts is ~2,990, while the agent asks for no caching at all — so Concept-Budget-Ceiling's "unexploited saving" is really an unproven one, and the answer to "does Oregon cost more?" is no. All three pricing corrections are issue #49, which also carries the part the wiki cannot fix for itself: research.md § R0 still holds the $0.10 figure. The lifecycle was misread in both directions. The card's EOL no sooner than 2026-10-16 briefly looked like a fortnight's notice; it is a floor, the model is Active, and Legacy is a ≥6-month notice period running before EOL, so the earliest real EOL is ~March 2027. Nova Lite v1 proves the point — it passed its own floor ten months ago and is still Active. The opposite error matters more: under the policy governing all our models, a Legacy model enters public extended access after ~3 months, where "you should expect higher pricing, set by the model provider" — a price rise on a workload nobody changed, and a risk class Concept-Budget-Ceiling had no entry for. The clock after a Legacy announcement is 3 months, not 6. Recorded as Source-Bedrock-Model-Lifecycle, which also documents that Bedrock keeps two lifecycle policies split at 2026-09-07 and the wrongly-named one is the wrong one for us. This also corrected a page published hours earlier: amazon.nova-sonic-v1:0 reached EOL on 2026-09-14, so entry 35's two-generation comparison on Source-Nova-Sonic was offering a dead model as an option; v1 rates are now marked history, and a claim there that the legacy period followed EOL rather than preceding it was fixed. Nova Lite was researched on request as a Haiku alternative and is genuinely cheap — 3.3x on input, 2x on output, Region-identical — but the LLM is only ~$0.003 of a ~$0.011 turn, so the saving is ~15% while the personality is the product. The more interesting part is built-in web grounding with citations, a code interpreter and native MCP, which overlap webSearchTool and newsTool outright. Nothing adopted — swapping the model changes the cost model and possibly deletes two tools, which is Spec Kit territory and is now scoped as issue #50, to be evaluated jointly with #42 because both turn on the personality gate and settling the gate against Claude before changing the model would waste the work. Last find: Claude bills through AWS Marketplace, so Cost Explorer files it under the provider, not under Bedrock.
37 2026-09-30 The Audit job went red on a commit that had been green nine hours earlier, and nothing in the repo had changed. Four advisories — three for brace-expansion, one for fast-uri — were published between 23:44 and 23:54 UTC on 2026-09-29, 41 minutes after the docs/external-fact-verification PR run passed at 23:03. The identical tree then failed on merge to main at 14:16. Concept-Supply-Chain-Discipline already said a red audit with no code change is news rather than a regression; it now carries this as the worked example, because the abstract version did not stop the question being asked. The genuinely new lesson is to check when the fix shipped, not just the advisory. All four patched releases had been on npm since 2026-09-14/15, a fortnight before disclosure — the maintainer shipped quietly and the advisory caught up. So the red build reported exposure the repo already had, not exposure it had just acquired, and an ordinary dependency refresh would have pre-empted it. That reframing is worth more than the fix itself. A pnpm constraint surfaced while fixing it, now recorded on the same page and in Gotchas: a convergence override ("pkg@": <exact version>, added in pnpm 11.13) takes one exact version per key, so it cannot move two major lines of one package at once. brace-expansion needed exactly that — 2.1.4 → 2.1.7 behind minimatch@9's ^2.0.2, and 5.0.9 → 5.0.12 behind minimatch@10's ^5.0.8 — and 2.1.7 does not satisfy ^5.0.8. Selector overrides per line are the tool; convergence overrides remain better for the single-line case because pnpm warns when one goes stale. The nudge-then-remove rule held perfectly. All three overrides were verified inert the same day: deleting them and reinstalling moved no resolved version and left pnpm audit clean, because every parent range is permissive (^2.0.2, ^5.0.8, ^3.0.1). What reached the PR was a lockfile-only diff with no pin left behind. Also cleared a suspicion worth recording: removing the fast-uri: ^3.1.6 override in #41 two days earlier did not cause this — that removal changed no resolved version, 3.1.7 was clean until GHSA-hrr3-gc8f-f4qj was published, and a floor at ^3.1.6 would not have pre-empted a brand-new advisory either. PR #52.
38 2026-09-30 The safety net entry 37 leaned on turned out never to have been switched on. Closing #52 raised a fair question — "am I missing something?" — and the answer was on the Security tab: GET /repos/.../vulnerability-alerts returned 404, "Vulnerability alerts are disabled", and dependabot_security_updates read disabled. Both had been off since the repository was created, while Concept-Supply-Chain-Discipline, AGENTS.md and .github/dependabot.yml all described Dependabot security updates as a live protection. The reason nobody noticed is the interesting part, and it is now a Gotchas row. Dependabot has two halves that are configured in different places and fail independently: version updates come from dependabot.yml in the repo, and security updates are a repo setting that additionally requires Dependabot alerts. Only the first was ever configured, so nine Dependabot PRs merged between 2026-09-06 and 2026-09-27 — every one a grouped "Bump the dependencies group with N updates" version bump, not one an advisory fix. From the pull request list the protection looked healthy; the half that reacts to advisories had never run. This is the direct cause of entry 37. The brace-expansion and fast-uri fixes sat unproposed on npm for a fortnight because nothing was watching for them, which is why the Audit job was the sole detector — and why a new advisory first appeared as a red main after a merge, blocking everyone, rather than as a Dependabot PR two weeks earlier. Both settings were enabled on 2026-09-30 and verified (vulnerability-alerts → 204, dependabot_security_updates → enabled, 0 open alerts, since #52 had just cleared them). Both are free on a public repository, so the only thing keeping them off was that no one had checked. This also retires the nightly-Audit idea floated on #52: a scheduled run was a workaround for missing advisory monitoring, and the monitoring is now real. The standing lesson, recorded in three places rather than one: do not infer a setting from its symptoms.
39 2026-09-30 Reviewing branch security found the gate had never been wired to anything. The "Main Branch Protection" ruleset was active with no bypass actors and looked reassuring, but it contained exactly two rules — deletion and non_fast_forward. There was no pull request rule and no required status checks rule, so direct pushes to main were permitted and a red CI or Audit could not block a merge. That is the mechanism behind entry 37: the advisory failure was found on main, after merging, because nothing had been standing between a red check and the default branch. Together with entry 38 the pattern repeats — a protection that exists in name, is described accurately in the docs, and is not switched on. Six changes were applied and verified: a pull request rule at 0 approving reviews (solo maintainer — the value is the PR and its checks, not a self-approval ritual), required status checks on CI and Audit, private vulnerability reporting, CodeQL default setup, delete branch on merge, and the two Dependabot toggles from entry 38. Now recorded on Guide-Validation-Gate. Two deliberate trade-offs, stated rather than discovered later. Requiring Audit means a newly published advisory now blocks every open PR at once, not just noisily reddens them — the live-database behavior from Concept-Supply-Chain-Discipline turned into a full stop. A repository-admin bypass actor is the pressure valve for the case where a fix is blocked upstream, and it is deliberately not a way around a red build; the 2026-09-30 advisory was fixed with a lockfile refresh in one commit, which is the expected response. And strict / up-to-date branches was left off, because forcing a rebase of every open PR on each main commit costs real time and this repo's checks do not depend on being current. One thing to know rather than to act on: GitHub defaulted require_extra_approval_for_unattributed_changes to true when the pull request rule was created, and it was left that way — if a PR containing agent-authored or otherwise unattributed commits ever asks for an approval a solo maintainer cannot give, that flag is why, and admin bypass is the way through. A new Gotchas row covers the quieter failure mode: required checks match on the job's name, so renaming a job in ci.yml silently disables its gate, because a check that never reports reads as not-required rather than as failing.
40 2026-09-30 CodeQL, switched on the same day in entry 39, immediately found something — and reading the fix found something bigger. The alert was js/insecure-randomness, high severity, at packages/agent/src/index.ts:150: minted session ids were s-${Date.now()}-${Math.random().toString(36).slice(2,10)}. Both halves are predictable, and a sessionId is not a debugging label — it is the key to a session's token and turn budget under P2 / FR-010. Fixed to s-${randomUUID()} in #54, dropping the timestamp rather than keeping it, since 122 bits of entropy needs no help and the timestamp only leaked session creation time. Verified first that nothing parses the identifier: no split, slice, match or prefix test against a sessionId exists in the frontend, agent or infra sources. The TDD cycle is worth recording because the RED test is reusable as a technique — freeze every predictable entropy source (Date.now() and Math.random()), then assert two minted ids still differ, because anything still varying must have come from a cryptographic generator. It failed on a literal collision of 's-1759000000000-4fzzzxjy' with itself, which is the intended reason rather than a setup error, and it is checked in as a regression test because the mistake it catches has now actually happened. The larger finding is that unguessability was never the binding constraint. sessionId is read straight from the request body with no authentication, so the cap is reset on demand — omit the field and every turn gets a fresh allowance. Guessing was never required. Concept-Budget-Ceiling previously implied the cap was enforced; it now records that it bounds a cooperative client only, and that until this is settled the AWS Budgets alarms and the $10 hard stop are the only limits an uncooperative caller cannot step around. The same pattern is latent one layer down and worse: actorId is also client-supplied and is used directly as the memory namespace /max-height/${actorId}/, which is unreachable today only because the Memory construct was never built (deviation C4) — wiring memory in without settling it would make that cross-tenant read and wipe. Scoped as issue #55 for the re-architecture spec run rather than patched, because every plausible fix (signed session tokens, capping by caller identity, edge rate limiting) is a behavioral change against a constitutional limit and the last is a new AWS resource. Picking one inline would have meant inventing a hard number.

See also: Index, Home.

Clone this wiki locally