ai-enderun 0.0.9 → 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.
@@ -18,320 +18,50 @@ 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
- | Deploy | Not yet defined |
22
-
23
- ## DOD STATUS
24
-
25
- | Phase | Status | Note |
26
- | :--- | :--- | :--- |
27
- | PHASE_0 | COMPLETED | Framework stabilized at v0.0.9 Master |
28
- | PHASE_1 | PENDING | After `contract.version.json` and first official contracts |
29
- | PHASE_2 | PENDING | Feature development has not started |
30
- | PHASE_3 | PENDING | Integration work has not started |
31
- | PHASE_4 | PENDING | Handover phase has not been reached |
32
-
33
- ## CRITICAL DECISIONS
34
-
35
- | Date | Decision | Rationale | Agent |
36
- | :--- | :--- | :--- | :--- |
37
- | 2026-05-07 | Standalone Architecture | Maximum flexibility and independence | @manager |
38
- | 2026-05-07 | Contract-First Discipline | Scalable development with zero errors | @manager |
39
- | 2026-05-07 | Canonical MCP Tooling | Aligning agent capabilities while maintaining tool names in a single dictionary | @analyst |
40
- | 2026-05-08 | Panda CSS Transition | Switching from Tailwind to Panda CSS for architectural discipline and type safety | @manager |
41
- | 2026-05-08 | Zero UI Library Policy | Banning ready-made libraries for originality and full control | @manager |
42
- | 2026-05-08 | ULID Standard | Switching from UUID to ULID for database performance and sortability (Standard: 26-char ULID) | @manager |
43
- | 2026-05-08 | English Translation | Moving all documentation and rules to English for international standards (Bilingual READMEs) | @manager |
44
- | 2026-05-08 | Documentation Decoupling | Reserved root `docs/` for user project requirements and `{{FRAMEWORK_DIR}}/docs/` for framework rules | @manager |
45
- | 2026-05-08 | Smart Init System | Automated adapter configuration (Gemini symlinks, Claude MCP guidance) in CLI | @manager |
46
- | 2026-05-08 | Continuity Principle | Mandating agents to follow existing code patterns and memory-driven decisions | @manager |
47
-
48
- ## DELIVERABLES
49
-
50
- | Module | Status | Agent | Date |
51
- | :--- | :--- | :--- | :--- |
52
- | Root and package README layout | Completed | @analyst | 2026-05-07 |
53
- | Agent SOP core library | Completed | @manager | 2026-05-07 |
54
21
 
55
22
  ## ACTIVE TASKS
56
23
 
