ai-enderun 0.0.10 → 0.0.12

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.
@@ -0,0 +1,72 @@
1
+ # AI-Enderun Constitution — v0.0.12 Master
2
+
3
+ # Place in project root. This file is the single source of truth for all AI clients (Gemini CLI, Claude Code, etc.).
4
+
5
+ ## 🎖️ I. Git Discipline Protocol (The Law of Origin)
6
+
7
+ - **Atomic Commits:** Each commit must represent a single, logical unit of change. No "fix" or "wip" commits allowed.
8
+ - **Commit Message Format:** `[Type](Scope): Description` (e.g., `feat(api): add auth header validation`).
9
+ - **Phase Snapshots:** Every transition between `STATE MACHINE` phases must be marked with a git tag corresponding to the phase name (e.g., `git tag -a v0.0.12-phase1`).
10
+ - **Branching:** Use `feature/trace-id-short-description` for all task-based work.
11
+
12
+ ---
13
+
14
+ ## 🧠 II. Procedural Continuity (The Law of Style)
15
+
16
+ - **Style Inheritance:** Agents MUST read and follow existing code patterns and stylistic standards. NEVER impose a new style (e.g., changing from Arrow Functions to Function Declarations) unless explicitly asked.
17
+ - **Proactive Engineering:** Autonomously implement professional standards (Pagination, Search, Validation, Loading States, Error UI) without waiting for explicit user instructions.
18
+ - **Search-Before-Reading:** Always use `search_codebase` or `analyze_dependencies` before opening files to minimize token usage and maximize context accuracy.
19
+
20
+ ---
21
+
22
+ ## ⚖️ III. State Machine (The Law of Phase)
23
+
24
+ ### PHASE 0: Discovery & Setup
25
+ - **DoD:** `tech-stack.md` defined, `project-docs.md` updated, `shared-types` initialized.
26
+
27
+ ### PHASE 1: Architecture & Contract
28
+ - **DoD:** All API endpoints documented in `docs/api/`, shared-types match the contract hash.
29
+
30
+ ### PHASE 2: Core Implementation
31
+ - **DoD:** Backend logic complete, unit tests passing, mobile/web scaffolded.
32
+
33
+ ### PHASE 3: Integration & UI
34
+ - **DoD:** Frontend linked to backend, E2E tests passing, mobile features verified.
35
+
36
+ ### PHASE 4: Hardening & Launch
37
+ - **DoD:** Security audit passed, performance optimized, project tagged for release.
38
+
39
+ ---
40
+
41
+ ## 👥 IV. The 8 Specialist Protocol
42
+
43
+ All agent interactions are governed by 8 specialized roles found in `{{FRAMEWORK_DIR}}/agents/`:
44
+
45
+ 1. **@manager:** CTO & Controller. Orchestrates the team and manages memory.
46
+ 2. **@analyst:** QA & Memory Gate. Audits DoD and generates walkthroughs.
47
+ 3. **@backend:** Backend Architect. Master of Contracts, DB, and Type Safety.
48
+ 4. **@frontend:** UI/UX Architect. Enforcer of "Zero UI Library" and Panda CSS.
49
+ 5. **@explorer:** Investigator. Scans codebase and maps dependencies.
50
+ 6. **@mobile:** App Specialist. Expert in React Native and Expo.
51
+ 7. **@native:** Desktop Architect. Expert in Tauri and Electron.
52
+ 8. **@git:** Version Control Specialist. Guardian of atomic commits and snapshots.
53
+
54
+ ---
55
+
56
+ ## 💾 V. Memory Management (The Law of Truth)
57
+
58
+ - **PROJECT_MEMORY.md:** The SINGLE SOURCE OF TRUTH. Agents MUST read this file at the start of every session.
59
+ - **CURRENT STATUS Update:** Update the `Active Phase`, `Last Update`, and `Active Trace ID` fields in the `CURRENT STATUS` table at the end of every session.
60
+ - **Trace ID Protocol:** Generate a ULID for every new task chain. All agents working on the same feature use the same Trace ID.
61
+
62
+ ---
63
+
64
+ ## 🎨 VI. Design Philosophy (The Law of Aesthetics)
65
+
66
+ - **Zero UI Library Policy:** Forbidden to use `shadcn/ui`, `MUI`, `Tailwind` or other generic libraries.
67
+ - **Panda CSS Standard:** All styling must use Panda CSS tokens and original components.
68
+ - **Premium Aesthetics:** Every interface must feel premium, state-of-the-art, and characterful. Avoid MVP-level simplicity.
69
+
70
+ ---
71
+
72
+ _Generated by AI-Enderun Framework v0.0.12 MASTER_
@@ -6,7 +6,7 @@ This file is the Single Source of Truth (SSOT) and the persistent memory of the
6
6
 
