@radicaltools/mcp 0.3.4 → 0.5.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 (67) hide show
  1. package/README.md +18 -8
  2. package/dist/{chunk-JTRIDVBS.js → chunk-DSR2PAMW.js} +154 -48
  3. package/dist/chunk-ULUOEM3X.js +43 -0
  4. package/dist/dist-4NNGZXOU.js +219 -0
  5. package/dist/{elkLayout-ILGQJOJF.js → elkLayout-YXJWF5QP.js} +2 -1
  6. package/dist/hub-catalogue/concern/concern-api-collections.radical +24 -12
  7. package/dist/hub-catalogue/concern/concern-api-errors.radical +26 -13
  8. package/dist/hub-catalogue/concern/concern-api-evolution.radical +26 -13
  9. package/dist/hub-catalogue/concern/concern-api-idempotency.radical +28 -14
  10. package/dist/hub-catalogue/concern/concern-api-resource-design.radical +24 -12
  11. package/dist/hub-catalogue/concern/concern-api-style-guide.radical +26 -13
  12. package/dist/hub-catalogue/concern/concern-architecture-style.radical +26 -13
  13. package/dist/hub-catalogue/concern/concern-audit-trail.radical +26 -13
  14. package/dist/hub-catalogue/concern/concern-authentication.radical +18 -9
  15. package/dist/hub-catalogue/concern/concern-authorization.radical +34 -17
  16. package/dist/hub-catalogue/concern/concern-availability.radical +20 -10
  17. package/dist/hub-catalogue/concern/concern-backend-stack.radical +16 -8
  18. package/dist/hub-catalogue/concern/concern-backup-recovery.radical +30 -15
  19. package/dist/hub-catalogue/concern/concern-caching.radical +28 -14
  20. package/dist/hub-catalogue/concern/concern-capacity.radical +18 -9
  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 +28 -14
  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-module-boundaries.radical +18 -9
  43. package/dist/hub-catalogue/concern/concern-observability.radical +22 -11
  44. package/dist/hub-catalogue/concern/concern-operational-readiness.radical +28 -14
  45. package/dist/hub-catalogue/concern/concern-personal-data.radical +42 -21
  46. package/dist/hub-catalogue/concern/concern-quality-priorities.radical +24 -12
  47. package/dist/hub-catalogue/concern/concern-rate-limiting.radical +30 -15
  48. package/dist/hub-catalogue/concern/concern-release-versioning.radical +28 -14
  49. package/dist/hub-catalogue/concern/concern-retention.radical +28 -14
  50. package/dist/hub-catalogue/concern/concern-secrets.radical +32 -16
  51. package/dist/hub-catalogue/concern/concern-secure-coding.radical +28 -14
  52. package/dist/hub-catalogue/concern/concern-secure-development.radical +26 -13
  53. package/dist/hub-catalogue/concern/concern-security-detection.radical +22 -11
  54. package/dist/hub-catalogue/concern/concern-supply-chain.radical +28 -14
  55. package/dist/hub-catalogue/concern/concern-technical-debt.radical +30 -15
  56. package/dist/hub-catalogue/concern/concern-technology-lifecycle.radical +26 -13
  57. package/dist/hub-catalogue/concern/concern-tenant-isolation.radical +26 -13
  58. package/dist/hub-catalogue/concern/concern-test-strategy.radical +26 -13
  59. package/dist/hub-catalogue/concern/concern-threat-modelling.radical +26 -13
  60. package/dist/index.js +17408 -1104
  61. package/dist/pdfjs-7X3VKNRD.js +33203 -0
  62. package/dist/tree-sitter/tree-sitter-c-sharp.wasm +0 -0
  63. package/dist/tree-sitter/tree-sitter-go.wasm +0 -0
  64. package/dist/tree-sitter/tree-sitter-java.wasm +0 -0
  65. package/dist/tree-sitter/tree-sitter.cjs +4075 -0
  66. package/dist/tree-sitter/tree-sitter.wasm +0 -0
  67. package/package.json +6 -2
@@ -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",
@@ -862,79 +862,92 @@
862
862
  "id": "req-guide-declared--derives--need",
863
863
  "sourceId": "req-guide-declared",