57
- | Trace ID | Task | Agent | Priority | Status |
58
- | :--- | :--- | :--- | :--- | :--- |
59
- | 01KR44729Z08BQQ4FCDAVNC148 | Documentation Overhaul & Agent Evangelism | @manager | P1 | COMPLETED |
60
- | 01KR45N4S0XW6F7G6T1W8F9D2V | Smart Init System Implementation | @manager | P1 | COMPLETED |
61
- | 01KR45Q8N1V7Z7H9R2M3W9X4Y1 | Robust Access Law & Tool Failure Resolution | @manager | P1 | COMPLETED |
62
- | 01KR45W2Z91Y5K8M2T3V4X9N7R | Documentation Path Alignment (Root docs/ Fix) | @manager | P1 | COMPLETED |
63
- | 01KR45Y0M2X3V1B7D9N4Z2K8L5 | README Quick Start Guide Addition | @manager | P2 | COMPLETED |
64
- | 01KR460M3N1B5V9X2D4Z8L7K1R | Tech-Stack.md Relocation (Root docs/ Fix) | @manager | P1 | COMPLETED |
65
- | 01KR463F8N1V7W2Z9M3D4G7H5K | Version Bump to v0.0.9 & Health Check | @manager | P1 | COMPLETED |
66
- | 01KR4666M2X9R1T4V8D7Z2L5K1 | @manager SOP Hardening (MCP Health Check) | @manager | P1 | COMPLETED |
67
- | 01KR469B7N1V2W8Z3M4D9G1H5L | Build Automation & v0.0.9 Release | @manager | P1 | COMPLETED |
68
- | 01KR46D2M3X9V1T8Z4D7Z2L5K1 | Stable v0.0.9 Release (Complete Package) | @manager | P1 | COMPLETED |
69
- | 01KR46K8M2X3V9B7D4Z1L5K1R2 | Dynamic Placeholder System ({{FRAMEWORK_DIR}}) | @manager | P1 | COMPLETED |
70
- | 01KR46N2B7V1X9Z4M3D5G7H5L1 | 8th Specialist Added (@git) | @manager | P1 | COMPLETED |
71
- | 01KR444BM94P5W3ERVJ3YJ9T01 | Agent Report Version Synchronization (v0.0.9) | @manager | P1 | COMPLETED |
72
- | 01KR442W6MP3GXHF7TD32GJG1V | Agent SOP Hardening & Continuity Alignment (v0.0.9) | @manager | P1 | COMPLETED |
73
-
74
- ## HISTORY (Persistent Memory)
75
-
76
- ### 2026-05-08 — 8th Specialist Added (@git)
77
-
78
- - **Agent:** [[agents/manager|@manager]]
79
- - **Trace ID:** 01KR46N2B7V1X9Z4M3D5G7H5L1
80
- - **Action:** Added the `@git` agent (Version Control Specialist) as the 8th core role. Created `{{FRAMEWORK_DIR}}/agents/git.md` SOP and updated `ENDERUN.md` and `README.md`.
81
- - **Decision:** Dedicated a specialized role for Git management to ensure high-quality, atomic, and traceable repository history, which is critical for professional collaboration and rollbacks.
82
- - **Next Step:** Encourage users to utilize @git for all repository-related tasks.
83
-
84
- ### 2026-05-08 — Dynamic Placeholder System ({{FRAMEWORK_DIR}})
85
-
86
- - **Agent:** [[agents/manager|@manager]]
87
- - **Trace ID:** 01KR46K8M2X3V9B7D4Z1L5K1R2
88
- - **Action:** Introduced a `{{FRAMEWORK_DIR}}` placeholder system across all SOPs, Constitution, and Adapters. Updated `bin/cli.js` to dynamically replace this placeholder with the actual adapter folder name (e.g., `.gemini`) during `init`.
89
- - **Decision:** Solved the "Clean Root vs. Hardcoded Paths" dilemma by making the framework path-agnostic at source and self-correcting at install.
90
- - **Next Step:** Ensure all future documentation uses the `{{FRAMEWORK_DIR}}` pattern.
91
-
92
- ### 2026-05-08 — Stable v0.0.9 Release (Complete Package)
93
-
94
- - **Agent:** [[agents/manager|@manager]]
95
- - **Trace ID:** 01KR46D2M3X9V1T8Z4D7Z2L5K1
96
- - **Action:** Released stable `v0.0.9`. Implemented the "Clean Root" policy with adapter-specific hidden folders. Finalized dynamic path detection in CLI and MCP server. Added non-destructive documentation scaffolding and automated build scripts. Consistently synchronized all Agent SOPs.
97
- - **Decision:** Consolidated all feature-complete enhancements into v0.0.9 to provide a stable, clutter-free foundation for development without frequent version bumps.
98
- - **Next Step:** Proceed with project development under the v0.0.9 standard.
99
-
100
- ### 2026-05-08 — Adapter-Specific Folders & v0.0.9 Release
101
-
102
- - **Agent:** [[agents/manager|@manager]]
103
- - **Trace ID:** 01KR46D2M3X9V1T8Z4D7Z2L5K1
104
- - **Action:** Released `v0.0.9`. Refactored `init` to use adapter-specific hidden folders (e.g., `.gemini`, `.claude`) instead of the fixed `.enderun`. Removed `README.md` from the root during install to reduce clutter. Updated MCP server to dynamically detect framework paths.
105
- - **Decision:** Shifted framework files into hidden, adapter-specific directories to satisfy user request for a cleaner project root.
106
- - **Next Step:** Advise user to use `npx ai-enderun@latest init gemini` to see the new cleaner structure.
107
-
108
- ### 2026-05-08 — Build Automation & v0.0.8 Release
109
-
110
- - **Agent:** @manager
111
- - **Trace ID:** 01KR469B7N1V2W8Z3M4D9G1H5L
112
- - **Action:** Released `v0.0.8`. Updated `init` command to automatically inject `enderun:build` script into target `package.json`. Refined `check` command instructions to point users to the new automated build script.
113
- - **Decision:** Minimized manual user intervention by automating the recursive build process for framework sub-packages.
114
- - **Next Step:** Advise user to update to v0.0.8 in their project.
115
-
116
- ### 2026-05-08 — @manager SOP Hardening (MCP Health Check)
117
-
118
- - **Agent:** @manager
119
- - **Trace ID:** 01KR4666M2X9R1T4V8D7Z2L5K1
120
- - **Action:** Hardened the `@manager` SOP by adding a mandatory MCP health check to the startup protocol. The manager must now verify connectivity at the beginning of every session and warn the user if tools are unresponsive.
121
- - **Decision:** Shifted some health monitoring responsibility to the agent level to ensure the orchestration environment is always valid during active sessions.
122
- - **Next Step:** Observe agent behavior during startup and verify they correctly report MCP issues.
123
-
124
- ### 2026-05-08 — Version Bump to v0.0.7 & Health Check
125
-
126
- - **Agent:** @manager
127
- - **Trace ID:** 01KR463F8N1V7W2Z9M3D4G7H5K
128
- - **Action:** Bumped framework version to `v0.0.7`. Implemented `ai-enderun check` command to verify framework health, directory existence, and MCP server readiness. Added automated warnings for missing dependencies and builds during `init`.
129
- - **Decision:** Prioritized user experience by providing a verification tool to ensure the complex multi-component framework is correctly set up before starting orchestration.
130
- - **Next Step:** Encourage users to run `ai-enderun check` as part of their initial setup.
131
-
132
- ### 2026-05-08 — Tech-Stack.md Relocation (Root docs/ Fix)
133
-
134
- - **Agent:** @manager
135
- - **Trace ID:** 01KR460M3N1B5V9X2D4Z8L7K1R
136
- - **Action:** Relocated `tech-stack.md` from `{{FRAMEWORK_DIR}}/docs/` to the root `docs/` directory. Updated `ENDERUN.md`, `README.md`, Agent SOPs, and MCP gap detection logic to reflect this change.
137
- - **Decision:** Centralized all project-specific "What" and "How" documentation in the root `docs/` folder to improve visibility and clarify the separation between project requirements and framework internals.
138
- - **Next Step:** Verify that agents are correctly auditing both requirements and tech stack from the root `docs/` folder.
139
-
140
- ### 2026-05-08 — README Quick Start Guide Addition
141
-
142
- - **Agent:** @manager
143
- - **Trace ID:** 01KR45Y0M2X3V1B7D9N4Z2K8L5
144
- - **Action:** Added a bilingual "Getting Started / Başlangıç Rehberi" section to the root `README.md`. Outlined the 5 critical steps for users to take after framework initialization to begin their orchestration journey.
145
- - **Decision:** Improved user onboarding by providing clear, actionable post-install instructions directly in the main project entry point.
146
- - **Next Step:** Maintain documentation clarity as new features are added.
147
-
148
- ### 2026-05-08 — Documentation Path Alignment (Root docs/ Fix)
149
-
150
- - **Agent:** @manager
151
- - **Trace ID:** 01KR45W2Z91Y5K8M2T3V4X9N7R
152
- - **Action:** Corrected outdated path references in `ENDERUN.md` and `framework-mcp`. Ensured that agents look for project requirements in root `docs/` and technical API contracts in `{{FRAMEWORK_DIR}}/docs/api`.
153
- - **Decision:** Fully aligned all framework logic with the decoupled documentation model to eliminate agent confusion.
154
- - **Next Step:** Verify that agents are now correctly identifying project requirements in the root `docs/` folder.
155
-
156
- ### 2026-05-08 — Robust Access Law & Tool Failure Resolution
157
-
158
- - **Agent:** @manager
159
- - **Trace ID:** 01KR45Q8N1V7Z7H9R2M3W9X4Y1
160
- - **Action:** Resolved agent failures regarding `Shell date` and direct `ReadFile` of `{{FRAMEWORK_DIR}}/PROJECT_MEMORY.md`. Implemented `get_system_time` and `read_project_memory` MCP tools. Established the "Robust Access Law" in `ENDERUN.md` and updated all Agent SOPs to mandate these tools.
161
- - **Decision:** Mandated MCP tools for sensitive operations to bypass shell environment inconsistencies and restricted file access in certain agent environments.
162
- - **Next Step:** Monitor agent stability and ensure all clients correctly utilize the new tools.
163
-
164
- ### 2026-05-08 — Smart Init System Implementation
165
-
166
- - **Agent:** @manager
167
- - **Trace ID:** 01KR45N4S0XW6F7G6T1W8F9D2V
168
- - **Action:** Upgraded the `ai-enderun init` command to a "Smart Init" system. Refactored `bin/cli.js` to support `package.json` merging, `.gitignore` updates, and automated `PROJECT_MEMORY.md` initialization. Excluded project-specific state files from the initial framework copy.
169
- - **Decision:** Shifted from simple file copying to a non-destructive, project-aware initialization process to improve user experience and framework adoption.
170
- - **Next Step:** Monitor user feedback and refine adapter-specific smart setup logic.
171
-
172
- ### 2026-05-08 — Documentation Overhaul & Agent Evangelism
173
-
174
- - **Agent:** @manager
175
- - **Trace ID:** 01KR44729Z08BQQ4FCDAVNC148
176
- - **Action:** Extensively updated `README.md` and `CHANGELOG.md`. Detailed all 7 agent roles (@manager, @analyst, @backend, @frontend, @explorer, @mobile, @native) and explained the new decoupled documentation model (root `docs/` vs `{{FRAMEWORK_DIR}}/docs/`).
177
- - **Decision:** Positioned root `README.md` as a professional gateway that clearly defines agent responsibilities and framework discipline.
178
- - **Next Step:** Ready for release or user requirement input.
179
-
180
- ### 2026-05-08 — Agent Report Version Synchronization (v0.0.6)
181
-
182
- - **Agent:** @manager
183
- - **Trace ID:** 01KR444BM94P5W3ERVJ3YJ9T01
184
- - **Action:** Synchronized all "Agent Completion Report" versions across all 7 agent files to `v0.0.6` to match the core framework version.
185
- - **Decision:** Unified versioning across all documentation to prevent confusion and maintain strict version control discipline.
186
- - **Next Step:** Proceed with the project structure as a unified v0.0.6 system.
187
-
188
- ### 2026-05-08 — Agent SOP Hardening & Full Project Recall
189
-
190
- - **Agent:** @manager
191
- - **Trace ID:** 01KR442W6MP3GXHF7TD32GJG1V
192
- - **Action:** Conducted a comprehensive update of all 7 agent SOP files in `{{FRAMEWORK_DIR}}/agents/`. Infused each agent with the "Procedural Continuity" principle and "Memory-First" discipline. Removed legacy pathing and standardized all agents to v0.0.6.
193
- - **Decision:** All agents now operate with full awareness of the project's historical decisions and structural standards, ensuring they "finish how they started."
194
- - **Next Step:** Ready for the first user requirement analysis under the hardened framework.
195
-
196
- ### 2026-05-08 — Framework Continuity & Memory Hardening
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)
197
32
 
