agent-enderun 0.6.0 → 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 +117 -3
- package/.enderun/STATUS.md +4 -4
- package/.enderun/agents/analyst.md +98 -12
- 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 +63 -19
- package/.enderun/agents/native.md +61 -11
- package/.enderun/blueprints/backend/errors/blueprint.json +11 -0
- package/.enderun/blueprints/backend/errors/domain-error.ts +34 -55
- package/.enderun/docs/tech-stack.md +7 -8
- package/.enderun/knowledge/contract_versioning.md +1 -1
- 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 +12 -4
- package/README.md +185 -626
- package/antigravity.md +15 -0
- package/bin/cli.js +105 -30
- package/bin/update-contract.js +2 -2
- 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 +2 -2
- 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,758 +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.
|
|
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.
|
|
23
16
|
|
|
24
|
-
|
|
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.
|
|
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.
|
|
28
18
|
|
|
29
|
-
###
|
|
19
|
+
### Current Strategic Focus (May 2026)
|
|
30
20
|
|
|
31
|
-
|
|
21
|
+
The framework has entered a new phase: **Risk-Driven Agent Professionalization**.
|
|
32
22
|
|
|
33
|
-
|
|
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ı.
|
|
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.
|
|
37
24
|
|
|
38
|
-
|
|
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
|
|
25
|
+
> **📋 Full Risk Tracking Dashboard**
|
|
26
|
+
> See the live status of all active risks: [docs/roadmap.md](docs/roadmap.md)
|
|
45
27
|
|
|
46
28
|
---
|
|
47
29
|
|
|
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
|
-
```
|
|
30
|
+
## 🎯 Core Philosophy
|
|
67
31
|
|
|
68
|
-
|
|
69
|
-
```bash
|
|
70
|
-
npm install
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
#### Step 3: Build Framework
|
|
74
|
-
```bash
|
|
75
|
-
npm run enderun:build
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
#### Step 4: Verify Setup
|
|
79
|
-
```bash
|
|
80
|
-
agent-enderun check
|
|
81
|
-
```
|
|
32
|
+
Agent Enderun is built on four non-negotiable principles:
|
|
82
33
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
✅ Shared types compiled
|
|
88
|
-
✅ Agent logs initialized
|
|
89
|
-
✅ PROJECT_MEMORY.md found
|
|
90
|
-
```
|
|
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.
|
|
91
38
|
|
|
92
39
|
---
|
|
93
40
|
|
|
94
|
-
##
|
|
41
|
+
## 📊 Active Risk Tracking Dashboard (23 May 2026)
|
|
95
42
|
|
|
96
|
-
|
|
43
|
+
We are currently managing the following 6 critical risks with dedicated improvement programs:
|
|
97
44
|
|
|
98
|
-
|
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
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 |
|
|
104
53
|
|
|
105
|
-
|
|
106
|
-
> After `init claude`, copy and run the `claude config add ...` command shown in the terminal output.
|
|
54
|
+
Each risk has a dedicated knowledge file and a clear improvement roadmap.
|
|
107
55
|
|
|
108
56
|
---
|
|
109
57
|
|
|
110
|
-
##
|
|
111
|
-
|
|
112
|
-
### Initialize Your Project
|
|
113
|
-
```bash
|
|
114
|
-
# Creates {{FRAMEWORK_DIR}}/ directory with governance files
|
|
115
|
-
npx agent-enderun init gemini
|
|
116
|
-
```
|
|
58
|
+
## 🤖 Agent Maturity Program (Target: All Agents ≥ 8.0)
|
|
117
59
|
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
# Runs security audit, compliance check, and dependency analysis
|
|
121
|
-
agent-enderun check
|
|
60
|
+
We are running a structured professionalization program for all agents. Current maturity levels (May 2026):
|
|
122
61
|
|
|
123
|
-
|
|
124
|
-
|
|
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 |
|
|
125
72
|
|
|
126
|
-
|
|
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
|
-
```
|
|
135
|
-
|
|
136
|
-
### Create a New Task
|
|
137
|
-
```bash
|
|
138
|
-
# Creates a ULID-based trace for a new feature
|
|
139
|
-
agent-enderun trace:new "Implement User Authentication" backend P1
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Verify API Contracts
|
|
143
|
-
```bash
|
|
144
|
-
# Ensures shared-types and API docs are synchronized
|
|
145
|
-
agent-enderun verify-contract
|
|
146
|
-
```
|
|
73
|
+
Full details and weekly plans are maintained in the Risk Tracking Dashboard.
|
|
147
74
|
|
|
148
75
|
---
|
|
149
76
|
|
|
150
|
-
##
|
|
77
|
+
## 🛡️ Key Governance Innovations (v0.6.5)
|
|
151
78
|
|
|
152
|
-
|
|
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.
|
|
153
81
|
|
|
154
|
-
###
|
|
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
|
-
```
|
|
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”.
|
|
166
84
|
|
|
167
|
-
###
|
|
168
|
-
|
|
169
|
-
bin/cli.js ← CLI bootstrapper
|
|
170
|
-
packages/
|
|
171
|
-
├── framework-mcp/ ← 40+ MCP tools (12 categories)
|
|
172
|
-
└── shared-types/ ← Branded types (single source of truth)
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
### Layer 3: Documentation (docs/)
|
|
176
|
-
```
|
|
177
|
-
docs/
|
|
178
|
-
├── tech-stack.md ← Approved technology stack
|
|
179
|
-
├── project-docs.md ← Product requirements (template)
|
|
180
|
-
└── [your project files] ← Your documents (agents will read these)
|
|
181
|
-
```
|
|
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.
|
|
182
87
|
|
|
183
|
-
###
|
|
184
|
-
|
|
185
|
-
apps/
|
|
186
|
-
├── backend/ ← Your backend app (create this)
|
|
187
|
-
├── web/ ← Your frontend app (create this)
|
|
188
|
-
└── [other apps]/ ← Mobile, desktop, etc.
|
|
189
|
-
```
|
|
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.
|
|
190
90
|
|
|
191
91
|
---
|
|
192
92
|
|
|
193
|
-
##
|
|
93
|
+
## 🏗️ Architecture Overview
|
|
194
94
|
|
|
195
|
-
|
|
95
|
+
Agent Enderun is built on four layers:
|
|
196
96
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
| **@backend** | Data Architecture | Database schema, API contracts, shared-types integrity, Kysely standards |
|
|
202
|
-
| **@frontend** | UI Development | React components, Panda CSS styling, Zero-UI Library enforcement, responsive design |
|
|
203
|
-
| **@explorer** | Code Intelligence | Dependency graphs, complexity analysis, dead code detection, legacy code mapping |
|
|
204
|
-
| **@git** | Repository Master | Semantic commits, branch management, conflict resolution, merge strategies |
|
|
205
|
-
| **@mobile** | Mobile Apps | React Native, Expo, iOS/Android specifics, performance optimization |
|
|
206
|
-
| **@native** | Native Apps | Tauri, Electron, native performance, IPC protocols, system integration |
|
|
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)
|
|
207
101
|
|
|
208
102
|
---
|
|
209
103
|
|
|
210
|
-
##
|
|
211
|
-
|
|
212
|
-
The framework provides **40+ tools** organized in 12 categories. Agents use these automatically.
|
|
213
|
-
|
|
214
|
-
### Framework Tools
|
|
215
|
-
- `get_framework_status` — Check framework health
|
|
216
|
-
- `get_project_gaps` — Identify missing files/structure
|
|
217
|
-
- `get_memory_insights` — Analyze PROJECT_MEMORY
|
|
218
|
-
- `bootstrap_legacy_memory` — Auto-detect existing projects
|
|
219
|
-
|
|
220
|
-
### Codebase Tools
|
|
221
|
-
- `search_codebase` — Find code patterns
|
|
222
|
-
- `analyze_dependencies` — Map imports/exports
|
|
223
|
-
- `analyze_codebase_intelligence` — Find complexity & dead code
|
|
224
|
-
- `generate_dependency_graph` — Mermaid diagrams
|
|
225
|
-
|
|
226
|
-
### Security & Compliance
|
|
227
|
-
- `security_audit_scan` — Check for secrets, SQL injection, console.log
|
|
228
|
-
- `analyze_constitution_compliance` — Enforce ENDERUN.md rules
|
|
229
|
-
|
|
230
|
-
### Contract Management
|
|
231
|
-
- `verify_api_contract` — Hash verification
|
|
232
|
-
- `verify_contract_integrity` — Type synchronization
|
|
233
|
-
- `update_contract_hash` — Sync shared-types
|
|
234
|
-
|
|
235
|
-
### Git & Commits
|
|
236
|
-
- `generate_semantic_commit_message` — Auto-generate commit messages
|
|
237
|
-
|
|
238
|
-
### Academy Intelligence
|
|
239
|
-
- `get_academy_performance` — Agent success rates
|
|
240
|
-
- `generate_strategic_briefing` — High-level reports
|
|
241
|
-
- `log_agent_action` — Structured logging
|
|
242
|
-
|
|
243
|
-
### Repository Health
|
|
244
|
-
- `validate_repository_health` — Run lint/test/build
|
|
245
|
-
- `analyze_documentation_debt` — Find missing JSDoc/READMEs
|
|
246
|
-
|
|
247
|
-
### Agent Collaboration
|
|
248
|
-
- `send_agent_message` — Inter-agent communication
|
|
249
|
-
- `read_agent_messages` — Check agent inbox
|
|
250
|
-
|
|
251
|
-
### Database & Knowledge
|
|
252
|
-
- `analyze_database_schema` — Extract ER diagrams
|
|
253
|
-
- `search_knowledge_base` — Find technical guides
|
|
254
|
-
- `update_knowledge_base` — Add knowledge entries
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
## 📖 How Agents Read Your Project
|
|
259
|
-
|
|
260
|
-
When you add documentation to `docs/`, agents automatically discover and use it:
|
|
261
|
-
|
|
262
|
-
```
|
|
263
|
-
docs/
|
|
264
|
-
├── project-docs.md ← Agents read here for requirements
|
|
265
|
-
├── tech-stack.md ← Technology decisions
|
|
266
|
-
├── design-system.md ← (optional) UI patterns
|
|
267
|
-
├── api-guide.md ← (optional) API examples
|
|
268
|
-
└── architecture.md ← (optional) System design
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
Agents use the `search_knowledge_base` tool to find answers to common questions.
|
|
272
|
-
|
|
273
|
-
---
|
|
274
|
-
|
|
275
|
-
## ✅ Complete Installation Checklist
|
|
276
|
-
|
|
277
|
-
- [ ] **Node.js 20+** installed (`node --version`)
|
|
278
|
-
- [ ] **npm 9+** installed (`npm --version`)
|
|
279
|
-
- [ ] **Git** initialized (`git init`)
|
|
280
|
-
- [ ] **Framework installed** (`npm install && npm run enderun:build`)
|
|
281
|
-
- [ ] **Health check passed** (`agent-enderun check` shows ✅)
|
|
282
|
-
- [ ] **First task created** (`agent-enderun trace:new "Your task" backend P1`)
|
|
283
|
-
- [ ] **Docs created** (add files to `docs/` for agents to read)
|
|
284
|
-
- [ ] **MCP connected** (agents can now use tools)
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
## 🚀 First Real Task
|
|
289
|
-
|
|
290
|
-
Once everything is installed, try this:
|
|
104
|
+
## ⚡ Quick Start
|
|
291
105
|
|
|
292
106
|
```bash
|
|
293
|
-
#
|
|
294
|
-
|
|
107
|
+
# 1. Initialize the framework (generates the .enderun/ structure)
|
|
108
|
+
npx agent-enderun init
|
|
295
109
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
- Logout endpoint
|
|
299
|
-
- Token refresh mechanism
|
|
300
|
-
" > docs/requirements.md
|
|
110
|
+
# 2. Install dependencies
|
|
111
|
+
npm install
|
|
301
112
|
|
|
302
|
-
#
|
|
303
|
-
|
|
113
|
+
# 3. Build the framework
|
|
114
|
+
npm run enderun:build
|
|
304
115
|
|
|
305
|
-
#
|
|
306
|
-
|
|
116
|
+
# 4. Verify setup
|
|
117
|
+
npx agent-enderun check
|
|
307
118
|
```
|
|
308
119
|
|
|
309
|
-
|
|
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
|
-
|
|
313
|
-
```
|
|
314
|
-
agent-enderun/
|
|
315
|
-
├── README.md ← This file
|
|
316
|
-
├── package.json ← Root npm config
|
|
317
|
-
├── bin/
|
|
318
|
-
│ └── cli.js ← CLI entry point
|
|
319
|
-
├── docs/ ← Your project docs (agents read these)
|
|
320
|
-
├── framework-mcp/ ← MCP server (40+ tools)
|
|
321
|
-
│ └── src/tools/
|
|
322
|
-
│ ├── scaffold.ts ← Blueprint construction
|
|
323
|
-
│ ├── academy.ts
|
|
324
|
-
│ ├── codebase.ts
|
|
325
|
-
│ └── [10 more...]
|
|
326
|
-
├── apps/ ← Your applications (start here)
|
|
327
|
-
│ ├── backend/
|
|
328
|
-
│ │ ├── src/types/ ← App-local contract types
|
|
329
|
-
│ │ └── contract.version.json ← SHA-256 integrity hash
|
|
330
|
-
│ └── web/
|
|
331
|
-
│ └── src/types/ ← Frontend mirrors of backend types
|
|
332
|
-
└── {{FRAMEWORK_DIR}}/ ← Framework governance
|
|
333
|
-
├── ENDERUN.md ← Constitution (MANDATORY READ)
|
|
334
|
-
├── PROJECT_MEMORY.md ← State machine
|
|
335
|
-
├── STATUS.md ← Agent dashboard
|
|
336
|
-
├── cli-commands.json ← Command ownership
|
|
337
|
-
├── config.json ← Configuration
|
|
338
|
-
├── agents/ ← 8 agent role docs
|
|
339
|
-
│ ├── manager.md
|
|
340
|
-
│ ├── analyst.md
|
|
341
|
-
│ ├── backend.md
|
|
342
|
-
│ ├── frontend.md
|
|
343
|
-
│ ├── explorer.md
|
|
344
|
-
│ ├── git.md
|
|
345
|
-
│ ├── mobile.md
|
|
346
|
-
│ └── native.md
|
|
347
|
-
├── logs/ ← Audit trail
|
|
348
|
-
│ ├── manager.json
|
|
349
|
-
│ ├── backend.json
|
|
350
|
-
│ ├── frontend.json
|
|
351
|
-
│ ├── analyst.json
|
|
352
|
-
│ ├── explorer.json
|
|
353
|
-
│ ├── git.json
|
|
354
|
-
│ ├── mobile.json
|
|
355
|
-
│ └── native.json
|
|
356
|
-
├── knowledge/ ← 16+ technical guides
|
|
357
|
-
│ ├── branded_types_pattern.md
|
|
358
|
-
│ ├── async_error_handling.md
|
|
359
|
-
│ ├── security_scanning.md
|
|
360
|
-
│ ├── contract_versioning.md
|
|
361
|
-
│ ├── git_commit_strategy.md
|
|
362
|
-
│ ├── testing_standards.md
|
|
363
|
-
│ └── [12 more...]
|
|
364
|
-
├── messages/ ← Inter-agent communication
|
|
365
|
-
└── docs/
|
|
366
|
-
├── api/ ← API contracts
|
|
367
|
-
│ ├── auth.md
|
|
368
|
-
│ ├── errors.md
|
|
369
|
-
│ └── README.md
|
|
370
|
-
└── [other docs]
|
|
371
|
-
```
|
|
123
|
+
For a complete step-by-step guide, see: [docs/getting-started.md](docs/getting-started.md)
|
|
372
124
|
|
|
373
125
|
---
|
|
374
126
|
|
|
375
|
-
##
|
|
376
|
-
|
|
377
|
-
### Q: What does "contract-first" mean?
|
|
378
|
-
**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.
|
|
379
|
-
|
|
380
|
-
### Q: Do agents actually understand all this?
|
|
381
|
-
**A:** Yes. Before every action, agents read:
|
|
382
|
-
1. `ENDERUN.md` (the constitution)
|
|
383
|
-
2. `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md` (project state)
|
|
384
|
-
3. `docs/` files (your requirements)
|
|
385
|
-
4. `{{FRAMEWORK_DIR}}/knowledge/` (technical guidelines)
|
|
386
|
-
|
|
387
|
-
### Q: What if I don't use an AI adapter?
|
|
388
|
-
**A:** The framework still works as a **collaborative development platform**. You and your team use it to enforce:
|
|
389
|
-
- Phase progression
|
|
390
|
-
- Audit logging
|
|
391
|
-
- Shared type discipline
|
|
392
|
-
- API contract verification
|
|
127
|
+
## 🧠 Current Honest Status (23 May 2026)
|
|
393
128
|
|
|
394
|
-
|
|
395
|
-
|
|
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
|
|
396
135
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
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
|
|
402
142
|
|
|
403
143
|
---
|
|
404
144
|
|
|
405
|
-
##
|
|
145
|
+
## 📍 Next Major Milestones
|
|
406
146
|
|
|
407
|
-
1.
|
|
408
|
-
2.
|
|
409
|
-
3.
|
|
410
|
-
4.
|
|
411
|
-
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
|
|
412
151
|
|
|
413
152
|
---
|
|
414
153
|
|
|
415
|
-
##
|
|
154
|
+
## 📚 Further Reading
|
|
416
155
|
|
|
417
|
-
|
|
418
|
-
|
|
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
|
|
419
160
|
|
|
420
|
-
|
|
421
|
-
1. Read `{{FRAMEWORK_DIR}}/ENDERUN.md`
|
|
422
|
-
2. Follow the agent role guidelines
|
|
423
|
-
3. Submit PRs with semantic commit messages
|
|
424
|
-
4. Ensure tests pass: `npm run enderun:build`
|
|
161
|
+
---
|
|
425
162
|
|
|
426
|
-
|
|
427
|
-
MIT © 2026 Yusuf BEKAR
|
|
163
|
+
**Agent Enderun is not just a tool. It is a complete operating system for professional AI-assisted software development.**
|
|
428
164
|
|
|
429
165
|
---
|
|
430
166
|
|
|
431
167
|
# Türkçe
|
|
432
168
|
|
|
433
|
-
|
|
169
|
+
**Geliştirici:** Yusuf BEKAR
|
|
434
170
|
|
|
435
|
-
|
|
171
|
+
## Yönetici Özeti
|
|
436
172
|
|
|
437
|
-
|
|
438
|
-
- **Sözleşme-İlk Geliştirme**: Paylaşılan TypeScript türleri
|
|
439
|
-
- **Faz Tabanlı Yürütme**: Sıkı iş akışı (PHASE_0 → PHASE_4)
|
|
440
|
-
- **Kurumsal Denetim**: Her karar, işlem ve commit kaydedilir
|
|
441
|
-
- **Modüler MCP Zekası**: 40+ araç, 12 kategori
|
|
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.
|
|
442
174
|
|
|
443
|
-
|
|
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.
|
|
444
176
|
|
|
445
|
-
|
|
177
|
+
### Mayıs 2026 İtibarıyla Stratejik Odak
|
|
446
178
|
|
|
447
|
-
|
|
448
|
-
- **Node.js**: 20+ (LTS önerilir)
|
|
449
|
-
- **npm**: 9+
|
|
450
|
-
- **Git**: Proje kökünde başlatılmış
|
|
451
|
-
- **AI Adaptörü** (opsiyonel): Gemini, Claude, Cursor veya Codex
|
|
179
|
+
Framework, yeni ve daha olgun bir döneme girmiş durumdadır: **Risk Odaklı Ajan Profesyonelleşmesi**.
|
|
452
180
|
|
|
453
|
-
|
|
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.
|
|
454
182
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
# Seçenek A: Framework repository'sini klonla
|
|
458
|
-
git clone https://github.com/ybekar/agent-enderun.git
|
|
459
|
-
cd agent-enderun
|
|
183
|
+
> **📋 Risk Takip Panosu**
|
|
184
|
+
> Tüm aktif risklerin güncel durumunu görmek için: [docs/roadmap.md](docs/roadmap.md)
|
|
460
185
|
|
|
461
|
-
|
|
462
|
-
npx agent-enderun init gemini
|
|
463
|
-
```
|
|
186
|
+
---
|
|
464
187
|
|
|
465
|
-
|
|
466
|
-
```bash
|
|
467
|
-
npm install
|
|
468
|
-
```
|
|
188
|
+
## 🎯 Temel Felsefe
|
|
469
189
|
|
|
470
|
-
|
|
471
|
-
```bash
|
|
472
|
-
npm run enderun:build
|
|
473
|
-
```
|
|
190
|
+
Agent Enderun dört vazgeçilmez ilke üzerine inşa edilmiştir:
|
|
474
191
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
Beklenen çıktı:
|
|
481
|
-
```
|
|
482
|
-
✅ Framework aktif (v0.5.8)
|
|
483
|
-
✅ MCP Sunucu hazır
|
|
484
|
-
✅ Paylaşılan türler derlenmiş
|
|
485
|
-
✅ Agent logları başlatılmış
|
|
486
|
-
✅ PROJECT_MEMORY.md bulundu
|
|
487
|
-
```
|
|
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.
|
|
488
196
|
|
|
489
197
|
---
|
|
490
198
|
|
|
491
|
-
##
|
|
492
|
-
|
|
493
|
-
### Projeyi Başlat
|
|
494
|
-
```bash
|
|
495
|
-
npx agent-enderun init gemini
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
### Sağlık Durumunu Kontrol Et
|
|
499
|
-
```bash
|
|
500
|
-
agent-enderun check # Tam kontrol
|
|
501
|
-
agent-enderun check:security # Sadece güvenlik
|
|
502
|
-
agent-enderun check:compliance # Sadece uyum
|
|
503
|
-
```
|
|
199
|
+
## 📊 Aktif Risk Takip Panosu (23 Mayıs 2026)
|
|
504
200
|
|
|
505
|
-
|
|
506
|
-
```bash
|
|
507
|
-
agent-enderun status
|
|
508
|
-
```
|
|
201
|
+
Şu anda aşağıdaki 6 kritik risk, özel iyileştirme programlarıyla aktif olarak yönetilmektedir:
|
|
509
202
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
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 |
|
|
514
211
|
|
|
515
|
-
|
|
516
|
-
```bash
|
|
517
|
-
agent-enderun verify-contract
|
|
518
|
-
```
|
|
212
|
+
Her risk için ayrı bir knowledge dosyası ve net bir iyileştirme yol haritası bulunmaktadır.
|
|
519
213
|
|
|
520
214
|
---
|
|
521
215
|
|
|
522
|
-
## 🤖
|
|
216
|
+
## 🤖 Ajan Olgunluk Programı (Hedef: Tüm Ajanlar ≥ 8.0)
|
|
523
217
|
|
|
524
|
-
|
|
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:
|
|
525
219
|
|
|
526
|
-
|
|
|
527
|
-
|
|
528
|
-
| **
|
|
529
|
-
| **
|
|
530
|
-
| **
|
|
531
|
-
| **
|
|
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 |
|
|
532
230
|
|
|
533
|
-
|
|
534
|
-
> `init claude` sonrası terminal çıktısındaki `claude config add ...` komutunu kopyalayıp çalıştırın.
|
|
231
|
+
Detaylı haftalık planlar ve gelişim raporları Risk Takip Panosu’nda yer almaktadır.
|
|
535
232
|
|
|
536
233
|
---
|
|
537
234
|
|
|
538
|
-
##
|
|
539
|
-
|
|
540
|
-
Agent Enderun **4 entegre katmandan** oluşur:
|
|
235
|
+
## 🛡️ Önemli Yönetişim Yenilikleri (v0.6.5)
|
|
541
236
|
|
|
542
|
-
###
|
|
543
|
-
|
|
544
|
-
- `PROJECT_MEMORY.md` — Proje durumu
|
|
545
|
-
- `agents/` — 8 ajan rolü tanımları
|
|
546
|
-
- `logs/` — Denetim kaydı
|
|
547
|
-
- `knowledge/` — 16+ teknik rehberi
|
|
548
|
-
- `docs/api/` — API sözleşmeleri
|
|
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.
|
|
549
239
|
|
|
550
|
-
###
|
|
551
|
-
|
|
552
|
-
- `packages/shared-types/` — Paylaşılan türler (sözleşme)
|
|
553
|
-
- `bin/cli.js` — CLI başlatıcısı
|
|
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.
|
|
554
242
|
|
|
555
|
-
###
|
|
556
|
-
|
|
557
|
-
- `docs/project-docs.md` — Ürün gereksinimleri
|
|
558
|
-
- Ajanlar bu dosyaları okurlar
|
|
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.
|
|
559
245
|
|
|
560
|
-
###
|
|
561
|
-
|
|
562
|
-
- `apps/web/` — Frontend uyguması (siz oluşturun)
|
|
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.
|
|
563
248
|
|
|
564
249
|
---
|
|
565
250
|
|
|
566
|
-
##
|
|
567
|
-
|
|
568
|
-
| Ajan | Uzmanlık | Görev |
|
|
569
|
-
|---|---|---|
|
|
570
|
-
| **@manager** | Orkestrasyoun | Faz yönetimi, trace ID, görev delegasyonu |
|
|
571
|
-
| **@analyst** | Kalite Kontrol | Güvenlik denetimi, uyum kontrolü, kod incelemesi |
|
|
572
|
-
| **@backend** | Veri Mimarisi | Veritabanı, API kontratları, Kysely standartları |
|
|
573
|
-
| **@frontend** | UI Geliştirme | React, Panda CSS, bileşen tasarımı |
|
|
574
|
-
| **@explorer** | Kod Zekası | Bağımlılıklar, karmaşıklık, ölü kod |
|
|
575
|
-
| **@git** | Repository Ustası | Semantik commit'ler, branch yönetimi |
|
|
576
|
-
| **@mobile** | Mobil Uygulamalar | React Native, Expo, iOS/Android |
|
|
577
|
-
| **@native** | Yerel Uygulamalar | Tauri, Electron, sistem entegrasyonu |
|
|
578
|
-
|
|
579
|
-
---
|
|
251
|
+
## 🏗️ Mimari Özet
|
|
580
252
|
|
|
581
|
-
|
|
253
|
+
Agent Enderun dört ana katmandan oluşur:
|
|
582
254
|
|
|
583
|
-
-
|
|
584
|
-
-
|
|
585
|
-
-
|
|
586
|
-
-
|
|
587
|
-
- [ ] **Sağlık kontrolü geçti** (`agent-enderun check` ✅ gösteriyor)
|
|
588
|
-
- [ ] **İlk görev oluşturuldu** (`agent-enderun trace:new "Görev" backend P1`)
|
|
589
|
-
- [ ] **Doklar oluşturuldu** (`docs/` klasörüne dosya ekledim)
|
|
590
|
-
- [ ] **MCP bağlandı** (ajanlar araçları kullanabiliyor)
|
|
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)
|
|
591
259
|
|
|
592
260
|
---
|
|
593
261
|
|
|
594
|
-
##
|
|
595
|
-
|
|
596
|
-
Kurulum tamamlandıktan sonra bunu deneyin:
|
|
262
|
+
## ⚡ Hızlı Başlangıç
|
|
597
263
|
|
|
598
264
|
```bash
|
|
599
|
-
#
|
|
600
|
-
|
|
265
|
+
# 1. Framework'ü başlat (.enderun/ klasörünü oluşturur)
|
|
266
|
+
npx agent-enderun init
|
|
601
267
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
- Oturumu kapat endpoint'i
|
|
605
|
-
- Token yenileme mekanizması
|
|
606
|
-
" > docs/requirements.md
|
|
268
|
+
# 2. Bağımlılıkları yükle
|
|
269
|
+
npm install
|
|
607
270
|
|
|
608
|
-
#
|
|
609
|
-
|
|
271
|
+
# 3. Framework’ü derle
|
|
272
|
+
npm run enderun:build
|
|
610
273
|
|
|
611
|
-
#
|
|
612
|
-
|
|
274
|
+
# 4. Kurulumu doğrula
|
|
275
|
+
npx agent-enderun check
|
|
613
276
|
```
|
|
614
277
|
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
## 📁 Proje Yapısı
|
|
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]`
|
|
618
280
|
|
|
619
|
-
|
|
620
|
-
agent-enderun/
|
|
621
|
-
├── docs/ ← Ajanların okuyacağı dokümantasyon
|
|
622
|
-
├── packages/
|
|
623
|
-
│ ├── shared-types/ ← Paylaşılan türler (sözleşme)
|
|
624
|
-
│ └── framework-mcp/ ← MCP sunucusu (40+ araç)
|
|
625
|
-
├── apps/ ← Uygulamalarınız (siz oluşturun)
|
|
626
|
-
├── {{FRAMEWORK_DIR}}/ ← Yönetişim dosyaları
|
|
627
|
-
│ ├── ENDERUN.md ← Anayasa (OKUNMALI)
|
|
628
|
-
│ ├── PROJECT_MEMORY.md ← Proje durumu
|
|
629
|
-
│ ├── agents/ ← 8 ajan tanımı
|
|
630
|
-
│ ├── logs/ ← Denetim kaydı
|
|
631
|
-
│ ├── knowledge/ ← 16+ rehber
|
|
632
|
-
│ └── docs/api/ ← API sözleşmeleri
|
|
633
|
-
└── bin/
|
|
634
|
-
└── cli.js ← CLI giriş noktası
|
|
635
|
-
```
|
|
281
|
+
Adım adım detaylı kurulum rehberi için: [docs/getting-started.md](docs/getting-started.md)
|
|
636
282
|
|
|
637
283
|
---
|
|
638
284
|
|
|
639
|
-
##
|
|
640
|
-
|
|
641
|
-
### S: "Sözleşme-ilk" ne demek?
|
|
642
|
-
**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.
|
|
643
|
-
|
|
644
|
-
### S: Ajanlar bütün bunları anlıyor mu?
|
|
645
|
-
**C:** Evet. Her işlem öncesi şunları okurlar:
|
|
646
|
-
1. `ENDERUN.md` (anayasa)
|
|
647
|
-
2. `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md` (proje durumu)
|
|
648
|
-
3. `docs/` dosyaları (gereksinimler)
|
|
649
|
-
4. `{{FRAMEWORK_DIR}}/knowledge/` (teknik rehberler)
|
|
285
|
+
## 🧠 Dürüst Durum (23 Mayıs 2026)
|
|
650
286
|
|
|
651
|
-
|
|
652
|
-
|
|
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ı
|
|
653
293
|
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
### S: Üretim için hazır mı?
|
|
661
|
-
**C:** Framework hazır. `apps/` klasörü tamamen sizin.
|
|
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
|
|
662
300
|
|
|
663
301
|
---
|
|
664
302
|
|
|
665
|
-
##
|
|
303
|
+
## 📍 Önümüzdeki Önemli Hedefler
|
|
666
304
|
|
|
667
|
-
1.
|
|
668
|
-
2.
|
|
669
|
-
3.
|
|
670
|
-
4.
|
|
671
|
-
5. **`README.md`** — Bu dosya
|
|
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
|
|
672
309
|
|
|
673
310
|
---
|
|
674
311
|
|
|
675
|
-
##
|
|
676
|
-
|
|
677
|
-
### Sorun Bildir
|
|
678
|
-
Net adımlarla ve versiyon numarası ile sorun bildir.
|
|
679
|
-
|
|
680
|
-
### Katkıda Bulun
|
|
681
|
-
1. `{{FRAMEWORK_DIR}}/ENDERUN.md` oku
|
|
682
|
-
2. Agent rolü yönergelerine uyun
|
|
683
|
-
3. Semantik commit'ler gönder
|
|
684
|
-
4. Testleri geç: `npm run enderun:build`
|
|
685
|
-
|
|
686
|
-
### Lisans
|
|
687
|
-
MIT © 2026 Yusuf BEKAR
|
|
688
|
-
```bash
|
|
689
|
-
agent-enderun status
|
|
690
|
-
```
|
|
691
|
-
|
|
692
|
-
### 4. Advanced Intelligence Commands
|
|
693
|
-
```bash
|
|
694
|
-
# Run Security Audit
|
|
695
|
-
agent-enderun check:security
|
|
312
|
+
## 📚 İlgili Dokümanlar
|
|
696
313
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
agent-enderun git:commit [TRACE-ID]
|
|
702
|
-
```
|
|
703
|
-
|
|
704
|
-
---
|
|
705
|
-
|
|
706
|
-
## 📂 Consolidated Framework Structure (`{{FRAMEWORK_DIR}}/`)
|
|
707
|
-
|
|
708
|
-
All governance and engineering assets are consolidated under the framework directory for a clean project root.
|
|
709
|
-
|
|
710
|
-
```text
|
|
711
|
-
.
|
|
712
|
-
├── {{FRAMEWORK_DIR}}/
|
|
713
|
-
│ ├── ENDERUN.md # Supreme Law (Constitution)
|
|
714
|
-
│ ├── PROJECT_MEMORY.md # Working Memory & History
|
|
715
|
-
│ ├── BRAIN_DASHBOARD.md # Intelligence & Performance Stats
|
|
716
|
-
│ ├── cli-commands.json # Agent-to-CLI Mapping
|
|
717
|
-
│ ├── agents/ # 8 Specialized Agent SOPs
|
|
718
|
-
│ ├── knowledge/ # 17+ Enterprise Knowledge Articles
|
|
719
|
-
│ ├── docs/ # API Contracts, Security, Privacy, Strategy
|
|
720
|
-
│ ├── logs/ # Traceable structured JSON logs
|
|
721
|
-
│ ├── benchmarks/ # Performance metrics
|
|
722
|
-
│ └── monitoring/ # System health hooks
|
|
723
|
-
├── bin/ # CLI Entry Point
|
|
724
|
-
├── packages/ # Shared Types & MCP Engine
|
|
725
|
-
└── apps/ # Production Modules (Backend, Web, Mobile)
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
---
|
|
729
|
-
|
|
730
|
-
## 🛡️ Engineering Standards
|
|
731
|
-
|
|
732
|
-
- **Zero Mock Policy:** Placeholders are forbidden. Every line of code must be functional.
|
|
733
|
-
- **Branded Types:** IDs must be type-safe (e.g., `UserID` vs `string`).
|
|
734
|
-
- **Panda CSS Only:** Zero-runtime CSS-in-JS for high-performance UI.
|
|
735
|
-
- **Contract-First:** Schemas are defined in `shared-types` BEFORE implementation.
|
|
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
|
|
736
318
|
|
|
737
319
|
---
|
|
738
320
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
unctional.
|
|
742
|
-
- **Branded Types:** IDs must be type-safe (e.g., `UserID` vs `string`).
|
|
743
|
-
- **Panda CSS Only:** Zero-runtime CSS-in-JS for high-performance UI.
|
|
744
|
-
- **Contract-First:** Schemas are defined in `shared-types` BEFORE implementation.
|
|
745
|
-
|
|
746
|
-
---
|
|
747
|
-
|
|
748
|
-
## 📜 License
|
|
749
|
-
MIT © 2026 Yusuf BEKAR — **Agent Enderun: The Future of AI Governance.**
|
|
750
|
-
/ # CLI Entry Point
|
|
751
|
-
├── packages/ # Shared Types & MCP Engine
|
|
752
|
-
└── apps/ # Production Modules (Backend, Web, Mobile)
|
|
753
|
-
```
|
|
754
|
-
|
|
755
|
-
---
|
|
756
|
-
|
|
757
|
-
## 🛡️ Engineering Standards
|
|
758
|
-
|
|
759
|
-
- **Zero Mock Policy:** Placeholders are forbidden. Every line of code must be functional.
|
|
760
|
-
- **Branded Types:** IDs must be type-safe (e.g., `UserID` vs `string`).
|
|
761
|
-
- **Panda CSS Only:** Zero-runtime CSS-in-JS for high-performance UI.
|
|
762
|
-
- **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.**
|
|
763
323
|
|
|
764
324
|
---
|
|
765
325
|
|
|
766
|
-
|
|
767
|
-
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ı.**
|