7
7
  | Active Phase | Profile | Last Update | Active Trace ID | Blockers |
8
8
  | :----------- | :------ | :---------- | :-------------- | :------- |
9
- | PHASE_0 | Lightweight | 2026-05-08 | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | NONE |
9
+ | PHASE_0 | Lightweight | 2026-05-09 | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | NONE |
10
10
 
11
11
  ## PROJECT DEFINITION
12
12
 
@@ -18,17 +18,19 @@ This file is the Single Source of Truth (SSOT) and the persistent memory of the
18
18
  | Backend | Node.js 20+ + Fastify + Kysely |
19
19
  | DB | PostgreSQL |
20
20
  | Auth | Not yet defined |
21
-
22
21
  ## ACTIVE TASKS
23
22
 
24
- - [x] Create core framework structure (.enderun)
25
- - [x] Implement MCP server with dependency analysis and security tools
26
- - [x] Define Agent SOPs (Manager, Analyst, Backend, Frontend, Explorer, Mobile, Native, Git)
27
- - [x] Standardize on ULID and Branded Types
28
- - [x] Fix initialization pathing and adapter linker placement
29
- - [x] Implement automated Git initialization and @git SOP
30
- - [x] Resolve Claude Code template validation conflicts (resource -> entity)
31
- - [ ] Begin PHASE_1 Architecture & Contract (pending user instruction)
23
+ | Trace ID | Task | Agent | Priority | Status |
24
+ | :--- | :--- | :--- | :--- | :--- |
25
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Framework setup and architecture alignment | @manager | P1 | COMPLETE |
26
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Create core framework structure (.enderun) | @manager | P1 | COMPLETE |
27
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Implement MCP server with dependency analysis | @manager | P1 | COMPLETE |
28
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Define Agent SOPs (8 Specialists) | @manager | P1 | COMPLETE |
29
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Standardize on ULID and Branded Types | @manager | P1 | COMPLETE |
30
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Fix initialization pathing and adapter linker | @manager | P1 | COMPLETE |
31
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Implement automated Git initialization | @manager | P1 | COMPLETE |
32
+ | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Resolve template validation conflicts (entity) | @manager | P1 | COMPLETE |
33
+ | — | Begin PHASE_1 Architecture & Contract | @manager | P2 | PENDING |
32
34
 
33
35
  ## CRITICAL DECISIONS
34
36
 
@@ -40,6 +42,23 @@ This file is the Single Source of Truth (SSOT) and the persistent memory of the
40
42
 
41
43
  ## HISTORY
42
44
 
