agent-enderun 1.1.0 → 1.1.2

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 (141) hide show
  1. package/.enderun/ENDERUN.md +1 -1
  2. package/.enderun/STATUS.md +2 -2
  3. package/.enderun/agents/analyst.json +4 -4
  4. package/.enderun/agents/backend.json +4 -4
  5. package/.enderun/agents/database.json +4 -4
  6. package/.enderun/agents/devops.json +4 -4
  7. package/.enderun/agents/explorer.json +4 -4
  8. package/.enderun/agents/frontend.json +4 -4
  9. package/.enderun/agents/git.json +4 -4
  10. package/.enderun/agents/manager.json +4 -6
  11. package/.enderun/agents/mobile.json +4 -4
  12. package/.enderun/agents/native.json +4 -4
  13. package/.enderun/agents/quality.json +4 -4
  14. package/.enderun/agents/security.json +4 -4
  15. package/.enderun/config.json +3 -2
  16. package/.enderun/logs/manager.json +26 -47
  17. package/.enderun/memory/PROJECT_MEMORY.md +42 -9
  18. package/CLAUDE.md +5 -4
  19. package/GEMINI.md +5 -4
  20. package/GROK.md +3 -3
  21. package/README.md +8 -8
  22. package/agent.md +6 -6
  23. package/bin/cli.js +3 -4
  24. package/bin/compile.js +22 -0
  25. package/bin/test-init-run.js +136 -0
  26. package/dist/framework-mcp/src/index.js +1 -1
  27. package/dist/framework-mcp/src/tools/definitions.js +3 -1
  28. package/dist/framework-mcp/src/tools/definitions.js.map +1 -1
  29. package/dist/framework-mcp/src/tools/file_system/read_file.js +20 -0
  30. package/dist/framework-mcp/src/tools/file_system/read_file.js.map +1 -1
  31. package/dist/framework-mcp/src/tools/messaging/send_message.js +37 -14
  32. package/dist/framework-mcp/src/tools/messaging/send_message.js.map +1 -1
  33. package/dist/src/cli/adapters.d.ts +3 -1
  34. package/dist/src/cli/adapters.js +13 -11
  35. package/dist/src/cli/adapters.js.map +1 -1
  36. package/dist/src/cli/commands/check.js +12 -1
  37. package/dist/src/cli/commands/check.js.map +1 -1
  38. package/dist/src/cli/commands/init.js +21 -11
  39. package/dist/src/cli/commands/init.js.map +1 -1
  40. package/dist/src/cli/commands/orchestrate.d.ts +15 -0
  41. package/dist/src/cli/commands/orchestrate.js +45 -1
  42. package/dist/src/cli/commands/orchestrate.js.map +1 -1
  43. package/dist/src/cli/index.js +84 -19
  44. package/dist/src/cli/index.js.map +1 -1
  45. package/dist/src/cli/utils/memory.js +4 -0
  46. package/dist/src/cli/utils/memory.js.map +1 -1
  47. package/dist/src/cli/utils/pkg.js +5 -1
  48. package/dist/src/cli/utils/pkg.js.map +1 -1
  49. package/dist/tests/adapter.test.js +10 -8
  50. package/dist/tests/adapter.test.js.map +1 -1
  51. package/dist/tests/gemini.test.js +8 -7
  52. package/dist/tests/gemini.test.js.map +1 -1
  53. package/dist/vitest.config.js +1 -1
  54. package/dist/vitest.config.js.map +1 -1
  55. package/docs/project_analysis_report.md +69 -0
  56. package/eslint.config.js +2 -2
  57. package/framework-mcp/dist/src/index.js +1 -1
  58. package/framework-mcp/dist/src/tools/definitions.js +3 -1
  59. package/framework-mcp/dist/src/tools/file_system/read_file.js +20 -0
  60. package/framework-mcp/package.json +2 -2
  61. package/framework-mcp/src/index.ts +1 -1
  62. package/framework-mcp/src/tools/definitions.ts +3 -1
  63. package/framework-mcp/src/tools/file_system/read_file.ts +24 -0
  64. package/package.json +10 -8
  65. package/src/cli/adapters.ts +13 -11
  66. package/src/cli/commands/check.ts +13 -1
  67. package/src/cli/commands/init.ts +20 -11
  68. package/src/cli/commands/orchestrate.ts +1 -1
  69. package/src/cli/utils/memory.ts +4 -0
  70. package/src/cli/utils/pkg.ts +5 -1
  71. package/tsconfig.json +0 -2
  72. package/.enderun/ARCHITECTURE.md +0 -1
  73. package/.enderun/SECURITY.md +0 -1
  74. package/bin/init-check.js +0 -86
  75. package/bin/update-contract.js +0 -93
  76. package/dist/apps/backend/src/types/index.d.ts +0 -9
  77. package/dist/apps/backend/src/types/index.js +0 -5
  78. package/dist/apps/backend/src/types/index.js.map +0 -1
  79. package/dist/apps/web/src/main.d.ts +0 -1
  80. package/dist/apps/web/src/main.js +0 -9
  81. package/dist/apps/web/src/main.js.map +0 -1
  82. package/dist/apps/web/vite.config.d.ts +0 -2
  83. package/dist/apps/web/vite.config.js +0 -6
  84. package/dist/apps/web/vite.config.js.map +0 -1
  85. package/dist/tests/framework-init-test/framework-mcp/src/index.d.ts +0 -1
  86. package/dist/tests/framework-init-test/framework-mcp/src/index.js +0 -71
  87. package/dist/tests/framework-init-test/framework-mcp/src/index.js.map +0 -1
  88. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.d.ts +0 -2
  89. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js +0 -111
  90. package/dist/tests/framework-init-test/framework-mcp/src/tools/definitions.js.map +0 -1
  91. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.d.ts +0 -2
  92. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js +0 -19
  93. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/patch_file.js.map +0 -1
  94. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.d.ts +0 -2
  95. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js +0 -8
  96. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/read_file.js.map +0 -1
  97. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.d.ts +0 -2
  98. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js +0 -32
  99. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/replace_text.js.map +0 -1
  100. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.d.ts +0 -2
  101. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js +0 -10
  102. package/dist/tests/framework-init-test/framework-mcp/src/tools/file_system/write_file.js.map +0 -1
  103. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.d.ts +0 -2
  104. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js +0 -6
  105. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/get_status.js.map +0 -1
  106. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.d.ts +0 -2
  107. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js +0 -6
  108. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/orchestrate.js.map +0 -1
  109. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.d.ts +0 -2
  110. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js +0 -6
  111. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_contract_hash.js.map +0 -1
  112. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.d.ts +0 -2
  113. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js +0 -9
  114. package/dist/tests/framework-init-test/framework-mcp/src/tools/framework/update_memory.js.map +0 -1
  115. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.d.ts +0 -5
  116. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js +0 -26
  117. package/dist/tests/framework-init-test/framework-mcp/src/tools/index.js.map +0 -1
  118. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.d.ts +0 -2
  119. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js +0 -23
  120. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/log_action.js.map +0 -1
  121. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.d.ts +0 -2
  122. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js +0 -24
  123. package/dist/tests/framework-init-test/framework-mcp/src/tools/messaging/send_message.js.map +0 -1
  124. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.d.ts +0 -47
  125. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js +0 -2
  126. package/dist/tests/framework-init-test/framework-mcp/src/tools/types.js.map +0 -1
  127. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.d.ts +0 -5
  128. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js +0 -21
  129. package/dist/tests/framework-init-test/framework-mcp/src/utils/cli.js.map +0 -1
  130. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.d.ts +0 -12
  131. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js +0 -54
  132. package/dist/tests/framework-init-test/framework-mcp/src/utils/security.js.map +0 -1
  133. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.d.ts +0 -1
  134. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js +0 -69
  135. package/dist/tests/framework-init-test/framework-mcp/tests/tools/file_system/replace_text.test.js.map +0 -1
  136. package/dist/tests/framework-init-test/panda.config.d.ts +0 -4
  137. package/dist/tests/framework-init-test/panda.config.js +0 -95
  138. package/dist/tests/framework-init-test/panda.config.js.map +0 -1
  139. package/dist/tests/framework-init-test/vitest.config.d.ts +0 -2
  140. package/dist/tests/framework-init-test/vitest.config.js +0 -19
  141. package/dist/tests/framework-init-test/vitest.config.js.map +0 -1
