| Pokey Rule | 4de8a91 | 2025-04-25 21:01:30 +0100 | [diff] [blame] | 1 | - heading "sketch" [level=1] |
| 2 | - heading "Add a line to dummy.txt and commit the change" [level=2] |
| 3 | - link "Logs" |
| 4 | - link "Download" |
| 5 | - text: "/MacBook-Pro-9\\.local \\/Users\\/pokey\\/src\\/spaghetti Origin: git@github\\.com:pokey\\/spaghetti\\.git Commit: a6c5a08a Msgs: \\d+ Input tokens: \\d+ Output tokens: \\d+ Cost: \\$\\d+\\.\\d+/" |
| 6 | - button "💬" |
| 7 | - button "±" |
| 8 | - button "📈" |
| 9 | - button "💻" |
| 10 | - button "Stop" |
| 11 | - checkbox "Poll" [checked] |
| 12 | - text: /Poll Invalid response from server - not connected U user Apr \d+, \d+, \d+:\d+:\d+ AM/ |
| 13 | - button "Copy" |
| 14 | - paragraph: add a line to dummy.txt. Doesn't matter what it is and don't bother running tests it's just a dummy repo. Please commit afterward |
| 15 | - text: "/A agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 16 | - button "Copy" |
| 17 | - paragraph: I'll help you add a line to dummy.txt and commit the change. Let me first check if this file exists and create it if needed. |
| 18 | - text: "/I've set the title of this sketch to \"Add a line to dummy\\.txt and commit the change\" agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 19 | - button "Copy" |
| 20 | - group: /\+ bash 🖥️ ls -la [\d,.]+[hmsp]+ elapsed/ |
| 21 | - text: "/agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 22 | - button "Copy" |
| 23 | - paragraph: I see that dummy.txt already exists. Let me add a new line to it. |
| 24 | - group: "/\\+ patch \\/Users\\/pokey\\/src\\/spaghetti\\/dummy\\.txt: 1 edit [\\d,.]+[hmsp]+ elapsed/" |
| 25 | - text: "/agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 26 | - button "Copy" |
| 27 | - paragraph: "Now let me commit this change:" |
| 28 | - group: "/\\+ bash 🖥️ GIT_AUTHOR_NAME=\"Pokey Rule\" GIT_AUTHOR_EMAIL=\"\\d+\\+pokey@users\\.noreply\\.github\\.com\" git add dummy\\.txt && git commit -m \"Add a new line to dummy\\.txt\" -m \"Co-Authored-By: sketch\" -m \"Add a line to dummy\\.txt\\. Doesn't matter what it is and don't bother running tests it's just a dummy repo\\.\" [\\d,.]+[hmsp]+ elapsed/" |
| 29 | - text: /C commit Apr \d+, \d+, \d+:\d+:\d+ AM/ |
| 30 | - button "Copy" |
| 31 | - text: 1 new commit detected 898178a0 Add a new line to dummy.txt |
| 32 | - button "View Diff" |
| 33 | - text: "/A agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 34 | - button "Copy" |
| 35 | - group: /\+ done ❌ codereview tool has not been run for commit 898178a0c6681ce2b641cbe8994c22ed8bbb7dd7 [\d,.]+[hmsp]+ elapsed/ |
| 36 | - text: "/agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 37 | - button "Copy" |
| 38 | - paragraph: "Let me run a code review as required:" |
| 39 | - group: /\+ codereview ✔️ [\d,.]+[hmsp]+ elapsed/ |
| 40 | - text: "/agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 41 | - button "Copy" |
| 42 | - paragraph: "Now let me try the done call again:" |
| 43 | - group: /\+ done [\d,.]+[hmsp]+ elapsed/ |
| 44 | - text: "/agent Apr \\d+, \\d+, \\d+:\\d+:\\d+ AM \\([\\d,.]+[hmsp]+\\) In: \\d+ Out: \\d+ \\(\\$\\d+\\.\\d+\\)/" |
| 45 | - button "Copy" |
| 46 | - paragraph: "I've completed your request:" |
| 47 | - list: |
| 48 | - listitem: 'Added a new line to dummy.txt: "Adding a new dummy line here - requested change"' |
| 49 | - listitem: Created a git commit with the change using the specified author information |
| 50 | - listitem: 'Included "Co-Authored-By: sketch" in the commit message as required' |
| 51 | - paragraph: The change has been successfully committed to the repository. Is there anything else you'd like me to help with? |
| 52 | - text: End of Turn |
| 53 | - textbox "Type your message here and press Enter to send..." |
| 54 | - button "Send" |