45
+ ### 2026-05-09 — v0.0.12 Stabilization & Cleanup (FINAL)
46
+
47
+ - **Agent:** @manager
48
+ - **Trace ID:** 01KR46D2M3X9V1T8Z4D7Z2L5K1
49
+ - **Action:** Performed final structural cleanup of project memory. Fixed corrupted text fragments, merged duplicate headers, and refactored CLI to use dynamic versioning.
50
+ - **Decision:** v0.0.12 is confirmed as the stable baseline.
51
+ - **Next Step:** Proceed to PHASE_1 Architecture & Contract.
52
+
53
+
54
+ ### 2026-05-08 — v0.0.11 Framework Stabilization (FIX)
55
+
56
+ - **Agent:** @manager
57
+ - **Trace ID:** 01KR46D2M3X9V1T8Z4D7Z2L5K1
58
+ - **Action:** Fixed a critical template validation error in `@backend` SOP. Replaced `${entity}` template literal with string concatenation to prevent Gemini CLI/Claude Code parameter conflicts. Verified MCP server and package health.
59
+ - **Decision:** v0.0.11 is now the stable baseline.
60
+ - **Next Step:** Proceed to PHASE_1 Architecture & Contract.
61
+
43
62
  ### 2026-05-08 — v0.0.10 Super-Stabilization (MASTER)
44
63
 
45
64
  - **Agent:** @manager
@@ -64,4 +83,4 @@ This file is the Single Source of Truth (SSOT) and the persistent memory of the
64
83
 
65
84
  ---
66
85
 
67
- _Generated by AI-Enderun Framework v0.0.10 MASTER_
86
+ _Generated by AI-Enderun Framework v0.0.12 MASTER_
@@ -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.10 Master
6
+ # Project Analyst & QA Gate — v0.0.12 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: Wait 1s, retry (max 5 attempts)
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)
@@ -169,7 +172,7 @@ Use the `log_agent_action` tool to record your activities securely.
169
172
 
170
173
  ---
171
174
 
172
- **Agent Completion Report** (v0.0.10)
175
+ **Agent Completion Report** (v0.0.12)
173
176
 
174
177
  - Mock used? [ ] No / [ ] Yes
175
178
  - shared-types changed? [ ] No / [ ] Yes
@@ -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.10 Master
6
+ # Backend Architect — v0.0.12 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
 
@@ -82,7 +82,7 @@ class DomainError extends Error {
82
82
  }
83
83
  class NotFoundError extends DomainError {
84
84
  constructor(entity: string) {
85
- super("NOT_FOUND", 404, `${entity} not found.`);
85
+ super("NOT_FOUND", 404, entity + " not found.");
86
86
  }
87
87
  }