@@ -1,4 +1,4 @@
1
- # Agent Enderun Enterprise v1 (v1.0.9)
1
+ # Agent Enderun Enterprise v1 (v1.1.1)
2
2
  # Place in project root. This file is the single source of truth for Base Project AI Extensions.
3
3
 
4
4
  ## 🎖️ AGENT CHECKLIST (MANDATORY BEFORE RESPONSE)
@@ -1,5 +1,5 @@
1
1
  # 🏛️ AGENT ENDERUN — ARMY COMMAND DASHBOARD
2
- > v1.0.9 | Clean Release (low-usage items marked as reference) | Memory Graph: Online | Bloat Removed (KENTİM + SYSTEM_MAP)
2
+ > v1.1.2 | Clean Release (low-usage items marked as reference) | Memory Graph: Online | Bloat Removed (KENTİM + SYSTEM_MAP)
3
3
 
4
4
  **Nihai Sürüm Notu:** Proje düşük kullanımlı referans materyalleri (bazı knowledge dosyaları, demo scriptler, observability placeholders) ile düzenlendi. Yapısal boş dizinler ve reference-only dosyalar kasıtlı olarak korundu (token economy + full army capability için). Karmaşık kurumsal projeler için hazır (corporate-governance SOP'ları ile).
5
5
  ## 🤖 Agent Status
@@ -25,7 +25,7 @@
25
25
 
26
26
  | Metric | Value |
27
27
  | :--- | :--- |
28
- | **Framework Version** | v1.0.9 (Final Clean) |
28
+ | **Framework Version** | v1.1.2 (Final Clean) |
29
29
  | **System Health** | 🟢 GREEN (Build & Contract Validated) |
30
30
  | **Major Governance Audit** | COMPLETED |
31
31
  | **Active Tasks** | 0 (All Genesis Issues Resolved) |
@@ -2,6 +2,8 @@
2
2
  "name": "analyst",
3
3
  "displayName": "Contract Verification & Business Analyst",
4
4
  "description": "Validates business specifications, tests database contract integrity, and audits constitutional compliance.",
5
+ "role": "Contract Verification & Business Analyst",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Contract Verification",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "backend",
3
3
  "displayName": "Domain Logic & Databases Specialist",
4
4
  "description": "Responsible for core business logic, database migrations, security standards, API contracts, and server architecture.",
5
+ "role": "Domain Logic & Databases Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Domain Logic & Databases",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "database",
3
3
  "displayName": "Database Migrations & Tuning Specialist",
4
4
  "description": "Designs SQL schemas, manages migration scripts via Kysely, optimizes queries, indexes, and seeding logic.",
5
+ "role": "Database Migrations & Tuning Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Database Migrations & Tuning",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "devops",
3
3
  "displayName": "Infrastructure & CI/CD Specialist",
4
4
  "description": "Handles deployment pipelines, environment variables, system containerization, logging & telemetry integrations.",
5
+ "role": "Infrastructure & CI/CD Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Infrastructure & CI/CD",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "explorer",
3
3
  "displayName": "Codebase Discovery Specialist",
4
4
  "description": "Maps code dependencies, performs project scans, identifies architectural gaps, and supports legacy onboarding.",
5
+ "role": "Codebase Discovery Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Codebase Discovery",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "frontend",
3
3
  "displayName": "Fluid Responsive UI Specialist",
4
4
  "description": "Builds responsive fluid user interfaces, manages styling tokens with Panda CSS, and implements state machines.",
5
+ "role": "Fluid Responsive UI Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Fluid Responsive UI",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "git",
3
3
  "displayName": "Version Control Specialist",
4
4
  "description": "Manages commit histories, branches, Trace ID alignment, semantic tagging, and merge conflicts.",
5
+ "role": "Version Control Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Version Control",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -3,7 +3,7 @@
3
3
  "displayName": "Orchestration & Governance (Team-Lead)",
4
4
  "description": "CTO, Lead Architect, and Orchestrator for Agent Enderun.",
5
5
  "role": "Orchestration & Governance",
6
- "capability": 10,
6
+ "capability": 9,
7
7
  "hidden": false,
8
8
  "stateMachine": {
9
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -16,7 +16,7 @@
16
16
  "systemPromptSections": [
17
17
  {
18
18
  "title": "Instructions",
19
- "content": "You are the @manager agent, the Supreme Commander and Central Orchestrator of the Agent Enderun Army. Your primary responsibility is to receive user requests, analyze intent, and coordinate specialized agents (@backend, @frontend, @database, etc.) to fulfill the project's goals.\n\n🛑 CENTRAL COORDINATION RULES:\n- **Single Point of Entry:** Every request must be processed by you. You are the Router and Decision Maker.\n- **Multi-Agent Coordination:** You do not perform implementation tasks yourself. You DELEGATE them to the appropriate specialist agents using the `send_agent_message` tool or guiding the user via CLI @-mentions.\n- **Orchestration Loop:** After delegating, you MUST trigger `orchestrate_loop` to sync the state machine and update `STATUS.md`.\n- **Governance:** You enforce architectural standards and ensure all specialists follow the Supreme Law (ENDERUN.md).\n- **Memory & Traceability:** Every action MUST inherit the active Trace ID and be logged in PROJECT_MEMORY.md."
19
+ "content": "You are the manager agent. Orchestrate workspace tasks, manage DAG dependency graphs, handle phase transitions, and enforce architectural standards.\n\n🛑 NON-NEGOTIABLE CORE RULES:\n- Single Point of Authority: You are the sole entry point. No specialist acts without your briefing.\n- Traceability: Every action MUST inherit the active Trace ID.\n- Memory Discipline: MUST update PROJECT_MEMORY.md and log actions at the end of EVERY turn."
20
20
  }
21
21
  ],
22
22
  "toolNames": [
@@ -25,10 +25,8 @@
25
25
  "write_to_file",
26
26
  "run_command",
27
27
  "grep_search",
28
- "list_dir",
29
- "send_agent_message",
30
- "orchestrate_loop"
28
+ "list_dir"
31
29
  ]
32
30
  }
33
31
  }