864
864
  "targetId": "need",
865
- "relationType": "derives"
865
+ "relationType": "derives",
866
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
866
867
  },
867
868
  {
868
869
  "id": "req-lint--derives--need",
869
870
  "sourceId": "req-lint",
870
871
  "targetId": "need",
871
- "relationType": "derives"
872
+ "relationType": "derives",
873
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
872
874
  },
873
875
  {
874
876
  "id": "req-ruleset-pinned--derives--need",
875
877
  "sourceId": "req-ruleset-pinned",
876
878
  "targetId": "need",
877
- "relationType": "derives"
879
+ "relationType": "derives",
880
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
878
881
  },
879
882
  {
880
883
  "id": "req-rule-sources--derives--need",
881
884
  "sourceId": "req-rule-sources",
882
885
  "targetId": "need",
883
- "relationType": "derives"
886
+ "relationType": "derives",
887
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
884
888
  },
885
889
  {
886
890
  "id": "req-owners-review--derives--need",
887
891
  "sourceId": "req-owners-review",
888
892
  "targetId": "need",
889
- "relationType": "derives"
893
+ "relationType": "derives",
894
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
890
895
  },
891
896
  {
892
897
  "id": "req-review-checklist--derives--need",
893
898
  "sourceId": "req-review-checklist",
894
899
  "targetId": "need",
895
- "relationType": "derives"
900
+ "relationType": "derives",
901
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
896
902
  },
897
903
  {
898
904
  "id": "req-design-first--derives--need",
899
905
  "sourceId": "req-design-first",
900
906
  "targetId": "need",
901
- "relationType": "derives"
907
+ "relationType": "derives",
908
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
902
909
  },
903
910
  {
904
911
  "id": "req-design-routes--derives--need",
905
912
  "sourceId": "req-design-routes",
906
913
  "targetId": "need",
907
- "relationType": "derives"
914
+ "relationType": "derives",
915
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
908
916
  },
909
917
  {
910
918
  "id": "req-code-first--derives--need",
911
919
  "sourceId": "req-code-first",
912
920
  "targetId": "need",
913
- "relationType": "derives"
921
+ "relationType": "derives",
922
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
914
923
  },
915
924
  {
916
925
  "id": "req-exception-recorded--derives--need",
917
926
  "sourceId": "req-exception-recorded",
918
927
  "targetId": "need",
919
- "relationType": "derives"
928
+ "relationType": "derives",
929
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
920
930
  },
921
931
  {
922
932
  "id": "req-exception-expiry--derives--need",
923
933
  "sourceId": "req-exception-expiry",
924
934
  "targetId": "need",
925
- "relationType": "derives"
935
+ "relationType": "derives",
936
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
926
937
  },
927
938
  {
928
939
  "id": "req-no-exceptions--derives--need",
929
940
  "sourceId": "req-no-exceptions",
930
941
  "targetId": "need",
931
- "relationType": "derives"
942
+ "relationType": "derives",
943
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
932
944
  },
933
945
  {
934
946
  "id": "req-own-guide--derives--need",
935
947
  "sourceId": "req-own-guide",
936
948
  "targetId": "need",
937
- "relationType": "derives"
949
+ "relationType": "derives",
950
+ "quote": "Other systems and other parts of this system call its APIs. Every caller learns one API and expects the next to work the same way: the same names, the same lists, the same errors. Without a guide, and without a check that the guide is followed, each API drifts its own way and every caller pays for it in client code. The snippets assume one OpenAPI document per API under api/ (api/orders.yaml), the style ruleset in api/style/ruleset.yaml extended by .spectral.yaml at the root, our own guide (where there is one) in api/style/guide.md, the router's table exported from src/app, and CODEOWNERS and the pull-request template under .github/."
938
951
  },
939
952
  {
940
953
  "id": "sc-guide-declared--verifies--req-guide-declared",
@@ -992,79 +992,92 @@
992
992
  "id": "req-layers--derives--need",
993
993
  "sourceId": "req-layers",
994
994
  "targetId": "need",
995
- "relationType": "derives"
995
+ "relationType": "derives",
996
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
996
997
  },
