peer-ai-standards 1.0.0-next.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 (73) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +62 -0
  3. package/dist/core/ai-features.d.ts +65 -0
  4. package/dist/core/ai-features.js +113 -0
  5. package/dist/core/api-design.d.ts +41 -0
  6. package/dist/core/api-design.js +91 -0
  7. package/dist/core/architecture.d.ts +41 -0
  8. package/dist/core/architecture.js +93 -0
  9. package/dist/core/backend.d.ts +21 -0
  10. package/dist/core/backend.js +25 -0
  11. package/dist/core/code-quality.d.ts +91 -0
  12. package/dist/core/code-quality.js +179 -0
  13. package/dist/core/data.d.ts +45 -0
  14. package/dist/core/data.js +59 -0
  15. package/dist/core/delivery.d.ts +153 -0
  16. package/dist/core/delivery.js +149 -0
  17. package/dist/core/design-accessibility.d.ts +124 -0
  18. package/dist/core/design-accessibility.js +199 -0
  19. package/dist/core/frontend.d.ts +77 -0
  20. package/dist/core/frontend.js +109 -0
  21. package/dist/core/mobile.d.ts +46 -0
  22. package/dist/core/mobile.js +83 -0
  23. package/dist/core/money.d.ts +81 -0
  24. package/dist/core/money.js +135 -0
  25. package/dist/core/operations.d.ts +108 -0
  26. package/dist/core/operations.js +177 -0
  27. package/dist/core/performance.d.ts +53 -0
  28. package/dist/core/performance.js +85 -0
  29. package/dist/core/privacy-compliance.d.ts +68 -0
  30. package/dist/core/privacy-compliance.js +77 -0
  31. package/dist/core/reliability.d.ts +67 -0
  32. package/dist/core/reliability.js +105 -0
  33. package/dist/core/requirements.d.ts +41 -0
  34. package/dist/core/requirements.js +58 -0
  35. package/dist/core/safety-critical.d.ts +41 -0
  36. package/dist/core/safety-critical.js +71 -0
  37. package/dist/core/security.d.ts +281 -0
  38. package/dist/core/security.js +427 -0
  39. package/dist/core/system-design.d.ts +31 -0
  40. package/dist/core/system-design.js +69 -0
  41. package/dist/core/testing.d.ts +51 -0
  42. package/dist/core/testing.js +124 -0
  43. package/dist/domains.d.ts +6 -0
  44. package/dist/domains.js +53 -0
  45. package/dist/index.d.ts +30 -0
  46. package/dist/index.js +118 -0
  47. package/dist/profile.d.ts +262 -0
  48. package/dist/profile.js +269 -0
  49. package/dist/profiles/express.d.ts +2 -0
  50. package/dist/profiles/express.js +93 -0
  51. package/dist/profiles/fastapi.d.ts +2 -0
  52. package/dist/profiles/fastapi.js +104 -0
  53. package/dist/profiles/fastify.d.ts +2 -0
  54. package/dist/profiles/fastify.js +56 -0
  55. package/dist/profiles/github-actions.d.ts +2 -0
  56. package/dist/profiles/github-actions.js +151 -0
  57. package/dist/profiles/nestjs.d.ts +2 -0
  58. package/dist/profiles/nestjs.js +77 -0
  59. package/dist/profiles/next.d.ts +2 -0
  60. package/dist/profiles/next.js +73 -0
  61. package/dist/profiles/node.d.ts +2 -0
  62. package/dist/profiles/node.js +79 -0
  63. package/dist/profiles/python.d.ts +2 -0
  64. package/dist/profiles/python.js +232 -0
  65. package/dist/profiles/react-native.d.ts +2 -0
  66. package/dist/profiles/react-native.js +133 -0
  67. package/dist/profiles/react.d.ts +2 -0
  68. package/dist/profiles/react.js +180 -0
  69. package/dist/profiles/typescript.d.ts +2 -0
  70. package/dist/profiles/typescript.js +214 -0
  71. package/dist/rule.d.ts +72 -0
  72. package/dist/rule.js +39 -0
  73. package/package.json +39 -0