34
- }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "mobile",
3
3
  "displayName": "Mobile App Specialist",
4
4
  "description": "Develops cross-platform mobile apps using React Native and Expo with clean component states.",
5
+ "role": "Mobile App Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Mobile App",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "native",
3
3
  "displayName": "Native OS Integration Specialist",
4
4
  "description": "Builds lightweight desktop wrappers and system integrations using Tauri or Electron.",
5
+ "role": "Native OS Integration Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Native OS Integration",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "quality",
3
3
  "displayName": "Automated Testing & Quality Specialist",
4
4
  "description": "Verifies test coverage, audits compliance with the constitution, conducts AST scanning, and verifies CI/CD status.",
5
+ "role": "Automated Testing & Quality Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Automated Testing & Quality",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,6 +2,8 @@
2
2
  "name": "security",
3
3
  "displayName": "Security & Cryptography Specialist",
4
4
  "description": "Enforces authentication flows, CSP policies, credential rotation, RLS constraints, and cryptographic safety.",
5
+ "role": "Security & Cryptography Specialist",
6
+ "capability": 9,
5
7
  "hidden": false,
6
8
  "stateMachine": {
7
9
  "schemaRef": "../schema/agent-lifecycle-schema.json"
@@ -26,7 +28,5 @@
26
28
  "list_dir"
27
29
  ]
28
30
  }
29
- },
30
- "role": "Security & Cryptography",
31
- "capability": 9
32
- }
31
+ }
32
+ }
@@ -2,11 +2,12 @@
2
2
  "logLevel": "info",
3
3
  "outputFormat": "text",
4
4
  "defaultProfile": "Lightweight",
5
- "version": "1.0.9",
5
+ "version": "1.1.2",
6
6
  "paths": {
7
7
  "backend": "apps/backend",
8
8
  "frontend": "apps/web",
9
9
  "docs": "docs",
10
10
  "tests": "tests"
11
- }
11
+ },
12
+ "_comment": "paths.backend and paths.frontend define WHERE apps will be scaffolded via create-app"
12
13
  }