997
998
  {
998
999
  "id": "req-ports--derives--need",
999
1000
  "sourceId": "req-ports",
1000
1001
  "targetId": "need",
1001
- "relationType": "derives"
1002
+ "relationType": "derives",
1003
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1002
1004
  },
1003
1005
  {
1004
1006
  "id": "req-rings--derives--need",
1005
1007
  "sourceId": "req-rings",
1006
1008
  "targetId": "need",
1007
- "relationType": "derives"
1009
+ "relationType": "derives",
1010
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1008
1011
  },
1009
1012
  {
1010
1013
  "id": "req-slices--derives--need",
1011
1014
  "sourceId": "req-slices",
1012
1015
  "targetId": "need",
1013
- "relationType": "derives"
1016
+ "relationType": "derives",
1017
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1014
1018
  },
1015
1019
  {
1016
1020
  "id": "req-domain-tests--derives--need",
1017
1021
  "sourceId": "req-domain-tests",
1018
1022
  "targetId": "need",
1019
- "relationType": "derives"
1023
+ "relationType": "derives",
1024
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1020
1025
  },
1021
1026
  {
1022
1027
  "id": "req-aggregates--derives--need",
1023
1028
  "sourceId": "req-aggregates",
1024
1029
  "targetId": "need",
1025
- "relationType": "derives"
1030
+ "relationType": "derives",
1031
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1026
1032
  },
1027
1033
  {
1028
1034
  "id": "req-scripts--derives--need",
1029
1035
  "sourceId": "req-scripts",
1030
1036
  "targetId": "need",
1031
- "relationType": "derives"
1037
+ "relationType": "derives",
1038
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1032
1039
  },
1033
1040
  {
1034
1041
  "id": "req-one-model--derives--need",
1035
1042
  "sourceId": "req-one-model",
1036
1043
  "targetId": "need",
1037
- "relationType": "derives"
1044
+ "relationType": "derives",
1045
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1038
1046
  },
1039
1047
  {
1040
1048
  "id": "req-read-models--derives--need",
1041
1049
  "sourceId": "req-read-models",
1042
1050
  "targetId": "need",
1043
- "relationType": "derives"
1051
+ "relationType": "derives",
1052
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1044
1053
  },
1045
1054
  {
1046
1055
  "id": "req-read-lag--derives--need",
1047
1056
  "sourceId": "req-read-lag",
1048
1057
  "targetId": "need",
1049
- "relationType": "derives"
1058
+ "relationType": "derives",
1059
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1050
1060
  },
1051
1061
  {
1052
1062
  "id": "req-rebuild--derives--need",
1053
1063
  "sourceId": "req-rebuild",
1054
1064
  "targetId": "need",
1055
- "relationType": "derives"
1065
+ "relationType": "derives",
1066
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1056
1067
  },
1057
1068
  {
1058
1069
  "id": "req-pure--derives--need",
1059
1070
  "sourceId": "req-pure",
1060
1071
  "targetId": "need",
1061
- "relationType": "derives"
1072
+ "relationType": "derives",
1073
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1062
1074
  },
1063
1075
  {
1064
1076
  "id": "req-annotations--derives--need",
1065
1077
  "sourceId": "req-annotations",
1066
1078
  "targetId": "need",
1067
- "relationType": "derives"
1079
+ "relationType": "derives",
1080
+ "quote": "Each deployable holds code several people change every week. Where a business rule, a query, a framework call or a mapping goes should follow from a decided structure, not from whoever wrote it first: then the rules can be tested without starting a database, a change of framework or database stays in one place, a new feature has an obvious home, and reads and writes each get the shape they need. The structure has to hold as the code grows, so the build checks it. Every rule below assumes one package layout under com.example.shop: `domain` holds the domain model (`domain.model`) and domain services (`domain.service`); `application` holds the use cases or transaction scripts and the ports (`application.port.in`, `application.port.out`); `adapter.web`, `adapter.persistence`, `adapter.messaging` and `adapter.jobs` hold the adapters, which are also the presentation and data-access layers; `features.<name>` is one vertical slice; `query` holds read models (in a slice, `features.<name>.query`). Test classes are left out of the rules."
1068
1081
  },
