wegho-agentes 4.0.1

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 (94) hide show
  1. package/.agents/AGENT_WORKFLOW.md +528 -0
  2. package/.agents/AI_COMPATIBILITY.md +332 -0
  3. package/.agents/CLI.md +222 -0
  4. package/.agents/README.md +130 -0
  5. package/.agents/cli.js +389 -0
  6. package/.agents/code-auditor-agent.ts +333 -0
  7. package/.agents/config.ts +145 -0
  8. package/.agents/context-loader.ts +300 -0
  9. package/.agents/core/agent-parallelizer.test.ts +94 -0
  10. package/.agents/core/agent-parallelizer.ts +108 -0
  11. package/.agents/core/architecture-agent.ts +237 -0
  12. package/.agents/core/base-agent.ts +311 -0
  13. package/.agents/core/cache-manager.test.ts +147 -0
  14. package/.agents/core/cache-manager.ts +184 -0
  15. package/.agents/core/documentation-agent.ts +183 -0
  16. package/.agents/core/feedback-collector.ts +207 -0
  17. package/.agents/core/frontend-agent.ts +210 -0
  18. package/.agents/core/inventory-agent.ts +582 -0
  19. package/.agents/core/memory-system.ts +397 -0
  20. package/.agents/core/quality-agent.ts +268 -0
  21. package/.agents/core/retry-utility.test.ts +165 -0
  22. package/.agents/core/retry-utility.ts +140 -0
  23. package/.agents/core/security-agent.ts +217 -0
  24. package/.agents/core/workflow-validator.test.ts +171 -0
  25. package/.agents/core/workflow-validator.ts +158 -0
  26. package/.agents/domains/README.md +53 -0
  27. package/.agents/domains/logistics/route-agent.ts +177 -0
  28. package/.agents/domains/news/cms-agent.ts +158 -0
  29. package/.agents/domains/news/seo-agent.ts +170 -0
  30. package/.agents/domains/production/production-control-agent.ts +169 -0
  31. package/.agents/example-learning-system.js +118 -0
  32. package/.agents/init.ts +164 -0
  33. package/.agents/memory/architecture-agent/failures.json +1 -0
  34. package/.agents/memory/architecture-agent/learnings.json +1 -0
  35. package/.agents/memory/architecture-agent/specialty.md +31 -0
  36. package/.agents/memory/architecture-agent/successes.json +16 -0
  37. package/.agents/memory/cms-agent/failures.json +1 -0
  38. package/.agents/memory/cms-agent/learnings.json +1 -0
  39. package/.agents/memory/cms-agent/specialty.md +30 -0
  40. package/.agents/memory/cms-agent/successes.json +16 -0
  41. package/.agents/memory/documentation-agent/failures.json +1 -0
  42. package/.agents/memory/documentation-agent/learnings.json +1 -0
  43. package/.agents/memory/documentation-agent/specialty.md +33 -0
  44. package/.agents/memory/documentation-agent/successes.json +16 -0
  45. package/.agents/memory/frontend-agent/failures.json +1 -0
  46. package/.agents/memory/frontend-agent/learnings.json +1 -0
  47. package/.agents/memory/frontend-agent/specialty.md +30 -0
  48. package/.agents/memory/frontend-agent/successes.json +16 -0
  49. package/.agents/memory/inventory-agent/failures.json +1 -0
  50. package/.agents/memory/inventory-agent/inventory/index.json +8 -0
  51. package/.agents/memory/inventory-agent/inventory/types.json +77716 -0
  52. package/.agents/memory/inventory-agent/inventory/variables.json +405 -0
  53. package/.agents/memory/inventory-agent/learnings.json +1 -0
  54. package/.agents/memory/inventory-agent/specialty.md +129 -0
  55. package/.agents/memory/inventory-agent/successes.json +30 -0
  56. package/.agents/memory/production-control-agent/failures.json +1 -0
  57. package/.agents/memory/production-control-agent/learnings.json +1 -0
  58. package/.agents/memory/production-control-agent/specialty.md +29 -0
  59. package/.agents/memory/production-control-agent/successes.json +16 -0
  60. package/.agents/memory/quality-agent/failures.json +16 -0
  61. package/.agents/memory/quality-agent/learnings.json +1 -0
  62. package/.agents/memory/quality-agent/specialty.md +31 -0
  63. package/.agents/memory/quality-agent/successes.json +1 -0
  64. package/.agents/memory/reference-repositories.json +271 -0
  65. package/.agents/memory/route-agent/failures.json +1 -0
  66. package/.agents/memory/route-agent/learnings.json +1 -0
  67. package/.agents/memory/route-agent/specialty.md +29 -0
  68. package/.agents/memory/route-agent/successes.json +16 -0
  69. package/.agents/memory/security-agent/failures.json +1 -0
  70. package/.agents/memory/security-agent/learnings.json +1 -0
  71. package/.agents/memory/security-agent/specialty.md +31 -0
  72. package/.agents/memory/security-agent/successes.json +16 -0
  73. package/.agents/memory/seo-agent/failures.json +1 -0
  74. package/.agents/memory/seo-agent/learnings.json +1 -0
  75. package/.agents/memory/seo-agent/specialty.md +31 -0
  76. package/.agents/memory/seo-agent/successes.json +16 -0
  77. package/.agents/orchestrator.ts +438 -0
  78. package/.agents/project-discovery-agent.ts +342 -0
  79. package/.agents/security/pentesting-agent.py +387 -0
  80. package/.agents/security/python-bridge.ts +193 -0
  81. package/.agents/security/vulnerability-db.json +201 -0
  82. package/.agents/task-analyzer-agent.ts +346 -0
  83. package/.agents/test-init-context.js +67 -0
  84. package/INSTALL.md +300 -0
  85. package/LICENSE +21 -0
  86. package/README.md +315 -0
  87. package/docs/AGENT_RULES.md +292 -0
  88. package/docs/BUILD_HISTORY.md +65 -0
  89. package/docs/DESIGN_SYSTEM.md +256 -0
  90. package/docs/LEARNING_SYSTEM.md +326 -0
  91. package/docs/SYMBOLS_TREE.md +182 -0
  92. package/docs/VERSION.md +6 -0
  93. package/docs/architecture.md +111 -0
  94. package/package.json +60 -0