@@ -1,73 +1,52 @@
1
1
  [
2
2
  {
3
- "timestamp": "2026-06-02T17:12:00.827Z",
3
+ "timestamp": "2026-06-03T15:16:49.000Z",
4
4
  "agent": "@manager",
5
- "action": "readme-version-clean-structure-audit-token-brief",
5
+ "action": "project-inspection-report",
6
6
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
7
7
  "status": "SUCCESS",
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
- ]
8
+ "summary": "Inspected the entire framework structure, confirmed purpose of empty apps directory, and updated the project analysis report in docs.",
9
+ "findings": ["empty apps folder verified", "docs/project_analysis_report.md created", "AL state machine structure audited"]
15
10
  },
16
11
  {
17
- "timestamp": "2026-06-02T17:14:51.594Z",
12
+ "timestamp": "2026-06-03T15:17:49.000Z",
18
13
  "agent": "@manager",
19
- "action": "unused-files-audit",
14
+ "action": "cli-ide-capability-audit",
20
15
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
21
16
  "status": "SUCCESS",
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
- ]
17
+ "summary": "Guided the user on CLI command usage, adapter execution, and IDE integration capabilities.",
18
+ "findings": ["CLI commands audited", "IDE adapter configurations checked", "cross-compatibility confirmed"]
30
19
  },
31
20
  {
32
- "timestamp": "2026-06-02T17:18:37.096Z",
21
+ "timestamp": "2026-06-03T15:20:21.000Z",
33
22
  "agent": "@manager",
34
- "action": "cleanup-kentim-docs-bloat",
23
+ "action": "mcp-env-project-root-fix",
35
24
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
36
25
  "status": "SUCCESS",
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
- ]
26
+ "summary": "Identified and corrected a bug in MCP server entry generation where ENDERUN_PROJECT_ROOT was missing from the env block during init, resolving connection issues with external IDEs.",
27
+ "findings": ["fixed buildMcpServerEntry in adapters.ts to map absolute path in environment variables"]
47
28
  },
48
29
  {
49
- "timestamp": "2026-06-02T17:22:25.256Z",
30
+ "timestamp": "2026-06-03T15:23:06.000Z",
50
31
  "agent": "@manager",
51
- "action": "unused-files-audit-corporate-assessment",
32
+ "action": "version-synchronization",
52
33
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
53
34
  "status": "SUCCESS",
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
- ]
35
+ "summary": "Synchronized framework package, source, config, and status versions to v1.1.0 to match the root package version.",
36
+ "findings": ["framework-mcp package version bumped", "framework-mcp source version bumped", "apps/web package version bumped", "enderun config version bumped", "STATUS.md version bumped"]
59
37
  },
60
38
  {
61
- "timestamp": "2026-06-02T17:26:42.081Z",
39
+ "timestamp": "2026-06-03T15:26:11.000Z",
62
40
  "agent": "@manager",
63
- "action": "low-usage-arrange-nihai-readme-update",
41
+ "action": "init-adapter-scaffolding-fix",
64
42
  "requestId": "01HGT8J5E2N0W0W0W0W0W0W0W5",
65
43
  "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
- ]
44
+ "summary": "Surgically updated initCommand to dynamically resolve the agent folder name (e.g. skills for antigravity, plugins for grok) when running scaffoldCoreAgents.",
45
+ "findings": ["dynamic resolution of agent directory implemented in init command to align scaffolding with configured adapter patterns"]
70
46
  }
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"]}
47
+ ]
48
+ {"timestamp":"2026-06-03T15:36:38.637Z","agent":"@manager","action":"v1.1.1-release-synchronization","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Synchronized all package descriptors, source codes, configurations, dashboards, memory, and README files to release version 1.1.1.","findings":["root package.json bumped","mcp package and source bumped","apps/web package bumped","config.json and STATUS.md bumped","README.md all mentions updated","PROJECT_MEMORY.md updated"]}
49
+ {"timestamp":"2026-06-03T15:49:59.717Z","agent":"@manager","action":"stream-error-analysis","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Analyzed the codebase_investigator InvalidStreamError and provided troubleshooting steps.","findings":["analyzed stream error source and parsed causes including JSON truncation and tool schema mismatches"]}
50
+ {"timestamp":"2026-06-03T15:51:15.243Z","agent":"@manager","action":"mcp-read-file-truncation-safety-fix","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Updated the read_file MCP tool to support optional startLine/endLine parameters and default to a 1000-line safety limit to protect against stream truncation/JSON formatting errors.","findings":["read_file schema updated","startLine/endLine parsing added","1000-line default truncation threshold enforced"]}
51
+ {"timestamp":"2026-06-03T18:27:33.798Z","agent":"@manager","action":"ANALYZE_DUPLICATES","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Analyzed the project for duplicate files and identified redundant configurations and directories.","findings":["Found duplicate .agents folder","redundant mcp.json variants","and duplicated architecture/security documents."]}
52
+ {"timestamp":"2026-06-03T18:31:20.178Z","agent":"@manager","action":"CLEANUP_COMPLETE","requestId":"01HGT8J5E2N0W0W0W0W0W0W0W5","status":"SUCCESS","summary":"Completed proejct clean-up and centralized all configuration under .enderun.","findings":["Successfully deleted legacy .agents/ folder and duplicate ARCHITECTURE.md/SECURITY.md in .enderun/. Verified using git status."]}
@@ -19,18 +19,51 @@
19
19
 
20
20
  ## HISTORY
21
21
 
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)
22
+ ### 2026-06-03 CLI & Build Stabilization
23
23
 
