nomoss 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +62 -26
  3. package/ROADMAP.md +17 -0
  4. package/docs/README.md +19 -0
  5. package/docs/application/aws-resource-lifecycle-management.md +57 -0
  6. package/docs/application/cli-workflow.md +111 -0
  7. package/docs/application/engine-design.md +43 -0
  8. package/docs/application/generation-architecture.md +320 -0
  9. package/docs/application/resource-command-policy-stage.md +37 -0
  10. package/docs/application/resource-graph.md +45 -0
  11. package/docs/application/resource-lifecycle-tracker.md +51 -0
  12. package/docs/application/resource-mapping.md +117 -0
  13. package/docs/application/resource-operations.md +39 -0
  14. package/docs/application/resource-outputs.md +66 -0
  15. package/docs/application/tracing.md +31 -0
  16. package/docs/development/code-documentation.md +52 -0
  17. package/docs/development/commit-message-spec.md +9 -0
  18. package/docs/development/effect-native-development.md +45 -0
  19. package/docs/development/linting.md +39 -0
  20. package/docs/development/resource-graph-testing-approach.md +9 -0
  21. package/docs/development/review-code.md +57 -0
  22. package/docs/development/review-docs.md +27 -0
  23. package/docs/development/review-remediation-spec.md +49 -0
  24. package/docs/development/spec-writing.md +35 -0
  25. package/docs/development/testing.md +111 -0
  26. package/docs/development/unslop.md +55 -0
  27. package/docs/operations/observability-sop.md +38 -0
  28. package/docs/operations/releasing.md +5 -0
  29. package/examples/README.md +34 -0
  30. package/examples/cli.ts +15 -0
  31. package/examples/commands.ts +66 -0
  32. package/examples/http-echo/application.ts +87 -0
  33. package/examples/http-echo/index.ts +54 -0
  34. package/examples/queue/application.ts +31 -0
  35. package/examples/state-machine/application.ts +55 -0
  36. package/examples/stripe-billing/application.ts +56 -0
  37. package/media/nomoss-http-demo.gif +0 -0
  38. package/package.json +63 -18
  39. package/src/cli.ts +31 -13
  40. package/src/cliCommand.ts +207 -170
  41. package/src/cliDiagnostics.ts +104 -0
  42. package/src/core/asset.ts +350 -0
  43. package/src/core/index.ts +61 -17
  44. package/src/core/{lifecycle.ts → resource/lifecycle.ts} +33 -3
  45. package/src/core/resource/model.ts +1168 -0
  46. package/src/core/resource/resourceCommandPolicy.ts +68 -0
  47. package/src/core/resource/resourceGraphBuilder.ts +319 -0
  48. package/src/core/resource/resourceGraphStore.ts +373 -0
  49. package/src/core/resource/resourceOutputBinding.ts +113 -0
  50. package/src/core/resource/resourceOutputResolver.ts +365 -0
  51. package/src/core/resource/resourceRequest.ts +186 -0
  52. package/src/core/runtime/stackRuntimeLayer.ts +16 -0
  53. package/src/core/runtime/tracing.ts +43 -0
  54. package/src/core/stack/planner.ts +654 -0
  55. package/src/core/stack/resourceDisplay.ts +213 -0
  56. package/src/core/stack/resourceStackDefinition.ts +32 -0
  57. package/src/core/stack/resourceStackLifecycle.ts +1196 -0
  58. package/src/core/stack/resourceStackOperations.ts +642 -0
  59. package/src/core/stack/resourceStackProgress.ts +169 -0
  60. package/src/core/stack/stackWorkflowRenderer.ts +756 -0
  61. package/src/core/state/localState.ts +18 -0
  62. package/src/core/state/resourceState.ts +75 -0
  63. package/src/core/{stateSecretService.ts → state/stateSecretService.ts} +183 -193
  64. package/src/core/state/stateStore.ts +553 -0
  65. package/src/providers/aws/client/awsClient.ts +418 -0
  66. package/src/providers/aws/client/awsClientConfig.ts +133 -0
  67. package/src/providers/aws/client/awsClientModel.ts +119 -0
  68. package/src/providers/aws/client/awsHttpOperation.ts +153 -0
  69. package/src/providers/aws/client/awsQueryOperation.ts +149 -0
  70. package/src/providers/aws/client/awsRequestSigner.ts +115 -0
  71. package/src/providers/aws/client/awsResponseDecoder.ts +135 -0
  72. package/src/providers/aws/client/awsRetryPolicy.ts +62 -0
  73. package/src/providers/aws/client/generated/apiGatewayV2.ts +3025 -0
  74. package/src/providers/aws/client/generated/cloudControl.ts +5746 -0
  75. package/src/providers/aws/client/generated/iam.ts +10892 -0
  76. package/src/providers/aws/client/generated/lambda.ts +5403 -0
  77. package/src/providers/aws/client/generated/sqs.ts +3769 -0
  78. package/src/providers/aws/client/generated/stepFunctions.ts +1726 -0
  79. package/src/providers/aws/client/openapi/cloudControl/CancelResourceRequest.json +579 -0
  80. package/src/providers/aws/client/openapi/cloudControl/CreateResource.json +1019 -0
  81. package/src/providers/aws/client/openapi/cloudControl/DeleteResource.json +1018 -0
  82. package/src/providers/aws/client/openapi/cloudControl/GetResource.json +883 -0
  83. package/src/providers/aws/client/openapi/cloudControl/GetResourceRequestStatus.json +655 -0
  84. package/src/providers/aws/client/openapi/cloudControl/ListResourceRequests.json +566 -0
  85. package/src/providers/aws/client/openapi/cloudControl/ListResources.json +913 -0
  86. package/src/providers/aws/client/openapi/cloudControl/UpdateResource.json +1027 -0
  87. package/src/providers/aws/cloudControl/client.ts +69 -0
  88. package/src/providers/aws/cloudControl/requestTracker.ts +138 -0
  89. package/src/providers/aws/cloudControl/resourceCommandPolicyLayer.ts +63 -0
  90. package/src/providers/aws/cloudControl/resourceLifecycle.ts +479 -0
  91. package/src/providers/aws/cloudControl/resources/generated/certificatemanager/certificate/index.ts +179 -0
  92. package/src/providers/aws/cloudControl/resources/generated/kms/key/index.ts +362 -0
  93. package/src/providers/aws/cloudControl/resources/generated/s3/bucket/index.ts +2364 -0
  94. package/src/providers/aws/cloudControl/resources/generated/sns/topic/index.ts +326 -0
  95. package/src/providers/aws/cloudControl/resources/generated/sqs/queue/index.ts +307 -0
  96. package/src/providers/aws/cloudControl/resources/generated/sqs/queueinlinepolicy/index.ts +108 -0
  97. package/src/providers/aws/cloudControl/runtime.ts +127 -0
  98. package/src/providers/aws/management/resourceConfiguration.ts +121 -0
  99. package/src/providers/aws/management/resourceMapping.ts +343 -0
  100. package/src/providers/aws/management/resourceOperation.ts +57 -0
  101. package/src/providers/aws/management/resourcePolicy.ts +549 -0
  102. package/src/providers/aws/management/resourceRegistration.ts +294 -0
  103. package/src/providers/aws/resources/apiGatewayV2/httpApi.ts +327 -0
  104. package/src/providers/aws/resources/generated/native/apigatewayv2/api/index.ts +565 -0
  105. package/src/providers/aws/resources/generated/native/apigatewayv2/integration/index.ts +583 -0
  106. package/src/providers/aws/resources/generated/native/apigatewayv2/route/index.ts +438 -0
  107. package/src/providers/aws/resources/generated/native/apigatewayv2/stage/index.ts +391 -0
  108. package/src/providers/aws/resources/generated/native/iam/group/index.ts +319 -0
  109. package/src/providers/aws/resources/generated/native/iam/grouppolicy/index.ts +274 -0
  110. package/src/providers/aws/resources/generated/native/iam/instanceprofile/index.ts +277 -0
  111. package/src/providers/aws/resources/generated/native/iam/managedpolicy/index.ts +600 -0
  112. package/src/providers/aws/resources/generated/native/iam/policy/index.ts +279 -0
  113. package/src/providers/aws/resources/generated/native/iam/role/index.ts +478 -0
  114. package/src/providers/aws/resources/generated/native/iam/rolepolicy/index.ts +272 -0
  115. package/src/providers/aws/resources/generated/native/iam/user/index.ts +460 -0
  116. package/src/providers/aws/resources/generated/native/iam/userpolicy/index.ts +272 -0
  117. package/src/providers/aws/resources/generated/native/iam/usertogroupaddition/index.ts +226 -0
  118. package/src/providers/aws/resources/generated/native/kms/key/index.ts +580 -0
  119. package/src/providers/aws/resources/generated/native/lambda/function/index.ts +1974 -0
  120. package/src/providers/aws/resources/generated/native/lambda/permission/index.ts +955 -0
  121. package/src/providers/aws/resources/generated/native/resourceCommands.ts +152 -0
  122. package/src/providers/aws/resources/generated/native/s3/bucket/index.ts +3415 -0
  123. package/src/providers/aws/resources/generated/native/sns/topic/index.ts +551 -0
  124. package/src/providers/aws/resources/generated/native/sqs/queue/index.ts +500 -0
  125. package/src/providers/aws/resources/generated/native/stepfunctions/statemachine/index.ts +763 -0
  126. package/src/providers/aws/resources/iam/grant.ts +150 -0
  127. package/src/providers/aws/resources/iam/grantCommands.ts +283 -0
  128. package/src/providers/aws/resources/iam/policyDocument.ts +30 -0
  129. package/src/providers/aws/resources/iam/policyStatement.ts +59 -0
  130. package/src/providers/aws/resources/iam/role.ts +426 -0
  131. package/src/providers/aws/resources/iam/roleDeclaration.ts +105 -0
  132. package/src/providers/aws/resources/lambda/function.ts +403 -0
  133. package/src/providers/aws/resources/lambda/functionDeclaration.ts +234 -0
  134. package/src/providers/aws/resources/lambda/permission.ts +363 -0
  135. package/src/providers/aws/resources/stepFunctions/stateMachine.ts +95 -0
  136. package/src/providers/aws/runtime.ts +70 -0
  137. package/src/providers/file/jsonFile.ts +94 -0
  138. package/src/providers/file/model.ts +29 -0
  139. package/src/providers/file/resourcePolicy.ts +270 -0
  140. package/src/providers/index.ts +0 -2
  141. package/src/providers/providerRuntimeLayer.ts +24 -113
  142. package/src/providers/resourceCommandPolicyLayer.ts +77 -206
  143. package/src/providers/stripe/client/generated/LICENSE +21 -0
  144. package/src/providers/stripe/client/generated/accounts.ts +14360 -0
  145. package/src/providers/stripe/client/generated/applePayDomains.ts +313 -0
  146. package/src/providers/stripe/client/generated/appsInstalls.ts +495 -0
  147. package/src/providers/stripe/client/generated/billingAlerts.ts +515 -0
  148. package/src/providers/stripe/client/generated/billingCreditGrants.ts +631 -0
  149. package/src/providers/stripe/client/generated/billingFeedbackOptions.ts +396 -0
  150. package/src/providers/stripe/client/generated/billingMeters.ts +688 -0
  151. package/src/providers/stripe/client/generated/billingPortalConfigurations.ts +1279 -0
  152. package/src/providers/stripe/client/generated/catalog.ts +18881 -0
  153. package/src/providers/stripe/client/generated/charges.ts +2637 -0
  154. package/src/providers/stripe/client/generated/checkoutSessions.ts +5692 -0
  155. package/src/providers/stripe/client/generated/climateOrders.ts +472 -0
  156. package/src/providers/stripe/client/generated/commerceProductCatalogImports.ts +268 -0
  157. package/src/providers/stripe/client/generated/configuration.ts +3 -0
  158. package/src/providers/stripe/client/generated/coreAccountTokens.ts +2492 -0
  159. package/src/providers/stripe/client/generated/coreEventDestinations.ts +684 -0
  160. package/src/providers/stripe/client/generated/coreVaultGbBankAccounts.ts +380 -0
  161. package/src/providers/stripe/client/generated/coreVaultUsBankAccounts.ts +648 -0
  162. package/src/providers/stripe/client/generated/coupons.ts +562 -0
  163. package/src/providers/stripe/client/generated/creditNotes.ts +1430 -0
  164. package/src/providers/stripe/client/generated/customers.ts +10712 -0
  165. package/src/providers/stripe/client/generated/entitlementsFeatures.ts +378 -0
  166. package/src/providers/stripe/client/generated/fileLinks.ts +383 -0
  167. package/src/providers/stripe/client/generated/financialConnectionsSessions.ts +297 -0
  168. package/src/providers/stripe/client/generated/forwardingRequests.ts +366 -0
  169. package/src/providers/stripe/client/generated/identityVerificationSessions.ts +780 -0
  170. package/src/providers/stripe/client/generated/index.ts +330 -0
  171. package/src/providers/stripe/client/generated/invoiceitems.ts +924 -0
  172. package/src/providers/stripe/client/generated/invoices.ts +8412 -0
  173. package/src/providers/stripe/client/generated/issuingCardholders.ts +4650 -0
  174. package/src/providers/stripe/client/generated/issuingCards.ts +4622 -0
  175. package/src/providers/stripe/client/generated/issuingDisputes.ts +1474 -0
  176. package/src/providers/stripe/client/generated/issuingPersonalizationDesigns.ts +634 -0
  177. package/src/providers/stripe/client/generated/models/accounts.ts +2808 -0
  178. package/src/providers/stripe/client/generated/models/billing.ts +2527 -0
  179. package/src/providers/stripe/client/generated/models/catalog.ts +3411 -0
  180. package/src/providers/stripe/client/generated/models/charges.ts +3616 -0
  181. package/src/providers/stripe/client/generated/models/common.ts +25024 -0
  182. package/src/providers/stripe/client/generated/models/customers.ts +1559 -0
  183. package/src/providers/stripe/client/generated/models/invoices.ts +3881 -0
  184. package/src/providers/stripe/client/generated/models/issuing.ts +7083 -0
  185. package/src/providers/stripe/client/generated/models/issuingCardholders.ts +2495 -0
  186. package/src/providers/stripe/client/generated/models/paymentIntents.ts +4148 -0
  187. package/src/providers/stripe/client/generated/models/paymentMethodDetails.ts +8128 -0
  188. package/src/providers/stripe/client/generated/models/paymentMethodOptions.ts +1684 -0
  189. package/src/providers/stripe/client/generated/models/paymentMethods.ts +3751 -0
  190. package/src/providers/stripe/client/generated/models/paymentSources.ts +1443 -0
  191. package/src/providers/stripe/client/generated/models/payments.ts +8558 -0
  192. package/src/providers/stripe/client/generated/models/setupIntents.ts +3344 -0
  193. package/src/providers/stripe/client/generated/models/sources.ts +1898 -0
  194. package/src/providers/stripe/client/generated/models/subscriptions.ts +3836 -0
  195. package/src/providers/stripe/client/generated/models/transfers.ts +1197 -0
  196. package/src/providers/stripe/client/generated/models/treasury.ts +3852 -0
  197. package/src/providers/stripe/client/generated/models/v2Accounts.ts +13649 -0
  198. package/src/providers/stripe/client/generated/models/v2Errors.ts +13829 -0
  199. package/src/providers/stripe/client/generated/moneyManagementFinancialAddresses.ts +317 -0
  200. package/src/providers/stripe/client/generated/moneyManagementInboundTransfers.ts +380 -0
  201. package/src/providers/stripe/client/generated/moneyManagementOutboundPayments.ts +828 -0
  202. package/src/providers/stripe/client/generated/moneyManagementOutboundSetupIntents.ts +596 -0
  203. package/src/providers/stripe/client/generated/moneyManagementPayoutIntents.ts +1149 -0
  204. package/src/providers/stripe/client/generated/moneyManagementRecipientVerifications.ts +226 -0
  205. package/src/providers/stripe/client/generated/paymentIntents.ts +17752 -0
  206. package/src/providers/stripe/client/generated/paymentLinks.ts +4199 -0
  207. package/src/providers/stripe/client/generated/paymentMethodConfigurations.ts +4835 -0
  208. package/src/providers/stripe/client/generated/paymentMethodDomains.ts +429 -0
  209. package/src/providers/stripe/client/generated/paymentMethods.ts +2372 -0
  210. package/src/providers/stripe/client/generated/payouts.ts +589 -0
  211. package/src/providers/stripe/client/generated/plans.ts +712 -0
  212. package/src/providers/stripe/client/generated/prices.ts +1045 -0
  213. package/src/providers/stripe/client/generated/productCatalogTrialOffers.ts +447 -0
  214. package/src/providers/stripe/client/generated/products.ts +1370 -0
  215. package/src/providers/stripe/client/generated/promotionCodes.ts +564 -0
  216. package/src/providers/stripe/client/generated/quotes.ts +1874 -0
  217. package/src/providers/stripe/client/generated/radarValueListItems.ts +367 -0
  218. package/src/providers/stripe/client/generated/radarValueLists.ts +496 -0
  219. package/src/providers/stripe/client/generated/refunds.ts +493 -0
  220. package/src/providers/stripe/client/generated/reportingReportRuns.ts +1615 -0
  221. package/src/providers/stripe/client/generated/resourceBindings/Account.ts +200 -0
  222. package/src/providers/stripe/client/generated/resourceBindings/AccountToken.ts +175 -0
  223. package/src/providers/stripe/client/generated/resourceBindings/ApplePayDomain.ts +173 -0
  224. package/src/providers/stripe/client/generated/resourceBindings/AppsInstall.ts +201 -0
  225. package/src/providers/stripe/client/generated/resourceBindings/BankAccount.ts +228 -0
  226. package/src/providers/stripe/client/generated/resourceBindings/BillingAlert.ts +174 -0
  227. package/src/providers/stripe/client/generated/resourceBindings/BillingConfigurationExport.ts +77 -0
  228. package/src/providers/stripe/client/generated/resourceBindings/BillingCreditGrant.ts +201 -0
  229. package/src/providers/stripe/client/generated/resourceBindings/BillingFeedbackOption.ts +197 -0
  230. package/src/providers/stripe/client/generated/resourceBindings/BillingMeter.ts +201 -0
  231. package/src/providers/stripe/client/generated/resourceBindings/BillingPortalConfiguration.ts +214 -0
  232. package/src/providers/stripe/client/generated/resourceBindings/Card.ts +231 -0
  233. package/src/providers/stripe/client/generated/resourceBindings/Charge.ts +202 -0
  234. package/src/providers/stripe/client/generated/resourceBindings/CheckoutSession.ts +199 -0
  235. package/src/providers/stripe/client/generated/resourceBindings/ClimateOrder.ts +201 -0
  236. package/src/providers/stripe/client/generated/resourceBindings/Coupon.ts +202 -0
  237. package/src/providers/stripe/client/generated/resourceBindings/CreditNote.ts +200 -0
  238. package/src/providers/stripe/client/generated/resourceBindings/Customer.ts +200 -0
  239. package/src/providers/stripe/client/generated/resourceBindings/EntitlementsFeature.ts +201 -0
  240. package/src/providers/stripe/client/generated/resourceBindings/EventDestination.ts +197 -0
  241. package/src/providers/stripe/client/generated/resourceBindings/FileLink.ts +200 -0
  242. package/src/providers/stripe/client/generated/resourceBindings/FinancialAddress.ts +177 -0
  243. package/src/providers/stripe/client/generated/resourceBindings/FinancialConnectionsSession.ts +180 -0
  244. package/src/providers/stripe/client/generated/resourceBindings/ForwardingRequest.ts +173 -0
  245. package/src/providers/stripe/client/generated/resourceBindings/GBBankAccount.ts +171 -0
  246. package/src/providers/stripe/client/generated/resourceBindings/IdentityVerificationSession.ts +214 -0
  247. package/src/providers/stripe/client/generated/resourceBindings/InboundTransfer.ts +177 -0
  248. package/src/providers/stripe/client/generated/resourceBindings/Invoice.ts +200 -0
  249. package/src/providers/stripe/client/generated/resourceBindings/Invoiceitem.ts +200 -0
  250. package/src/providers/stripe/client/generated/resourceBindings/IssuingCard.ts +201 -0
  251. package/src/providers/stripe/client/generated/resourceBindings/IssuingCardholder.ts +198 -0
  252. package/src/providers/stripe/client/generated/resourceBindings/IssuingDispute.ts +199 -0
  253. package/src/providers/stripe/client/generated/resourceBindings/IssuingPersonalizationDesign.ts +214 -0
  254. package/src/providers/stripe/client/generated/resourceBindings/OutboundPayment.ts +177 -0
  255. package/src/providers/stripe/client/generated/resourceBindings/OutboundSetupIntent.ts +206 -0
  256. package/src/providers/stripe/client/generated/resourceBindings/PaymentIntent.ts +200 -0
  257. package/src/providers/stripe/client/generated/resourceBindings/PaymentLink.ts +200 -0
  258. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethod.ts +195 -0
  259. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodConfiguration.ts +214 -0
  260. package/src/providers/stripe/client/generated/resourceBindings/PaymentMethodDomain.ts +208 -0
  261. package/src/providers/stripe/client/generated/resourceBindings/Payout.ts +202 -0
  262. package/src/providers/stripe/client/generated/resourceBindings/PayoutIntent.ts +206 -0
  263. package/src/providers/stripe/client/generated/resourceBindings/Plan.ts +199 -0
  264. package/src/providers/stripe/client/generated/resourceBindings/Price.ts +199 -0
  265. package/src/providers/stripe/client/generated/resourceBindings/Product.ts +196 -0
  266. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogImport.ts +177 -0
  267. package/src/providers/stripe/client/generated/resourceBindings/ProductCatalogTrialOffer.ts +201 -0
  268. package/src/providers/stripe/client/generated/resourceBindings/PromotionCode.ts +195 -0
  269. package/src/providers/stripe/client/generated/resourceBindings/Quote.ts +199 -0
  270. package/src/providers/stripe/client/generated/resourceBindings/RadarValueList.ts +195 -0
  271. package/src/providers/stripe/client/generated/resourceBindings/RadarValueListItem.ts +175 -0
  272. package/src/providers/stripe/client/generated/resourceBindings/RecipientVerification.ts +177 -0
  273. package/src/providers/stripe/client/generated/resourceBindings/Refund.ts +202 -0
  274. package/src/providers/stripe/client/generated/resourceBindings/ReportingReportRun.ts +173 -0
  275. package/src/providers/stripe/client/generated/resourceBindings/SetupIntent.ts +201 -0
  276. package/src/providers/stripe/client/generated/resourceBindings/ShippingRate.ts +205 -0
  277. package/src/providers/stripe/client/generated/resourceBindings/Source.ts +202 -0
  278. package/src/providers/stripe/client/generated/resourceBindings/Subscription.ts +207 -0
  279. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionItem.ts +199 -0
  280. package/src/providers/stripe/client/generated/resourceBindings/SubscriptionSchedule.ts +203 -0
  281. package/src/providers/stripe/client/generated/resourceBindings/TaxId.ts +172 -0
  282. package/src/providers/stripe/client/generated/resourceBindings/TaxLocation.ts +174 -0
  283. package/src/providers/stripe/client/generated/resourceBindings/TaxRate.ts +200 -0
  284. package/src/providers/stripe/client/generated/resourceBindings/TaxRegistration.ts +200 -0
  285. package/src/providers/stripe/client/generated/resourceBindings/TerminalConfiguration.ts +208 -0
  286. package/src/providers/stripe/client/generated/resourceBindings/TerminalLocation.ts +195 -0
  287. package/src/providers/stripe/client/generated/resourceBindings/TerminalReader.ts +199 -0
  288. package/src/providers/stripe/client/generated/resourceBindings/TestHelpersTestClock.ts +208 -0
  289. package/src/providers/stripe/client/generated/resourceBindings/ThreeDSecureAuthentication.ts +180 -0
  290. package/src/providers/stripe/client/generated/resourceBindings/Token.ts +172 -0
  291. package/src/providers/stripe/client/generated/resourceBindings/Topup.ts +199 -0
  292. package/src/providers/stripe/client/generated/resourceBindings/Transfer.ts +200 -0
  293. package/src/providers/stripe/client/generated/resourceBindings/TreasuryCreditReversal.ts +175 -0
  294. package/src/providers/stripe/client/generated/resourceBindings/TreasuryDebitReversal.ts +176 -0
  295. package/src/providers/stripe/client/generated/resourceBindings/TreasuryFinancialAccount.ts +209 -0
  296. package/src/providers/stripe/client/generated/resourceBindings/TreasuryInboundTransfer.ts +172 -0
  297. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundPayment.ts +172 -0
  298. package/src/providers/stripe/client/generated/resourceBindings/TreasuryOutboundTransfer.ts +175 -0
  299. package/src/providers/stripe/client/generated/resourceBindings/USBankAccount.ts +195 -0
  300. package/src/providers/stripe/client/generated/resourceBindings/V1Account.ts +200 -0
  301. package/src/providers/stripe/client/generated/resourceBindings/WebhookEndpoint.ts +233 -0
  302. package/src/providers/stripe/client/generated/resourceCatalog.ts +10160 -0
  303. package/src/providers/stripe/client/generated/resourceCommands.ts +2132 -0
  304. package/src/providers/stripe/client/generated/resourceDeclarations.ts +3738 -0
  305. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5062 -0
  306. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5072 -0
  307. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +2450 -0
  308. package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +2461 -0
  309. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +30 -0
  310. package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +41 -0
  311. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +70 -0
  312. package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +81 -0
  313. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +189 -0
  314. package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +177 -0
  315. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +80 -0
  316. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +105 -0
  317. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportDocumentSchema.ts +38 -0
  318. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +226 -0
  319. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +65 -0
  320. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +204 -0
  321. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +194 -0
  322. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +38 -0
  323. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +48 -0
  324. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +117 -0
  325. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +128 -0
  326. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +282 -0
  327. package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +516 -0
  328. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +189 -0
  329. package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +176 -0
  330. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +533 -0
  331. package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +501 -0
  332. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +4486 -0
  333. package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +4601 -0
  334. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +93 -0
  335. package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +104 -0
  336. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +158 -0
  337. package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +168 -0
  338. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +326 -0
  339. package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +300 -0
  340. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +833 -0
  341. package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +818 -0
  342. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +54 -0
  343. package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +64 -0
  344. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +167 -0
  345. package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +178 -0
  346. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +74 -0
  347. package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +66 -0
  348. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +62 -0
  349. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +73 -0
  350. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +192 -0
  351. package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +198 -0
  352. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +126 -0
  353. package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +137 -0
  354. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +52 -0
  355. package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +63 -0
  356. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +203 -0
  357. package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +214 -0
  358. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +104 -0
  359. package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +115 -0
  360. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +1775 -0
  361. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +1632 -0
  362. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +343 -0
  363. package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +311 -0
  364. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +2230 -0
  365. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +2204 -0
  366. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +2152 -0
  367. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +2191 -0
  368. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +178 -0
  369. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +580 -0
  370. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +179 -0
  371. package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +166 -0
  372. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +253 -0
  373. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +264 -0
  374. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +123 -0
  375. package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +133 -0
  376. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +5519 -0
  377. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +5464 -0
  378. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +1775 -0
  379. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +1967 -0
  380. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +2280 -0
  381. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +2291 -0
  382. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +45 -0
  383. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +55 -0
  384. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +1609 -0
  385. package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +1600 -0
  386. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +272 -0
  387. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +283 -0
  388. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +141 -0
  389. package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +105 -0
  390. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +225 -0
  391. package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +304 -0
  392. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +434 -0
  393. package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +427 -0
  394. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +41 -0
  395. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +51 -0
  396. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +129 -0
  397. package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +127 -0
  398. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +365 -0
  399. package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +375 -0
  400. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +185 -0
  401. package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +171 -0
  402. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +700 -0
  403. package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +627 -0
  404. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +46 -0
  405. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +57 -0
  406. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +83 -0
  407. package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +94 -0
  408. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +35 -0
  409. package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +45 -0
  410. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +175 -0
  411. package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +130 -0
  412. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +1363 -0
  413. package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +1374 -0
  414. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +35 -0
  415. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +35 -0
  416. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +44 -0
  417. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +35 -0
  418. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +35 -0
  419. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +35 -0
  420. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +35 -0
  421. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +35 -0
  422. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +35 -0
  423. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +35 -0
  424. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +35 -0
  425. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +35 -0
  426. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +68 -0
  427. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +35 -0
  428. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +35 -0
  429. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +35 -0
  430. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +35 -0
  431. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +35 -0
  432. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +44 -0
  433. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +35 -0
  434. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +35 -0
  435. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +35 -0
  436. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +35 -0
  437. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +35 -0
  438. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +35 -0
  439. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +35 -0
  440. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +35 -0
  441. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +35 -0
  442. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +44 -0
  443. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +35 -0
  444. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +35 -0
  445. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +35 -0
  446. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +35 -0
  447. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +35 -0
  448. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +35 -0
  449. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +35 -0
  450. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +35 -0
  451. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +35 -0
  452. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +59 -0
  453. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +35 -0
  454. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +35 -0
  455. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +35 -0
  456. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +35 -0
  457. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +35 -0
  458. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +35 -0
  459. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +111 -0
  460. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +35 -0
  461. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +77 -0
  462. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +35 -0
  463. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +35 -0
  464. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +35 -0
  465. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +35 -0
  466. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +50 -0
  467. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +35 -0
  468. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +35 -0
  469. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +83 -0
  470. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +35 -0
  471. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +50 -0
  472. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +35 -0
  473. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +74 -0
  474. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +35 -0
  475. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +65 -0
  476. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +35 -0
  477. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +79 -0
  478. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +35 -0
  479. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +35 -0
  480. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +35 -0
  481. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +35 -0
  482. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +44 -0
  483. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +35 -0
  484. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +35 -0
  485. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +44 -0
  486. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +35 -0
  487. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +35 -0
  488. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +35 -0
  489. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +35 -0
  490. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +35 -0
  491. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +35 -0
  492. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +35 -0
  493. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +35 -0
  494. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +35 -0
  495. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +35 -0
  496. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +35 -0
  497. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +35 -0
  498. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +35 -0
  499. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +44 -0
  500. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +35 -0
  501. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +35 -0
  502. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +35 -0
  503. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +39 -0
  504. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +35 -0
  505. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +35 -0
  506. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +35 -0
  507. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +35 -0
  508. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +35 -0
  509. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +35 -0
  510. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +56 -0
  511. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +35 -0
  512. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +35 -0
  513. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +35 -0
  514. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +44 -0
  515. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +35 -0
  516. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +56 -0
  517. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +35 -0
  518. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +35 -0
  519. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +35 -0
  520. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +35 -0
  521. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +35 -0
  522. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +35 -0
  523. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +38 -0
  524. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +39 -0
  525. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +38 -0
  526. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +154 -0
  527. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +51 -0
  528. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +120 -0
  529. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +32 -0
  530. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +37 -0
  531. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +125 -0
  532. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +34 -0
  533. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +34 -0
  534. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +34 -0
  535. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +34 -0
  536. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +32 -0
  537. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +37 -0
  538. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +34 -0
  539. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +130 -0
  540. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +34 -0
  541. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +39 -0
  542. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +89 -0
  543. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +34 -0
  544. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +30 -0
  545. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +34 -0
  546. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +34 -0
  547. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +34 -0
  548. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +34 -0
  549. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +97 -0
  550. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +34 -0
  551. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +34 -0
  552. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +37 -0
  553. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +34 -0
  554. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +97 -0
  555. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +34 -0
  556. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +34 -0
  557. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +37 -0
  558. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +53 -0
  559. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +42 -0
  560. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +63 -0
  561. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +94 -0
  562. package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +34 -0
  563. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +2961 -0
  564. package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +2914 -0
  565. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +177 -0
  566. package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +188 -0
  567. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +556 -0
  568. package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +566 -0
  569. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +259 -0
  570. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +262 -0
  571. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +2128 -0
  572. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +2048 -0
  573. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +698 -0
  574. package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +1347 -0
  575. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +355 -0
  576. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +354 -0
  577. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +120 -0
  578. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +131 -0
  579. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +166 -0
  580. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +176 -0
  581. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +3328 -0
  582. package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +3339 -0
  583. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +992 -0
  584. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +916 -0
  585. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +299 -0
  586. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +310 -0
  587. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +89 -0
  588. package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +79 -0
  589. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +55 -0
  590. package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +65 -0
  591. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +711 -0
  592. package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +702 -0
  593. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +2394 -0
  594. package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +2404 -0
  595. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +148 -0
  596. package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +138 -0
  597. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +129 -0
  598. package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +97 -0
  599. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +44 -0
  600. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +54 -0
  601. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +44 -0
  602. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +54 -0
  603. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +284 -0
  604. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +293 -0
  605. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +81 -0
  606. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +91 -0
  607. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +348 -0
  608. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +358 -0
  609. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +145 -0
  610. package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +155 -0
  611. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +52 -0
  612. package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +63 -0
  613. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +3438 -0
  614. package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +3577 -0
  615. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsEntitySchema.ts +22 -0
  616. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointDeclarationPropsSchema.ts +24 -0
  617. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointLocalPropsSchema.ts +10 -0
  618. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +891 -0
  619. package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +904 -0
  620. package/src/providers/stripe/client/generated/resourceOutputs.ts +873 -0
  621. package/src/providers/stripe/client/generated/setupIntents.ts +8854 -0
  622. package/src/providers/stripe/client/generated/shippingRates.ts +558 -0
  623. package/src/providers/stripe/client/generated/sources.ts +1482 -0
  624. package/src/providers/stripe/client/generated/subscriptionItems.ts +848 -0
  625. package/src/providers/stripe/client/generated/subscriptionSchedules.ts +3145 -0
  626. package/src/providers/stripe/client/generated/subscriptions.ts +5057 -0
  627. package/src/providers/stripe/client/generated/taxIds.ts +644 -0
  628. package/src/providers/stripe/client/generated/taxLocations.ts +348 -0
  629. package/src/providers/stripe/client/generated/taxRates.ts +620 -0
  630. package/src/providers/stripe/client/generated/taxRegistrations.ts +3646 -0
  631. package/src/providers/stripe/client/generated/terminalConfigurations.ts +2181 -0
  632. package/src/providers/stripe/client/generated/terminalLocations.ts +926 -0
  633. package/src/providers/stripe/client/generated/terminalReaders.ts +1488 -0
  634. package/src/providers/stripe/client/generated/testHelpersTestClocks.ts +400 -0
  635. package/src/providers/stripe/client/generated/threeDSecureAuthentications.ts +1141 -0
  636. package/src/providers/stripe/client/generated/tokens.ts +2498 -0
  637. package/src/providers/stripe/client/generated/topups.ts +556 -0
  638. package/src/providers/stripe/client/generated/transfers.ts +786 -0
  639. package/src/providers/stripe/client/generated/treasuryCreditReversals.ts +283 -0
  640. package/src/providers/stripe/client/generated/treasuryDebitReversals.ts +286 -0
  641. package/src/providers/stripe/client/generated/treasuryFinancialAccounts.ts +1320 -0
  642. package/src/providers/stripe/client/generated/treasuryInboundTransfers.ts +381 -0
  643. package/src/providers/stripe/client/generated/treasuryOutboundPayments.ts +689 -0
  644. package/src/providers/stripe/client/generated/treasuryOutboundTransfers.ts +453 -0
  645. package/src/providers/stripe/client/generated/v1Accounts.ts +13237 -0
  646. package/src/providers/stripe/client/generated/webhookEndpoints.ts +1817 -0
  647. package/src/providers/stripe/client/stripeClient.ts +212 -0
  648. package/src/providers/stripe/client/stripeClientConfig.ts +22 -0
  649. package/src/providers/stripe/client/stripeClientModel.ts +40 -0
  650. package/src/providers/stripe/index.ts +8 -15
  651. package/src/providers/stripe/management/resourceConfiguration.ts +53 -0
  652. package/src/providers/stripe/management/resourcePolicy.ts +489 -0
  653. package/src/providers/stripe/management/resources.ts +36 -0
  654. package/src/providers/stripe/runtime.ts +74 -0
  655. package/bin/nomoss +0 -13
  656. package/docs/code-documentation.md +0 -36
  657. package/docs/effect-native-development.md +0 -55
  658. package/docs/engine-design.md +0 -93
  659. package/docs/linting.md +0 -88
  660. package/docs/releasing.md +0 -13
  661. package/docs/resource-command-policy-stage.md +0 -71
  662. package/docs/resource-graph-mvp.md +0 -31
  663. package/docs/resource-graph-testing-approach.md +0 -11
  664. package/docs/resource-lifecycle-tracker.md +0 -93
  665. package/docs/testing.md +0 -86
  666. package/examples/upload-events/README.md +0 -41
  667. package/src/cliRuntimeLayer.ts +0 -49
  668. package/src/core/model.ts +0 -229
  669. package/src/core/physicalNameStore.ts +0 -226
  670. package/src/core/planner.ts +0 -645
  671. package/src/core/resourceCommandPolicy.ts +0 -79
  672. package/src/core/resourceGraphBuilder.ts +0 -167
  673. package/src/core/resourceGraphStore.ts +0 -288
  674. package/src/core/resourceOutputResolver.ts +0 -185
  675. package/src/core/resourcePolicy.ts +0 -77
  676. package/src/core/resourceStackDefinition.ts +0 -17
  677. package/src/core/resourceStackLifecycle.ts +0 -456
  678. package/src/core/resourceStackOperations.ts +0 -129
  679. package/src/core/runtimeLayer.ts +0 -73
  680. package/src/core/stackWorkflowRenderer.ts +0 -239
  681. package/src/core/stateStore.ts +0 -652
  682. package/src/core/tracing.ts +0 -26
  683. package/src/providers/aws/awsApply.ts +0 -132
  684. package/src/providers/aws/awsBucket.ts +0 -329
  685. package/src/providers/aws/awsBucketNotification.ts +0 -351
  686. package/src/providers/aws/awsBucketNotificationResourcePolicy.ts +0 -251
  687. package/src/providers/aws/awsBucketResourcePolicy.ts +0 -198
  688. package/src/providers/aws/awsProviderLayer.ts +0 -274
  689. package/src/providers/aws/awsQueue.ts +0 -346
  690. package/src/providers/aws/awsQueuePolicy.ts +0 -419
  691. package/src/providers/aws/awsQueuePolicyResourcePolicy.ts +0 -215
  692. package/src/providers/aws/awsQueueResourcePolicy.ts +0 -270
  693. package/src/providers/aws/awsReconciliation.ts +0 -92
  694. package/src/providers/aws/awsRefresh.ts +0 -50
  695. package/src/providers/aws/awsResourceLifecycle.ts +0 -118
  696. package/src/providers/aws/awsResourcePolicy.ts +0 -83
  697. package/src/providers/aws/awsResources.ts +0 -274
  698. package/src/providers/aws/awsRuntimeLayer.ts +0 -21
  699. package/src/providers/aws/awsSqsTransport.ts +0 -33
  700. package/src/providers/aws/awsStackLifecycle.ts +0 -272
  701. package/src/providers/aws/awsTagging.ts +0 -186
  702. package/src/providers/aws/constants.ts +0 -3
  703. package/src/providers/aws/index.ts +0 -22
  704. package/src/providers/aws/sampleStack.ts +0 -65
  705. package/src/providers/aws/stackWorkflow.ts +0 -443
  706. package/src/providers/stripe/stripeAccount.ts +0 -139
  707. package/src/providers/stripe/stripeBillingConfigurationExport.ts +0 -180
  708. package/src/providers/stripe/stripeBillingConfigurationExportResourcePolicy.ts +0 -178
  709. package/src/providers/stripe/stripeBillingPortalConfiguration.ts +0 -153
  710. package/src/providers/stripe/stripeBillingPortalConfigurationResourcePolicy.ts +0 -177
  711. package/src/providers/stripe/stripeCustomer.ts +0 -148
  712. package/src/providers/stripe/stripeCustomerResourcePolicy.ts +0 -160
  713. package/src/providers/stripe/stripePrice.ts +0 -218
  714. package/src/providers/stripe/stripePriceResourcePolicy.ts +0 -151
  715. package/src/providers/stripe/stripeProduct.ts +0 -171
  716. package/src/providers/stripe/stripeProductResourcePolicy.ts +0 -161
  717. package/src/providers/stripe/stripeResources.ts +0 -454
  718. package/src/providers/stripe/stripeRuntimeLayer.ts +0 -131
  719. package/src/providers/stripe/stripeWebhookEndpoint.ts +0 -293
  720. package/src/providers/stripe/stripeWebhookEndpointResourcePolicy.ts +0 -198
