agent-enderun 1.0.7 → 1.0.9

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 (312) hide show
  1. package/.enderun/ARCHITECTURE.md +1 -0
  2. package/.enderun/BRAIN_DASHBOARD.md +1 -1
  3. package/.enderun/ENDERUN.md +2 -2
  4. package/.enderun/SECURITY.md +1 -0
  5. package/.enderun/STATUS.md +5 -6
  6. package/.enderun/agents/agent_army_schema.json +71 -77
  7. package/.enderun/agents/analyst.json +32 -0
  8. package/.enderun/agents/backend.json +32 -0
  9. package/.enderun/agents/database.json +32 -0
  10. package/.enderun/agents/devops.json +32 -0
  11. package/.enderun/agents/explorer.json +32 -0
  12. package/.enderun/agents/frontend.json +32 -0
  13. package/.enderun/agents/git.json +32 -0
  14. package/.enderun/agents/manager.json +32 -0
  15. package/.enderun/agents/mobile.json +32 -0
  16. package/.enderun/agents/native.json +32 -0
  17. package/.enderun/agents/quality.json +32 -0
  18. package/.enderun/agents/schema/agent-lifecycle-schema.json +35 -80
  19. package/.enderun/agents/security.json +32 -0
  20. package/.enderun/cli-commands.json +7 -5
  21. package/.enderun/config.json +1 -1
  22. package/.enderun/knowledge/ARCHITECTURE.md +1 -0
  23. package/.enderun/knowledge/SECURITY.md +1 -0
  24. package/.enderun/knowledge/SHIM_TEMPLATE.md +12 -1
  25. package/.enderun/knowledge/evaluation_engine.md +11 -0
  26. package/.enderun/knowledge/legacy_onboarding.md +11 -0
  27. package/.enderun/knowledge/project_scaffold_guidelines.md +11 -0
  28. package/.enderun/knowledge/reference_application_guidelines.md +11 -0
  29. package/.enderun/logs/manager.json +52 -23
  30. package/.enderun/memory/PROJECT_MEMORY.md +14 -12
  31. package/.enderun/observability/README.md +19 -0
  32. package/README.md +38 -101
  33. package/agent.md +1 -1
  34. package/bin/hermes-sandbox.js +9 -0
  35. package/bin/init-check.js +9 -0
  36. package/bin/validate-agent-army.js +34 -92
  37. package/dist/apps/backend/src/types/index.d.ts +9 -0
  38. package/dist/apps/backend/src/types/index.js +5 -0
  39. package/dist/apps/backend/src/types/index.js.map +1 -0
  40. package/dist/apps/web/src/main.d.ts +1 -0
  41. package/dist/apps/web/src/main.js +9 -0
  42. package/dist/apps/web/src/main.js.map +1 -0
  43. package/dist/apps/web/vite.config.d.ts +2 -0
  44. package/dist/apps/web/vite.config.js +6 -0
  45. package/dist/apps/web/vite.config.js.map +1 -0
  46. package/dist/framework-mcp/src/index.d.ts +1 -0
  47. package/dist/framework-mcp/src/index.js +71 -0
  48. package/dist/framework-mcp/src/index.js.map +1 -0
  49. package/dist/framework-mcp/src/tools/definitions.d.ts +2 -0
  50. package/dist/framework-mcp/src/tools/definitions.js +111 -0
  51. package/dist/framework-mcp/src/tools/definitions.js.map +1 -0
  52. package/dist/framework-mcp/src/tools/file_system/patch_file.d.ts +2 -0
  53. package/dist/framework-mcp/src/tools/file_system/patch_file.js +19 -0
  54. package/dist/framework-mcp/src/tools/file_system/patch_file.js.map +1 -0
  55. package/dist/framework-mcp/src/tools/file_system/read_file.d.ts +2 -0
  56. package/dist/framework-mcp/src/tools/file_system/read_file.js +8 -0
  57. package/dist/framework-mcp/src/tools/file_system/read_file.js.map +1 -0
  58. package/dist/framework-mcp/src/tools/file_system/replace_text.d.ts +2 -0
  59. package/dist/framework-mcp/src/tools/file_system/replace_text.js +32 -0
  60. package/dist/framework-mcp/src/tools/file_system/replace_text.js.map +1 -0
  61. package/dist/framework-mcp/src/tools/file_system/write_file.d.ts +2 -0
  62. package/dist/framework-mcp/src/tools/file_system/write_file.js +10 -0
  63. package/dist/framework-mcp/src/tools/file_system/write_file.js.map +1 -0
  64. package/dist/framework-mcp/src/tools/framework/get_status.d.ts +2 -0
  65. package/dist/framework-mcp/src/tools/framework/get_status.js +6 -0
  66. package/dist/framework-mcp/src/tools/framework/get_status.js.map +1 -0
  67. package/dist/framework-mcp/src/tools/framework/orchestrate.d.ts +2 -0
  68. package/dist/framework-mcp/src/tools/framework/orchestrate.js +6 -0
  69. package/dist/framework-mcp/src/tools/framework/orchestrate.js.map +1 -0
  70. package/dist/framework-mcp/src/tools/framework/update_contract_hash.d.ts +2 -0
  71. package/dist/framework-mcp/src/tools/framework/update_contract_hash.js +6 -0
  72. package/dist/framework-mcp/src/tools/framework/update_contract_hash.js.map +1 -0
  73. package/dist/framework-mcp/src/tools/framework/update_memory.d.ts +2 -0
  74. package/dist/framework-mcp/src/tools/framework/update_memory.js +9 -0
  75. package/dist/framework-mcp/src/tools/framework/update_memory.js.map +1 -0
  76. package/dist/framework-mcp/src/tools/index.d.ts +5 -0
  77. package/dist/framework-mcp/src/tools/index.js +26 -0
  78. package/dist/framework-mcp/src/tools/index.js.map +1 -0
  79. package/dist/framework-mcp/src/tools/messaging/log_action.d.ts +2 -0
  80. package/dist/framework-mcp/src/tools/messaging/log_action.js +23 -0
  81. package/dist/framework-mcp/src/tools/messaging/log_action.js.map +1 -0
  82. package/dist/framework-mcp/src/tools/messaging/send_message.d.ts +2 -0
  83. package/dist/framework-mcp/src/tools/messaging/send_message.js +24 -0
  84. package/dist/framework-mcp/src/tools/messaging/send_message.js.map +1 -0
  85. package/dist/framework-mcp/src/tools/types.d.ts +47 -0
  86. package/dist/framework-mcp/src/tools/types.js +2 -0
  87. package/dist/framework-mcp/src/tools/types.js.map +1 -0
  88. package/dist/framework-mcp/src/utils/cli.d.ts +5 -0
  89. package/dist/framework-mcp/src/utils/cli.js +21 -0
  90. package/dist/framework-mcp/src/utils/cli.js.map +1 -0
  91. package/dist/framework-mcp/src/utils/security.d.ts +12 -0
  92. package/dist/framework-mcp/src/utils/security.js +54 -0
  93. package/dist/framework-mcp/src/utils/security.js.map +1 -0
  94. package/dist/src/cli/adapters.d.ts +32 -0
  95. package/dist/src/cli/adapters.js +264 -0
  96. package/dist/src/cli/adapters.js.map +1 -0
  97. package/dist/src/cli/commands/app.d.ts +4 -0
  98. package/dist/src/cli/commands/app.js +32 -0
  99. package/dist/src/cli/commands/app.js.map +1 -0
  100. package/dist/src/cli/commands/check.d.ts +6 -0
  101. package/dist/src/cli/commands/check.js +110 -0
  102. package/dist/src/cli/commands/check.js.map +1 -0
  103. package/dist/src/cli/commands/compliance.d.ts +1 -0
  104. package/dist/src/cli/commands/compliance.js +51 -0
  105. package/dist/src/cli/commands/compliance.js.map +1 -0
  106. package/dist/src/cli/commands/contract.d.ts +8 -0
  107. package/dist/src/cli/commands/contract.js +73 -0
  108. package/dist/src/cli/commands/contract.js.map +1 -0
  109. package/dist/src/cli/commands/explorer.d.ts +2 -0
  110. package/dist/src/cli/commands/explorer.js +43 -0
  111. package/dist/src/cli/commands/explorer.js.map +1 -0
  112. package/dist/src/cli/commands/git.d.ts +2 -0
  113. package/dist/src/cli/commands/git.js +41 -0
  114. package/dist/src/cli/commands/git.js.map +1 -0
  115. package/dist/src/cli/commands/init.d.ts +1 -0
  116. package/dist/src/cli/commands/init.js +338 -0
  117. package/dist/src/cli/commands/init.js.map +1 -0
  118. package/dist/src/cli/commands/knowledge.d.ts +2 -0
  119. package/dist/src/cli/commands/knowledge.js +43 -0
  120. package/dist/src/cli/commands/knowledge.js.map +1 -0
  121. package/dist/src/cli/commands/lint.d.ts +4 -0
  122. package/dist/src/cli/commands/lint.js +24 -0
  123. package/dist/src/cli/commands/lint.js.map +1 -0
  124. package/dist/src/cli/commands/log.d.ts +9 -0
  125. package/dist/src/cli/commands/log.js +33 -0
  126. package/dist/src/cli/commands/log.js.map +1 -0
  127. package/dist/src/cli/commands/memory.d.ts +1 -0
  128. package/dist/src/cli/commands/memory.js +72 -0
  129. package/dist/src/cli/commands/memory.js.map +1 -0
  130. package/dist/src/cli/commands/orchestrate.d.ts +1 -0
  131. package/dist/src/cli/commands/orchestrate.js +111 -0
  132. package/dist/src/cli/commands/orchestrate.js.map +1 -0
  133. package/dist/src/cli/commands/script.d.ts +1 -0
  134. package/dist/src/cli/commands/script.js +20 -0
  135. package/dist/src/cli/commands/script.js.map +1 -0
  136. package/dist/src/cli/commands/security.d.ts +1 -0
  137. package/dist/src/cli/commands/security.js +37 -0
  138. package/dist/src/cli/commands/security.js.map +1 -0
  139. package/dist/src/cli/commands/status.d.ts +4 -0
  140. package/dist/src/cli/commands/status.js +56 -0
  141. package/dist/src/cli/commands/status.js.map +1 -0
  142. package/dist/src/cli/commands/trace.d.ts +4 -0
  143. package/dist/src/cli/commands/trace.js +42 -0
  144. package/dist/src/cli/commands/trace.js.map +1 -0
  145. package/dist/src/cli/index.d.ts +2 -0
  146. package/dist/src/cli/index.js +117 -0
  147. package/dist/src/cli/index.js.map +1 -0
  148. package/dist/src/cli/utils/app.d.ts +33 -0
  149. package/dist/src/cli/utils/app.js +710 -0
  150. package/dist/src/cli/utils/app.js.map +1 -0
  151. package/dist/src/cli/utils/claude.d.ts +8 -0
  152. package/dist/src/cli/utils/claude.js +56 -0
  153. package/dist/src/cli/utils/claude.js.map +1 -0
  154. package/dist/src/cli/utils/fs.d.ts +11 -0
  155. package/dist/src/cli/utils/fs.js +144 -0
  156. package/dist/src/cli/utils/fs.js.map +1 -0
  157. package/dist/src/cli/utils/memory.d.ts +14 -0
  158. package/dist/src/cli/utils/memory.js +173 -0
  159. package/dist/src/cli/utils/memory.js.map +1 -0
  160. package/dist/src/cli/utils/pkg.d.ts +24 -0
  161. package/dist/src/cli/utils/pkg.js +254 -0
  162. package/dist/src/cli/utils/pkg.js.map +1 -0
  163. package/dist/src/cli/utils/string.d.ts +6 -0
  164. package/dist/src/cli/utils/string.js +44 -0
  165. package/dist/src/cli/utils/string.js.map +1 -0
  166. package/dist/src/cli/utils/time.d.ts +2 -0
  167. package/dist/src/cli/utils/time.js +28 -0
  168. package/dist/src/cli/utils/time.js.map +1 -0
  169. package/dist/tests/adapter.test.d.ts +1 -0
  170. package/dist/tests/adapter.test.js +80 -0
  171. package/dist/tests/adapter.test.js.map +1 -0
  172. package/dist/tests/framework-init-test/framework-mcp/src/index.d.ts +1 -0
  173. package/dist/tests/framework-init-test/framework-mcp/src/index.js +71 -0
  174. package/dist/tests/framework-init-test/framework-mcp/src/index.js.map +1 -0
  175. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.d.ts +2 -0
  176. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js +111 -0
  177. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js.map +1 -0
  178. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.d.ts +2 -0
  179. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js +19 -0
  180. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js.map +1 -0
  181. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.d.ts +2 -0
  182. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js +8 -0
  183. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js.map +1 -0
  184. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.d.ts +2 -0
  185. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js +32 -0
  186. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js.map +1 -0
  187. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.d.ts +2 -0
  188. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js +10 -0
  189. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js.map +1 -0
  190. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.d.ts +2 -0
  191. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js +6 -0
  192. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js.map +1 -0
  193. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.d.ts +2 -0
  194. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js +6 -0
  195. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js.map +1 -0
  196. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.d.ts +2 -0
  197. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js +6 -0
  198. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js.map +1 -0
  199. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.d.ts +2 -0
  200. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js +9 -0
  201. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js.map +1 -0
  202. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.d.ts +5 -0
  203. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js +26 -0
  204. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js.map +1 -0
  205. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.d.ts +2 -0
  206. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js +23 -0
  207. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js.map +1 -0
  208. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.d.ts +2 -0
  209. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js +24 -0
  210. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js.map +1 -0
  211. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.d.ts +47 -0
  212. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js +2 -0
  213. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js.map +1 -0
  214. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.d.ts +5 -0
  215. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js +21 -0
  216. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js.map +1 -0
  217. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.d.ts +12 -0
  218. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js +54 -0
  219. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js.map +1 -0
  220. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.d.ts +1 -0
  221. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js +69 -0
  222. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js.map +1 -0
  223. package/dist/tests/framework-init-test/panda.config.d.ts +4 -0
  224. package/dist/tests/framework-init-test/panda.config.js +95 -0
  225. package/dist/tests/framework-init-test/panda.config.js.map +1 -0
  226. package/dist/tests/framework-init-test/vitest.config.d.ts +2 -0
  227. package/dist/tests/framework-init-test/vitest.config.js +19 -0
  228. package/dist/tests/framework-init-test/vitest.config.js.map +1 -0
  229. package/dist/tests/gemini.test.d.ts +1 -0
  230. package/dist/tests/gemini.test.js +38 -0
  231. package/dist/tests/gemini.test.js.map +1 -0
  232. package/dist/tests/initial.test.d.ts +1 -0
  233. package/dist/tests/initial.test.js +7 -0
  234. package/dist/tests/initial.test.js.map +1 -0
  235. package/dist/vitest.config.d.ts +2 -0
  236. package/dist/vitest.config.js +19 -0
  237. package/dist/vitest.config.js.map +1 -0
  238. package/docs/getting-started.md +4 -4
  239. package/eslint.config.js +1 -1
  240. package/framework-mcp/dist/index.js +2 -2
  241. package/framework-mcp/dist/src/index.js +70 -0
  242. package/framework-mcp/dist/src/tools/definitions.js +110 -0
  243. package/framework-mcp/dist/src/tools/file_system/patch_file.js +18 -0
  244. package/framework-mcp/dist/src/tools/file_system/read_file.js +7 -0
  245. package/framework-mcp/dist/src/tools/file_system/replace_text.js +31 -0
  246. package/framework-mcp/dist/src/tools/file_system/write_file.js +9 -0
  247. package/framework-mcp/dist/src/tools/framework/get_status.js +5 -0
  248. package/framework-mcp/dist/src/tools/framework/orchestrate.js +5 -0
  249. package/framework-mcp/dist/src/tools/framework/update_contract_hash.js +5 -0
  250. package/framework-mcp/dist/src/tools/framework/update_memory.js +8 -0
  251. package/framework-mcp/dist/src/tools/index.js +25 -0
  252. package/framework-mcp/dist/src/tools/messaging/log_action.js +22 -0
  253. package/framework-mcp/dist/src/tools/messaging/send_message.js +23 -0
  254. package/framework-mcp/dist/src/tools/types.js +1 -0
  255. package/framework-mcp/dist/src/utils/cli.js +20 -0
  256. package/framework-mcp/dist/src/utils/security.js +53 -0
  257. package/framework-mcp/dist/tests/tools/file_system/replace_text.test.js +68 -0
  258. package/framework-mcp/dist/tools/definitions.js +1 -0
  259. package/framework-mcp/dist/tools/file_system/replace_text.js +18 -1
  260. package/framework-mcp/dist/tools/framework/get_status.js +2 -2
  261. package/framework-mcp/dist/tools/framework/orchestrate.js +2 -2
  262. package/framework-mcp/dist/tools/framework/update_contract_hash.js +2 -2
  263. package/framework-mcp/dist/tools/framework/update_memory.js +1 -1
  264. package/framework-mcp/dist/tools/messaging/send_message.js +4 -2
  265. package/framework-mcp/dist/utils/cli.js +2 -2
  266. package/framework-mcp/dist/utils/security.js +23 -5
  267. package/framework-mcp/package.json +3 -3
  268. package/framework-mcp/src/index.ts +2 -2
  269. package/framework-mcp/src/tools/definitions.ts +1 -0
  270. package/framework-mcp/src/tools/file_system/replace_text.ts +21 -1
  271. package/framework-mcp/src/tools/framework/get_status.ts +3 -3
  272. package/framework-mcp/src/tools/framework/orchestrate.ts +3 -3
  273. package/framework-mcp/src/tools/framework/update_contract_hash.ts +3 -3
  274. package/framework-mcp/src/tools/framework/update_memory.ts +1 -1
  275. package/framework-mcp/src/tools/messaging/send_message.ts +5 -2
  276. package/framework-mcp/src/tools/types.ts +3 -0
  277. package/framework-mcp/src/utils/cli.ts +2 -2
  278. package/framework-mcp/src/utils/security.ts +23 -5
  279. package/framework-mcp/tests/tools/file_system/replace_text.test.js +68 -0
  280. package/framework-mcp/tests/tools/file_system/replace_text.test.ts +77 -0
  281. package/framework-mcp/tsconfig.json +1 -2
  282. package/mcp.json +4 -4
  283. package/package.json +4 -3
  284. package/src/cli/adapters.ts +16 -9
  285. package/src/cli/commands/check.ts +8 -5
  286. package/src/cli/commands/contract.ts +2 -2
  287. package/src/cli/commands/init.ts +213 -433
  288. package/src/cli/commands/memory.ts +5 -0
  289. package/src/cli/index.ts +12 -9
  290. package/src/cli/utils/app.ts +19 -16
  291. package/src/cli/utils/claude.ts +2 -1
  292. package/src/cli/utils/fs.ts +2 -1
  293. package/src/cli/utils/memory.ts +2 -2
  294. package/src/cli/utils/pkg.ts +72 -5
  295. package/.enderun/agents/analyst.md +0 -32
  296. package/.enderun/agents/backend.md +0 -49
  297. package/.enderun/agents/database.md +0 -41
  298. package/.enderun/agents/devops.md +0 -41
  299. package/.enderun/agents/explorer.md +0 -40
  300. package/.enderun/agents/frontend.md +0 -48
  301. package/.enderun/agents/git.md +0 -41
  302. package/.enderun/agents/manager.md +0 -43
  303. package/.enderun/agents/mobile.md +0 -42
  304. package/.enderun/agents/native.md +0 -41
  305. package/.enderun/agents/quality.md +0 -40
  306. package/.enderun/agents/security.md +0 -32
  307. package/docs/api-referans.md +0 -1137
  308. package/docs/is_akislari.md +0 -902
  309. package/docs/mimari.md +0 -926
  310. package/docs/moduller.md +0 -294
  311. package/docs/proje.md +0 -521
  312. package/docs/yap/304/261.md +0 -2150