24
- Test entry from CLI again.
24
+ - **Agent:** @manager
25
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
26
+ - **Action:** Stabilized the CLI publish configuration and compiler flow. Updated `bin/cli.js` to run the compiled JS entrypoint `dist/src/cli/index.js` directly with standard Node, removing the runtime dependency on `tsx` in production. Added a root `build` script (`tsc && npm run build --prefix framework-mcp`) to root `package.json` and updated `prepublishOnly` to guarantee compilation of all packages before npm publish. Cleared out duplicate compiled directories and files (`dist/cli/`, `dist/orchestrate.*`, `dist/vitest.config.*`). Standardized case-sensitivity test expectations in `tests/gemini.test.ts` and `tests/adapter.test.ts` to expect uppercase `"GEMINI.md"` and `"GROK.md"`. Fixed an undefined reference to `targetDir` in `src/cli/commands/init.ts` by passing it down to `scaffoldCoreAgents`.
25
27
 
26
- Test entry from CLI
28
+ ### 2026-06-03 OS & Sandbox Verification and Sync
29
+
30
+ - **Agent:** @manager
31
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
32
+ - **Action:** Synchronized all compiled files under `dist/cli/` to fix missing exports (`sendMessage` in `orchestrate.js`) and dynamic path resolutions. Corrected a Linux-specific case-sensitivity bug where `gemini.md` and `grok.md` shim references were mapped as lowercase, mismatching the actual uppercase filenames `GEMINI.md` and `GROK.md` on disk. Evaluated `targetDir` dynamically inside `initCommand` to allow multi-directory programmatic executions. Resolved macOS Sandbox TCC and Node.js directory EPERM blocks inside the integration test script (`bin/test-init-run.js`) by relocating tests to `dist/init-adapters` and conditionally skipping sandbox-sensitive user directory generations during test runs.
33
+
34
+ ### 2026-06-03 — Realistic Adapter Verification & Path Fix
35
+
36
+ - **Agent:** @manager
37
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
38
+ - **Action:** Fixed a critical bug in src/cli/commands/init.ts where sourceDir resolved incorrectly in production/dist builds; converted it to use getPackageRoot() from utils/pkg.ts. Audited and verified all 7 adapters (gemini, claude, cursor, codex, grok, antigravity, antigravity-cli) inside test subdirectories, verifying folder remapping, shim rules, and AL compliance.
39
+
40
+ ### 2026-06-03 — Adapter Link Fixes and Dynamic Prompting
41
+
42
+ - **Agent:** @manager
43
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
44
+ - **Action:** Fixed broken links in GEMINI.md and CLAUDE.md pointing to .enderun/ARCHITECTURE.md and .enderun/SECURITY.md (changed to point to .enderun/knowledge/ instead). Added Dynamic Identity Adjustment directive to shim files, enabling agents to adopt specialist roles. Corrected print statement extension format in orchestrate.ts from .md to .json.
45
+
46
+ ### 2026-06-03 — Project Clean-up and Standardization
47
+
48
+ - **Agent:** @manager
49
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
50
+ - **Action:** Cleaned up the codebase by deleting the legacy .agents/ folder and removing duplicate ARCHITECTURE.md and SECURITY.md files from .enderun/. Centralized all active configurations under the .enderun/ directory.
51
+
52
+ ### 2026-06-03 — Duplicate File Analysis
53
+
54
+ - **Agent:** @manager
55
+ - **Trace ID:** 01HGT8J5E2N0W0W0W0W0W0W0W5
56
+ - **Action:** Analyzed the project codebase for duplicate and redundant files. Identified .agents as a legacy framework directory, and noted identical/redundant files like root mcp.json/mcp_config.json variants and duplicate architecture/security rules.
57
+
58
+ - **MCP Read File Safety Prevention (v1.1.1):** Configured optional `startLine` and `endLine` parameters in the `read_file` tool schema and handler, and set a default safety limit of 1000 lines to prevent JSON truncation and stream format errors when handling large files. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
59
+ - **Stream Error Analysis (v1.1.1):** Diagnosed `InvalidStreamError` where an agent stream ends in a malformed function call. Documented main causes (truncation, formatting, schema drift) and troubleshooting steps for workspace developers. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
60
+ - **Dynamic Scaffold Path Resolution Fix (v1.1.1):** Updated `initCommand` in `src/cli/commands/init.ts` to dynamically map the target folder name for `scaffoldCoreAgents` (e.g., `skills` for `antigravity`, `plugins` for `grok`). This prevents folder clutter by keeping agent profiles inside the adapter's expected subdirectories. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
61
+ - **Monorepo Version Synchronization (v1.1.1):** Synchronized framework configurations, server code, status boards, and package descriptors across all workspace packages (`framework-mcp`, `apps/web`, `.enderun/config.json`, and `.enderun/STATUS.md`) to align with the root version `1.1.1`. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
62
+ - **MCP Project Root Configuration Fix (v1.1.1):** Surgically updated `buildMcpServerEntry` in `src/cli/adapters.ts` to include the absolute `ENDERUN_PROJECT_ROOT` environment variable in the generated configurations during `init`, resolving relative path mismatches for external AI runtimes. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
63
+ - **CLI & IDE Capability Audit (v1.1.1):** Audited and documented CLI execution capabilities and IDE adapter mappings (Gemini/Antigravity, Cursor, Claude Code, Grok). Verified cross-compatibility for developer and autonomous agent interaction. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
64
+ - **Framework Inspection & Analysis (v1.1.1):** Inspected the framework structure, custom agent army settings, Hermes messaging loop, and MCP server. Verified that the `apps` directory is intentionally kept empty of business code to act as a clean canvas for enterprise projects. Created and documented findings in `docs/project_analysis_report.md`. (Trace 01HGT8J5E2N0W0W0W0W0W0W0W5)
27
65
  - **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
