jhnoor / tarik-autocoder

Tarik is an LLM-based automated developer
MIT License
4 stars 2 forks source link

PoC of Tarik reading work items periodically #3

Closed jhnoor closed 1 year ago

jhnoor commented 1 year ago

Tarik will have to check work items regularly, ones tagged auto-code will be the focus of work. For now let's demonstrate that Tarik is able to do this by polling the github API every 5 mins

jhnoor commented 1 year ago

Plan for PoC of Tarik reading work items periodically

  1. Research the Github API: I will research the Github API to understand how to use it to fetch work items tagged with auto-code. I will also look into how to authenticate with the API to avoid rate limiting issues.

  2. Set up a scheduler: I will set up a scheduler that will run every 5 minutes to fetch work items from Github API. I will use a Python library like schedule to achieve this.

  3. Fetch work items: I will use the Github API to fetch all work items tagged with auto-code. I will filter the results to only include open work items.

  4. Process work items: I will process the fetched work items and extract the relevant information such as the title, description, and any other relevant details.

  5. Notify manager: I will notify the manager of the fetched work items and provide a summary of the information extracted from the work items.

  6. Await manager approval: I will wait for the manager's approval before proceeding to work on the fetched work items.

  7. Repeat: I will repeat the process every 5 minutes to ensure that any new work items tagged with auto-code are fetched and processed in a timely manner.