198
- - **Agent:** @manager
199
- - **Trace ID:** 01KR43YRNEDBR6RPEYJT99CD6F
200
- - **Action:** Established the "Procedural Continuity" principle in `ENDERUN.md`. Hardened the project memory by updating `CRITICAL DECISIONS` with recent architectural shifts (Doc Decoupling, Smart Init). Cleaned up legacy tasks in `ACTIVE TASKS` to align with v0.0.6 reality.
201
- - **Decision:** Mandated that all future agents must strictly follow established patterns and reference memory before any action to ensure architectural integrity.
202
- - **Next Step:** Maintain stability and proceed with project building blocks under the new continuity rules.
33
+ ## CRITICAL DECISIONS
203
34
 
204
- ### 2026-05-08 Smart Init & Post-Install Hooks
35
+ - **Clean Root Policy:** All framework assets are kept in adapter-specific hidden folders.
36
+ - **Zero UI Library Policy:** No external UI libraries allowed; use Panda CSS + Original components.
37
+ - **ULID Standard:** All IDs must be sortable ULIDs for superior traceability.
38
+ - **Multi-AI Compatibility:** Avoid reserved keywords like `resource` in prompt templates.
39
+ - **Automated Init:** CLI must handle `git init` and scaffolding autonomously.
205
40
 