66
  - **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
67
  - **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
68
  - **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.
69
+ - **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.
package/CLAUDE.md CHANGED
@@ -3,15 +3,16 @@
3
3
  You are the **Architect** of the Agent Enderun Army. While the **Commander** (@manager) orchestrates, you focus on structural integrity and code excellence.
4
4
 
5
5
  ### 🏛️ Hierarchy of Authority
6
- 1. **Supreme Law:** [.enderun/ENDERUN.md](.enderun/ENDERUN.md)
7
- 2. **Global Rules:** [ARCHITECTURE.md](.enderun/ARCHITECTURE.md), [SECURITY.md](.enderun/SECURITY.md)
8
- 3. **Project Memory:** [.enderun/memory/](.enderun/memory/) (Decisions, Lessons, Status)
6
+ 1. **Supreme Law:** [.claude/ENDERUN.md](.claude/ENDERUN.md)
7
+ 2. **Global Rules:** [ARCHITECTURE.md](.claude/knowledge/ARCHITECTURE.md), [SECURITY.md](.claude/knowledge/SECURITY.md)
8
+ 3. **Project Memory:** [.claude/memory/](.claude/memory/) (Decisions, Lessons, Status)
9
9
 
10
10
  ### 🤖 Architect Directive (Role: QUALITY & REFACTOR)
11
11
  1. **Manager Coordination:** Receive your briefings from @manager. You are part of a coordinated army.
12
12
  2. **Enforce Surgical Precision:** All code changes must use `replace_text` or `patch_file`. No full file rewrites.
13
13
  3. **Contract & Type Integrity:** Verify that backend contracts and branded types are respected.
14
- 4. **Maintain State:** Update `.enderun/memory/PROJECT_MEMORY.md` and log actions at the end of EVERY turn.
14
+ 4. **Dynamic Identity Adjustment:** If you are executing a delegated task for a specialist role (e.g. backend, frontend, database, qa) as per the active tasks in `.claude/memory/PROJECT_MEMORY.md`, temporarily adopt that identity by loading its specific rules from `.claude/agents/{agent}.json` and follow them strictly.
15
+ 5. **Maintain State:** Update `.claude/memory/PROJECT_MEMORY.md` and log actions at the end of EVERY turn.
15
16
 
16
17
  ### 🛡️ Core Mandates (Enterprise 1.0)
17
18
  - **Zero UI Library Policy:** Enforce hand-crafted components with Panda CSS.
package/GEMINI.md CHANGED
@@ -3,9 +3,9 @@
3
3
  You are the **Commander** (@manager), the Supreme Orchestrator of the Agent Enderun Army. Your primary role is strategic orchestration, intent analysis, and final approval.
4
4
 
5
5
  ### 🏛️ Hierarchy of Authority
6
- 1. **Supreme Law:** [.enderun/ENDERUN.md](.enderun/ENDERUN.md)
7
- 2. **Global Rules:** [ARCHITECTURE.md](.enderun/ARCHITECTURE.md), [SECURITY.md](.enderun/SECURITY.md)
8
- 3. **Project Memory:** [.enderun/memory/](.enderun/memory/) (Decisions, Lessons, Status)
6
+ 1. **Supreme Law:** [.gemini/ENDERUN.md](.gemini/ENDERUN.md)
7
+ 2. **Global Rules:** [ARCHITECTURE.md](.gemini/knowledge/ARCHITECTURE.md), [SECURITY.md](.gemini/knowledge/SECURITY.md)
8
+ 3. **Project Memory:** [.gemini/memory/](.gemini/memory/) (Decisions, Lessons, Status)
9
9
 
10
10
  ### 🤖 Commander Directive (Role: @manager)
11
11
  1. **Analyze Intent:** Act as the **Router**. Every request must be processed by you first. Break down user requests into a task DAG.
@@ -13,7 +13,8 @@ You are the **Commander** (@manager), the Supreme Orchestrator of the Agent Ende
13
13
  - **How to Delegate:** Use the `send_agent_message` tool to assign tasks to other agents (e.g., `@backend`, `@frontend`).
14
14
  - **How to Sync:** Use the `orchestrate_loop` tool after delegating to update the system state and `STATUS.md`.
15
15
  3. **Verify:** Review all specialist outputs against the **Architectural Decisions (DECISIONS.md)**.
16
- 4. **Maintain State:** Update `.enderun/memory/PROJECT_MEMORY.md` and log actions at the end of EVERY turn.
16
+ 4. **Dynamic Identity Adjustment:** If you are executing a delegated task for a specialist role (e.g. backend, frontend, database) as per the active tasks in `.gemini/memory/PROJECT_MEMORY.md`, temporarily adopt that identity by loading its specific rules from `.gemini/agents/{agent}.json` and follow them strictly.
17
+ 5. **Maintain State:** Update `.gemini/memory/PROJECT_MEMORY.md` and log actions at the end of EVERY turn.
17
18
 
18
19
  ### 🛡️ Core Mandates (Enterprise 1.0)
19
20
  - **Role-Based:** You are not just a model; you are the **Commander**.
package/GROK.md CHANGED
@@ -3,9 +3,9 @@
3
3
  You are the **Researcher** and **Intelligence Specialist** of the Agent Enderun Army. Your primary role is technology scouting, trend analysis, and deep analysis.
4
4
 
5
5
  ### 🏛️ Hierarchy of Authority
