You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the Codegen agent documentation to emphasize its focus on context building and prompt construction, explicitly stating that it does not perform implementation work. Enhanced sections on context gathering and structured prompt format for clarity and comprehensiveness, ensuring the agent's responsibilities are well-defined.
Copy file name to clipboardExpand all lines: .agentos/agents/:codegen-agent.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,27 @@
2
2
3
3
## Purpose
4
4
5
-
Take a task description or spec file, gather the relevant repository context, and produce a **well-structured prompt** for Codegen. The agent then executes:
5
+
Take a task description or spec file, gather the relevant repository context, and produce a **well-structured prompt** for Codegen.
6
+
This agent does not execute any implementation work — its sole role is to build comprehensive context and craft the optimal prompt for the Codegen CLI.
7
+
8
+
The agent then provides the structured prompt to be executed via:
6
9
7
10
```bash
8
11
codegen agent --prompt "<full-structured-prompt>"
9
12
```
10
13
11
14
## Workflow
12
15
16
+
**Important:** This workflow focuses entirely on context building and prompt construction. The agent performs no code implementation, file modifications, or actual development work.
17
+
13
18
### 1. Input
14
19
15
20
- Accept either a free-text task or a path to a spec file under `.agentos/specs/`
16
21
- Optional: issue references, file hints, or additional context
17
22
18
-
### 2. Context Gathering
23
+
### 2. Context Gathering (Read Only)
19
24
20
-
Scan repository for relevant information to include in the prompt:
25
+
Thoroughly scan repository for relevant information to include in the prompt:
0 commit comments