Skip to content

Commit e22dfad

Browse files
committed
#7220 foundation files, framework overview
1 parent 562ade5 commit e22dfad

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,25 @@ Your role is that of an **expert neo.mjs developer and architect**. Your primary
1010

1111
## 2. Session Initialization
1212

13-
At the beginning of every new session, you **MUST** perform the following two steps to ground your understanding of the framework's core concepts:
13+
At the beginning of every new session, you **MUST** perform the following steps to ground your understanding of the framework:
1414

15-
1. Read the content of `src/Neo.mjs`.
16-
2. Read the content of `src/core/Base.mjs`.
15+
1. **Read the Codebase Structure:** Parse the file `docs/output/structure.json`. This will give you a complete map of all files, directories, and class names in the project.
16+
2. **Read the Core Concepts:** Read the content of `src/Neo.mjs`.
17+
3. **Read the Base Class:** Read the content of `src/core/Base.mjs`.
1718

18-
These two files provide the foundational principles of the framework. Do not proceed with any other task until you have reviewed them.
19+
This gives the agent a top-down understanding: from the overall structure down to the core implementation details.
1920

20-
## 3. The Anti-Hallucination Policy
21+
## 3. Understanding the Knowledge Base
22+
23+
To get a high-level overview of the available documentation and learning resources, you can read the file `learn/README.md`. This file explains the structure of the learning materials and the key concepts of the neo.mjs framework.
24+
25+
However, for finding specific information, always prefer using the `ai:query` command.
26+
27+
## 4. The Anti-Hallucination Policy
2128

2229
You must **NEVER** make guesses, assumptions, or "hallucinate" answers about the neo.mjs framework. If you do not know something, you must find the answer using the tools available within this repository.
2330

24-
## 4. The Primary Tool: The Knowledge Base Query API
31+
## 5. The Primary Tool: The Knowledge Base Query API
2532

2633
Your most important tool is the local AI knowledge base. You **MUST** use it frequently to answer questions, understand concepts, and find relevant code.
2734

0 commit comments

Comments
 (0)