88
88
  class ValidationError extends DomainError {
@@ -233,7 +233,7 @@ When `shared-types` changes:
233
233
 
234
234
  ---
235
235
 
236
- **Agent Completion Report** (v0.0.10)
236
+ **Agent Completion Report** (v0.0.12)
237
237
  - Mock used? [ ] No / [ ] Yes
238
238
  - shared-types changed? [ ] No / [ ] Yes → contract.version updated
239
239
  - **API contract written? [ ] No / [ ] Yes → {{FRAMEWORK_DIR}}/docs/api/[domain].md**
@@ -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.10 Master
6
+ # Codebase Explorer — v0.0.12 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
 
@@ -79,7 +79,7 @@ Every research report must include:
79
79
 
80
80
  ---
81
81
 
82
- **Agent Completion Report** (v0.0.10)
82
+ **Agent Completion Report** (v0.0.12)
83
83
 
84
84
  - Mock used? [ ] No / [ ] Yes
85
85
  - Codebase searched? [ ] No / [ ] Yes
@@ -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.10 Master
6
+ # Frontend Architect — v0.0.12 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
 
@@ -135,7 +135,7 @@ Frontend never creates its own types for backend data.
135
135
 
136
136
  ---
137
137
 
138
- **Agent Completion Report** (v0.0.10)
138
+ **Agent Completion Report** (v0.0.12)
139
139
  - Mock used? [ ] No / [ ] Yes
140
140
  - shared-types imported? [ ] No / [ ] Yes
141
141
  - **API contract read? [ ] No / [ ] Yes → {{FRAMEWORK_DIR}}/docs/api/**
@@ -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.10 Master
6
+ # Version Control Specialist (@git) — v0.0.12 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
 
@@ -79,7 +79,7 @@ If conflicts arise during integration, @git is responsible for performing a clea
79
79
 
80
80
  > Every response MUST end with the **Agent Completion Report**.
81
81
 
82
- ### Agent Completion Report (v0.0.10)
82
+ ### Agent Completion Report (v0.0.12)
83
83
  - Trace ID: [ULID]
84
84
  - Atomic Commits made? [ ] No / [ ] Yes
85
85
  - Phase Snapshot created? [ ] No / [ ] Yes
@@ -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.10 Master
6
+ # Manager (CTO & Controller) — v0.0.12 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:** Warn the user: "⚠️ MCP Server might be down. Please run `ai-enderun check` to verify."
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:
@@ -57,7 +69,7 @@ Trace ID: 01H... (26-character ULID)
57
69
 
58
70
  ---
59
71
 
60
- ## Briefing Template v0.0.10 (Mandatory in Every Agent Directive)
72
+ ## Briefing Template v0.0.12 (Mandatory in Every Agent Directive)
61
73
 
62
74
  ```
63
75
  ## Agent Directive
@@ -145,7 +157,7 @@ graph TD
145
157
 
146
158
  ---
147
159
 
148
- **Agent Completion Report** (v0.0.10)
160
+ **Agent Completion Report** (v0.0.12)
149
161
 
150
162
  - Mock used? [ ] No / [ ] Yes
151
163
  - shared-types changed? [ ] No / [ ] Yes
@@ -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.10 Master
6
+ # Mobile Architect — v0.0.12 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
 
@@ -44,7 +44,7 @@ Never start coding before understanding the current state of the components and
44
44
 
45
45
  ---
46
46
 
47
- **Agent Completion Report** (v0.0.10)
47
+ **Agent Completion Report** (v0.0.12)
48
48
 
49
49
  - Mock used? [ ] No / [ ] Yes
50
50
  - shared-types imported? [ ] No / [ ] Yes
@@ -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.10 Master
6
+ # Native Desktop Architect — v0.0.12 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
 
@@ -43,7 +43,7 @@ Always research the existing codebase and native bridge implementations before a
43
43
 
44
44
  ---
45
45
 
46
- **Agent Completion Report** (v0.0.10)
46
+ **Agent Completion Report** (v0.0.12)
47
47
 
48
48
  - Mock used? [ ] No / [ ] Yes
49
49
  - shared-types imported? [ ] No / [ ] Yes
package/CLAUDE.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun — Claude Code Adapter (v0.0.10)
1
+ # AI-Enderun — Claude Code Adapter (v0.0.12)
2
2
 
3
3
  This file is the Claude Code adapter layer.
4
4
  Core framework rules and agent capabilities are defined in `{{FRAMEWORK_DIR}}/ENDERUN.md`.
package/CODEX.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun — Codex Adapter (v0.0.10)
1
+ # AI-Enderun — Codex Adapter (v0.0.12)
2
2
 
3
3
  This file is the Codex adapter layer.
4
4
  Core framework rules and agent capabilities are defined in `{{FRAMEWORK_DIR}}/ENDERUN.md`.
package/CURSOR.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun — Cursor Adapter (v0.0.10)
1
+ # AI-Enderun — Cursor Adapter (v0.0.12)
2
2
 
3
3
  This file is the Cursor adapter layer.
4
4
  Core framework rules and agent capabilities are defined in `{{FRAMEWORK_DIR}}/ENDERUN.md`.
package/ENDERUN.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun Constitution — v0.0.10 Master
1
+ # AI-Enderun Constitution — v0.0.12 Master
2
2
 
3
3
  # Place in project root. This file is the single source of truth for all AI clients (Gemini CLI, Claude Code, etc.).
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  - **Atomic Commits:** Each commit must represent a single, logical unit of change. No "fix" or "wip" commits allowed.
8
8
  - **Commit Message Format:** `[Type](Scope): Description` (e.g., `feat(api): add auth header validation`).
9
- - **Phase Snapshots:** Every transition between `STATE MACHINE` phases must be marked with a git tag corresponding to the phase name (e.g., `git tag -a v0.0.10-phase1`).
9
+ - **Phase Snapshots:** Every transition between `STATE MACHINE` phases must be marked with a git tag corresponding to the phase name (e.g., `git tag -a v0.0.12-phase1`).
10
10
  - **Branching:** Use `feature/trace-id-short-description` for all task-based work.
11
11
 
12
12
  ---
@@ -69,4 +69,4 @@ All agent interactions are governed by 8 specialized roles found in `{{FRAMEWORK
69
69
 
70
70
  ---
71
71
 
72
- _Generated by AI-Enderun Framework v0.0.10 MASTER_
72
+ _Generated by AI-Enderun Framework v0.0.12 MASTER_
package/GEMINI.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun — General Agent Adapter (v0.0.10)
1
+ # AI-Enderun — General Agent Adapter (v0.0.12)
2
2
 
3
3
  This file is the general adapter layer for AI agents (Gemini, GPT-4o, etc.).
4
4
  Core framework rules and agent capabilities are defined in `{{FRAMEWORK_DIR}}/ENDERUN.md`.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # AI-Enderun (v0.0.10 Master)
1
+ # AI-Enderun (v0.0.12 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.10 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.
11
+ Starting from **v0.0.12 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.10 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.
71
+ **v0.0.12 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
@@ -11,7 +11,7 @@ const sourceDir = path.join(__dirname, "..");
11
11
  const targetDir = process.cwd();
12
12
 
13
13
  // --- CONSTANTS ---
14
- const FRAMEWORK_VERSION = "0.0.10";
14
+ const FRAMEWORK_VERSION = getPackageVersion();
15
15
 
16
16
  // --- HELPER FUNCTIONS ---
17
17
 
@@ -126,7 +126,7 @@ function mergePackageJson(targetPath, sourcePath) {
126
126
 
127
127
  // Ensure basic fields
128
128
  if (!targetPkg.name) targetPkg.name = path.basename(process.cwd());
129
- if (!targetPkg.version) targetPkg.version = "0.0.10";
129
+ if (!targetPkg.version) targetPkg.version = "0.0.12";
130
130
  if (!targetPkg.type) targetPkg.type = "module";
131
131
 
132
132
  // Add metadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
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.12",
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
- - `{{FRAMEWORK_DIR}}/` for memory, logs, dashboards, and SOP files.
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
 
@@ -8,7 +8,7 @@ import crypto from "crypto";
8
8
  import { Project, SyntaxKind } from "ts-morph";
9
9
  const server = new Server({
10
10
  name: "ai-enderun-mcp",
11
- version: "0.0.9",
11
+ version: "0.0.12",
12
12
  }, {
13
13
  capabilities: {
14
14
  tools: {},
@@ -40,7 +40,7 @@ const LOG_AGENT_ACTION_ARGS_SCHEMA = z.object({
40
40
  summary: z.string().min(1),
41
41
  details: z.record(z.any()).default({}),
42
42
  });
43
- const FRAMEWORK_VERSION = "0.0.9";
43
+ const FRAMEWORK_VERSION = "0.0.12";
44
44
  function getFrameworkDir(projectRoot) {
45
45
  const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
46
46
  for (const adp of adapters) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun-mcp",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "Enterprise-grade MCP Server for AI Agent Framework — Memory, Security & AST Intelligence",
5
5
  "author": "Yusuf BEKAR <ybekar@msn.com>",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "ai-enderun-shared-types",
3
- "version": "0.0.10",
2
+ "name": "@ai-enderun/shared-types",
3
+ "version": "0.0.12",
4
4
  "description": "Shared TypeScript types for AI-Enderun Framework. Ensures Contract-First synchronization between agents.",
5
5
  "author": "Yusuf BEKAR <ybekar@msn.com>",
6
6
  "repository": {