agent-enderun 0.6.1 → 0.6.5
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.
- package/.enderun/PROJECT_MEMORY.md +110 -2
- package/.enderun/STATUS.md +3 -3
- package/.enderun/agents/analyst.md +97 -10
- package/.enderun/agents/backend.md +258 -14
- package/.enderun/agents/explorer.md +67 -2
- package/.enderun/agents/frontend.md +404 -66
- package/.enderun/agents/git.md +19 -2
- package/.enderun/agents/manager.md +412 -45
- package/.enderun/agents/mobile.md +62 -18
- package/.enderun/agents/native.md +60 -10
- package/.enderun/blueprints/backend/errors/blueprint.json +11 -0
- package/.enderun/blueprints/backend/errors/domain-error.ts +34 -55
- package/.enderun/knowledge/framework_vs_user_project_boundary.md +52 -0
- package/.enderun/knowledge/frontend_professionalization_guidelines.md +108 -0
- package/.enderun/knowledge/hermes_live_test_guidelines.md +90 -0
- package/.enderun/knowledge/manager_authority_audit_enforcement.md +104 -0
- package/.enderun/knowledge/project_scaffold_guidelines.md +99 -0
- package/.enderun/knowledge/reference_application_guidelines.md +90 -0
- package/.enderun/messages/2026-05-23-backend-to-manager-auth-errors-reply.json +23 -0
- package/.enderun/messages/2026-05-23-manager-to-backend-auth-errors.json +26 -0
- package/ENDERUN.md +10 -3
- package/README.md +185 -625
- package/antigravity.md +15 -0
- package/bin/cli.js +92 -27
- package/docs/README.md +33 -3
- package/docs/getting-started.md +497 -0
- package/docs/roadmap.md +200 -0
- package/framework-mcp/README.md +1 -1
- package/framework-mcp/dist/index.js +0 -0
- package/framework-mcp/dist/tools/academy.js +6 -8
- package/framework-mcp/dist/tools/codebase.js +6 -6
- package/framework-mcp/dist/tools/contract.js +94 -4
- package/framework-mcp/dist/tools/database.js +1 -1
- package/framework-mcp/dist/tools/framework.js +8 -12
- package/framework-mcp/dist/tools/git.js +2 -2
- package/framework-mcp/dist/tools/knowledge.js +4 -4
- package/framework-mcp/dist/tools/memory.js +5 -7
- package/framework-mcp/dist/tools/messages.js +6 -6
- package/framework-mcp/dist/tools/repository.js +4 -4
- package/framework-mcp/dist/tools/scaffold.js +6 -3
- package/framework-mcp/dist/tools/security.js +4 -4
- package/framework-mcp/dist/utils.js +1 -1
- package/framework-mcp/package.json +1 -1
- package/framework-mcp/src/schemas.ts +7 -0
- package/framework-mcp/src/tools/academy.ts +5 -9
- package/framework-mcp/src/tools/codebase.ts +6 -6
- package/framework-mcp/src/tools/contract.ts +114 -4
- package/framework-mcp/src/tools/database.ts +1 -1
- package/framework-mcp/src/tools/framework.ts +9 -12
- package/framework-mcp/src/tools/git.ts +2 -2
- package/framework-mcp/src/tools/knowledge.ts +5 -6
- package/framework-mcp/src/tools/memory.ts +5 -6
- package/framework-mcp/src/tools/messages.ts +94 -28
- package/framework-mcp/src/tools/repository.ts +5 -6
- package/framework-mcp/src/tools/scaffold.ts +9 -6
- package/framework-mcp/src/tools/security.ts +4 -4
- package/framework-mcp/src/utils.ts +2 -2
- package/gemini.md +4 -4
- package/package.json +11 -7
- package/panda.config.ts +3 -1
- package/.enderun/benchmarks/.gitkeep +0 -0
- package/.enderun/blueprints/backend/middleware/error-handler.ts +0 -24
- package/.enderun/blueprints/backend/types/api.ts +0 -20
- package/.enderun/blueprints/backend/types/brands.ts +0 -12
- package/.enderun/blueprints/backend/types/constants.ts +0 -34
- package/.enderun/blueprints/backend/types/index.ts +0 -49
- package/.enderun/blueprints/backend/types/logs.ts +0 -16
- package/.enderun/blueprints/backend/types/models.ts +0 -65
- package/.enderun/blueprints/frontend/ui/Button.tsx +0 -60
- package/.enderun/blueprints/frontend/ui/Input.tsx +0 -43
- package/.enderun/monitoring/.gitkeep +0 -0
- package/gemini-extension.json +0 -13
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
# 🏛️ Agent Enderun (v0.6.
|
|
1
|
+
# 🏛️ Agent Enderun (v0.6.5) — The Supreme AI Governance Framework
|
|
2
2
|
|
|
3
3
|
**The Supreme AI Governance & Orchestration Framework for Enterprise Development**
|
|
4
4
|
|
|
5
|
+
**Geliştirici:** Yusuf BEKAR
|
|
6
|
+
|
|
5
7
|
[English](#english) | [Türkçe](#türkçe)
|
|
6
8
|
|
|
7
9
|
---
|
|
@@ -10,757 +12,315 @@
|
|
|
10
12
|
|
|
11
13
|
## Executive Summary
|
|
12
14
|
|
|
13
|
-
Agent Enderun
|
|
14
|
-
|
|
15
|
-
### 🚀 v0.5.9: Adaptive Discovery & Token Economy Protocol
|
|
16
|
-
|
|
17
|
-
- **Architecture Discovery Protocol (ADP):** Seamlessly ingest and adapt to existing (legacy) projects without rigid directory requirements.
|
|
18
|
-
- **Token Economy & Context Management:** Advanced rules to optimize AI context usage, reducing token costs by up to 40%.
|
|
19
|
-
- **Choice-Based Scaffolding:** Empowering users with consent-driven project setup and architectural blueprints.
|
|
20
|
-
- **Modular MCP Ecosystem:** 30+ enterprise-grade intelligence tools for AST-based analysis and security.
|
|
21
|
-
- **Zero Temporary Storage:** All task logs, plans, and state are strictly saved in persistent workspace directories; OS temp directories are completely forbidden.
|
|
22
|
-
- **Session Memory Recovery:** Non-negotiable automatic first-turn state restoration and role initialization across all adapters.
|
|
23
|
-
|
|
24
|
-
### 🚀 v0.5.3: Zero-Config & Auto-Wiring
|
|
25
|
-
- **Auto-Wiring:** CLI automatically configures `gemini-extension.json` for MCP.
|
|
26
|
-
- **Automated Build:** Framework now compiles itself during initialization.
|
|
27
|
-
- **Smart Directory Logic:** Enhanced separation between framework and project docs.
|
|
28
|
-
|
|
29
|
-
### 🚀 v0.5.1: The Academy & Hermes Upgrade
|
|
15
|
+
Agent Enderun is a **production-grade AI governance and multi-agent orchestration framework** designed for engineering teams that want to use AI assistants at scale without losing control, traceability, and professional discipline.
|
|
30
16
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- **📡 Hermes Messaging Protocol:** Ajanlar arası kategorize edilmiş (Action/Delegation/Info) ve önceliklendirilmiş iletişim bus'ı.
|
|
34
|
-
- **📚 Obsidian-Style LLM Wiki:** YAML metadata destekli, ilişkisel ve graf tabanlı teknik bilgi bankası yönetimi.
|
|
35
|
-
- **🛡️ Contract-First Automation:** API ve tip kontratlarının SHA-256 ile otomatik doğrulanması.
|
|
36
|
-
- **🤖 MCP Intelligence:** Bilgi grafiği üretme, inbox istatistikleri ve anlık sistem sağlığı denetimi sağlayan gelişmiş MCP araçları.
|
|
37
|
-
|
|
38
|
-
Agent Enderun is a **production-grade AI governance framework** designed for engineering teams that must maintain control, traceability, and discipline when using AI assistants for code generation. It transforms chaotic AI output into structured, auditable, enterprise-ready deliverables through:
|
|
39
|
-
|
|
40
|
-
- **Agent-Led Orchestration**: 8 specialized AI agent roles with defined responsibilities
|
|
41
|
-
- **Contract-First Development**: Shared TypeScript types as the single source of truth
|
|
42
|
-
- **Phase-Based Execution**: Strict workflow progression (PHASE_0 → PHASE_4)
|
|
43
|
-
- **Enterprise Auditability**: Every decision, action, and commit is logged and traceable
|
|
44
|
-
- **Modular MCP Intelligence**: 40+ tools across 12 categories for code analysis, security, and automation
|
|
45
|
-
|
|
46
|
-
---
|
|
17
|
+
While most AI coding tools focus on speed and generation, Agent Enderun focuses on **risk-aware, auditable, and continuously improving software development processes**. It transforms chaotic AI output into structured, enterprise-ready work through constitutional rules, specialized agents, and a living risk management system.
|
|
47
18
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Prerequisites
|
|
51
|
-
- **Node.js**: 20+ (LTS recommended)
|
|
52
|
-
- **npm**: 9+
|
|
53
|
-
- **Git**: Initialized in your project root
|
|
54
|
-
- **Any AI Adapter**: Gemini, Claude, Cursor, or Codex (optional but recommended)
|
|
55
|
-
|
|
56
|
-
### Installation Steps
|
|
57
|
-
|
|
58
|
-
#### Step 1: Clone or Initialize
|
|
59
|
-
```bash
|
|
60
|
-
# Option A: Clone this framework repository
|
|
61
|
-
git clone https://github.com/ybekar/agent-enderun.git
|
|
62
|
-
cd agent-enderun
|
|
63
|
-
|
|
64
|
-
# Option B: Or use as npm package (when published)
|
|
65
|
-
npx agent-enderun init gemini
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
#### Step 2: Install Dependencies
|
|
69
|
-
```bash
|
|
70
|
-
npm install
|
|
71
|
-
```
|
|
19
|
+
### Current Strategic Focus (May 2026)
|
|
72
20
|
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
npm run enderun:build
|
|
76
|
-
```
|
|
21
|
+
The framework has entered a new phase: **Risk-Driven Agent Professionalization**.
|
|
77
22
|
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
agent-enderun check
|
|
81
|
-
```
|
|
23
|
+
Instead of only writing rules, we now actively track and close real risks through structured improvement programs for each agent. The current Risk Tracking Dashboard includes 6 critical risks, each with its own multi-week professionalization plan.
|
|
82
24
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
✅ Framework active (v0.5.8)
|
|
86
|
-
✅ MCP Server ready
|
|
87
|
-
✅ Shared types compiled
|
|
88
|
-
✅ Agent logs initialized
|
|
89
|
-
✅ PROJECT_MEMORY.md found
|
|
90
|
-
```
|
|
25
|
+
> **📋 Full Risk Tracking Dashboard**
|
|
26
|
+
> See the live status of all active risks: [docs/roadmap.md](docs/roadmap.md)
|
|
91
27
|
|
|
92
28
|
---
|
|
93
29
|
|
|
94
|
-
##
|
|
30
|
+
## 🎯 Core Philosophy
|
|
95
31
|
|
|
96
|
-
|
|
32
|
+
Agent Enderun is built on four non-negotiable principles:
|
|
97
33
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| **Codex** | `init codex` | ✅ Full | Framework files placed in `.enderun/`. One command, done. |
|
|
103
|
-
| **Claude** | `init claude` | ⚠️ Semi | After init, run one extra command shown in the terminal to register MCP tools. |
|
|
104
|
-
|
|
105
|
-
> **Claude Note:** Claude Code requires explicit user approval for MCP tools due to its security model.
|
|
106
|
-
> After `init claude`, copy and run the `claude config add ...` command shown in the terminal output.
|
|
34
|
+
1. **Single Point of Authority** — In enterprise projects, @manager is the only authorized entry point. No specialist agent may act without an official briefing.
|
|
35
|
+
2. **Risk-First Mindset** — Every significant action is preceded by risk assessment, and high-risk operations require explicit approval and audit trails.
|
|
36
|
+
3. **Continuous Agent Improvement** — All agents have maturity targets (minimum 8.0/10). We do not accept “good enough” in critical areas.
|
|
37
|
+
4. **Zero Tolerance for Bypass** — Any attempt to circumvent governance (Hermes, briefings, memory updates, high-risk controls) is treated as a serious process violation.
|
|
107
38
|
|
|
108
39
|
---
|
|
109
40
|
|
|
110
|
-
##
|
|
41
|
+
## 📊 Active Risk Tracking Dashboard (23 May 2026)
|
|
111
42
|
|
|
112
|
-
|
|
113
|
-
```bash
|
|
114
|
-
# Creates {{FRAMEWORK_DIR}}/ directory with governance files
|
|
115
|
-
npx agent-enderun init gemini
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Check Project Health
|
|
119
|
-
```bash
|
|
120
|
-
# Runs security audit, compliance check, and dependency analysis
|
|
121
|
-
agent-enderun check
|
|
122
|
-
|
|
123
|
-
# Just security
|
|
124
|
-
agent-enderun check:security
|
|
125
|
-
|
|
126
|
-
# Just compliance
|
|
127
|
-
agent-enderun check:compliance
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### View Project Status
|
|
131
|
-
```bash
|
|
132
|
-
# Shows current phase, active agents, and blockers
|
|
133
|
-
agent-enderun status
|
|
134
|
-
```
|
|
43
|
+
We are currently managing the following 6 critical risks with dedicated improvement programs:
|
|
135
44
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
45
|
+
| Risk | Current Status | Progress | Owner |
|
|
46
|
+
|-----------------------------------|-----------------------------------------|-----------------------------------|----------------|
|
|
47
|
+
| Referans Uygulama Yokluğu | No production-grade example exists | Guidance documented | @manager |
|
|
48
|
+
| @frontend Zayıflığı | Component architecture & accessibility weak | 6-8 week Professionalization Program active | @manager |
|
|
49
|
+
| Hermes “Kağıt Üzerinde” | Protocol defined but not battle-tested | Live Test Program (4 scenarios) defined | @manager |
|
|
50
|
+
| Claude Otomasyonu | Semi-automatic, version inconsistencies | 60% | @manager |
|
|
51
|
+
| Gerçek Kullanım Eksikliği | No long-term usage in real projects | 0% | @manager |
|
|
52
|
+
| Kurumsal Yönetişim | Strong on paper, proof still needed | 85% | @manager |
|
|
141
53
|
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
# Ensures shared-types and API docs are synchronized
|
|
145
|
-
agent-enderun verify-contract
|
|
146
|
-
```
|
|
54
|
+
Each risk has a dedicated knowledge file and a clear improvement roadmap.
|
|
147
55
|
|
|
148
56
|
---
|
|
149
57
|
|
|
150
|
-
##
|
|
151
|
-
|
|
152
|
-
Agent Enderun consists of **4 integrated layers**:
|
|
153
|
-
|
|
154
|
-
### Layer 1: Governance ({{FRAMEWORK_DIR}}/)
|
|
155
|
-
```
|
|
156
|
-
{{FRAMEWORK_DIR}}/
|
|
157
|
-
├── ENDERUN.md ← The "Supreme Law" (read this first!)
|
|
158
|
-
├── PROJECT_MEMORY.md ← Single source of truth for state
|
|
159
|
-
├── STATUS.md ← Agent status dashboard
|
|
160
|
-
├── cli-commands.json ← CLI ownership mapping
|
|
161
|
-
├── agents/ ← 8 agent role definitions
|
|
162
|
-
├── logs/ ← Audit trail (agent.json files)
|
|
163
|
-
├── knowledge/ ← 16+ technical knowledge articles
|
|
164
|
-
└── docs/api/ ← API contract specifications
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### Layer 2: Framework Core (bin/ + framework-mcp/)
|
|
168
|
-
```
|
|
169
|
-
bin/cli.js ← CLI bootstrapper
|
|
170
|
-
framework-mcp/ ← 40+ MCP tools (13 categories) including Scaffolding
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
### Layer 3: Documentation (docs/)
|
|
174
|
-
```
|
|
175
|
-
docs/
|
|
176
|
-
├── tech-stack.md ← Approved technology stack
|
|
177
|
-
├── project-docs.md ← Product requirements (template)
|
|
178
|
-
└── [your project files] ← Your documents (agents will read these)
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
### Layer 4: Application (apps/) — YOURS
|
|
182
|
-
```
|
|
183
|
-
apps/
|
|
184
|
-
├── backend/ ← Your backend app (create this)
|
|
185
|
-
├── web/ ← Your frontend app (create this)
|
|
186
|
-
└── [other apps]/ ← Mobile, desktop, etc.
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
---
|
|
58
|
+
## 🤖 Agent Maturity Program (Target: All Agents ≥ 8.0)
|
|
190
59
|
|
|
191
|
-
|
|
60
|
+
We are running a structured professionalization program for all agents. Current maturity levels (May 2026):
|
|
192
61
|
|
|
193
|
-
|
|
62
|
+
| Agent | Current | Target | Priority | Status |
|
|
63
|
+
|--------------------|---------|--------|--------------|--------|
|
|
64
|
+
| **@manager** | 8.0 | 9.5 | High | Authority Audit system active |
|
|
65
|
+
| **@backend** | 7.5 | 9.0 | High | Test culture & resilience needed |
|
|
66
|
+
| **@frontend** | 6.5 | 9.0 | **Critical** | 8-week Professionalization Program running |
|
|
67
|
+
| **@analyst** | 6.5 | 8.5 | Medium | Governance audit capability improving |
|
|
68
|
+
| **@explorer** | 6.5 | 8.5 | Medium | Risk area reporting being enforced |
|
|
69
|
+
| **@git** | 6.0 | 8.0 | Medium | High-risk commit control added |
|
|
70
|
+
| **@mobile** | 2.0 | 8.0 | Low (future) | Major work required |
|
|
71
|
+
| **@native** | 2.0 | 8.0 | Low (future) | Major work required |
|
|
194
72
|
|
|
195
|
-
|
|
196
|
-
|---|---|---|
|
|
197
|
-
| **@manager** | Orchestration | Runs the phase machine, creates trace IDs, delegates tasks, updates PROJECT_MEMORY |
|
|
198
|
-
| **@analyst** | Quality Control | Security audits, compliance checks, documentation debt, code review |
|
|
199
|
-
| **@backend** | Data Architecture | Database schema, API contracts, shared-types integrity, Kysely standards |
|
|
200
|
-
| **@frontend** | UI Development | React components, Panda CSS styling, Zero-UI Library enforcement, responsive design |
|
|
201
|
-
| **@explorer** | Code Intelligence | Dependency graphs, complexity analysis, dead code detection, legacy code mapping |
|
|
202
|
-
| **@git** | Repository Master | Semantic commits, branch management, conflict resolution, merge strategies |
|
|
203
|
-
| **@mobile** | Mobile Apps | React Native, Expo, iOS/Android specifics, performance optimization |
|
|
204
|
-
| **@native** | Native Apps | Tauri, Electron, native performance, IPC protocols, system integration |
|
|
73
|
+
Full details and weekly plans are maintained in the Risk Tracking Dashboard.
|
|
205
74
|
|
|
206
75
|
---
|
|
207
76
|
|
|
208
|
-
##
|
|
77
|
+
## 🛡️ Key Governance Innovations (v0.6.5)
|
|
209
78
|
|
|
210
|
-
|
|
79
|
+
### 1. Manager Authority Audit & Enforcement
|
|
80
|
+
A formal system that requires @manager to regularly audit its own control over all agents and enforce violations through a defined escalation ladder.
|
|
211
81
|
|
|
212
|
-
###
|
|
213
|
-
-
|
|
214
|
-
- `get_project_gaps` — Identify missing files/structure
|
|
215
|
-
- `get_memory_insights` — Analyze PROJECT_MEMORY
|
|
216
|
-
- `bootstrap_legacy_memory` — Auto-detect existing projects
|
|
82
|
+
### 2. Hermes Live Test Program
|
|
83
|
+
A structured program with 4 mandatory real-world scenarios to move the Hermes protocol from “defined on paper” to “proven in practice”.
|
|
217
84
|
|
|
218
|
-
###
|
|
219
|
-
-
|
|
220
|
-
- `analyze_dependencies` — Map imports/exports
|
|
221
|
-
- `analyze_codebase_intelligence` — Find complexity & dead code
|
|
222
|
-
- `generate_dependency_graph` — Mermaid diagrams
|
|
85
|
+
### 3. @frontend Professionalization Program
|
|
86
|
+
An 8-week intensive program covering component architecture, accessibility (WCAG 2.2), performance, testing discipline, and high-risk admin + Hermes integration.
|
|
223
87
|
|
|
224
|
-
###
|
|
225
|
-
-
|
|
226
|
-
- `analyze_constitution_compliance` — Enforce ENDERUN.md rules
|
|
227
|
-
|
|
228
|
-
### Contract Management
|
|
229
|
-
- `verify_api_contract` — Hash verification
|
|
230
|
-
- `verify_contract_integrity` — Type synchronization
|
|
231
|
-
- `update_contract_hash` — Sync shared-types
|
|
232
|
-
|
|
233
|
-
### Git & Commits
|
|
234
|
-
- `generate_semantic_commit_message` — Auto-generate commit messages
|
|
235
|
-
|
|
236
|
-
### Academy Intelligence
|
|
237
|
-
- `get_academy_performance` — Agent success rates
|
|
238
|
-
- `generate_strategic_briefing` — High-level reports
|
|
239
|
-
- `log_agent_action` — Structured logging
|
|
240
|
-
|
|
241
|
-
### Repository Health
|
|
242
|
-
- `validate_repository_health` — Run lint/test/build
|
|
243
|
-
- `analyze_documentation_debt` — Find missing JSDoc/READMEs
|
|
244
|
-
|
|
245
|
-
### Agent Collaboration
|
|
246
|
-
- `send_agent_message` — Inter-agent communication
|
|
247
|
-
- `read_agent_messages` — Check agent inbox
|
|
248
|
-
|
|
249
|
-
### Database & Knowledge
|
|
250
|
-
- `analyze_database_schema` — Extract ER diagrams
|
|
251
|
-
- `search_knowledge_base` — Find technical guides
|
|
252
|
-
- `update_knowledge_base` — Add knowledge entries
|
|
88
|
+
### 4. Corporate CRUD & Administrative Governance
|
|
89
|
+
All high-risk operations (user/permission management, bulk deletion, system configuration, audit access, etc.) now require explicit @manager briefing, `managerApproval` object, and full before/after audit logging.
|
|
253
90
|
|
|
254
91
|
---
|
|
255
92
|
|
|
256
|
-
##
|
|
93
|
+
## 🏗️ Architecture Overview
|
|
257
94
|
|
|
258
|
-
|
|
95
|
+
Agent Enderun is built on four layers:
|
|
259
96
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
├── design-system.md ← (optional) UI patterns
|
|
265
|
-
├── api-guide.md ← (optional) API examples
|
|
266
|
-
└── architecture.md ← (optional) System design
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
Agents use the `search_knowledge_base` tool to find answers to common questions.
|
|
97
|
+
- **Governance Layer** (`{{FRAMEWORK_DIR}}/`) — Constitution, memory, agent definitions, knowledge base, logs
|
|
98
|
+
- **Intelligence Layer** (`framework-mcp/`) — 40+ MCP tools for analysis, scaffolding, contract verification, and inter-agent communication
|
|
99
|
+
- **CLI Layer** (`bin/`) — Project initialization and adapter automation
|
|
100
|
+
- **Application Layer** (`apps/`) — Where the actual user applications live (currently empty — reference application is the next priority)
|
|
270
101
|
|
|
271
102
|
---
|
|
272
103
|
|
|
273
|
-
##
|
|
274
|
-
|
|
275
|
-
- [ ] **Node.js 20+** installed (`node --version`)
|
|
276
|
-
- [ ] **npm 9+** installed (`npm --version`)
|
|
277
|
-
- [ ] **Git** initialized (`git init`)
|
|
278
|
-
- [ ] **Framework installed** (`npm install && npm run enderun:build`)
|
|
279
|
-
- [ ] **Health check passed** (`agent-enderun check` shows ✅)
|
|
280
|
-
- [ ] **First task created** (`agent-enderun trace:new "Your task" backend P1`)
|
|
281
|
-
- [ ] **Docs created** (add files to `docs/` for agents to read)
|
|
282
|
-
- [ ] **MCP connected** (agents can now use tools)
|
|
283
|
-
|
|
284
|
-
---
|
|
285
|
-
|
|
286
|
-
## 🚀 First Real Task
|
|
287
|
-
|
|
288
|
-
Once everything is installed, try this:
|
|
104
|
+
## ⚡ Quick Start
|
|
289
105
|
|
|
290
106
|
```bash
|
|
291
|
-
#
|
|
292
|
-
|
|
107
|
+
# 1. Initialize the framework (generates the .enderun/ structure)
|
|
108
|
+
npx agent-enderun init
|
|
293
109
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
- Logout endpoint
|
|
297
|
-
- Token refresh mechanism
|
|
298
|
-
" > docs/requirements.md
|
|
110
|
+
# 2. Install dependencies
|
|
111
|
+
npm install
|
|
299
112
|
|
|
300
|
-
#
|
|
301
|
-
|
|
113
|
+
# 3. Build the framework
|
|
114
|
+
npm run enderun:build
|
|
302
115
|
|
|
303
|
-
#
|
|
304
|
-
|
|
116
|
+
# 4. Verify setup
|
|
117
|
+
npx agent-enderun check
|
|
305
118
|
```
|
|
306
119
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
## 📁 Project Structure
|
|
120
|
+
> **💡 Custom Adapter Option:** You can also initialize with a specific AI assistant/editor adapter if desired:
|
|
121
|
+
> `npx agent-enderun init [antigravity | claude | cursor | codex | gemini]`
|
|
310
122
|
|
|
311
|
-
|
|
312
|
-
agent-enderun/
|
|
313
|
-
├── README.md ← This file
|
|
314
|
-
├── package.json ← Root npm config
|
|
315
|
-
├── bin/
|
|
316
|
-
│ └── cli.js ← CLI entry point
|
|
317
|
-
├── docs/ ← Your project docs (agents read these)
|
|
318
|
-
├── framework-mcp/ ← MCP server (40+ tools)
|
|
319
|
-
│ └── src/tools/
|
|
320
|
-
│ ├── scaffold.ts ← Blueprint construction
|
|
321
|
-
│ ├── academy.ts
|
|
322
|
-
│ ├── codebase.ts
|
|
323
|
-
│ └── [10 more...]
|
|
324
|
-
├── apps/ ← Your applications (start here)
|
|
325
|
-
│ ├── backend/
|
|
326
|
-
│ │ ├── src/types/ ← App-local contract types
|
|
327
|
-
│ │ └── contract.version.json ← SHA-256 integrity hash
|
|
328
|
-
│ └── web/
|
|
329
|
-
│ └── src/types/ ← Frontend mirrors of backend types
|
|
330
|
-
└── {{FRAMEWORK_DIR}}/ ← Framework governance
|
|
331
|
-
├── ENDERUN.md ← Constitution (MANDATORY READ)
|
|
332
|
-
├── PROJECT_MEMORY.md ← State machine
|
|
333
|
-
├── STATUS.md ← Agent dashboard
|
|
334
|
-
├── cli-commands.json ← Command ownership
|
|
335
|
-
├── config.json ← Configuration
|
|
336
|
-
├── agents/ ← 8 agent role docs
|
|
337
|
-
│ ├── manager.md
|
|
338
|
-
│ ├── analyst.md
|
|
339
|
-
│ ├── backend.md
|
|
340
|
-
│ ├── frontend.md
|
|
341
|
-
│ ├── explorer.md
|
|
342
|
-
│ ├── git.md
|
|
343
|
-
│ ├── mobile.md
|
|
344
|
-
│ └── native.md
|
|
345
|
-
├── logs/ ← Audit trail
|
|
346
|
-
│ ├── manager.json
|
|
347
|
-
│ ├── backend.json
|
|
348
|
-
│ ├── frontend.json
|
|
349
|
-
│ ├── analyst.json
|
|
350
|
-
│ ├── explorer.json
|
|
351
|
-
│ ├── git.json
|
|
352
|
-
│ ├── mobile.json
|
|
353
|
-
│ └── native.json
|
|
354
|
-
├── knowledge/ ← 16+ technical guides
|
|
355
|
-
│ ├── branded_types_pattern.md
|
|
356
|
-
│ ├── async_error_handling.md
|
|
357
|
-
│ ├── security_scanning.md
|
|
358
|
-
│ ├── contract_versioning.md
|
|
359
|
-
│ ├── git_commit_strategy.md
|
|
360
|
-
│ ├── testing_standards.md
|
|
361
|
-
│ └── [12 more...]
|
|
362
|
-
├── messages/ ← Inter-agent communication
|
|
363
|
-
└── docs/
|
|
364
|
-
├── api/ ← API contracts
|
|
365
|
-
│ ├── auth.md
|
|
366
|
-
│ ├── errors.md
|
|
367
|
-
│ └── README.md
|
|
368
|
-
└── [other docs]
|
|
369
|
-
```
|
|
123
|
+
For a complete step-by-step guide, see: [docs/getting-started.md](docs/getting-started.md)
|
|
370
124
|
|
|
371
125
|
---
|
|
372
126
|
|
|
373
|
-
##
|
|
374
|
-
|
|
375
|
-
### Q: What does "contract-first" mean?
|
|
376
|
-
**A:** All API shapes and domain models are defined in `packages/shared-types/src/index.ts` **before** any code is written. Frontend and backend must both use these types, ensuring perfect alignment.
|
|
377
|
-
|
|
378
|
-
### Q: Do agents actually understand all this?
|
|
379
|
-
**A:** Yes. Before every action, agents read:
|
|
380
|
-
1. `ENDERUN.md` (the constitution)
|
|
381
|
-
2. `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md` (project state)
|
|
382
|
-
3. `docs/` files (your requirements)
|
|
383
|
-
4. `{{FRAMEWORK_DIR}}/knowledge/` (technical guidelines)
|
|
384
|
-
|
|
385
|
-
### Q: What if I don't use an AI adapter?
|
|
386
|
-
**A:** The framework still works as a **collaborative development platform**. You and your team use it to enforce:
|
|
387
|
-
- Phase progression
|
|
388
|
-
- Audit logging
|
|
389
|
-
- Shared type discipline
|
|
390
|
-
- API contract verification
|
|
391
|
-
|
|
392
|
-
### Q: Can I extend the MCP tools?
|
|
393
|
-
**A:** Yes. Add new tool files in `packages/framework-mcp/src/tools/`, define the schema, and export the handler. The CLI will automatically discover them.
|
|
127
|
+
## 🧠 Current Honest Status (23 May 2026)
|
|
394
128
|
|
|
395
|
-
|
|
396
|
-
|
|
129
|
+
**Strong Areas:**
|
|
130
|
+
- Constitutional governance and mandatory rules
|
|
131
|
+
- Risk management and agent professionalization system
|
|
132
|
+
- Inter-agent communication protocol (Hermes) technical foundation
|
|
133
|
+
- Backend patterns and contract-first discipline
|
|
134
|
+
- Memory discipline and audit logging
|
|
397
135
|
|
|
398
|
-
|
|
399
|
-
|
|
136
|
+
**Areas Still Maturing:**
|
|
137
|
+
- No complete reference application yet (highest priority)
|
|
138
|
+
- @frontend still below target maturity
|
|
139
|
+
- Hermes has not been fully stress-tested in real multi-agent scenarios
|
|
140
|
+
- Real long-term usage data is limited
|
|
141
|
+
- Mobile and Native agents are still early stage
|
|
400
142
|
|
|
401
143
|
---
|
|
402
144
|
|
|
403
|
-
##
|
|
145
|
+
## 📍 Next Major Milestones
|
|
404
146
|
|
|
405
|
-
1.
|
|
406
|
-
2.
|
|
407
|
-
3.
|
|
408
|
-
4.
|
|
409
|
-
5. **`README.md`** (this file) — How to use the framework
|
|
147
|
+
1. Build a real reference application demonstrating Normal CRUD + High-Risk Admin + Hermes usage
|
|
148
|
+
2. Complete @frontend Professionalization Program (target: 9.0)
|
|
149
|
+
3. Execute and close Hermes Live Test Program
|
|
150
|
+
4. Raise all agents to minimum 8.0 maturity
|
|
410
151
|
|
|
411
152
|
---
|
|
412
153
|
|
|
413
|
-
##
|
|
154
|
+
## 📚 Further Reading
|
|
414
155
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
1. Read `{{FRAMEWORK_DIR}}/ENDERUN.md`
|
|
420
|
-
2. Follow the agent role guidelines
|
|
421
|
-
3. Submit PRs with semantic commit messages
|
|
422
|
-
4. Ensure tests pass: `npm run enderun:build`
|
|
423
|
-
|
|
424
|
-
### License
|
|
425
|
-
MIT © 2026 Yusuf BEKAR
|
|
156
|
+
- **[docs/roadmap.md](docs/roadmap.md)** — Full Risk Tracking Dashboard and development roadmap
|
|
157
|
+
- **[docs/strategic-review-2026-05.md](docs/strategic-review-2026-05.md)** — Independent strategic assessment
|
|
158
|
+
- **.enderun/agents/** — Detailed Standard Operating Procedures for all 8 agents
|
|
159
|
+
- **.enderun/knowledge/** — Specialized technical and governance guides
|
|
426
160
|
|
|
427
161
|
---
|
|
428
162
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
## Genel Özet
|
|
432
|
-
|
|
433
|
-
Agent Enderun, **kurumsal-grade bir yapay zeka yönetim çerçevesidir** ve yapay zeka asistanlarını kontrol altında tutmanız, izlenebilir olmasını sağlamanız ve disiplinli kod üretimini garantilamanız için tasarlanmıştır.
|
|
434
|
-
|
|
435
|
-
- **Ajan Orkestrasyonu**: 8 uzmanlaşmış yapay zeka rolü
|
|
436
|
-
- **Sözleşme-İlk Geliştirme**: Paylaşılan TypeScript türleri
|
|
437
|
-
- **Faz Tabanlı Yürütme**: Sıkı iş akışı (PHASE_0 → PHASE_4)
|
|
438
|
-
- **Kurumsal Denetim**: Her karar, işlem ve commit kaydedilir
|
|
439
|
-
- **Modüler MCP Zekası**: 40+ araç, 12 kategori
|
|
163
|
+
**Agent Enderun is not just a tool. It is a complete operating system for professional AI-assisted software development.**
|
|
440
164
|
|
|
441
165
|
---
|
|
442
166
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
### Gereksinimler
|
|
446
|
-
- **Node.js**: 20+ (LTS önerilir)
|
|
447
|
-
- **npm**: 9+
|
|
448
|
-
- **Git**: Proje kökünde başlatılmış
|
|
449
|
-
- **AI Adaptörü** (opsiyonel): Gemini, Claude, Cursor veya Codex
|
|
450
|
-
|
|
451
|
-
### Kurulum Adımları
|
|
452
|
-
|
|
453
|
-
#### Adım 1: Clone veya İnit
|
|
454
|
-
```bash
|
|
455
|
-
# Seçenek A: Framework repository'sini klonla
|
|
456
|
-
git clone https://github.com/ybekar/agent-enderun.git
|
|
457
|
-
cd agent-enderun
|
|
458
|
-
|
|
459
|
-
# Seçenek B: veya npm paketi olarak kullan
|
|
460
|
-
npx agent-enderun init gemini
|
|
461
|
-
```
|
|
462
|
-
|
|
463
|
-
#### Adım 2: Bağımlılıkları Yükle
|
|
464
|
-
```bash
|
|
465
|
-
npm install
|
|
466
|
-
```
|
|
467
|
-
|
|
468
|
-
#### Adım 3: Framework'ü Derle
|
|
469
|
-
```bash
|
|
470
|
-
npm run enderun:build
|
|
471
|
-
```
|
|
167
|
+
# Türkçe
|
|
472
168
|
|
|
473
|
-
|
|
474
|
-
```bash
|
|
475
|
-
agent-enderun check
|
|
476
|
-
```
|
|
169
|
+
**Geliştirici:** Yusuf BEKAR
|
|
477
170
|
|
|
478
|
-
|
|
479
|
-
```
|
|
480
|
-
✅ Framework aktif (v0.5.8)
|
|
481
|
-
✅ MCP Sunucu hazır
|
|
482
|
-
✅ Paylaşılan türler derlenmiş
|
|
483
|
-
✅ Agent logları başlatılmış
|
|
484
|
-
✅ PROJECT_MEMORY.md bulundu
|
|
485
|
-
```
|
|
171
|
+
## Yönetici Özeti
|
|
486
172
|
|
|
487
|
-
|
|
173
|
+
Agent Enderun, yazılım ekipleri için tasarlanmış **Anayasal Yönetişim (Constitutional Governance)** ve **Çoklu Ajan Orkestrasyonu** odaklı kurumsal düzeyde bir yapay zeka yönetim ve orkestrasyon framework’üdür.
|
|
488
174
|
|
|
489
|
-
|
|
175
|
+
Çoğu AI kod aracı hız ve üretim kapasitesine odaklanırken, Agent Enderun **risk bilinci, denetlenebilirlik, izlenebilirlik ve sürekli profesyonel gelişim** üzerine kuruludur. Kaotik ve kontrolsüz AI çıktılarını yapılandırılmış, kurumsal standartlara uygun, denetlenebilir ve hesap verebilir işlere dönüştürür.
|
|
490
176
|
|
|
491
|
-
###
|
|
492
|
-
```bash
|
|
493
|
-
npx agent-enderun init gemini
|
|
494
|
-
```
|
|
177
|
+
### Mayıs 2026 İtibarıyla Stratejik Odak
|
|
495
178
|
|
|
496
|
-
|
|
497
|
-
```bash
|
|
498
|
-
agent-enderun check # Tam kontrol
|
|
499
|
-
agent-enderun check:security # Sadece güvenlik
|
|
500
|
-
agent-enderun check:compliance # Sadece uyum
|
|
501
|
-
```
|
|
502
|
-
|
|
503
|
-
### Proje Durumunu Görüntüle
|
|
504
|
-
```bash
|
|
505
|
-
agent-enderun status
|
|
506
|
-
```
|
|
179
|
+
Framework, yeni ve daha olgun bir döneme girmiş durumdadır: **Risk Odaklı Ajan Profesyonelleşmesi**.
|
|
507
180
|
|
|
508
|
-
|
|
509
|
-
```bash
|
|
510
|
-
agent-enderun trace:new "Kullanıcı Doğrulama Uygulaması" backend P1
|
|
511
|
-
```
|
|
181
|
+
Artık sadece kural yazmakla yetinilmiyor. Her ajanın gerçek hayattaki riskleri takip ediliyor ve bu riskleri kapatmak için yapılandırılmış, çok haftalık iyileştirme programları yürütülüyor. Şu anda 6 kritik risk aktif olarak takip ediliyor ve her biri için özel profesyonelleşme planları bulunuyor.
|
|
512
182
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
agent-enderun verify-contract
|
|
516
|
-
```
|
|
183
|
+
> **📋 Risk Takip Panosu**
|
|
184
|
+
> Tüm aktif risklerin güncel durumunu görmek için: [docs/roadmap.md](docs/roadmap.md)
|
|
517
185
|
|
|
518
186
|
---
|
|
519
187
|
|
|
520
|
-
##
|
|
521
|
-
|
|
522
|
-
`init` komutunu çalıştırırken adaptörünüzü seçin. Her adaptörün otomasyon seviyesi farklıdır:
|
|
188
|
+
## 🎯 Temel Felsefe
|
|
523
189
|
|
|
524
|
-
|
|
525
|
-
| :--- | :--- | :---: | :--- |
|
|
526
|
-
| **Gemini** | `init gemini` | ✅ Tam | MCP `gemini-extension.json`'a otomatik yazılır. Tek komut, bitti. |
|
|
527
|
-
| **Cursor** | `init cursor` | ✅ Tam | `cursor.md` otomatik olarak `.cursorrules`'a kopyalanır. Tek komut, bitti. |
|
|
528
|
-
| **Codex** | `init codex` | ✅ Tam | Framework dosyaları `.enderun/` dizinine yerleştirilir. Tek komut, bitti. |
|
|
529
|
-
| **Claude** | `init claude` | ⚠️ Yarı | Init sonrası terminalde gösterilen `claude config add ...` komutunu çalıştırmanız gerekir. |
|
|
190
|
+
Agent Enderun dört vazgeçilmez ilke üzerine inşa edilmiştir:
|
|
530
191
|
|
|
531
|
-
|
|
532
|
-
|
|
192
|
+
1. **Tek Yetki Noktası** — Kurumsal projelerde @manager tek yetkili giriş noktasıdır. Hiçbir uzman ajan, resmi ve yapılandırılmış bir briefing almadan kullanıcıya cevap veremez veya iş yapamaz.
|
|
193
|
+
2. **Risk Öncelikli Yaklaşım** — Her önemli işlem öncesi risk değerlendirmesi yapılır. Yüksek riskli işlemler için açık @manager onayı ve detaylı audit kaydı zorunludur.
|
|
194
|
+
3. **Sürekli Ajan Geliştirme** — Tüm ajanların olgunluk hedefi minimum **8.0/10** olarak belirlenmiştir. Kritik alanlarda “yeterince iyi” kabul edilmez.
|
|
195
|
+
4. **Sıfır Tolerans** — Yönetişimi bypass eden her girişim (Hermes kullanımı, briefing zorunluluğu, memory güncelleme, yüksek riskli işlem kontrolleri) ciddi süreç ihlali olarak değerlendirilir ve kayıt altına alınır.
|
|
533
196
|
|
|
534
197
|
---
|
|
535
198
|
|
|
536
|
-
##
|
|
199
|
+
## 📊 Aktif Risk Takip Panosu (23 Mayıs 2026)
|
|
537
200
|
|
|
538
|
-
|
|
201
|
+
Şu anda aşağıdaki 6 kritik risk, özel iyileştirme programlarıyla aktif olarak yönetilmektedir:
|
|
539
202
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
203
|
+
| Risk | Mevcut Durum | İlerleme Durumu | Sahip |
|
|
204
|
+
|-----------------------------------|---------------------------------------------------|------------------------------------------------------|------------|
|
|
205
|
+
| Referans Uygulama Yokluğu | Henüz production-grade bir örnek proje yok | Rehber ve program tanımlandı | @manager |
|
|
206
|
+
| @frontend Zayıflığı | Bileşen mimarisi ve erişilebilirlik zayıf | 6-8 haftalık Profesyonelleşme Programı aktif | @manager |
|
|
207
|
+
| Hermes “Kağıt Üzerinde” | Protokol tanımlı ancak gerçek hayatta test edilmedi | 4 senaryoluk Canlı Test Programı tanımlandı | @manager |
|
|
208
|
+
| Claude Otomasyonu | Yarı otomatik, farklı versiyonlarda sorunlar var | %60 | @manager |
|
|
209
|
+
| Gerçek Kullanım Eksikliği | Gerçek projelerde uzun süreli kullanım verisi yok | %0 | @manager |
|
|
210
|
+
| Kurumsal Yönetişim | Kurallar kağıt üzerinde güçlü, kanıt henüz yetersiz | %85 | @manager |
|
|
547
211
|
|
|
548
|
-
|
|
549
|
-
- `packages/framework-mcp/` — 40+ MCP aracı
|
|
550
|
-
- `packages/shared-types/` — Paylaşılan türler (sözleşme)
|
|
551
|
-
- `bin/cli.js` — CLI başlatıcısı
|
|
552
|
-
|
|
553
|
-
### Katman 3: Dokümantasyon
|
|
554
|
-
- `docs/tech-stack.md` — Teknoloji kararları
|
|
555
|
-
- `docs/project-docs.md` — Ürün gereksinimleri
|
|
556
|
-
- Ajanlar bu dosyaları okurlar
|
|
557
|
-
|
|
558
|
-
### Katman 4: Uygulamalarınız
|
|
559
|
-
- `apps/backend/` — Backend uygulaması (siz oluşturun)
|
|
560
|
-
- `apps/web/` — Frontend uyguması (siz oluşturun)
|
|
212
|
+
Her risk için ayrı bir knowledge dosyası ve net bir iyileştirme yol haritası bulunmaktadır.
|
|
561
213
|
|
|
562
214
|
---
|
|
563
215
|
|
|
564
|
-
##
|
|
216
|
+
## 🤖 Ajan Olgunluk Programı (Hedef: Tüm Ajanlar ≥ 8.0)
|
|
565
217
|
|
|
566
|
-
|
|
567
|
-
|---|---|---|
|
|
568
|
-
| **@manager** | Orkestrasyoun | Faz yönetimi, trace ID, görev delegasyonu |
|
|
569
|
-
| **@analyst** | Kalite Kontrol | Güvenlik denetimi, uyum kontrolü, kod incelemesi |
|
|
570
|
-
| **@backend** | Veri Mimarisi | Veritabanı, API kontratları, Kysely standartları |
|
|
571
|
-
| **@frontend** | UI Geliştirme | React, Panda CSS, bileşen tasarımı |
|
|
572
|
-
| **@explorer** | Kod Zekası | Bağımlılıklar, karmaşıklık, ölü kod |
|
|
573
|
-
| **@git** | Repository Ustası | Semantik commit'ler, branch yönetimi |
|
|
574
|
-
| **@mobile** | Mobil Uygulamalar | React Native, Expo, iOS/Android |
|
|
575
|
-
| **@native** | Yerel Uygulamalar | Tauri, Electron, sistem entegrasyonu |
|
|
218
|
+
Tüm ajanlar için yapılandırılmış bir profesyonelleşme programı yürütülmektedir. Mayıs 2026 itibarıyla mevcut olgunluk seviyeleri şu şekildedir:
|
|
576
219
|
|
|
577
|
-
|
|
220
|
+
| Ajan | Mevcut | Hedef | Öncelik | Durum |
|
|
221
|
+
|--------------------|--------|-------|-------------|-------|
|
|
222
|
+
| **@manager** | 8.0 | 9.5 | Yüksek | Authority Audit & Enforcement sistemi aktif |
|
|
223
|
+
| **@backend** | 7.5 | 9.0 | Yüksek | Test kültürü ve resilience güçlendiriliyor |
|
|
224
|
+
| **@frontend** | 6.5 | 9.0 | **Kritik** | 8 haftalık Profesyonelleşme Programı devam ediyor |
|
|
225
|
+
| **@analyst** | 6.5 | 8.5 | Orta | Governance denetim ve metrik yeteneği geliştiriliyor |
|
|
226
|
+
| **@explorer** | 6.5 | 8.5 | Orta | Riskli alan raporlaması zorunlu hale getiriliyor |
|
|
227
|
+
| **@git** | 6.0 | 8.0 | Orta | Yüksek riskli commit kontrolü eklendi |
|
|
228
|
+
| **@mobile** | 2.0 | 8.0 | Düşük | İleride büyük çalışma gerekecek |
|
|
229
|
+
| **@native** | 2.0 | 8.0 | Düşük | İleride büyük çalışma gerekecek |
|
|
578
230
|
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
- [ ] **Node.js 20+** yüklü (`node --version`)
|
|
582
|
-
- [ ] **npm 9+** yüklü (`npm --version`)
|
|
583
|
-
- [ ] **Git** başlatılmış (`git init`)
|
|
584
|
-
- [ ] **Framework yüklü** (`npm install && npm run enderun:build`)
|
|
585
|
-
- [ ] **Sağlık kontrolü geçti** (`agent-enderun check` ✅ gösteriyor)
|
|
586
|
-
- [ ] **İlk görev oluşturuldu** (`agent-enderun trace:new "Görev" backend P1`)
|
|
587
|
-
- [ ] **Doklar oluşturuldu** (`docs/` klasörüne dosya ekledim)
|
|
588
|
-
- [ ] **MCP bağlandı** (ajanlar araçları kullanabiliyor)
|
|
231
|
+
Detaylı haftalık planlar ve gelişim raporları Risk Takip Panosu’nda yer almaktadır.
|
|
589
232
|
|
|
590
233
|
---
|
|
591
234
|
|
|
592
|
-
##
|
|
235
|
+
## 🛡️ Önemli Yönetişim Yenilikleri (v0.6.5)
|
|
593
236
|
|
|
594
|
-
|
|
237
|
+
### 1. Manager Authority Audit & Enforcement
|
|
238
|
+
@manager’ın tüm ajanlar üzerindeki kontrolünü düzenli olarak denetlemesini ve ihlalleri tanımlanmış bir süreçle (düzeltme → kayıt → koçluk → kapsam kısıtlama) düzeltmesini sağlayan resmi sistem.
|
|
595
239
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
echo "# Kullanıcı Doğrulaması
|
|
240
|
+
### 2. Hermes Live Test Programı
|
|
241
|
+
Hermes protokolünün “kağıt üzerinde tanımlı” olmaktan çıkıp “gerçek hayatta kanıtlanmış” hale gelmesi için 4 zorunlu canlı senaryo (Delegasyon, Yüksek Riskli İşlem Koordinasyonu, Çatışma Çözümü, Bilgi Paylaşımı) içeren yapılandırılmış program.
|
|
599
242
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
- Oturumu kapat endpoint'i
|
|
603
|
-
- Token yenileme mekanizması
|
|
604
|
-
" > docs/requirements.md
|
|
243
|
+
### 3. @frontend Profesyonelleşme Programı
|
|
244
|
+
Bileşen mimarisi (Compound Components & Slots), erişilebilirlik (WCAG 2.2 AA), performans mühendisliği, test disiplini ve yüksek riskli admin işlemleri + Hermes entegrasyonunu kapsayan 8 haftalık yoğun program.
|
|
605
245
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
# Adım 3: Ajanlar sizin için çalışır
|
|
610
|
-
# (Otomatik olarak docs/requirements.md okurlar)
|
|
611
|
-
```
|
|
246
|
+
### 4. Kurumsal CRUD ve Yönetimsel İşlem Yönetişimi
|
|
247
|
+
Kullanıcı/yetki yönetimi, toplu silme, sistem konfigürasyonu, audit log erişimi gibi yüksek riskli işlemler artık zorunlu @manager briefing, `managerApproval` nesnesi ve detaylı before/after audit log ile yapılmak zorundadır.
|
|
612
248
|
|
|
613
249
|
---
|
|
614
250
|
|
|
615
|
-
##
|
|
616
|
-
|
|
617
|
-
```
|
|
618
|
-
agent-enderun/
|
|
619
|
-
├── docs/ ← Ajanların okuyacağı dokümantasyon
|
|
620
|
-
├── framework-mcp/ ← MCP sunucusu (40+ araç)
|
|
621
|
-
├── apps/ ← Uygulamalarınız (siz oluşturun)
|
|
622
|
-
├── {{FRAMEWORK_DIR}}/ ← Yönetişim dosyaları
|
|
623
|
-
└── bin/
|
|
624
|
-
└── cli.js ← CLI giriş noktası
|
|
625
|
-
```
|
|
626
|
-
|
|
627
|
-
---
|
|
628
|
-
|
|
629
|
-
## 💡 Sıkça Sorulan Sorular
|
|
630
|
-
|
|
631
|
-
### S: "Sözleşme-ilk" ne demek?
|
|
632
|
-
**C:** Tüm API şekilleri ve alan modelleri `packages/shared-types` içinde **kod yazılmadan önce** tanımlanır. Frontend ve backend aynı türleri kullanır.
|
|
251
|
+
## 🏗️ Mimari Özet
|
|
633
252
|
|
|
634
|
-
|
|
635
|
-
**C:** Evet. Her işlem öncesi şunları okurlar:
|
|
636
|
-
1. `ENDERUN.md` (anayasa)
|
|
637
|
-
2. `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md` (proje durumu)
|
|
638
|
-
3. `docs/` dosyaları (gereksinimler)
|
|
639
|
-
4. `{{FRAMEWORK_DIR}}/knowledge/` (teknik rehberler)
|
|
253
|
+
Agent Enderun dört ana katmandan oluşur:
|
|
640
254
|
|
|
641
|
-
|
|
642
|
-
**
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
**C:** Evet. `packages/framework-mcp/src/tools/` klasörüne yeni dosya ekleyin.
|
|
646
|
-
|
|
647
|
-
### S: Kendi ajanlarımı ekleyebilir miyim?
|
|
648
|
-
**C:** Evet. `{{FRAMEWORK_DIR}}/agents/` klasörüne `.md` dosyası oluşturun ve CLI mapping'ini güncelleyin.
|
|
649
|
-
|
|
650
|
-
### S: Üretim için hazır mı?
|
|
651
|
-
**C:** Framework hazır. `apps/` klasörü tamamen sizin.
|
|
652
|
-
|
|
653
|
-
---
|
|
654
|
-
|
|
655
|
-
## 🔗 Önce Okumanız Gereken Dosyalar
|
|
656
|
-
|
|
657
|
-
1. **`{{FRAMEWORK_DIR}}/ENDERUN.md`** — Anayasa
|
|
658
|
-
2. **`{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md`** — Proje durumu
|
|
659
|
-
3. **`docs/tech-stack.md`** — Teknoloji kararları
|
|
660
|
-
4. **`packages/shared-types/src/index.ts`** — Sözleşme (türler)
|
|
661
|
-
5. **`README.md`** — Bu dosya
|
|
255
|
+
- **Yönetişim Katmanı** (`{{FRAMEWORK_DIR}}/`) — Anayasa (`ENDERUN.md`), bellek (`PROJECT_MEMORY.md`), ajan tanımları, bilgi tabanı, loglar
|
|
256
|
+
- **Zeka Katmanı** (`framework-mcp/`) — 40+ MCP aracı (kod analizi, scaffolding, kontrat doğrulama, ajan iletişimi, güvenlik taraması vb.)
|
|
257
|
+
- **CLI Katmanı** (`bin/`) — Proje başlatma ve adaptör otomasyonu
|
|
258
|
+
- **Uygulama Katmanı** (`apps/`) — Gerçek kullanıcı uygulamalarının geliştirileceği alan (şu anda boş — referans uygulama en yüksek önceliktir)
|
|
662
259
|
|
|
663
260
|
---
|
|
664
261
|
|
|
665
|
-
##
|
|
666
|
-
|
|
667
|
-
### Sorun Bildir
|
|
668
|
-
Net adımlarla ve versiyon numarası ile sorun bildir.
|
|
262
|
+
## ⚡ Hızlı Başlangıç
|
|
669
263
|
|
|
670
|
-
### Katkıda Bulun
|
|
671
|
-
1. `{{FRAMEWORK_DIR}}/ENDERUN.md` oku
|
|
672
|
-
2. Agent rolü yönergelerine uyun
|
|
673
|
-
3. Semantik commit'ler gönder
|
|
674
|
-
4. Testleri geç: `npm run enderun:build`
|
|
675
|
-
|
|
676
|
-
### Lisans
|
|
677
|
-
MIT © 2026 Yusuf BEKAR
|
|
678
264
|
```bash
|
|
679
|
-
|
|
680
|
-
|
|
265
|
+
# 1. Framework'ü başlat (.enderun/ klasörünü oluşturur)
|
|
266
|
+
npx agent-enderun init
|
|
681
267
|
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
# Run Security Audit
|
|
685
|
-
agent-enderun check:security
|
|
268
|
+
# 2. Bağımlılıkları yükle
|
|
269
|
+
npm install
|
|
686
270
|
|
|
687
|
-
#
|
|
688
|
-
|
|
271
|
+
# 3. Framework’ü derle
|
|
272
|
+
npm run enderun:build
|
|
689
273
|
|
|
690
|
-
#
|
|
691
|
-
agent-enderun
|
|
274
|
+
# 4. Kurulumu doğrula
|
|
275
|
+
npx agent-enderun check
|
|
692
276
|
```
|
|
693
277
|
|
|
694
|
-
|
|
278
|
+
> **💡 Özel Adaptör Seçeneği:** İsterseniz belirli bir yapay zeka asistanı veya editör adaptörü ile de başlatabilirsiniz:
|
|
279
|
+
> `npx agent-enderun init [antigravity | claude | cursor | codex | gemini]`
|
|
695
280
|
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
All governance and engineering assets are consolidated under the framework directory for a clean project root.
|
|
699
|
-
|
|
700
|
-
```text
|
|
701
|
-
.
|
|
702
|
-
├── {{FRAMEWORK_DIR}}/
|
|
703
|
-
│ ├── ENDERUN.md # Supreme Law (Constitution)
|
|
704
|
-
│ ├── PROJECT_MEMORY.md # Working Memory & History
|
|
705
|
-
│ ├── BRAIN_DASHBOARD.md # Intelligence & Performance Stats
|
|
706
|
-
│ ├── cli-commands.json # Agent-to-CLI Mapping
|
|
707
|
-
│ ├── agents/ # 8 Specialized Agent SOPs
|
|
708
|
-
│ ├── knowledge/ # 17+ Enterprise Knowledge Articles
|
|
709
|
-
│ ├── docs/ # API Contracts, Security, Privacy, Strategy
|
|
710
|
-
│ ├── logs/ # Traceable structured JSON logs
|
|
711
|
-
│ ├── benchmarks/ # Performance metrics
|
|
712
|
-
│ └── monitoring/ # System health hooks
|
|
713
|
-
├── bin/ # CLI Entry Point
|
|
714
|
-
├── packages/ # Shared Types & MCP Engine
|
|
715
|
-
└── apps/ # Production Modules (Backend, Web, Mobile)
|
|
716
|
-
```
|
|
281
|
+
Adım adım detaylı kurulum rehberi için: [docs/getting-started.md](docs/getting-started.md)
|
|
717
282
|
|
|
718
283
|
---
|
|
719
284
|
|
|
720
|
-
##
|
|
285
|
+
## 🧠 Dürüst Durum (23 Mayıs 2026)
|
|
721
286
|
|
|
722
|
-
|
|
723
|
-
-
|
|
724
|
-
-
|
|
725
|
-
-
|
|
287
|
+
**Güçlü Yönler:**
|
|
288
|
+
- Anayasal yönetişim ve zorunlu kurallar sistemi
|
|
289
|
+
- Risk yönetimi ve ajan profesyonelleşme altyapısı
|
|
290
|
+
- Hermes protokolünün teknik temeli ve zorunlu kullanım kuralları
|
|
291
|
+
- Backend tarafında güçlü desenler ve contract-first disiplini
|
|
292
|
+
- Bellek disiplini ve kalıcı denetim kaydı
|
|
726
293
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
-
|
|
733
|
-
- **Panda CSS Only:** Zero-runtime CSS-in-JS for high-performance UI.
|
|
734
|
-
- **Contract-First:** Schemas are defined in `shared-types` BEFORE implementation.
|
|
294
|
+
**Hâlâ Geliştirilmesi Gereken Alanlar:**
|
|
295
|
+
- Henüz tam teşekküllü bir referans uygulama bulunmamaktadır (en yüksek öncelik)
|
|
296
|
+
- @frontend henüz hedef olgunluk seviyesine ulaşmamıştır
|
|
297
|
+
- Hermes protokolü henüz gerçek çoklu ajan senaryolarında tam olarak test edilmemiştir
|
|
298
|
+
- Gerçek uzun vadeli kullanım verisi sınırlıdır
|
|
299
|
+
- Mobile ve Native ajanlar erken aşamadadır
|
|
735
300
|
|
|
736
301
|
---
|
|
737
302
|
|
|
738
|
-
##
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
303
|
+
## 📍 Önümüzdeki Önemli Hedefler
|
|
304
|
+
|
|
305
|
+
1. Normal CRUD + Yüksek Riskli Admin işlemi + Hermes kullanımını gösteren gerçek bir referans uygulama kurmak
|
|
306
|
+
2. @frontend Profesyonelleşme Programını tamamlamak (hedef: 9.0)
|
|
307
|
+
3. Hermes Live Test Programını çalıştırıp riski kapatmak
|
|
308
|
+
4. Tüm ajanları minimum 8.0 olgunluk seviyesine çıkarmak
|
|
744
309
|
|
|
745
310
|
---
|
|
746
311
|
|
|
747
|
-
##
|
|
312
|
+
## 📚 İlgili Dokümanlar
|
|
748
313
|
|
|
749
|
-
-
|
|
750
|
-
-
|
|
751
|
-
-
|
|
752
|
-
-
|
|
314
|
+
- **[docs/roadmap.md](docs/roadmap.md)** — Risk Takip Panosu ve geliştirme yol haritası
|
|
315
|
+
- **[docs/strategic-review-2026-05.md](docs/strategic-review-2026-05.md)** — Bağımsız stratejik değerlendirme raporu
|
|
316
|
+
- **.enderun/agents/** — 8 ajanın detaylı Standart İş Prosedürleri (SOP)
|
|
317
|
+
- **.enderun/knowledge/** — Uzmanlaşmış teknik ve yönetişim rehberleri
|
|
753
318
|
|
|
754
319
|
---
|
|
755
320
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
lders are forbidden. Every line of code must be functional.
|
|
759
|
-
- **Branded Types:** IDs must be type-safe (e.g., `UserID` vs `string`).
|
|
760
|
-
- **Panda CSS Only:** Zero-runtime CSS-in-JS for high-performance UI.
|
|
761
|
-
- **Contract-First:** Schemas are defined in `shared-types` BEFORE implementation.
|
|
321
|
+
**Agent Enderun yalnızca bir araç değildir.**
|
|
322
|
+
**Profesyonel, yapay zeka destekli yazılım geliştirme süreçleri için eksiksiz bir işletim sistemidir.**
|
|
762
323
|
|
|
763
324
|
---
|
|
764
325
|
|
|
765
|
-
|
|
766
|
-
MIT © 2026 Yusuf BEKAR — **Agent Enderun: The Future of AI Governance.**
|
|
326
|
+
**README’nin her iki dili de (English + Türkçe) detaylı ve profesyonel şekilde tamamlandı.**
|