문제 기능 하나가 같은 HTTP API를 두 번 적는다. *-api-contract.ts의 V2 행 (defineRestOperation)은 check:registries(FE-REG-API)가 검사하는 선언이고, contract contribution의 V3 descriptor가 실제로 실행된다. 둘이 어긋나지 않게 http-operation-v2-v3-parity 테스트를 따로 둔다. 048f490으로 V2 클라이언트가 없어져 V2 행을 읽는 실행 코드는 없고, 검사만 남은 두 번째 사본이다. V2 행을 위한 기능별 runtimeSchemas·mappers 레지스트리와 V2 보안 프로필 해석 (resolveRestSecurityProfiles)도 같이 남아 있다. 사용자 지시: 최신 경로 하나만 남기고, 레지스트리 기준선 재승인을 승인했다. 고른 방법 - src/contracts/api-operations.ts를 projectApiOperationRows 하나로 바꿨다. 조립된 contribution의 descriptor마다 operationId, featureId, method, path, authProfileId, retrySemantics, requestBody, responseBody, responseEnvelope, request/response/problemSchema(검증기 schemaId) 행을 만든다. FE-REG-API는 같은 export(API_OPERATIONS)를 읽고, governance 정의를 이 필드로 바꿨다. requestSchema·responseSchema는 그대로 FE-REG-SCHEMA를 참조한다. - FeatureRuntime은 apiContract 대신 schemas(FE-REG-SCHEMA 행)만 받는다. installed-feature-runtime-registries는 schemas로 스키마 레지스트리를 만들고 FE-REG-API 행을 descriptor에서 뽑는다. RUNTIME_SCHEMA_CODECS, MAPPER_REGISTRY, REST_PROFILE_BINDINGS_VALID, API_RUNTIME_BINDINGS_VALID를 지웠다. - realtime snapshot 바인딩은 ApiOperationRow를 받고 method GET과 retrySemantics SAFE·IDEMPOTENT를 본다(V2의 contractVersion·semantics· replayPolicy 대신). - rest-profiles.ts에서 V2 행용 provider·CSRF 프로필 해석을 지웠다. V3는 조립 때 auth profile을 검사하고 자격증명 헤더를 프로필로 거른다. - 참조 기능: reference-api-contract.ts를 reference-schema-metadata.ts로 바꾸고(스키마 행만), V2 runtime codec·operation mapper·레지스트리 mapper를 지웠다. V3 descriptor가 쓰지 않는 NoRequest 스키마 행도 지웠다. - create:feature: <base>-api-contract.ts 대신 <base>-schema-metadata.ts를 만든다. codec·mapper 레지스트리 행과 그 테스트를 만들지 않는다. - 레지스트리 기준선을 update:registry-baseline으로 다시 만들고 승인했다 (digest 16f72742…, 승인자 DongHyeonka, 이유에 사용자 승인을 적음). - 매뉴얼 01·02·reference, starter-experience, 계약 문서의 V2 설명을 지웠다. 버린 대안 - V2 행을 남기고 V3에서 생성하기: 생성 단계와 생성물이 하나 더 생긴다. 행은 실행되지 않으므로 메모리에서 뽑아 검사하면 충분하다. - 스키마 메타데이터(FE-REG-SCHEMA 행)도 검증기에서 뽑기: boundary· unknownFieldPolicy·owner는 검증기에 없고, 라우트 스키마도 같은 레지스트리를 쓴다. 이 행은 V2가 아니라 스키마 레지스트리라 남겼다. 위험·한계 - BREAKING: FeatureRuntime 모양, contracts·rest-profiles·loaded-feature-runtimes 의 이름이 바뀌거나 없어졌다. memento-frontend의 memento-web이 V2 행을 쓴다. 옮기는 법은 CHANGELOG에 적는다. - V2 보안 프로필 일관성 검사(auth "none"과 ANONYMOUS, 쿠키 프로필의 CSRF 모드)가 사라졌다. V3 descriptor에는 그 칸이 없다. - BoundedPollOperationContract(realtime polling recipe)는 contractVersion: 2 필드를 갖지만 자체 계약이라 바꾸지 않았다. 검증 - check:types, lint, check:architecture, check:registries(11 registries PASS, compatibility=none), check:ci, check:diagnostics, check:adapter-inventory, verify:documentation 통과. - test:unit 2,566(새 tests/unit/api-operation-rows.test.ts 3건 포함), test:integration 114, test:component 245, test:contract 23, test:runtime-schema 56, tests/features 99 통과. - tests/unit/second-api-feature-registries.test.ts: V3 descriptor만 가진 두 번째 기능을 복사본에 넣으면 기준선을 고치지 않고 check:registries가 통과한다. - check:bundle 통과. 초기 JS 201,598 → 200,911 B. - test:feature-scaffold 16개, test:sample-removal 23개 검사 통과. BREAKING CHANGE: FeatureRuntime이 apiContract 대신 schemas를 받는다. defineRestOperation, ApiOperation, RestOperationV2, composeApiOperations, validateApiRuntimeBindings, getApiOperation, contracts의 API_OPERATIONS, createRestProviderProfile, RestProviderProfile, resolveRestSecurityProfiles, validateRestProfileBindings, REST_CSRF_PROFILES, RestCsrfProfile, loaded-feature-runtimes의 RUNTIME_SCHEMA_CODECS, MAPPER_REGISTRY, REST_PROFILE_BINDINGS_VALID, API_RUNTIME_BINDINGS_VALID가 없어졌다. 기능은 operation을 contract contribution에만 적고, schemas 행을 feature-runtime에 넘긴다.
1538 lines
46 KiB
JSON
1538 lines
46 KiB
JSON
{
|
|
"schemaVersion": 2,
|
|
"registries": [
|
|
{
|
|
"registryId": "FE-REG-ROUTE",
|
|
"owner": "feature-frontend-routing-release-recovery-runtime",
|
|
"source": "src/features/installed-feature-contracts.ts",
|
|
"rowCount": 10,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"routeId",
|
|
"path",
|
|
"paramsSchema",
|
|
"searchSchema",
|
|
"access",
|
|
"loadingSurface",
|
|
"errorSurface",
|
|
"chunkId",
|
|
"title",
|
|
"navigationLabel",
|
|
"navigationOrder"
|
|
],
|
|
"fieldTypes": {
|
|
"routeId": "string",
|
|
"path": "string",
|
|
"paramsSchema": "string|null",
|
|
"searchSchema": "string|null",
|
|
"access": "string",
|
|
"loadingSurface": "string",
|
|
"errorSurface": "string",
|
|
"chunkId": "string",
|
|
"title": "string",
|
|
"navigationLabel": "string|null",
|
|
"navigationOrder": "integer|null"
|
|
},
|
|
"uniqueFields": [
|
|
"routeId",
|
|
"path",
|
|
"chunkId"
|
|
],
|
|
"allowedValues": {
|
|
"access": [
|
|
"public",
|
|
"session-required"
|
|
],
|
|
"errorSurface": [
|
|
"route-boundary",
|
|
"feature-boundary",
|
|
"not-found"
|
|
]
|
|
},
|
|
"references": [
|
|
{
|
|
"field": "routeId",
|
|
"registryId": "FE-REG-ROUTE-RUNTIME",
|
|
"targetField": "routeId"
|
|
},
|
|
{
|
|
"field": "paramsSchema",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
},
|
|
{
|
|
"field": "searchSchema",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
}
|
|
],
|
|
"keyField": "routeId",
|
|
"breakingFields": [
|
|
"routeId",
|
|
"path",
|
|
"paramsSchema",
|
|
"searchSchema",
|
|
"access",
|
|
"chunkId"
|
|
],
|
|
"fieldPatterns": {
|
|
"loadingSurface": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
|
|
}
|
|
},
|
|
"rows": {
|
|
"APP_HOME": {
|
|
"access": "public",
|
|
"chunkId": "route-home",
|
|
"errorSurface": "route-boundary",
|
|
"loadingSurface": "app-shell",
|
|
"navigationLabel": "시작",
|
|
"navigationOrder": 10,
|
|
"paramsSchema": null,
|
|
"path": "/",
|
|
"routeId": "APP_HOME",
|
|
"searchSchema": null,
|
|
"title": "시작"
|
|
},
|
|
"EXAMPLES_AUTH": {
|
|
"access": "public",
|
|
"chunkId": "route-examples-auth",
|
|
"errorSurface": "route-boundary",
|
|
"loadingSurface": "example-page",
|
|
"navigationLabel": "인증 연동",
|
|
"navigationOrder": 40,
|
|
"paramsSchema": null,
|
|
"path": "/examples/auth",
|
|
"routeId": "EXAMPLES_AUTH",
|
|
"searchSchema": null,
|
|
"title": "인증 연동"
|
|
},
|
|
"EXAMPLES_PLATFORM": {
|
|
"access": "public",
|
|
"chunkId": "route-examples-platform",
|
|
"errorSurface": "route-boundary",
|
|
"loadingSurface": "example-page",
|
|
"navigationLabel": "플랫폼 구성",
|
|
"navigationOrder": 15,
|
|
"paramsSchema": null,
|
|
"path": "/examples/platform",
|
|
"routeId": "EXAMPLES_PLATFORM",
|
|
"searchSchema": null,
|
|
"title": "플랫폼 구성"
|
|
},
|
|
"EXAMPLES_STATES": {
|
|
"access": "public",
|
|
"chunkId": "route-examples-states",
|
|
"errorSurface": "route-boundary",
|
|
"loadingSurface": "example-page",
|
|
"navigationLabel": "화면 상태",
|
|
"navigationOrder": 30,
|
|
"paramsSchema": null,
|
|
"path": "/examples/states",
|
|
"routeId": "EXAMPLES_STATES",
|
|
"searchSchema": null,
|
|
"title": "화면 상태"
|
|
},
|
|
"EXAMPLES_UI": {
|
|
"access": "public",
|
|
"chunkId": "route-examples-ui",
|
|
"errorSurface": "route-boundary",
|
|
"loadingSurface": "example-page",
|
|
"navigationLabel": "UI 구성요소",
|
|
"navigationOrder": 20,
|
|
"paramsSchema": null,
|
|
"path": "/examples/ui",
|
|
"routeId": "EXAMPLES_UI",
|
|
"searchSchema": null,
|
|
"title": "UI 구성요소"
|
|
},
|
|
"NOT_FOUND": {
|
|
"access": "public",
|
|
"chunkId": "route-not-found",
|
|
"errorSurface": "not-found",
|
|
"loadingSurface": "none",
|
|
"navigationLabel": null,
|
|
"navigationOrder": null,
|
|
"paramsSchema": "NotFoundSplat",
|
|
"path": "*",
|
|
"routeId": "NOT_FOUND",
|
|
"searchSchema": null,
|
|
"title": "페이지를 찾을 수 없음"
|
|
},
|
|
"REFERENCE_RESOURCE_DETAIL": {
|
|
"access": "session-required",
|
|
"chunkId": "route-reference-resource-detail",
|
|
"errorSurface": "feature-boundary",
|
|
"loadingSurface": "reference-resource-detail",
|
|
"navigationLabel": null,
|
|
"navigationOrder": null,
|
|
"paramsSchema": "ReferenceResourceParams",
|
|
"path": "/examples/reference-resources/items/:resourceId",
|
|
"routeId": "REFERENCE_RESOURCE_DETAIL",
|
|
"searchSchema": null,
|
|
"title": "Reference detail"
|
|
},
|
|
"REFERENCE_RESOURCE_FORM": {
|
|
"access": "session-required",
|
|
"chunkId": "route-reference-resource-form",
|
|
"errorSurface": "feature-boundary",
|
|
"loadingSurface": "reference-resource-form",
|
|
"navigationLabel": null,
|
|
"navigationOrder": null,
|
|
"paramsSchema": null,
|
|
"path": "/examples/reference-resources/new",
|
|
"routeId": "REFERENCE_RESOURCE_FORM",
|
|
"searchSchema": null,
|
|
"title": "Reference form"
|
|
},
|
|
"REFERENCE_RESOURCE_LIST": {
|
|
"access": "session-required",
|
|
"chunkId": "route-reference-resources",
|
|
"errorSurface": "feature-boundary",
|
|
"loadingSurface": "reference-resource-list",
|
|
"navigationLabel": "Reference feature",
|
|
"navigationOrder": 50,
|
|
"paramsSchema": null,
|
|
"path": "/examples/reference-resources",
|
|
"routeId": "REFERENCE_RESOURCE_LIST",
|
|
"searchSchema": "ReferenceResourceListQuery",
|
|
"title": "Reference feature"
|
|
},
|
|
"REFERENCE_RESOURCE_STATUS": {
|
|
"access": "session-required",
|
|
"chunkId": "route-reference-resource-status",
|
|
"errorSurface": "feature-boundary",
|
|
"loadingSurface": "reference-resource-status",
|
|
"navigationLabel": null,
|
|
"navigationOrder": null,
|
|
"paramsSchema": null,
|
|
"path": "/examples/reference-resources/status",
|
|
"routeId": "REFERENCE_RESOURCE_STATUS",
|
|
"searchSchema": null,
|
|
"title": "Reference status"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-ROUTE-RUNTIME",
|
|
"owner": "feature-frontend-routing-release-recovery-runtime",
|
|
"source": "src/features/installed-feature-contracts.ts",
|
|
"rowCount": 10,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"routeId",
|
|
"moduleId",
|
|
"paramsCodec",
|
|
"searchCodec"
|
|
],
|
|
"fieldTypes": {
|
|
"routeId": "string",
|
|
"moduleId": "string",
|
|
"paramsCodec": "string",
|
|
"searchCodec": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"routeId",
|
|
"moduleId"
|
|
],
|
|
"allowedValues": {},
|
|
"references": [
|
|
{
|
|
"field": "routeId",
|
|
"registryId": "FE-REG-ROUTE",
|
|
"targetField": "routeId"
|
|
},
|
|
{
|
|
"field": "paramsCodec",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
},
|
|
{
|
|
"field": "searchCodec",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
}
|
|
],
|
|
"keyField": "routeId",
|
|
"breakingFields": [
|
|
"routeId",
|
|
"moduleId",
|
|
"paramsCodec",
|
|
"searchCodec"
|
|
]
|
|
},
|
|
"rows": {
|
|
"APP_HOME": {
|
|
"moduleId": "home-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "APP_HOME",
|
|
"searchCodec": "none"
|
|
},
|
|
"EXAMPLES_AUTH": {
|
|
"moduleId": "auth-example-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "EXAMPLES_AUTH",
|
|
"searchCodec": "none"
|
|
},
|
|
"EXAMPLES_PLATFORM": {
|
|
"moduleId": "platform-overview-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "EXAMPLES_PLATFORM",
|
|
"searchCodec": "none"
|
|
},
|
|
"EXAMPLES_STATES": {
|
|
"moduleId": "state-gallery-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "EXAMPLES_STATES",
|
|
"searchCodec": "none"
|
|
},
|
|
"EXAMPLES_UI": {
|
|
"moduleId": "ui-gallery-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "EXAMPLES_UI",
|
|
"searchCodec": "none"
|
|
},
|
|
"NOT_FOUND": {
|
|
"moduleId": "not-found-page",
|
|
"paramsCodec": "NotFoundSplat",
|
|
"routeId": "NOT_FOUND",
|
|
"searchCodec": "none"
|
|
},
|
|
"REFERENCE_RESOURCE_DETAIL": {
|
|
"moduleId": "reference-resource-detail-page",
|
|
"paramsCodec": "ReferenceResourceParams",
|
|
"routeId": "REFERENCE_RESOURCE_DETAIL",
|
|
"searchCodec": "none"
|
|
},
|
|
"REFERENCE_RESOURCE_FORM": {
|
|
"moduleId": "reference-resource-form-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "REFERENCE_RESOURCE_FORM",
|
|
"searchCodec": "none"
|
|
},
|
|
"REFERENCE_RESOURCE_LIST": {
|
|
"moduleId": "reference-resource-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "REFERENCE_RESOURCE_LIST",
|
|
"searchCodec": "ReferenceResourceListQuery"
|
|
},
|
|
"REFERENCE_RESOURCE_STATUS": {
|
|
"moduleId": "reference-resource-status-page",
|
|
"paramsCodec": "none",
|
|
"routeId": "REFERENCE_RESOURCE_STATUS",
|
|
"searchCodec": "none"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-API",
|
|
"owner": "feature-frontend-api-client-response-envelope-contract",
|
|
"source": "src/features/loaded-feature-runtimes.ts",
|
|
"rowCount": 3,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"operationId",
|
|
"featureId",
|
|
"method",
|
|
"path",
|
|
"authProfileId",
|
|
"retrySemantics",
|
|
"requestBody",
|
|
"responseBody",
|
|
"responseEnvelope",
|
|
"requestSchema",
|
|
"responseSchema",
|
|
"problemSchema"
|
|
],
|
|
"fieldTypes": {
|
|
"operationId": "string",
|
|
"featureId": "string",
|
|
"method": "string",
|
|
"path": "string",
|
|
"authProfileId": "string",
|
|
"retrySemantics": "string",
|
|
"requestBody": "string",
|
|
"responseBody": "string",
|
|
"responseEnvelope": "string",
|
|
"requestSchema": "string",
|
|
"responseSchema": "string",
|
|
"problemSchema": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"operationId"
|
|
],
|
|
"allowedValues": {
|
|
"method": [
|
|
"GET",
|
|
"HEAD",
|
|
"POST",
|
|
"PUT",
|
|
"PATCH",
|
|
"DELETE"
|
|
],
|
|
"retrySemantics": [
|
|
"SAFE",
|
|
"IDEMPOTENT",
|
|
"KEYED",
|
|
"NEVER"
|
|
],
|
|
"requestBody": [
|
|
"NONE",
|
|
"JSON"
|
|
],
|
|
"responseBody": [
|
|
"REQUIRED_JSON",
|
|
"OPTIONAL_JSON",
|
|
"NONE"
|
|
],
|
|
"responseEnvelope": [
|
|
"NONE",
|
|
"ENVELOPE_V1"
|
|
]
|
|
},
|
|
"references": [
|
|
{
|
|
"field": "requestSchema",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
},
|
|
{
|
|
"field": "responseSchema",
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"targetField": "schemaId"
|
|
}
|
|
],
|
|
"keyField": "operationId",
|
|
"breakingFields": [
|
|
"operationId",
|
|
"method",
|
|
"path",
|
|
"authProfileId",
|
|
"retrySemantics",
|
|
"requestBody",
|
|
"responseBody",
|
|
"responseEnvelope",
|
|
"requestSchema",
|
|
"responseSchema"
|
|
]
|
|
},
|
|
"rows": {
|
|
"CREATE_REFERENCE_RESOURCE": {
|
|
"authProfileId": "EXTERNAL_BEARER",
|
|
"featureId": "reference-feature",
|
|
"method": "POST",
|
|
"operationId": "CREATE_REFERENCE_RESOURCE",
|
|
"path": "/api/reference-resources",
|
|
"problemSchema": "ReferenceProblem",
|
|
"requestBody": "JSON",
|
|
"requestSchema": "CreateReferenceResourceCommand",
|
|
"responseBody": "REQUIRED_JSON",
|
|
"responseEnvelope": "NONE",
|
|
"responseSchema": "ReferenceResourcePayload",
|
|
"retrySemantics": "KEYED"
|
|
},
|
|
"GET_REFERENCE_RESOURCE": {
|
|
"authProfileId": "EXTERNAL_BEARER",
|
|
"featureId": "reference-feature",
|
|
"method": "GET",
|
|
"operationId": "GET_REFERENCE_RESOURCE",
|
|
"path": "/api/reference-resources/{resourceId}",
|
|
"problemSchema": "ReferenceProblem",
|
|
"requestBody": "NONE",
|
|
"requestSchema": "ReferenceResourceParams",
|
|
"responseBody": "REQUIRED_JSON",
|
|
"responseEnvelope": "NONE",
|
|
"responseSchema": "ReferenceResourcePayload",
|
|
"retrySemantics": "SAFE"
|
|
},
|
|
"LIST_REFERENCE_RESOURCES": {
|
|
"authProfileId": "EXTERNAL_BEARER",
|
|
"featureId": "reference-feature",
|
|
"method": "GET",
|
|
"operationId": "LIST_REFERENCE_RESOURCES",
|
|
"path": "/api/reference-resources",
|
|
"problemSchema": "ReferenceProblem",
|
|
"requestBody": "NONE",
|
|
"requestSchema": "ReferenceResourceListQuery",
|
|
"responseBody": "REQUIRED_JSON",
|
|
"responseEnvelope": "NONE",
|
|
"responseSchema": "ReferenceResourceListPayload",
|
|
"retrySemantics": "SAFE"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-SCHEMA",
|
|
"owner": "feature-frontend-contract-schema-registry",
|
|
"source": "src/features/loaded-feature-runtimes.ts",
|
|
"rowCount": 7,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"schemaId",
|
|
"boundary",
|
|
"owner",
|
|
"runtime"
|
|
],
|
|
"fieldTypes": {
|
|
"schemaId": "string",
|
|
"boundary": "string",
|
|
"owner": "string",
|
|
"runtime": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"schemaId"
|
|
],
|
|
"allowedValues": {
|
|
"boundary": [
|
|
"route-params",
|
|
"route-search",
|
|
"route-search-api-request",
|
|
"api-request",
|
|
"api-response"
|
|
],
|
|
"runtime": [
|
|
"zod"
|
|
]
|
|
},
|
|
"references": [],
|
|
"keyField": "schemaId",
|
|
"breakingFields": [
|
|
"schemaId",
|
|
"boundary",
|
|
"runtime"
|
|
]
|
|
},
|
|
"rows": {
|
|
"CreateReferenceResourceCommand": {
|
|
"boundary": "api-request",
|
|
"direction": "REQUEST",
|
|
"owner": "feature-frontend-reference-feature-vertical-slice",
|
|
"runtime": "zod",
|
|
"schemaId": "CreateReferenceResourceCommand",
|
|
"schemaVersion": 1,
|
|
"unknownFieldPolicy": "REJECT_UNKNOWN"
|
|
},
|
|
"none": {
|
|
"boundary": "route-params",
|
|
"owner": "feature-frontend-routing-release-recovery-runtime",
|
|
"runtime": "zod",
|
|
"schemaId": "none"
|
|
},
|
|
"NotFoundSplat": {
|
|
"boundary": "route-params",
|
|
"owner": "feature-frontend-routing-release-recovery-runtime",
|
|
"runtime": "zod",
|
|
"schemaId": "NotFoundSplat"
|
|
},
|
|
"ReferenceResourceListPayload": {
|
|
"boundary": "api-response",
|
|
"direction": "RESPONSE",
|
|
"owner": "feature-frontend-reference-feature-vertical-slice",
|
|
"runtime": "zod",
|
|
"schemaId": "ReferenceResourceListPayload",
|
|
"schemaVersion": 1,
|
|
"unknownFieldPolicy": "STRIP_UNKNOWN"
|
|
},
|
|
"ReferenceResourceListQuery": {
|
|
"boundary": "route-search-api-request",
|
|
"direction": "REQUEST",
|
|
"owner": "feature-frontend-reference-feature-vertical-slice",
|
|
"runtime": "zod",
|
|
"schemaId": "ReferenceResourceListQuery",
|
|
"schemaVersion": 1,
|
|
"unknownFieldPolicy": "REJECT_UNKNOWN"
|
|
},
|
|
"ReferenceResourceParams": {
|
|
"boundary": "route-params",
|
|
"direction": "REQUEST",
|
|
"owner": "feature-frontend-reference-feature-vertical-slice",
|
|
"runtime": "zod",
|
|
"schemaId": "ReferenceResourceParams",
|
|
"schemaVersion": 1,
|
|
"unknownFieldPolicy": "REJECT_UNKNOWN"
|
|
},
|
|
"ReferenceResourcePayload": {
|
|
"boundary": "api-response",
|
|
"direction": "RESPONSE",
|
|
"owner": "feature-frontend-reference-feature-vertical-slice",
|
|
"runtime": "zod",
|
|
"schemaId": "ReferenceResourcePayload",
|
|
"schemaVersion": 1,
|
|
"unknownFieldPolicy": "STRIP_UNKNOWN"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-ENV",
|
|
"owner": "feature-frontend-env-runtime-config-contract",
|
|
"source": "src/contracts/env.ts",
|
|
"rowCount": 16,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"phase",
|
|
"classification",
|
|
"required",
|
|
"defaultValue"
|
|
],
|
|
"fieldTypes": {
|
|
"phase": "string",
|
|
"classification": "string",
|
|
"required": "boolean",
|
|
"defaultValue": "string|integer|boolean|null"
|
|
},
|
|
"uniqueFields": [],
|
|
"allowedValues": {
|
|
"phase": [
|
|
"build",
|
|
"runtime"
|
|
],
|
|
"classification": [
|
|
"public",
|
|
"public-sensitive",
|
|
"public-metadata",
|
|
"compile-time"
|
|
]
|
|
},
|
|
"references": [],
|
|
"keyField": null,
|
|
"breakingFields": [
|
|
"phase",
|
|
"classification",
|
|
"required"
|
|
]
|
|
},
|
|
"rows": {
|
|
"API_BASE_URL": {
|
|
"classification": "public-sensitive",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"APP_ENV": {
|
|
"classification": "public",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"AUTH_MODE": {
|
|
"classification": "public",
|
|
"defaultValue": "external",
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"CAPABILITY_OVERRIDES": {
|
|
"classification": "public",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": false
|
|
},
|
|
"CONFIG_SCHEMA_VERSION": {
|
|
"classification": "public",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"FEATURE_OVERRIDES": {
|
|
"classification": "public",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": false
|
|
},
|
|
"MAX_RETRY_ATTEMPTS": {
|
|
"classification": "public",
|
|
"defaultValue": 2,
|
|
"phase": "runtime",
|
|
"required": false
|
|
},
|
|
"RELEASE_MANIFEST_URL": {
|
|
"classification": "public",
|
|
"defaultValue": "/release-manifest.json",
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"REQUEST_TIMEOUT_MS": {
|
|
"classification": "public",
|
|
"defaultValue": 10000,
|
|
"phase": "runtime",
|
|
"required": false
|
|
},
|
|
"TELEMETRY_ENABLED": {
|
|
"classification": "public",
|
|
"defaultValue": false,
|
|
"phase": "runtime",
|
|
"required": true
|
|
},
|
|
"TELEMETRY_ENDPOINT": {
|
|
"classification": "public-sensitive",
|
|
"defaultValue": null,
|
|
"phase": "runtime",
|
|
"required": false
|
|
},
|
|
"VITE_BUILD_ID": {
|
|
"classification": "public-metadata",
|
|
"defaultValue": "local-build",
|
|
"phase": "build",
|
|
"required": true
|
|
},
|
|
"VITE_COMMIT_SHA": {
|
|
"classification": "public-metadata",
|
|
"defaultValue": "local",
|
|
"phase": "build",
|
|
"required": false
|
|
},
|
|
"VITE_PRODUCT_FEATURES": {
|
|
"classification": "compile-time",
|
|
"defaultValue": null,
|
|
"phase": "build",
|
|
"required": false
|
|
},
|
|
"VITE_ROUTER_BASE_PATH": {
|
|
"classification": "compile-time",
|
|
"defaultValue": "/",
|
|
"phase": "build",
|
|
"required": true
|
|
},
|
|
"VITE_RUNTIME_CONFIG_URL": {
|
|
"classification": "compile-time",
|
|
"defaultValue": "/config.json",
|
|
"phase": "build",
|
|
"required": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-STORAGE",
|
|
"owner": "feature-frontend-storage-registry-contract",
|
|
"source": "src/contracts/storage-keys.ts",
|
|
"rowCount": 7,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"logicalName",
|
|
"physicalKey",
|
|
"backend",
|
|
"classification",
|
|
"schemaVersion",
|
|
"valueCodec",
|
|
"ttl",
|
|
"migration",
|
|
"quotaFallback"
|
|
],
|
|
"fieldTypes": {
|
|
"logicalName": "string",
|
|
"physicalKey": "string",
|
|
"backend": "string",
|
|
"classification": "string",
|
|
"schemaVersion": "integer",
|
|
"valueCodec": "string",
|
|
"ttl": "integer|string|null",
|
|
"migration": "string",
|
|
"quotaFallback": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"logicalName",
|
|
"physicalKey"
|
|
],
|
|
"allowedValues": {
|
|
"backend": [
|
|
"memory",
|
|
"sessionStorage",
|
|
"localStorage",
|
|
"disabled",
|
|
"forbidden",
|
|
"external"
|
|
],
|
|
"classification": [
|
|
"public-preference",
|
|
"opaque-cache",
|
|
"sensitive-forbidden"
|
|
],
|
|
"valueCodec": [
|
|
"color-scheme-v1",
|
|
"opaque-string-v1",
|
|
"none"
|
|
],
|
|
"migration": [
|
|
"discard"
|
|
],
|
|
"quotaFallback": [
|
|
"memory",
|
|
"no-persist",
|
|
"feature-disable"
|
|
]
|
|
},
|
|
"references": [],
|
|
"keyField": "logicalName",
|
|
"breakingFields": [
|
|
"logicalName",
|
|
"physicalKey",
|
|
"backend",
|
|
"classification",
|
|
"schemaVersion",
|
|
"valueCodec",
|
|
"migration"
|
|
]
|
|
},
|
|
"rows": {
|
|
"AUTH_TOKEN": {
|
|
"backend": "forbidden",
|
|
"classification": "sensitive-forbidden",
|
|
"logicalName": "AUTH_TOKEN",
|
|
"migration": "discard",
|
|
"name": "auth-token",
|
|
"physicalKey": "ca-frontend:auth:v1:auth-token",
|
|
"quotaFallback": "feature-disable",
|
|
"schemaVersion": 1,
|
|
"scope": "auth",
|
|
"ttl": null,
|
|
"valueCodec": "none"
|
|
},
|
|
"CACHE_INVALIDATION_PULSE": {
|
|
"backend": "external",
|
|
"classification": "opaque-cache",
|
|
"logicalName": "CACHE_INVALIDATION_PULSE",
|
|
"migration": "discard",
|
|
"name": "pulse",
|
|
"physicalKey": "ca-frontend:cache-invalidation:v1:pulse",
|
|
"quotaFallback": "no-persist",
|
|
"schemaVersion": 1,
|
|
"scope": "cache-invalidation",
|
|
"ttl": null,
|
|
"valueCodec": "none"
|
|
},
|
|
"CHUNK_RELOAD_GUARD": {
|
|
"backend": "sessionStorage",
|
|
"classification": "opaque-cache",
|
|
"logicalName": "CHUNK_RELOAD_GUARD",
|
|
"migration": "discard",
|
|
"name": "chunk-reload-guard",
|
|
"physicalKey": "ca-frontend:release:v1:chunk-reload-guard",
|
|
"quotaFallback": "no-persist",
|
|
"schemaVersion": 1,
|
|
"scope": "release",
|
|
"ttl": "session",
|
|
"valueCodec": "opaque-string-v1"
|
|
},
|
|
"COLOR_SCHEME": {
|
|
"backend": "localStorage",
|
|
"classification": "public-preference",
|
|
"logicalName": "COLOR_SCHEME",
|
|
"migration": "discard",
|
|
"name": "color-scheme",
|
|
"physicalKey": "ca-frontend:preference:v1:color-scheme",
|
|
"quotaFallback": "memory",
|
|
"schemaVersion": 1,
|
|
"scope": "preference",
|
|
"ttl": null,
|
|
"valueCodec": "color-scheme-v1"
|
|
},
|
|
"LOCALE": {
|
|
"backend": "localStorage",
|
|
"classification": "public-preference",
|
|
"logicalName": "LOCALE",
|
|
"migration": "discard",
|
|
"name": "locale",
|
|
"physicalKey": "ca-frontend:preference:v1:locale",
|
|
"quotaFallback": "memory",
|
|
"schemaVersion": 1,
|
|
"scope": "preference",
|
|
"ttl": null,
|
|
"valueCodec": "opaque-string-v1"
|
|
},
|
|
"QUERY_PERSISTENCE": {
|
|
"backend": "disabled",
|
|
"classification": "sensitive-forbidden",
|
|
"logicalName": "QUERY_PERSISTENCE",
|
|
"migration": "discard",
|
|
"name": "query-persistence",
|
|
"physicalKey": "ca-frontend:cache:v1:query-persistence",
|
|
"quotaFallback": "feature-disable",
|
|
"schemaVersion": 1,
|
|
"scope": "cache",
|
|
"ttl": null,
|
|
"valueCodec": "none"
|
|
},
|
|
"RELEASE_MISMATCH_RECOVERY": {
|
|
"backend": "sessionStorage",
|
|
"classification": "opaque-cache",
|
|
"logicalName": "RELEASE_MISMATCH_RECOVERY",
|
|
"migration": "discard",
|
|
"name": "boot-mismatch-recovery",
|
|
"physicalKey": "ca-frontend:release:v1:boot-mismatch-recovery",
|
|
"quotaFallback": "no-persist",
|
|
"schemaVersion": 1,
|
|
"scope": "release",
|
|
"ttl": "session",
|
|
"valueCodec": "opaque-string-v1"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-ERROR",
|
|
"owner": "feature-frontend-error-classification-boundary-contract",
|
|
"source": "src/contracts/errors.ts",
|
|
"rowCount": 38,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"kind",
|
|
"defaultRetryable",
|
|
"userMessageKey",
|
|
"action"
|
|
],
|
|
"fieldTypes": {
|
|
"kind": "string",
|
|
"defaultRetryable": "boolean",
|
|
"userMessageKey": "string",
|
|
"action": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"kind"
|
|
],
|
|
"allowedValues": {
|
|
"action": [
|
|
"retry",
|
|
"reauth",
|
|
"navigate",
|
|
"reload-once",
|
|
"contact-support",
|
|
"none"
|
|
]
|
|
},
|
|
"references": [],
|
|
"keyField": "kind",
|
|
"breakingFields": [
|
|
"kind",
|
|
"userMessageKey",
|
|
"action"
|
|
]
|
|
},
|
|
"rows": {
|
|
"API_CONTRACT_MISMATCH": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "API_CONTRACT_MISMATCH",
|
|
"userMessageKey": "error.api_contract_mismatch"
|
|
},
|
|
"ASSET_MISMATCH": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "ASSET_MISMATCH",
|
|
"userMessageKey": "error.asset_mismatch"
|
|
},
|
|
"AUTH_INTEGRATION_FAILURE": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "AUTH_INTEGRATION_FAILURE",
|
|
"userMessageKey": "error.auth_integration_failure"
|
|
},
|
|
"AUTH_REQUIRED": {
|
|
"action": "reauth",
|
|
"defaultRetryable": false,
|
|
"kind": "AUTH_REQUIRED",
|
|
"userMessageKey": "error.auth_required"
|
|
},
|
|
"BOOT_CONFIG_FAILURE": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "BOOT_CONFIG_FAILURE",
|
|
"userMessageKey": "error.boot_config_failure"
|
|
},
|
|
"BUILD_MISMATCH": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "BUILD_MISMATCH",
|
|
"userMessageKey": "error.build_mismatch"
|
|
},
|
|
"CHUNK_LOAD_FAILURE": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "CHUNK_LOAD_FAILURE",
|
|
"userMessageKey": "error.chunk_load_failure"
|
|
},
|
|
"CONFIG_MISMATCH": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "CONFIG_MISMATCH",
|
|
"userMessageKey": "error.config_mismatch"
|
|
},
|
|
"CONFLICT": {
|
|
"action": "retry",
|
|
"defaultRetryable": false,
|
|
"kind": "CONFLICT",
|
|
"userMessageKey": "error.conflict"
|
|
},
|
|
"CONTENT_TYPE_MISMATCH": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "CONTENT_TYPE_MISMATCH",
|
|
"userMessageKey": "error.content_type_mismatch"
|
|
},
|
|
"DEPLOY_MISMATCH": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "DEPLOY_MISMATCH",
|
|
"userMessageKey": "error.deploy_mismatch"
|
|
},
|
|
"DUPLICATE_IN_FLIGHT": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "DUPLICATE_IN_FLIGHT",
|
|
"userMessageKey": "error.duplicate_in_flight"
|
|
},
|
|
"ENVELOPE_MISMATCH": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "ENVELOPE_MISMATCH",
|
|
"userMessageKey": "error.envelope_mismatch"
|
|
},
|
|
"FORBIDDEN": {
|
|
"action": "navigate",
|
|
"defaultRetryable": false,
|
|
"kind": "FORBIDDEN",
|
|
"userMessageKey": "error.forbidden"
|
|
},
|
|
"IDENTITY_INTERN_LIMIT_EXCEEDED": {
|
|
"action": "retry",
|
|
"defaultRetryable": false,
|
|
"kind": "IDENTITY_INTERN_LIMIT_EXCEEDED",
|
|
"userMessageKey": "error.identity_intern_limit_exceeded"
|
|
},
|
|
"MALFORMED_JSON": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "MALFORMED_JSON",
|
|
"userMessageKey": "error.malformed_json"
|
|
},
|
|
"MAPPING_CONTRACT_VIOLATION": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "MAPPING_CONTRACT_VIOLATION",
|
|
"userMessageKey": "error.mapping_contract_violation"
|
|
},
|
|
"NETWORK_UNREACHABLE": {
|
|
"action": "retry",
|
|
"defaultRetryable": true,
|
|
"kind": "NETWORK_UNREACHABLE",
|
|
"userMessageKey": "error.network_unreachable"
|
|
},
|
|
"NOT_FOUND": {
|
|
"action": "navigate",
|
|
"defaultRetryable": false,
|
|
"kind": "NOT_FOUND",
|
|
"userMessageKey": "error.not_found"
|
|
},
|
|
"PAGINATION_CONTRACT_VIOLATION": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "PAGINATION_CONTRACT_VIOLATION",
|
|
"userMessageKey": "error.pagination_contract_violation"
|
|
},
|
|
"QUERY_CACHE_FAILURE": {
|
|
"action": "retry",
|
|
"defaultRetryable": false,
|
|
"kind": "QUERY_CACHE_FAILURE",
|
|
"userMessageKey": "error.query_cache_failure"
|
|
},
|
|
"RATE_LIMITED": {
|
|
"action": "retry",
|
|
"defaultRetryable": true,
|
|
"kind": "RATE_LIMITED",
|
|
"userMessageKey": "error.rate_limited"
|
|
},
|
|
"RELEASE_MANIFEST_FAILURE": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "RELEASE_MANIFEST_FAILURE",
|
|
"userMessageKey": "error.release_manifest_failure"
|
|
},
|
|
"RELEASE_MISMATCH": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "RELEASE_MISMATCH",
|
|
"userMessageKey": "error.release_mismatch"
|
|
},
|
|
"RENDER_FAILURE": {
|
|
"action": "reload-once",
|
|
"defaultRetryable": false,
|
|
"kind": "RENDER_FAILURE",
|
|
"userMessageKey": "error.render_failure"
|
|
},
|
|
"REQUEST_ABORTED": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "REQUEST_ABORTED",
|
|
"userMessageKey": "error.request_aborted"
|
|
},
|
|
"REQUEST_TIMEOUT": {
|
|
"action": "retry",
|
|
"defaultRetryable": true,
|
|
"kind": "REQUEST_TIMEOUT",
|
|
"userMessageKey": "error.request_timeout"
|
|
},
|
|
"RESPONSE_BODY_LIMIT": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "RESPONSE_BODY_LIMIT",
|
|
"userMessageKey": "error.response_body_limit"
|
|
},
|
|
"RESULT_LIMIT_EXCEEDED": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "RESULT_LIMIT_EXCEEDED",
|
|
"userMessageKey": "error.result_limit_exceeded"
|
|
},
|
|
"SCHEMA_MISMATCH": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "SCHEMA_MISMATCH",
|
|
"userMessageKey": "error.schema_mismatch"
|
|
},
|
|
"SCOPE_GENERATION_CHANGED": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "SCOPE_GENERATION_CHANGED",
|
|
"userMessageKey": "error.scope_generation_changed"
|
|
},
|
|
"SERVER_FAILURE": {
|
|
"action": "retry",
|
|
"defaultRetryable": true,
|
|
"kind": "SERVER_FAILURE",
|
|
"userMessageKey": "error.server_failure"
|
|
},
|
|
"STORAGE_QUOTA_EXCEEDED": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "STORAGE_QUOTA_EXCEEDED",
|
|
"userMessageKey": "error.storage_quota_exceeded"
|
|
},
|
|
"STORAGE_UNAVAILABLE": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "STORAGE_UNAVAILABLE",
|
|
"userMessageKey": "error.storage_unavailable"
|
|
},
|
|
"TELEMETRY_FAILURE": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "TELEMETRY_FAILURE",
|
|
"userMessageKey": "error.telemetry_failure"
|
|
},
|
|
"UNKNOWN_CLIENT_FAILURE": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "UNKNOWN_CLIENT_FAILURE",
|
|
"userMessageKey": "error.unknown_client_failure"
|
|
},
|
|
"UNKNOWN_FAILURE": {
|
|
"action": "contact-support",
|
|
"defaultRetryable": false,
|
|
"kind": "UNKNOWN_FAILURE",
|
|
"userMessageKey": "error.unknown_failure"
|
|
},
|
|
"VALIDATION_REJECTED": {
|
|
"action": "none",
|
|
"defaultRetryable": false,
|
|
"kind": "VALIDATION_REJECTED",
|
|
"userMessageKey": "error.validation_rejected"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-QUERY-INVALIDATION",
|
|
"owner": "feature-frontend-server-state-caching-contract",
|
|
"source": "src/features/installed-feature-contracts.ts",
|
|
"rowCount": 1,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"topicId",
|
|
"namespace.namespaceId",
|
|
"namespace.namespaceVersion"
|
|
],
|
|
"fieldTypes": {
|
|
"topicId": "string",
|
|
"namespace.namespaceId": "string",
|
|
"namespace.namespaceVersion": "integer"
|
|
},
|
|
"uniqueFields": [],
|
|
"allowedValues": {},
|
|
"references": [],
|
|
"keyField": null,
|
|
"breakingFields": [
|
|
"topics",
|
|
"namespaces",
|
|
"edges"
|
|
],
|
|
"rowsPath": "edges",
|
|
"rowKeyFields": [
|
|
"topicId",
|
|
"namespace.namespaceId",
|
|
"namespace.namespaceVersion"
|
|
],
|
|
"uniqueFieldSets": [
|
|
[
|
|
"topicId",
|
|
"namespace.namespaceId",
|
|
"namespace.namespaceVersion"
|
|
]
|
|
],
|
|
"snapshotProjection": {
|
|
"singletonRowKey": "invalidation-graph",
|
|
"canonicalArrayKeyFields": {
|
|
"topics": [
|
|
"$value"
|
|
],
|
|
"namespaces": [
|
|
"namespaceId",
|
|
"namespaceVersion"
|
|
],
|
|
"edges": [
|
|
"topicId",
|
|
"namespace.namespaceId",
|
|
"namespace.namespaceVersion"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rows": {
|
|
"invalidation-graph": {
|
|
"edges": [
|
|
{
|
|
"namespace": {
|
|
"namespaceId": "reference-resource",
|
|
"namespaceVersion": 1
|
|
},
|
|
"topicId": "qinv.01k10f7m3w9p6r2c8v5n4x"
|
|
}
|
|
],
|
|
"namespaces": [
|
|
{
|
|
"namespaceId": "reference-resource",
|
|
"namespaceVersion": 1
|
|
}
|
|
],
|
|
"topics": [
|
|
"qinv.01k10f7m3w9p6r2c8v5n4x"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-QUERY-INVALIDATION-TOPIC-VERSION",
|
|
"owner": "feature-frontend-server-state-caching-contract",
|
|
"source": "src/features/installed-feature-contracts.ts",
|
|
"rowCount": 1,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"topicId",
|
|
"topicVersion"
|
|
],
|
|
"fieldTypes": {
|
|
"topicId": "string",
|
|
"topicVersion": "integer"
|
|
},
|
|
"uniqueFields": [
|
|
"topicId"
|
|
],
|
|
"allowedValues": {},
|
|
"references": [],
|
|
"keyField": null,
|
|
"breakingFields": [
|
|
"topicId",
|
|
"topicVersion"
|
|
],
|
|
"rowKeyFields": [
|
|
"topicId"
|
|
]
|
|
},
|
|
"rows": {
|
|
"[\"qinv.01k10f7m3w9p6r2c8v5n4x\"]": {
|
|
"topicId": "qinv.01k10f7m3w9p6r2c8v5n4x",
|
|
"topicVersion": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-TELEMETRY",
|
|
"owner": "feature-frontend-diagnostics-telemetry-runtime",
|
|
"source": "src/contracts/telemetry.ts",
|
|
"rowCount": 6,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"eventName",
|
|
"trigger",
|
|
"requiredAttributes",
|
|
"optionalAttributes",
|
|
"forbiddenAttributes",
|
|
"sampling",
|
|
"delivery"
|
|
],
|
|
"fieldTypes": {
|
|
"eventName": "string",
|
|
"trigger": "string",
|
|
"requiredAttributes": "array",
|
|
"optionalAttributes": "array",
|
|
"forbiddenAttributes": "array",
|
|
"sampling": "string",
|
|
"delivery": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"eventName"
|
|
],
|
|
"allowedValues": {
|
|
"delivery": [
|
|
"best-effort"
|
|
]
|
|
},
|
|
"references": [],
|
|
"keyField": "eventName",
|
|
"breakingFields": [
|
|
"eventName",
|
|
"requiredAttributes",
|
|
"forbiddenAttributes",
|
|
"delivery"
|
|
]
|
|
},
|
|
"rows": {
|
|
"api.request.failed": {
|
|
"delivery": "best-effort",
|
|
"eventName": "api.request.failed",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [
|
|
"duration_bucket",
|
|
"operation_id"
|
|
],
|
|
"requiredAttributes": [
|
|
"attempt_count_bucket",
|
|
"error_kind",
|
|
"http_status_group",
|
|
"route_id"
|
|
],
|
|
"sampling": "all",
|
|
"trigger": "terminal API failure"
|
|
},
|
|
"app.boot.failed": {
|
|
"delivery": "best-effort",
|
|
"eventName": "app.boot.failed",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [],
|
|
"requiredAttributes": [
|
|
"build_id",
|
|
"config_schema_version",
|
|
"error_kind"
|
|
],
|
|
"sampling": "all",
|
|
"trigger": "boot validation failure"
|
|
},
|
|
"release.mismatch.detected": {
|
|
"delivery": "best-effort",
|
|
"eventName": "release.mismatch.detected",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [],
|
|
"requiredAttributes": [
|
|
"active_release_id",
|
|
"build_id",
|
|
"mismatch_kind"
|
|
],
|
|
"sampling": "all",
|
|
"trigger": "release tuple mismatch"
|
|
},
|
|
"service-worker.start.failed": {
|
|
"delivery": "best-effort",
|
|
"eventName": "service-worker.start.failed",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [],
|
|
"requiredAttributes": [
|
|
"build_id",
|
|
"error_kind"
|
|
],
|
|
"sampling": "all",
|
|
"trigger": "Service Worker start ended FAILED or INCOMPATIBLE"
|
|
},
|
|
"telemetry.delivery.dropped": {
|
|
"delivery": "best-effort",
|
|
"eventName": "telemetry.delivery.dropped",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [],
|
|
"requiredAttributes": [
|
|
"queue_size_bucket",
|
|
"reason"
|
|
],
|
|
"sampling": "internal-counter",
|
|
"trigger": "queue or sink failure"
|
|
},
|
|
"ui.render.failed": {
|
|
"delivery": "best-effort",
|
|
"eventName": "ui.render.failed",
|
|
"forbiddenAttributes": [
|
|
"access_token",
|
|
"authorization_header",
|
|
"cookie",
|
|
"email",
|
|
"query_string",
|
|
"raw_url",
|
|
"raw_user_id",
|
|
"refresh_token",
|
|
"request_body",
|
|
"response_body",
|
|
"stack_in_user_message",
|
|
"storage_value",
|
|
"user_name"
|
|
],
|
|
"optionalAttributes": [],
|
|
"requiredAttributes": [
|
|
"build_id",
|
|
"component_boundary",
|
|
"route_id"
|
|
],
|
|
"sampling": "all",
|
|
"trigger": "React boundary catch"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"registryId": "FE-REG-RELEASE",
|
|
"owner": "feature-frontend-release-cache-rollback-contract",
|
|
"source": "src/contracts/release-tokens.ts",
|
|
"rowCount": 9,
|
|
"contract": {
|
|
"requiredFields": [
|
|
"token",
|
|
"source",
|
|
"compatibilityRole"
|
|
],
|
|
"fieldTypes": {
|
|
"token": "string",
|
|
"source": "string",
|
|
"compatibilityRole": "string"
|
|
},
|
|
"uniqueFields": [
|
|
"token"
|
|
],
|
|
"allowedValues": {},
|
|
"references": [],
|
|
"keyField": "token",
|
|
"breakingFields": [
|
|
"token",
|
|
"source",
|
|
"compatibilityRole"
|
|
]
|
|
},
|
|
"rows": {
|
|
"apiContractVersion": {
|
|
"compatibilityRole": "legacy V1 scalar; superseded by contractSetDigest",
|
|
"source": "frontend/backend agreement",
|
|
"token": "apiContractVersion"
|
|
},
|
|
"appVersion": {
|
|
"compatibilityRole": "human release label",
|
|
"source": "manifest",
|
|
"token": "appVersion"
|
|
},
|
|
"assetManifestHash": {
|
|
"compatibilityRole": "chunk integrity and mismatch detection",
|
|
"source": "build output",
|
|
"token": "assetManifestHash"
|
|
},
|
|
"buildId": {
|
|
"compatibilityRole": "asset and HTML coherence",
|
|
"source": "CI build",
|
|
"token": "buildId"
|
|
},
|
|
"builtAt": {
|
|
"compatibilityRole": "diagnostics only; never cache identity",
|
|
"source": "CI",
|
|
"token": "builtAt"
|
|
},
|
|
"commitSha": {
|
|
"compatibilityRole": "source traceability",
|
|
"source": "VCS",
|
|
"token": "commitSha"
|
|
},
|
|
"configSchemaVersion": {
|
|
"compatibilityRole": "boot compatibility",
|
|
"source": "runtime config schema",
|
|
"token": "configSchemaVersion"
|
|
},
|
|
"contractSetDigest": {
|
|
"compatibilityRole": "release coherence for multi-package contracts",
|
|
"source": "compiled external contract package set",
|
|
"token": "contractSetDigest"
|
|
},
|
|
"releaseId": {
|
|
"compatibilityRole": "rollback target",
|
|
"source": "deploy system",
|
|
"token": "releaseId"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|