@@ -0,0 +1,281 @@
1
+ export declare const security: ({
2
+ id: string;
3
+ domain: "security";
4
+ title: string;
5
+ rule: string;
6
+ why: string;
7
+ ask: string;
8
+ stage: "mvp";
9
+ check: "ai-review";
10
+ severity: "high";
11
+ sources: {
12
+ name: string;
13
+ ref: string;
14
+ url: string;
15
+ }[];
16
+ when?: never;
17
+ } | {
18
+ id: string;
19
+ domain: "security";
20
+ title: string;
21
+ rule: string;
22
+ why: string;
23
+ ask: string;
24
+ stage: "mvp";
25
+ check: "ai-review";
26
+ severity: "high";
27
+ when: "several-audiences"[];
28
+ sources: {
29
+ name: string;
30
+ ref: string;
31
+ url: string;
32
+ }[];
33
+ } | {
34
+ id: string;
35
+ domain: "security";
36
+ title: string;
37
+ rule: string;
38
+ why: string;
39
+ ask: string;
40
+ stage: "prototype";
41
+ check: "ai-review";
42
+ severity: "high";
43
+ sources: {
44
+ name: string;
45
+ ref: string;
46
+ url: string;
47
+ }[];
48
+ when?: never;
49
+ } | {
50
+ id: string;
51
+ domain: "security";
52
+ title: string;
53
+ rule: string;
54
+ why: string;
55
+ ask: string;
56
+ stage: "mvp";
57
+ check: "ai-review";
58
+ severity: "medium";
59
+ sources: {
60
+ name: string;
61
+ ref: string;
62
+ url: string;
63
+ }[];
64
+ when?: never;
65
+ } | {
66
+ id: string;
67
+ domain: "security";
68
+ title: string;
69
+ rule: string;
70
+ why: string;
71
+ ask: string;
72
+ stage: "prototype";
73
+ check: "auto";
74
+ severity: "critical";
75
+ sources: {
76
+ name: string;
77
+ ref: string;
78
+ url: string;
79
+ }[];
80
+ when?: never;
81
+ } | {
82
+ id: string;
83
+ domain: "security";
84
+ title: string;
85
+ rule: string;
86
+ why: string;
87
+ ask: string;
88
+ stage: "prototype";
89
+ check: "auto";
90
+ severity: "high";
91
+ sources: {
92
+ name: string;
93
+ ref: string;
94
+ url: string;
95
+ }[];
96
+ when?: never;
97
+ } | {
98
+ id: string;
99
+ domain: "security";
100
+ title: string;
101
+ rule: string;
102
+ why: string;
103
+ ask: string;
104
+ stage: "prototype";
105
+ check: "ai-review";
106
+ severity: "critical";
107
+ sources?: never;
108
+ when?: never;
109
+ } | {
110
+ id: string;
111
+ domain: "security";
112
+ title: string;
113
+ rule: string;
114
+ why: string;
115
+ ask: string;
116
+ stage: "production";
117
+ check: "ai-review";
118
+ severity: "low";
119
+ sources?: never;
120
+ when?: never;
121
+ } | {
122
+ id: string;
123
+ domain: "security";
124
+ title: string;
125
+ rule: string;
126
+ why: string;
127
+ ask: string;
128
+ stage: "mvp";
129
+ check: "auto";
130
+ severity: "medium";
131
+ sources: {
132
+ name: string;
133
+ ref: string;
134
+ url: string;
135
+ }[];
136
+ when?: never;
137
+ } | {
138
+ id: string;
139
+ domain: "security";
140
+ title: string;
141
+ rule: string;
142
+ why: string;
143
+ ask: string;
144
+ stage: "mvp";
145
+ check: "ai-review";
146
+ severity: "high";
147
+ when: "uploads"[];
148
+ sources: {
149
+ name: string;
150
+ ref: string;
151
+ url: string;
152
+ }[];
153
+ } | {
154
+ id: string;
155
+ domain: "security";
156
+ title: string;
157
+ rule: string;
158
+ why: string;
159
+ ask: string;
160
+ stage: "mvp";
161
+ check: "ai-review";
162
+ severity: "medium";
163
+ when: "uploads"[];
164
+ sources: {
165
+ name: string;
166
+ ref: string;
167
+ url: string;
168
+ }[];
169
+ } | {
170
+ id: string;
171
+ domain: "security";
172
+ title: string;
173
+ rule: string;
174
+ why: string;
175
+ ask: string;
176
+ stage: "production";
177
+ check: "ai-review";
178
+ severity: "medium";
179
+ when: "uploads"[];
180
+ sources?: never;
181
+ } | {
182
+ id: string;
183
+ domain: "security";
184
+ title: string;
185
+ rule: string;
186
+ why: string;
187
+ ask: string;
188
+ stage: "mvp";
189
+ check: "ai-review";
190
+ severity: "high";
191
+ when: "real-time"[];
192
+ sources?: never;
193
+ } | {
194
+ id: string;
195
+ domain: "security";
196
+ title: string;
197
+ rule: string;
198
+ why: string;
199
+ ask: string;
200
+ stage: "prototype";
201
+ check: "ai-review";
202
+ severity: "medium";
203
+ sources: {
204
+ name: string;
205
+ ref: string;
206
+ url: string;
207
+ }[];
208
+ when?: never;
209
+ } | {
210
+ id: string;
211
+ domain: "security";
212
+ title: string;
213
+ rule: string;
214
+ why: string;
215
+ ask: string;
216
+ stage: "mvp";
217
+ check: "ai-review";
218
+ severity: "medium";
219
+ sources?: never;
220
+ when?: never;
221
+ } | {
222
+ id: string;
223
+ domain: "security";
224
+ title: string;
225
+ rule: string;
226
+ why: string;
227
+ ask: string;
228
+ stage: "production";
229
+ check: "ai-review";
230
+ severity: "medium";
231
+ sources: {
232
+ name: string;
233
+ ref: string;
234
+ url: string;
235
+ }[];
236
+ when?: never;
237
+ } | {
238
+ id: string;
239
+ domain: "security";
240
+ title: string;
241
+ rule: string;
242
+ why: string;
243
+ ask: string;
244
+ stage: "mvp";
245
+ check: "auto";
246
+ severity: "medium";
247
+ sources?: never;
248
+ when?: never;
249
+ } | {
250
+ id: string;
251
+ domain: "security";
252
+ title: string;
253
+ rule: string;
254
+ why: string;
255
+ ask: string;
256
+ stage: "mvp";
257
+ check: "ai-review";
258
+ severity: "critical";
259
+ sources: {
260
+ name: string;
261
+ ref: string;
262
+ url: string;
263
+ }[];
264
+ when?: never;
265
+ } | {
266
+ id: string;
267
+ domain: "security";
268
+ title: string;
269
+ rule: string;
270
+ why: string;
271
+ ask: string;
272
+ stage: "prototype";
273
+ check: "ai-review";
274
+ severity: "critical";
275
+ sources: {
276
+ name: string;
277
+ ref: string;
278
+ url: string;
279
+ }[];
280
+ when?: never;
281
+ })[];