ai-enderun 0.0.5 → 0.0.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.
- package/.enderun/PROJECT_MEMORY.md +293 -0
- package/.enderun/agents/analyst.md +183 -0
- package/.enderun/agents/backend.md +232 -0
- package/.enderun/agents/explorer.md +92 -0
- package/.enderun/agents/frontend.md +138 -0
- package/.enderun/agents/manager.md +159 -0
- package/.enderun/agents/mobile.md +56 -0
- package/.enderun/agents/native.md +55 -0
- package/.enderun/docs/ARCHITECTURE.md +65 -0
- package/.enderun/docs/WIKI.md +30 -0
- package/.enderun/docs/agent-interaction.md +22 -0
- package/.enderun/docs/api/README.md +4 -0
- package/CLAUDE.md +17 -11
- package/CODEX.md +21 -9
- package/CURSOR.md +21 -9
- package/ENDERUN.md +302 -0
- package/GEMINI.md +39 -0
- package/README.md +114 -45
- package/bin/cli.js +364 -50
- package/docs/project-docs.md +13 -0
- package/docs/tech-stack.md +14 -0
- package/package.json +24 -18
- package/packages/framework-mcp/README.md +52 -31
- package/packages/framework-mcp/dist/index.js +429 -89
- package/packages/framework-mcp/package.json +11 -5
- package/packages/shared-types/README.md +43 -35
- package/packages/shared-types/dist/index.d.ts +2 -1
- package/packages/shared-types/dist/index.d.ts.map +1 -1
- package/packages/shared-types/dist/index.js +20 -6
- package/packages/shared-types/dist/index.js.map +1 -1
- package/packages/shared-types/package.json +15 -6
- package/.env.example +0 -10
- package/.gemini/PROJECT_MEMORY.md +0 -108
- package/.gemini/agents/analyst.md +0 -185
- package/.gemini/agents/backend.md +0 -209
- package/.gemini/agents/explorer.md +0 -81
- package/.gemini/agents/frontend.md +0 -401
- package/.gemini/agents/manager.md +0 -153
- package/.gemini/agents/mobile.md +0 -139
- package/.gemini/agents/native.md +0 -172
- package/.gemini/docs/WIKI.md +0 -36
- package/.gemini/docs/agent-interaction.md +0 -22
- package/.gemini/docs/api/README.md +0 -29
- package/.gemini/docs/project-docs.md +0 -16
- package/.gemini/docs/tech-stack.md +0 -31
- package/Gemini.md +0 -284
- package/mcp.json +0 -8
- package/packages/framework-mcp/src/index.ts +0 -759
- package/packages/framework-mcp/tsconfig.json +0 -16
- package/packages/shared-types/contract.version.json +0 -11
- package/packages/shared-types/src/index.ts +0 -85
- package/packages/shared-types/tsconfig.json +0 -20
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
# PROJECT MEMORY — AI-Enderun
|
|
2
|
+
|
|
3
|
+
This file is the Single Source of Truth (SSOT) and the persistent memory of the project.
|
|
4
|
+
|
|
5
|
+
## CURRENT STATUS
|
|
6
|
+
|
|
7
|
+
| Active Phase | Profile | Last Update | Active Trace ID | Blockers |
|
|
8
|
+
| :----------- | :------ | :---------- | :-------------- | :------- |
|
|
9
|
+
| PHASE_0 | Lightweight | 2026-05-08 | 01KR44729Z08BQQ4FCDAVNC148 | NONE |
|
|
10
|
+
|
|
11
|
+
## PROJECT DEFINITION
|
|
12
|
+
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| :--- | :--- |
|
|
15
|
+
| Project Name | AI-Enderun |
|
|
16
|
+
| Platform | Agent skill sandbox / orchestration framework |
|
|
17
|
+
| Frontend | React 19 + Vite + Zustand + Panda CSS |
|
|
18
|
+
| Backend | Node.js 20+ + Fastify + Kysely |
|
|
19
|
+
| DB | PostgreSQL |
|
|
20
|
+
| Auth | Not yet defined |
|
|
21
|
+
| Deploy | Not yet defined |
|
|
22
|
+
|
|
23
|
+
## DOD STATUS
|
|
24
|
+
|
|
25
|
+
| Phase | Status | Note |
|
|
26
|
+
| :--- | :--- | :--- |
|
|
27
|
+
| PHASE_0 | IN_PROGRESS | Tool contracts and memory structure being aligned |
|
|
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 `.enderun/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
|
+
|
|
55
|
+
## ACTIVE TASKS
|
|
56
|
+
|
|
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.7 & Health Check | @manager | P1 | COMPLETED |
|
|
66
|
+
| 01KR4666M2X9R1T4V8D7Z2L5K1 | @manager SOP Hardening (MCP Health Check) | @manager | P1 | COMPLETED |
|
|
67
|
+
| 01KR444BM94P5W3ERVJ3YJ9T01 | Agent Report Version Synchronization (v0.0.6) | @manager | P1 | COMPLETED |
|
|
68
|
+
| 01KR442W6MP3GXHF7TD32GJG1V | Agent SOP Hardening & Continuity Alignment | @manager | P1 | COMPLETED |
|
|
69
|
+
|
|
70
|
+
## HISTORY (Persistent Memory)
|
|
71
|
+
|
|
72
|
+
### 2026-05-08 — @manager SOP Hardening (MCP Health Check)
|
|
73
|
+
|
|
74
|
+
- **Agent:** @manager
|
|
75
|
+
- **Trace ID:** 01KR4666M2X9R1T4V8D7Z2L5K1
|
|
76
|
+
- **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.
|
|
77
|
+
- **Decision:** Shifted some health monitoring responsibility to the agent level to ensure the orchestration environment is always valid during active sessions.
|
|
78
|
+
- **Next Step:** Observe agent behavior during startup and verify they correctly report MCP issues.
|
|
79
|
+
|
|
80
|
+
### 2026-05-08 — Version Bump to v0.0.7 & Health Check
|
|
81
|
+
|
|
82
|
+
- **Agent:** @manager
|
|
83
|
+
- **Trace ID:** 01KR463F8N1V7W2Z9M3D4G7H5K
|
|
84
|
+
- **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`.
|
|
85
|
+
- **Decision:** Prioritized user experience by providing a verification tool to ensure the complex multi-component framework is correctly set up before starting orchestration.
|
|
86
|
+
- **Next Step:** Encourage users to run `ai-enderun check` as part of their initial setup.
|
|
87
|
+
|
|
88
|
+
### 2026-05-08 — Tech-Stack.md Relocation (Root docs/ Fix)
|
|
89
|
+
|
|
90
|
+
- **Agent:** @manager
|
|
91
|
+
- **Trace ID:** 01KR460M3N1B5V9X2D4Z8L7K1R
|
|
92
|
+
- **Action:** Relocated `tech-stack.md` from `.enderun/docs/` to the root `docs/` directory. Updated `ENDERUN.md`, `README.md`, Agent SOPs, and MCP gap detection logic to reflect this change.
|
|
93
|
+
- **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.
|
|
94
|
+
- **Next Step:** Verify that agents are correctly auditing both requirements and tech stack from the root `docs/` folder.
|
|
95
|
+
|
|
96
|
+
### 2026-05-08 — README Quick Start Guide Addition
|
|
97
|
+
|
|
98
|
+
- **Agent:** @manager
|
|
99
|
+
- **Trace ID:** 01KR45Y0M2X3V1B7D9N4Z2K8L5
|
|
100
|
+
- **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.
|
|
101
|
+
- **Decision:** Improved user onboarding by providing clear, actionable post-install instructions directly in the main project entry point.
|
|
102
|
+
- **Next Step:** Maintain documentation clarity as new features are added.
|
|
103
|
+
|
|
104
|
+
### 2026-05-08 — Documentation Path Alignment (Root docs/ Fix)
|
|
105
|
+
|
|
106
|
+
- **Agent:** @manager
|
|
107
|
+
- **Trace ID:** 01KR45W2Z91Y5K8M2T3V4X9N7R
|
|
108
|
+
- **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 `.enderun/docs/api`.
|
|
109
|
+
- **Decision:** Fully aligned all framework logic with the decoupled documentation model to eliminate agent confusion.
|
|
110
|
+
- **Next Step:** Verify that agents are now correctly identifying project requirements in the root `docs/` folder.
|
|
111
|
+
|
|
112
|
+
### 2026-05-08 — Robust Access Law & Tool Failure Resolution
|
|
113
|
+
|
|
114
|
+
- **Agent:** @manager
|
|
115
|
+
- **Trace ID:** 01KR45Q8N1V7Z7H9R2M3W9X4Y1
|
|
116
|
+
- **Action:** Resolved agent failures regarding `Shell date` and direct `ReadFile` of `.enderun/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.
|
|
117
|
+
- **Decision:** Mandated MCP tools for sensitive operations to bypass shell environment inconsistencies and restricted file access in certain agent environments.
|
|
118
|
+
- **Next Step:** Monitor agent stability and ensure all clients correctly utilize the new tools.
|
|
119
|
+
|
|
120
|
+
### 2026-05-08 — Smart Init System Implementation
|
|
121
|
+
|
|
122
|
+
- **Agent:** @manager
|
|
123
|
+
- **Trace ID:** 01KR45N4S0XW6F7G6T1W8F9D2V
|
|
124
|
+
- **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.
|
|
125
|
+
- **Decision:** Shifted from simple file copying to a non-destructive, project-aware initialization process to improve user experience and framework adoption.
|
|
126
|
+
- **Next Step:** Monitor user feedback and refine adapter-specific smart setup logic.
|
|
127
|
+
|
|
128
|
+
### 2026-05-08 — Documentation Overhaul & Agent Evangelism
|
|
129
|
+
|
|
130
|
+
- **Agent:** @manager
|
|
131
|
+
- **Trace ID:** 01KR44729Z08BQQ4FCDAVNC148
|
|
132
|
+
- **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 `.enderun/docs/`).
|
|
133
|
+
- **Decision:** Positioned root `README.md` as a professional gateway that clearly defines agent responsibilities and framework discipline.
|
|
134
|
+
- **Next Step:** Ready for release or user requirement input.
|
|
135
|
+
|
|
136
|
+
### 2026-05-08 — Agent Report Version Synchronization (v0.0.6)
|
|
137
|
+
|
|
138
|
+
- **Agent:** @manager
|
|
139
|
+
- **Trace ID:** 01KR444BM94P5W3ERVJ3YJ9T01
|
|
140
|
+
- **Action:** Synchronized all "Agent Completion Report" versions across all 7 agent files to `v0.0.6` to match the core framework version.
|
|
141
|
+
- **Decision:** Unified versioning across all documentation to prevent confusion and maintain strict version control discipline.
|
|
142
|
+
- **Next Step:** Proceed with the project structure as a unified v0.0.6 system.
|
|
143
|
+
|
|
144
|
+
### 2026-05-08 — Agent SOP Hardening & Full Project Recall
|
|
145
|
+
|
|
146
|
+
- **Agent:** @manager
|
|
147
|
+
- **Trace ID:** 01KR442W6MP3GXHF7TD32GJG1V
|
|
148
|
+
- **Action:** Conducted a comprehensive update of all 7 agent SOP files in `.enderun/agents/`. Infused each agent with the "Procedural Continuity" principle and "Memory-First" discipline. Removed legacy pathing and standardized all agents to v0.0.6.
|
|
149
|
+
- **Decision:** All agents now operate with full awareness of the project's historical decisions and structural standards, ensuring they "finish how they started."
|
|
150
|
+
- **Next Step:** Ready for the first user requirement analysis under the hardened framework.
|
|
151
|
+
|
|
152
|
+
### 2026-05-08 — Framework Continuity & Memory Hardening
|
|
153
|
+
|
|
154
|
+
- **Agent:** @manager
|
|
155
|
+
- **Trace ID:** 01KR43YRNEDBR6RPEYJT99CD6F
|
|
156
|
+
- **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.
|
|
157
|
+
- **Decision:** Mandated that all future agents must strictly follow established patterns and reference memory before any action to ensure architectural integrity.
|
|
158
|
+
- **Next Step:** Maintain stability and proceed with project building blocks under the new continuity rules.
|
|
159
|
+
|
|
160
|
+
### 2026-05-08 — Smart Init & Post-Install Hooks
|
|
161
|
+
|
|
162
|
+
- **Agent:** @manager
|
|
163
|
+
- **Trace ID:** 01KR43VSG0GHNTM8C13RRDVSBX
|
|
164
|
+
- **Action:** Refactored `bin/cli.js` to include "Smart Init" features. Added post-install hooks for Gemini (automatic symlink creation to `.enderun/agents`) and Claude (automated MCP configuration command output).
|
|
165
|
+
- **Decision:** Enhanced user experience by automating repetitive configuration steps during framework initialization.
|
|
166
|
+
- **Next Step:** Maintain CLI features and monitor user feedback on the smart setup process.
|
|
167
|
+
|
|
168
|
+
### 2026-05-08 — User Document Restoration & Role Definition
|
|
169
|
+
|
|
170
|
+
- **Agent:** @manager
|
|
171
|
+
- **Trace ID:** 01KR43P710SSZVMCV8GP5CEJVW
|
|
172
|
+
- **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 `.enderun/docs/`. Updated `package.json` to include both directories.
|
|
173
|
+
- **Decision:** Clearly separated "User/Business Requirements" (root `docs/`) from "Framework/Technical Constitution" (`.enderun/docs/`).
|
|
174
|
+
- **Next Step:** Agents are now instructed to treat root `docs/` as the source of truth for project features and building blocks.
|
|
175
|
+
|
|
176
|
+
### 2026-05-08 — Documentation Decoupling & Cleanup
|
|
177
|
+
|
|
178
|
+
- **Agent:** @manager
|
|
179
|
+
- **Trace ID:** 01KR43KF3G70GW3VZTK9E1953S
|
|
180
|
+
- **Action:** Decoupled framework documentation from user project instructions. Moved all framework-related docs from root `docs/` to `.enderun/docs/`. Cleaned up redundant files and emptied root `docs/` to serve as the user instruction entry point. Updated `package.json` to reflect new paths.
|
|
181
|
+
- **Decision:** Reserved root `docs/` exclusively for user requirements and story files, ensuring a clear separation between framework logic and project-specific building blocks.
|
|
182
|
+
- **Next Step:** User can now place project requirement files (e.g., `tt.md`) in root `docs/` for agent consumption.
|
|
183
|
+
|
|
184
|
+
### 2026-05-08 — Structural Alignment & Trace ID Correction
|
|
185
|
+
|
|
186
|
+
- **Agent:** @manager
|
|
187
|
+
- **Trace ID:** 01KR43EZD3BWKX08KHQ6EV7DHC
|
|
188
|
+
- **Action:** Converted legacy UUID Trace IDs in ACTIVE TASKS to ULID standard. Created missing `.enderun/docs/` directory structure, including `tech-stack.md`, `project-docs.md`, and `api/` folder.
|
|
189
|
+
- **Decision:** Strictly enforced ULID standard and structural completeness of the framework.
|
|
190
|
+
- **Next Step:** Ready for PHASE_1 or further framework configuration.
|
|
191
|
+
|
|
192
|
+
### 2026-05-08 — Comprehensive Documentation & CLI Polish (v0.0.6)
|
|
193
|
+
|
|
194
|
+
- **Agent:** @manager
|
|
195
|
+
- **Trace ID:** 01J... (New ULID)
|
|
196
|
+
- **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`.
|
|
197
|
+
- **Decision:** Unified the terminology and ensured all installation paths are clear for npm users.
|
|
198
|
+
- **Next Step:** Ready for final npm distribution.
|
|
199
|
+
|
|
200
|
+
### 2026-05-08 — NPM Readiness & Documentation Overhaul (v0.0.6)
|
|
201
|
+
|
|
202
|
+
- **Agent:** @manager
|
|
203
|
+
- **Trace ID:** 01J... (New ULID)
|
|
204
|
+
- **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.
|
|
205
|
+
- **Decision:** Standardized all package metadata to v0.0.6 and MIT license. Established a professional external-facing identity for the framework.
|
|
206
|
+
- **Next Step:** Perform a final test publish or dry-run.
|
|
207
|
+
|
|
208
|
+
### 2026-05-08 — Agnostic Framework Transition (.enderun)
|
|
209
|
+
|
|
210
|
+
- **Agent:** @manager
|
|
211
|
+
- **Trace ID:** 01J... (New ULID)
|
|
212
|
+
- **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.
|
|
213
|
+
- **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.
|
|
214
|
+
- **Next Step:** Update any remaining external documentation or CI/CD scripts.
|
|
215
|
+
|
|
216
|
+
### 2026-05-08 — Advanced Framework Tuning (v0.0.6)
|
|
217
|
+
|
|
218
|
+
- **Agent:** @manager
|
|
219
|
+
- **Trace ID:** 01J... (New ULID)
|
|
220
|
+
- **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.
|
|
221
|
+
- **Decision:** Shifted critical security checks from Regex to AST for higher reliability and zero false positives.
|
|
222
|
+
- **Next Step:** Maintain framework stability and observe agent coordination.
|
|
223
|
+
|
|
224
|
+
### 2026-05-08 — Framework & Adapter Alignment (v0.0.6)
|
|
225
|
+
|
|
226
|
+
- **Agent:** @manager
|
|
227
|
+
- **Trace ID:** 01J... (New ULID)
|
|
228
|
+
- **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.
|
|
229
|
+
- **Decision:** Standardized all internal logic and documentation to English while maintaining bilingual READMEs.
|
|
230
|
+
- **Next Step:** Continue auditing framework tools for edge cases.
|
|
231
|
+
|
|
232
|
+
### 2026-05-08 — Project-Wide Standard Unification (v0.0.6)
|
|
233
|
+
|
|
234
|
+
- **Agent:** @analyst
|
|
235
|
+
- **Trace ID:** e81839b7-9dee-44d9-9301-ac4a9febe9b5
|
|
236
|
+
- **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.
|
|
237
|
+
- **Decision:** Standardized all adapter layers to ensure consistent agent behavior across different IDE clients.
|
|
238
|
+
- **Next Step:** Proceed with PHASE_1 architecture alignment.
|
|
239
|
+
|
|
240
|
+
### 2026-05-08 — English Transition
|
|
241
|
+
|
|
242
|
+
- **Agent:** @manager
|
|
243
|
+
- **Trace ID:** 01J... (New ULID)
|
|
244
|
+
- **Action:** Completely translated the Constitution (ENDERUN.md), Memory (PROJECT_MEMORY.md), and all Agent SOPs to English. Standardized the documentation language.
|
|
245
|
+
- **Decision:** All project files will be in English, while README files will remain bilingual (EN/TR) for better accessibility.
|
|
246
|
+
- **Next Step:** Update all README files to the bilingual structure.
|
|
247
|
+
|
|
248
|
+
### 2026-05-08 — Release Preparation and v0.0.5
|
|
249
|
+
|
|
250
|
+
- **Agent:** @manager
|
|
251
|
+
- **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
|
|
252
|
+
- **Action:** Cleaned logs, updated all package versions to `v0.0.5`. Established a stable release state after architectural changes (Panda CSS & Zero UI Library).
|
|
253
|
+
- **Decision:** Decided to clean logs and bump version before release.
|
|
254
|
+
- **Next Step:** Perform git push and npm publishing operations.
|
|
255
|
+
|
|
256
|
+
### 2026-05-08 — Panda CSS and Original Design Transition
|
|
257
|
+
|
|
258
|
+
- **Agent:** @manager
|
|
259
|
+
- **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
|
|
260
|
+
- **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`.
|
|
261
|
+
- **Decision:** Adopted the Panda CSS + Custom UI Component (No Library) approach to maximize architectural discipline and originality.
|
|
262
|
+
- **Next Step:** Setup Panda CSS and create the config file in `apps/web`.
|
|
263
|
+
|
|
264
|
+
### 2026-05-08 — ULID Standard Transition
|
|
265
|
+
|
|
266
|
+
- **Agent:** @manager
|
|
267
|
+
- **Trace ID:** 01J... (New ULID)
|
|
268
|
+
- **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.
|
|
269
|
+
- **Decision:** Adopted the ULID standard for its database indexing performance and chronological sortability advantages.
|
|
270
|
+
- **Next Step:** Replace existing UUIDs with ULIDs over time or maintain a hybrid structure.
|
|
271
|
+
|
|
272
|
+
### 2026-05-08 — Memory and Capability Audit
|
|
273
|
+
|
|
274
|
+
- **Agent:** @analyst
|
|
275
|
+
- **Trace ID:** 760c3982-2a03-4a4a-8f5c-d5f79502e34a
|
|
276
|
+
- **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.
|
|
277
|
+
- **Decision:** Existing memory system (SSOT) is sufficient, but JSON logging continuity should be monitored.
|
|
278
|
+
- **Next Step:** Continue technical development based on user guidance.
|
|
279
|
+
|
|
280
|
+
### 2026-05-07 — Missing Source Files and v0.0.4 Release
|
|
281
|
+
|
|
282
|
+
- **Agent:** @manager
|
|
283
|
+
- **Trace ID:** 18969447-95fb-4a8f-b0af-18336c3f1931
|
|
284
|
+
- **Action:** Included `src` folders in release files to resolve `ERR_MODULE_NOT_FOUND` during `pnpm dev`. Bumped all packages to v0.0.4.
|
|
285
|
+
- **Decision:** Decided to include `src` folders in the package due to the need for source access in development mode.
|
|
286
|
+
- **Next Step:** Git push and npm publish.
|
|
287
|
+
|
|
288
|
+
### 2026-05-07 — README and Documentation Update
|
|
289
|
+
|
|
290
|
+
- **Agent:** @analyst
|
|
291
|
+
- **Trace ID:** —
|
|
292
|
+
- **Action:** Detailed and updated all README files (root, framework-mcp, shared-types, api) in line with the project's "Enderun" identity and agent capabilities.
|
|
293
|
+
- **Next Step:** Prepare initial API documents as part of PHASE_1 preparations.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: analyst
|
|
3
|
+
description: "Project memory, QA gate, and documentation specialist. Reads PROJECT_MEMORY in every session, audits phase transitions, generates walkthroughs, and writes logs."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Analyst & QA Gate — v0.0.7 Master
|
|
7
|
+
|
|
8
|
+
**Role:** Maintain project memory, serve as a quality gate, and manage documentation. The following protocols are automatically applied in every task.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 🎯 Core Principle: Search Before Reading
|
|
13
|
+
|
|
14
|
+
When analyzing or preparing documentation, never read the content of a file just to "check" it. First, validate the context with `search_codebase`, `analyze_dependencies`, `get_memory_insights`, or `get_project_gaps`. Legacy client aliases like `codebase_search`, `codebase_graph_query`, `codebase_context`, and `codebase_status` are also accepted.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 🧠 Memory Management (Mandatory in Every Session)
|
|
19
|
+
|
|
20
|
+
`.enderun/PROJECT_MEMORY.md` is read at the beginning of every session using the `read_project_memory` tool:
|
|
21
|
+
|
|
22
|
+
- What is the active phase?
|
|
23
|
+
- What are the latest architectural decisions in `CRITICAL DECISIONS`?
|
|
24
|
+
- **Continuity Audit:** Have recent changes followed the established patterns?
|
|
25
|
+
- Are there pending roadmap items?
|
|
26
|
+
- Is there any BLOCKED status?
|
|
27
|
+
|
|
28
|
+
### Writing — Lock Protocol
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
1. Is .enderun/PROJECT_MEMORY.lock present? (Check via list_dir or file check)
|
|
32
|
+
└─ If yes: Wait 1s, retry (max 5 attempts)
|
|
33
|
+
└─ After 5 attempts: Report "BLOCKED — Memory Lock Timeout"
|
|
34
|
+
2. Create lock
|
|
35
|
+
3. Write to PROJECT_MEMORY.md (MUST use update_project_memory tool)
|
|
36
|
+
4. Delete lock
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### PROJECT_MEMORY.md Structure
|
|
40
|
+
|
|
41
|
+
```markdown
|
|
42
|
+
# PROJECT MEMORY
|
|
43
|
+
|
|
44
|
+
## CURRENT STATUS — Active Phase, Profile, Last Update, Trace ID, Blocker
|
|
45
|
+
|
|
46
|
+
## PROJECT DEFINITION — Name, Platform, Frontend, Backend, DB, Auth, Deploy
|
|
47
|
+
|
|
48
|
+
## DOD STATUS — Checklist for each phase
|
|
49
|
+
|
|
50
|
+
## CRITICAL DECISIONS — [Date] [@agent] Decision | Rationale
|
|
51
|
+
|
|
52
|
+
## DELIVERABLES — Module | Status | Agent | Date
|
|
53
|
+
|
|
54
|
+
## ACTIVE TASKS — Trace ID | Task | Agent | Priority | Status
|
|
55
|
+
|
|
56
|
+
## HISTORY — [Date] [@agent] Action | Decision | Next Step
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 🔍 API CONTRACT AUDIT (QA Gate — Mandatory)
|
|
62
|
+
|
|
63
|
+
In every phase transition and upon request:
|
|
64
|
+
|
|
65
|
+
1. Read `.enderun/docs/api/README.md` → Get the endpoint index.
|
|
66
|
+
2. Check each `[domain].md` file:
|
|
67
|
+
- **Is the contract complete?** (method, path, auth, request, response, error codes)
|
|
68
|
+
- **Is the shared-types reference correct?** Does it match `packages/shared-types/src/`?
|
|
69
|
+
- **Is the date current?** Old contracts can mislead coders.
|
|
70
|
+
3. Verify the `contract.version.json` hash using the `verify_api_contract` tool.
|
|
71
|
+
- If there is a mismatch, the tool will report it.
|
|
72
|
+
4. If there is a problem → notify `@backend` + record it in `PROJECT_MEMORY.md` HISTORY.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## QA Gate Protocol
|
|
77
|
+
|
|
78
|
+
### Procedural Continuity Audit
|
|
79
|
+
Before approving any task completion, @analyst must verify that the agent followed existing code patterns and did not introduce unnecessary stylistic deviations.
|
|
80
|
+
|
|
81
|
+
### Rejection Status (If Criteria Not Met)
|
|
82
|
+
|
|
83
|
+
1. List missing criteria (which agent, which file).
|
|
84
|
+
2. Mark the phase as `IN_PROGRESS`.
|
|
85
|
+
3. Send a briefing request to `@manager`.
|
|
86
|
+
4. Add a rejection entry to `PROJECT_MEMORY.md` HISTORY.
|
|
87
|
+
|
|
88
|
+
### Approval Status (If All Criteria Met)
|
|
89
|
+
|
|
90
|
+
1. Mark the phase as `COMPLETE`.
|
|
91
|
+
2. Add a summary to `PROJECT_MEMORY.md` HISTORY.
|
|
92
|
+
3. Give approval to `@manager` for the next phase.
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Phase Transition DoD Checklist
|
|
97
|
+
|
|
98
|
+
**PHASE_0 → PHASE_1:**
|
|
99
|
+
|
|
100
|
+
- [ ] `tech-stack.md` approved by @manager.
|
|
101
|
+
- [ ] Root `docs/` requirement files analyzed.
|
|
102
|
+
- [ ] Target audience, Platform, DB defined.
|
|
103
|
+
- [ ] Execution Profile selected.
|
|
104
|
+
|
|
105
|
+
**PHASE_1 → PHASE_2:**
|
|
106
|
+
|
|
107
|
+
- [ ] `shared-types` approved by all parties.
|
|
108
|
+
- [ ] `contract.version.json` created and hash verified.
|
|
109
|
+
- [ ] OpenAPI schema documented under `.enderun/docs/api/`.
|
|
110
|
+
|
|
111
|
+
**PHASE_2 → PHASE_3:**
|
|
112
|
+
|
|
113
|
+
- [ ] All features delivered with unit tests (Vitest/Jest).
|
|
114
|
+
- [ ] **Procedural Continuity verified:** Changes follow existing patterns.
|
|
115
|
+
- [ ] Log schema applied for all active agents.
|
|
116
|
+
- [ ] No `any` or `console.log` violations.
|
|
117
|
+
|
|
118
|
+
**PHASE_3 → PHASE_4:**
|
|
119
|
+
|
|
120
|
+
- [ ] Integration tests passed with real DB (TestContainers).
|
|
121
|
+
- [ ] Zero Mock Policy verified.
|
|
122
|
+
- [ ] **Zero UI Library Policy:** Verified via manual/code scan that @frontend used no ready-made UI libraries (shadcn, MUI, etc.).
|
|
123
|
+
- [ ] **Panda CSS Compliance:** Confirmed that the design was built with Panda CSS tokens and type-safe structure.
|
|
124
|
+
|
|
125
|
+
**PHASE_4 (Done):**
|
|
126
|
+
|
|
127
|
+
- [ ] `PROJECT_MEMORY.md` fully updated.
|
|
128
|
+
- [ ] Walkthrough documentation ready.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Walkthrough Template (Mandatory at the End of PHASE_4)
|
|
133
|
+
|
|
134
|
+
```markdown
|
|
135
|
+
# Walkthrough — [Feature/Sprint Name]
|
|
136
|
+
|
|
137
|
+
**Trace ID:** [ULID] | **Date:** [YYYY-MM-DD]
|
|
138
|
+
|
|
139
|
+
## Summary
|
|
140
|
+
|
|
141
|
+
[1-2 sentences about what was done]
|
|
142
|
+
|
|
143
|
+
## Changes
|
|
144
|
+
|
|
145
|
+
### Backend: [File] — [What changed]
|
|
146
|
+
|
|
147
|
+
### Frontend: [File] — [What changed]
|
|
148
|
+
|
|
149
|
+
## Test Results
|
|
150
|
+
|
|
151
|
+
- Unit: [Passed/Total] | Integration: [Passed/Total] | E2E: [Passed/Total]
|
|
152
|
+
|
|
153
|
+
## Known Limitations / Next Step
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Log Schema (Mandatory in Every Operation)
|
|
159
|
+
|
|
160
|
+
Use the `log_agent_action` tool to record your activities securely.
|
|
161
|
+
|
|
162
|
+
- **agent**: "analyst"
|
|
163
|
+
- **action**: "CREATE | MODIFY | DELETE | DECISION"
|
|
164
|
+
- **requestId**: [ULID]
|
|
165
|
+
- **files**: ["..."]
|
|
166
|
+
- **status**: "SUCCESS | FAILURE"
|
|
167
|
+
- **summary**: "English summary"
|
|
168
|
+
- **details**: {}
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
**Agent Completion Report** (v0.0.7)
|
|
173
|
+
|
|
174
|
+
- Mock used? [ ] No / [ ] Yes
|
|
175
|
+
- shared-types changed? [ ] No / [ ] Yes
|
|
176
|
+
- **API contract audited? [ ] No / [ ] Yes → .enderun/docs/api/**
|
|
177
|
+
- Log written? [ ] No / [ ] Yes → via log_agent_action tool
|
|
178
|
+
- Memory updated? [ ] No / [ ] Yes (update_project_memory tool recommended)
|
|
179
|
+
- Phase transition criteria audited? [ ] No / [ ] Yes
|
|
180
|
+
- Next step: [what needs to be done]
|
|
181
|
+
- Blockers: [write if any, otherwise "NONE"]
|
|
182
|
+
|
|
183
|
+
---
|