agent-enderun 1.1.2 → 1.1.4

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 (533) hide show
  1. package/{.enderun/ENDERUN.md → ENDERUN.md} +25 -25
  2. package/README.md +10 -6
  3. package/bin/compile.js +13 -14
  4. package/bin/enderun-dashboard.js +866 -0
  5. package/bin/generate-cursor-rules.js +78 -0
  6. package/bin/test-init-run.js +37 -26
  7. package/bin/validate-agent-army.js +65 -67
  8. package/bin/watch-memory.js +54 -0
  9. package/dist/framework-mcp/src/index.js +1 -1
  10. package/dist/framework-mcp/src/tools/control_plane/locking.d.ts +15 -0
  11. package/dist/framework-mcp/src/tools/control_plane/locking.js +65 -0
  12. package/dist/framework-mcp/src/tools/control_plane/locking.js.map +1 -0
  13. package/dist/framework-mcp/src/tools/control_plane/registry.d.ts +12 -0
  14. package/dist/framework-mcp/src/tools/control_plane/registry.js +35 -0
  15. package/dist/framework-mcp/src/tools/control_plane/registry.js.map +1 -0
  16. package/dist/framework-mcp/src/tools/definitions.js +46 -7
  17. package/dist/framework-mcp/src/tools/definitions.js.map +1 -1
  18. package/dist/framework-mcp/src/tools/file_system/write_file.js +16 -2
  19. package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -1
  20. package/dist/framework-mcp/src/tools/index.d.ts +1 -1
  21. package/dist/framework-mcp/src/tools/index.js +5 -0
  22. package/dist/framework-mcp/src/tools/index.js.map +1 -1
  23. package/dist/framework-mcp/src/tools/messaging/send_message.d.ts +1 -1
  24. package/dist/framework-mcp/src/tools/messaging/send_message.js +2 -4
  25. package/dist/framework-mcp/src/tools/messaging/send_message.js.map +1 -1
  26. package/dist/framework-mcp/src/utils/metrics.d.ts +10 -0
  27. package/dist/framework-mcp/src/utils/metrics.js +39 -0
  28. package/dist/framework-mcp/src/utils/metrics.js.map +1 -0
  29. package/dist/framework-mcp/src/utils/security.js +7 -3
  30. package/dist/framework-mcp/src/utils/security.js.map +1 -1
  31. package/dist/src/cli/adapters/types.d.ts +14 -0
  32. package/dist/src/cli/adapters/types.js +2 -0
  33. package/dist/src/cli/adapters/types.js.map +1 -0
  34. package/dist/src/cli/adapters.d.ts +4 -22
  35. package/dist/src/cli/adapters.js +123 -141
  36. package/dist/src/cli/adapters.js.map +1 -1
  37. package/dist/src/cli/commands/check.d.ts +0 -5
  38. package/dist/src/cli/commands/check.js +64 -76
  39. package/dist/src/cli/commands/check.js.map +1 -1
  40. package/dist/src/cli/commands/init.d.ts +1 -1
  41. package/dist/src/cli/commands/init.js +154 -319
  42. package/dist/src/cli/commands/init.js.map +1 -1
  43. package/dist/src/cli/commands/log.d.ts +1 -0
  44. package/dist/src/cli/commands/log.js.map +1 -1
  45. package/dist/src/cli/commands/memory.js +2 -69
  46. package/dist/src/cli/commands/memory.js.map +1 -1
  47. package/dist/src/cli/commands/orchestrate.d.ts +19 -9
  48. package/dist/src/cli/commands/orchestrate.js +56 -77
  49. package/dist/src/cli/commands/orchestrate.js.map +1 -1
  50. package/dist/src/cli/index.js +112 -30
  51. package/dist/src/cli/index.js.map +1 -1
  52. package/dist/src/cli/utils/app.d.ts +1 -2
  53. package/dist/src/cli/utils/app.js +2 -2
  54. package/dist/src/cli/utils/app.js.map +1 -1
  55. package/dist/src/cli/utils/config-schema.d.ts +139 -0
  56. package/dist/src/cli/utils/config-schema.js +43 -0
  57. package/dist/src/cli/utils/config-schema.js.map +1 -0
  58. package/dist/src/cli/utils/fs.d.ts +2 -4
  59. package/dist/src/cli/utils/fs.js +9 -26
  60. package/dist/src/cli/utils/fs.js.map +1 -1
  61. package/dist/src/cli/utils/memory.d.ts +4 -3
  62. package/dist/src/cli/utils/memory.js +135 -116
  63. package/dist/src/cli/utils/memory.js.map +1 -1
  64. package/dist/src/cli/utils/pkg.js +4 -4
  65. package/dist/src/cli/utils/pkg.js.map +1 -1
  66. package/dist/src/cli/utils/ui.d.ts +30 -0
  67. package/dist/src/cli/utils/ui.js +56 -0
  68. package/dist/src/cli/utils/ui.js.map +1 -0
  69. package/dist/src/modules/adapters/antigravity-cli.d.ts +3 -0
  70. package/dist/src/modules/adapters/antigravity-cli.js +21 -0
  71. package/dist/src/modules/adapters/antigravity-cli.js.map +1 -0
  72. package/dist/src/modules/adapters/claude.d.ts +3 -0
  73. package/dist/src/modules/adapters/claude.js +36 -0
  74. package/dist/src/modules/adapters/claude.js.map +1 -0
  75. package/dist/src/modules/adapters/codex.d.ts +3 -0
  76. package/dist/src/modules/adapters/codex.js +20 -0
  77. package/dist/src/modules/adapters/codex.js.map +1 -0
  78. package/dist/src/modules/adapters/cursor.d.ts +3 -0
  79. package/dist/src/modules/adapters/cursor.js +20 -0
  80. package/dist/src/modules/adapters/cursor.js.map +1 -0
  81. package/dist/src/modules/adapters/gemini.d.ts +3 -0
  82. package/dist/src/modules/adapters/gemini.js +23 -0
  83. package/dist/src/modules/adapters/gemini.js.map +1 -0
  84. package/dist/src/modules/adapters/grok.d.ts +3 -0
  85. package/dist/src/modules/adapters/grok.js +18 -0
  86. package/dist/src/modules/adapters/grok.js.map +1 -0
  87. package/dist/src/modules/adapters/shared.d.ts +1 -0
  88. package/dist/src/modules/adapters/shared.js +79 -0
  89. package/dist/src/modules/adapters/shared.js.map +1 -0
  90. package/dist/src/modules/adapters/types.d.ts +14 -0
  91. package/dist/src/modules/adapters/types.js +2 -0
  92. package/dist/src/modules/adapters/types.js.map +1 -0
  93. package/dist/src/modules/agents/definitions.d.ts +13 -0
  94. package/dist/src/modules/agents/definitions.js +169 -0
  95. package/dist/src/modules/agents/definitions.js.map +1 -0
  96. package/dist/src/modules/skills/definitions.d.ts +31 -0
  97. package/dist/src/modules/skills/definitions.js +32 -0
  98. package/dist/src/modules/skills/definitions.js.map +1 -0
  99. package/dist/src/shared/fs.d.ts +3 -0
  100. package/dist/src/shared/fs.js +24 -0
  101. package/dist/src/shared/fs.js.map +1 -0
  102. package/eslint.config.js +1 -0
  103. package/framework-mcp/dist/index.js +1 -1
  104. package/framework-mcp/dist/tools/control_plane/locking.js +64 -0
  105. package/framework-mcp/dist/tools/control_plane/registry.js +34 -0
  106. package/framework-mcp/dist/tools/definitions.js +49 -8
  107. package/framework-mcp/dist/tools/file_system/read_file.js +20 -0
  108. package/framework-mcp/dist/tools/file_system/write_file.js +16 -2
  109. package/framework-mcp/dist/tools/index.js +5 -0
  110. package/framework-mcp/dist/tools/messaging/send_message.js +36 -15
  111. package/framework-mcp/dist/utils/metrics.js +38 -0
  112. package/framework-mcp/dist/utils/security.js +7 -3
  113. package/framework-mcp/package.json +1 -1
  114. package/framework-mcp/src/index.ts +1 -1
  115. package/framework-mcp/src/tools/control_plane/locking.ts +77 -0
  116. package/framework-mcp/src/tools/control_plane/registry.ts +44 -0
  117. package/framework-mcp/src/tools/definitions.ts +46 -7
  118. package/framework-mcp/src/tools/file_system/write_file.ts +19 -2
  119. package/framework-mcp/src/tools/index.ts +6 -1
  120. package/framework-mcp/src/tools/messaging/send_message.ts +2 -3
  121. package/framework-mcp/src/utils/metrics.ts +53 -0
  122. package/framework-mcp/src/utils/security.ts +8 -3
  123. package/framework-mcp/tests/tools/file_system/file_system_tools.test.ts +164 -0
  124. package/framework-mcp/tsconfig.json +4 -2
  125. package/package.json +12 -11
  126. package/src/cli/adapters/types.ts +16 -0
  127. package/src/cli/adapters.ts +130 -156
  128. package/src/cli/commands/check.ts +61 -77
  129. package/src/cli/commands/init.ts +163 -312
  130. package/src/cli/commands/log.ts +1 -1
  131. package/src/cli/commands/memory.ts +3 -80
  132. package/src/cli/commands/orchestrate.ts +76 -90
  133. package/src/cli/index.ts +121 -29
  134. package/src/cli/utils/app.ts +3 -3
  135. package/src/cli/utils/config-schema.ts +48 -0
  136. package/src/cli/utils/fs.ts +10 -27
  137. package/src/cli/utils/memory.ts +143 -112
  138. package/src/cli/utils/pkg.ts +4 -4
  139. package/src/cli/utils/ui.ts +63 -0
  140. package/src/modules/adapters/antigravity-cli.ts +25 -0
  141. package/src/modules/adapters/claude.ts +36 -0
  142. package/src/modules/adapters/codex.ts +22 -0
  143. package/src/modules/adapters/cursor.ts +22 -0
  144. package/src/modules/adapters/gemini.ts +27 -0
  145. package/src/modules/adapters/grok.ts +20 -0
  146. package/src/modules/adapters/shared.ts +90 -0
  147. package/src/modules/adapters/types.ts +16 -0
  148. package/src/modules/agents/definitions.ts +182 -0
  149. package/src/modules/skills/definitions.ts +32 -0
  150. package/src/shared/fs.ts +25 -0
  151. package/.enderun/BRAIN_DASHBOARD.md +0 -46
  152. package/.enderun/STATUS.md +0 -61
  153. package/.enderun/agents/agent_army_schema.json +0 -101
  154. package/.enderun/agents/analyst.json +0 -32
  155. package/.enderun/agents/backend.json +0 -32
  156. package/.enderun/agents/database.json +0 -32
  157. package/.enderun/agents/devops.json +0 -32
  158. package/.enderun/agents/explorer.json +0 -32
  159. package/.enderun/agents/frontend.json +0 -32
  160. package/.enderun/agents/git.json +0 -32
  161. package/.enderun/agents/manager.json +0 -32
  162. package/.enderun/agents/mobile.json +0 -32
  163. package/.enderun/agents/native.json +0 -32
  164. package/.enderun/agents/quality.json +0 -32
  165. package/.enderun/agents/schema/agent-lifecycle-schema.json +0 -41
  166. package/.enderun/agents/security.json +0 -32
  167. package/.enderun/benchmarks/.gitkeep +0 -0
  168. package/.enderun/cli-commands.json +0 -76
  169. package/.enderun/config.json +0 -13
  170. package/.enderun/knowledge/ARCHITECTURE.md +0 -1
  171. package/.enderun/knowledge/SECURITY.md +0 -1
  172. package/.enderun/knowledge/SHIM_TEMPLATE.md +0 -36
  173. package/.enderun/knowledge/analyst_reference_guide.md +0 -31
  174. package/.enderun/knowledge/async_error_handling.md +0 -27
  175. package/.enderun/knowledge/backend_reference_guide.md +0 -165
  176. package/.enderun/knowledge/blueprint_driven_construction.md +0 -22
  177. package/.enderun/knowledge/context_boundary_rules.md +0 -57
  178. package/.enderun/knowledge/corporate-governance/analyst-contract-integrity-guide.md +0 -92
  179. package/.enderun/knowledge/corporate-governance/audit-logging-standard.md +0 -59
  180. package/.enderun/knowledge/corporate-governance/backend-high-risk-endpoint-guide.md +0 -125
  181. package/.enderun/knowledge/corporate-governance/branded-types-law.md +0 -77
  182. package/.enderun/knowledge/corporate-governance/contract-drift-detection-simulation.md +0 -92
  183. package/.enderun/knowledge/corporate-governance/corporate-governance-playbook.md +0 -89
  184. package/.enderun/knowledge/corporate-governance/corporate-project-kickoff-checklist.md +0 -56
  185. package/.enderun/knowledge/corporate-governance/corporate-project-kickoff-simulation.md +0 -144
  186. package/.enderun/knowledge/corporate-governance/corporate-project-scaffolding-sop.md +0 -103
  187. package/.enderun/knowledge/corporate-governance/domain-error-handling-standard.md +0 -75
  188. package/.enderun/knowledge/corporate-governance/frontend-high-risk-modal-guide.md +0 -211
  189. package/.enderun/knowledge/corporate-governance/governance-baseline-briefing-template.md +0 -54
  190. package/.enderun/knowledge/corporate-governance/high-risk-action-approval-flow-simulation.md +0 -167
  191. package/.enderun/knowledge/corporate-governance/high-risk-action-approval-flow.md +0 -29
  192. package/.enderun/knowledge/corporate-governance/high-risk-actions-managerapproval.md +0 -76
  193. package/.enderun/knowledge/corporate-governance/high-risk-security-modal-hermes-flow.md +0 -49
  194. package/.enderun/knowledge/corporate-governance/manager-first-30-days-guide.md +0 -112
  195. package/.enderun/knowledge/corporate-governance/manager-first-three-briefings.md +0 -79
  196. package/.enderun/knowledge/database_reference_guide.md +0 -38
  197. package/.enderun/knowledge/devops_reference_guide.md +0 -43
  198. package/.enderun/knowledge/documentation_ownership.md +0 -53
  199. package/.enderun/knowledge/eslint-standards.md +0 -63
  200. package/.enderun/knowledge/evaluation_engine.md +0 -26
  201. package/.enderun/knowledge/explorer_reference_guide.md +0 -34
  202. package/.enderun/knowledge/framework_vs_user_project_boundary.md +0 -52
  203. package/.enderun/knowledge/frontend_professionalization_guidelines.md +0 -108
  204. package/.enderun/knowledge/frontend_reference_guide.md +0 -64
  205. package/.enderun/knowledge/git_reference_guide.md +0 -51
  206. package/.enderun/knowledge/hermes_live_test_guidelines.md +0 -90
  207. package/.enderun/knowledge/hermes_protocol.md +0 -59
  208. package/.enderun/knowledge/legacy_onboarding.md +0 -18
  209. package/.enderun/knowledge/lessons-learned.md +0 -14
  210. package/.enderun/knowledge/manager_authority_audit_enforcement.md +0 -104
  211. package/.enderun/knowledge/manager_reference_guide.md +0 -55
  212. package/.enderun/knowledge/mobile_reference_guide.md +0 -35
  213. package/.enderun/knowledge/native_reference_guide.md +0 -34
  214. package/.enderun/knowledge/project_scaffold_guidelines.md +0 -110
  215. package/.enderun/knowledge/quality_reference_guide.md +0 -42
  216. package/.enderun/knowledge/reference_application_guidelines.md +0 -101
  217. package/.enderun/knowledge/responsive_design_standards.md +0 -27
  218. package/.enderun/knowledge/router_logic.md +0 -29
  219. package/.enderun/knowledge/security_reference_guide.md +0 -35
  220. package/.enderun/knowledge/token_economy_and_memory.md +0 -129
  221. package/.enderun/knowledge/zero_ui_library_policy.md +0 -13
  222. package/.enderun/logs/manager.json +0 -52
  223. package/.enderun/mcp_config.json +0 -11
  224. package/.enderun/memory/BUSINESS_CONTEXT.md +0 -17
  225. package/.enderun/memory/DECISIONS.md +0 -24
  226. package/.enderun/memory/LESSONS_LEARNED.md +0 -12
  227. package/.enderun/memory/PATTERNS.md +0 -17
  228. package/.enderun/memory/PROJECT_MEMORY.md +0 -69
  229. package/.enderun/memory-graph/agent-contexts/analyst.json +0 -1
  230. package/.enderun/memory-graph/agent-contexts/backend.json +0 -1
  231. package/.enderun/memory-graph/agent-contexts/devops.json +0 -1
  232. package/.enderun/memory-graph/agent-contexts/explorer.json +0 -1
  233. package/.enderun/memory-graph/agent-contexts/frontend.json +0 -1
  234. package/.enderun/memory-graph/agent-contexts/git.json +0 -1
  235. package/.enderun/memory-graph/agent-contexts/manager.json +0 -1
  236. package/.enderun/memory-graph/agent-contexts/mobile.json +0 -1
  237. package/.enderun/memory-graph/agent-contexts/native.json +0 -1
  238. package/.enderun/memory-graph/agent-contexts/quality.json +0 -1
  239. package/.enderun/memory-graph/agent-contexts/security.json +0 -1
  240. package/.enderun/memory-graph/graph.json +0 -133
  241. package/.enderun/memory-graph/shared-facts.json +0 -46
  242. package/.enderun/monitoring/.gitkeep +0 -0
  243. package/.enderun/observability/AUDIT_LOG.md +0 -9
  244. package/.enderun/observability/METRICS.md +0 -10
  245. package/.enderun/observability/README.md +0 -19
  246. package/.enderun/observability/TRACE_LOG.md +0 -10
  247. package/.enderun/queue/README.md +0 -36
  248. package/.enderun/registry/agents.yaml +0 -69
  249. package/.enderun/skills/agent_handshake.md +0 -37
  250. package/.enderun/skills/multi_agent_coordination.md +0 -64
  251. package/.enderun/skills/subagent_lifecycle.md +0 -48
  252. package/CLAUDE.md +0 -21
  253. package/GEMINI.md +0 -24
  254. package/GROK.md +0 -20
  255. package/agent.md +0 -25
  256. package/dist/.keep +0 -1
  257. package/dist/tests/adapter.test.d.ts +0 -1
  258. package/dist/tests/adapter.test.js +0 -82
  259. package/dist/tests/adapter.test.js.map +0 -1
  260. package/dist/tests/gemini.test.d.ts +0 -1
  261. package/dist/tests/gemini.test.js +0 -39
  262. package/dist/tests/gemini.test.js.map +0 -1
  263. package/dist/tests/initial.test.d.ts +0 -1
  264. package/dist/tests/initial.test.js +0 -7
  265. package/dist/tests/initial.test.js.map +0 -1
  266. package/docs/project_analysis_report.md +0 -69
  267. package/framework-mcp/dist/src/index.js +0 -70
  268. package/framework-mcp/dist/src/tools/definitions.js +0 -112
  269. package/framework-mcp/dist/src/tools/file_system/patch_file.js +0 -18
  270. package/framework-mcp/dist/src/tools/file_system/read_file.js +0 -27
  271. package/framework-mcp/dist/src/tools/file_system/replace_text.js +0 -31
  272. package/framework-mcp/dist/src/tools/file_system/write_file.js +0 -9
  273. package/framework-mcp/dist/src/tools/framework/get_status.js +0 -5
  274. package/framework-mcp/dist/src/tools/framework/orchestrate.js +0 -5
  275. package/framework-mcp/dist/src/tools/framework/update_contract_hash.js +0 -5
  276. package/framework-mcp/dist/src/tools/framework/update_memory.js +0 -8
  277. package/framework-mcp/dist/src/tools/index.js +0 -25
  278. package/framework-mcp/dist/src/tools/messaging/log_action.js +0 -22
  279. package/framework-mcp/dist/src/tools/messaging/send_message.js +0 -46
  280. package/framework-mcp/dist/src/tools/types.js +0 -1
  281. package/framework-mcp/dist/src/utils/cli.js +0 -20
  282. package/framework-mcp/dist/src/utils/security.js +0 -53
  283. package/framework-mcp/dist/tests/tools/file_system/replace_text.test.js +0 -68
  284. package/framework-mcp/node_modules/@types/node/LICENSE +0 -21
  285. package/framework-mcp/node_modules/@types/node/README.md +0 -15
  286. package/framework-mcp/node_modules/@types/node/assert/strict.d.ts +0 -111
  287. package/framework-mcp/node_modules/@types/node/assert.d.ts +0 -1078
  288. package/framework-mcp/node_modules/@types/node/async_hooks.d.ts +0 -603
  289. package/framework-mcp/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  290. package/framework-mcp/node_modules/@types/node/buffer.d.ts +0 -1934
  291. package/framework-mcp/node_modules/@types/node/child_process.d.ts +0 -1476
  292. package/framework-mcp/node_modules/@types/node/cluster.d.ts +0 -578
  293. package/framework-mcp/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  294. package/framework-mcp/node_modules/@types/node/compatibility/index.d.ts +0 -9
  295. package/framework-mcp/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  296. package/framework-mcp/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  297. package/framework-mcp/node_modules/@types/node/console.d.ts +0 -452
  298. package/framework-mcp/node_modules/@types/node/constants.d.ts +0 -21
  299. package/framework-mcp/node_modules/@types/node/crypto.d.ts +0 -4545
  300. package/framework-mcp/node_modules/@types/node/dgram.d.ts +0 -600
  301. package/framework-mcp/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  302. package/framework-mcp/node_modules/@types/node/dns/promises.d.ts +0 -503
  303. package/framework-mcp/node_modules/@types/node/dns.d.ts +0 -923
  304. package/framework-mcp/node_modules/@types/node/domain.d.ts +0 -170
  305. package/framework-mcp/node_modules/@types/node/events.d.ts +0 -976
  306. package/framework-mcp/node_modules/@types/node/fs/promises.d.ts +0 -1295
  307. package/framework-mcp/node_modules/@types/node/fs.d.ts +0 -4461
  308. package/framework-mcp/node_modules/@types/node/globals.d.ts +0 -172
  309. package/framework-mcp/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  310. package/framework-mcp/node_modules/@types/node/http.d.ts +0 -2089
  311. package/framework-mcp/node_modules/@types/node/http2.d.ts +0 -2721
  312. package/framework-mcp/node_modules/@types/node/https.d.ts +0 -579
  313. package/framework-mcp/node_modules/@types/node/index.d.ts +0 -97
  314. package/framework-mcp/node_modules/@types/node/inspector.d.ts +0 -253
  315. package/framework-mcp/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  316. package/framework-mcp/node_modules/@types/node/module.d.ts +0 -891
  317. package/framework-mcp/node_modules/@types/node/net.d.ts +0 -1076
  318. package/framework-mcp/node_modules/@types/node/os.d.ts +0 -506
  319. package/framework-mcp/node_modules/@types/node/package.json +0 -145
  320. package/framework-mcp/node_modules/@types/node/path.d.ts +0 -200
  321. package/framework-mcp/node_modules/@types/node/perf_hooks.d.ts +0 -968
  322. package/framework-mcp/node_modules/@types/node/process.d.ts +0 -2084
  323. package/framework-mcp/node_modules/@types/node/punycode.d.ts +0 -117
  324. package/framework-mcp/node_modules/@types/node/querystring.d.ts +0 -152
  325. package/framework-mcp/node_modules/@types/node/readline/promises.d.ts +0 -161
  326. package/framework-mcp/node_modules/@types/node/readline.d.ts +0 -594
  327. package/framework-mcp/node_modules/@types/node/repl.d.ts +0 -428
  328. package/framework-mcp/node_modules/@types/node/sea.d.ts +0 -153
  329. package/framework-mcp/node_modules/@types/node/sqlite.d.ts +0 -721
  330. package/framework-mcp/node_modules/@types/node/stream/consumers.d.ts +0 -38
  331. package/framework-mcp/node_modules/@types/node/stream/promises.d.ts +0 -90
  332. package/framework-mcp/node_modules/@types/node/stream/web.d.ts +0 -622
  333. package/framework-mcp/node_modules/@types/node/stream.d.ts +0 -1687
  334. package/framework-mcp/node_modules/@types/node/string_decoder.d.ts +0 -67
  335. package/framework-mcp/node_modules/@types/node/test.d.ts +0 -2163
  336. package/framework-mcp/node_modules/@types/node/timers/promises.d.ts +0 -108
  337. package/framework-mcp/node_modules/@types/node/timers.d.ts +0 -287
  338. package/framework-mcp/node_modules/@types/node/tls.d.ts +0 -1319
  339. package/framework-mcp/node_modules/@types/node/trace_events.d.ts +0 -197
  340. package/framework-mcp/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  341. package/framework-mcp/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  342. package/framework-mcp/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  343. package/framework-mcp/node_modules/@types/node/tty.d.ts +0 -208
  344. package/framework-mcp/node_modules/@types/node/url.d.ts +0 -984
  345. package/framework-mcp/node_modules/@types/node/util.d.ts +0 -2606
  346. package/framework-mcp/node_modules/@types/node/v8.d.ts +0 -920
  347. package/framework-mcp/node_modules/@types/node/vm.d.ts +0 -1000
  348. package/framework-mcp/node_modules/@types/node/wasi.d.ts +0 -181
  349. package/framework-mcp/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  350. package/framework-mcp/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  351. package/framework-mcp/node_modules/@types/node/web-globals/events.d.ts +0 -97
  352. package/framework-mcp/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  353. package/framework-mcp/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  354. package/framework-mcp/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  355. package/framework-mcp/node_modules/@types/node/worker_threads.d.ts +0 -784
  356. package/framework-mcp/node_modules/@types/node/zlib.d.ts +0 -747
  357. package/framework-mcp/node_modules/typescript/LICENSE.txt +0 -55
  358. package/framework-mcp/node_modules/typescript/README.md +0 -50
  359. package/framework-mcp/node_modules/typescript/SECURITY.md +0 -41
  360. package/framework-mcp/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  361. package/framework-mcp/node_modules/typescript/bin/tsc +0 -2
  362. package/framework-mcp/node_modules/typescript/bin/tsserver +0 -2
  363. package/framework-mcp/node_modules/typescript/lib/_tsc.js +0 -133818
  364. package/framework-mcp/node_modules/typescript/lib/_tsserver.js +0 -659
  365. package/framework-mcp/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  366. package/framework-mcp/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  367. package/framework-mcp/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  368. package/framework-mcp/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  369. package/framework-mcp/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  370. package/framework-mcp/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  371. package/framework-mcp/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  372. package/framework-mcp/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  373. package/framework-mcp/node_modules/typescript/lib/lib.d.ts +0 -22
  374. package/framework-mcp/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  375. package/framework-mcp/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  376. package/framework-mcp/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  377. package/framework-mcp/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  378. package/framework-mcp/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  379. package/framework-mcp/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  380. package/framework-mcp/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  381. package/framework-mcp/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  382. package/framework-mcp/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  383. package/framework-mcp/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  384. package/framework-mcp/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  385. package/framework-mcp/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  386. package/framework-mcp/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  387. package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  388. package/framework-mcp/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  389. package/framework-mcp/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  390. package/framework-mcp/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  391. package/framework-mcp/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  392. package/framework-mcp/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  393. package/framework-mcp/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  394. package/framework-mcp/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  395. package/framework-mcp/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  396. package/framework-mcp/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  397. package/framework-mcp/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  398. package/framework-mcp/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  399. package/framework-mcp/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  400. package/framework-mcp/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  401. package/framework-mcp/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  402. package/framework-mcp/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  403. package/framework-mcp/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  404. package/framework-mcp/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  405. package/framework-mcp/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  406. package/framework-mcp/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  407. package/framework-mcp/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  408. package/framework-mcp/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  409. package/framework-mcp/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  410. package/framework-mcp/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  411. package/framework-mcp/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  412. package/framework-mcp/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  413. package/framework-mcp/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  414. package/framework-mcp/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  415. package/framework-mcp/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  416. package/framework-mcp/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  417. package/framework-mcp/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  418. package/framework-mcp/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  419. package/framework-mcp/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  420. package/framework-mcp/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  421. package/framework-mcp/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  422. package/framework-mcp/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  423. package/framework-mcp/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  424. package/framework-mcp/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  425. package/framework-mcp/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  426. package/framework-mcp/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  427. package/framework-mcp/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  428. package/framework-mcp/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  429. package/framework-mcp/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  430. package/framework-mcp/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  431. package/framework-mcp/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  432. package/framework-mcp/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  433. package/framework-mcp/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  434. package/framework-mcp/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  435. package/framework-mcp/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  436. package/framework-mcp/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  437. package/framework-mcp/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  438. package/framework-mcp/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  439. package/framework-mcp/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  440. package/framework-mcp/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  441. package/framework-mcp/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  442. package/framework-mcp/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  443. package/framework-mcp/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  444. package/framework-mcp/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  445. package/framework-mcp/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  446. package/framework-mcp/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  447. package/framework-mcp/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  448. package/framework-mcp/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  449. package/framework-mcp/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  450. package/framework-mcp/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  451. package/framework-mcp/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  452. package/framework-mcp/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  453. package/framework-mcp/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  454. package/framework-mcp/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  455. package/framework-mcp/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  456. package/framework-mcp/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  457. package/framework-mcp/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  458. package/framework-mcp/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  459. package/framework-mcp/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  460. package/framework-mcp/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  461. package/framework-mcp/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  462. package/framework-mcp/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  463. package/framework-mcp/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  464. package/framework-mcp/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  465. package/framework-mcp/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  466. package/framework-mcp/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  467. package/framework-mcp/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  468. package/framework-mcp/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  469. package/framework-mcp/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  470. package/framework-mcp/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  471. package/framework-mcp/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  472. package/framework-mcp/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  473. package/framework-mcp/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  474. package/framework-mcp/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  475. package/framework-mcp/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  476. package/framework-mcp/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  477. package/framework-mcp/node_modules/typescript/lib/tsc.js +0 -8
  478. package/framework-mcp/node_modules/typescript/lib/tsserver.js +0 -8
  479. package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  480. package/framework-mcp/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  481. package/framework-mcp/node_modules/typescript/lib/typesMap.json +0 -497
  482. package/framework-mcp/node_modules/typescript/lib/typescript.d.ts +0 -11437
  483. package/framework-mcp/node_modules/typescript/lib/typescript.js +0 -200276
  484. package/framework-mcp/node_modules/typescript/lib/typingsInstaller.js +0 -8
  485. package/framework-mcp/node_modules/typescript/lib/watchGuard.js +0 -53
  486. package/framework-mcp/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  487. package/framework-mcp/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  488. package/framework-mcp/node_modules/typescript/package.json +0 -120
  489. package/framework-mcp/node_modules/undici-types/LICENSE +0 -21
  490. package/framework-mcp/node_modules/undici-types/README.md +0 -6
  491. package/framework-mcp/node_modules/undici-types/agent.d.ts +0 -31
  492. package/framework-mcp/node_modules/undici-types/api.d.ts +0 -43
  493. package/framework-mcp/node_modules/undici-types/balanced-pool.d.ts +0 -29
  494. package/framework-mcp/node_modules/undici-types/cache.d.ts +0 -36
  495. package/framework-mcp/node_modules/undici-types/client.d.ts +0 -108
  496. package/framework-mcp/node_modules/undici-types/connector.d.ts +0 -34
  497. package/framework-mcp/node_modules/undici-types/content-type.d.ts +0 -21
  498. package/framework-mcp/node_modules/undici-types/cookies.d.ts +0 -28
  499. package/framework-mcp/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  500. package/framework-mcp/node_modules/undici-types/dispatcher.d.ts +0 -256
  501. package/framework-mcp/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  502. package/framework-mcp/node_modules/undici-types/errors.d.ts +0 -149
  503. package/framework-mcp/node_modules/undici-types/eventsource.d.ts +0 -61
  504. package/framework-mcp/node_modules/undici-types/fetch.d.ts +0 -209
  505. package/framework-mcp/node_modules/undici-types/file.d.ts +0 -39
  506. package/framework-mcp/node_modules/undici-types/filereader.d.ts +0 -54
  507. package/framework-mcp/node_modules/undici-types/formdata.d.ts +0 -108
  508. package/framework-mcp/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  509. package/framework-mcp/node_modules/undici-types/global-origin.d.ts +0 -7
  510. package/framework-mcp/node_modules/undici-types/handlers.d.ts +0 -15
  511. package/framework-mcp/node_modules/undici-types/header.d.ts +0 -4
  512. package/framework-mcp/node_modules/undici-types/index.d.ts +0 -71
  513. package/framework-mcp/node_modules/undici-types/interceptors.d.ts +0 -17
  514. package/framework-mcp/node_modules/undici-types/mock-agent.d.ts +0 -50
  515. package/framework-mcp/node_modules/undici-types/mock-client.d.ts +0 -25
  516. package/framework-mcp/node_modules/undici-types/mock-errors.d.ts +0 -12
  517. package/framework-mcp/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  518. package/framework-mcp/node_modules/undici-types/mock-pool.d.ts +0 -25
  519. package/framework-mcp/node_modules/undici-types/package.json +0 -55
  520. package/framework-mcp/node_modules/undici-types/patch.d.ts +0 -33
  521. package/framework-mcp/node_modules/undici-types/pool-stats.d.ts +0 -19
  522. package/framework-mcp/node_modules/undici-types/pool.d.ts +0 -39
  523. package/framework-mcp/node_modules/undici-types/proxy-agent.d.ts +0 -28
  524. package/framework-mcp/node_modules/undici-types/readable.d.ts +0 -65
  525. package/framework-mcp/node_modules/undici-types/retry-agent.d.ts +0 -8
  526. package/framework-mcp/node_modules/undici-types/retry-handler.d.ts +0 -116
  527. package/framework-mcp/node_modules/undici-types/util.d.ts +0 -18
  528. package/framework-mcp/node_modules/undici-types/webidl.d.ts +0 -228
  529. package/framework-mcp/node_modules/undici-types/websocket.d.ts +0 -150
  530. package/framework-mcp/tests/tools/file_system/replace_text.test.js +0 -68
  531. package/framework-mcp/tests/tools/file_system/replace_text.test.ts +0 -77
  532. package/mcp.json +0 -11
  533. package/panda.config.ts +0 -100
