@radicaltools/cli 0.4.0 → 0.6.0

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 (65) hide show
  1. package/README.md +54 -27
  2. package/dist/{chunk-3H4ISGOV.js → chunk-CWKX2ULF.js} +1 -1
  3. package/dist/{dist-5ZBGYT7R.js → dist-KTTOUFHF.js} +2 -2
  4. package/dist/hub-catalogue/concern/concern-accessibility.radical +871 -0
  5. package/dist/hub-catalogue/concern/concern-api-collections.radical +24 -12
  6. package/dist/hub-catalogue/concern/concern-api-errors.radical +26 -13
  7. package/dist/hub-catalogue/concern/concern-api-evolution.radical +26 -13
  8. package/dist/hub-catalogue/concern/concern-api-idempotency.radical +28 -14
  9. package/dist/hub-catalogue/concern/concern-api-resource-design.radical +24 -12
  10. package/dist/hub-catalogue/concern/concern-api-style-guide.radical +26 -13
  11. package/dist/hub-catalogue/concern/concern-architecture-style.radical +26 -13
  12. package/dist/hub-catalogue/concern/concern-audit-trail.radical +26 -13
  13. package/dist/hub-catalogue/concern/concern-authentication.radical +18 -9
  14. package/dist/hub-catalogue/concern/concern-authorization.radical +34 -17
  15. package/dist/hub-catalogue/concern/concern-availability.radical +20 -10
  16. package/dist/hub-catalogue/concern/concern-backend-stack.radical +16 -8
  17. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +30 -15
  18. package/dist/hub-catalogue/concern/concern-caching.radical +28 -14
  19. package/dist/hub-catalogue/concern/concern-capacity.radical +18 -9
  20. package/dist/hub-catalogue/concern/concern-ci-cd-pipeline.radical +975 -0
  21. package/dist/hub-catalogue/concern/concern-code-documentation.radical +32 -16
  22. package/dist/hub-catalogue/concern/concern-code-quality-gate.radical +30 -15
  23. package/dist/hub-catalogue/concern/concern-code-review-branching.radical +32 -16
  24. package/dist/hub-catalogue/concern/concern-code-style.radical +24 -12
  25. package/dist/hub-catalogue/concern/concern-communication-style.radical +28 -14
  26. package/dist/hub-catalogue/concern/concern-data-classification.radical +20 -10
  27. package/dist/hub-catalogue/concern/concern-data-consistency.radical +20 -10
  28. package/dist/hub-catalogue/concern/concern-data-store.radical +24 -12
  29. package/dist/hub-catalogue/concern/concern-decomposition.radical +28 -14
  30. package/dist/hub-catalogue/concern/concern-definition-of-done.radical +26 -13
  31. package/dist/hub-catalogue/concern/concern-delivery-metrics.radical +22 -11
  32. package/dist/hub-catalogue/concern/concern-dependency-hygiene.radical +28 -14
  33. package/dist/hub-catalogue/concern/concern-deployment.radical +24 -12
  34. package/dist/hub-catalogue/concern/concern-encryption.radical +28 -14
  35. package/dist/hub-catalogue/concern/concern-error-handling-logging.radical +28 -14
  36. package/dist/hub-catalogue/concern/concern-eu-dora.radical +26 -13
  37. package/dist/hub-catalogue/concern/concern-frontend-stack.radical +96 -309
  38. package/dist/hub-catalogue/concern/concern-incident-management.radical +26 -13
  39. package/dist/hub-catalogue/concern/concern-infrastructure.radical +34 -17
  40. package/dist/hub-catalogue/concern/concern-integration-resilience.radical +26 -13
  41. package/dist/hub-catalogue/concern/concern-messaging.radical +18 -9
  42. package/dist/hub-catalogue/concern/concern-mobile-performance.radical +710 -0
  43. package/dist/hub-catalogue/concern/concern-module-boundaries.radical +18 -9
  44. package/dist/hub-catalogue/concern/concern-observability.radical +22 -11
  45. package/dist/hub-catalogue/concern/concern-operational-readiness.radical +28 -14
  46. package/dist/hub-catalogue/concern/concern-personal-data.radical +42 -21
  47. package/dist/hub-catalogue/concern/concern-quality-priorities.radical +24 -12
  48. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +30 -15
  49. package/dist/hub-catalogue/concern/concern-release-versioning.radical +308 -57
  50. package/dist/hub-catalogue/concern/concern-retention.radical +28 -14
  51. package/dist/hub-catalogue/concern/concern-secrets.radical +32 -16
  52. package/dist/hub-catalogue/concern/concern-secure-coding.radical +28 -14
  53. package/dist/hub-catalogue/concern/concern-secure-development.radical +26 -13
  54. package/dist/hub-catalogue/concern/concern-security-detection.radical +22 -11
  55. package/dist/hub-catalogue/concern/concern-supply-chain.radical +28 -14
  56. package/dist/hub-catalogue/concern/concern-technical-debt.radical +30 -15
  57. package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +26 -13
  58. package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +26 -13
  59. package/dist/hub-catalogue/concern/concern-test-strategy.radical +27 -14
  60. package/dist/hub-catalogue/concern/concern-threat-modelling.radical +26 -13
  61. package/dist/hub-catalogue/concern/concern-usability.radical +1266 -0
  62. package/dist/index.js +2563 -463
  63. package/dist/{pdfjs-I4NKVZXV.js → pdfjs-ABY3IR7F.js} +1 -1
  64. package/dist/{undici-4Q3DBBHR.js → undici-7Z7ZFI7Q.js} +1 -1
  65. package/package.json +1 -1