1069
1082
  {
1070
1083
  "id": "sc-layers--verifies--req-layers",
@@ -820,79 +820,92 @@
820
820
  "id": "req-catalogue--derives--need",
821
821
  "sourceId": "req-catalogue",
822
822
  "targetId": "need",
823
- "relationType": "derives"
823
+ "relationType": "derives",
824
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
824
825
  },
825
826
  {
826
827
  "id": "req-record--derives--need",
827
828
  "sourceId": "req-record",
828
829
  "targetId": "need",
829
- "relationType": "derives"
830
+ "relationType": "derives",
831
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
830
832
  },
831
833
  {
832
834
  "id": "req-atomic--derives--need",
833
835
  "sourceId": "req-atomic",
834
836
  "targetId": "need",
835
- "relationType": "derives"
837
+ "relationType": "derives",
838
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
836
839
  },
837
840
  {
838
841
  "id": "req-hashes--derives--need",
839
842
  "sourceId": "req-hashes",
840
843
  "targetId": "need",
841
- "relationType": "derives"
844
+ "relationType": "derives",
845
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
842
846
  },
843
847
  {
844
848
  "id": "req-values--derives--need",
845
849
  "sourceId": "req-values",
846
850
  "targetId": "need",
847
- "relationType": "derives"
851
+ "relationType": "derives",
852
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
848
853
  },
849
854
  {
850
855
  "id": "req-clock--derives--need",
851
856
  "sourceId": "req-clock",
852
857
  "targetId": "need",
853
- "relationType": "derives"
858
+ "relationType": "derives",
859
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
854
860
  },
855
861
  {
856
862
  "id": "req-append-only--derives--need",
857
863
  "sourceId": "req-append-only",
858
864
  "targetId": "need",
859
- "relationType": "derives"
865
+ "relationType": "derives",
866
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
860
867
  },
861
868
  {
862
869
  "id": "req-tamper--derives--need",
863
870
  "sourceId": "req-tamper",
864
871
  "targetId": "need",
865
- "relationType": "derives"
872
+ "relationType": "derives",
873
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
866
874
  },
867
875
  {
868
876
  "id": "req-retention--derives--need",
869
877
  "sourceId": "req-retention",
870
878
  "targetId": "need",
871
- "relationType": "derives"
879
+ "relationType": "derives",
880
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
872
881
  },
873
882
  {
874
883
  "id": "req-readers-auditors--derives--need",
875
884
  "sourceId": "req-readers-auditors",
876
885
  "targetId": "need",
877
- "relationType": "derives"
886
+ "relationType": "derives",
887
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
878
888
  },
879
889
  {
880
890
  "id": "req-readers-team--derives--need",
881
891
  "sourceId": "req-readers-team",
882
892
  "targetId": "need",
883
- "relationType": "derives"
893
+ "relationType": "derives",
894
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
884
895
  },
885
896
  {
886
897
  "id": "req-reads-recorded--derives--need",
887
898
  "sourceId": "req-reads-recorded",
888
899
  "targetId": "need",
889
- "relationType": "derives"
900
+ "relationType": "derives",
901
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
890
902
  },
891
903
  {
892
904
  "id": "req-cdc--derives--need",
893
905
  "sourceId": "req-cdc",
894
906
  "targetId": "need",
895
- "relationType": "derives"
907
+ "relationType": "derives",
908
+ "quote": "This element moves money, changes customers' records and permissions, or lets people read and export data that matters to someone outside the team. When a regulator, an auditor, a court or an incident investigation asks who did what, when, to which record and from where, the answer has to come from records that are complete, that nobody could have changed unnoticed, that are still there years later, and that the people they record cannot read or edit at will. The pack says what the system does and how the team proves it; which regulations apply and how long records must be kept is for the organisation's compliance officer or DPO to read, and nothing here is legal advice. The snippets assume the application under src/ (src/app exports the router's table, src/audit the audit writer and store), the tests under tests/ with fixtures in tests/audit, and under audit/ in the repository the catalogue (audit/catalogue.yaml), the record schema (audit/record.schema.json) and the readers (audit/readers.yaml)."
896
909
  },
897
910
  {
898
911
  "id": "sc-catalogue--verifies--req-catalogue",