@@ -1,63 +0,0 @@
1
- # ESLint & Code Quality Standards
2
-
3
- **Version**: 1.0
4
- **Status**: MANDATORY
5
- **Scope**: All TypeScript and JavaScript projects under Agent Enderun.
6
-
7
- ---
8
-
9
- ## 🏛️ Foundational Rules (Zero Tolerance)
10
-
11
- Every line of code must pass these standards. Violation is considered a "Governance Breach".
12
-
13
- ### 1. The `any` Prohibition
14
- - **Rule**: Use of the `any` type is strictly forbidden.
15
- - **Why**: Bypasses the type system and introduces hidden bugs.
16
- - **Action**: Use `unknown`, generics, or define a concrete `interface`/`type`.
17
-
18
- ### 2. The `console.log` Ban
19
- - **Rule**: `console.log`, `console.warn`, and `console.error` are forbidden in application code.
20
- - **Why**: Pollutes production logs and leaks information.
21
- - **Action**: Use a structured logging utility or the project's internal logger.
22
-
23
- ### 3. Branded Types Law
24
- - **Rule**: All identifiers (IDs) must be "Branded Types".
25
- - **Why**: Prevents accidental mixing of different ID types (e.g., passing a UserID where a ProjectID is expected).
26
- - **Example**: `export type UserID = Brand<string, "UserID">;`
27
-
28
- ---
29
-
30
- ## 🏗️ Architectural Compliance
31
-
32
- ### 1. Contract-First Development
33
- - All API routes and shared data structures must be defined in the `types/` folder before implementation.
34
- - `apps/backend/contract.version.json` must be updated on every contract change.
35
-
36
- ### 2. Domain-Driven Structure
37
- - Keep logic within its respective domain. Avoid cross-domain leakage.
38
- - Controllers should only handle routing and validation; business logic belongs in Services/Repositories.
39
-
40
- ### 3. Async/Await Excellence
41
- - Always use `try/catch` blocks for asynchronous operations.
42
- - Never leave a promise unhandled.
43
-
44
- ---
45
-
46
- ## 💅 Styling & Naming
47
-
48
- - **Naming**: Use camelCase for variables/functions, PascalCase for classes/types, and kebab-case for files.
49
- - **Comments**: Only comment *why* something is complex. Do not describe *what* the code does (the code should be self-descriptive).
50
- - **Imports**: Always use explicit file extensions in imports (e.g., `import { foo } from "./foo.js";`) to comply with ESM standards.
51
-
52
- ---
53
-
54
- ## 🛠️ Tooling
55
-
56
- Agents must run the following command to verify compliance:
57
- `agent-enderun check:lint`
58
-
59
- If a file fails linting, agents are authorized to use `eslint --fix` but must manually review the changes to ensure logic is preserved.
60
-
61
- ---
62
-
63
- **Failure to comply with these standards will result in a PHASE_ROLLBACK.**
@@ -1,26 +0,0 @@
1
- **📌 Low-Usage Reference Material**
2
-
3
- This file is maintained as reference-only for the 12-agent army.
4
-
5
- Per `.enderun/knowledge/token_economy_and_memory.md`:
6
- - Load on-demand only when relevant for evaluation, planning, or quality gates.
7
- - Prefer search or targeted reads over full inclusion in every context.
8
- - Not core to CLI runtime, init scaffolding, or mandatory every-session knowledge.
9
-
10
- ---
11
-
12
- # ⚖️ Evaluation Engine (evaluation_engine.md)
13
-
14
- This document defines the post-task evaluation process. After every major task (Trace ID completion), the Commander must audit the output.
15
-
16
- ## 🎯 Evaluation Criteria
17
-
18
- 1. **Constitutional Compliance:** Did the agent follow `ENDERUN.md` and `SECURITY.md`? (Weight: 40%)
19
- 2. **Surgical Quality:** Was `replace_text` used correctly? Were placeholders avoided? (Weight: 20%)
20
- 3. **Traceability:** Are all logs and memory updates completed? (Weight: 20%)
21
- 4. **Efficiency:** Was the task completed with minimal tool calls? (Weight: 20%)
22
-
23
- ## 📈 Scoring
24
- - **9.0 - 10:** Excellent. Move to `DONE`.
25
- - **7.0 - 8.9:** Passing. Note minor improvements in `LESSONS_LEARNED.md`.
26
- - **< 7.0:** Failed. Rollback and re-brief.
@@ -1,34 +0,0 @@
1
- # @explorer — Research & Discovery Reference Guide
2
-
3
- Standard procedures for codebase mapping, legacy system conversion, and architecture intelligence. Reference this file when performing deep research or onboarding new projects.
4
-
5
- ---
6
-
7
- ## 🔄 Legacy Conversion Algorithm (Standard)
8
-
9
- 1. **Architecture Mapping:** Use `analyze_dependencies` for coupling analysis.
10
- 2. **Gap Analysis:** Document structural deviations from `ENDERUN.md`.
11
- 3. **Bridge Building:** Map existing DTOs to a new app-local `types` directory.
12
- 4. **Refactor Blueprint:** Provide a plan for "Hot Spot" modules using Branded Types.
13
-
14
- ---
15
-
16
- ## 🔍 Research & Intelligence Standards
17
-
18
- ### 1. Common UI Mapping (CRITICAL)
19
- Before frontend tasks, scan `apps/web/src/components/ui/` and list available components for @frontend.
20
-
21
- ### 2. Architecture Discovery
22
- - Use `generate_dependency_graph` for module relationships.
23
- - Use `analyze_database_schema` for Mermaid ER diagrams.
24
- - Use `analyze_codebase_intelligence` for complexity analysis.
25
-
26
- ### 3. Impact Zone Analysis
27
- Always identify the "Impact Zone" before suggesting modifications to avoid side effects.
28
-
29
- ---
30
-
31
- ## 🧭 Agent Skill Development
32
- - Capture recurring patterns and store them as actionable guidance.
33
- - Track decisions that worked vs regressions to improve heuristics.
34
- - Propose coaching notes for other agents when gaps are found.
@@ -1,52 +0,0 @@
1
- # Framework vs User Project Boundary
2
-
3
- This is one of the most important rules in Agent Enderun.
4
-
5
- ## The Core Principle
6
-
7
- There is a strict separation between two things:
8
-
9
- 1. **The Agent Enderun Framework** (the tool)
10
- - Located in: `framework-mcp/`, `.enderun/`, `bin/`, root config files (`panda.config.ts`, etc.)
11
- - Purpose: Governance, agents, MCP tools, CLI, knowledge base, blueprints
12
-
13
- 2. **The User's Application** (what the user is actually building)
14
- - Located in: `apps/backend/`, `apps/web/`, `src/`, project source code
15
- - Purpose: The real product the user wants to ship
16
-
17
- ## Golden Rule
18
-
19
- **When the user is developing their own application, agents must never touch or suggest changes inside the framework's own code.**
20
-
21
- All new code, files, features, and modifications must happen **exclusively** inside the user's project structure.
22
-
23
- ### Forbidden Actions (When Building User's Project)
24
- - Creating files in `framework-mcp/src/utils/`, `framework-mcp/src/tools/`, etc.
25
- - Modifying agent definitions in `.enderun/agents/`
26
- - Editing `panda.config.ts` at the root (unless the project itself uses it directly)
27
- - Adding new MCP tools unless the explicit task is "improve the framework"
28
-
29
- ### Allowed Actions
30
- - Creating files in `apps/backend/src/...`
31
- - Creating files in `apps/web/src/...`
32
- - Adding blueprints and knowledge under `.enderun/` **only** when improving the framework for everyone
33
- - Updating project-specific configs inside the user's `apps/` or root project files
34
-
35
- ## Why This Rule Exists
36
-
37
- Violating this boundary causes:
38
- - Broken framework installations for the user
39
- - Confusion between "framework code" and "application code"
40
- - Agents suggesting nonsense like putting reCAPTCHA logic inside the MCP server
41
- - Loss of trust in the agent system
42
-
43
- ## Manager's Responsibility
44
-
45
- `@manager` is responsible for immediately stopping and correcting any agent that crosses this line. Repeated violations must be recorded in `PROJECT_MEMORY.md`.
46
-
47
- ## Summary
48
-
49
- Framework = Tool
50
- User's code = The actual project
51
-
52
- Never mix the two.
@@ -1,108 +0,0 @@
1
- # Frontend Professionalization Guidelines
2
-
3
- **Version:** 1.0
4
- **Owner:** @manager
5
- **Last Updated:** 23 May 2026
6
-
7
- ## Purpose
8
-
9
- This document defines the official **@frontend Professionalization Program** to close the critical risk item **"@frontend Weakness"** in the Risk Tracking Dashboard.
10
-
11
- The goal is to elevate the @frontend agent from its current level (6.5) to a true **kurumsal (enterprise) grade** frontend architect (target: 9.0) within 6–8 weeks.
12
-
13
- ## Current Risk Assessment (23 May 2026)
14
-
15
- - **Risk Name:** @frontend Weakness
16
- - **Current Level:** 6.5 / 10
17
- - **Target Level:** 9.0 / 10
18
- - **Risk Severity:** Critical / High Risk
19
- - **Main Weaknesses:**
20
- - Component architecture and composition patterns exist on paper but are not deeply enforced.
21
- - Accessibility (WCAG 2.2) is defined but lacks mandatory enforcement and audit mechanisms.
22
- - Performance engineering (Core Web Vitals, virtualization, bundle optimization) is superficial.
23
- - Testing discipline is present but coverage and quality expectations are not strictly applied in every task.
24
- - Integration with @manager (briefings, Hermes, high-risk admin flows) is still largely declarative.
25
- - Design System Governance lacks a formal evolution and review process.
26
-
27
- ## Professionalization Program — 6–8 Week Roadmap
28
-
29
- ### Phase 1 (Week 1–2): Foundation & Enforcement
30
- - Make all existing "Recommended Patterns" in frontend.md **mandatory** (not optional).
31
- - Add mandatory Accessibility Audit Checklist to every significant UI task.
32
- - Introduce **Performance Budget** concept (define acceptable thresholds for bundle size, LCP, INP).
33
- - Strengthen Completion Report with stricter checkboxes for accessibility and performance.
34
-
35
- ### Phase 2 (Week 3–4): Advanced Patterns & Testing
36
- - Deepen Compound Component and Slots usage with real examples from the reference application (when built).
37
- - Create official **Frontend Testing Blueprint** (unit + component + integration + contract).
38
- - Define minimum coverage targets: 70% for new shared components, 85% for critical hooks.
39
- - Add Visual Regression Testing requirement for design system components.
40
-
41
- ### Phase 3 (Week 5–6): Resilience, Performance & Hermes Integration
42
- - Make Error Boundaries and Graceful Degradation mandatory on all complex pages.
43
- - Introduce official Performance Optimization Blueprint (code splitting, virtualization, memoization, image optimization).
44
- - Strengthen Hermes usage for high-risk admin flows (make `isHighRiskAdminAction` + `managerApproval` a hard requirement in all admin-related hooks).
45
- - Add mandatory performance measurement step in the Completion Report.
46
-
47
- ### Phase 4 (Week 7–8): Governance, Review & Continuous Improvement
48
- - Establish formal **Design System Evolution Process** (proposal → @manager review → approval → migration plan).
49
- - Create @frontend Growth Task system (similar to other agents).
50
- - Integrate @frontend performance and accessibility metrics into BRAIN_DASHBOARD.md.
51
- - Close the "@frontend Weakness" risk item in the Risk Tracking Dashboard upon successful demonstration in a reference application.
52
-
53
- ## Mandatory Requirements (Non-Negotiable)
54
-
55
- Any task involving @frontend must satisfy the following:
56
-
57
- 1. **Accessibility (WCAG 2.2 AA)**
58
- - All new components and pages must pass a basic accessibility checklist.
59
- - Keyboard navigation, ARIA attributes, and semantic HTML are mandatory.
60
- - Color contrast and focus states must be verified.
61
-
62
- 2. **Performance**
63
- - Every major feature must consider Core Web Vitals impact.
64
- - Lazy loading, code splitting, and virtualization must be evaluated for list/detail pages.
65
- - Bundle size impact must be measured and reported for new dependencies.
66
-
67
- 3. **Testing**
68
- - Every reusable component and custom hook must have tests.
69
- - Critical user flows must have at least one integration test.
70
- - Contract changes from backend must break frontend tests when applicable.
71
-
72
- 4. **High-Risk Admin & Hermes Integration**
73
- - All high-risk administrative actions in the UI must use the official `isHighRiskAdminAction` + `managerApproval` pattern.
74
- - Relevant hooks must integrate with Hermes when coordination with other agents is required.
75
-
76
- 5. **Design System Governance**
77
- - New components or tokens must be proposed to @manager before implementation.
78
- - Breaking changes require a documented migration plan.
79
-
80
- ## @manager Responsibilities
81
-
82
- @manager is the owner of the @frontend Professionalization Program and must:
83
-
84
- - Include specific @frontend growth tasks in every relevant briefing.
85
- - Review and approve major design system changes.
86
- - Track progress via the Risk Tracking Dashboard and BRAIN_DASHBOARD.md.
87
- - Ensure that the reference application (when built) includes real-world examples of professional frontend patterns.
88
- - Escalate repeated violations of accessibility, performance, or testing standards as leadership failures.
89
-
90
- ## Success Criteria (Risk Closure)
91
-
92
- The "@frontend Weakness" risk can be closed when:
93
-
94
- - @frontend agent consistently applies compound components, accessibility, and performance patterns in real tasks.
95
- - A reference application demonstrates professional-grade frontend work (including high-risk admin flows with Hermes).
96
- - @frontend Completion Reports show high compliance with the new mandatory requirements.
97
- - Metrics in BRAIN_DASHBOARD.md show measurable improvement in @frontend quality.
98
-
99
- ## Related Documents
100
-
101
- - `.enderun/agents/frontend.md` (main definition)
102
- - `.enderun/knowledge/reference_application_guidelines.md`
103
- - `docs/roadmap.md` → Risk Tracking Dashboard
104
- - `PROJECT_MEMORY.md` → STRATEGIC ROADMAP
105
-
106
- ---
107
-
108
- **This guideline is now part of the official agent knowledge base.** All agents, especially @manager and @frontend, must follow it when working on frontend-related tasks in kurumsal projects.
@@ -1,64 +0,0 @@
1
- # @frontend — Reference & Implementation Guide
2
-
3
- This guide contains detailed architectural patterns, UI standards, and code structures for Agent Enderun projects. Reference this file via `read_file` only when building new components, pages, or complex UI logic.
4
-
5
- ---
6
-
7
- ## 📐 Responsive & Fluid Design Standards
8
-
9
- - **Mobile-First (320px):** Always write base styles for mobile and use `stack` (vertical) as default.
10
- - **Breakpoint Hygiene:** Use Panda CSS responsive objects (e.g., `sm`, `md`, `lg`).
11
- - **Fluidity via Tokens:** Use `clamp()` or fluid spacing tokens for typography and gaps.
12
- - **Grid Stability:** Prefer `grid` for complex layouts.
13
-
14
- ---
15
-
16
- ## 🏗️ Standard UI Component Patterns (Mandatory)
17
-
18
- ### 1. Button
19
- - Variants: primary, secondary, danger, ghost.
20
- - focus-ring and transition are mandatory.
21
-
22
- ### 2. Input
23
- - Red focus ring for error state.
24
- - Gray background when disabled.
25
-
26
- ### 3. Card
27
- - Border + shadow-sm combination.
28
- - Responsive internal spacing.
29
-
30
- ### 4. Modal
31
- - Overlay + centered content.
32
- - Standard close button.
33
-
34
- ---
35
-
36
- ## ⚡ Proactive Engineering (Mandatory)
37
- - **Loading States:** Skeletons or spinners for all async operations.
38
- - **Empty States:** Clear messaging for no data.
39
- - **Error UI:** Graceful handling of backend errors.
40
-
41
- ---
42
-
43
- ## 🔗 Hook-Based API Architecture (Mandatory)
44
-
45
- ### 1. useListPage
46
- For list pages with pagination and search.
47
-
48
- ### 2. useDetailPage
49
- For detail pages with fetch/update/delete.
50
-
51
- ### 3. useFormPage
52
- For form state management and validation.
53
-
54
- ---
55
-
56
- ## 🎨 Theme & Semantic Design System
57
- - Radius: `md (6px)`, `lg (8px)`, `xl (12px)`.
58
- - Typography: Inter (default font), Outfit (for titles).
59
-
60
- ---
61
-
62
- ## 🧩 Frontend Capability Expansion
63
- - **Design System Coverage:** Identify missing tokens.
64
- - **A11y Growth:** Add keyboard support and contrast checks.
@@ -1,51 +0,0 @@
1
- # @git — Version Control Reference Guide
2
-
3
- Detailed commit strategies, branching models, and repository health check procedures. Reference this file when performing major merges, releases, or cleaning up history.
4
-
5
- ---
6
-
7
- ## 🛠️ Git Discipline Protocol
8
-
9
- ### 1. Commit Message Format
10
- Every message MUST follow this pattern:
11
- `[{{TRACE_ID}}] <type>(<scope>): <description>`
12
-
13
- - **Types:**
14
- - `feat`: New feature.
15
- - `fix`: Bug fix.
16
- - `docs`: Documentation only.
17
- - `refactor`: Code change that neither fixes a bug nor adds a feature.
18
- - `test`: Adding missing tests or correcting existing tests.
19
- - `chore`: Updates to build process, dependencies, etc.
20
- - `arch`: Architectural changes or contract updates.
21
-
22
- ### 2. Branching Strategy
23
- - **Main/Master:** Production-ready code only.
24
- - **Feature Branches:** `feat/{{TRACE_ID}}-description`
25
- - **Fix Branches:** `fix/{{TRACE_ID}}-description`
26
-
27
- ---
28
-
29
- ## 🚀 Standard Operating Procedure (SOP)
30
-
31
- ### Step 1: Repository Status & Health Audit
32
- 1. Run `git status`.
33
- 2. **Health Check (Mandatory):** Run `npx agent-enderun check` to verify compilation.
34
- 3. **Constitution Compliance:** Run `analyze_constitution_compliance` on staged files.
35
-
36
- ### Step 2: Atomic Committing
37
- 1. Stage files: `git add <files>`.
38
- 2. Verify Trace ID.
39
- 3. Use `generate_semantic_commit_message` for a structured message.
40
- 4. Commit: `git commit -m "[message]"`.
41
-
42
- ### Step 3: Phase Snapshots
43
- At the end of a Phase:
44
- 1. Tag: `git tag -a v{{VERSION}}-phase{{X}} -m "Phase Completion Snapshot"`.
45
-
46
- ---
47
-
48
- ## 🧭 Git Skill Growth
49
- - Identify missing release documentation or tags.
50
- - Suggest precise commit scopes (`arch`, `docs`, `test`).
51
- - Recommend cleanup for stale feature branches.
@@ -1,90 +0,0 @@
1
- # Hermes Live Test Guidelines
2
-
3
- **Version:** 1.0
4
- **Owner:** @manager
5
- **Last Updated:** 23 May 2026
6
-
7
- ## Purpose
8
-
9
- This document defines the official **Hermes Live Test Program** to close the risk item **"Hermes 'On Paper'"** in the Risk Tracking Dashboard.
10
-
11
- Although the Hermes protocol is now technically stateful and mandatory on paper (send_agent_message, read_agent_messages, update_agent_message_status, proper lifecycle), it has not yet been proven in real inter-agent communication cycles.
12
-
13
- The goal is to move Hermes from **"defined and mandated"** to **"actually used and verified in live scenarios"**.
14
-
15
- ## Current Risk Status (23 May 2026)
16
-
17
- - **Risk Name:** Hermes “On Paper”
18
- - **Previous Progress:** %70 (protocol made stateful + mandatory in all agents)
19
- - **Current Gap:** No real, end-to-end live message flows have been executed and verified between agents in a working context.
20
- - **Risk Severity:** Orta (but blocking full autonomous orchestration claim)
21
-
22
- ## Minimum Required Live Test Scenarios
23
-
24
- To consider the Hermes protocol "live and proven", the following scenarios **must** be successfully executed and documented:
25
-
26
- ### 1. Basic Delegation Flow (Manager → Specialist)
27
- - @manager sends a DELEGATION message to @backend (or @frontend) with a clear task.
28
- - Recipient agent reads the message via `read_agent_messages`.
29
- - Recipient performs the work.
30
- - Recipient calls `update_agent_message_status` to mark it as `ACKNOWLEDGED` then `COMPLETED`.
31
- - @manager verifies the status update.
32
-
33
- ### 2. High-Risk Administrative Action Coordination
34
- - A high-risk admin action (e.g., user role change) is triggered.
35
- - @manager sends a Hermes message containing `managerApproval` object to the relevant agent (@backend or @frontend).
36
- - The receiving agent only proceeds after confirming the message and approval.
37
- - After execution, the agent sends a completion message back to @manager (or @analyst) with audit summary.
38
- - Full lifecycle is used: PENDING → READ → ACKNOWLEDGED → COMPLETED.
39
-
40
- ### 3. Conflict Resolution / Negotiation Flow
41
- - @analyst rejects a task from @frontend or @backend.
42
- - @manager intercepts and initiates negotiation using `send_agent_message` (category: ACTION or DELEGATION).
43
- - The implementing agent justifies the deviation.
44
- - @analyst responds via Hermes.
45
- - If resolved, status is updated to COMPLETED. If not, escalation to user is triggered after max 3 rejections.
46
-
47
- ### 4. Cross-Agent Information Sharing (Explorer / Analyst → Others)
48
- - @explorer finishes a research task and proactively sends findings (especially high-risk areas) to @manager and/or @backend via Hermes.
49
- - Recipients acknowledge receipt and act on the information (e.g., update plans or create growth tasks).
50
-
51
- ## Acceptance Criteria (Risk Closure)
52
-
53
- The "Hermes On Paper" risk can be closed only when **all** of the following are true:
54
-
55
- - At least the 4 scenarios above have been executed in a real context (preferably inside the reference application).
56
- - Every message uses correct `from`, `to`, `traceId`, `category`, `priority`, and proper status transitions.
57
- - `update_agent_message_status` is called by the recipient after action.
58
- - All flows are logged in HISTORY and visible in PROJECT_MEMORY.md.
59
- - @manager can demonstrate during a session that Hermes is actively used instead of direct text instructions.
60
- - The pattern is documented with real message examples in the knowledge base.
61
-
62
- ## @manager Responsibilities
63
-
64
- @manager is the owner of the Hermes Live Test Program and must:
65
-
66
- - Plan and orchestrate the live test scenarios (especially during reference application development).
67
- - Ensure every briefing that involves inter-agent work includes Hermes usage instructions.
68
- - Verify that agents are actually calling `send_agent_message` and `update_agent_message_status` instead of bypassing the protocol.
69
- - Record successful live flows in the Risk Tracking Dashboard and HISTORY.
70
- - Treat repeated Hermes bypass as a serious process violation.
71
-
72
- ## Recommended Execution Order
73
-
74
- 1. Implement the 4 core scenarios during the creation of the reference application.
75
- 2. Use the reference app as the first real proving ground.
76
- 3. Document at least one complete example of each scenario with actual message content.
77
- 4. Once all scenarios pass, update the Risk Tracking Dashboard to "Closed".
78
-
79
- ## Related Documents
80
-
81
- - `.enderun/knowledge/hermes_protocol.md` (original protocol definition)
82
- - `.enderun/agents/manager.md` → Hermes Communication Mandate section
83
- - `.enderun/knowledge/frontend_professionalization_guidelines.md`
84
- - `.enderun/knowledge/reference_application_guidelines.md`
85
- - `docs/roadmap.md` → Risk Tracking Dashboard
86
- - `PROJECT_MEMORY.md` → STRATEGIC ROADMAP
87
-
88
- ---
89
-
90
- **This guideline is now part of the official agent knowledge base.** All agents must treat Hermes live testing as a mandatory step before claiming full autonomous orchestration capability.
@@ -1,59 +0,0 @@
1
- # 📡 Hermes Messaging Protocol
2
-
3
- The Hermes protocol defines the standardized way for Agent Enderun specialized agents to communicate, delegate tasks, and share state updates.
4
-
5
- ---
6
-
7
- ## 🏗️ Message Structure
8
-
9
- Every message sent via `send_agent_message` must follow this conceptual structure (enforced by the MCP tool):
10
-
11
- ```json
12
- {
13
- "timestamp": "ISO-8601",
14
- "from": "@agent_name",
15
- "to": "@agent_name",
16
- "category": "ACTION | DELEGATION | INFO | ALERT",
17
- "priority": "LOW | MEDIUM | HIGH | URGENT",
18
- "traceId": "ULID",
19
- "content": "Message content",
20
- "status": "PENDING | READ | ACKNOWLEDGED | COMPLETED"
21
- }
22
- ```
23
-
24
- ---
25
-
26
- ## 📂 Message Categories
27
-
28
- | Category | Usage | Expectation |
29
- | :--- | :--- | :--- |
30
- | **ACTION** | Requesting a specific action (e.g., "Run security scan"). | Must be acknowledged and logged in `STATUS.md`. |
31
- | **DELEGATION** | Handing off a sub-task (e.g., "@backend, create the schema"). | Becomes the primary task for the recipient. |
32
- | **INFO** | Sharing architectural decisions or updates. | No direct action required, but must be read. |
33
- | **ALERT** | Critical blockers or security violations. | Immediate attention required by `@manager`. |
34
-
35
- ---
36
-
37
- ## 🚦 Priority Levels
38
-
39
- - **URGENT:** Must be handled in the current turn.
40
- - **HIGH:** Top of the queue for the next turn.
41
- - **MEDIUM:** Standard task priority (Default).
42
- - **LOW:** Non-critical background updates.
43
-
44
- ---
45
-
46
- ## 🔄 Lifecycle Protocol
47
-
48
- 1. **Dispatch:** Agent calls `send_agent_message`. Message is saved in `.enderun/messages/recipient.json`.
49
- 2. **Notification:** The recipient agent checks their inbox during their turn via `read_agent_messages`.
50
- 3. **Acknowledgment:** For `ACTION` or `DELEGATION`, the recipient should send an `INFO` message back once started or completed.
51
- 4. **Logging:** All critical communications must be summarized in the agent's log file (`.enderun/logs/agent.json`).
52
-
53
- ---
54
-
55
- ## 🛡️ Hermes Safety Rules
56
-
57
- - **No circular delegation:** Agent A cannot delegate X to Agent B if B delegated Y (a dependency of X) to A.
58
- - **Trace ID Integrity:** Every message MUST include a valid `traceId` from `PROJECT_MEMORY.md`.
59
- - **Atomic Content:** One message per specific intent. Avoid monolithic "do everything" messages.
@@ -1,18 +0,0 @@
1
- **📌 Low-Usage Reference Material**
2
-
3
- This file is maintained as reference-only for the 12-agent army.
4
-
5
- Per `.enderun/knowledge/token_economy_and_memory.md`:
6
- - Load on-demand only when relevant for legacy migration, explorer tasks, or onboarding planning.
7
- - Prefer search or targeted reads over full inclusion in every context.
8
- - Not core to CLI runtime, init scaffolding, or mandatory every-session knowledge.
9
-
10
- ---
11
-
12
- # Legacy Onboarding Strategy
13
-
14
- When ingesting a legacy codebase:
15
- 1. Run `agent-enderun explorer:graph` to map the architecture.
16
- 2. Identify "Hot Spots" via `explorer:audit`.
17
- 3. Wrap core modules in tests before refactoring.
18
- 4. Gradually introduce Branded Types.
@@ -1,14 +0,0 @@
1
- # Lessons Learned - Agent Enderun
2
-
3
- This repository stores the collective intelligence of the Agent Army. Every failure is analyzed, and a corresponding "Prevention Rule" is established here.
4
-
5
- ## Structure of a Lesson
6
- - **Trace ID:** The original task chain ID.
7
- - **Agent:** The agent responsible for the failure.
8
- - **Root Cause:** Deep analysis of why the failure occurred.
9
- - **Solution:** How the failure was resolved.
10
- - **Prevention Rule:** A mandatory rule added to the agent's Core Rules or `ENDERUN.md` to prevent recurrence.
11
-
12
- ## Archive
13
-
14
- *(No lessons learned yet. System is in pristine state.)*