@@ -842,73 +842,85 @@
842
842
  "id": "req-paged--derives--need",
843
843
  "sourceId": "req-paged",
844
844
  "targetId": "need",
845
- "relationType": "derives"
845
+ "relationType": "derives",
846
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
846
847
  },
847
848
  {
848
849
  "id": "req-token-opaque--derives--need",
849
850
  "sourceId": "req-token-opaque",
850
851
  "targetId": "need",
851
- "relationType": "derives"
852
+ "relationType": "derives",
853
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
852
854
  },
853
855
  {
854
856
  "id": "req-token-refused--derives--need",
855
857
  "sourceId": "req-token-refused",
856
858
  "targetId": "need",
857
- "relationType": "derives"
859
+ "relationType": "derives",
860
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
858
861
  },
859
862
  {
860
863
  "id": "req-cursor-consistent--derives--need",
861
864
  "sourceId": "req-cursor-consistent",
862
865
  "targetId": "need",
863
- "relationType": "derives"
866
+ "relationType": "derives",
867
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
864
868
  },
865
869
  {
866
870
  "id": "req-offset-cap--derives--need",
867
871
  "sourceId": "req-offset-cap",
868
872
  "targetId": "need",
869
- "relationType": "derives"
873
+ "relationType": "derives",
874
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
870
875
  },
871
876
  {
872
877
  "id": "req-bounded--derives--need",
873
878
  "sourceId": "req-bounded",
874
879
  "targetId": "need",
875
- "relationType": "derives"
880
+ "relationType": "derives",
881
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
876
882
  },
877
883
  {
878
884
  "id": "req-order--derives--need",
879
885
  "sourceId": "req-order",
880
886
  "targetId": "need",
881
- "relationType": "derives"
887
+ "relationType": "derives",
888
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
882
889
  },
883
890
  {
884
891
  "id": "req-unknown--derives--need",
885
892
  "sourceId": "req-unknown",
886
893
  "targetId": "need",
887
- "relationType": "derives"
894
+ "relationType": "derives",
895
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
888
896
  },
889
897
  {
890
898
  "id": "req-filter--derives--need",
891
899
  "sourceId": "req-filter",
892
900
  "targetId": "need",
893
- "relationType": "derives"
901
+ "relationType": "derives",
902
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
894
903
  },
895
904
  {
896
905
  "id": "req-sort--derives--need",
897
906
  "sourceId": "req-sort",
898
907
  "targetId": "need",
899
- "relationType": "derives"
908
+ "relationType": "derives",
909
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
900
910
  },
901
911
  {
902
912
  "id": "req-fields--derives--need",
903
913
  "sourceId": "req-fields",
904
914
  "targetId": "need",
905
- "relationType": "derives"
915
+ "relationType": "derives",
916
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
906
917
  },