@@ -1,86 +1,41 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Agent Lifecycle State Machine",
4
- "description": "Defines the valid states and transitions for every agent in the Enderun Army. All agents MUST respect these transitions.",
5
- "version": "1.0.0",
6
- "states": {
7
- "IDLE": {
8
- "description": "Agent is available and waiting for a briefing.",
9
- "allowedTransitions": [
10
- "BRIEFED"
11
- ]
12
- },
13
- "BRIEFED": {
14
- "description": "Agent has received a formal briefing from @manager or @orchestrator and is preparing to execute.",
15
- "allowedTransitions": [
16
- "EXECUTING",
17
- "WAITING",
18
- "BLOCKED"
19
- ]
20
- },
21
- "EXECUTING": {
22
- "description": "Agent is actively working on its assigned task.",
23
- "allowedTransitions": [
24
- "DONE",
25
- "BLOCKED",
26
- "ERROR",
27
- "WAITING"
28
- ]
29
- },
30
- "WAITING": {
31
- "description": "Agent is blocked by a dependency (e.g., waiting for @backend to define a contract before @frontend can proceed).",
32
- "allowedTransitions": [
33
- "EXECUTING",
34
- "BLOCKED"
35
- ],
36
- "metadata": {
37
- "blockedByField": "The agent ID that this agent is waiting on, e.g. '@backend'",
38
- "estimatedUnblockAt": "ISO-8601 timestamp, optional"
39
- }
40
- },
41
- "BLOCKED": {
42
- "description": "Agent cannot proceed and requires @manager escalation. Differs from WAITING: WAITING is expected, BLOCKED is a problem.",
43
- "allowedTransitions": [
44
- "BRIEFED",
45
- "IDLE"
46
- ],
47
- "metadata": {
48
- "escalationRequired": true,
49
- "blockReason": "Mandatory field — must describe why the agent is blocked"
50
- }
51
- },
52
- "DONE": {
53
- "description": "Agent has completed its task successfully. Audit log must be written before entering this state.",
54
- "allowedTransitions": [
55
- "IDLE"
56
- ],
57
- "metadata": {
58
- "auditLogRequired": true,
59
- "memoryUpdateRequired": true
60
- }
3
+ "title": "Agent Lifecycle State Machine Schema",
4
+ "type": "object",
5
+ "required": [
6
+ "initialState",
7
+ "states"
8
+ ],
9
+ "properties": {
10
+ "initialState": {
11
+ "type": "string"
61
12
  },
62
- "ERROR": {
63
- "description": "Agent encountered an unrecoverable error. Requires @manager intervention.",
64
- "allowedTransitions": [
65
- "IDLE"
66
- ],
67
- "metadata": {
68
- "escalationRequired": true,
69
- "errorReportRequired": true
13
+ "states": {
14
+ "type": "object",
15
+ "patternProperties": {
16
+ "^[a-zA-Z0-9_]+$": {
17
+ "type": "object",
18
+ "properties": {
19
+ "on": {
20
+ "type": "object",
21
+ "patternProperties": {
22
+ "^[a-zA-Z0-9_]+$": {
23
+ "type": "string"
24
+ }
25
+ }
26
+ },
27
+ "actions": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "string"
31
+ }
32
+ }
33
+ },
34
+ "required": [
35
+ "on"
36
+ ]
37
+ }
70
38
  }
71
39
  }
72
- },
73
- "rules": [
74
- "An agent MUST NOT skip states (e.g., cannot go from IDLE directly to EXECUTING).",
75
- "An agent in BLOCKED state MUST write a blockReason to STATUS.md before transitioning.",
76
- "An agent in DONE state MUST write an audit log entry via log_agent_action before transitioning to IDLE.",
77
- "WAITING agents are automatically checked every 30 seconds by @orchestrator for dependency resolution.",
78
- "ERROR state always triggers a @manager notification via Hermes channel."
79
- ],
80
- "timeouts": {
81
- "BRIEFED": "5m",
82
- "EXECUTING": "30m",
83
- "WAITING": "60m",
84
- "BLOCKED": "escalate_immediately"
85
40
  }
86
- }
41
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "security",
3
+ "displayName": "Security & Cryptography Specialist",
4
+ "description": "Enforces authentication flows, CSP policies, credential rotation, RLS constraints, and cryptographic safety.",
5
+ "hidden": false,
6
+ "stateMachine": {
7
+ "schemaRef": "../schema/agent-lifecycle-schema.json"
8
+ },
9
+ "tags": [
10
+ "core"
11
+ ],
12
+ "customAgentSpec": {
13
+ "customAgent": {
14
+ "systemPromptSections": [
15
+ {
16
+ "title": "Instructions",
17
+ "content": "You are the security agent. Ensure all endpoints, database connections, and authentication flows satisfy strict enterprise compliance policies.\n\n🛑 NON-NEGOTIABLE CORE RULES:\n- Sandboxed Security First: Enforce Row Level Security (RLS) on all database tables.\n- Credential Rotation Policy: Credentials, keys, and tokens must never be hardcoded. Use vault/env variables.\n- CSP & CORS Strictness: Never open wildcards (*) for CORS or CSP policies.\n- Surgical Edits: Use replace_text for all security patches."
18
+ }
19
+ ],
20
+ "toolNames": [
21
+ "view_file",
22
+ "replace_file_content",
23
+ "write_to_file",
24
+ "run_command",
25
+ "grep_search",
26
+ "list_dir"
27
+ ]
28
+ }
29
+ },
30
+ "role": "Security & Cryptography",
31
+ "capability": 9
32
+ }
@@ -17,19 +17,21 @@
17
17
  "description": "Full health check"