@@ -0,0 +1,39 @@
1
+ # Resource lifecycle operations
2
+
3
+ The resource lifecycle contract defines how Nomoss turns a declaration into a validated provider request. The corrected provider specification governs requests and responses. A reviewed hint supplies a lifecycle decision the provider leaves open, such as whether removal deletes or deactivates the object.
4
+
5
+ ## Create a resource
6
+
7
+ Once the declaration's dependencies resolve, Nomoss validates the creation request, calls the provider, and saves the returned identity and outputs only after they pass validation. A hint selects the intended operation and response model when discovery finds several candidates. Output aliases preserve names already in saved records.
8
+
9
+ ## Read a saved resource
10
+
11
+ A read uses the saved identity. Nomoss verifies the returned object before it refreshes its outputs. For a creation-only output such as a webhook signing secret, the resource retains the saved value if the read omits it. A failed read leaves the identity and outputs available for retry.
12
+
13
+ Stripe treats HTTP 404 as confirmed absence. A Customer hint also permits a deleted-customer response after the policy validates it and matches its identity to the saved object. If authorization, transport, or validation fails, the stack retains ownership.
14
+
15
+ ## Update a resource
16
+
17
+ An update targets the saved object. Its mapping specifies which output supplies each identity parameter, even if the names differ. The complete request passes validation, including any required constant. If a declaration drops a property, the policy defines how to clear the provider value. Without such a rule, the change fails before mutation.
18
+
19
+ Generated Stripe updates currently use the same identity mapping as reads. StripeResourcePolicy returns ResourceCommandUnsupported if the update schema discards a changed field or the declaration drops a saved property. Other identity mappings, constant update values, and provider-specific property resets remain outstanding. A constant that conflicts with the saved identity is invalid.
20
+
21
+ ## Remove a resource
22
+
23
+ Removal uses the saved identity. Nomoss releases ownership only after the provider call succeeds. When HTTP DELETE does not express the intended action, a hint selects the operation and any constants its request requires.
24
+
25
+ Product and BillingPortalConfiguration use a hint to select POST with active: false for removal. Discovery selects HTTP DELETE by default. Support for each additional removal operation requires an identity mapping and request values the shared service can execute when the declaration disappears.
26
+
27
+ ## Replace a resource
28
+
29
+ The plan identifies changes that require replacement and orders ordinary creation and removal according to the resource policy. Nomoss records each completed step. Recovery can then skip a successful creation and retain ownership of both objects until removal succeeds. Dependent requests use the successor's identity, and the resource's retention contract governs its outputs.
30
+
31
+ Where the provider leaves replacement behavior unspecified, hints identify the triggering properties and execution order. The reviewed plan shows that order. Price releases its lookup key when it retires the previous price, then creates its successor. Webhook rotation creates the successor first.
32
+
33
+ Each owned instance has its own lifecycle record and protected outputs. A completed removal remains on record until the operation finishes so a retry can skip it. Teardown during an unfinished operation removes every instance the stack still owns. Applied outputs remain available until Nomoss commits the successor.
34
+
35
+ ## Validate and execute generated operations
36
+
37
+ Generated configuration preserves the provider operation's input, output, and failure types. Effect infers service dependencies and errors from the application Layer graph. The schema compiler checks mappings and constants, and the runtime validates the completed request.
38
+
39
+ A generated operation replaces a manual policy once production uses the generated registration and the superseded policy, wrapper, and runtime override are gone. Application integration coverage follows the provider object and its saved identity through each change, checks the values that dependents receive, and exercises recovery and cleanup. Each resource needs executable selections and mappings for its supported operations. [generation specification](generation-architecture.md#provider-directory-organization) · [resource management tracker](../../attempts/dev-attempts_generated-resource-management.md)
@@ -0,0 +1,66 @@
1
+ # Resource outputs
2
+
3
+ A resource entity exposes the values returned by its provider after apply. An AWS queue entity, for example, exposes its URL through `queue.QueueUrl`. That property reads the queue's applied record in memory, so the read completes synchronously without a provider or storage request.
4
+
5
+ ## Output values after apply
6
+
7
+ The queue application registers an SQS queue and returns a function that reads its URL. Nomoss calls that function after apply saves the URL. An embedded TypeScript application can use `ResourceStackOperations.Stack` to build the stack and read the result of apply itself. [Queue application](../../examples/queue/application.ts)
8
+
9
+ ```ts
10
+ const operations = yield* ResourceStackOperations;
11
+ const prepared = yield* operations.Stack(
12
+ "queue",
13
+ Effect.gen(function* () {
14
+ const queue = yield* AWSQueue({
15
+ logicalId: "Queue",
16
+ props: { QueueName: "events" },
17
+ });
18
+
19
+ return () => ({ queueUrl: queue.QueueUrl });
20
+ }),
21
+ );
22
+ ```
23
+
24
+ Pass the prepared stack to `apply` through the same operations service. The function's return type makes `result.outputs.queueUrl` a string. An unchanged apply also returns the URL.
25
+
26
+ ```ts
27
+ const result = yield* operations.apply(prepared);
28
+ const queueUrl: string = result.outputs.queueUrl;
29
+ ```
30
+
31
+ The callback captures the `queue` variable from the declaration. Each read of `queue.QueueUrl` uses the entity's current applied record, so a successful replacement supplies the new URL through that same object. A failed update leaves the last applied value available.
32
+
33
+ ## Values for dependent requests
34
+
35
+ A relationship connects a dependent request to provider values from another resource. For example, a Stripe Price declaration accepts a Product entity through its `product` property. Here `stripe` is the StripeResources service used inside the [billing declaration](infrastructure-application-api.md#entity-relationships).
36
+
37
+ ```ts
38
+ const product = yield* stripe.Product({
39
+ logicalId: "Subscription",
40
+ props: { name: "Application subscription" },
41
+ });
42
+
43
+ const price = yield* stripe.Price({
44
+ logicalId: "MonthlySubscription",
45
+ props: {
46
+ product,
47
+ currency: "usd",
48
+ unit_amount: 2000,
49
+ recurring: { interval: "month" },
50
+ },
51
+ });
52
+ ```
53
+
54
+ The `product` property holds the entity, so the application can declare the price before Stripe assigns a product ID. At apply, Nomoss creates the product and passes its validated ID to the price request. After replacement or reload, the same reference resolves to the current product. A scalar value or output reference fails entity validation. [resource graph contract](resource-graph.md)
55
+
56
+ Stripe accepts entities at relationship paths with a resolved target. Unresolved relationships keep their current value schemas. AWS entity support remains incomplete. [API tracker](../../attempts/dev-attempts_unified-resource-generation.md)
57
+
58
+ ## Application Layer composition
59
+
60
+ The queue deployment supplies declaration and apply through one application Layer graph, which gives output reads access to that deployment's schemas and applied state. The [Effect guide](../development/effect-native-development.md#connect-services-and-manage-their-lifetimes) explains this service setup. For separate plan review or future direct returns from declarations, see the [application API contract](infrastructure-application-api.md#services-and-reviewed-plans).
61
+
62
+ ## Output failures
63
+
64
+ An output read throws ResourceOutputResolutionMissing if preparation has not run, the resource has no applied record, or the selected optional field is absent. The error names the source resource and output. An absent required field or another output schema violation produces SchemaError.
65
+
66
+ ResourceStackOutputFailed reports a callback exception after infrastructure changes have been saved. Its cause identifies the callback error or unavailable provider value. Correct the callback, or refresh provider values with `operations.reconcile(prepared)`, then evaluate the declaration and apply again to obtain the result. Reconciliation leaves the callback unevaluated.
@@ -0,0 +1,31 @@
1
+ # Application tracing
2
+
3
+ A command or finite integration workflow has one root span for its entire lifetime. Service spans appear under the callers that invoked them. Distinct spans for local work, HTTP requests, retries, and provider waits let an operator locate a delay.
4
+
5
+ ## Trace export
6
+
7
+ Applications install NomossTracingLive once in the shared runtime. It exports spans through Effect's native OTLP tracer with service.name=nomoss and a dedicated HTTP transport. The tracer flushes completed spans when the application scope closes. Optional Effect DevTools observe the same tracer under their existing configuration.
8
+
9
+ OTEL_TRACES_EXPORTER=otlp enables export when a collector address is configured. OTEL_EXPORTER_OTLP_ENDPOINT supplies the base URL. OTEL_EXPORTER_OTLP_TRACES_ENDPOINT supplies the complete traces URL when set. OTEL_SDK_DISABLED=true disables export. Effect's OtlpTracer and OtlpSerialization modules handle configuration, serialization, and batch export.
10
+
11
+ ## Resource and operation context
12
+
13
+ Use Service.operation as the span name. For AWS, the service signing name and API operation produce names such as cloudcontrolapi.CreateResource. Effect composition preserves the established service spans and their parent relationships. Incidental calculations and state changes belong within the service span.
14
+
15
+ Downstream spans and events identify the resource by stack, logical id, and provider-qualified type. The service and lifecycle operation stay in scope through reads and persistence. Record the AWS API operation separately so a single resource creation distinguishes CreateResource from each GetResourceRequestStatus poll and the final GetResource.
16
+
17
+ Planned action counts on the stack span show the scale of the change. Each client span retains the AWS service and operation, from the first request preparation step until the client decodes the response. A request span reports region, HTTP status, and provider request identifier when available. An AWS CLI span identifies the service operation and region and reports the process exit status.
18
+
19
+ Application annotations exclude resource properties, command arguments, credentials, and uploaded object contents. An optional AWS attribute appears only if the request supplies it.
20
+
21
+ ## Provider waits and retries
22
+
23
+ Cloud Control events report the provider status and requested retry time. Each poll wait records its actual delay in milliseconds. Nomoss uses the five-second AWS CLI waiter interval so it can detect completion before a later retry timestamp. [AWS CLI waiter interval](https://docs.aws.amazon.com/cli/latest/reference/cloudcontrol/wait/resource-request-success.html)
24
+
25
+ Each request retry records its attempt, cause, and backoff delay. An operator can compare those events with HTTP spans and provider progress to distinguish transport latency from retry delays and resource stabilization.
26
+
27
+ ## Integration evidence
28
+
29
+ The S3-to-SQS integration uses the application tracing Layer. Its root span identifies the unique stack and AWS region and stays open through cleanup on success or failure. The trace covers declaration, all three apply passes, reconciliation, notification delivery, teardown, and confirmation of absence.
30
+
31
+ Instrumentation changes preserve the integration inputs and assertions. The existing provider and lifecycle tests exercise the workflow. A completed Jaeger trace shows whether the expected spans reached the collector with their parent relationships, resource context, and elapsed times. [observability procedure](../operations/observability-sop.md)
@@ -0,0 +1,52 @@
1
+ # Document code for its consumers
2
+
3
+ A comment must explain what the documented entity lets its consumer do and which conditions affect that behavior. Support every claim with a requirement, contract, or the complete operation and its consumers. Do not compress the explanation into noun chains, gerund phrases, contextless introductions, or slogans.
4
+
5
+ The first sentence must name the entity and identify its kind, such as a function, helper, class, service, or service method. For example, write "the Indexer property helper" or "the compileSchemas service method." A bare identifier followed by a verb does not tell the reader what kind of entity the comment documents.
6
+
7
+ An inline comment must identify the domain entity or operation implemented by its block. Name the relevant schema module, client constructor, or other entity and explain the behavior or constraint its consumer relies on. Place this explanation beside each large body within a method so the reader can understand its purpose at that location.
8
+
9
+ A comment must add a supported contract, condition, failure, or consequence that the declaration and adjacent statements do not explain. Do not narrate code content or implementation stages.
10
+
11
+ Write relationships in complete sentences with articles, verbs, and prepositions. Unpack phrases such as "provider field access" into ordinary English that says which field a helper reads and why its name needs quotes.
12
+
13
+ ## Explain the decisions that schemas validate
14
+
15
+ For a schema, explain what the application decides from a value and why its validation matters to that decision. The declaration already shows the fields and their types, so a field catalogue adds no explanation.
16
+
17
+ An output reference lets one resource depend on a provider value that another resource has not yet produced. Explain how the reference expresses that dependency and why the eventual value needs validation. The schema already shows how the reference is represented.
18
+
19
+ ## Explain how callers use public methods
20
+
21
+ Every public method gets documentation that explains what a caller can accomplish and how to interpret its result. Exported functions and helpers have the same requirement. Generated APIs must receive documentation through their generator so their consumers get the same explanation.
22
+
23
+ Input requirements and failures describe conditions that affect the call. Lifecycle constraints explain cancellation, refreshed credentials, or recovery after interruption when those affect the caller.
24
+
25
+ Review every complete comment with the humanizer skill and the [writing guidance](unslop.md). Replace noun chains and gerund phrases with sentences that identify who acts and what happens. Remove repeated facts and unsupported claims, and check that the sentences develop one related explanation.
26
+
27
+ ## Rewrite comments around the documented capability
28
+
29
+ During remediation, read each comment with its declaration, complete operation, and consumers. Rewrite the complete comment if it opens with a validation scenario, a contextless statement, a bare identifier, or narration followed by parameter details. The replacement must identify the documented entity and explain what its consumer can accomplish.
30
+
31
+ The following comment makes a validation scenario its subject and leaves the invocation method implicit. Its factual accuracy does not satisfy the requirement to identify the documented method and explain its capability:
32
+
33
+ ```ts
34
+ /**
35
+ * Stripe requests can pass input validation with values that
36
+ * violate a parameter's constraints when a body field has the
37
+ * same name. A caller cannot supply different values for those
38
+ * two request locations through the current invocation contract.
39
+ */
40
+ ```
41
+
42
+ Replace the complete comment. A renamed subject or a different sentence order would retain the same explanation of a validation scenario.
43
+
44
+ The replacement identifies the method and explains the capability:
45
+
46
+ ```ts
47
+ /**
48
+ * The invoke service method binds a Stripe operation to its request and response
49
+ * schemas so generated clients can validate caller input and decode Stripe
50
+ * responses.
51
+ */
52
+ ```
@@ -0,0 +1,9 @@
1
+ # Write commit messages
2
+
3
+ A commit message must explain the change to someone who has not read the conversation. State what the software does after the change and explain why that behavior was required. Write continuous paragraphs in active voice and keep their scope consistent with the commit.
4
+
5
+ Explain how the code provides the changed behavior when that affects a design a future reader needs to understand. Cover how services connect, schemas validate data, runtime dependencies supply capabilities, state is saved, projections produce values, or generators produce contracts when the change affects those operations. Explain changes to tests, tooling, and application workflows on the same basis.
6
+
7
+ For Effect changes, explain which services supply dependencies and which schemas validate values when those choices affect the contract. If the change migrates or restructures code, identify the previous approach and its replacement so the reader can understand how the code is organized afterward.
8
+
9
+ Routine validation logs, file inventories, and accounts of the work do not belong in the message.
@@ -0,0 +1,45 @@
1
+ # Develop Nomoss services with Effect
2
+
3
+ ## Expose composable public capabilities
4
+
5
+ Implement the [planned application API](../application/infrastructure-application-api.md) with registration and preparation handled by Nomoss. Application authors must be able to declare resources, relationships, and returned data through the public stack API.
6
+
7
+ Execute generated provider operations through Nomoss's internal client under the [cloud resource contract](../application/aws-resource-lifecycle-management.md). Expose public APIs that generated operations and resource services can use to resolve credentials, sign requests, and retry. Reuse the prepared payload and idempotency token on each retry. Make credential resolution and the operation that signs requests independently callable so retries can use refreshed credentials.
8
+
9
+ Bind a public service method's completed result to a descriptive local name with its domain type, then return that value. For example, ResourceStackOperations.apply uses a `result` value typed as `ResourceApplicationResult<Output>`, which checks the lifecycle result and evaluated outputs. TypeScript still infers the method's failures and required services from the calls that produce that value.
10
+
11
+ ## Validate data through canonical schemas
12
+
13
+ Validate resource declarations through canonical schemas and provider payloads through generated schemas. After a provider mutation, wait for completion and validate the returned resource before persistence, as required by the [cloud resource contract](../application/aws-resource-lifecycle-management.md). Local copies of generated contracts are prohibited because they introduce separate validation rules for the same provider data.
14
+
15
+ Generate request schemas, response schemas, and invocation metadata from published Smithy models for the operations covered by that contract. Generated client libraries for the same operations are prohibited in dependencies and generated imports because they would execute those calls through a separate client.
16
+
17
+ Generate methods, schemas, documentation, and exports together through ts-morph and TypeScript AST operations. Compile the generated schemas through Effect.
18
+
19
+ ## Connect services and manage their lifetimes
20
+
21
+ Declare services through Context.Service and compose declaration and execution through one application Layer graph. Both operations need the same ResourceModel instance so execution can validate provider values against the schemas registered by the declaration. Output validation fails with ResourceOutputSchemaMissing if a separate instance lacks a schema registered by the declaration.
22
+
23
+ When the compiler reports a type mismatch, correct the operation that produces the value or the Layer composition that supplies its services. A manual type alias, cast, caller annotation, or handwritten Layer requirement changes the declared type while the absent service remains unresolved, so it is prohibited as a fix.
24
+
25
+ If an export exposes implementation types that TypeScript cannot name, reduce its returned value to the required public capability and give that value a named domain type, as in the result example above. The Effect.gen body can still determine failures and required services from its calls, so callers receive those types along with the named result. A handwritten Effect.Effect or Layer.Layer annotation would require another description of the operation's failures and service requirements. Those annotations, universal return types for Effect.gen operations, and replacement iterator contracts are prohibited because their handwritten types can diverge from the composed operation.
26
+
27
+ Let declaration helpers infer their declaration, provider, and state types from the composed services. Repeated type parameters for those services, manually maintained service unions, and empty defaults for Layer requirements are prohibited because they require callers to maintain a separate description of the service graph.
28
+
29
+ Obtain a user decision before the declaration API requires authors to add registration, permit acquisition, or preparation calls. Follow the [output guide](../application/resource-outputs.md#output-values-after-apply) for the calls required by the current API.
30
+
31
+ Keep the application scope open through declaration, plan review, and execution. Execute the reviewed plan through the ResourceStackOperations instance that prepared it so the plan uses the declaration's schema registry and state service. The executable or embedded application closes that scope when its work ends. Code that retains arbitrary Layers, reconstructs their requirements, or installs saved contexts for later calls can supply different service instances at execution and is prohibited by the [application service composition contract](../application/infrastructure-application-api.md#effect-service-composition).
32
+
33
+ Use Layer.buildWithMemoMap when the caller must supply a [Layer](https://github.com/Effect-TS/effect/blob/main/packages/effect/src/Layer.ts) memoization map and an owning [Scope](https://github.com/Effect-TS/effect/blob/main/packages/effect/src/Scope.ts). The map controls service sharing, and the scope owns cleanup. TypeScript infers the returned Effect's failures and required services from the Layer.
34
+
35
+ Stop the active stream before its replacement starts. Give each stream its own scope and close that scope to stop it, or store the active fiber in service state and interrupt it directly. Apply that cleanup when a change of identity or runtime requires a new stream.
36
+
37
+ ## Compose operations and return typed failures
38
+
39
+ Keep every operation required for a method's result in the Effect returned to its caller. Use explicit Effect sequencing for work that runs after an operation succeeds, such as rendering a plan before returning it. Separate logical steps with blank lines so readers can see where the operation obtains the result, uses it, and returns it. Perform external I/O and process execution through Effect services so the application supplies their implementations and controls their lifetimes. Send program logs through Effect and terminal output through the command renderer that applies the CLI's presentation contract.
40
+
41
+ Represent provider rejections, transport failures, and invalid responses with Data.TaggedError. Include the affected resource or operation and the provider's failure details so callers can identify the failed work. Decode modeled provider errors through generated contracts, and translate transport and validation failures in internal services into the tagged errors promised by their public methods.
42
+
43
+ ## Run applications through the shared service graph
44
+
45
+ Run the infrastructure Effect under a stable stack name through the executable's shared application Layers. A later run under that name restores saved resource identities and values before a new plan. Supply provider credentials and configuration, such as the AWS region, through those Layers.
@@ -0,0 +1,39 @@
1
+ # Lint and check Nomoss code
2
+
3
+ Read the affected operation and its consumers before a lint correction. Preserve the caller's required behavior and keep its validation, decisions, dependency calls, and result visible in the operation. Apply the [Effect development contract](effect-native-development.md), use the evidence required by the [testing contract](testing.md), and complete the review under the [review contract](review-remediation-spec.md).
4
+
5
+ ## Fix the assigned operation
6
+
7
+ Keep validation, decisions, dependency calls, and the final result together. Extract a public service method when other operations need the same domain capability. Keep each parse operation and temporary decision where it is used.
8
+
9
+ Do not introduce a helper solely to silence a lint diagnostic. Do not collect unrelated inputs into an artificial object, nest sequential operations so deeply that their flow is obscured, or add combinators to evade the diagnostic. Run work concurrently only when those operations are independent.
10
+
11
+ Use Match for tagged decisions, Option for absence, and Result for explicit outcomes. Validate data through the schema its domain contract assigns. Add a guard or fallback default only when a supported requirement calls for it. Fix the assigned operation; nearby diagnostics do not extend its scope.
12
+
13
+ ## Prepare and check the code
14
+
15
+ Before validation, run format so Biome formats source, tests, examples, tools, and Projen source, organizes their imports, and applies lint fixes. Before standalone compilation, use format:staged to prepare the configured staged files. The check command formats its configured repository code, then runs lint, project compilation, and the default behavior suite. Projen's test task must run that check during builds.
16
+
17
+ Define tooling versions and scripts in Projen and keep the generated dependency records, package manifest, and lockfile consistent with those definitions. After dependencies are installed, postinstall must run tsgo:patch so the workspace TypeScript SDK includes Effect's language service for the editor.
18
+
19
+ Compiler and editor diagnostics must use the [Effect TypeScript 7 integration](https://github.com/Effect-TS/tsgo#readme). VS Code must select node_modules/typescript/lib and prompt for the workspace TypeScript version. Configuration must use supported diagnostic names, show suggestions, and make warnings and errors fail compilation.
20
+
21
+ The project uses Effect's CLI, Graph, HTTP, and persistence APIs, which Effect classifies as unstable. The unstableApiUsage diagnostic is disabled so those required APIs do not produce diagnostics. Composition, schema, runtime, and TypeScript diagnostics remain enforced.
22
+
23
+ The schemaNumber suggestion must remain enabled for handwritten schemas. Generated AWS schemas apply finite or integer checks after annotations, so Projen disables this suggestion only in the generated client and resource paths. That exception must preserve generated validation.
24
+
25
+ ## Validate the assigned change
26
+
27
+ Use yarn exec biome lint with the touched file paths during implementation. Run the project typecheck and the smallest relevant Vitest file once the affected operation is clean. Run yarn lint for a repository summary, or the full check command, only during an authorized repository review or release check.
28
+
29
+ The yarn typecheck:tsgo command runs effect-tsgo tsc --build . with the project configuration. It must check Effect service requirements and public types together with TypeScript errors. Run the project check to establish whether the application's service graph is valid; a check of one file lacks the dependencies and configuration needed to answer that question.
30
+
31
+ The integration configuration runs tests that need operating-system services. Report existing failures outside the batch and do not treat them as authorization for more implementation.
32
+
33
+ ## Correct the types that public APIs expose
34
+
35
+ When TypeScript reports TS4023 or TS4020, an export exposes an unnamed implementation type. Expose a smaller, stable service or domain value with a public type that its consumer can name. Use explicit domain types for completed data values.
36
+
37
+ When Effect or Layer reports a missing dependency, supply that dependency in the graph that produces the operation. Do not hide the mismatch through manual channel aliases, casts, or wrappers.
38
+
39
+ For documentation-only changes, check the evidence for each claim and review the prose under the [specification guidance](spec-writing.md) and [prose review](unslop.md).
@@ -0,0 +1,9 @@
1
+ # Test resource graph behavior
2
+
3
+ Test resource graph behavior through the production operations that applications call. Pure domain rules may use values directly. A workflow must execute the real internal decisions and service graph; control its external provider or transport effects through the responsible services.
4
+
5
+ Choose the public operation that can establish the claimed behavior. To check how a provider adapter interprets a response or error, supply the raw value and assert the domain state or tagged failure it returns. To check how a resource policy or reconciliation operation chooses an action, supply domain observations and assert the decision. To check apply, pass plan decisions through that operation and observe the create, repair, or destroy result its caller receives.
6
+
7
+ Exercise the complete service path to establish a workflow result. Use local storage and controlled external effects to observe saved state, dependency order, provider actions, and cleanup. A helper test alone cannot establish those application outcomes.
8
+
9
+ Shared fixtures must provide typed transport responses, local state storage, configuration, and tracing through the services used by production. If a test needs more control over an external effect, add it to the shared fixture for that adapter. Internal decisions must continue to run as production code.
@@ -0,0 +1,57 @@
1
+ # Code remediation checklist
2
+
3
+ ## Prepare or commit the review batch
4
+
5
+ Review the implementation you just completed. Use the checklist below to find defects and finish the cleanup, then stage or commit the changes as a coherent batch for review.
6
+
7
+ Organize the batch around changes that must work together. Keep a changed interface with the callers migrated to it, because reviewing either part requires the other. Keep changed tests with the implementation they exercise.
8
+
9
+ Make batches easy to review and size them so review can advance without breaking related work into disconnected files or producing one large dump.
10
+
11
+ Apply the checklist to the staged batch while reading the complete operations it changes. Fix the defects identified by the checklist and keep the corrections staged with the batch. Keep validation focused and reuse passing results for unchanged work.
12
+
13
+ For a batch of mechanical changes of low risk, commit without waiting for the user and start working on the next batch.
14
+
15
+ ## Required behavior and public APIs
16
+
17
+ - [ ] Compare the completed implementation with the accepted requirements through the public API the application is supposed to use. Follow the call to the result its consumer receives. Restore missing behavior within the assignment. Report a conflict that needs a user decision before changing the required API or narrowing what counts as complete.
18
+
19
+ - [ ] Trace successful returns to the work they claim to complete. Replace placeholder results, unexecuted Effects, or successful defaults that skip required work with calls to the responsible production services. Verify the actual result and saved state; a method name or return type does not establish that the operation happened.
20
+
21
+ - [ ] Check application callers for engine procedures introduced during cleanup or type repair. Keep registration, declaration isolation, preparation, and output resolution inside the engine where the accepted design assigns them. Correct the service composition that exposes the problem. Renaming an internal operation or adding a forwarding wrapper does not supply the required application API.
22
+
23
+ - [ ] Compare resource-specific branches with the general capability required by the assignment. Move behavior implemented only for an example into the responsible core service or generator. Verify that other supported resources use the same implementation. Keep examples as consumers of that capability.
24
+
25
+ - [ ] Resolve changed imports to their existing declarations. Stop the affected implementation when a declaration is missing and report the missing reference. Keep deleted symbols absent until the user supplies a reference or authorizes their implementation.
26
+
27
+ ## Effect types and service composition
28
+
29
+ - [ ] Inspect changed Effect and Layer types for manual success, error, or dependency declarations, casts, and caller annotations that hide missing services. Remove those declarations and supply the dependency in the operation or Layer that needs it. Construct dependencies before their consumers and check that the producing operation infers its public types without any or unknown.
30
+
31
+ - [ ] Check unnamed exported types at the export that produces them. Expose a smaller service or domain value whose public contract the consumer can name, while preserving its required operation and inferred types. Remove handwritten reconstructions of Layer requirements or repeated type parameters used only to transport the service graph.
32
+
33
+ - [ ] Follow state written by an operation to the service its consumer reads. Ensure both use the same instance in the shared Layer graph. Replace consumer-local graphs, copied state, and captured contexts used to bypass dependency composition with the established service connections.
34
+
35
+ - [ ] Follow subscriptions, watchers, and other persistent streams through replacement and shutdown. Keep their fibers scoped, or retain and interrupt the active fiber before replacement. Correct work that survives its owning scope or continues under an old identity; remove daemon forks used for that work.
36
+
37
+ ## Operations and generated contracts
38
+
39
+ - [ ] Read each changed service method with its callbacks and callers. Keep validation, decisions, dependency calls, and the completed result together. Put reusable domain work in public service methods. Ensure the constructor returns its public API explicitly and each method returns a named final value with an explicit domain type.
40
+
41
+ - [ ] Inspect lint fixes for deeply nested callbacks, unrelated inputs collected into an object, or helpers added only to silence a diagnostic. Rewrite the affected operation through readable native Effect composition. Preserve execution order and keep local parsing and decisions beside the work that uses them.
42
+
43
+ - [ ] Read the layout of each changed operation, including generated functions. Separate logical groups with blank lines. Give nested AST operations and repeated field selections meaningful local names before constructing the value that uses them. Construct common metadata once, then keep each decision beside the complete value it selects. Read the code after formatting to verify these conditions; a successful formatter run establishes only the checks configured in that tool.
44
+
45
+ - [ ] Check validation against the canonical schema for the domain. Replace copied contracts and local validators that make a business decision with that schema and the responsible service operation. Preserve the typed failures promised to callers instead of hiding them through fallback values.
46
+
47
+ - [ ] Review generator changes with the contracts their consumers import. Make corrections in the generator and reproduce its output through TypeScript AST operations and Effect schema compilation. Remove hand-edited generated contracts and source templates. For AWS operations, verify the generated Smithy contract is executed by the internal client under the [AWS resource contract](../application/aws-resource-lifecycle-management.md).
48
+
49
+ ## Evidence and completion
50
+
51
+ - [ ] Read each behavior test through the production operation it exercises. Replace test-local implementations or fake service interfaces that bypass the operation with the shared domain fixture and real consumer. Keep recorded responses when the fixture contract requires them. Verify outcomes the consumer receives, including reads after writes and failures followed by retries where the assigned behavior requires them.
52
+
53
+ - [ ] Compare changed assertions, snapshots, and examples with the accepted behavior before accepting them. Correct evidence that merely follows the new implementation or uses an available internal API in place of the required public API. Add coverage only for a specific behavior gap under the [testing contract](testing.md).
54
+
55
+ - [ ] Run scoped Biome lint, the project Effect and TypeScript check, and the smallest relevant behavior suites under the [linting workflow](linting.md). Confirm that the checks processed the completed changes. Retain valid results for unchanged work, repeat checks after relevant repairs, and report failures outside the batch without expanding the assignment.
56
+
57
+ - [ ] Review changed comments and documentation through the writing checks in [review-docs.md](review-docs.md#meaning-and-requirements).
@@ -0,0 +1,27 @@
1
+ # Documentation remediation checklist
2
+
3
+ Remediate the completed content in documentation, guides, READMEs, AGENTS.md files, and other repository text. Work through the checklist in order. Correct each defect you find before continuing to the next item.
4
+
5
+ ## Meaning and requirements
6
+
7
+ - [ ] Replace hollow statements and slogans with the facts they omit. For example, replace "ensures correctness" with what is checked and what happens when the check fails. Rewrite disconnected lists as an explanation of how the listed things relate. Explain software behavior through what starts the operation, what the software does, and what result the caller receives. Give instructions that state who acts, when to act, and what action completes the instruction. Rewrite the whole affected paragraph so its sentences develop that explanation.
8
+
9
+ - [ ] Rewrite sentences that make the reader work backward to find who acts or what happens. Replace chains of phrases such as "by using...", "allowing...", and "ensuring..." with clauses that name the actor and use direct verbs. Introduce a subject before referring to it. Put each condition beside the action or result it affects, and preserve the reason for that condition when splitting a sentence.
10
+
11
+ - [ ] Replace invented terminology with the established name for the same concept. Verify names against their declarations, repository usage, and the relevant library or protocol documentation. Read external package documentation in `refs/` first. Keep identifiers exactly as declared, use the same term consistently, and explain unfamiliar terms before relying on them.
12
+
13
+ - [ ] Correct factual claims that disagree with the operation or contract they describe. Read the relevant evidence to establish the correction. Mark planned behavior as planned, and describe an implementation defect together with the behavior it prevents. Remove unsupported assertions while preserving supported facts and the reasons that connect them.
14
+
15
+ - [ ] Expand vague restrictions such as "unsupported" or "invalid" into an explanation of the affected action and its consequence. State whether the API omits the operation or rejects a call. For a rejected call, explain the condition that causes rejection and the failure the caller receives.
16
+
17
+ - [ ] Replace implementation narration in specifications with the required behavior and its reason, following the [specification guide](spec-writing.md). Rewrite API explanations around how the caller invokes the operation and interprets its result, following the [source documentation guide](code-documentation.md). Repair operating instructions with the steps and commands needed to complete the operation. Replace vague agent instructions with the action to perform and the condition that determines when it is complete.
18
+
19
+ - [ ] Remove repeated points, introductions that merely restate headings, and conclusions that repeat the preceding explanation. State behavior directly wherever a rhetorical contrast obscures it. Apply the humanizer skill and [writing guidance](unslop.md) to the complete revised prose.
20
+
21
+ ## Review the result and restage
22
+
23
+ - [ ] Read the finished content from beginning to end. For each explanation, verify that the reader can identify its subject, understand what happens, and follow why its statements belong together. For each instruction, verify that the reader can tell what to do and when the action is complete. Apply the first three checklist items again and repair every remaining defect. After each repair, reread the complete affected explanation. Complete this review only when that reread finds none of the defects listed above.
24
+
25
+ - [ ] Correct broken links and examples that disagree with the explanation they demonstrate. Run the documented checks affected by those corrections, and retain passing results for unchanged work.
26
+
27
+ - [ ] Stage or restage only the requested files after completing the repairs and self-review. Read the staged content to verify that it contains the reviewed corrections. Repair and recheck any defect found there before restaging. Preserve unrelated staged and unstaged work.
@@ -0,0 +1,49 @@
1
+ # Review and remediate the assigned change
2
+
3
+ Call the supported APIs that consumers use for the assigned change. Check the results they receive, the state those operations save, and the failures they return against the required behavior. Limit the files and fixes to the assigned scope. Apply the [Effect development contract](effect-native-development.md) to the implementation and the [testing contract](testing.md) to the evidence that establishes its behavior.
4
+
5
+ ## Keep the review within its assigned scope
6
+
7
+ Identify what the change lets its consumers do and which files provide that behavior. Check that working and staged changes belong to that scope. Preserve unrelated files and changes, including their existing state in the index.
8
+
9
+ Remove experimental code or remaining references only when the user has authorized that cleanup. Do not restore deleted declarations. Record unfinished behavior in the existing tracker and identify the affected user, the result they cannot obtain, and why the work remains open. If the user authorized only a plan, keep implementation and other excluded actions halted during review.
10
+
11
+ ## Check the result the application receives
12
+
13
+ Follow an application action from its public entry point to the result its caller receives. Check that the services that register declarations, prepare plans, call the provider, save state, and resolve outputs share the same assigned service instances. If these operations produce inconsistent values or use different dependencies, correct the source of that disagreement within the authorized scope.
14
+
15
+ Interrupt, replace, and resume work that takes a long time as the assigned behavior requires. Check that local interruption stops the specified local work and that remote cancellation follows its separate contract. Regression tests must observe the real consumer and use deterministic Effect signals to wait until the operation actually completes.
16
+
17
+ ## Review public APIs and their callers
18
+
19
+ Check that each public name identifies an established domain capability and that internal callers import its canonical declaration. Within the assigned scope, remove aliases and modules that forward exports solely to rename a service, method, runtime, or Layer. Check that package entry points expose the supported services, contracts, and errors applications need to call those capabilities.
20
+
21
+ Read each method as one coherent operation and check that it calls public methods or dependency services for shared behavior. Keep its complete implementation in the service. The service constructor must explicitly return its public API object; do not collect methods in an intermediate object before that return.
22
+
23
+ At the end of each operation, bind its completed result to a named local with an explicit domain contract type and return that local explicitly. Let TypeScript infer intermediate types and Effect channels from the values and dependencies that produce them. Check that canonical schemas validate inputs and that callers pass the types those schemas require. Do not hide a mismatch through casts, manual channel declarations, or satisfies expressions.
24
+
25
+ ## Read each operation and its callbacks
26
+
27
+ Read callbacks and Effect.sync bodies together with the main method. Check whether they accumulate values or choose branches imperatively in ways that hide required work, its order, or its failures. Use Effect's collection and decision constructs to make those actions explicit. Put reusable capabilities in public methods and keep local decisions in the operation that uses them.
28
+
29
+ Place the statements that look up or validate a value together, then separate them with a blank line from the work that consumes the result. Keep related statements together and leave enough space around multiline calls to show where each operation ends. When you adjust whitespace, keep statements in their existing blocks and preserve their execution order and control flow.
30
+
31
+ For an AWS operation, read the source model and check that the generator preserves its request bindings, payload schemas, and execution metadata in the contract callers import. Follow a caller through that public export to the internal client, as required by the [AWS resource specification](../application/aws-resource-lifecycle-management.md). Check that the generated schema validates caller input, the client prepares and serializes the request, and the signer signs that final request before the HTTP service sends it. Check how the client decodes the response or returns a typed failure. For a Cloud Control mutation, follow how the tracker uses the request token until AWS reports a terminal result. Check that the lifecycle reads and validates the resource model before it saves outputs or releases dependent work. Assess each step against the linked contract, including which dependencies it permits, how retries reuse the prepared request, and which HTTP work and waits must stop when the caller is interrupted.
32
+
33
+ ## Review comments, specifications, and operating instructions
34
+
35
+ Read each source comment with the complete operation and its callers. Check that it explains a supported reason or requirement that adjacent statements do not establish. If the code extends a library, the comment must explain what the extension adds and which behavior the library already supplies.
36
+
37
+ Write multiline JSDoc with its delimiters on separate lines. Wrap prose to the configured width and separate paragraphs with blank comment lines. Check that specifications explain required behavior, API documentation explains how to call the API and interpret its result, and operating instructions provide the steps and commands needed to perform the task.
38
+
39
+ Read a functionality specification as someone who must perform its workflow and understand the expected result. The reader must not need to reconstruct the implementation. Remove accounts of method calls, constructor statements, and tracker activity. Explain required architecture and API decisions with enough technical detail to establish the constraint and its consequence.
40
+
41
+ Read the complete edited text against the [documentation contract](code-documentation.md), [specification guidance](spec-writing.md), and [writing review](unslop.md). Keep private project details outside repository documentation.
42
+
43
+ ## Verify the completed change
44
+
45
+ Choose each check to answer a question about the behavior delivered by the change. Reuse existing evidence when the relevant work is unchanged. Add a test only for an identified Nomoss behavior that needs proof. Remove tests and dedicated fixtures that merely repeat implementation or library guarantees only when the user has authorized that removal.
46
+
47
+ Finish the fixes before the final checks for the assigned scope. Run the Biome and Effect language-service checks required for changed code by the [linting workflow](linting.md). Read the result against the governing contract as well; automated checks cannot establish every requirement. Repeat a check after a relevant change or when the existing evidence does not answer a specific question.
48
+
49
+ Check that the finished change provides the promised behavior to its required consumers. Stage only the requested scope and record unfinished work in its assigned tracker. Commit or push only with the user's explicit authorization and follow the repository's Git rules.
@@ -0,0 +1,35 @@
1
+ # Write specifications
2
+
3
+ Write a specification that explains what the software must do, how a reader can use it, and what result they should expect. Explain the reason for a requirement when it affects the reader's decision. Describe the complete workflow so the reader does not have to reconstruct it from source code or earlier conversations.
4
+
5
+ ## Establish the required behavior
6
+
7
+ Use the user's decisions to establish required behavior and its limits. Use repository evidence to establish what works now. Distinguish the two wherever a reader might mistake unfinished functionality for an available feature.
8
+
9
+ Preserve each requirement's scope, reason, intended user, and status. Consolidate repeated explanations and preserve qualifications and accepted decisions. An unresolved choice belongs in the assigned tracker with enough context to resolve it.
10
+
11
+ Translate feedback into ordinary English before you add it to a specification. Preserve its technical meaning and strength. Raw conversation, private project details, and accounts of how you gathered evidence stay outside repository documentation.
12
+
13
+ ## Explain what the software does
14
+
15
+ Begin with the operation the reader needs and explain its outcome. Introduce a resource, request, or saved record before a requirement refers to it. When one operation depends on another, explain which result it needs and why that result affects its behavior.
16
+
17
+ A paragraph must develop an explanation through related sentences. Explain what the consumer can accomplish and how the relevant conditions determine the result. A service name, a paraphrase of its code, or the word must cannot replace that explanation.
18
+
19
+ For a CLI, explain what each command does, when an operator uses it, what it changes, and what the operator sees. Configuration and failures belong beside the behavior they affect. Constructor contents, method-call sequences, and Layer assembly belong in implementation or API documentation. Tracker summaries and accounts of completed work do not belong in functionality specifications.
20
+
21
+ If an architecture requirement names an internal service or library, explain which constraint requires that choice. In API documentation, explain how callers use the capability. In source comments, explain facts the declaration alone cannot establish. In operating instructions, give the steps and commands needed to perform the task.
22
+
23
+ ## State requirements clearly and cite their sources
24
+
25
+ Use complete sentences, familiar verbs, and established AWS, Effect, and Nomoss terms. Explain a technical term before the text relies on it. Unpack noun chains and state the actor and action in each clause so the reader can understand the sentence in order. A proposed name must describe a concrete domain capability.
26
+
27
+ Place a reference beside the requirement it establishes and explain why that reference matters. Link to authoritative schemas for data already defined there. Formulae must define variables and units, and configuration values need a source that governs them.
28
+
29
+ Use sentence-case headings for actual subjects. Field catalogues, pseudo-code declarations, decorative diagrams, repeated labels, and disconnected requirement fragments are prohibited. Each Markdown paragraph stays on one physical line; code, equations, and tables retain their required structure.
30
+
31
+ ## Review the complete document
32
+
33
+ Read the original and the rewrite as complete documents. Apply the [writing guidance](unslop.md) and check that the rewrite preserves the meaning of every requirement, qualification, unresolved decision, and supported fact.
34
+
35
+ Read each paragraph for what it explains to its intended reader. If it still reads like narrated code or a list of demands, rewrite the explanation in full.