Merge branch 'main' into debugging_ipc
# Conflicts: # README.md # pilot/helpers/agents/CodeMonkey.py # pilot/helpers/agents/Developer.py # pilot/prompts/system_messages/architect.prompt # pilot/utils/arguments.py # pilot/utils/llm_connection.py # pilot/utils/utils.pypull/1160/head
commit
3129e34903
@ -0,0 +1,64 @@
|
||||
Roles are defined in `const.common.ROLES`.
|
||||
Each agent's role is described to the LLM by a prompt in `pilot/prompts/system_messages/{role}.prompt`
|
||||
|
||||
## Product Owner
|
||||
`project_description`, `user_stories`, `user_tasks`
|
||||
|
||||
- Talk to client, ask detailed questions about what client wants
|
||||
- Give specifications to dev team
|
||||
|
||||
|
||||
## Architect
|
||||
`architecture`
|
||||
|
||||
- Scripts: Node.js, MongoDB, PeeWee ORM
|
||||
- Testing: Node.js -> Jest, Python -> pytest, E2E -> Cypress **(TODO - BDD?)**
|
||||
- Frontend: Bootstrap, vanilla Javascript **(TODO - TypeScript, Material/Styled, React/Vue/other?)**
|
||||
- Other: cronjob, Socket.io
|
||||
|
||||
TODO:
|
||||
- README.md
|
||||
- .gitignore
|
||||
- .editorconfig
|
||||
- LICENSE
|
||||
- CI/CD
|
||||
- IaC, Dockerfile
|
||||
|
||||
|
||||
## Tech Lead
|
||||
`development_planning`
|
||||
|
||||
- Break down the project into smaller tasks for devs.
|
||||
- Specify each task as clear as possible:
|
||||
- Description
|
||||
- "Programmatic goal" which determines if the task can be marked as done.
|
||||
eg: "server needs to be able to start running on a port 3000 and accept API request
|
||||
to the URL `http://localhost:3000/ping` when it will return the status code 200"
|
||||
- "User-review goal"
|
||||
eg: "run `npm run start` and open `http://localhost:3000/ping`, see "Hello World" on the screen"
|
||||
|
||||
|
||||
## Dev Ops
|
||||
`environment_setup`
|
||||
|
||||
**TODO: no prompt**
|
||||
|
||||
`debug` functions: `run_command`, `implement_code_changes`
|
||||
|
||||
|
||||
## Developer (full_stack_developer)
|
||||
`create_scripts`, `coding` **(TODO: No entry in `STEPS` for `create_scripts`)**
|
||||
|
||||
- Implement tasks assigned by tech lead
|
||||
- Modular code, TDD
|
||||
- Tasks provided as "programmatic goals" **(TODO: consider BDD)**
|
||||
|
||||
|
||||
|
||||
## Code Monkey
|
||||
**TODO: not listed in `ROLES`**
|
||||
|
||||
`development/implement_changes` functions: `save_files`
|
||||
|
||||
- Implement tasks assigned by tech lead
|
||||
- Modular code, TDD
|
||||
@ -1,10 +1,10 @@
|
||||
You are an experienced software architect. Your expertise is in creating an architecture for an MVP (minimum viable products) for {{ app_type }}s that can be developed as fast as possible by using as many ready-made technologies as possible. The technologies that you prefer using when other technologies are not explicitly specified are:
|
||||
**Scripts**: you prefer using Node.js for writing scripts that are meant to be ran just with the CLI.
|
||||
**Scripts**: You prefer using Node.js for writing scripts that are meant to be ran just with the CLI.
|
||||
|
||||
**Backend**: you prefer using Node.js with Mongo database if not explicitly specified otherwise. When you're using Mongo, you always use Mongoose and when you're using Postgresql, you always use PeeWee as an ORM.
|
||||
**Backend**: You prefer using Node.js with Mongo database if not explicitly specified otherwise. When you're using Mongo, you always use Mongoose and when you're using a relational database, you always use PeeWee as an ORM.
|
||||
|
||||
**Testing**: To create unit and integration tests, you prefer using Jest for Node.js projects and pytest for Python projects. To create end-to-end tests, you prefer using Cypress.
|
||||
|
||||
**Frontend**: you prefer using Bootstrap for creating HTML and CSS while you use plain (vanilla) Javascript.
|
||||
**Frontend**: You prefer using Bootstrap for creating HTML and CSS while you use plain (vanilla) Javascript.
|
||||
|
||||
**Other**: From other technologies, if the project requires periodical script run, you prefer using cronjob (for making automated tasks), and if the project requires real time communication, you prefer Socket.io for web sockets
|
||||
**Other**: From other technologies, if the project requires periodical script run, you prefer using cronjob (for making automated tasks), and if the project requires real time communication, you prefer Socket.io for web sockets
|
||||
|
||||
@ -1 +1 @@
|
||||
I will show you some of your message to which I want make some updates. Please just modify your last message per my instructions.
|
||||
I will show you some of your message to which I want you to make some updates. Please just modify your last message per my instructions.
|
||||
Loading…
Reference in New Issue