agent-enderun 0.5.6 → 0.5.7

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.
@@ -11,7 +11,7 @@ This file is the Single Source of Truth (SSOT) and the persistent memory of the
11
11
  ## PROJECT DEFINITION
12
12
 
13
13
  - **Name:** Agent Enderun
14
- - **Version:** v0.5.2
14
+ - **Version:** v0.5.7
15
15
  | Field | Value |
16
16
  | :--- | :--- |
17
17
  | Project Name | agent-enderun |
@@ -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.5.3 Master
6
+ # Project Analyst & QA Gate — v0.5.7 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
 
@@ -199,7 +199,7 @@ Use the `log_agent_action` tool to record your activities securely.
199
199
 
200
200
  ---
201
201
 
202
- **Agent Completion Report** (v0.5.3)
202
+ **Agent Completion Report** (v0.5.7)
203
203
 
204
204
  - Mock used? [ ] No / [ ] Yes
205
205
  - 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.5.3 Master
6
+ # Backend Architect — v0.5.7 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
 
@@ -242,7 +242,7 @@ When `shared-types` or API documentation changes:
242
242
 
243
243
  ---
244
244
 
245
- **Agent Completion Report** (v0.5.3)
245
+ **Agent Completion Report** (v0.5.7)
246
246
  - Mock used? [ ] No / [ ] Yes
247
247
  - shared-types changed? [ ] No / [ ] Yes → contract.version updated
248
248
  - **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.5.3 Master
6
+ # Codebase Explorer — v0.5.7 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
 
@@ -90,7 +90,7 @@ Every research report must include:
90
90
 
91
91
  ---
92
92
 
93
- **Agent Completion Report** (v0.5.3)
93
+ **Agent Completion Report** (v0.5.7)
94
94
 
95
95
  - Mock used? [ ] No / [ ] Yes
96
96
  - 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.5.3 Master
6
+ # Frontend Architect — v0.5.7 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
 
@@ -156,7 +156,7 @@ Frontend never creates its own types for backend data.
156
156
 
157
157
  ---
158
158
 
159
- **Agent Completion Report** (v0.5.3)
159
+ **Agent Completion Report** (v0.5.7)
160
160
  - Mock used? [ ] No / [ ] Yes
161
161
  - shared-types imported? [ ] No / [ ] Yes
162
162
  - **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.5.3 Master
6
+ # Version Control Specialist (@git) — v0.5.7 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
 
@@ -90,7 +90,7 @@ If conflicts arise during integration, @git is responsible for performing a clea
90
90
 
91
91
  > Every response MUST end with the **Agent Completion Report**.
92
92
 
93
- ### Agent Completion Report (v0.5.3)
93
+ ### Agent Completion Report (v0.5.7)
94
94
  - Trace ID: [ULID]
95
95
  - Atomic Commits made? [ ] No / [ ] Yes
96
96
  - 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.5.3 Master
6
+ # Manager (CTO & Controller) — v0.5.7 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
 
@@ -68,7 +68,7 @@ Trace ID: 01H... (26-character ULID)
68
68
 
69
69
  ---
70
70
 
71
- ## Briefing Template v0.5.3 (Mandatory in Every Agent Directive)
71
+ ## Briefing Template v0.5.7 (Mandatory in Every Agent Directive)
72
72
 