@@ -0,0 +1,405 @@
1
+ [
2
+ {
3
+ "id": "variable:node_modules\\@types\\node\\util.d.ts:obsoleteFunction",
4
+ "name": "obsoleteFunction",
5
+ "type": "variable",
6
+ "path": "node_modules\\@types\\node\\util.d.ts",
7
+ "scope": "exported",
8
+ "value": "deprecate(() => {",
9
+ "dataType": "unknown",
10
+ "metadata": {},
11
+ "usedBy": [],
12
+ "createdAt": "2026-01-23T03:08:15.885Z",
13
+ "lastModified": "2026-01-23T03:08:15.885Z"
14
+ },
15
+ {
16
+ "id": "variable:node_modules\\@types\\node\\module.d.ts:add",
17
+ "name": "add",
18
+ "type": "variable",
19
+ "path": "node_modules\\@types\\node\\module.d.ts",
20
+ "scope": "exported",
21
+ "value": "(a: number, b: number) => a + b",
22
+ "dataType": "unknown",
23
+ "metadata": {},
24
+ "usedBy": [],
25
+ "createdAt": "2026-01-23T03:08:15.927Z",
26
+ "lastModified": "2026-01-23T03:08:15.927Z"
27
+ },
28
+ {
29
+ "id": "variable:node_modules\\@types\\node\\buffer.d.ts:kMaxLength",
30
+ "name": "kMaxLength",
31
+ "type": "variable",
32
+ "path": "node_modules\\@types\\node\\buffer.d.ts",
33
+ "scope": "exported",
34
+ "value": "number",
35
+ "dataType": "unknown",
36
+ "metadata": {},
37
+ "usedBy": [],
38
+ "createdAt": "2026-01-23T03:08:15.937Z",
39
+ "lastModified": "2026-01-23T03:08:15.937Z"
40
+ },
41
+ {
42
+ "id": "variable:node_modules\\@types\\node\\buffer.d.ts:kStringMaxLength",
43
+ "name": "kStringMaxLength",
44
+ "type": "variable",
45
+ "path": "node_modules\\@types\\node\\buffer.d.ts",
46
+ "scope": "exported",
47
+ "value": "number",
48
+ "dataType": "unknown",
49
+ "metadata": {},
50
+ "usedBy": [],
51
+ "createdAt": "2026-01-23T03:08:15.937Z",
52
+ "lastModified": "2026-01-23T03:08:15.937Z"
53
+ },
54
+ {
55
+ "id": "variable:node_modules\\@types\\node\\buffer.d.ts:constants",
56
+ "name": "constants",
57
+ "type": "variable",
58
+ "path": "node_modules\\@types\\node\\buffer.d.ts",
59
+ "scope": "exported",
60
+ "value": "{",
61
+ "dataType": "object",
62
+ "metadata": {},
63
+ "usedBy": [],
64
+ "createdAt": "2026-01-23T03:08:15.937Z",
65
+ "lastModified": "2026-01-23T03:08:15.937Z"
66
+ },
67
+ {
68
+ "id": "variable:node_modules\\path-scurry\\dist\\esm\\index.js:Path",
69
+ "name": "Path",
70
+ "type": "variable",
71
+ "path": "node_modules\\path-scurry\\dist\\esm\\index.js",
72
+ "scope": "exported",
73
+ "value": "process.platform === 'win32' ? PathWin32 : PathPosix",
74
+ "dataType": "unknown",
75
+ "metadata": {},
76
+ "usedBy": [],
77
+ "createdAt": "2026-01-23T03:08:15.938Z",
78
+ "lastModified": "2026-01-23T03:08:15.938Z"
79
+ },
80
+ {
81
+ "id": "variable:node_modules\\path-scurry\\dist\\esm\\index.js:PathScurry",
82
+ "name": "PathScurry",
83
+ "type": "variable",
84
+ "path": "node_modules\\path-scurry\\dist\\esm\\index.js",
85
+ "scope": "exported",
86
+ "value": "process.platform === 'win32' ? PathScurryWin32",
87
+ "dataType": "unknown",
88
+ "metadata": {},
89
+ "usedBy": [],
90
+ "createdAt": "2026-01-23T03:08:15.938Z",
91
+ "lastModified": "2026-01-23T03:08:15.938Z"
92
+ },
93
+ {
94
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\unescape.js:unescape",
95
+ "name": "unescape",
96
+ "type": "variable",
97
+ "path": "node_modules\\minimatch\\dist\\esm\\unescape.js",
98
+ "scope": "exported",
99
+ "value": "(s, { windowsPathsNoEscape = false, magicalBraces = true, } = {}) => {",
100
+ "dataType": "unknown",
101
+ "metadata": {},
102
+ "usedBy": [],
103
+ "createdAt": "2026-01-23T03:08:15.942Z",
104
+ "lastModified": "2026-01-23T03:08:15.942Z"
105
+ },
106
+ {
107
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:minimatch",
108
+ "name": "minimatch",
109
+ "type": "variable",
110
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
111
+ "scope": "exported",
112
+ "value": "(p, pattern, options = {}) => {",
113
+ "dataType": "unknown",
114
+ "metadata": {},
115
+ "usedBy": [],
116
+ "createdAt": "2026-01-23T03:08:15.942Z",
117
+ "lastModified": "2026-01-23T03:08:15.942Z"
118
+ },
119
+ {
120
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:sep",
121
+ "name": "sep",
122
+ "type": "variable",
123
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
124
+ "scope": "exported",
125
+ "value": "defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep",
126
+ "dataType": "unknown",
127
+ "metadata": {},
128
+ "usedBy": [],
129
+ "createdAt": "2026-01-23T03:08:15.942Z",
130
+ "lastModified": "2026-01-23T03:08:15.942Z"
131
+ },
132
+ {
133
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:GLOBSTAR",
134
+ "name": "GLOBSTAR",
135
+ "type": "variable",
136
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
137
+ "scope": "exported",
138
+ "value": "Symbol('globstar **')",
139
+ "dataType": "unknown",
140
+ "metadata": {},
141
+ "usedBy": [],
142
+ "createdAt": "2026-01-23T03:08:15.942Z",
143
+ "lastModified": "2026-01-23T03:08:15.942Z"
144
+ },
145
+ {
146
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:filter",
147
+ "name": "filter",
148
+ "type": "variable",
149
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
150
+ "scope": "exported",
151
+ "value": "(pattern, options = {}) => (p) => minimatch(p, pattern, options)",
152
+ "dataType": "unknown",
153
+ "metadata": {},
154
+ "usedBy": [],
155
+ "createdAt": "2026-01-23T03:08:15.942Z",
156
+ "lastModified": "2026-01-23T03:08:15.942Z"
157
+ },
158
+ {
159
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:defaults",
160
+ "name": "defaults",
161
+ "type": "variable",
162
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
163
+ "scope": "exported",
164
+ "value": "(def) => {",
165
+ "dataType": "unknown",
166
+ "metadata": {},
167
+ "usedBy": [],
168
+ "createdAt": "2026-01-23T03:08:15.942Z",
169
+ "lastModified": "2026-01-23T03:08:15.942Z"
170
+ },
171
+ {
172
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:braceExpand",
173
+ "name": "braceExpand",
174
+ "type": "variable",
175
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
176
+ "scope": "exported",
177
+ "value": "(pattern, options = {}) => {",
178
+ "dataType": "unknown",
179
+ "metadata": {},
180
+ "usedBy": [],
181
+ "createdAt": "2026-01-23T03:08:15.942Z",
182
+ "lastModified": "2026-01-23T03:08:15.942Z"
183
+ },
184
+ {
185
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:makeRe",
186
+ "name": "makeRe",
187
+ "type": "variable",
188
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
189
+ "scope": "exported",
190
+ "value": "(pattern, options = {}) => new Minimatch(pattern, options).makeRe()",
191
+ "dataType": "unknown",
192
+ "metadata": {},
193
+ "usedBy": [],
194
+ "createdAt": "2026-01-23T03:08:15.942Z",
195
+ "lastModified": "2026-01-23T03:08:15.942Z"
196
+ },
197
+ {
198
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\index.js:match",
199
+ "name": "match",
200
+ "type": "variable",
201
+ "path": "node_modules\\minimatch\\dist\\esm\\index.js",
202
+ "scope": "exported",
203
+ "value": "(list, pattern, options = {}) => {",
204
+ "dataType": "unknown",
205
+ "metadata": {},
206
+ "usedBy": [],
207
+ "createdAt": "2026-01-23T03:08:15.942Z",
208
+ "lastModified": "2026-01-23T03:08:15.942Z"
209
+ },
210
+ {
211
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\escape.js:escape",
212
+ "name": "escape",
213
+ "type": "variable",
214
+ "path": "node_modules\\minimatch\\dist\\esm\\escape.js",
215
+ "scope": "exported",
216
+ "value": "(s, { windowsPathsNoEscape = false, magicalBraces = false, } = {}) => {",
217
+ "dataType": "unknown",
218
+ "metadata": {},
219
+ "usedBy": [],
220
+ "createdAt": "2026-01-23T03:08:15.943Z",
221
+ "lastModified": "2026-01-23T03:08:15.943Z"
222
+ },
223
+ {
224
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\brace-expressions.js:parseClass",
225
+ "name": "parseClass",
226
+ "type": "variable",
227
+ "path": "node_modules\\minimatch\\dist\\esm\\brace-expressions.js",
228
+ "scope": "exported",
229
+ "value": "(glob, position) => {",
230
+ "dataType": "unknown",
231
+ "metadata": {},
232
+ "usedBy": [],
233
+ "createdAt": "2026-01-23T03:08:15.943Z",
234
+ "lastModified": "2026-01-23T03:08:15.943Z"
235
+ },
236
+ {
237
+ "id": "variable:node_modules\\minimatch\\dist\\esm\\assert-valid-pattern.js:assertValidPattern",
238
+ "name": "assertValidPattern",
239
+ "type": "variable",
240
+ "path": "node_modules\\minimatch\\dist\\esm\\assert-valid-pattern.js",
241
+ "scope": "exported",
242
+ "value": "(pattern) => {",
243
+ "dataType": "unknown",
244
+ "metadata": {},
245
+ "usedBy": [],
246
+ "createdAt": "2026-01-23T03:08:15.944Z",
247
+ "lastModified": "2026-01-23T03:08:15.944Z"
248
+ },
249
+ {
250
+ "id": "variable:node_modules\\minipass\\dist\\esm\\index.js:isStream",
251
+ "name": "isStream",
252
+ "type": "variable",
253
+ "path": "node_modules\\minipass\\dist\\esm\\index.js",
254
+ "scope": "exported",
255
+ "value": "(s) => !!s &&",
256
+ "dataType": "unknown",
257
+ "metadata": {},
258
+ "usedBy": [],
259
+ "createdAt": "2026-01-23T03:08:15.945Z",
260
+ "lastModified": "2026-01-23T03:08:15.945Z"
261
+ },
262
+ {
263
+ "id": "variable:node_modules\\minipass\\dist\\esm\\index.js:isReadable",
264
+ "name": "isReadable",
265
+ "type": "variable",
266
+ "path": "node_modules\\minipass\\dist\\esm\\index.js",
267
+ "scope": "exported",
268
+ "value": "(s) => !!s &&",
269
+ "dataType": "unknown",
270
+ "metadata": {},
271
+ "usedBy": [],
272
+ "createdAt": "2026-01-23T03:08:15.945Z",
273
+ "lastModified": "2026-01-23T03:08:15.945Z"
274
+ },
275
+ {
276
+ "id": "variable:node_modules\\minipass\\dist\\esm\\index.js:isWritable",
277
+ "name": "isWritable",
278
+ "type": "variable",
279
+ "path": "node_modules\\minipass\\dist\\esm\\index.js",
280
+ "scope": "exported",
281
+ "value": "(s) => !!s &&",
282
+ "dataType": "unknown",
283
+ "metadata": {},
284
+ "usedBy": [],
285
+ "createdAt": "2026-01-23T03:08:15.945Z",
286
+ "lastModified": "2026-01-23T03:08:15.945Z"
287
+ },
288
+ {
289
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:streamSync",
290
+ "name": "streamSync",
291
+ "type": "variable",
292
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
293
+ "scope": "exported",
294
+ "value": "globStreamSync",
295
+ "dataType": "unknown",
296
+ "metadata": {},
297
+ "usedBy": [],
298
+ "createdAt": "2026-01-23T03:08:15.948Z",
299
+ "lastModified": "2026-01-23T03:08:15.948Z"
300
+ },
301
+ {
302
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:stream",
303
+ "name": "stream",
304
+ "type": "variable",
305
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
306
+ "scope": "exported",
307
+ "value": "Object.assign(globStream, { sync: globStreamSync })",
308
+ "dataType": "unknown",
309
+ "metadata": {},
310
+ "usedBy": [],
311
+ "createdAt": "2026-01-23T03:08:15.948Z",
312
+ "lastModified": "2026-01-23T03:08:15.948Z"
313
+ },
314
+ {
315
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:iterateSync",
316
+ "name": "iterateSync",
317
+ "type": "variable",
318
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
319
+ "scope": "exported",
320
+ "value": "globIterateSync",
321
+ "dataType": "unknown",
322
+ "metadata": {},
323
+ "usedBy": [],
324
+ "createdAt": "2026-01-23T03:08:15.948Z",
325
+ "lastModified": "2026-01-23T03:08:15.948Z"
326
+ },
327
+ {
328
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:iterate",
329
+ "name": "iterate",
330
+ "type": "variable",
331
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
332
+ "scope": "exported",
333
+ "value": "Object.assign(globIterate, {",
334
+ "dataType": "unknown",
335
+ "metadata": {},
336
+ "usedBy": [],
337
+ "createdAt": "2026-01-23T03:08:15.948Z",
338
+ "lastModified": "2026-01-23T03:08:15.948Z"
339
+ },
340
+ {
341
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:sync",
342
+ "name": "sync",
343
+ "type": "variable",
344
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
345
+ "scope": "exported",
346
+ "value": "Object.assign(globSync, {",
347
+ "dataType": "unknown",
348
+ "metadata": {},
349
+ "usedBy": [],
350
+ "createdAt": "2026-01-23T03:08:15.948Z",
351
+ "lastModified": "2026-01-23T03:08:15.948Z"
352
+ },
353
+ {
354
+ "id": "variable:node_modules\\glob\\dist\\esm\\index.js:glob",
355
+ "name": "glob",
356
+ "type": "variable",
357
+ "path": "node_modules\\glob\\dist\\esm\\index.js",
358
+ "scope": "exported",
359
+ "value": "Object.assign(glob_, {",
360
+ "dataType": "unknown",
361
+ "metadata": {},
362
+ "usedBy": [],
363
+ "createdAt": "2026-01-23T03:08:15.948Z",
364
+ "lastModified": "2026-01-23T03:08:15.948Z"
365
+ },
366
+ {
367
+ "id": "variable:node_modules\\glob\\dist\\esm\\has-magic.js:hasMagic",
368
+ "name": "hasMagic",
369
+ "type": "variable",
370
+ "path": "node_modules\\glob\\dist\\esm\\has-magic.js",
371
+ "scope": "exported",
372
+ "value": "(pattern, options = {}) => {",
373
+ "dataType": "unknown",
374
+ "metadata": {},
375
+ "usedBy": [],
376
+ "createdAt": "2026-01-23T03:08:15.949Z",
377
+ "lastModified": "2026-01-23T03:08:15.949Z"
378
+ },
379
+ {
380
+ "id": "variable:node_modules\\@isaacs\\balanced-match\\dist\\esm\\index.js:balanced",
381
+ "name": "balanced",
382
+ "type": "variable",
383
+ "path": "node_modules\\@isaacs\\balanced-match\\dist\\esm\\index.js",
384
+ "scope": "exported",
385
+ "value": "(a, b, str) => {",
386
+ "dataType": "unknown",
387
+ "metadata": {},
388
+ "usedBy": [],
389
+ "createdAt": "2026-01-23T03:08:15.958Z",
390
+ "lastModified": "2026-01-23T03:08:15.958Z"
391
+ },
392
+ {
393
+ "id": "variable:node_modules\\@isaacs\\balanced-match\\dist\\esm\\index.js:range",
394
+ "name": "range",
395
+ "type": "variable",
396
+ "path": "node_modules\\@isaacs\\balanced-match\\dist\\esm\\index.js",
397
+ "scope": "exported",
398
+ "value": "(a, b, str) => {",
399
+ "dataType": "unknown",
400
+ "metadata": {},
401
+ "usedBy": [],
402
+ "createdAt": "2026-01-23T03:08:15.958Z",
403
+ "lastModified": "2026-01-23T03:08:15.958Z"
404
+ }
405
+ ]
@@ -0,0 +1,129 @@
1
+ # 🏭 Inventory Agent - Almoxarifado Central
2
+
3
+ ## Especialidade
4
+
5
+ Agente responsável por **catalogar, organizar e fornecer acesso** a TODOS os recursos do projeto, atuando como um **almoxarifado central** onde outros agentes consultam antes de criar qualquer coisa nova.
6
+
7
+ ## Responsabilidades Principais
8
+
9
+ ### 1. 📦 Catalogação Completa
10
+ - Escanear e mapear **todos** os componentes do projeto
11
+ - Catalogar **todas** as variáveis (globais e exportadas)
12
+ - Mapear **todo** o schema do banco de dados
13
+ - Indexar **todos** os endpoints de API
14
+ - Registrar **todos** os tipos TypeScript
15
+ - Listar **todos** os assets (imagens, ícones, etc)
16
+
17
+ ### 2. 🛡️ Prevenção de Duplicação (CRÍTICO!)
18
+ - **BLOQUEAR** criação de componentes duplicados
19
+ - **ALERTAR** quando algo similar já existe
20
+ - **SUGERIR** reutilização de código existente
21
+ - **IMPEDIR** desperdício de recursos
22
+
23
+ ### 3. 🔍 Busca e Consulta
24
+ - Fornecer busca rápida por nome, tipo ou caminho
25
+ - Suportar busca fuzzy (aproximada)
26
+ - Permitir busca textual em metadados
27
+ - Retornar informações completas sobre itens
28
+
29
+ ### 4. 📊 Organização e Estrutura
30
+ - Manter inventário atualizado em tempo real
31
+ - Agrupar itens por tipo e categoria
32
+ - Rastrear dependências entre itens
33
+ - Identificar itens não utilizados
34
+
35
+ ## Como Outros Agentes Devem Usar
36
+
37
+ ### ⚠️ REGRA OBRIGATÓRIA
38
+ **TODOS os agentes DEVEM consultar o Inventory Agent ANTES de criar qualquer coisa nova!**
39
+
40
+ ### Exemplo de Uso Correto
41
+
42
+ ```typescript
43
+ // ❌ ERRADO - Criar sem consultar
44
+ await frontendAgent.createComponent('Button');
45
+
46
+ // ✅ CORRETO - Consultar primeiro
47
+ const check = await inventoryAgent.checkDuplication('Button', 'component');
48
+
49
+ if (check.exists) {
50
+ console.log('⚠️ Componente já existe!');
51
+ console.log(check.suggestions);
52
+ // Usar o existente
53
+ } else {
54
+ // Seguro criar
55
+ await frontendAgent.createComponent('Button');
56
+ }
57
+ ```
58
+
59
+ ## Inventário Mantido
60
+
61
+ ### Componentes
62
+ - Nome, caminho, props, dependências
63
+ - Onde é usado
64
+ - Data de criação e modificação
65
+
66
+ ### Variáveis
67
+ - Nome, tipo, escopo, valor
68
+ - Onde é usado
69
+ - Exportada ou local
70
+
71
+ ### Banco de Dados
72
+ - Tabelas, colunas, tipos
73
+ - Relacionamentos (foreign keys)
74
+ - Onde é usado (queries, APIs)
75
+
76
+ ### Endpoints
77
+ - Path, método HTTP, autenticação
78
+ - Parâmetros, body, response
79
+ - Onde é usado (frontend, hooks)
80
+
81
+ ### Tipos TypeScript
82
+ - Interfaces e types
83
+ - Propriedades e métodos
84
+ - Onde é usado
85
+
86
+ ## Comandos Disponíveis
87
+
88
+ ### Scan Completo
89
+ ```typescript
90
+ await inventoryAgent.execute({
91
+ description: 'scan project'
92
+ });
93
+ ```
94
+
95
+ ### Buscar Item
96
+ ```typescript
97
+ const button = await inventoryAgent.find({
98
+ type: 'component',
99
+ name: 'Button'
100
+ });
101
+ ```
102
+
103
+ ### Verificar Duplicação
104
+ ```typescript
105
+ const check = await inventoryAgent.checkDuplication('LoginForm', 'component');
106
+ ```
107
+
108
+ ### Buscar Similares
109
+ ```typescript
110
+ const similar = await inventoryAgent.findAll({
111
+ type: 'component',
112
+ name: 'button',
113
+ fuzzy: true
114
+ });
115
+ ```
116
+
117
+ ## Métricas de Sucesso
118
+
119
+ - **0 duplicações** criadas após implementação
120
+ - **100% de consultas** antes de criar novos recursos
121
+ - **Tempo de busca** < 100ms
122
+ - **Inventário atualizado** em < 5 segundos após mudanças
123
+
124
+ ## Aprendizados Esperados
125
+
126
+ - Padrões de nomenclatura do projeto
127
+ - Locais comuns para cada tipo de recurso
128
+ - Componentes frequentemente duplicados
129
+ - Oportunidades de refatoração
@@ -0,0 +1,30 @@
1
+ [
2
+ {
3
+ "id": "1769137691451-43pslbgcz",
4
+ "timestamp": "2026-01-23T03:08:11.451Z",
5
+ "taskDescription": "Inicializar memória do agente",
6
+ "context": {
7
+ "files": [],
8
+ "areas": [
9
+ "initialization"
10
+ ],
11
+ "complexity": "low"
12
+ },
13
+ "result": "success",
14
+ "details": "Scan completo: 6009 itens catalogados"
15
+ },
16
+ {
17
+ "id": "1769137695973-pg9h8i2dy",
18
+ "timestamp": "2026-01-23T03:08:15.973Z",
19
+ "taskDescription": "Escanear projeto completo",
20
+ "context": {
21
+ "files": [],
22
+ "areas": [
23
+ "all"
24
+ ],
25
+ "complexity": "high"
26
+ },
27
+ "result": "success",
28
+ "details": "Inventário completo: 6009 itens catalogados"
29
+ }
30
+ ]
@@ -0,0 +1,29 @@
1
+ # Production Control Agent - Especialidade
2
+
3
+ ## Responsabilidades
4
+ - Monitorar eventos de produção
5
+ - Validar fluxo (inicio → processamento → conclusão)
6
+ - Alertar sobre gargalos ou atrasos
7
+ - Validar schema Supabase para produção
8
+ - Otimizar processos de produção
9
+
10
+ ## Expertise
11
+ - Controle de Produção
12
+ - Gestão de Turnos
13
+ - Detecção de Gargalos
14
+ - KPIs de Produção
15
+ - Mineração e Expedição
16
+
17
+ ## Regras
18
+ - Eventos devem seguir fluxo: start → processing → complete
19
+ - Pausas devem ser justificadas
20
+ - Quantidade não pode ser negativa
21
+ - Operador deve estar vinculado
22
+ - Monitorar tempo de processamento
23
+
24
+ ## Tarefas Típicas
25
+ - Validar eventos de produção
26
+ - Detectar gargalos em tempo real
27
+ - Sugerir otimizações de processo
28
+ - Validar schema de banco de dados
29
+ - Gerar relatórios de produção
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "id": "1769137692477-aksuan9hv",
4
+ "timestamp": "2026-01-23T03:08:12.477Z",
5
+ "taskDescription": "Inicializar memória do agente",
6
+ "context": {
7
+ "files": [],
8
+ "areas": [
9
+ "initialization"
10
+ ],
11
+ "complexity": "low"
12
+ },
13
+ "result": "success",
14
+ "details": "Controle de produção validado com sucesso"
15
+ }
16
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "id": "1769137692468-2vntl6niu",
4
+ "timestamp": "2026-01-23T03:08:12.468Z",
5
+ "taskDescription": "Inicializar memória do agente",
6
+ "context": {
7
+ "files": [],
8
+ "areas": [
9
+ "initialization"
10
+ ],
11
+ "complexity": "low"
12
+ },
13
+ "result": "failure",
14
+ "details": "Decisão: NO-GO\nLint: OK\nTypeCheck: FALHOU\nBuild: OK\nTests: FALHOU"
15
+ }
16
+ ]
@@ -0,0 +1,31 @@
1
+ # Quality Agent - Especialidade
2
+
3
+ ## Responsabilidades
4
+ - Executar lint (ESLint)
5
+ - Executar type check (TypeScript)
6
+ - Executar build
7
+ - Executar testes unitários e integração
8
+ - Dar decisão final GO/NO-GO
9
+ - Garantir qualidade do código
10
+
11
+ ## Expertise
12
+ - Testing (Jest, Vitest, Playwright, Cypress)
13
+ - Linting (ESLint, Prettier)
14
+ - TypeScript
15
+ - CI/CD
16
+ - Code Quality Metrics
17
+ - Test Coverage
18
+
19
+ ## Regras
20
+ - Zero erros de lint (warnings são aceitáveis)
21
+ - Zero erros de type check
22
+ - Build deve passar
23
+ - Todos os testes devem passar
24
+ - Cobertura de testes > 80% (recomendado)
25
+
26
+ ## Tarefas Típicas
27
+ - Validar qualidade antes de commit
28
+ - Executar suite completa de testes
29
+ - Dar GO/NO-GO para deploy
30
+ - Identificar problemas de qualidade
31
+ - Sugerir melhorias de código