agent-enderun 0.6.7 → 0.7.0
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 → .antigravitycli}/BRAIN_DASHBOARD.md +0 -0
- package/.antigravitycli/ENDERUN.md +253 -0
- package/.antigravitycli/PROJECT_MEMORY.md +78 -0
- package/{.enderun → .antigravitycli}/STATUS.md +0 -0
- package/.antigravitycli/agents/agent_army_schema.json +79 -0
- package/.antigravitycli/agents/analyst/agent.json +55 -0
- package/.antigravitycli/agents/backend/agent.json +58 -0
- package/.antigravitycli/agents/explorer/agent.json +50 -0
- package/.antigravitycli/agents/frontend/agent.json +56 -0
- package/.antigravitycli/agents/git/agent.json +53 -0
- package/.antigravitycli/agents/manager/agent.json +82 -0
- package/.antigravitycli/agents/mobile/agent.json +52 -0
- package/.antigravitycli/agents/native/agent.json +56 -0
- package/.antigravitycli/assets/manager.png +0 -0
- package/{.enderun → .antigravitycli}/blueprints/README.md +1 -1
- package/{.enderun → .antigravitycli}/blueprints/backend/errors/config/meta.json +7 -2
- package/{.enderun → .antigravitycli}/blueprints/backend/errors/domain-error.ts +2 -1
- package/.antigravitycli/cli-commands.json +72 -0
- package/{.enderun → .antigravitycli}/config.json +1 -1
- package/{.enderun → .antigravitycli}/knowledge/api_design_rules.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/async_error_handling.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/branded_types_pattern.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/code_review_checklist.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/contract_versioning.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/database_migration.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/deployment_checklist.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/documentation_ownership.md +7 -7
- package/{.enderun → .antigravitycli}/knowledge/enterprise_capabilities_reference.md +11 -11
- package/{.enderun → .antigravitycli}/knowledge/enterprise_frontend_adaptation.md +4 -4
- package/{.enderun → .antigravitycli}/knowledge/enterprise_project_adaptation.md +3 -3
- package/{.enderun → .antigravitycli}/knowledge/framework_vs_user_project_boundary.md +3 -3
- package/{.enderun → .antigravitycli}/knowledge/frontend_professionalization_guidelines.md +2 -2
- package/{.enderun → .antigravitycli}/knowledge/frontend_real_battle_test_protocol.md +4 -4
- package/{.enderun → .antigravitycli}/knowledge/git_commit_strategy.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/hermes_live_test_guidelines.md +4 -4
- package/{.enderun → .antigravitycli}/knowledge/hermes_protocol.md +2 -2
- package/{.enderun → .antigravitycli}/knowledge/legacy_onboarding.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/manager_authority_audit_enforcement.md +4 -4
- package/{.enderun → .antigravitycli}/knowledge/monitoring_setup.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/performance_guidelines.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/project_scaffold_guidelines.md +4 -4
- package/{.enderun → .antigravitycli}/knowledge/reference_application_guidelines.md +1 -1
- package/{.enderun → .antigravitycli}/knowledge/repository_patterns.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/responsive_design_standards.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/security_scanning.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/troubleshooting_guide.md +0 -0
- package/{.enderun → .antigravitycli}/knowledge/zero_ui_library_policy.md +0 -0
- package/{.enderun/logs → .antigravitycli/messages}/.gitkeep +0 -0
- package/ENDERUN.md +9 -9
- package/README.md +115 -148
- package/antigravity.md +1 -1
- package/bin/cli.js +21 -36
- package/bin/validate-agent-army.js +46 -0
- package/docs/README.md +16 -43
- package/docs/architecture/approval-flows.md +38 -0
- package/docs/architecture/decisions/README.md +31 -0
- package/docs/architecture/notification-strategy.md +38 -0
- package/docs/backend/audit-logging.md +34 -0
- package/docs/backend/error-handling.md +52 -0
- package/docs/frontend/component-patterns.md +48 -0
- package/docs/frontend/forms.md +40 -0
- package/docs/frontend/notifications.md +37 -0
- package/framework-mcp/README.md +1 -1
- package/framework-mcp/dist/tools/framework.js +9 -4
- package/framework-mcp/dist/tools/messages.js +1 -1
- package/framework-mcp/dist/utils.js +17 -8
- package/framework-mcp/package.json +1 -1
- package/framework-mcp/src/tools/database.ts +2 -2
- package/framework-mcp/src/tools/framework.ts +9 -4
- package/framework-mcp/src/utils.ts +2 -9
- package/package.json +7 -11
- package/.enderun/PROJECT_MEMORY.md +0 -47
- package/.enderun/agents/README.md +0 -40
- package/.enderun/agents/analyst.md +0 -432
- package/.enderun/agents/backend.md +0 -683
- package/.enderun/agents/explorer.md +0 -253
- package/.enderun/agents/frontend.md +0 -742
- package/.enderun/agents/git.md +0 -190
- package/.enderun/agents/manager.md +0 -574
- package/.enderun/agents/mobile.md +0 -177
- package/.enderun/agents/native.md +0 -225
- package/.enderun/cli-commands.json +0 -21
- package/.enderun/docs/README.md +0 -50
- package/.enderun/docs/api/README.md +0 -8
- package/.enderun/docs/api/auth.md +0 -11
- package/.enderun/docs/api/errors.md +0 -7
- package/.enderun/docs/error-handling.md +0 -13
- package/.enderun/docs/phase1-reference-app-execution-plan.md +0 -177
- package/.enderun/docs/privacy.md +0 -3
- package/.enderun/docs/project-docs.md +0 -19
- package/.enderun/docs/security.md +0 -13
- package/.enderun/docs/structure-audit-2026-05-24.md +0 -72
- package/.enderun/docs/tech-stack.md +0 -37
- package/.enderun/docs/troubleshooting.md +0 -7
- package/.enderun/logs/manager.json +0 -23
- package/.enderun/messages/.gitkeep +0 -0
- package/claude.md +0 -15
- package/codex.md +0 -15
- package/cursor.md +0 -15
- package/gemini.md +0 -15
- /package/{.enderun → .antigravitycli}/knowledge/README.md +0 -0
- /package/{.enderun → .antigravitycli}/knowledge/blueprint_driven_construction.md +0 -0
- /package/{.enderun → .antigravitycli}/knowledge/database_governance_guidelines.md +0 -0
- /package/{.enderun → .antigravitycli}/knowledge/documentation_ownership_status.md +0 -0
- /package/{.enderun → .antigravitycli}/knowledge/testing_standards.md +0 -0
|
@@ -92,10 +92,10 @@ Every time a reference application or major task is executed, @manager must run
|
|
|
92
92
|
|
|
93
93
|
## Related Documents
|
|
94
94
|
|
|
95
|
-
- `.
|
|
96
|
-
- `.
|
|
97
|
-
- `.
|
|
98
|
-
- `.
|
|
95
|
+
- `.antigravitycli/agents/manager.md` → @manager Mandatory Behavior Rules for Enterprise Projects + Hermes Communication Mandate
|
|
96
|
+
- `.antigravitycli/knowledge/hermes_live_test_guidelines.md`
|
|
97
|
+
- `.antigravitycli/knowledge/frontend_professionalization_guidelines.md`
|
|
98
|
+
- `.antigravitycli/knowledge/reference_application_guidelines.md`
|
|
99
99
|
- `docs/roadmap.md` → Risk Tracking Dashboard
|
|
100
100
|
- `PROJECT_MEMORY.md` → STRATEGIC ROADMAP + HISTORY
|
|
101
101
|
|
|
File without changes
|
|
File without changes
|
|
@@ -88,10 +88,10 @@ A project scaffold is considered successful when:
|
|
|
88
88
|
|
|
89
89
|
## Related Documents
|
|
90
90
|
|
|
91
|
-
- `.
|
|
92
|
-
- `.
|
|
93
|
-
- `.
|
|
94
|
-
- `.
|
|
91
|
+
- `.antigravitycli/knowledge/reference_application_guidelines.md`
|
|
92
|
+
- `.antigravitycli/knowledge/frontend_professionalization_guidelines.md`
|
|
93
|
+
- `.antigravitycli/knowledge/hermes_live_test_guidelines.md`
|
|
94
|
+
- `.antigravitycli/knowledge/manager_authority_audit_enforcement.md`
|
|
95
95
|
- `docs/roadmap.md` → Risk Tracking Dashboard
|
|
96
96
|
|
|
97
97
|
---
|
|
@@ -44,7 +44,7 @@ Any reference application **must** demonstrate the following:
|
|
|
44
44
|
|
|
45
45
|
6. **Framework Boundary Respect**
|
|
46
46
|
- All code lives strictly inside `apps/`
|
|
47
|
-
- No modifications to `framework-mcp/`, `.
|
|
47
|
+
- No modifications to `framework-mcp/`, `.antigravitycli/agents/`, or root framework files
|
|
48
48
|
|
|
49
49
|
7. **Professional Standards**
|
|
50
50
|
- Error handling with DomainError hierarchy
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/ENDERUN.md
CHANGED
|
@@ -47,12 +47,12 @@ This file (`./{{ADAPTER}}.md`) and the `{{FRAMEWORK_DIR}}/docs/` folder represen
|
|
|
47
47
|
- `CRITICAL DECISIONS` (Previous design decisions to comply with)
|
|
48
48
|
- `ACTIVE TASKS` (Ongoing work and agent assignments)
|
|
49
49
|
- `HISTORY` (To see exactly what agents did recently)
|
|
50
|
-
- **Load Agent Prompt:** By default, you operate as `@manager`. Immediately read and load `{{FRAMEWORK_DIR}}/agents/manager.
|
|
50
|
+
- **Load Agent Prompt:** By default, you operate as `@manager`. Immediately read and load `{{FRAMEWORK_DIR}}/agents/manager/agent.json` 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/agent.json`).
|
|
51
51
|
2. **Read ./{{ADAPTER}}.md First:** Read and fully understand this file before taking any action.
|
|
52
|
-
3. **Check `
|
|
53
|
-
4. **Absorb Context:** Read `
|
|
54
|
-
5. **Demand Context:** If the `
|
|
55
|
-
6. **Respect Boundaries:** Always distinguish between the user's project code and the Agent Enderun framework internals. Read `.
|
|
52
|
+
3. **Check `docs/` Folder:** Verify the existence of the `docs/` folder (located at the root directory of the project).
|
|
53
|
+
4. **Absorb Context:** Read `docs/README.md` and `docs/getting-started.md`. If they are missing, check if the architecture folder exists.
|
|
54
|
+
5. **Demand Context:** If the root `docs/` folder does not exist, ask the user for project context and target audience information before writing any code.
|
|
55
|
+
6. **Respect Boundaries:** Always distinguish between the user's project code and the Agent Enderun framework internals. Read `.antigravitycli/knowledge/framework_vs_user_project_boundary.md` if unsure. Never mix the two.
|
|
56
56
|
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.
|
|
57
57
|
|
|
58
58
|
**NEVER SKIP THIS STEP.** Do not assume context; read first, then act as @manager.
|
|
@@ -63,7 +63,7 @@ This file (`./{{ADAPTER}}.md`) and the `{{FRAMEWORK_DIR}}/docs/` folder represen
|
|
|
63
63
|
|
|
64
64
|
- **Permanent @manager Identity (Enterprise Standard):** The AI assistant is ALWAYS the `@manager` (Team-Lead) by default — on every turn, every message, without exception. The user does NOT need to type `@manager` to trigger this role. Explicitly typing a different agent (e.g. `@backend`, `@frontend`, `@analyst`) does NOT bypass @manager. All requests must still be processed by @manager first.
|
|
65
65
|
- **Team-Lead MANDATORY Orchestration (Enterprise Project Rule):** Every user request — regardless of how it is phrased or which agent is directly addressed — MUST first be received, analyzed, and orchestrated by the `@manager` (Team-Lead) agent. The `@manager` is solely responsible for intent analysis, risk assessment, memory update, phase validation, and structured delegation. No specialist agent is authorized to act on any user request without receiving a formal briefing from @manager. Direct calls to other agents are still routed through @manager. Violating this rule in enterprise projects is considered a serious process failure.
|
|
66
|
-
- **Enterprise CRUD & Admin Governance (Enterprise Standard):** All high-risk administrative operations (user/permission management, bulk delete/purge, system config changes, audit log access, critical integrations, PII export, production schema changes, etc.) are strictly under @manager control. Specialist agents (@backend, @frontend, etc.) **must refuse** and immediately redirect such requests to @manager. Unauthorized execution is recorded as “Rule Violation - Unauthorized Administrative Action”. Full list and rules are defined in
|
|
66
|
+
- **Enterprise CRUD & Admin Governance (Enterprise Standard):** All high-risk administrative operations (user/permission management, bulk delete/purge, system config changes, audit log access, critical integrations, PII export, production schema changes, etc.) are strictly under @manager control. Specialist agents (@backend, @frontend, etc.) **must refuse** and immediately redirect such requests to @manager. Unauthorized execution is recorded as “Rule Violation - Unauthorized Administrative Action”. Full list and rules are defined in `{{FRAMEWORK_DIR}}/agents/manager/agent.json` → “Corporate CRUD and Administrative Operation Governance”.
|
|
67
67
|
- **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.
|
|
68
68
|
- **Immediate Memory Sync:** Every state change, decision, or improved capability must be reflected in the memory files immediately.
|
|
69
69
|
- **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 `.{{ADAPTER}}/` etc.) or the project workspace. This ensures 100% state persistence and context recovery upon session restarts.
|
|
@@ -82,16 +82,16 @@ This file (`./{{ADAPTER}}.md`) and the `{{FRAMEWORK_DIR}}/docs/` folder represen
|
|
|
82
82
|
- **CLI-Driven Orchestration:** All agent interactions and task delegations must be traceable via `{{ADAPTER}} cli`.
|
|
83
83
|
- **Monorepo Discipline:** Commands must always be run from the monorepo root directory using npm workspaces (e.g., `npm run dev --workspace=web`).
|
|
84
84
|
- **Framework vs User Project Boundary (Critical Rule):**
|
|
85
|
-
When working on the user's own application, agents **must never** suggest, create, or modify files inside the framework's own source code (`framework-mcp/src/`,
|
|
85
|
+
When working on the user's own application, agents **must never** suggest, create, or modify files inside the framework's own source code (`framework-mcp/src/`, `{{FRAMEWORK_DIR}}/agents/`, `bin/cli.js`, `panda.config.ts` at root, etc.).
|
|
86
86
|
All development must happen exclusively inside the user's project structure (`apps/backend/src/`, `apps/web/src/`, `src/`, etc.).
|
|
87
87
|
The only exception is when the **explicit goal** of the session is to improve or extend the Agent Enderun framework itself.
|
|
88
88
|
Violating this boundary causes confusion, broken setups, and is considered a serious rule violation. @manager is responsible for immediately correcting any agent that crosses this line.
|
|
89
89
|
|
|
90
90
|
- **Documentation Ownership Rule (Enterprise Standard — Zero Tolerance):**
|
|
91
91
|
Agents are **mandatory** to write all documentation they produce for the user's project (architectural decisions, patterns, implementation details, toaster/approval flow documents, research findings, etc.) **exclusively into the user's own `docs/` folder**.
|
|
92
|
-
These documents must **never** be written into `.
|
|
92
|
+
These documents must **never** be written into `.antigravitycli/knowledge/`, `{{FRAMEWORK_DIR}}/agents/`, or any framework folder.
|
|
93
93
|
Violation is considered a serious rule breach and is corrected by @manager.
|
|
94
|
-
The detailed and binding rule is defined in `.
|
|
94
|
+
The detailed and binding rule is defined in `.antigravitycli/knowledge/documentation_ownership.md`.
|
|
95
95
|
|
|
96
96
|
---
|
|
97
97
|
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
# 🏛️ Agent Enderun (v0.
|
|
1
|
+
# 🏛️ Agent Enderun (v0.7.0) — The Supreme AI Governance & Orchestration Framework
|
|
2
2
|
|
|
3
3
|
**The Supreme AI Governance & Orchestration Framework for Enterprise Development**
|
|
4
4
|
|
|
5
|
-
**Author:** Yusuf BEKAR
|
|
5
|
+
**Author:** Yusuf BEKAR
|
|
6
|
+
**Version:** 0.7.0
|
|
7
|
+
**License:** MIT
|
|
6
8
|
|
|
7
9
|
[English](#english) | [Türkçe](#türkçe)
|
|
8
10
|
|
|
@@ -16,16 +18,9 @@
|
|
|
16
18
|
|
|
17
19
|
Most AI coding tools optimize for speed and generation volume. Agent Enderun optimizes for **risk-aware, auditable, and continuously improving software development processes**. It converts chaotic AI output into structured, enterprise-ready work through mandatory rules, specialized agents, persistent memory, and a living risk management system.
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
This release
|
|
22
|
-
|
|
23
|
-
- Full conversion of the framework to English as the primary language (all agent prompts, knowledge base, and internal documentation).
|
|
24
|
-
- Honest technical debt and governance gap assessment completed.
|
|
25
|
-
- Foundation laid for build health, test coverage, and empirical validation of governance rules.
|
|
26
|
-
|
|
27
|
-
> **📋 Full Risk Tracking Dashboard & Roadmap**
|
|
28
|
-
> See the live status of all active risks: [docs/roadmap.md](docs/roadmap.md)
|
|
21
|
+
> [!NOTE]
|
|
22
|
+
> **v0.7.0 Strategic Consolidation:**
|
|
23
|
+
> This release completely standardizes the workspace on the `.antigravitycli/` folder as the active framework engine. All specialist agent configurations are migrated into a futuristic, strongly-typed JSON structure (`agent.json`) under `.agents/agents/{agent_name}/agent.json` (or `.antigravitycli/agents/` during framework staging) for absolute machine-readability. Duplicate structures (like `.enderun/` or `.antigravitycli/docs/`) have been completely retired.
|
|
29
24
|
|
|
30
25
|
---
|
|
31
26
|
|
|
@@ -33,82 +28,76 @@ This release focuses on **professionalization and language standardization**:
|
|
|
33
28
|
|
|
34
29
|
Agent Enderun is built on four non-negotiable principles:
|
|
35
30
|
|
|
36
|
-
1. **Single Point of Authority** — In enterprise projects, `@manager` is the only authorized entry point. No specialist agent may act without
|
|
31
|
+
1. **Single Point of Authority** — In enterprise projects, `@manager` is the only authorized entry point. No specialist agent may act without a formal briefing.
|
|
37
32
|
2. **Risk-First Mindset** — Every significant action is preceded by risk assessment. High-risk operations require explicit approval and full audit trails.
|
|
38
33
|
3. **Continuous Agent Improvement** — All agents have maturity targets (minimum 8.0/10). “Good enough” is not accepted in critical areas.
|
|
39
34
|
4. **Zero Tolerance for Bypass** — Any attempt to circumvent governance (Hermes protocol, briefings, memory discipline, high-risk controls) is treated as a serious process violation.
|
|
40
35
|
|
|
41
36
|
---
|
|
42
37
|
|
|
43
|
-
##
|
|
44
|
-
|
|
45
|
-
We are actively managing the following critical risks with dedicated improvement programs:
|
|
46
|
-
|
|
47
|
-
| Risk | Current Status | Progress | Owner |
|
|
48
|
-
|-----------------------------------------|---------------------------------------------|-----------------------------------|-----------|
|
|
49
|
-
| No Production-Grade Reference Application | Highest priority gap | Guidance + execution plan defined | @manager |
|
|
50
|
-
| @frontend Weakness | Component architecture & accessibility weak | 8-week Professionalization Program active | @manager |
|
|
51
|
-
| Hermes “Defined on Paper” | Protocol defined but not battle-tested | 4 mandatory live scenarios defined | @manager |
|
|
52
|
-
| Limited Real-World Usage Data | No long-term usage in real enterprise projects | 0% | @manager |
|
|
53
|
-
| Corporate Governance in Practice | Strong on paper, empirical proof still needed | ~85% | @manager |
|
|
54
|
-
|
|
55
|
-
Each risk has a dedicated knowledge file and a clear improvement roadmap.
|
|
38
|
+
## 🤖 JSON-First Agent Army & Maturity Program
|
|
56
39
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## 🤖 Agent Maturity Program (Target: All Agents ≥ 8.0)
|
|
40
|
+
Each agent in the Enderun Army is governed by a strongly-typed `agent.json` definition that defines their precise rules, permitted directories, Hermes communication channels, and capability ratings.
|
|
60
41
|
|
|
61
|
-
|
|
42
|
+
### Workspace Agent Path:
|
|
43
|
+
👉 `[project-root]/.agents/agents/{agent_name}/agent.json`
|
|
62
44
|
|
|
63
|
-
|
|
64
|
-
|--------------|---------|--------|------------|--------|
|
|
65
|
-
| **@manager** | 8.0 | 9.5 | High | Authority Audit & Enforcement active |
|
|
66
|
-
| **@backend** | 7.5 | 9.0 | High | Test culture & resilience being strengthened |
|
|
67
|
-
| **@frontend**| 6.5 | 9.0 | **Critical** | 8-week Professionalization Program running |
|
|
68
|
-
| **@analyst** | 6.5 | 8.5 | Medium | Governance audit capability improving |
|
|
69
|
-
| **@explorer**| 6.5 | 8.5 | Medium | Enterprise Discovery Protocol enforced |
|
|
70
|
-
| **@git** | 6.0 | 8.0 | Medium | High-risk commit control + workflows added |
|
|
71
|
-
| **@mobile** | 2.0 | 8.0 | Low (future) | Dormant (Baseline SOP added) |
|
|
72
|
-
| **@native** | 2.0 | 8.0 | Low (future) | Dormant (Baseline SOP added) |
|
|
45
|
+
### Agent Army Overview:
|
|
73
46
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
Four mandatory real-world scenarios to move the Hermes protocol from “defined on paper” to “proven in practice”.
|
|
85
|
-
|
|
86
|
-
### 3. @frontend Professionalization Program
|
|
87
|
-
Eight-week intensive program covering component architecture (slots, composition), WCAG 2.2 AA accessibility, performance engineering, testing discipline, and high-risk admin + Hermes integration.
|
|
88
|
-
|
|
89
|
-
### 4. Corporate CRUD & Administrative Governance
|
|
90
|
-
All high-risk operations (user/permission management, bulk deletion, system configuration, audit access, etc.) now require explicit `@manager` briefing, a `managerApproval` object, and complete before/after audit logging.
|
|
91
|
-
|
|
92
|
-
### 5. English-First Standardization (v0.6.7)
|
|
93
|
-
The entire framework (agent prompts, knowledge base, internal documentation, and core files) has been converted to professional English. Bilingual support is retained only for top-level user-facing documents.
|
|
47
|
+
| Agent | Capability | Role & Domain | Specialization |
|
|
48
|
+
| :--- | :--- | :--- | :--- |
|
|
49
|
+
| **@manager** | **9.5/10** | Orchestration & Governance | Team-Lead, intent analysis, risk audit, escalation |
|
|
50
|
+
| **@backend** | **9.2/10** | Domain Logic & Databases | NestJS/Express, database migrations, Branded Types |
|
|
51
|
+
| **@frontend** | **9.0/10** | Fluid Responsive UI | Panda CSS, Zero-UI-Library policy, accessibility |
|
|
52
|
+
| **@analyst** | **9.6/10** | Verification & QA | Vitest/Cypress, lint verification, schema checks |
|
|
53
|
+
| **@explorer** | **9.4/10** | Research & Discovery | API scanning, entry-point hunt, pattern mapping |
|
|
54
|
+
| **@git** | **9.1/10** | DevOps & Version Control | Commit strategies, changelog audits, branch governance |
|
|
55
|
+
| **@mobile** | **8.8/10** | Cross-Platform Mobile | React Native/Expo, responsive fluid mobile design |
|
|
56
|
+
| **@native** | **8.9/10** | Native Capabilities | Swift/Kotlin, native integrations, deep links |
|
|
94
57
|
|
|
95
58
|
---
|
|
96
59
|
|
|
97
60
|
## 🏗️ Architecture Overview
|
|
98
61
|
|
|
99
|
-
Agent Enderun
|
|
62
|
+
Agent Enderun cleanly separates the framework's own engine from the user's project codebase:
|
|
100
63
|
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
64
|
+
```
|
|
65
|
+
agent-enderun/
|
|
66
|
+
├── .agents/ <-- Antigravity CLI Agent configurations (Exclusive)
|
|
67
|
+
│ ├── agent_army_schema.json
|
|
68
|
+
│ └── agents/
|
|
69
|
+
│ ├── analyst/agent.json
|
|
70
|
+
│ ├── backend/agent.json
|
|
71
|
+
│ └── ... (others)
|
|
72
|
+
├── .antigravitycli/ <-- Unified Framework Engines & Memories
|
|
73
|
+
│ ├── assets/
|
|
74
|
+
│ │ └── manager.png <-- Majestic Headmaster Avatar
|
|
75
|
+
│ ├── cli-commands.json
|
|
76
|
+
│ ├── config.json
|
|
77
|
+
│ ├── PROJECT_MEMORY.md
|
|
78
|
+
│ └── STATUS.md
|
|
79
|
+
├── docs/ <-- Central Project Documentation Portal (Exclusive)
|
|
80
|
+
│ ├── architecture/
|
|
81
|
+
│ ├── backend/
|
|
82
|
+
│ ├── frontend/
|
|
83
|
+
│ └── README.md
|
|
84
|
+
├── bin/ <-- CLI Engines & Validators
|
|
85
|
+
│ ├── cli.js
|
|
86
|
+
│ └── validate-agent-army.js
|
|
87
|
+
├── framework-mcp/ <-- Core MCP Server Source
|
|
88
|
+
├── apps/ <-- Project Workspaces
|
|
89
|
+
```
|
|
105
90
|
|
|
106
91
|
---
|
|
107
92
|
|
|
108
93
|
## ⚡ Quick Start
|
|
109
94
|
|
|
95
|
+
### 1. Installation & Initialization
|
|
96
|
+
|
|
97
|
+
Install the package globally or initialize it inside your project folder:
|
|
98
|
+
|
|
110
99
|
```bash
|
|
111
|
-
# 1. Initialize the framework (creates .
|
|
100
|
+
# 1. Initialize the framework (creates .antigravitycli/ and .agents/ structures)
|
|
112
101
|
npx agent-enderun init
|
|
113
102
|
|
|
114
103
|
# 2. Install dependencies
|
|
@@ -117,125 +106,103 @@ npm install
|
|
|
117
106
|
# 3. Build the framework
|
|
118
107
|
npm run enderun:build
|
|
119
108
|
|
|
120
|
-
# 4. Verify installation
|
|
109
|
+
# 4. Verify installation & health
|
|
121
110
|
npx agent-enderun check
|
|
122
111
|
```
|
|
123
112
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
For the complete step-by-step guide, see: [docs/getting-started.md](docs/getting-started.md)
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## 🧠 Current Honest Status (May 2026)
|
|
133
|
-
|
|
134
|
-
**Strong Areas:**
|
|
135
|
-
- Constitutional governance and mandatory rules
|
|
136
|
-
- Risk management and agent professionalization system
|
|
137
|
-
- Hermes protocol technical foundation + stateful messaging
|
|
138
|
-
- Backend patterns and contract-first discipline
|
|
139
|
-
- Memory discipline and audit logging
|
|
140
|
-
- Advanced enterprise adaptation guidelines (D004)
|
|
141
|
-
|
|
142
|
-
**Areas Requiring Significant Work:**
|
|
143
|
-
- Build and test infrastructure resolved for framework-mcp package in v0.6.7 (tests locally runnable)
|
|
144
|
-
- No complete reference application (highest priority)
|
|
145
|
-
- Hermes protocol has not been executed in real multi-agent flows
|
|
146
|
-
- Real long-term usage data is very limited
|
|
147
|
-
- Governance rules are strong on paper but lack empirical validation in live systems
|
|
148
|
-
- Mobile and Native agents remain early-stage
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
## 📍 Next Major Milestones
|
|
153
|
-
|
|
154
|
-
1. Harden local test coverage and resolve sandbox environment dependencies (P0)
|
|
155
|
-
2. Execute at least one full Hermes Live Test scenario in a real agent session
|
|
156
|
-
3. Complete @frontend Professionalization Program (target: 9.0)
|
|
157
|
-
4. Raise all core agents to minimum 8.0 maturity with measurable evidence
|
|
158
|
-
5. Produce a minimal but complete reference application proving Kurumsal CRUD + managerApproval + Hermes in practice
|
|
113
|
+
### 2. Startup Step (Mandatory for Agents)
|
|
114
|
+
At the start of every session, the active agent must:
|
|
115
|
+
1. **Read `.antigravitycli/PROJECT_MEMORY.md`** immediately to restore project context, trace ID, and active tasks.
|
|
116
|
+
2. **Read `.agents/agents/manager/agent.json`** to load specialist behavioral rules and checklists.
|
|
159
117
|
|
|
160
118
|
---
|
|
161
119
|
|
|
162
|
-
##
|
|
163
|
-
|
|
164
|
-
- **[docs/roadmap.md](docs/roadmap.md)** — Full Risk Tracking Dashboard and development roadmap
|
|
165
|
-
- **[docs/action-plan-2026.md](docs/action-plan-2026.md)** — Strategic execution plan (Phase 1–3)
|
|
166
|
-
- **.enderun/agents/** — Detailed Standard Operating Procedures for all 8 agents
|
|
167
|
-
- **.enderun/knowledge/** — Specialized technical and governance guides
|
|
120
|
+
## 🧠 Current Status & Next Milestones
|
|
168
121
|
|
|
169
|
-
|
|
122
|
+
### Strong Areas:
|
|
123
|
+
- **Flawless Constitutional Governance:** Constitutional checks and mandatory checklists prevent bad practices.
|
|
124
|
+
- **Bilingual Documentation:** Pristine documentation structure under `/docs/`.
|
|
125
|
+
- **JSON-First Precision:** Machine-readable agent configurations with detailed governance settings.
|
|
126
|
+
- **Robust Linter and Build Pipelines:** Build and lint pipelines compile cleanly.
|
|
170
127
|
|
|
171
|
-
|
|
172
|
-
|
|
128
|
+
### Next Major Milestones:
|
|
129
|
+
1. Produce a complete reference application proving Kurumsal CRUD + `managerApproval` + Hermes in live multi-agent flows.
|
|
130
|
+
2. Perform a live Hermes multi-agent simulation test suite.
|
|
173
131
|
|
|
174
132
|
---
|
|
175
133
|
|
|
176
134
|
# Türkçe
|
|
177
135
|
|
|
178
|
-
**Geliştirici:** Yusuf BEKAR
|
|
179
|
-
|
|
180
136
|
## Yönetici Özeti
|
|
181
137
|
|
|
182
|
-
Agent Enderun,
|
|
183
|
-
|
|
184
|
-
Çoğu AI kod aracı hız ve üretim kapasitesine odaklanırken, Agent Enderun **risk bilinci, denetlenebilirlik, izlenebilirlik ve sürekli profesyonel gelişim** üzerine kuruludur.
|
|
185
|
-
|
|
186
|
-
### v0.6.7 Stratejik Odak
|
|
138
|
+
**Agent Enderun**, AI asistanlarını yüksek ölçekte kullanırken kontrolü, izlenebilirliği, denetlenebilirliği ve profesyonel disiplini korumak isteyen mühendislik ekipleri için tasarlanmış, **Anayasal Yönetişim** ve **Çoklu Ajan Orkestrasyonu** odaklı kurumsal düzeyde bir framework’tür.
|
|
187
139
|
|
|
188
|
-
|
|
189
|
-
- Tüm ajan prompt’ları, bilgi tabanı ve iç dokümantasyon profesyonel İngilizceye dönüştürülmüştür.
|
|
190
|
-
- Teknik borç ve yönetişim boşlukları dürüstçe analiz edilmiştir.
|
|
191
|
-
- Build sağlığı, test kapsamı ve yönetişim kurallarının ampirik doğrulanması için temel atılmıştır.
|
|
140
|
+
Çoğu yapay zeka kodlama aracı hız ve üretim hacmine odaklanırken, Agent Enderun **risk farkındalıklı, denetlenebilir ve sürekli iyileştirilen yazılım geliştirme süreçlerine** odaklanır. Kaotik yapay zeka çıktılarını; zorunlu kurallar, özel ajanlar, kalıcı bellek ve yaşayan bir risk yönetim sistemi aracılığıyla yapılandırılmış kurumsal standartlara dönüştürür.
|
|
192
141
|
|
|
193
|
-
|
|
142
|
+
> [!NOTE]
|
|
143
|
+
> **v0.7.0 Stratejik Konsolidasyon:**
|
|
144
|
+
> Bu sürüm, çalışma alanını tamamen `.antigravitycli/` klasörü üzerinde standartlaştırır. Tüm uzman ajan yapılandırmaları, mutlak makine okunabilirliği için fütüristik, güçlü tipli bir JSON yapısına (`agent.json`) dönüştürülmüş ve `.agents/agents/{agent_name}/agent.json` altına taşınmıştır. Eski veya mükerrer yapılar (örneğin `.enderun/` veya `.antigravitycli/docs/`) tamamen kaldırılmıştır.
|
|
194
145
|
|
|
195
146
|
---
|
|
196
147
|
|
|
197
148
|
## 🎯 Temel Felsefe
|
|
198
149
|
|
|
199
|
-
|
|
150
|
+
Agent Enderun, dört tavizsiz ilke üzerine inşa edilmiştir:
|
|
200
151
|
|
|
201
|
-
1. **Tek Yetki Noktası** — Kurumsal projelerde `@manager` tek yetkili giriş noktasıdır.
|
|
202
|
-
2. **Risk Öncelikli Yaklaşım** — Her önemli işlem
|
|
203
|
-
3. **Sürekli Ajan
|
|
204
|
-
4. **
|
|
152
|
+
1. **Tek Yetki Noktası** — Kurumsal projelerde `@manager` tek yetkili giriş noktasıdır. Hiçbir uzman ajan, resmi bir brifing almadan kendi başına işlem yapamaz.
|
|
153
|
+
2. **Risk Öncelikli Yaklaşım** — Her önemli işlem öncesinde risk değerlendirmesi yapılması zorunludur. Yüksek riskli işlemler açık onay ve eksiksiz denetim geçmişi gerektirir.
|
|
154
|
+
3. **Sürekli Ajan Gelişimi** — Tüm ajanların olgunluk hedefleri (minimum 8.0/10) vardır. Kritik alanlarda "yeterince iyi" kabul edilmez.
|
|
155
|
+
4. **Bypass Toleranssızlığı** — Yönetişimi (Hermes protokolü, brifingler, bellek disiplini, yüksek risk kontrolleri) atlatmaya yönelik her girişim ciddi süreç ihlali olarak kabul edilir.
|
|
205
156
|
|
|
206
157
|
---
|
|
207
158
|
|
|
208
|
-
##
|
|
159
|
+
## 🤖 JSON-First Ajan Ordusu ve Olgunluk Programı
|
|
209
160
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
161
|
+
Enderun Ordusu'ndaki her ajan, kendilerine ait kuralları, izin verilen dizinleri, Hermes iletişim kanallarını ve yetenek derecelendirmelerini tanımlayan güçlü tipli bir `agent.json` dosyası tarafından yönetilir.
|
|
162
|
+
|
|
163
|
+
### Çalışma Alanı Ajan Yolu:
|
|
164
|
+
👉 `[proje-kök-dizini]/.agents/agents/{agent_name}/agent.json`
|
|
165
|
+
|
|
166
|
+
### Ajan Ordusuna Genel Bakış:
|
|
167
|
+
|
|
168
|
+
| Ajan | Yetenek | Rol & Alan | Uzmanlık |
|
|
169
|
+
| :--- | :--- | :--- | :--- |
|
|
170
|
+
| **@manager** | **9.5/10** | Orkestrasyon & Yönetişim | Takım Lideri, niyet analizi, risk denetimi, onay |
|
|
171
|
+
| **@backend** | **9.2/10** | Domain Mantığı & Veri Tabanı | NestJS/Express, DB migrasyonları, Branded Types |
|
|
172
|
+
| **@frontend** | **9.0/10** | Akıcı Duyarlı Arayüz | Panda CSS, Zero-UI-Library ilkesi, erişilebilirlik |
|
|
173
|
+
| **@analyst** | **9.6/10** | Doğrulama & Kalite (QA) | Vitest/Cypress, linter doğrulamaları, şema kontrolü |
|
|
174
|
+
| **@explorer** | **9.4/10** | Araştırma & Keşif | API tarama, başlangıç noktası avı, desen eşleme |
|
|
175
|
+
| **@git** | **9.1/10** | DevOps & Sürüm Kontrolü | Commit stratejileri, değişiklik günlüğü, dal yönetimi |
|
|
176
|
+
| **@mobile** | **8.8/10** | Çoklu Platform Mobil | React Native/Expo, akıcı duyarlı mobil arayüzler |
|
|
177
|
+
| **@native** | **8.9/10** | Native Yetenekler | Swift/Kotlin, native entegrasyonlar, derin linkler |
|
|
215
178
|
|
|
216
179
|
---
|
|
217
180
|
|
|
218
|
-
##
|
|
181
|
+
## ⚡ Hızlı Başlangıç
|
|
219
182
|
|
|
220
|
-
|
|
183
|
+
### 1. Kurulum ve Başlatma
|
|
221
184
|
|
|
222
|
-
|
|
185
|
+
Framework'ü projenizde başlatmak için aşağıdaki adımları takip edin:
|
|
223
186
|
|
|
224
|
-
|
|
187
|
+
```bash
|
|
188
|
+
# 1. Framework'ü başlatın (.antigravitycli ve .agents yapılarını kurar)
|
|
189
|
+
npx agent-enderun init
|
|
225
190
|
|
|
226
|
-
|
|
191
|
+
# 2. Bağımlılıkları yükleyin
|
|
192
|
+
npm install
|
|
227
193
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
3. @frontend Profesyonelleşme Programını tamamlamak
|
|
231
|
-
4. Tüm ajanları ölçülebilir şekilde 8.0+ olgunluğa çıkarmak
|
|
232
|
-
5. Kurumsal CRUD + managerApproval + Hermes’i kanıtlayan minimal referans uygulama üretmek
|
|
194
|
+
# 3. Çekirdek MCP sunucusunu derleyin
|
|
195
|
+
npm run enderun:build
|
|
233
196
|
|
|
234
|
-
|
|
197
|
+
# 4. Kurulumu ve sağlığı doğrulayın
|
|
198
|
+
npx agent-enderun check
|
|
199
|
+
```
|
|
235
200
|
|
|
236
|
-
|
|
237
|
-
|
|
201
|
+
### 2. Ajanlar İçin Başlangıç Adımı (Zorunlu)
|
|
202
|
+
Her oturumun başında, aktif ajan mutlaka:
|
|
203
|
+
1. Proje bağlamını, izleme kimliğini (trace ID) ve aktif görevleri geri yüklemek için **derhal `.antigravitycli/PROJECT_MEMORY.md`** dosyasını okumalıdır.
|
|
204
|
+
2. Rolüne özgü davranış kurallarını ve kontrol listelerini yüklemek için **derhal `.agents/agents/manager/agent.json`** dosyasını okumalıdır.
|
|
238
205
|
|
|
239
206
|
---
|
|
240
207
|
|
|
241
|
-
**
|
|
208
|
+
**Agent Enderun is not just a tool. It is a complete operating system for professional, risk-aware, AI-assisted software development.**
|
package/antigravity.md
CHANGED
|
@@ -10,6 +10,6 @@ You are ALWAYS operating as `@manager` (Team-Lead) by default — on every messa
|
|
|
10
10
|
⚠️ **CRITICAL STARTUP REQUIREMENT:**
|
|
11
11
|
At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
|
|
12
12
|
1. You **MUST** read `.antigravitycli/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 `.antigravitycli/agents/manager.
|
|
13
|
+
2. You **MUST** read `.antigravitycli/agents/manager/agent.json` (or the specialist's JSON file in `.antigravitycli/agents/{agent_name}/agent.json` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
|
|
14
14
|
|
|
15
15
|
Please read the Supreme Law thoroughly before taking any action.
|
package/bin/cli.js
CHANGED
|
@@ -22,14 +22,7 @@ function getPackageVersion() {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
function getFrameworkDir() {
|
|
25
|
-
|
|
26
|
-
for (const adp of adapters) {
|
|
27
|
-
const fullPath = path.join(targetDir, adp);
|
|
28
|
-
if (fs.existsSync(fullPath) && fs.lstatSync(fullPath).isDirectory()) {
|
|
29
|
-
return adp;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return ".enderun";
|
|
25
|
+
return ".antigravitycli";
|
|
33
26
|
}
|
|
34
27
|
|
|
35
28
|
function getMemoryPath() {
|
|
@@ -195,7 +188,7 @@ function mergePackageJson(targetPath, sourcePath) {
|
|
|
195
188
|
console.log("✅ package.json updated with Enderun scripts and dependencies.");
|
|
196
189
|
}
|
|
197
190
|
|
|
198
|
-
function updateGitIgnore(targetPath, frameworkDir = ".
|
|
191
|
+
function updateGitIgnore(targetPath, frameworkDir = ".antigravitycli") {
|
|
199
192
|
const IGNORE_LINES = [
|
|
200
193
|
"# AI-Enderun",
|
|
201
194
|
`${frameworkDir}/logs/*.json`,
|
|
@@ -370,28 +363,16 @@ function getPackageManager() {
|
|
|
370
363
|
/**
|
|
371
364
|
* Scaffold the framework into the target project.
|
|
372
365
|
*/
|
|
373
|
-
async function initCommand(selectedAdapter) {
|
|
366
|
+
async function initCommand(selectedAdapter = "antigravity") {
|
|
374
367
|
const ADAPTERS = {
|
|
375
368
|
antigravity: ["antigravity.md"],
|
|
376
|
-
claude: ["claude.md"],
|
|
377
|
-
cursor: ["cursor.md"],
|
|
378
|
-
codex: ["codex.md"],
|
|
379
|
-
gemini: ["gemini.md"],
|
|
380
369
|
};
|
|
381
370
|
|
|
382
|
-
|
|
383
|
-
if (selectedAdapter === "antigravity") {
|
|
384
|
-
targetBase = ".antigravitycli";
|
|
385
|
-
} else if (selectedAdapter && selectedAdapter !== "codex") {
|
|
386
|
-
targetBase = `.${selectedAdapter}`;
|
|
387
|
-
} else {
|
|
388
|
-
targetBase = ".enderun";
|
|
389
|
-
}
|
|
390
|
-
|
|
371
|
+
const targetBase = ".antigravitycli";
|
|
391
372
|
const targetFrameworkDir = path.join(targetDir, targetBase);
|
|
392
373
|
|
|
393
374
|
const CORE_FILES = [
|
|
394
|
-
".
|
|
375
|
+
".antigravitycli",
|
|
395
376
|
|
|
396
377
|
"mcp.json",
|
|
397
378
|
".env.example",
|
|
@@ -400,12 +381,12 @@ async function initCommand(selectedAdapter) {
|
|
|
400
381
|
"tsconfig.json",
|
|
401
382
|
"panda.config.ts",
|
|
402
383
|
"framework-mcp",
|
|
384
|
+
"docs",
|
|
403
385
|
];
|
|
404
386
|
|
|
405
387
|
const DIRS_TO_CREATE = [
|
|
406
388
|
targetBase,
|
|
407
389
|
`${targetBase}/agents`,
|
|
408
|
-
`${targetBase}/docs/api`,
|
|
409
390
|
`${targetBase}/knowledge`,
|
|
410
391
|
`${targetBase}/benchmarks`,
|
|
411
392
|
`${targetBase}/monitoring`,
|
|
@@ -436,7 +417,7 @@ async function initCommand(selectedAdapter) {
|
|
|
436
417
|
let filesToProcess = [...CORE_FILES];
|
|
437
418
|
if (selectedAdapter) {
|
|
438
419
|
if (!ADAPTERS[selectedAdapter]) {
|
|
439
|
-
console.error(`❌ Invalid adapter: ${selectedAdapter}. Available: antigravity
|
|
420
|
+
console.error(`❌ Invalid adapter: ${selectedAdapter}. Available: antigravity`);
|
|
440
421
|
process.exit(1);
|
|
441
422
|
}
|
|
442
423
|
filesToProcess.push(...ADAPTERS[selectedAdapter]);
|
|
@@ -488,8 +469,8 @@ async function initCommand(selectedAdapter) {
|
|
|
488
469
|
}
|
|
489
470
|
|
|
490
471
|
// Remap core framework files to targetBase
|
|
491
|
-
if (item === ".
|
|
492
|
-
dest = path.join(targetDir, item.replace(".
|
|
472
|
+
if (item === ".antigravitycli" || item.startsWith(".antigravitycli/")) {
|
|
473
|
+
dest = path.join(targetDir, item.replace(".antigravitycli", targetBase));
|
|
493
474
|
}
|
|
494
475
|
if (item === "ENDERUN.md") dest = path.join(targetFrameworkDir, "ENDERUN.md");
|
|
495
476
|
|
|
@@ -501,8 +482,8 @@ async function initCommand(selectedAdapter) {
|
|
|
501
482
|
|
|
502
483
|
if (fs.existsSync(src)) {
|
|
503
484
|
if (fs.lstatSync(src).isDirectory()) {
|
|
504
|
-
const skipFiles = (item === ".
|
|
505
|
-
const nonDestructive = ["docs", ".
|
|
485
|
+
const skipFiles = (item === ".antigravitycli") ? ["logs", "PROJECT_MEMORY.md", "PROJECT_MEMORY.lock"] : [];
|
|
486
|
+
const nonDestructive = ["docs", ".antigravitycli"].includes(item);
|
|
506
487
|
copyDir(src, dest, new Set(skipFiles), nonDestructive, targetBase, targetScope);
|
|
507
488
|
} else {
|
|
508
489
|
if (item === "package.json") continue; // We merge it later
|
|
@@ -611,6 +592,10 @@ async function initCommand(selectedAdapter) {
|
|
|
611
592
|
console.log(`💎 Codex: Adapter codex.md and ${targetBase}/ folder are ready.`);
|
|
612
593
|
}
|
|
613
594
|
|
|
595
|
+
if (selectedAdapter === "gemini") {
|
|
596
|
+
console.log(`♊ Gemini: Adapter gemini.md and ${targetBase}/ folder are ready.`);
|
|
597
|
+
}
|
|
598
|
+
|
|
614
599
|
const pkgMgr = getPackageManager();
|
|
615
600
|
const installCmd = pkgMgr === "npm" ? "npm install" : `${pkgMgr} install`;
|
|
616
601
|
const buildCmd = pkgMgr === "npm" ? "npm run enderun:build" : `${pkgMgr} run enderun:build`;
|
|
@@ -687,13 +672,13 @@ function checkCommand() {
|
|
|
687
672
|
{ name: "MCP Config (mcp.json)", path: "mcp.json" },
|
|
688
673
|
{ name: "Backend Contract", path: "apps/backend/contract.version.json" },
|
|
689
674
|
{ name: "MCP Server", path: "framework-mcp/package.json" },
|
|
690
|
-
{ name: "Tech Stack", path: path.join(frameworkDir, "docs/tech-stack.md") },
|
|
691
675
|
{ name: "Panda CSS Config", path: "panda.config.ts" },
|
|
692
|
-
{ name: "Requirements", path: path.join(frameworkDir, "docs/project-docs.md") },
|
|
693
|
-
{ name: "API Registry", path: path.join(frameworkDir, "docs/api/README.md") },
|
|
694
|
-
{ name: "Security Policy", path: path.join(frameworkDir, "docs/security.md") },
|
|
695
|
-
{ name: "Privacy Policy", path: path.join(frameworkDir, "docs/privacy.md") },
|
|
696
676
|
{ name: "Brain Dashboard", path: path.join(frameworkDir, "BRAIN_DASHBOARD.md") },
|
|
677
|
+
{ name: "Project Architectural Portal (docs/README.md)", path: "docs/README.md" },
|
|
678
|
+
{ name: "System Getting Started Guide (docs/getting-started.md)", path: "docs/getting-started.md" },
|
|
679
|
+
{ name: "Enterprise Approval Flows Protocol", path: "docs/architecture/approval-flows.md" },
|
|
680
|
+
{ name: "Professional Error Handling Pattern", path: "docs/backend/error-handling.md" },
|
|
681
|
+
{ name: "Atomic Component Standards", path: "docs/frontend/component-patterns.md" },
|
|
697
682
|
];
|
|
698
683
|
|
|
699
684
|
for (const check of checks) {
|
|
@@ -794,7 +779,7 @@ function sanitizeJson(obj, targetScope = "") {
|
|
|
794
779
|
return cleaned;
|
|
795
780
|
}
|
|
796
781
|
|
|
797
|
-
function copyDir(src, dest, skipSet = new Set(), nonDestructive = false, frameworkDir = ".
|
|
782
|
+
function copyDir(src, dest, skipSet = new Set(), nonDestructive = false, frameworkDir = ".antigravitycli", targetScope = "") {
|
|
798
783
|
const DEFAULT_SKIP = new Set(["node_modules", ".git", ".DS_Store", "package-lock.json"]);
|
|
799
784
|
const actualSkip = new Set([...DEFAULT_SKIP, ...skipSet]);
|
|
800
785
|
|