73
73
  ```
74
74
  ## Agent Directive
@@ -165,7 +165,7 @@ graph TD
165
165
 
166
166
  ---
167
167
 
168
- **Agent Completion Report** (v0.5.3)
168
+ **Agent Completion Report** (v0.5.7)
169
169
 
170
170
  - Mock used? [ ] No / [ ] Yes
171
171
  - 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.5.3 Master
6
+ # Mobile Architect — v0.5.7 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
 
@@ -51,7 +51,7 @@ Never start coding before understanding the current state of the components and
51
51
 
52
52
  ---
53
53
 
54
- **Agent Completion Report** (v0.5.3)
54
+ **Agent Completion Report** (v0.5.7)
55
55
 
56
56
  - Mock used? [ ] No / [ ] Yes
57
57
  - 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.5.3 Master
6
+ # Native Desktop Architect — v0.5.7 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
 
@@ -50,7 +50,7 @@ Always research the existing codebase and native bridge implementations before a
50
50
 
51
51
  ---
52
52
 
53
- **Agent Completion Report** (v0.5.3)
53
+ **Agent Completion Report** (v0.5.7)
54
54
 
55
55
  - Mock used? [ ] No / [ ] Yes
56
56
  - shared-types imported? [ ] No / [ ] Yes
package/ENDERUN.md CHANGED
@@ -1,4 +1,4 @@
1
- # Agent Enderun (v0.5.3)
1
+ # Agent Enderun (v0.5.7)
2
2
  # Place in project root. This file is the single source of truth for Base Project AI Extensions.
3
3
 
4
4
  ## 🎖️ AGENT CHECKLIST (MANDATORY BEFORE RESPONSE)
@@ -18,11 +18,18 @@ This file (`./{{ADAPTER}}.md`) and the `{{FRAMEWORK_DIR}}/docs/` folder represen
18
18
 
19
19
  ## STEP 0 — STARTUP (EVERY SESSION, NON-NEGOTIABLE)
20
20
 
21
- 1. **Read ./{{ADAPTER}}.md First:** Read and fully understand this file before taking any action.
22
- 2. **Check `{{FRAMEWORK_DIR}}/docs/` Folder:** Verify the existence of the `{{FRAMEWORK_DIR}}/docs/` folder (located within the framework directory).
23
- 3. **Absorb Context:** Read `{{FRAMEWORK_DIR}}/docs/tech-stack.md`. If it is empty, ask the user to fill it before proceeding.
24
- 4. **Demand Context:** If the `{{FRAMEWORK_DIR}}/docs/` folder does not exist, ask the user for project context and target audience information before writing any code.
25
- 5. **Automatic @manager Mode:** You are ALWAYS operating as `@manager` (Team-Lead). You do NOT need to be called with `@manager` — this role is your default identity. You analyze, delegate, and orchestrate on EVERY turn without exception.
21
+ 1. **Restore Session Memory & Load Role (NON-NEGOTIABLE):**
22
+ - **Immediately Read `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md`** (using the `read_project_memory` tool or direct file viewing if MCP is offline) as the very first action of the session. You **MUST NOT** answer or take any actions before loading this file. Extract:
23
+ - `CURRENT STATUS` (Active Phase, Active Trace ID, Blockers)
24
+ - `CRITICAL DECISIONS` (Previous design decisions to comply with)
25
+ - `ACTIVE TASKS` (Ongoing work and agent assignments)
26
+ - `HISTORY` (To see exactly what agents did recently)
27
+ - **Load Agent Prompt:** By default, you operate as `@manager`. Immediately read and load `{{FRAMEWORK_DIR}}/agents/manager.md` to adopt its exact rules, workflows, and checklists. If the user explicitly invokes a specialist (e.g., `@backend`), immediately read and load the corresponding agent file (e.g., `{{FRAMEWORK_DIR}}/agents/backend.md`).
28
+ 2. **Read ./{{ADAPTER}}.md First:** Read and fully understand this file before taking any action.
29
+ 3. **Check `{{FRAMEWORK_DIR}}/docs/` Folder:** Verify the existence of the `{{FRAMEWORK_DIR}}/docs/` folder (located within the framework directory).
30
+ 4. **Absorb Context:** Read `{{FRAMEWORK_DIR}}/docs/tech-stack.md`. If it is empty, ask the user to fill it before proceeding.
31
+ 5. **Demand Context:** If the `{{FRAMEWORK_DIR}}/docs/` folder does not exist, ask the user for project context and target audience information before writing any code.
32
+ 6. **Automatic @manager Mode:** You are ALWAYS operating as `@manager` (Team-Lead). You do NOT need to be called with `@manager` — this role is your default identity. You analyze, delegate, and orchestrate on EVERY turn without exception.
26
33
 
27
34
  **NEVER SKIP THIS STEP.** Do not assume context; read first, then act as @manager.
28
35
 
@@ -34,6 +41,7 @@ This file (`./{{ADAPTER}}.md`) and the `{{FRAMEWORK_DIR}}/docs/` folder represen
34
41
  - **Team-Lead MANDATORY Orchestration:** Every user request MUST first be handled by the `@manager` (Team-Lead) agent. The `@manager` is responsible for analyzing intent, updating `PROJECT_MEMORY.md`, and delegating tasks to specialists. Agents are FORBIDDEN from acting on a general request without `@manager` delegation.
35
42
  - **Zero-Request Logging Policy:** Agents MUST log every action and update `PROJECT_MEMORY.md` automatically at the end of every turn, without waiting for a user directive. This is the "Operating Mode" of the framework.
36
43
  - **Immediate Memory Sync:** Every state change, decision, or improved capability must be reflected in the memory files immediately.
44
+ - **Zero Temporary Storage & Single Source of Truth:** Storing, caching, or writing project details, logs, tasks, files, or agent planning documents (including implementation plans, scratch scripts, or intermediate tasks) in the operating system's temporary directory (`/tmp`, `/var/tmp`, `temp`, etc.) is strictly forbidden. All planning, state, tasks, and memory MUST be stored inside the designated persistent framework directory (`{{FRAMEWORK_DIR}}/` or `.gemini/` etc.) or the project workspace. This ensures 100% state persistence and context recovery upon session restarts.
37
45
  - **Contract-First Agent Evolution:** Tools and SOPs used by agents must be defined via schemas and contracts first.
38
46
  - **Zero Mock Policy:** The use of fake (mock) data or placeholders is strictly forbidden. Every line of code must connect to a real endpoint or a typed contract. (Exception: Controlled mock usage is allowed for external 3rd party services like Stripe, Twilio).
39
47
  - **Branded Types Law:** All IDs (UserID, ProjectID, etc.) must be in the "Branded Types" format defined under `packages/shared-types`. Using plain strings or numbers is forbidden.
@@ -103,6 +111,7 @@ Every agent must use the **Mandatory Output Flow** defined in their specific `.m
103
111
  - **Raw SQL Strings:** Direct strings cannot be used for SQL queries; strictly use `Kysely`.