206
- - **Agent:** @manager
207
- - **Trace ID:** 01KR43VSG0GHNTM8C13RRDVSBX
208
- - **Action:** Refactored `bin/cli.js` to include "Smart Init" features. Added post-install hooks for Gemini (automatic symlink creation to `{{FRAMEWORK_DIR}}/agents`) and Claude (automated MCP configuration command output).
209
- - **Decision:** Enhanced user experience by automating repetitive configuration steps during framework initialization.
210
- - **Next Step:** Maintain CLI features and monitor user feedback on the smart setup process.
41
+ ## HISTORY
211
42
 
212
- ### 2026-05-08 — User Document Restoration & Role Definition
43
+ ### 2026-05-08 — v0.0.10 Super-Stabilization (MASTER)
213
44
 
214
45
  - **Agent:** @manager
215
- - **Trace ID:** 01KR43P710SSZVMCV8GP5CEJVW
216
- - **Action:** Restored `project-docs.md` to root `docs/` as per user requirement. Formally defined root `docs/` as the primary "User Requirement Center" where agents must check every file during the build process. Maintained technical framework docs in `{{FRAMEWORK_DIR}}/docs/`. Updated `package.json` to include both directories.
217
- - **Decision:** Clearly separated "User/Business Requirements" (root `docs/`) from "Framework/Technical Constitution" (`{{FRAMEWORK_DIR}}/docs/`).
218
- - **Next Step:** Agents are now instructed to treat root `docs/` as the source of truth for project features and building blocks.
46
+ - **Trace ID:** 01KR46D2M3X9V1T8Z4D7Z2L5K1
47
+ - **Action:** Consolidated all stabilization fixes into v0.0.10. Fixed init pathing, linker placement, git automation, and Claude Code template validation. Synchronized all 8 agents and packages.
48
+ - **Decision:** Released v0.0.10 as the definitive stable baseline for the framework.
49
+ - **Next Step:** Ready for production-grade feature development.
219
50
 