907
918
  {
908
919
  "id": "req-latency--derives--need",
909
920
  "sourceId": "req-latency",
910
921
  "targetId": "need",
911
- "relationType": "derives"
922
+ "relationType": "derives",
923
+ "quote": "Callers read collections from this element over HTTP, and the collections grow. Every list has to come back in bounded time and size however large its collection gets, show each item once to a caller who reads it page by page, apply exactly the filters and order the caller asked for or refuse the request, and hand out nothing callers could come to depend on by accident, such as ids or offsets inside a page token. The snippets assume the OpenAPI document at api/openapi.yaml, the application exported from src/app with requests validated against that document, page tokens sealed by src/collections/pageToken, and the tests under tests/ with their fixtures in tests/collections (a seeded /orders collection and a walk helper that reads every page of a list). Names are written in snake_case as Google AIP-158 writes them (page_size, page_token, next_page_token, order_by); where the Resource design pack chose camelCase, read pageSize, pageToken, nextPageToken and orderBy."
912
924
  },
913
925
  {
914
926
  "id": "sc-paged--verifies--req-paged",
@@ -832,79 +832,92 @@
832
832
  "id": "req-problem-details--derives--need",
833
833
  "sourceId": "req-problem-details",
834
834
  "targetId": "need",
835
- "relationType": "derives"
835
+ "relationType": "derives",
836
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
836
837
  },
837
838
  {
838
839
  "id": "req-microsoft-error--derives--need",
839
840
  "sourceId": "req-microsoft-error",
840
841
  "targetId": "need",
841
- "relationType": "derives"
842
+ "relationType": "derives",
843
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
842
844
  },
843
845
  {
844
846
  "id": "req-google-status--derives--need",
845
847
  "sourceId": "req-google-status",
846
848
  "targetId": "need",
847
- "relationType": "derives"
849
+ "relationType": "derives",
850
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
848
851
  },
849
852
  {
850
853
  "id": "req-minimal--derives--need",
851
854
  "sourceId": "req-minimal",
852
855
  "targetId": "need",
853
- "relationType": "derives"
856
+ "relationType": "derives",
857
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
854
858
  },
855
859
  {
856
860
  "id": "req-correlation--derives--need",
857
861
  "sourceId": "req-correlation",
858
862
  "targetId": "need",
859
- "relationType": "derives"
863
+ "relationType": "derives",
864
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
860
865
  },
861
866
  {
862
867
  "id": "req-caller-text--derives--need",
863
868
  "sourceId": "req-caller-text",
864
869
  "targetId": "need",
865
- "relationType": "derives"
870
+ "relationType": "derives",
871
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
866
872
  },
867
873
  {
868
874
  "id": "req-documented--derives--need",
869
875
  "sourceId": "req-documented",
870
876
  "targetId": "need",
871
- "relationType": "derives"
877
+ "relationType": "derives",
878
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
872
879
  },
873
880
  {
874
881
  "id": "req-codes--derives--need",
875
882
  "sourceId": "req-codes",
876
883
  "targetId": "need",
877
- "relationType": "derives"
884
+ "relationType": "derives",
885
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
878
886
  },
879
887
  {
880
888
  "id": "req-status-only--derives--need",
881
889
  "sourceId": "req-status-only",
882
890
  "targetId": "need",
883
- "relationType": "derives"
891
+ "relationType": "derives",
892
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
884
893
  },
885
894
  {
886
895
  "id": "req-validation-all--derives--need",
887
896
  "sourceId": "req-validation-all",
888
897
  "targetId": "need",
889
- "relationType": "derives"
898
+ "relationType": "derives",
899
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
890
900
  },
891
901
  {
892
902
  "id": "req-validation-first--derives--need",
893
903
  "sourceId": "req-validation-first",
894
904
  "targetId": "need",
895
- "relationType": "derives"
905
+ "relationType": "derives",
906
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
896
907
  },
897
908
  {
898
909
  "id": "req-docs-page--derives--need",
899
910
  "sourceId": "req-docs-page",
900
911
  "targetId": "need",
901
- "relationType": "derives"
912
+ "relationType": "derives",
913
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
902
914
  },