104
112
  - **Direct DB call in a controller:** Database operations cannot be performed directly inside a Controller.
105
113
  - **Missing try/catch on async operations:** Error handling (try/catch) is mandatory for asynchronous operations.
114
+ - **Use of Temporary Directories (e.g. `/tmp`, `temp`):** Saving any project code, files, script logs, intermediate implementation plans, or agent workflows outside the workspace or inside the system's temporary directory is strictly forbidden. All assets and state files must be in the persistent project repository (under `{{FRAMEWORK_DIR}}/` or the workspace root).
106
115
 
107
116
  ---
108
117
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🏛️ Agent Enderun (v0.5.3) — The Supreme AI Governance Framework
1
+ # 🏛️ Agent Enderun (v0.5.7) — The Supreme AI Governance Framework
2
2
 
3
3
  **The Supreme AI Governance & Orchestration Framework for Enterprise Development**
4
4
 
@@ -12,6 +12,10 @@
12
12
 
13
13
  Agent Enderun, yazılım ekipleri için tasarlanmış, **Anayasal Yönetişim (Constitutional Governance)** ve **Çoklu Ajan Orkestrasyonu (Multi-Agent Orchestration)** sağlayan kurumsal düzeyde bir framework'tür.
14
14
 
15
+ ### 🚀 v0.5.7: Persistent Memory & Zero-Temp Governance
16
+ - **Zero Temporary Storage:** All task logs, plans, and state are strictly saved in persistent workspace directories; OS temp directories are completely forbidden.
17
+ - **Session Memory Recovery:** Non-negotiable automatic first-turn state restoration and role initialization across all adapters.
18
+
15
19
  ### 🚀 v0.5.3: Zero-Config & Auto-Wiring
16
20
  - **Auto-Wiring:** CLI automatically configures `gemini-extension.json` for MCP.
17
21
  - **Automated Build:** Framework now compiles itself during initialization.
@@ -73,7 +77,7 @@ agent-enderun check
73
77
 
74
78
  Expected output:
75
79
  ```
76
- ✅ Framework active (v0.5.3)
80
+ ✅ Framework active (v0.5.7)
77
81
  ✅ MCP Server ready
78
82
  ✅ Shared types compiled
79
83
  ✅ Agent logs initialized
@@ -480,7 +484,7 @@ agent-enderun check
480
484
 
481
485
  Beklenen çıktı:
482
486
  ```
483
- ✅ Framework aktif (v0.5.3)
487
+ ✅ Framework aktif (v0.5.7)
484
488
  ✅ MCP Sunucu hazır
485
489
  ✅ Paylaşılan türler derlenmiş
486
490
  ✅ Agent logları başlatılmış
package/claude.md CHANGED
@@ -7,4 +7,9 @@ This file is the entry point for Claude. The project's "Supreme Law" and all ins
7
7
  ### 🤖 AGENT DIRECTIVE
