Repository navigation
docs: describe the installed version in the shipped docs, not how it changed - #1504
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: a4edab8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
xyos
enabled auto-merge (squash)
November 13, 2026 22:41
Contributor
📖 Glossary & notes — scoring, indicators, per-metric thresholds (click to expand)
Results — PR vs
|
| Task | Template | Tests | Judge | Cost | Turns | Score | Stop reason |
|---|---|---|---|---|---|---|---|
| async-word-counter | bare | ✅ 13/13 (0) | ✨ 9 (+0.6) | ✨ $3.37 (-$3.59) | ✨ 17 (-14) | ✨ 28.5 (+15.1) | endTurn |
| auth-notes | demo | ❌ 0/11 (-11) | ✅ 8.8 (+0.2) | ✨ $8.69 (-$6.54) | ✨ 31 (-14) | endTurn | |
| cognito-profile | auth | ✅ 10/10 (0) | ✅ 8.8 (0) | ✅ $18.86 (+$0.12) | ✨ 51 (-4) | ✅ 5 (-0.1) | endTurn |
| collab-presence-board | default | ✅ 11/11 (0) | ✅ $3.73 (+$0.31) | ✅ 25.8 (-3) | endTurn | ||
| email-digest | demo | ✅ 12/12 (0) | ✅ 9.2 (-0.2) | ✅ $4.91 (-$0.38) | ❌ 31 (+9) | ✅ 19.7 (+1.2) | endTurn |
| file-gallery | bare | ✅ 12/12 (0) | ✅ 9.2 (0) | ✨ $2.54 (-$1.01) | ✨ 13 (-4) | ✨ 38.1 (+10.9) | endTurn |
| kb-chat-agent | demo | ✅ 9/9 (0) | ✨ 9 (+0.4) | ❌ $39.02 (+$10.5) | ❌ 70 (+14) | ✅ 2.5 (-0.8) | endTurn |
| observability-api | backend | ✅ 18/18 (0) | ✅ 9.6 (+0.2) | ✅ $8.25 (-$0.09) | ✨ 31 (-6) | ✅ 11.9 (+0.2) | endTurn |
| oidc-dsql-notes | react | ✅ 2/11 (0) | ✨ 8.6 (+0.6) | ✨ $19.59 (-$8.06) | ✨ 56 (-13) | ✅ 1.8 (+0.6) | endTurn |
| sql-kb-catalog | nextjs | ✅ 9/9 (0) | ✅ 9.4 (+0.2) | ❌ $11 (+$2.74) | ❌ 40 (+8) | ✅ 8.9 (-2.8) | endTurn |
Merge verdict
✅ This bench run does not block the PR.
- ✅ Absolute floor — mean composite 80.9 >= floor 65.
- ✅ Regression vs
main— mean composite delta -9.0 pts vs main is within the 10-pt limit.
The Δ vs base ball above is a fixed ±5-pt display band; the regression gate uses BENCH_MAX_REGRESSION. The ball is cosmetic — the gate threshold is what blocks.
3 tasks done
xyos
force-pushed
the
docs/present-state
branch
from
November 17, 2026 18:06
25bbb3c to
263eea0
Compare
The docs ship inside the installed package, so "formerly", "now" and PR numbers describe nothing the reader has. State the current behaviour instead, and correct the logging entry point: frontDoor.features.logging takes version, partitioning and format on both HostingConstruct and core's Hosting.
State what an unset BLOCKS_LOG_LEVEL prints, and phrase doc comments on the deprecated mixins, bundling and the sandbox recorder in the present tense.
…ot its history The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
…its history The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
…its history The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
…s history The Logger README said per-compute retention "arrives later"; Compute already has logRetention, so point readers at it.
The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
The docs ship inside the installed package, so "no longer", "previously" and PR numbers describe nothing the reader has. State the present instead.
…istory The docs ship inside the installed package, so "previously", "the old mock", "carried over from AuthOIDC" and PR numbers describe nothing the reader has. State how Auth works, and keep the AuthCognito/AuthOIDC references that a migrating app relies on (ids, cookie and session formats, userId, action and error names). Drop "(#912)" from a heading and fix its in-file links.
…their history The interface's doc comment ships in dist/cookies.d.ts through the public /cookies subpath. Name the three attributes it carries (SameSite, Secure, Partitioned) rather than saying they once diverged across auth blocks.
The contributor guide treats existing docstrings on exported declarations as sacred, so this PR limits itself to the markdown docs, the scaffold AGENTS.md and the template READMEs. The source files return to their main text; the proposed doc-comment wording is left for maintainer review. The changesets no longer mention doc comments, and bb-distributed-data, whose only change was a doc comment, drops out of the release. The Auth changeset names the construct ids that match AuthCognito's (user pool, app client, session secret): the session store has its own id.
pranavosu
approved these changes
Nov 17, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The block docs ship inside the installed package (
@aws-blocks/blocks/docs/, the appAGENTS.md, the template READMEs), so they always describe the version the reader has. Many sentences narrate how things changed instead: "Xno longer …", "previously …", "the old mock …", "carried over fromAuthOIDC", "Update: superseded by D-FB-18", "(#912)", "an earlier revision of this PR". Relative to the installed version these describe nothing, and they point readers (and coding agents) at removed blocks and behaviour.Issue #, if available:
Changes
Sentence-level rewrites across 28 shipped markdown docs. Each history sentence is either rewritten as the present fact, kept as a present-tense rule plus the reason when the reason prevents a mistake, or dropped. Every new present-tense sentence was checked against the package source on
main. No source file changes.bb-auth/MIGRATION.md, the one-line "Coming fromAuthBasic…?" pointers, the old → new error-name table, hosting's upgrade note for stacks deployed with the derived header value, the session-store and mock-state notes for apps switching fromAuthCognito); compatibility guarantees a reader of this version relies on (the user pool, app client and session secret keepAuthCognito's construct ids; cookie and local-state formats,userIdand action names match); deprecations of still-exported APIs, in present tense with the replacement.bb-file-bucket/DESIGN.mdmostly) state today's design in place, keeping the decision numbers and rationale; "Update: superseded by …" notes are folded into the decision they modify.Hostingtakes loggingversion/partitioning/formatthroughfrontDoor.features.logging(the README said onlyenabled/retentionDays); the Logger README points atCompute'slogRetention(it said per-compute retention "arrives later"); the auth-commonerrorNameexample uses anAuthErrorsname; the FileBucket design cited the removedbb-auth-basic.bb-auth/DESIGN.md"Password reset ends every session ([bb-auth-basic] Invalidate outstanding sessions on password reset / credential change #912)" loses its "([bb-auth-basic] Invalidate outstanding sessions on password reset / credential change #912)", and bb-realtime's "Why AppSync Had 5×50" becomes "Why there is no per-segment limit". In-file links are updated; nothing else in the repo links to either anchor.@aws-blocks/auth-common/cookies' module doc,AuthShape's "carried over fromAuthCognito",getEngine()'s "no longer calls this eagerly",KnowledgeBase.isSynced()'s "deployments that predate this API", closed-issue numbers in hosting and core props). Maintainers: a follow-up could apply present-tense wording to about 40 doc-comment sites in 21 files; I can open it if you want it.bb-kv-store's README and DESIGN and removedbb-distributed-table; none of the sentences this PR had rewritten there survive onmain.patchchangeset per changed published package (17).Marker lines in the shipped docs (fenced code skipped), before → after: "previously / formerly / originally" 7 → 0, PR/issue numbers 19 → 2, "no longer" 30 → 18 (the rest are runtime state, such as "a table that no longer exists"), "now …" / "is now" 21 → 11. The edited docs shrink by about 8 KB.
Related PRs
Merged since this PR was opened, and reconciled in the rebase onto
main(5dfe7783a):bb-distributed-tableand itsDESIGN.mdedits are gone with the package;bb-kv-store/DESIGN.mdtakesmain's rewrite; FileBucket's design now namesKVStoreonly, as onmain.main's session-store text is kept; this PR's rewrites apply only where the old phrasing is still onmain.sessionScope), feat(bb-realtime): bind channel tokens to the signed-in user and re-check subscriptions on ping #1538 (bb-realtime channel tokens):main's rewritten paragraphs and rows are kept; one sentence in each file keeps this PR's present-tense wording.createOidcApi()):bb-auth/DESIGN.md"Native SDK compatibility" takesmain's text, including itscreateOidcApi().getClient()descriptor source. The one sentence still re-applied here is the refresh path: "a pathAuthOIDCnever served (so their refresh 404'd);Authserves it" becomes "Authserves that path".Open PRs that edit the same files (each PR head merged against this branch with
git merge-tree):bb-data→bb-database; it deletesbb-data/DESIGN.mdand rewritesblocks/VPC-DESIGN.mdand a FileBucket design line, so whichever lands second takes the other's text and drops this PR'sbb-datahunks ifbb-datais gone); feat(core): pass --express in the printed cdk bootstrap command #1128 (hosting/README.md, the bootstrap-command line next to the multi-stack destroy note). Rechecked against5dfe7783a; fix(bb-auth): native follow-ups for the Auth block #1476 no longer conflicts.__proto__response keys in Realtime and FileBucket client middleware #1313 (bb-realtime); fix(file-bucket): avoid reusing deleted local version IDs #1302, feat(bb-file-bucket): run a handler when an object is created (onObjectCreated) #1299 (bb-file-bucket); docs: point the app AGENTS.md, templates and block JSDoc at cdk-blocks docs #1512 (auth template README); fix(bb-logger): only replace true cycles with [Circular] #1168 (bb-logger); ci(compute-smoke): share the compute test VPC through permanent endpoints #961 (VPC design); fix(bb-secret): preserve schema-backed strings in the local mock #844 (bb-secret); docs: tighten agent guidance in the app AGENTS.md and block READMEs #794 (auth-common README); fix(bb-async-job): snapshot payloads in the local queue #692, fix(bb-async-job): validate delay seconds #432 (bb-async-job); fix(bb-cron-job): bound long local rate intervals #688 (bb-cron-job); docs(bb-app-setting): correct mock storage path #576 (bb-app-setting); docs(bb-dashboard): correct metrics source example #538, feat(observability): add OpenTelemetry building blocks (OtelMetrics / OtelLogger / OtelTracer) #50 (bb-dashboard, bb-logger). Where their edits sit next to this PR's, fix(bb-agent): settle complete() when the turn finished before it subscribed #1376, feat(bb-auth): opt-in audit records for session events #1495 and fix(hosting): bundle dependencies for an Astro app that configures @astrojs/node itself #1520 add new sections, and feat(bb-file-bucket): run a handler when an object is created (onObjectCreated) #1299 and fix(file-bucket): avoid reusing deleted local version IDs #1302 change the mock's version-id lines, which this PR doesn't touch; none changes what a rewritten sentence here states.e864ce6fb, docs(bb-agent, hosting, core, blocks): move self-contained README sections into topic files; fix stale statements #1496261b7f752, this PRa4edab846) were merged together ontomaindabb3f22fand merge cleanly. On the combination, the build, thepackages/blocksdocs tests,check:imports,sync-docs:check,check:api,lint:depsand thecreate-blocks-apptests (391/391) pass, and no link or anchor breaks that isn't already broken onmain. docs(blocks, core, bb-kv-store, create-blocks-app): findable docs, a shipped-code-sample guard, an imports reference and API reports #1498 carries generated files, so it is the one to land first. History text in the sections they edit or move is left for a follow-up: bb-agent's "the old presets are still available but deprecated" and "the agent now logs a warning", bb-auth README's "as it did inAuthCognito", and the FileBucket auth examples'AuthBasic.bb-data/INFRA.mdis left as is: it is an obsolete pre-implementation roadmap that needs a content rewrite, and docs(bb-data): align infrastructure documentation with Data API implementation #425 edits it.Validation
Head
a4edab846, rebased cleanly ontomaindabb3f22f, which includes theauth-oidctemplate fix (#1596). None of the files this PR edits changed onmainsince the previous head263eea0f5(base5dfe7783a), whosebb-auth/DESIGN.mdconflict with #1500 was resolved by takingmain's paragraph. Ona4edab846:mainis markdown and changesets only:git diff --stat origin/main -- '*.ts' '*.json' '*.js' '*.mjs'is empty.#anchorsin the 28 edited docs resolve (0 broken). On263eea0f5,npm run sync-docs:checkand thepackages/blockslink tests (readme-links,docs-pointers, 4/4) passed.Run on
25bbb3cd7(baseddae81525/dfc4a306b):npm ci,npm run build,npm run lint:deps,npm run check:apiandnpm run sync-docs:checkpass.packages/blockstests: 566 tests, 555 pass, 3 skipped, 8 fail. All 8 arecdk-blocks devsignal and restart tests whosetsx watchchild failed withEMFILEbecause the local host had no inotify instances left. This PR changes no code, and the suite passes in CI.npm run test:e2e:local: 573 tests, 567 pass, 6 skipped, 0 fail.npm test: 13,680 tests, 13,641 pass, 10 skipped, 4 cancelled, 25 fail. 4 are theauth-oidctemplate tests that fail onmain(fix in fix(create-blocks-app): align auth-oidc template with template checks #1596). The other 21 are dev-server and file-watch tests that hit the same localEMFILElimit.main: the only change is one code comment in the bb-agent React example.e864ce6fb) and docs(bb-agent, hosting, core, blocks): move self-contained README sections into topic files; fix stale statements #1496 (261b7f752) onmaindabb3f22f: the three merge together cleanly. On the combination, the build, thepackages/blocksdocs tests,check:imports,sync-docs:check,check:api,lint:depsand thecreate-blocks-apptests (391/391) pass, with no new broken links.CI on the previous head
263eea0f5: 55 pass, 10 skipped, 3 fail. BothE2E Compute Smokejobs andE2E Teardown Verifypassed.Local Unit Tests (shard 3)failed on the 4auth-oidctemplate tests, whichmainfixed in #1596 after that run.Build, Unit Tests, E2E LocalandBuild and Testfailed only because they roll up that shard.CI on
a4edab846: 57 pass, 8 skipped, 2 cancelled, 1 fail. All threeLocal Unit Testsshards pass, shard 3 included, and so doBuild, Unit Tests, E2E LocalandE2E Teardown Verify. The twoE2E Compute Smokejobs were cancelled by the shared concurrency group, which gave priority to another PR's waiting job.Build and Testfails only because it counts those two cancellations. Both Compute Smoke jobs passed on the previous head263eea0f5, which has the same docs diff.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.