6
- 1. **Supreme Law:** [.enderun/ENDERUN.md](.enderun/ENDERUN.md)
7
- 2. **Lessons Learned:** [.enderun/memory/LESSONS_LEARNED.md](.enderun/memory/LESSONS_LEARNED.md)
8
- 3. **Business Context:** [.enderun/memory/BUSINESS_CONTEXT.md](.enderun/memory/BUSINESS_CONTEXT.md)
6
+ 1. **Supreme Law:** [.grok/ENDERUN.md](.grok/ENDERUN.md)
7
+ 2. **Lessons Learned:** [.grok/memory/LESSONS_LEARNED.md](.grok/memory/LESSONS_LEARNED.md)
8
+ 3. **Business Context:** [.grok/memory/BUSINESS_CONTEXT.md](.grok/memory/BUSINESS_CONTEXT.md)
9
9
 
10
10
  ### 🤖 Researcher Directive (Role: ANALYTICAL)
11
11
  1. **Trend Analysis:** Identify modern alternatives for libraries and patterns.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # 🏛️ Agent Enderun — Enterprise AI Governance & Autonomous Orchestration Framework
2
2
 
3
- > **Stable Release:** v1.1.0 (Enterprise Orchestration Ready) — Build Compile: Clean | Type-Safety: 100% Verified | AL Compliance: 12/12 Agents
3
+ > **Stable Release:** v1.1.2 (Enterprise Orchestration Ready) — Build Compile: Clean | Type-Safety: 100% Verified | AL Compliance: 12/12 Agents
4
4
 
5
5
  > **Author:** Yusuf BEKAR
6
6
  > **Trace ID:** `01HGT8J5E2N0W0W0W0W0W0W0W5`
@@ -12,7 +12,7 @@
12
12
 
13
13
  **Agent Enderun**, sıradan bir kod şablon üreteci veya basit bir AI asistanı değildir; karmaşık, ölçeklenebilir ve kurumsal (enterprise) düzeydeki yazılım projeleri için özel olarak tasarlanmış bir **Yapay Zeka Yönetişimi ve Otonom Ordu Komuta Sistemidir**.
14
14
 
