Repository navigation
Description
#738's audit of 158 json tag lines turned up a second, larger class it deliberately left alone:
roughly 96 lines render members AWS does not publish at all. They fall into two groups.
Substrate's own bookkeeping, on a type that reaches the wire. AccountID, Region and
CreatedAt appear on response structs across many plugins — WAFv2WebACL, WAFv2IPSet,
CloudTrailTrail and others — because the same struct is both the persisted record and the
response shape. AWS publishes none of them.
Fields that are substrate concepts. DynamoDB's TTLAttribute and Tags sit inside the
TableDescription that CreateTable and DescribeTable return; AWS keeps a table's tags behind
ListTagsOfResource and its TTL behind DescribeTimeToLive.
Why this was not folded into #738
Every AWS SDK drops members it does not know, so nothing decodes wrong and no consumer's code
breaks — the defect is cosmetic, visible only to a caller reading a raw response body or a
recorded event. #738's nine defects were the opposite: names an SDK reads and gets nothing for.
Mixing the two would have made a live-bug fix hostage to a large cosmetic sweep.
It is still worth doing. A consumer diffing substrate's raw response against a recorded AWS one
sees noise, and a member that is not in the API model is a place where substrate's shape and
AWS's can drift without a test noticing.
The shape of the work
The fix is not a tag deletion — the field is needed in state. It is a split between the persisted
record and the wire shape, either by a per-plugin render function (the renderImage /
fsxToWire pattern already in the tree) or by json:"-" plus a separate state encoding where
the field is not needed on read-back. Which one is right differs per plugin, so this needs an
inventory before an approach.
Acceptance criteria
- An inventory of every response-reaching field that is not in the AWS API model, with the
plugin and the operation that exposes it. - An approach chosen per plugin (render function vs. split encoding) with the reason recorded.
- No member absent from the API model reaches a response body, or the exception is named in
docs/services.mdwith its reason. - A test that fails if a new bookkeeping field is added to a wire-reaching struct.
Filed out of #738, which fixed the nine wrong names and named this class as out of scope.
Activity
fix(#1090): a repository response carries the nine published members (#…
scttfrdmn commentedon Sep 20, 2026
The inventory, taken
AC1 and AC4 are met; AC2 and AC3 are not, and are v0.121.0 work. Details at the end.
Why it needed a reachability pass, and how one was actually run
The inventory is not a grep. The rule one wants is "no bookkeeping field reaches an
AWSResponse.Body", and deciding that means telling a marshal into a response from a marshal intostate.Set— through 500-plus bare-identifierjson.Marshal(x)calls and the 60-odd per-pluginresponse helpers that wrap them (
ecrJSONResponseand siblings). That is a type-and-dataflowquestion, and substrate depends on neither
golang.org/x/toolsnor any vendored analysis, soanswering it precisely would mean adding a dependency to serve one check. That is why this issue
never moved.
So it was answered by observation instead. Every plugin's
HandleRequestwas temporarilyinstrumented with a deferred hook that walked the response body it was about to return, recording
service | operation | member | JSON pointer; then the suite was run. The instrumentation wasdeliberately not committed — it is a measurement, not a fixture.
Deliberately per-plugin rather than at
PluginRegistry.RouteRequest(emulator/types.go:374-386):that is the only non-plugin caller of
HandleRequest, and most tests callp.HandleRequestdirectly and bypass it, so a single hook there would have seen a fraction of the traffic.
Result: 213 wire-visible observations across 31 services and 97 operations. Of those, 194
across 25 services and 86 operations are members AWS publishes nowhere; 17 are members AWS does
publish; 2 are false positives.
This is a floor, not a ceiling — it sees only what the suite exercises. The committed check
therefore asserts the declaration surface, which is the upper bound and exactly decidable.
ECR calibrates it. After #1090, ECR's only remaining bookkeeping-named wire member is
createdAt, whichAPI_Repositorypublishes. The pass reports exactly that and nothing else,which is the known-good answer this issue's plan wanted it checked against.
Per service
Leak = a member AWS publishes on no shape the operation returns.
acmAccountID,RegionCreatedAtappsyncaccountId,regionbackupAccountID,Region,UpdatedAtbatchaccountID,regioncreatedAtbedrock-runtimeaccountID,regionbudgetsAccountId,CreatedAt,RegioncloudtrailAccountID,CreatedAt,RegioncodebuildaccountID,regioncodedeployaccountID,regioncodepipelineaccountID,regioncognito-idpAccountID,RegiondynamodbCreatedAt,Regionec2regionecrcreatedAtecsAccountID,Region,ever_taggedcreatedAtefsAccountID,CreatedAt,Region,ever_taggedemrserverlessaccountID,regionfirehoseAccountId,RegionCreateTimestampglueAccountID,CreatedAt,RegionhealthregioniamRegionomicsaccountID,regionorganizationsAccountIdquicksightAccountID,RegionramaccountID,regionredshift-dataCreatedAt,UpdatedAtsagemakerAccountID,Regionsesv2AccountId,CreatedAt,RegionssoAccountIDAccountIdtransferAccountID,CreatedAt,Regionwafv2AccountID,CreatedAt,RegionThe ten pages read, so a leak is not confused with a member
A wrong "published" call hides a real leak, so every AWS-plausible spelling was checked against the
operation's own page rather than classified by eye. Genuinely published — not leaks: ECR
Repository.createdAt, ECSService.createdAt, BatchJobDetail.createdAt, ACMCertificateDetail.CreatedAt, FirehoseDeliveryStreamDescription.CreateTimestamp, Redshift DataDescribeStatement.CreatedAtandUpdatedAt, OrganizationsCreateAccountStatus.AccountId, SSOAccountAssignment.AccountId, EC2SpotPlacementScore.region, HealthEvent.region.The same reads settled the co-located members the other way, which is the payoff: Firehose's
DeliveryStreamDescriptionpublishes noAccountIdand noRegion; ACM'sCertificateDetailpublishes no
AccountIDand noRegion; AppSync'sGraphqlApipublishes neitheraccountIdnorregion; and SES v2'sGetEmailIdentityresponse publishes none of the three it emits. Each ofthose is a leak sitting beside a published member on the same shape.
EFS is the sharpest case in the inventory.
FileSystemDescriptionpublishesCreationTime;substrate emits
CreatedAt. The leak is a near-miss of a real member, not an obvious extra — thekind a consumer reads as a typo in their own code rather than as an emulator divergence.
Spelling is a sound classifier for two-thirds of the set. AWS JSON APIs spell an account
identifier
AccountIdoraccountId.AccountID,accountID,account_id,ever_tagged,randaappear in no AWS API model, so any of those on the wire is certain without a page read.AccountId/accountId/Region/region/CreatedAt/createdAtare the ones that need checking.One unverified: Budgets'
AccountId/CreatedAt/Regionare listed as leaks on the spelling andshape argument, but the Budgets API reference page is not machine-retrievable, so unlike the other
ten this trio has not been confirmed against its page. Worth a read before Budgets is fixed.
Two false positives, and a limitation worth recording: DynamoDB's
/Items/[]/CreatedAtand/Items/[]/Meta/M/Regionare caller-supplied item attributes — note theMin the second, aDynamoDB map attribute value. In a schemaless service the pass cannot distinguish caller data from
substrate's own fields, so DynamoDB must be read by hand.
The committed deliverable
scripts/check-wire-bookkeeping.sh+scripts/wire-bookkeeping-baseline.txt, in the shape ofscripts/check-discarded-unmarshal.sh, wired asmake wire-bookkeeping-checkbesidediscarded-unmarshal-check— and as a CI job (Wire Bookkeeping Drift). The CI wiring is notdecoration:
discarded-unmarshal-checkis amake-only target that no workflow runs, and a baselinenothing executes is a TODO list rather than a ratchet, which is how this inventory stayed untaken.
The measured declaration surface is 330 fields across 146 struct types in 67 files — correcting
this issue's plan, which estimated "343 fields across ~40 files". Two deliberate exclusions account
for most of the difference and both are recorded in the script:
organizations_account_test.go'sorgCreateStatus.AccountIDis a test's decode target, notwire surface — and it reads
CreateAccountStatus.AccountId, which AWS publishes.CreatedTime, and both ELB generations publishCreatedTimeas a realmember, so a field of that name is the service's data. (
CloudFrontDistribution.CreatedTimeis adivergence — CloudFront publishes
LastModifiedTime— but that is a wrong member, not abookkeeping leak, and belongs to its own issue.)
The baseline is keyed
file → type → Go field → rendered tag, with no line numbers: linecitations in this repo drift constantly, and file+type+field is stable across every edit that is not
the fix itself.
Two findings that shape how a fix should be written:
AccountIDrenders ten different ways —AccountID,AccountId,accountID,accountId,account_id,a, plus,omitemptyvariants of four. OneAccountIDrenders asjson:"a"and oneRegionasjson:"r", so the Go identifier is the only stable key and a tag-name scan would missboth.
json:"-"is used on none of the 330. The one tag that would keep a bookkeeping field out of aresponse without removing it from state has never been reached for.
The baseline is an inventory of defects, not a suppression list — which is the one place this
departs from
check-discarded-unmarshal.sh, whoseALLOWED_FILESentries each argue for their ownretention. Here every line is expected to be deleted, so the check fails in both directions: a
field missing from the baseline is new leak surface, and a baseline line the tree no longer has is a
stale record. Fixing a service must shrink the file in the same commit. That is what stops the
inventory rotting the way a plain TODO list does.
Acceptance criteria
the operation that exposes it. Above — service, operation, member and JSON pointer for all
213 observations, with the floor/ceiling caveat stated.
v0.121.0. ECR: Repository responses leak six substrate fields, two statuses disagree with the page, and three collections read no cursor #1090's ECR fix is the worked precedent for the render-function arm.
docs/services.mdwith its reason. v0.121.0 — 25 services to go. The exceptions that willneed naming are the eleven published members above, since a reader of a fix will otherwise ask
why
createdAtsurvived.and CI job rather than a Go test, following this repo's precedent for rules a linter cannot
state (
check-discarded-unmarshal.sh,check-doc-versions.sh): the rule is lexical, and thefour existing checks of this kind all live in
scripts/. Verified to fail in both directionsbefore being committed.
Out of scope, and not caught by this check
This issue's body names a second group — "fields that are substrate concepts", DynamoDB's
TTLAttributeandTagsinsideTableDescription. Both are still present and still wire-visible(
emulator/dynamodb_types.go:100,:106, onDynamoDBTable), and their own doc comments alreadyrecord the divergence. A five-name field ratchet does not catch them, because the defect there is
a substrate concept wearing a plausible name rather than a known bookkeeping field. Group 2 needs its
own enumeration and is not covered by anything landing here — worth stating plainly so the check is
not mistaken for complete coverage of this issue's original scope.
Also note the denominators differ: this issue opens from #738's "roughly 96 lines", which counted
unpublished-member lines including group 2. The 330 here counts the five bookkeeping field names
only, and includes fields reachable only from
state.Set. Neither number is wrong; they measuredifferent things.
tooling(#756): name the one request-decode entry in the upper bound
tooling(#756): the bookkeeping-field inventory, taken and ratcheted (#…
scttfrdmn commentedon Sep 20, 2026
Moving to v0.121.0 with two of four acceptance criteria shipped in v0.120.0.
What shipped (PR #1219)
field reaches an
AWSResponse.Body" is a type-and-dataflow question and substrate vendors noanalysis library: every plugin's
HandleRequestwas temporarily instrumented over the body it wasabout to return and the suite run. 213 wire-visible observations across 31 services and 97
operations, 194 of them (25 services, 86 operations) members AWS publishes nowhere. The full
service-by-service list is at emulator: substrate bookkeeping fields render as response members AWS does not publish #756 (comment 5746620648). That pass is a floor, not a ceiling — it
sees only what the suite exercises.
scripts/check-wire-bookkeeping.sh+scripts/wire-bookkeeping-baseline.txt, run asmake wire-bookkeeping-checkand as a CI job — the CI wiring being the load-bearing part, sincediscarded-unmarshal-checkis amake-only target no workflow runs, and a baseline nothing executesis a TODO list rather than a ratchet. It asserts the declaration surface, the exactly-decidable upper
bound: 330 fields across 146 struct types in 67 files (correcting the planned estimate of 343
across ~40 files). The baseline is an inventory of defects, not a suppression list, so the check fails
in both directions — a new field is new leak surface, a stale line is a stale record — and a fix
must shrink the file in the same commit.
ECR calibrated the pass: after #1090 its only remaining bookkeeping-named wire member is
createdAt,which
API_Repositorypublishes, and the pass reports exactly that and nothing else.What remains, and why it is v0.121.0 work
docs/services.mdwith its reason.Both are the 194-observation fix itself, service by service. v0.120.0 was scoped to fidelity of
refusals, and deliberately to the reachability pass plus a
maketarget, not to fixing all 330sites — the inventory was the thing this issue had been blocked on since it was filed, and it now
exists as a ratchet that cannot silently grow. Fixing the services it names starts from a committed
baseline rather than from a re-derivation.
scttfrdmn commentedon Sep 20, 2026
Two of Batch's three baseline lines are real leak surface and the third is a false positive of the
five-name heuristic, found while implementing #1236.
scripts/wire-bookkeeping-baseline.txtrecords:AccountIDandRegionare substrate's own scoping and AWS publishes neither, so both are theclass this issue is about.
createdAtis a published member, on both shapes aBatchJobisrendered into:
JobDetail(DescribeJobs) publishes "* createdAt ** The Unix timestamp (in milliseconds) forwhen the job was created. … This is specifically at the time
SubmitJobwas called."*,Type: Long,Required: No(API_JobDetail, read
2026-09-20).
JobSummary(ListJobs) publishes"createdAt": numberin the Response Syntax(API_ListJobs).
So fixing Batch under this issue means deleting two of the three lines, not three: the
wire struct that replaces
BatchJobon the response side has to keepcreatedAtand dropaccountID/region. Filing ajson:"-"on it, or reading the third line as owing a deletion,would remove a member the reference publishes.
The header already records the same shape of exception one level up — "CreatedTime is deliberately
absent. Three structs declare it, and both ELB generations publish CreatedTime as a real member" —
so
CreatedAtis not uniformly bookkeeping either; it is bookkeeping on the services that spell apublished
CreationTimethat way (EFS is the case the header names) and data on Batch.#1236 needed this decided because
batchJobSummaryis exactly the wire struct this issue asks for,and it carries
createdAt. Rather than baselining a published member,check-wire-bookkeeping.shgained a per-site exclusion list — keyed file + type + field, with the published-member argument
stated at the site — holding one entry,
batch_list_jobs.go batchJobSummary.CreatedAt. The threeBatchJoblines are untouched, so this issue's inventory is unchanged; the count is still 330.fix(#1229): a published filter selects what the page is cut from (#1250)
feat(#756): count the leaks, not the declarations (#1303)
fix(#756): render EFS responses from the published shape (#1304)
fix(#756): exclude Firehose's CreateTimestamp too
scttfrdmn commentedon Sep 30, 2026
AC2 — the approach, chosen per plugin, with the reason
The criterion asks for "an approach chosen per plugin (render function vs. split encoding) with the
reason recorded". The honest answer is that the choice is not per plugin — it is forced, and the
same one everywhere. That is worth stating as the finding rather than dressed up as 23 independent
decisions, and the reason is recorded once below. What is genuinely per service is a short list of
extra work each one owes beyond the mechanical projection, and that is the table.
Why "split encoding" is not available
emulator/ecr_wire.gostates the rule this issue has to live under:Every record in the table below is written to state. So all three of the cheap fixes are out for all
of them:
json:"-"— changes the persisted bytes. Fine on a field never written to state; none of thesequalify. It is used on zero of the 319 declared fields, and has never been reached for.
AccountID→ the published spelling) — same problem, plus it makes everyalready-stored record read back with an empty field.
time.Time→EpochSeconds) — same problem. This is why emulator: ACM, Redshift Data and Firehose render a published Timestamp as RFC3339 where the JSON protocol publishes epoch seconds #1305's conversionsalso have to happen on projection.
"Split encoding" in Go means a second struct with different tags, which is the render function. So
the two options the criterion offers are the same option here, and the answer for every service is
project, via a
<service>_wire.goon the pattern ofemulator/ecr_wire.go(#1090),emulator/apigateway_wire.go(#529),emulator/appsync_wire.go(#1121) and nowemulator/efs_wire.go(#1304).The one case where the answer could have been delete — a field nothing reads and nothing has
persisted — does not occur. Checked per service: every account/Region read in these plugins is
reqCtx.AccountID/reqCtx.Region, so no reader blocks deletion; the writer does.Three services are already done and are simply not recorded
Found while measuring, and this is the cheapest work left in the issue:
appsyncAppSyncGraphQLApi(2 lines)…ToWire(#1121)wire-bookkeeping-projected.txtline citingTestAppSyncWire_GraphqlAPIAnswersArn, which already asserts"region","accountId"and"AccountID"are absent from the raw bytes of all fourgraphqlApioperationsapigatewayapigateway_wire.go(#529)apigateway_wire_test.goasserts members but never absenceapigatewayv2apigatewayv2_wire.godynamodbDynamoDBTable,DynamoDBStreamCursor(3 lines)dynamodb_wire.go(#1013)That is 36 declared lines — 12% of the 306 still counted as reachable — closable without touching
a single plugin. The inventory's
appsyncrow is stale for the same reason: the instrumented passpredates #1121.
And IAM is a misclassification, not a leak
The inventory lists
iam | 3 ops | 3 obs | leaks: Region. It does not. The only two wire-visibleRegionfields inemulator/iam*.goareIAMRoleLastUsed.RegionandIAMSLRRoleUsage.Region, andAPI_RoleLastUsedandAPI_RoleUsageTypeeach publishRegion— "the name of the AWS Region inwhich the role was last used" and "where the service-linked role is being used". Both are excluded as
of #1306. IAM's three remaining baseline lines (
IAMAccessKey.AccountID,IAMRole.EverTagged,IAMUser.EverTagged) were not observed reaching a body, which is the floor-not-ceiling caveatdoing its job rather than a clean bill:
AccessKeyMetadatapublishes noAccountId, so if that oneever reaches a response it is a leak.
So the observed-leak count is 25 − EFS (#1304) − IAM (reclassified) − AppSync (already projected) =
22 services needing a new wire file.
The 22, with what each owes beyond the mechanical projection
Decision is
projectfor every row; the column that varies is the second one.acmACMCertificateCreatedAtmust become epoch seconds on the way out; checkIssuedAt,NotBefore,NotAfterat the same timefirehoseFirehoseDeliveryStreamCreateTimestampis published but RFC3339;LastUpdateTimestampis published and absentredshift-dataRedshiftDataStatementCreatedAtandUpdatedAtare both published members, both wrong type. No bookkeeping leak besidesAccountID/RegionssoSSOAccountAssignment,SSOInstance,SSOPermissionSetAccountIDis a wrong spelling of theAccountIdAPI_AccountAssignmentpublishes. Same shape as AppSync'sapiArn→arn: the value is right, the member name is wrong, so the projection republishes it rather than dropping itbudgetsBudgetAccountId/CreatedAt/Regiontrio is the one classification in the inventory never confirmed against its reference, because the Budgets API reference is not machine-retrievable. Do not project on the spelling argument alonedynamodbDynamoDBTable,DynamoDBStreamCursor/Items/[]/CreatedAt,/Items/[]/Meta/M/Region— note theM). A schemaless service defeats the instrumentation, so this one cannot be driven off the measurementecsECSCluster,ECSService,ECSTask,ECSTaskDefinitionECSService.CreatedAtalready usesEpochSeconds— the model for the othersglueGlueConnection,GlueCrawler,GlueDatabase,GlueJob,GlueJobRun,GlueTableCreatedAton five of themcognito-idpCognitoGroup,CognitoIdentityPool,CognitoUser,CognitoUserPool,CognitoUserPoolClientbackupBackupPlan,BackupSelection,BackupVaultUpdatedAtin the observed setcloudtrailCloudTrailTrailcodebuildCodeBuildBuild,CodeBuildProjectcodedeployCodeDeployApp,CodeDeployDeployment,CodeDeployGroupcodepipelineCodePipelineExecution,CodePipelineStatebatchBatchJobCreatedAtis published (JobDetail.createdAt, Long/epoch-ms) and staysbedrock-runtimeBedrockModelInvocationJobemrserverlessEMRServerlessApp,EMRServerlessJobRunomicsOmicsRunquicksightQuickSightDataSet,QuickSightDataSourceramRAMResourceSharesagemakerSageMakerApp,SageMakerTrainingJobsesv2SESv2CapturedEmail,SESv2IdentityGetEmailIdentitypublishes none of the three members it emits — verifiedtransferTransferServer,TransferUserwafv2WAFv2IPSet,WAFv2WebACL(24 rows: the 22 plus
batchandredshift-data, which are listed because they still leakAccountID/Regioneven though theirCreatedAtis published.)What every row also owes, identically
the record — including the single-resource filtered arms of a Describe, which is where fix(#756): render EFS responses from the published shape #1304
undercounted EFS nine when it was ten.
response that failed. fix(#756): render EFS responses from the published shape #1304 shipped an
ever_taggedassertion that was vacuous until the test wasmade to tag the resource first —
EverTaggedis set only byTagResource, never bycreate-with-tags.
scripts/wire-bookkeeping-projected.txtline per record, citing that test by name. The checkrefuses a citation naming a test the tree does not define, which is what keeps the third column a
citation rather than a comment.
EverTaggedstays on the record whereverTaggingPluginreads it across the service boundary, andthe projection is the only thing that hides it.
gained
CreationTime,SizeInBytesand twoOwnerIds that way, two of them out of the veryAccountIDthat was leaking.Status
that the choice is forced rather than free, and the reason is the replay invariant.
36 of those are the four already-projecting services above, and the rest are the 22.
Denominator history, so the number is readable: 330 declared at AC1 → 330/13/317 after EFS (#1304) →
319/13/306 after #1306 removed eleven lines that were filing published members as defects.
47 remaining items
fix(#756): answer ACM's DescribeCertificate through a projection, wit…
fix(#756): answer Budgets' DescribeBudget and DescribeBudgets through…
fix(#756): answer CloudTrail's trail through a projection (#1356)
fix(#1345): answer IAM Identity Center's permission set through a pro…
scttfrdmn commentedon Oct 3, 2026
AC3: the 3-line block is discharged, leaving 37 still reachable
IAMRole,IAMUser,IAMAccessKey)KMSKey)MSKCluster)S3Bucket)SecretState)SSMParameter)ACMCertificate)Budget)CloudTrailTrail)Found along the way
s3: an unrouted bucket sub-resource falls through to DeleteBucket, so DeleteBucketEncryption (and four others) delete the bucket #1349, a data-loss bug, filed and fixed by fix(#1349): name every published S3 sub-resource, so an unrouted one is refused rather than reinterpreted #1351. Writing the S3 wire test showed that the
bucket router reached its defaults by absence:
DeleteBucketCors,DeleteBucketEncryption,DeleteBucketWebsite,DeleteBucketOwnershipControlsandDeleteBucketReplicationeach deleted the bucket.PutObjectRetention/PutObjectLegalHoldoverwrote the object.Every published, unrouted S3 sub-resource is now named for what it is and refused with
NotImplemented.sso: PermissionSet.CreatedDate is an RFC3339 string, so CreatePermissionSet and DescribePermissionSet cannot be decoded #1345, filed and fixed. IAM Identity Center's
CreatedDatewas RFC3339, and so wasListInstances'. ACM's four dates closed emulator: ACM, Redshift Data and Firehose render a published Timestamp as RFC3339 where the JSON protocol publishes epoch seconds #1305's ACM row. emulator: ACM, Redshift Data and Firehose render a published Timestamp as RFC3339 where the JSON protocol publishes epoch seconds #1305 stays open for Redshift Data andFirehose.
Tests that pinned defects, all rewritten to the published shape:
IsLoggingfrom shapes that do not publish it.CloudTrail's case means a stopped trail is now reported stopped by no response. The leaked
IsLoggingwas the only place it showed, andGetTrailStatushardcodestrue. That is CloudTrail GetTrailStatus hardcodes IsLogging: true, so StopLogging is unobservable and a trail is born logging #1157's tofix, and it is commented.
SSO needed an exact-case walk. The assignment operations publish
AccountId(the target), whichdiffers from the bookkeeping
AccountIDonly in case. A control proved the shared folded walkfalse-positives there.
What remains: 37 lines
athena,batch,bedrock_runtime,cloudfront,ec2_capacity_reservations,ec2_fleet,firehose,fsx,omics,ram,redshiftdata,route53,scheduler, and theremaining
iam/lambda/sqsEverTaggedlines.STSSessionCredentials,CFNStackState,CFNChangeSet,DynamoDBStreamCursor,kinesisIterator.Leaving this issue open.
scttfrdmn commentedon Oct 3, 2026
Correction to the remainder list in the comment above: IAM is not remaining. #1346 cited
IAMRole,IAMUserandIAMAccessKey. The exact 37, recomputed from the three inventory files:AthenaQuery,BatchJob,BedrockModelInvocationJob,CloudFrontDistribution,EC2CapacityReservation,EC2Fleet,FirehoseDeliveryStream,FSxFileSystem,OmicsRun,RAMResourceShare,RedshiftDataStatement,SchedulerRecordLambdaFunctionandSQSQueue(EverTagged), andRoute53HostedZoneCFNStackState+CFNChangeSet(5 lines),DynamoDBStreamCursor(2),kinesisIterator(2),STSSessionCredentials(1)test(#756): pin Athena, Redshift Data, Scheduler and FSx projections …
test(#756): pin Lambda, SQS and Route 53 records' bookkeeping and rec…
test(#756): pin EC2 capacity reservation, EC2 fleet and CloudFront re…
fix(#1305): answer Firehose's DescribeDeliveryStream through a projec…
fix(#756): answer HealthOmics, Bedrock, RAM and Batch records through…
test(#756): pin STS, CloudFormation and both shard iterators, and mak…
scttfrdmn commentedon Oct 3, 2026
AC3 is met, so every acceptance criterion is now checked and I'm closing this.
scripts/check-wire-bookkeeping.shonmain(b7b1f12): 319 declared, 310 projected across 134 records, 9 internal across 6 records, 0 still reachable. Every declared bookkeeping field (AccountID / Region / CreatedAt / UpdatedAt / EverTagged, in every spelling) is now in one of two places:scripts/wire-bookkeeping-projected.txt. It reads the member back from the stored record first, then walks every routed operation's response for it at any depth.scripts/wire-bookkeeping-internal.txt(feat(#756): discharge records no AWS response renders, through a third inventory #1337), because no AWS response renders it. Each entry has an anchor the check verifies exists in the tree.Zero is now enforced, not just reported. Since #1367, the check fails and names any record that declares a bookkeeping field and that neither file discharges, so
--writecannot admit a new record silently.The tail since the last update:
Fixes #1305) and fix(#756): answer HealthOmics, Bedrock, RAM and Batch records through projections #1363 (HealthOmics, Bedrock, RAM, Batch). The RAM fix also stoppedprincipals/resourceArnsreaching a share, and the Bedrock and RAM fixes put their dates into the published form.Scope: this issue is about substrate's bookkeeping members. Published-shape gaps that are not bookkeeping stay tracked in #1199. That covers members AWS publishes that substrate omits, and non-bookkeeping members AWS does not publish.
Filed along the way: #1360 (CloudFront
InvalidationBatch), #1364 (OmicsCANCELLED), #1365 (147 discardedjson.Marshalerrors) and #1366 (CloudFormation state keys unscoped by account/Region).chore(release): v0.121.0 (#1369)