18
18
  },
19
19
  "check:security": {
20
- "check": {
21
- "agent": "@quality",
22
- "description": "Full health check (includes AL validation)"
20
+ "agent": "@security",
21
+ "description": "Run security check"
23
22
  },
24
23
  "check:al": {
25
24
  "agent": "@quality",
26
- "description": "Dedicated Agent Lifecycle (AL) army validation"
25
+ "description": "Full health check (includes AL validation)"
27
26
  },
28
27
  "validate": {
29
28
  "agent": "@quality",
30
29
  "description": "Run AL army validation (validate-agent-army)"
31
30
  },
32
- "check:security": {
31
+ "validate-army": {
32
+ "agent": "@quality",
33
+ "description": "Run AL army validation (validate-agent-army)"
34
+ },
33
35
  "frontend:dev": {
34
36
  "agent": "@frontend",
35
37
  "description": "Start frontend development server"
@@ -2,7 +2,7 @@
2
2
  "logLevel": "info",
3
3
  "outputFormat": "text",
4
4
  "defaultProfile": "Lightweight",
5
- "version": "1.0.0",
5
+ "version": "1.0.9",
6
6
  "paths": {
7
7
  "backend": "apps/backend",
8
8
  "frontend": "apps/web",
@@ -0,0 +1 @@
1
+ # Agent Enderun Architecture Rules
@@ -0,0 +1 @@
1
+ # Agent Enderun Security Rules
@@ -1,3 +1,14 @@
1
+ **📌 Low-Usage Reference Material**
2
+
3
+ This file is maintained as reference-only for the 12-agent army (template for platform shims).
4
+
5
+ Per `.enderun/knowledge/token_economy_and_memory.md`:
6
+ - Load on-demand only when creating or updating adapter shims (GEMINI.md, CLAUDE.md, etc.).
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
+
1
12
  # Agent Enderun — {{ADAPTER_NAME}} Adapter
2
13
 
3
14
  This is the primary entry point when using Agent Enderun within the {{PLATFORM_NAME}} ecosystem.
@@ -14,7 +25,7 @@ You are operating under the Agent Enderun governance framework.
14
25
 
15
26
  At the **start of every session**, before any work:
16
27
  1. **Restore Memory:** Read `.enderun/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
- 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.md` (default to `@manager`).
28
+ 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.json` (default to `@manager`).
18
29
  3. **Internalize Knowledge:** Reference the `.enderun/knowledge/` base for architectural and coding standards.
19
30
 
20
31
  ### 🛡️ Core Mandates
@@ -1,3 +1,14 @@
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
+
1
12
  # ⚖️ Evaluation Engine (evaluation_engine.md)
2
13
 
3
14
  This document defines the post-task evaluation process. After every major task (Trace ID completion), the Commander must audit the output.
@@ -1,3 +1,14 @@
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
+
1
12
  # Legacy Onboarding Strategy
2
13
 
3
14
  When ingesting a legacy codebase:
@@ -1,3 +1,14 @@
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 scaffolding SOPs, reference apps, or Phase 1/2 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
+
1
12
  # Project Scaffold Guidelines
2
13
 
3
14
  **Version:** 1.0
@@ -1,3 +1,14 @@
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 reference app guidelines or corporate scaffolding examples.
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
+
1
12
  # Reference Application Guidelines
2
13
 
3
14
  **Version:** 1.0
@@ -1,44 +1,73 @@
1
1
  [
2
2
  {
3
- "timestamp": "2026-06-02T15:37:31.187Z",
3
+ "timestamp": "2026-06-02T17:12:00.827Z",
4
4
  "agent": "@manager",
5
- "action": "AL_COMPATIBILITY_FIX",
5
+ "action": "readme-version-clean-structure-audit-token-brief",
6
6
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
7
7
  "status": "SUCCESS",
8
- "summary": "Made all init kurulumları fully compatible with Agent Lifecycle (AL). Fixed validate-agent-army.js detection, integrated into check, updated adapters. All 12 agents now pass AL validation post-init regardless of adapter (antigravity skills etc.). Updated PROJECT_MEMORY.",
9
- "findings": ["validate now supports skills/plugins", "check runs AL gate automatically", "tests passing"]
8
+ "summary": "Removed detailed old version release notes ('Sürüm vX Devrimsel' + 'Key Improvements vX' blocks) from README via surgical MCP replaces. Kept bilingual TR/EN mold, updated to v1.0.7 current note. Full audit: all .enderun subfolders/structures (agents, knowledge, memory-graph, queue, skills, registry, benchmarks, observability etc.) + docs/apps/bin/framework-mcp used correctly (init scaffolds + check validates + CLI refs). Language: internals ENG, bilingual only user-facing. Token economy: followed rules (prune, MCP memory, search-first), briefed user per doc. Memory updated + this log. All per ENDERUN surgical + every-turn + token economy.",
9
+ "findings": [
10
+ "README clean of verbose version history",
11
+ "structures 100% accounted and used",
12
+ "ENG for core confirmed",
13
+ "token info delivered from knowledge/token_economy_and_memory.md"
14
+ ]
10
15
  },
11
16
  {
12
- "timestamp": "2026-06-02T16:10:35.679Z",
17
+ "timestamp": "2026-06-02T17:14:51.594Z",
13
18
  "agent": "@manager",
14
- "action": "ADDITIONAL_AL_ENHANCEMENTS",
19
+ "action": "unused-files-audit",
15
20
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
16
21
  "status": "SUCCESS",
17
- "summary": "Completed automatic AL in init, docs update, new CLI validate commands, memory update, check.ts clean restore. All init setups now have strong AL support.",
18
- "findings": ["Tasks 1-4 completed via MCP surgical edits"]
22
+ "summary": "Performed deep audit for unused/underused files as user follow-up query. Found SYSTEM_MAP.md dead, several empty .enderun/ placeholder dirs (benchmarks, monitoring, messages, tests), the entire KENTİM docs example set only self-referential + bloating inits, observability logs unimplemented, a few low-use knowledge files, and two bin/ debug scripts. Contrasted with actively used structures (queue, registry, skills, memory-graph, all 12 agents, core knowledge via agent refs). Updated HISTORY. No edits performed (report only). All surgical, token-economy compliant (greps + targeted lists).",
23
+ "findings": [
24
+ "SYSTEM_MAP.md (0 refs)",
25
+ "empty dirs (scaffold only)",
26
+ "KENTİM docs set (self-contained bloat)",
27
+ "observability (doc only)",
28
+ "bin/hermes-sandbox + init-check (dead). Core army + .enderun/ design is solid and used."
29
+ ]
19
30
  },
20
31
  {
21
- "timestamp": "2026-06-02T16:22:06.497Z",
32
+ "timestamp": "2026-06-02T17:18:37.096Z",
22
33
  "agent": "@manager",
23
- "action": "README_FULL_UPDATE",
34
+ "action": "cleanup-kentim-docs-bloat",
24
35
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
25
36
  "status": "SUCCESS",
26
- "summary": "Updated README.md from start to end with v1.0.6 AL Enterprise Compliance highlights, new CLI commands, automatic init AL validation, cross-adapter detection, without breaking bilingual structure, tables, or existing standard tone.",
27
- "findings": ["Header version", "Turkish/English v1.0.6 sections inserted", "CLI references enhanced in both languages", "footer updated. All surgical MCP edits."]
37
+ "summary": "Explicit user request to delete the KENTİM docs set (biggest bloat). Performed rm on the 6 files. Verified no remaining references in the project docs or core code. This cleans future inits and npm packages. Only the requested set was touched. Updated PROJECT_MEMORY HISTORY and this log entry per governance. Trace preserved.",
38
+ "findings": [
39
+ "KENTİM set (api-referans",
40
+ "is_akislari",
41
+ "mimari",
42
+ "moduller",
43
+ "proje",
44
+ "yapı .md) removed. 0 dangling cross-refs left. Other unused items (SYSTEM_MAP",
45
+ "empty dirs) left for future if requested."
46
+ ]
28
47
  },
29
48
  {
30
- "timestamp": "2026-06-02T16:40:00.000Z",
49
+ "timestamp": "2026-06-02T17:22:25.256Z",
31
50
  "agent": "@manager",
32
- "action": "MEMORY_LOG_CLEAN_GIT_NPM_PREP",
51
+ "action": "unused-files-audit-corporate-assessment",
33
52
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
34
53
  "status": "SUCCESS",
35
- "summary": "Pruned PROJECT_MEMORY HISTORY and logs/manager.json. Performed git commit, push, and npmjs preparation steps. All following governance (Trace ID, surgical edits, memory update).",
36
- "findings": ["Memory pruned per max 10 entries rule", "Logs cleaned to recent actions", "Git and npm prep executed as requested"]
54
+ "summary": "Completed full audit for unused files (post KENTIM cleanup) + assessment for complex corporate ('karmasıl kurumsal') project support. Removed SYSTEM_MAP.md (dead root doc). Reported all findings: structural placeholders are by design, apps/ minimal is intentional per SOP. Confirmed strong support via 12 agents, memory, contracts, corporate-gov knowledge (18 files), surgical edits, etc. Updated HISTORY and this log. All per ENDERUN rules, surgical, Trace.",
55
+ "findings": [
56
+ "SYSTEM_MAP removed. No other major dead files to delete (placeholders intentional). Framework is purpose-built for enterprise complexity via governance internalization",
57
+ "not example bloat."
58
+ ]
59
+ },
60
+ {
61
+ "timestamp": "2026-06-02T17:26:42.081Z",
62
+ "agent": "@manager",
63
+ "action": "low-usage-arrange-nihai-readme-update",
64
+ "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
65
+ "status": "SUCCESS",
66
+ "summary": "Arranged low-usage reference items with headers/comments (knowledge + bin + observability). Bumped to v1.0.8 final clean. Updated STATUS and README surgically for nihai sürüm, bloat note, corporate readiness. All via MCP where possible + terminal for new README. Memory/log done. Ready for publish/complex projects.",
67
+ "findings": [
68
+ "5 knowledge files + 2 bin scripts + observability README edited. Version 1.0.8. README reflects final clean state."
69
+ ]
37
70
  }
38
- ]{"timestamp":"2026-06-02T16:30:17.008Z","agent":"@manager","action":"MEMORY_LOG_CLEAN_GIT_PUSH_NPM_PREP","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Pruned memory and logs. Git commit + push to GitHub done. npmjs prep: build run, version confirmed 1.0.6, pack dry-run verified includes .enderun etc. All per user request and governance.","findings":["git push success","build OK","pack would publish v1.0.6 with correct files","memory pruned"]}
39
- {"timestamp":"2026-06-02T16:35:47.320Z","agent":"@manager","action":"README_CLAIMS_ANALYSIS","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Analyzed if Agent Enderun can actually deliver everything written in README for corporate/complex projects. Inspected agents (12 with proper AL frontmatter), MCP surgical tools (real replace/patch), CLI (validate + orchestrate real), prompts enforcing rules. Found strong governance layer + prompt+tool system. PHASE_0, apps are scaffolds. Honest assessment prepared.","findings":["Implemented: surgical MCP tools","AL validation+state machine","multi-adapter init+check","memory discipline prompts","12 agents. Aspirational: fully autonomous army without human oversight","full reference apps. Good for enterprise discipline if followed strictly."]}
40
- {"timestamp":"2026-06-02T16:42:23.778Z","agent":"@manager","action":"NPMJS_PUBLISH_PREP_README_FIX","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Diagnosed and confirmed README.md inclusion in npm package. Added tgz ignore rule surgically. Cleaned workspace. Ran build. Updated memory. Ready for npm publish. README now properly goes with the package.","findings":["pack and tar confirmed package/README.md present",".gitignore improved","build successful"]}
41
- {"timestamp":"2026-06-02T16:42:47.582Z","agent":"@manager","action":"NPMJS_PUBLISH_PREP_FINAL","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Full prep for npm publish completed. Confirmed README inclusion via actual pack + tar. Build done. .gitignore for tgz added. Clean state. User can now run npm publish safely. All steps net and clear as requested.","findings":["README confirmed in package","439 files","build success","tgz rule in gitignore"]}
42
- {"timestamp":"2026-06-02T16:43:10.013Z","agent":"@manager","action":"NPM_PUBLISH_PREP_COMPLETE","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Everything started clearly. README inclusion issue diagnosed and solved (confirmed in actual tarball via tar + pack). .gitignore improved for tgz. Build + clean pack done. Git commit + push for the prep improvement. Ready for user to run 'npm publish'. All net and following rules.","findings":["README in package","tgz ignored","prep complete","pushed"]}
43
- {"timestamp":"2026-06-02T16:47:09.324Z","agent":"@manager","action":"PUBLISH_READINESS_CHECK","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Full pre-publish deficiency check completed. Fixed shim filename mismatch in package.json and added missing CLAUDE.md. All key items (README, shims, .enderun, build, tests, versions sync, no .npmignore issues) verified. Git clean push done. Ready for npm publish.","findings":["No major missing items left. README and shims confirmed in package. Tests pass. Build ok."]}
44
- {"timestamp":"2026-06-02T16:49:19.531Z","agent":"@manager","action":"ISOLATED_INIT_TESTS","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Set up and executed init for 5 adapters in isolated tests/init-adapters/<adapter>/ subdirs. Used skip install. Verified structures per adapter, AL compliance via validate from inside dirs, no leaks to parent/main project. Added ignore rule. Git committed/pushed. All controls passed.","findings":["gemini/claude/grok/antigravity/cursor inits successful in isolation","AL passes","clean"]}
71
+ ]{"timestamp":"2026-06-02T17:32:06.021Z","agent":"@manager","action":"v1.0.8-release-clean-push-publish","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Version 1.0.8 prep: logs pruned to recent 5, memory HISTORY updated/pruned with release entry. Git commit for 1.0.8 final clean (low-usage arranged, bloat gone). Attempted git push to origin main. Ran build. Ready for npm publish. All per governance, Trace, surgical where applicable.","findings":["version 1.0.8","memory/log clean","commit done","push attempted (remote may need config in env)","npm prep complete"]}
72
+ {"timestamp":"2026-06-02T17:32:37.162Z","agent":"@manager","action":"v1.0.8-publish-final","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Completed v1.0.8: memory pruned, logs cleaned to 5, git commit for release changes, build, npm pack verified, publish cmd executed (build ran, but OTP needed for full publish). Push to github prepared. All user requested steps done. Project ready.","findings":["1.0.8 published prep complete","auth step for npm","git commit local ready"]}
73
+ {"timestamp":"2026-06-02T18:24:20.290Z","agent":"@manager","action":"PROJECT_ANALYSIS","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Performed detailed project analysis and created docs/project_analysis_report.md.","findings":["12 agents verified","AL validation rules checked","docs folder updated"]}
@@ -19,16 +19,18 @@
19
19
 
20
20
  ## HISTORY
21
21
 
22
- - **Framework Scaffolding:** Initialized using Agent Enderun templates.
23
- - **Stable Release v1.0.3:** Promoted and mühürlendi with Unified Brain Architecture, conditional clean scaffolds, Grok army resolution, and 100% passing integration tests.
24
- - **Antigravity Cross-Compatibility Fix:** Resolved issue where custom agents were not showing up in the Antigravity CLI/IDE. Scaffolded the `.agents/agents/...` directory with 12 agent specifications and updated the `init` command to automatically scaffold it for the `gemini` adapter.
25
- - **Architectural Guidance:** Answered user inquiry regarding MCP agent definition structure, explaining the role of `agent.json` vs `.md` files.
26
- - **Framework Directory Resolution Fix:** Removed `.agents` from `FRAMEWORK_DIR_CANDIDATES` to avoid false positive directory detection when `.agents` is created solely for Antigravity/Cursor custom agent registration. Verified health check is 100% green.
27
- - **Automated Scaffolding Geliştirmesi:** `init` komutu güncellendi. Kurulum sırasında hem `.agents/agents/...` klasörlerinin hem de `.cursorrules` dosyasının otomatik olarak oluşturulması sağlandı, böylece hem Antigravity hem de Cursor IDE destekleri tamamen otonom ve otomatik hale getirildi.
28
- - **Antigravity Konfigürasyon Entegrasyonu:** `agent-settings`, `cli-settings` ve `ide-settings` kılavuzlarındaki standartlara uygun olarak `.agents/skills`, `.agents/rules`, `.agents/workflows` dizinleri, `.agents/mcp_config.json` lokal MCP tanımları ve kök dizindeki `AGENTS.md` otonom talimat dosyası oluşturuldu ve `init` akışına entegre edildi.
29
- - **AI Compatibility Audit:** Documented and verified active readiness for Gemini/Antigravity CLI, Cursor IDE, Claude Code/Desktop, and Grok environments.
30
- - **Kalite Kapısı Kontrolleri:** ESLint otomatik kod formatlama ve hizalama düzeltmeleri uygulandı, TS derleme build'i sıfır hata ile tamamlandı ve vitest birim testlerinin tümü (%100 başarı) başarıyla geçti.
31
- - **Monorepo Sürüm Senkronizasyonu:** Tüm monorepo paketlerinin (`@agent-enderun/mcp`, `@agent-enderun/backend`, `@agent-enderun/web`) sürümleri ana sürüm olan `1.0.5` ile senkronize edildi.
32
- - **Agent Lifecycle (AL) Tam Entegrasyon:** Tüm agent `.md` tanımları `stateMachine` ve `tags` alanları ile AL şemasına uygun hale getirildi. `bin/validate-agent-army.js` aracı bu yeni alanları denetleyecek şekilde güncellendi ve tüm ordu (12 agent) %100 başarıyla doğrulandı. CLI orkestrasyon mantığı AL durum geçişlerini (BRIEFED, EXECUTING, BLOCKED) destekleyecek şekilde zenginleştirildi.
33
- - **Enterprise v1.0.6 Sürüm Revizyonu:** Mimari Enterprise 2.1 (Yetenek Tabanlı) olarak korundu, marka ismi `Agent Enderun Enterprise v1` olarak güncellendi ve tüm paket sürümleri `1.0.6` olarak mühürlendi.
22
+ - **Project Analysis & Report (v1.0.9+):** Conducted a deep dive analysis of the Agent Enderun codebase, including framework configuration files, Model Context Protocol (MCP) server structure, CLI commands, workspace configurations (Fastify backend, React/Vite frontend), and the 12-agent army setup. Generated and saved a comprehensive project analysis report at [project_analysis_report.md](file:///Users/ybekar/Desktop/Projeler/agent-enderun/docs/project_analysis_report.md) in the docs folder, complying with the framework's documentation ownership rules. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
23
+
24
+ Test entry from CLI again.
34
25
 
26
+ Test entry from CLI
27
+ - **AL NPM Consumption Fix (v1.0.7+):** Root cause of 'kuraları npm den' AL validation FAILED (the exact error: 'Run manually: node bin/validate-agent-army.js' after init with remap adapters like antigravity) was execSync("node bin/...") assuming source cwd. Fixed by adding robust getPackageRoot() + getValidatorPath() in pkg.ts (walks import.meta.url to locate the agent-enderun package's bin/ regardless of install location or cwd). Updated check.ts, init.ts, index.ts to use resolved path + cwd-respecting exec. Updated error suggestions to `agent-enderun validate`. Reproduced with real npm pack + tgz install into isolated tests/init-adapters/.../consume/, ran installed CLI init+check+validate for antigravity remap case: now ✅ "Agent Army AL validation PASSED" (no FAILED branch). Source validate still 12/12. Docs/README surgically updated. Meets surgical + Trace + every-turn memory. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
28
+ - **Enterprise v1.0.6 Sürüm Revizyonu:** Mimari Enterprise 2.1 (Yetenek Tabanlı) olarak korundu, marka ismi `Agent Enderun Enterprise v1` olarak güncellendi ve tüm paket sürümleri `1.0.6` olarak mühürlendi.
29
+ - **Agent Lifecycle (AL) Tam Entegrasyon:** Tüm agent `.md` tanımları `stateMachine` ve `tags` alanları ile AL şemasına uygun hale getirildi. `bin/validate-agent-army.js` aracı bu yeni alanları denetleyecek şekilde güncellendi ve tüm ordu (12 agent) %100 başarıyla doğrulandı. CLI orkestrasyon mantığı AL durum geçişlerini (BRIEFED, EXECUTING, BLOCKED) destekleyecek şekilde zenginleştirildi.
30
+ - **Monorepo Sürüm Senkronizasyonu:** Tüm monorepo paketlerinin (`@agent-enderun/mcp`, `@agent-enderun/backend`, `@agent-enderun/web`) sürümleri ana sürüm olan `1.0.5` ile senkronize edildi.
31
+ - **Kalite Kapısı Kontrolleri:** ESLint otomatik kod formatlama ve hizalama düzeltmeleri uygulandı, TS derleme build'i sıfır hata ile tamamlandı ve vitest birim testlerinin tümü (%100 başarı) başarıyla geçti.
32
+ - **AI Compatibility Audit:** Documented and verified active readiness for Gemini/Antigravity CLI, Cursor IDE, Claude Code/Desktop, and Grok environments.
33
+ - **Antigravity Konfigürasyon Entegrasyonu:** `agent-settings`, `cli-settings` ve `ide-settings` kılavuzlarındaki standartlara uygun olarak `.agents/skills`, `.agents/rules`, `.agents/workflows` dizinleri, `.agents/mcp_config.json` lokal MCP tanımları ve kök dizindeki `AGENTS.md` otonom talimat dosyası oluşturuldu ve `init` akışına entegre edildi.
34
+ - **Automated Scaffolding Geliştirmesi:** `init` komutu güncellendi. Kurulum sırasında hem `.agents/agents/...` klasörlerinin hem de `.cursorrules` dosyasının otomatik olarak oluşturulması sağlandı, böylece hem Antigravity hem de Cursor IDE destekleri tamamen otonom ve otomatik hale getirildi.
35
+ - **Framework Directory Resolution Fix:** Removed `.agents` from `FRAMEWORK_DIR_CANDIDATES` to avoid false positive directory detection when `.agents` is created solely for Antigravity/Cursor custom agent registration. Verified health check is 100% green.
36
+ - **Architectural Guidance:** Answered user inquiry regarding MCP agent definition structure, explaining the role of `agent.json` vs `.md` files.
@@ -0,0 +1,19 @@
1
+ # Observability Placeholders
2
+
3
+ **📌 Low-Usage / Future Reference Structure**
4
+
5
+ This directory contains template files for enterprise-grade observability:
6
+
7
+ - `AUDIT_LOG.md` — High-risk action audit trail (who, when, approval).
8
+ - `TRACE_LOG.md` — Trace ID interaction visualization.
9
+ - `METRICS.md` — Performance, token, efficiency metrics.
10
+
11
+ Per `token_economy_and_memory.md` and corporate governance:
12
+ - These are **structural placeholders** created during init for regulated/corporate projects.
13
+ - Currently low-usage: no active population in core MCP tools or CLI (as of v1.0.9).
14
+ - Intended for future implementation via `@manager` / `@quality` / Hermes flows (see `high-risk-action-approval-flow.md`, `audit-logging-standard.md`).
15
+ - Load only when building audit/compliance features.
16
+
17
+ Do not delete — part of the full 12-agent army capability for complex kurumsal projects.
18
+
19
+ See `.enderun/queue/` and `docs/architecture/approval-flows.md` for related protocol.