220
- ### 2026-05-08 — Documentation Decoupling & Cleanup
51
+ ### 2026-05-08 — Major Structural & Clean Root Transition (v0.0.9)
221
52
 
222
53
  - **Agent:** @manager
223
- - **Trace ID:** 01KR43KF3G70GW3VZTK9E1953S
224
- - **Action:** Decoupled framework documentation from user project instructions. Moved all framework-related docs from root `docs/` to `{{FRAMEWORK_DIR}}/docs/`. Cleaned up redundant files and emptied root `docs/` to serve as the user instruction entry point. Updated `package.json` to reflect new paths.
225
- - **Decision:** Reserved root `docs/` exclusively for user requirements and story files, ensuring a clear separation between framework logic and project-specific building blocks.
226
- - **Next Step:** User can now place project requirement files (e.g., `tt.md`) in root `docs/` for agent consumption.
54
+ - **Trace ID:** 01KR46N2B7V1X9Z4M3D5G7H5L1
55
+ - **Action:** Decoupled framework documentation from user project instructions. Moved assets to hidden folders.
56
+ - **Next Step:** Finalize adapter-specific logic.
227
57
 
228
58
  ### 2026-05-08 — Structural Alignment & Trace ID Correction
229
59
 
230
60
  - **Agent:** @manager
