Here’s the kickoff prompt for the most recent task I gave Jules. It gives an idea of the complexity of the things it can do (similar to Cursor’s Agent mode.)
It’s worth noting that this repo has both an AGENTS.md and a directory called “devprompts” which the AGENTS.md tells agents to look in. The devprompts directory has a 60-line file about how to create a background service.
I have started, but not finished a service called “FileUploadRequests”.
This needs extending, with both additional SQL tables, DAO method(s), and content in the service and worker.
The intention is to model, but generalise what is done in the “Fundchat” service.
There should be ultimate four tables, and the service and worker should be extended to use them. (Some of the tables will need to be created in setup.sql and a patch file)
-
file_upload_requests, which stores the file meta data during processing (this sort of works)
-
file_contents, which stores the BLOB file contents (this sort of works)
-
file_chunks, which does not yet exist. It should chunk the files in the same way that the fundchat service does
-
file_chunk_vectors, which should work as the fundchat vectors stuff does.
The add file method and all the tables should also be extended to include an optional userid.
Then create a page in src/frontends/console (with a route) that shows all the files for the currently logged in user, and allows them to upload a new one. Put this on the “Your Apps” menu. There is already a method in the dao called get_for_id that should work, but will need extending as below.
Also create a page on the Admin menu called “Show files” that lists files for all users in the same way. There is already a method on the dao called “get_all” that should work but will need extending as below.
These page should also show whether the file has chunks, and whether those chunks have encodings. (It should use a JOIN against the other tables to work this out.)
These pages should not show the file contents - just the status.
There should be an API that allows a file to be uploaded by POST, and responds with a JSON structure. The API should look for an API key, and generate the userid to pass in from that key. The key should not be passed to the files DAO, which should only use the userid.
There were about 6 followup prompts, being:
- 3 things it had got wrong
- 2 things I had
- 1 request to update the devprompts directory with a new file about creating a new ConsolePage
Together, they counted as only one of the 15 / day