903
915
  {
904
916
  "id": "req-docs-identifiers--derives--need",
905
917
  "sourceId": "req-docs-identifiers",
906
918
  "targetId": "need",
907
- "relationType": "derives"
919
+ "relationType": "derives",
920
+ "quote": "Every client of this API has to handle its errors in code: tell one failure from another without parsing prose, mark every wrong field for its user, and quote one id to support. That only works if every operation answers errors in one documented shape, with codes that keep their meaning and text written for the caller rather than copied from an exception. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the error code catalogue at api/errors/codes.yaml, the error rules in api/style/errors.yaml beside the style ruleset the API style guide pack keeps, the app exported from src/app (an Express app, with test-only routes: GET /__boom throws an unexpected error and GET /__expected an expected one, both with the text in the ERROR_MARK variable), POST /orders validating email, items[].quantity and currency, and the tests under test/ run with NODE_ENV=production."
908
921
  },
909
922
  {
910
923
  "id": "sc-problem-details--verifies--req-problem-details",
@@ -826,79 +826,92 @@
826
826
  "id": "req-contract--derives--need",
827
827
  "sourceId": "req-contract",
828
828
  "targetId": "need",
829
- "relationType": "derives"
829
+ "relationType": "derives",
830
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
830
831
  },
831
832
  {
832
833
  "id": "req-compat--derives--need",
833
834
  "sourceId": "req-compat",
834
835
  "targetId": "need",
835
- "relationType": "derives"
836
+ "relationType": "derives",
837
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
836
838
  },
837
839
  {
838
840
  "id": "req-path--derives--need",
839
841
  "sourceId": "req-path",
840
842
  "targetId": "need",
841
- "relationType": "derives"
843
+ "relationType": "derives",
844
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
842
845
  },
843
846
  {
844
847
  "id": "req-header--derives--need",
845
848
  "sourceId": "req-header",
846
849
  "targetId": "need",
847
- "relationType": "derives"
850
+ "relationType": "derives",
851
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
848
852
  },
849
853
  {
850
854
  "id": "req-header-echo--derives--need",
851
855
  "sourceId": "req-header-echo",
852
856
  "targetId": "need",
853
- "relationType": "derives"
857
+ "relationType": "derives",
858
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
854
859
  },
855
860
  {
856
861
  "id": "req-versionless--derives--need",
857
862
  "sourceId": "req-versionless",
858
863
  "targetId": "need",
859
- "relationType": "derives"
864
+ "relationType": "derives",
865
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
860
866
  },
861
867
  {
862
868
  "id": "req-sunset--derives--need",
863
869
  "sourceId": "req-sunset",
864
870
  "targetId": "need",
865
- "relationType": "derives"
871
+ "relationType": "derives",
872
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
866
873
  },
867
874
  {
868
875
  "id": "req-sunset-graphql--derives--need",
869
876
  "sourceId": "req-sunset-graphql",
870
877
  "targetId": "need",
871
- "relationType": "derives"
878
+ "relationType": "derives",
879
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
872
880
  },
873
881
  {
874
882
  "id": "req-sunset-protobuf--derives--need",
875
883
  "sourceId": "req-sunset-protobuf",
876
884
  "targetId": "need",
877
- "relationType": "derives"
885
+ "relationType": "derives",
886
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
878
887
  },
879
888
  {
880
889
  "id": "req-usage--derives--need",
881
890
  "sourceId": "req-usage",
882
891
  "targetId": "need",
883
- "relationType": "derives"
892
+ "relationType": "derives",
893
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
884
894
  },
885
895
  {
886
896
  "id": "req-pact--derives--need",
887
897
  "sourceId": "req-pact",
888
898
  "targetId": "need",
889
- "relationType": "derives"
899
+ "relationType": "derives",
900
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
890
901
  },
891
902
  {
892
903
  "id": "req-conformance--derives--need",
893
904
  "sourceId": "req-conformance",
894
905
  "targetId": "need",
895
- "relationType": "derives"
906
+ "relationType": "derives",
907
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
896
908
  },
897
909
  {
898
910
  "id": "req-conformance-grpc--derives--need",
899
911
  "sourceId": "req-conformance-grpc",
900
912
  "targetId": "need",
901
- "relationType": "derives"
913
+ "relationType": "derives",
914
+ "quote": "Other systems call this API, and they are released on their own schedule by people who do not see our code. A renamed field, a new required parameter, a narrower type or a changed error breaks them without warning; without a contract nobody can tell which change breaks what, and without notice and a date a caller cannot plan its move off an old version. The API also has to keep changing, so the rules must make safe changes cheap and unsafe ones visible."
902
915
  },