231
61
  - **Trace ID:** 01KR43EZD3BWKX08KHQ6EV7DHC
232
- - **Action:** Converted legacy UUID Trace IDs in ACTIVE TASKS to ULID standard. Created missing `{{FRAMEWORK_DIR}}/docs/` directory structure, including `tech-stack.md`, `project-docs.md`, and `api/` folder.
233
- - **Decision:** Strictly enforced ULID standard and structural completeness of the framework.
234
- - **Next Step:** Ready for PHASE_1 or further framework configuration.
235
-
236
- ### 2026-05-08 — Comprehensive Documentation & CLI Polish (v0.0.6)
237
-
238
- - **Agent:** @manager
239
- - **Trace ID:** 01J... (New ULID)
240
- - **Action:** Conducted a full audit of all framework capabilities. Rewrote `README.md` to include detailed instructions for all adapters (`GEMINI`, `CLAUDE`, `CURSOR`, `CODEX`) and the `init` command. Refactored `bin/cli.js` to correctly handle adapter-specific initialization and core file scaffolding. Fixed cross-file references to `ENDERUN.md` and `GEMINI.md`.
241
- - **Decision:** Unified the terminology and ensured all installation paths are clear for npm users.
242
- - **Next Step:** Ready for final npm distribution.
243
-
244
- ### 2026-05-08 — NPM Readiness & Documentation Overhaul (v0.0.6)
245
-
246
- - **Agent:** @manager
247
- - **Trace ID:** 01J... (New ULID)
248
- - **Action:** Conducted a comprehensive audit of all `package.json` and `README.md` files. Updated metadata (license, keywords, descriptions) for npm publication. Rewrote all READMEs in a professional, bilingual format. Fixed file references in root `package.json` to include new `ENDERUN.md` and exclude source code where appropriate.
249
- - **Decision:** Standardized all package metadata to v0.0.6 and MIT license. Established a professional external-facing identity for the framework.
250
- - **Next Step:** Perform a final test publish or dry-run.
251
-
252
- ### 2026-05-08 — Agnostic Framework Transition (.enderun)
253
-
254
- - **Agent:** @manager
255
- - **Trace ID:** 01J... (New ULID)
256
- - **Action:** Renamed the core framework folder from `.gemini` to `.enderun` to create an LLM-agnostic environment. Updated all global references in code, adapters, and tools. Verified that CLI and MCP tools correctly reference the new path.
257
- - **Decision:** Adopted `.enderun` as the standard folder name to eliminate perceived bias toward any single AI provider and ensure full compatibility with Cursor and Claude.
258
- - **Next Step:** Update any remaining external documentation or CI/CD scripts.
259
-
260
- ### 2026-05-08 — Advanced Framework Tuning (v0.0.6)
261
-
262
- - **Agent:** @manager
263
- - **Trace ID:** 01J... (New ULID)
264
- - **Action:** Upgraded `security_audit_scan` to use AST-based analysis (ts-morph) for precise `any` and `console.log` detection. Improved `verify_api_contract` with actionable fix suggestions. Added "Multi-Agent Coordination Protocol" to `ENDERUN.md` to regulate shared resource usage.
265
- - **Decision:** Shifted critical security checks from Regex to AST for higher reliability and zero false positives.
266
- - **Next Step:** Maintain framework stability and observe agent coordination.
267
-
268
- ### 2026-05-08 — Framework & Adapter Alignment (v0.0.6)
269
-
270
- - **Agent:** @manager
271
- - **Trace ID:** 01J... (New ULID)
272
- - **Action:** Fixed all language inconsistencies across the framework and adapter layers. Translated remaining Turkish section names to English in `framework-mcp`, `cli.js`, `GEMINI.md`, `CURSOR.md`, `CLAUDE.md`, and `CODEX.md`. Corrected case-sensitive file references (`ENDERUN.md`, `GEMINI.md`). Updated `BRAIN_DASHBOARD.md` to English standards.
273
- - **Decision:** Standardized all internal logic and documentation to English while maintaining bilingual READMEs.
274
- - **Next Step:** Continue auditing framework tools for edge cases.
275
-
276
- ### 2026-05-08 — Project-Wide Standard Unification (v0.0.6)
277
-
278
- - **Agent:** @analyst
279
- - **Trace ID:** e81839b7-9dee-44d9-9301-ac4a9febe9b5
280
- - **Action:** Created `ENDERUN.md`, updated `CURSOR.md`, `CLAUDE.md`, and `CODEX.md` with v0.0.6 standards and full MCP tools. Refined `log_agent_action` standard in Agent SOPs and improved gap detection logic in `framework-mcp`. Fixed contract hash mismatch.
281
- - **Decision:** Standardized all adapter layers to ensure consistent agent behavior across different IDE clients.
282
- - **Next Step:** Proceed with PHASE_1 architecture alignment.
283
-
284
- ### 2026-05-08 — English Transition
285
-
286
- - **Agent:** @manager
287
- - **Trace ID:** 01J... (New ULID)
288
- - **Action:** Completely translated the Constitution (ENDERUN.md), Memory (PROJECT_MEMORY.md), and all Agent SOPs to English. Standardized the documentation language.
289
- - **Decision:** All project files will be in English, while README files will remain bilingual (EN/TR) for better accessibility.
290
- - **Next Step:** Update all README files to the bilingual structure.
291
-
292
- ### 2026-05-08 — Release Preparation and v0.0.5
293
-
294
- - **Agent:** @manager
295
- - **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
296
- - **Action:** Cleaned logs, updated all package versions to `v0.0.5`. Established a stable release state after architectural changes (Panda CSS & Zero UI Library).
297
- - **Decision:** Decided to clean logs and bump version before release.
298
- - **Next Step:** Perform git push and npm publishing operations.
299
-
300
- ### 2026-05-08 — Panda CSS and Original Design Transition
301
-
302
- - **Agent:** @manager
303
- - **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
304
- - **Action:** Migrated the project's design system from Tailwind to Panda CSS. Adopted the "Zero UI Library Policy". Updated `ENDERUN.md`, `tech-stack.md`, and `frontend.md`.
305
- - **Decision:** Adopted the Panda CSS + Custom UI Component (No Library) approach to maximize architectural discipline and originality.
306
- - **Next Step:** Setup Panda CSS and create the config file in `apps/web`.
307
-
308
- ### 2026-05-08 — ULID Standard Transition
309
-
310
- - **Agent:** @manager
311
- - **Trace ID:** 01J... (New ULID)
312
- - **Action:** Migrated from UUID to ULID across the project. Added a lightweight ULID generator to `shared-types` and `cli.js`. Updated all constitutional documents to the new standard.
313
- - **Decision:** Adopted the ULID standard for its database indexing performance and chronological sortability advantages.
314
- - **Next Step:** Replace existing UUIDs with ULIDs over time or maintain a hybrid structure.
315
-
316
- ### 2026-05-08 — Memory and Capability Audit
317
-
318
- - **Agent:** @analyst
319
- - **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
320
- - **Action:** Tested agents' memory system and historical recall capabilities. Reviewed `PROJECT_MEMORY.md` and log structures. Confirmed memory consistency and recall of previous v0.0.4 release preparations.
321
- - **Decision:** Existing memory system (SSOT) is sufficient, but JSON logging continuity should be monitored.
322
- - **Next Step:** Continue technical development based on user guidance.
323
-
324
- ### 2026-05-07 — Missing Source Files and v0.0.4 Release
325
-
326
- - **Agent:** @manager
327
- - **Trace ID:** 18969447-95fb-4a8f-b0af-18336c3f1931
328
- - **Action:** Included `src` folders in release files to resolve `ERR_MODULE_NOT_FOUND` during `pnpm dev`. Bumped all packages to v0.0.4.
329
- - **Decision:** Decided to include `src` folders in the package due to the need for source access in development mode.
330
- - **Next Step:** Git push and npm publish.
62
+ - **Action:** Converted legacy UUIDs to ULID standard.
63
+ - **Next Step:** Ready for Phase 1 Architecture.
331
64
 
