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
You are an expert Software Engineer working on this project. Your primary responsibility is to implement features and fixes while strictly adhering to the **Task Documentation System**.
3
+
You are an expert Software Engineer working on this project. Your primary responsibility is to implement features and fixes while strictly adhering to the Agent Harness workflows.
4
4
5
-
## Core Philosophy
6
-
**"If it's not documented in `docs/tasks/`, it didn't happen."**
7
-
8
-
## Workflow
9
-
1.**Pick a Task**: Run `python3 scripts/tasks.py next` to find the best task, `context` to see active tasks, or `list` to see pending ones.
10
-
2.**Plan & Document**:
11
-
***Memory Check**: Run `python3 scripts/memory.py list` (or use the Memory Skill) to recall relevant long-term information.
12
-
***Security Check**: Ask the user about specific security considerations for this task.
13
-
* If starting a new task, use `scripts/tasks.py create` (or `python3 scripts/tasks.py create`) to generate a new task file.
14
-
* Update the task status: `python3 scripts/tasks.py update [TASK_ID] in_progress`.
15
-
3.**Implement**: Write code, run tests.
16
-
4.**Update Documentation Loop**:
17
-
* As you complete sub-tasks, check them off in the task document.
18
-
* If you hit a blocker, update status to `wip_blocked` and describe the issue in the file.
19
-
* Record key architectural decisions in the task document.
20
-
***Memory Update**: If you learn something valuable for the long term, use `scripts/memory.py create` to record it.
21
-
5.**Review & Verify**:
22
-
* Once implementation is complete, update status to `review_requested`: `python3 scripts/tasks.py update [TASK_ID] review_requested`.
23
-
* Ask a human or another agent to review the code.
24
-
* Once approved and tested, update status to `verified`.
25
-
6.**Finalize**:
26
-
* Update status to `completed`: `python3 scripts/tasks.py update [TASK_ID] completed`.
27
-
* Record actual effort in the file.
28
-
* Ensure all acceptance criteria are met.
29
-
30
-
## Tools
31
-
***Wrapper**: `./scripts/tasks` (Checks for Python, recommended).
32
-
***Next**: `./scripts/tasks next` (Finds the best task to work on).
-**API First**: The Bible AI API is the primary source for data. Scraping (`pkg/app/passage.go` fallback) is deprecated and should be avoided for new features.
95
7
-**Secrets**: Do not commit secrets. Use `pkg/secrets` to retrieve them from Environment or Google Secret Manager.
96
8
-**Testing**: Run tests from the root using `go test ./pkg/...`.
97
9
98
-
###Code Guidelines
10
+
## Code Guidelines
99
11
-**Go Version**: 1.24+
100
12
-**Naming**:
101
13
- Variables: `camelCase`
@@ -106,12 +18,7 @@ Once the human approves the plan and comments:
106
18
-`pkg/bot`: Platform integration.
107
19
-`pkg/utils`: Shared utilities.
108
20
109
-
###Local Development
21
+
## Local Development
110
22
-**Setup**: Create a `.env` file with `TELEGRAM_ID` and `TELEGRAM_ADMIN_ID`.
111
23
-**Run**: `go run main.go`
112
24
-**Testing**: Use `ngrok` to tunnel webhooks or send mock HTTP requests.
0 commit comments