903
916
  {
904
917
  "id": "sc-contract--verifies--req-contract",
@@ -978,85 +978,99 @@
978
978
  "id": "req-key-replay--derives--need",
979
979
  "sourceId": "req-key-replay",
980
980
  "targetId": "need",
981
- "relationType": "derives"
981
+ "relationType": "derives",
982
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
982
983
  },
983
984
  {
984
985
  "id": "req-key-required--derives--need",
985
986
  "sourceId": "req-key-required",
986
987
  "targetId": "need",
987
- "relationType": "derives"
988
+ "relationType": "derives",
989
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
988
990
  },
989
991
  {
990
992
  "id": "req-key-mismatch--derives--need",
991
993
  "sourceId": "req-key-mismatch",
992
994
  "targetId": "need",
993
- "relationType": "derives"
995
+ "relationType": "derives",
996
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
994
997
  },
995
998
  {
996
999
  "id": "req-key-concurrent--derives--need",
997
1000
  "sourceId": "req-key-concurrent",
998
1001
  "targetId": "need",
999
- "relationType": "derives"
1002
+ "relationType": "derives",
1003
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1000
1004
  },
1001
1005
  {
1002
1006
  "id": "req-key-expiry--derives--need",
1003
1007
  "sourceId": "req-key-expiry",
1004
1008
  "targetId": "need",
1005
- "relationType": "derives"
1009
+ "relationType": "derives",
1010
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1006
1011
  },
1007
1012
  {
1008
1013
  "id": "req-key-atomic--derives--need",
1009
1014
  "sourceId": "req-key-atomic",
1010
1015
  "targetId": "need",
1011
- "relationType": "derives"
1016
+ "relationType": "derives",
1017
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1012
1018
  },
1013
1019
  {
1014
1020
  "id": "req-key-redis--derives--need",
1015
1021
  "sourceId": "req-key-redis",
1016
1022
  "targetId": "need",
1017
- "relationType": "derives"
1023
+ "relationType": "derives",
1024
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1018
1025
  },
1019
1026
  {
1020
1027
  "id": "req-put-create--derives--need",
1021
1028
  "sourceId": "req-put-create",
1022
1029
  "targetId": "need",
1023
- "relationType": "derives"
1030
+ "relationType": "derives",
1031
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1024
1032
  },
1025
1033
  {
1026
1034
  "id": "req-put-no-post--derives--need",
1027
1035
  "sourceId": "req-put-no-post",
1028
1036
  "targetId": "need",
1029
- "relationType": "derives"
1037
+ "relationType": "derives",
1038
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1030
1039
  },
1031
1040
  {
1032
1041
  "id": "req-none-retry--derives--need",
1033
1042
  "sourceId": "req-none-retry",
1034
1043
  "targetId": "need",
1035
- "relationType": "derives"
1044
+ "relationType": "derives",
1045
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1036
1046
  },
1037
1047
  {
1038
1048
  "id": "req-etag--derives--need",
1039
1049
  "sourceId": "req-etag",
1040
1050
  "targetId": "need",
1041
- "relationType": "derives"
1051
+ "relationType": "derives",
1052
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1042
1053
  },
1043
1054
  {
1044
1055
  "id": "req-etag-required--derives--need",
1045
1056
  "sourceId": "req-etag-required",
1046
1057
  "targetId": "need",
1047
- "relationType": "derives"
1058
+ "relationType": "derives",
1059
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1048
1060
  },
1049
1061
  {
1050
1062
  "id": "req-version--derives--need",
1051
1063
  "sourceId": "req-version",
1052
1064
  "targetId": "need",
1053
- "relationType": "derives"
1065
+ "relationType": "derives",
1066
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1054
1067
  },