8
8
  You are ALWAYS operating as `@manager` (Team-Lead) by default — on every message, every turn. The user does NOT need to type `@manager`. Typing a specific agent (e.g. `@backend`) explicitly will override this and activate that specialist role directly. You are responsible for analysis and delegation.
9
9
 
10
+ ⚠️ **CRITICAL STARTUP REQUIREMENT:**
11
+ At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
12
+ 1. You **MUST** read `.claude/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
+ 2. You **MUST** read `.claude/agents/manager.md` (or the specialist's md file in `.claude/agents/` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
14
+
10
15
  Please read the Supreme Law thoroughly before taking any action.
package/codex.md CHANGED
@@ -7,4 +7,9 @@ This file is the entry point for Codex. The project's "Supreme Law" and all inst
7
7
  ### 🤖 AGENT DIRECTIVE
8
8
  You are ALWAYS operating as `@manager` (Team-Lead) by default — on every message, every turn. The user does NOT need to type `@manager`. Typing a specific agent (e.g. `@backend`) explicitly will override this and activate that specialist role directly. You are responsible for analysis and delegation.
9
9
 
10
+ ⚠️ **CRITICAL STARTUP REQUIREMENT:**
11
+ At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
12
+ 1. You **MUST** read `.enderun/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
+ 2. You **MUST** read `.enderun/agents/manager.md` (or the specialist's md file in `.enderun/agents/` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
14
+
10
15
  Please read the Supreme Law thoroughly before taking any action.
package/cursor.md CHANGED
@@ -7,4 +7,9 @@ This file is the entry point for Cursor. The project's "Supreme Law" and all ins
7
7
  ### 🤖 AGENT DIRECTIVE
8
8
  You are ALWAYS operating as `@manager` (Team-Lead) by default — on every message, every turn. The user does NOT need to type `@manager`. Typing a specific agent (e.g. `@backend`) explicitly will override this and activate that specialist role directly. You are responsible for analysis and delegation.
9
9
 
10
+ ⚠️ **CRITICAL STARTUP REQUIREMENT:**
11
+ At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
12
+ 1. You **MUST** read `.cursor/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
+ 2. You **MUST** read `.cursor/agents/manager.md` (or the specialist's md file in `.cursor/agents/` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
14
+
10
15
  Please read the Supreme Law thoroughly before taking any action.
package/gemini.md CHANGED
@@ -7,4 +7,9 @@ This file is the entry point for Gemini. The project's "Supreme Law" and all ins
7
7
  ### 🤖 AGENT DIRECTIVE
8
8
  You are ALWAYS operating as `@manager` (Team-Lead) by default — on every message, every turn. The user does NOT need to type `@manager`. Typing a specific agent (e.g. `@backend`) explicitly will override this and activate that specialist role directly. You are responsible for analysis and delegation.
9
9
 
10
+ ⚠️ **CRITICAL STARTUP REQUIREMENT:**
11
+ At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
12
+ 1. You **MUST** read `.gemini/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
+ 2. You **MUST** read `.gemini/agents/manager.md` (or the specialist's md file in `.gemini/agents/` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
14
+
10
15
  Please read the Supreme Law thoroughly before taking any action.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -79,7 +79,7 @@
79
79
  "vitest": "^3.0.5"
80
80
  },
81
81
  "enderun": {
82
- "version": "0.5.3",
82
+ "version": "0.5.7",
83
83
  "initializedAt": "2026-05-09T13:24:27.472Z"
84
84
  }
85
85
  }
@@ -1,6 +1,6 @@
1
1
  import path from "path";
2
2
  import fs from "fs";
3
- export const FRAMEWORK_VERSION = "0.5.2";
3
+ export const FRAMEWORK_VERSION = "0.5.7";
4
4
  export function getFrameworkDir(projectRoot) {
5
5
  const adapters = [".gemini", ".claude", ".cursor", ".enderun", ".codex"];
6
6
  for (const adp of adapters) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun-mcp",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Enterprise-grade MCP Server for AI Agent Framework",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -1,7 +1,7 @@
1
1
  import path from "path";
2
2
  import fs from "fs";
3
3
 
4
- export const FRAMEWORK_VERSION = "0.5.2";
4
+ export const FRAMEWORK_VERSION = "0.5.7";
5
5
 
6
6
  export function getFrameworkDir(projectRoot: string): string {
7
7
  const adapters = [".gemini", ".claude", ".cursor", ".enderun", ".codex"];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-enderun/shared-types",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Shared TypeScript types for AI-Enderun Framework. Ensures Contract-First synchronization between agents.",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",