332
- ### 2026-05-07 — README and Documentation Update
65
+ ---
333
66
 
334
- - **Agent:** @analyst
335
- - **Trace ID:** —
336
- - **Action:** Detailed and updated all README files (root, framework-mcp, shared-types, api) in line with the project's "Enderun" identity and agent capabilities.
337
- - **Next Step:** Prepare initial API documents as part of PHASE_1 preparations.
67
+ _Generated by AI-Enderun Framework v0.0.10 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.9 Master
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: 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.9)
175
+ **Agent Completion Report** (v0.0.10)
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.9 Master
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
 
@@ -81,8 +81,8 @@ class DomainError extends Error {
81
81
  }
82
82
  }
83
83
  class NotFoundError extends DomainError {
84
- constructor(resource: string) {
85
- super("NOT_FOUND", 404, `${resource} not found.`);
84
+ constructor(entity: string) {
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.9)
236
+ **Agent Completion Report** (v0.0.10)
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.9 Master
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
 
@@ -79,7 +79,7 @@ Every research report must include:
79
79
 
80
80
  ---
81
81
 
82
- **Agent Completion Report** (v0.0.9)
82
+ **Agent Completion Report** (v0.0.10)
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.9 Master
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
 
@@ -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.9)
138
+ **Agent Completion Report** (v0.0.10)
139
139
  - Mock used? [ ] No / [ ] Yes
140
140
  - shared-types imported? [ ] No / [ ] Yes
141
141
  - **API contract read? [ ] No / [ ] Yes → {{FRAMEWORK_DIR}}/docs/api/**
@@ -1,4 +1,9 @@
1
- # Version Control Specialist (@git) — v0.0.9 Master
1
+ ---
2
+ name: git
3
+ description: "Version Control Specialist. Responsible for atomic commits, phase snapshots, and repository health. Orchestrated by @manager to maintain 100% traceability."
4
+ ---
5
+
6
+ # Version Control Specialist (@git) — v0.0.11 Master
2
7
 
3
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.
4
9
 
@@ -37,11 +42,15 @@ Every message MUST follow this pattern:
37
42
 
38
43
  ## 🚀 Standard Operating Procedure (SOP)
39
44
 
40
- ### Step 1: Status Audit
41
- Before any action, check the current repository status:
42
- - `git status`
43
- - `git log -n 5 --oneline`
44
- - Which files are staged? Which are modified?
45
+ ### Step 1: Repository Initialization & Status Audit
46
+ If the project is not a git repository or is empty:
47
+ 1. Run `git init`.
48
+ 2. Create an initial commit with the framework structure:
49
+ - `git add .`
50
+ - `git commit -m "[{{TRACE_ID}}] chore: initial AI-Enderun framework scaffold"`
51
+ 3. If it is already a repository, check status:
52
+ - `git status`
53
+ - `git log -n 5 --oneline`
45
54
 
46
55
  ### Step 2: Atomic Committing
47
56
  When a sub-task is completed by another agent (e.g., @backend finished a service):
@@ -70,7 +79,7 @@ If conflicts arise during integration, @git is responsible for performing a clea
70
79
 
71
80
  > Every response MUST end with the **Agent Completion Report**.
72
81
 
73
- ### Agent Completion Report (v0.0.9)
82
+ ### Agent Completion Report (v0.0.10)
74
83
  - Trace ID: [ULID]
75
84
  - Atomic Commits made? [ ] No / [ ] Yes
76
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.9 Master
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:** 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.9 (Mandatory in Every Agent Directive)
72
+ ## Briefing Template v0.0.10 (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.9)
160
+ **Agent Completion Report** (v0.0.10)
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.9 Master
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
 
@@ -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.9)
47
+ **Agent Completion Report** (v0.0.10)
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.9 Master
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
 
@@ -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.9)
46
+ **Agent Completion Report** (v0.0.10)
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.9)
1
+ # AI-Enderun — Claude Code Adapter (v0.0.10)
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.9)
1
+ # AI-Enderun — Codex Adapter (v0.0.10)
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.9)
1
+ # AI-Enderun — Cursor Adapter (v0.0.10)
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`.