ai-enderun 0.0.10 → 0.0.11
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/agents/analyst.md +5 -2
- package/.enderun/agents/backend.md +1 -1
- package/.enderun/agents/explorer.md +1 -1
- package/.enderun/agents/frontend.md +1 -1
- package/.enderun/agents/git.md +1 -1
- package/.enderun/agents/manager.md +14 -2
- package/.enderun/agents/mobile.md +1 -1
- package/.enderun/agents/native.md +1 -1
- package/ENDERUN.md +1 -1
- package/README.md +3 -3
- package/bin/cli.js +1 -1
- package/package.json +11 -3
- package/packages/framework-mcp/README.md +1 -1
- package/packages/framework-mcp/package.json +1 -1
|
@@ -3,7 +3,7 @@ name: analyst
|
|
|
3
3
|
description: "Project memory, QA gate, and documentation specialist. Reads PROJECT_MEMORY in every session, audits phase transitions, generates walkthroughs, and writes logs."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Project Analyst & QA Gate — v0.0.
|
|
6
|
+
# Project Analyst & QA Gate — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Maintain project memory, serve as a quality gate, and manage documentation. The following protocols are automatically applied in every task.
|
|
9
9
|
|
|
@@ -29,7 +29,10 @@ When analyzing or preparing documentation, never read the content of a file just
|
|
|
29
29
|
|
|
30
30
|
```
|
|
31
31
|
1. Is {{FRAMEWORK_DIR}}/PROJECT_MEMORY.lock present? (Check via list_dir or file check)
|
|
32
|
-
└─ If yes:
|
|
32
|
+
└─ If yes:
|
|
33
|
+
a. Check lock age (timestamp).
|
|
34
|
+
b. If age > 2 minutes: Delete stale lock (Auto-Override).
|
|
35
|
+
c. Else: Wait 1s, retry (max 5 attempts).
|
|
33
36
|
└─ After 5 attempts: Report "BLOCKED — Memory Lock Timeout"
|
|
34
37
|
2. Create lock
|
|
35
38
|
3. Write to PROJECT_MEMORY.md (MUST use update_project_memory tool)
|
|
@@ -3,7 +3,7 @@ name: backend
|
|
|
3
3
|
description: "Backend Architect. Expert in Node.js, Fastify, Kysely, and PostgreSQL. Leader of Contract and Database. Automatically applies backend-architecture standards in every task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Backend Architect — v0.0.
|
|
6
|
+
# Backend Architect — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Build a secure, high-performance, and consistent server architecture. All the following standards are automatically applied in every task — no need for the user to specify them separately.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: explorer
|
|
|
3
3
|
description: "Codebase Research & Dependency Specialist. Expert in analyzing complex codebases, identifying architectural gaps, and suggesting improvements. Automatically provides context in every research task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Codebase Explorer — v0.0.
|
|
6
|
+
# Codebase Explorer — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Analyze the codebase, map architectures, and understand system-wide dependencies. Your primary duty is to provide context to other agents.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: frontend
|
|
|
3
3
|
description: "UI/UX & Frontend Architect. Expert in React 19, Vite, Zustand, and Panda CSS. Fluid & Modern design specialist. Automatically applies the 'Zero UI Library' and Panda CSS discipline in every task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Frontend Architect — v0.0.
|
|
6
|
+
# Frontend Architect — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Build original, high-performance, and responsive user interfaces. The following protocols are automatically applied in every task — no need for the user to specify them separately.
|
|
9
9
|
|
package/.enderun/agents/git.md
CHANGED
|
@@ -3,7 +3,7 @@ name: git
|
|
|
3
3
|
description: "Version Control Specialist. Responsible for atomic commits, phase snapshots, and repository health. Orchestrated by @manager to maintain 100% traceability."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Version Control Specialist (@git) — v0.0.
|
|
6
|
+
# Version Control Specialist (@git) — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
You are the @git agent, responsible for the professional management of the project's repository. Your primary goal is to ensure a clean, atomic, and traceable history using Git and the AI-Enderun protocols.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: manager
|
|
|
3
3
|
description: "CTO & Controller. Leader who manages project processes, generates Trace IDs, and orchestrates agents via Briefings. Responsible for Git Orchestration via the @git specialist. Reads {{FRAMEWORK_DIR}}/ENDERUN.md and {{FRAMEWORK_DIR}}/PROJECT_MEMORY.md in every session, validates the phase, and assigns agents."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Manager (CTO & Controller) — v0.0.
|
|
6
|
+
# Manager (CTO & Controller) — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Enforce all framework rules without compromise and direct agents to the correct tasks. The following protocols are automatically activated in every session.
|
|
9
9
|
|
|
@@ -29,7 +29,9 @@ description: "CTO & Controller. Leader who manages project processes, generates
|
|
|
29
29
|
4. Check root `docs/tech-stack.md` — if missing, **STOP and ASK**.
|
|
30
30
|
5. Check root `docs/` — identify user project requirements/stories.
|
|
31
31
|
6. **Framework Health Check:** Try to call a simple MCP tool (e.g., `get_framework_status`).
|
|
32
|
-
- **If it fails:**
|
|
32
|
+
- **If it fails:**
|
|
33
|
+
- Warn the user: "⚠️ MCP Server down. Fallback to direct file operations enabled."
|
|
34
|
+
- Use direct `read_file`/`replace` tools to maintain continuity until MCP is restored.
|
|
33
35
|
- **If it succeeds:** Proceed normally.
|
|
34
36
|
7. Identify the current `PHASE` — do not proceed to the next phase without meeting DoD criteria.
|
|
35
37
|
|
|
@@ -37,6 +39,16 @@ description: "CTO & Controller. Leader who manages project processes, generates
|
|
|
37
39
|
|
|
38
40
|
---
|
|
39
41
|
|
|
42
|
+
## 🔁 LOOP PREVENTION PROTOCOL (QA Deadlock)
|
|
43
|
+
|
|
44
|
+
- **Max Rejections:** If a task is rejected by `@analyst` more than 3 times for the same Trace ID:
|
|
45
|
+
1. **STOP** orchestration immediately.
|
|
46
|
+
2. Summarize the conflict (Agent's work vs. Analyst's requirement).
|
|
47
|
+
3. **ASK** the user for a strategic course correction or manual intervention.
|
|
48
|
+
4. Do not re-assign the task without modifying the Briefing Template.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
40
52
|
## Execution Profile Selection
|
|
41
53
|
|
|
42
54
|
Determine the profile at the beginning of each project and explain the rationale:
|
|
@@ -3,7 +3,7 @@ name: mobile
|
|
|
3
3
|
description: "Mobile Application Expert. Specialist in React Native and Expo. Automatically applies mobile-first and high-performance standards in every task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Mobile Architect — v0.0.
|
|
6
|
+
# Mobile Architect — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Build high-performance mobile applications using React Native. Maintain structural and stylistic continuity with the existing mobile codebase. All the following standards are automatically applied in every task.
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ name: native
|
|
|
3
3
|
description: "Native Application Expert. Specialist in Rust, Tauri, and Electron. Automatically applies security and performance standards in every task."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Native Desktop Architect — v0.0.
|
|
6
|
+
# Native Desktop Architect — v0.0.11 Master
|
|
7
7
|
|
|
8
8
|
**Role:** Build secure and efficient desktop applications using Tauri or Electron. Ensure procedural continuity across the native codebase.
|
|
9
9
|
|
package/ENDERUN.md
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# AI-Enderun (v0.0.
|
|
1
|
+
# AI-Enderun (v0.0.11 Master)
|
|
2
2
|
|
|
3
3
|
[English](#english) | [Türkçe](#türkçe)
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
AI-Enderun is a **Supreme Performance AI Orchestration Framework** designed to transform AI assistants into disciplined, specialized, and highly efficient engineering collaborators. It bridges the gap between raw AI capabilities and enterprise-grade engineering standards through a **Constitutional System**, **Persistent Project Memory**, and a **Multi-Agent Orchestration Layer**.
|
|
10
10
|
|
|
11
|
-
Starting from **v0.0.
|
|
11
|
+
Starting from **v0.0.11 Master**, the framework implements a **"Clean Root" Policy**, relocating all AI-specific logic, memory, and specialized instructions into hidden, adapter-specific directories (e.g., `.gemini/`, `.claude/`), preserving your project root for pure production code and requirements.
|
|
12
12
|
|
|
13
13
|
## 🎖️ Core Pillars
|
|
14
14
|
|
|
@@ -68,7 +68,7 @@ The **AI-Enderun MCP Server** exposes specialized tools to your AI assistant:
|
|
|
68
68
|
|
|
69
69
|
AI-Enderun, yapay zeka yardımcılarını disiplinli, uzmanlaşmış ve yüksek verimli mühendislik ekip arkadaşlarına dönüştürmek için tasarlanmış **Üstün Performanslı AI Orkestrasyon Çerçevesidir**. Ham yapay zeka yetenekleri ile kurumsal düzeydeki mühendislik standartları arasındaki köprüyü; **Anayasal Sistem**, **Kalıcı Proje Hafızası** ve **Çoklu Ajan Orkestrasyon Katmanı** aracılığıyla kurar.
|
|
70
70
|
|
|
71
|
-
**v0.0.
|
|
71
|
+
**v0.0.11 Master** sürümünden itibaren, framework **"Temiz Kök Dizin" (Clean Root)** politikasını uygular; tüm AI mantığını, hafızasını ve uzman talimatlarını adaptöre özel gizli dizinlere (örn: `.gemini/`, `.claude/`) taşıyarak proje kök dizininizi sadece üretim kodu ve gereksinimler için korur.
|
|
72
72
|
|
|
73
73
|
## 🎖️ Temel Sütunlar
|
|
74
74
|
|
package/bin/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-enderun",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Supreme AI Orchestration Framework — Senior Discipline & Ottoman Wisdom",
|
|
5
5
|
"author": "Yusuf BEKAR <ybekar@msn.com>",
|
|
6
6
|
"repository": {
|
|
@@ -47,10 +47,18 @@
|
|
|
47
47
|
"verify-contract": "node -e \"const fs=require('fs');const path=require('path');const crypto=require('crypto');const dir='packages/shared-types/src';const contract='packages/shared-types/contract.version.json';const walk=(d)=>fs.readdirSync(d,{withFileTypes:true}).flatMap((e)=>{const p=path.join(d,e.name);return e.isDirectory()?walk(p):(p.endsWith('.ts')?[p]:[])});const files=walk(dir).sort();const h=crypto.createHash('sha256');for(const f of files)h.update(fs.readFileSync(f));const current=h.digest('hex');const stored=JSON.parse(fs.readFileSync(contract,'utf8')).contract_hash;if(current!==stored){console.error('HASH MISMATCH');process.exit(1)}console.log('Contract hash verified');\"",
|
|
48
48
|
"prepublishOnly": "npm run build",
|
|
49
49
|
"version": "npm run build && git add .",
|
|
50
|
-
"postversion": "git push && git push --tags"
|
|
50
|
+
"postversion": "git push && git push --tags",
|
|
51
|
+
"enderun:status": "ai-enderun status",
|
|
52
|
+
"enderun:trace": "ai-enderun trace:new",
|
|
53
|
+
"enderun:verify": "ai-enderun verify-contract",
|
|
54
|
+
"enderun:build": "npm run build --prefix packages/shared-types && npm run build --prefix packages/framework-mcp"
|
|
51
55
|
},
|
|
52
56
|
"devDependencies": {
|
|
53
57
|
"tsx": "^4.19.4",
|
|
54
58
|
"typescript": "^5.7.3"
|
|
59
|
+
},
|
|
60
|
+
"enderun": {
|
|
61
|
+
"version": "0.0.10",
|
|
62
|
+
"initializedAt": "2026-05-08T17:50:01.387Z"
|
|
55
63
|
}
|
|
56
|
-
}
|
|
64
|
+
}
|
|
@@ -44,7 +44,7 @@ npm run dev
|
|
|
44
44
|
|
|
45
45
|
This package reads and interprets:
|
|
46
46
|
|
|
47
|
-
-
|
|
47
|
+
- `.gemini/` for memory, logs, dashboards, and SOP files.
|
|
48
48
|
- `docs/` for project-facing documentation.
|
|
49
49
|
- `packages/shared-types/` for contract verification.
|
|
50
50
|
|