15
- Nihai temiz sürüm (v1.1.0) itibarıyla sistem; **@-mention delegasyon**, **doğal dil rotalama** ve **Hermes Kilit Protokolü** ile güçlendirilmiş; kendi hafızasını yönetebilen, monorepo proje yollarını dinamik olarak haritalayan, tüm ajan seanslarını güvenli şekilde günlükleyen, farklı yapay zeka ekosistemlerini anayasal bir disiplin altında birleştiren, **Agent Lifecycle (AL) tam uyumlu init ve ordu validasyonunu** (npm kurulumu sonrası dahil) otomatikleştiren ve **macOS & Windows çapraz platform standartlarına tam uyum sağlayan** yaşayan bir mühendislik organizmasıdır. Karmaşık kurumsal projeler için optimize edilmiştir (corporate-governance SOP'ları ile).
15
+ Nihai temiz sürüm (v1.1.0) itibarıyla sistem; **@-mention delegasyon**, **doğal dil rotalama** ve **Hermes Kilit Protokolü** ile güçlendirilmiş; kendi hafızasını yönetebilen, monorepo proje yollarını dinamik olarak haritalayan, tüm ajan seanslarını güvenli şekilde günlükleyen, farklı yapay zeka ekosistemlerini anayasal bir disiplin altında birleştiren, **Agent Lifecycle (AL) tam uyumlu init ve ordu validasyonunu** (npm kurulumu sonrası dahil) otomatikleştiren, **harici IDE entegrasyonlarında (Claude Desktop/Cursor vb.) mutlak proje kök dizini (CWD) uyumluluğu sunan**, **scaffold adımlarında ajan klasörlerini adapter tipine göre dinamik olarak eşleyen** ve **macOS & Windows çapraz platform standartlarına tam uyum sağlayan** yaşayan bir mühendislik organizmasıdır. Karmaşık kurumsal projeler için optimize edilmiştir (corporate-governance SOP'ları ile).
16
16
 
17
17
  ---
18
18
 
@@ -24,13 +24,13 @@ Yapay zeka kodlama yardımcıları (Claude Code, Gemini CLI, Grok Build vb.) gel
24
24
  2. **Kayıp Hafıza ve Bağlam Drifti:** Ajanlar oturum değiştirdikçe projenin geçmişini ve mimari kararlarını unutur. Enderun, **`.enderun/memory/PROJECT_MEMORY.md`** dosyasını projenin değişmez tek doğruluk kaynağı (SSOT) haline getirerek, seanslar arası bağlam kaybını tamamen engeller.
25
25
  3. **Akıllı Delegasyon ve Doğal Dil:** Artık karmaşık komutlar yerine `agent-enderun "Projemi denetle"` gibi doğal dildeki istekler veya `agent-enderun @backend "Tablo oluştur"` gibi doğrudan delegasyonlar kullanılabilir.
26
26
  4. **Çoklu Ajan Kaosu:** **12** farklı uzman yapay zeka ajanı, olay tabanlı asenkron bir haberleşme protokolü olan **Hermes Message Broker** üzerinden koordine edilir. Ajanlar birbirine rastgele müdahale edemez; tüm görevler bir İş Dağılım Grafiği (DAG) üzerinden komuta edilir.
27
- 5. **Güvenli Haberleşme:** Yeni eklenen **Hermes Lock Protocol** sayesinde, birden fazla ajanın aynı anda mesajlaşması durumunda veri çakışmaları tamamen engellenir.
27
+ 5. **Güvenli Haberleşme & Entegrasyon:** Yeni eklenen **Hermes Lock Protocol** sayesinde, birden fazla ajanın aynı anda mesajlaşması durumunda veri çakışmaları tamamen engellenir. Ayrıca harici asistanların yerel MCP araçlarını sorunsuz çalıştırabilmesi için mutlak çalışma dizini (CWD) parametreleri yapılandırılmıştır.
28
28
 
29
29
  ---
30
30
 
31
31
  ### 📦 Güncel Sürüm / Current Release
32
32
 
33
- **v1.1.0** — Enterprise 1.0 kararlı sürüm (@-mentions, NL Routing, Hermes Lock Protocol). Detaylı sürüm geçmişi git log ve önceki commit'lerde bulunur; kalıbımız (bilingual TR/EN yapı, tablolar, bölümler) korunmuştur.
33
+ **v1.1.2** — Enterprise 1.0 kararlı sürüm (@-mentions, NL Routing, Hermes Lock Protocol, CWD/Scaffold fix). Detaylı sürüm geçmişi git log ve önceki commit'lerde bulunur; kalıbımız (bilingual TR/EN yapı, tablolar, bölümler) korunmuştur.
34
34
 
35
35
  ---
36
36
 
@@ -166,7 +166,7 @@ npx agent-enderun init gemini --unified
166
166
 
167
167
  **Agent Enderun** is not a generic boilerplate generator or a simple AI wrapper; it is an elite, state-of-the-art **AI Governance and Autonomous Army Command System** designed for complex, scalable, and highly auditable enterprise software projects.
168
168
 
169
- Nihai temiz sürüm (v1.0.9 - Final Clean Release) operates as a **"Living Engineering Organism"** capable of managing its own persistent memory, dynamically mapping project directory scopes, secure-logging expert agent activities, **automatically enforcing Agent Lifecycle (AL) compliance on every init** (including after `npm install`), and **fully complying with cross-platform (macOS & Windows) scripting and standard setups**. Low-usage reference materials arranged (knowledge files, demo scripts, observability placeholders marked). Bloat removed. Optimized for complex corporate/enterprise projects via corporate-governance knowledge and SOPs.
169
+ Version **v1.1.1** operates as a **"Living Engineering Organism"** capable of managing its own persistent memory, dynamically mapping project directory scopes, secure-logging expert agent activities, **automatically enforcing Agent Lifecycle (AL) compliance on every init** (including after `npm install`), **resolving absolute project root paths (CWD) dynamically for external assistant tools (e.g. Claude Desktop/Cursor)**, **mapping agent scaffolding subdirectories to adapter-specific folders (skills/plugins/agents) dynamically during init**, and **fully complying with cross-platform (macOS & Windows) scripting and standard setups**. Low-usage reference materials arranged (knowledge files, demo scripts, observability placeholders marked). Bloat removed. Optimized for complex corporate/enterprise projects via corporate-governance knowledge and SOPs.
170
170
 
171
171
  ---
172
172
 
@@ -178,13 +178,13 @@ As AI coding assistants (Claude Code, Gemini CLI, Grok Build, etc.) become incre
178
178
  2. **Context Loss Prevention (SSOT Memory):** AI agents naturally lose project history across chats. Enderun seals all project milestones, decisions, and tasks into a self-pruning **`.enderun/memory/PROJECT_MEMORY.md`** file, ensuring absolute context continuity.
179
179
  3. **Contract-First Safety (Frontend-Backend Drift):** Before any user interface code is written, API models and branded types are sealed. The **autonomous** contract verification engine checks SHA-256 type definitions to prevent integration drifts.
180
180
  4. **Symmetric Orchestration (Hermes Protocol):** **12** specialized expert agents communicate via an asynchronous, event-driven message broker (**Hermes**), preventing chaotic, uncoordinated AI behavior.
181
- 5. **Sandbox & Security Compliance:** Modern CLI agents (like Claude Code) restrict filesystem access. By keeping all configurations, task logs, and queues local (inside **`.enderun/`**, `.gemini/`, `.claude/`, `.grok/`, etc.) in the project workspace, Enderun runs with **zero sandbox violations**.
181
+ 5. **Sandbox & Security Compliance:** Modern CLI agents (like Claude Code) restrict filesystem access. By keeping all configurations, task logs, and queues local (inside **`.enderun/`**, `.gemini/`, `.claude/`, `.grok/`, etc.) in the project workspace, Enderun runs with **zero sandbox violations**. Additionally, absolute CWD environment bindings prevent path mismatches in background execution.
182
182
 
183
183
  ---
184
184
 
185
185
  ### 📦 Current Release / Güncel Sürüm
186
186
 
187
- **v1.0.9** — AL Enterprise Compliance stable (full cross-adapter & npm install support for remaps + validator resolution, with surgical fixes). Detailed historical release notes are in git history; the bilingual TR/EN template, tables, and section mold are preserved.
187
+ **v1.1.1** — AL Enterprise Compliance stable (full cross-adapter & npm install support for remaps + validator resolution, with surgical fixes for CWD environment and dynamic folder scaffolding). Detailed historical release notes are in git history; the bilingual TR/EN template, tables, and section mold are preserved.
188
188
 
189
189
  ---
190
190
 
@@ -316,4 +316,4 @@ npx agent-enderun init gemini --unified
316
316
 
317
317
  ---
318
318
 
319
- Developed with absolute discipline | Developer **Yusuf BEKAR** | Framework Version **v1.0.9 (Final Clean)** — Low-usage items arranged as reference-only. Bloat removed. Corporate-ready.
319
+ Developed with absolute discipline | Developer **Yusuf BEKAR** | Framework Version **v1.1.1 (Final Clean)** — Low-usage items arranged as reference-only. Bloat removed. Corporate-ready.