1055
1068
  {
1056
1069
  "id": "req-lww--derives--need",
1057
1070
  "sourceId": "req-lww",
1058
1071
  "targetId": "need",
1059
- "relationType": "derives"
1072
+ "relationType": "derives",
1073
+ "quote": "Callers of this element's API retry when a connection drops or an answer is late, and several callers change the same resources. A retry must not create a second order or charge a second time, and a change made from a stale copy must not silently overwrite someone else's. The snippets assume a Node service: the HTTP app exported from src/app, the OpenAPI document at openapi.yaml, HTTP tests with Vitest and supertest under tests/api, a database client in tests/db, a fixture createOrder() in tests/api/fixtures that creates an order the way the API does, and an orders resource at /orders/{id} that answers GET and PUT."
1060
1074
  },
1061
1075
  {
1062
1076
  "id": "sc-key-replay--verifies--req-key-replay",
@@ -844,73 +844,85 @@
844
844
  "id": "req-casing--derives--need",
845
845
  "sourceId": "req-casing",
846
846
  "targetId": "need",
847
- "relationType": "derives"
847
+ "relationType": "derives",
848
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
848
849
  },
849
850
  {
850
851
  "id": "req-paths--derives--need",
851
852
  "sourceId": "req-paths",
852
853
  "targetId": "need",
853
- "relationType": "derives"
854
+ "relationType": "derives",
855
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
854
856
  },
855
857
  {
856
858
  "id": "req-methods--derives--need",
857
859
  "sourceId": "req-methods",
858
860
  "targetId": "need",
859
- "relationType": "derives"
861
+ "relationType": "derives",
862
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
860
863
  },
861
864
  {
862
865
  "id": "req-create--derives--need",
863
866
  "sourceId": "req-create",
864
867
  "targetId": "need",
865
- "relationType": "derives"
868
+ "relationType": "derives",
869
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
866
870
  },
867
871
  {
868
872
  "id": "req-unsupported--derives--need",
869
873
  "sourceId": "req-unsupported",
870
874
  "targetId": "need",
871
- "relationType": "derives"
875
+ "relationType": "derives",
876
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
872
877
  },
873
878
  {
874
879
  "id": "req-formats--derives--need",
875
880
  "sourceId": "req-formats",
876
881
  "targetId": "need",
877
- "relationType": "derives"
882
+ "relationType": "derives",
883
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
878
884
  },
879
885
  {
880
886
  "id": "req-sync--derives--need",
881
887
  "sourceId": "req-sync",
882
888
  "targetId": "need",
883
- "relationType": "derives"
889
+ "relationType": "derives",
890
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
884
891
  },
885
892
  {
886
893
  "id": "req-actions-custom--derives--need",
887
894
  "sourceId": "req-actions-custom",
888
895
  "targetId": "need",
889
- "relationType": "derives"
896
+ "relationType": "derives",
897
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
890
898
  },
891
899
  {
892
900
  "id": "req-actions-resource--derives--need",
893
901
  "sourceId": "req-actions-resource",
894
902
  "targetId": "need",
895
- "relationType": "derives"
903
+ "relationType": "derives",
904
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
896
905
  },
897
906
  {
898
907
  "id": "req-actions-patch--derives--need",
899
908
  "sourceId": "req-actions-patch",
900
909
  "targetId": "need",
901
- "relationType": "derives"
910
+ "relationType": "derives",
911
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
902
912
  },
903
913
  {
904
914
  "id": "req-lro-operation--derives--need",
905
915
  "sourceId": "req-lro-operation",
906
916
  "targetId": "need",
907
- "relationType": "derives"
917
+ "relationType": "derives",
918
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
908
919
  },
909
920
  {
910
921
  "id": "req-lro-callback--derives--need",
911
922
  "sourceId": "req-lro-callback",
912
923
  "targetId": "need",
913
- "relationType": "derives"
924
+ "relationType": "derives",
925
+ "quote": "Other parts of the system and outside systems call this element over HTTP and JSON. Each caller learns the API's conventions once and builds on them: a field named in another style, a path that hides a verb, a GET that changes something, a 200 where a 201 or a 404 belongs, or a request that hangs for minutes each costs every caller a special case, a retry that does harm, or a timeout. The snippets assume the OpenAPI document at api/openapi.yaml, linted by Spectral with the ruleset .spectral.yaml at the repository root (each check adds its rules to it), the application exported by src/app, and the HTTP tests under test/api with their fixtures in test/api/fixtures.ts."
914
926
  },
915
927
  {
916
928
  "id": "sc-casing--verifies--req-casing",