lalph 0.1.27 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs CHANGED
@@ -140150,7 +140150,7 @@ If at any point you decide that a task is too large or complex to complete in a
140150
140150
  single iteration, break it down into smaller tasks and add them to the prd.yml
140151
140151
  file. Then, mark the original task as "done" by updating its \`state\`.
140152
140152
 
140153
- Each task should be small and specific.
140153
+ Each task should be an atomic, committable piece of work.
140154
140154
  Instead of creating tasks like "Refactor the authentication system", create
140155
140155
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
140156
140156
 
@@ -140197,20 +140197,22 @@ ${prdNotes}`;
140197
140197
  const promptTimeout = (options) => `# Instructions
140198
140198
 
140199
140199
  Your earlier attempt to complete the task with id \`${options.taskId}\` took too
140200
- long and has timed out.
140200
+ long and has timed out. You can find the task details in the prd.yml file.
140201
140201
 
140202
140202
  The following instructions should be done without interaction or asking for
140203
140203
  permission.
140204
140204
 
140205
- 1. Research and break down the task into smaller tasks and add them to the prd.yml file.
140206
- 2. Mark the original task as "done" by updating its \`state\` in the prd.yml file.
140207
- 3. Each new task should have an id of \`null\`, a title, and a concise description that
140205
+ 1. Investigate why you think the task took too long. Research the codebase
140206
+ further if needed.
140207
+ 2. Break down the task into smaller tasks and add them to the prd.yml file.
140208
+ 3. Mark the original task as "done" by updating its \`state\` in the prd.yml file.
140209
+ 4. Each new task should have an id of \`null\`, a title, and a concise description that
140208
140210
  includes a short summary of the task and a brief list of steps to complete it.
140209
140211
  - The tasks should start in the "todo" state.
140210
- - Each task should be small and specific.
140212
+ - Each task should be an atomic, committable piece of work.
140211
140213
  Instead of creating tasks like "Refactor the authentication system", create
140212
140214
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
140213
- 4. Setup task dependencies using the \`blockedBy\` field as needed. You will need
140215
+ 5. Setup task dependencies using the \`blockedBy\` field as needed. You will need
140214
140216
  to wait 5 seconds after adding tasks to the prd.yml file to allow the system
140215
140217
  to assign ids to the new tasks before you can setup dependencies.
140216
140218
 
@@ -140230,7 +140232,7 @@ ${prdNotes}`;
140230
140232
  2. Each task should have a id of \`null\`, a title, and a concise description that
140231
140233
  includes a short summary of the task and a brief list of steps to complete it.
140232
140234
  - The tasks should start in the "todo" state.
140233
- - Each task should be small and specific.
140235
+ - Each task should be an atomic, committable piece of work.
140234
140236
  Instead of creating tasks like "Refactor the authentication system", create
140235
140237
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
140236
140238
  3. Add the new tasks to the prd.yml file.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.1.27",
4
+ "version": "0.1.28",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/src/PromptGen.ts CHANGED
@@ -73,7 +73,7 @@ If at any point you decide that a task is too large or complex to complete in a
73
73
  single iteration, break it down into smaller tasks and add them to the prd.yml
74
74
  file. Then, mark the original task as "done" by updating its \`state\`.
75
75
 
76
- Each task should be small and specific.
76
+ Each task should be an atomic, committable piece of work.
77
77
  Instead of creating tasks like "Refactor the authentication system", create
78
78
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
79
79
 
@@ -127,20 +127,22 @@ ${prdNotes}`
127
127
  }) => `# Instructions
128
128
 
129
129
  Your earlier attempt to complete the task with id \`${options.taskId}\` took too
130
- long and has timed out.
130
+ long and has timed out. You can find the task details in the prd.yml file.
131
131
 
132
132
  The following instructions should be done without interaction or asking for
133
133
  permission.
134
134
 
135
- 1. Research and break down the task into smaller tasks and add them to the prd.yml file.
136
- 2. Mark the original task as "done" by updating its \`state\` in the prd.yml file.
137
- 3. Each new task should have an id of \`null\`, a title, and a concise description that
135
+ 1. Investigate why you think the task took too long. Research the codebase
136
+ further if needed.
137
+ 2. Break down the task into smaller tasks and add them to the prd.yml file.
138
+ 3. Mark the original task as "done" by updating its \`state\` in the prd.yml file.
139
+ 4. Each new task should have an id of \`null\`, a title, and a concise description that
138
140
  includes a short summary of the task and a brief list of steps to complete it.
139
141
  - The tasks should start in the "todo" state.
140
- - Each task should be small and specific.
142
+ - Each task should be an atomic, committable piece of work.
141
143
  Instead of creating tasks like "Refactor the authentication system", create
142
144
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
143
- 4. Setup task dependencies using the \`blockedBy\` field as needed. You will need
145
+ 5. Setup task dependencies using the \`blockedBy\` field as needed. You will need
144
146
  to wait 5 seconds after adding tasks to the prd.yml file to allow the system
145
147
  to assign ids to the new tasks before you can setup dependencies.
146
148
 
@@ -157,7 +159,7 @@ ${prdNotes}`
157
159
  2. Each task should have a id of \`null\`, a title, and a concise description that
158
160
  includes a short summary of the task and a brief list of steps to complete it.
159
161
  - The tasks should start in the "todo" state.
160
- - Each task should be small and specific.
162
+ - Each task should be an atomic, committable piece of work.
161
163
  Instead of creating tasks like "Refactor the authentication system", create
162
164
  smaller tasks like "Implement OAuth2 login endpoint", "Add JWT token refresh mechanism", etc.
163
165
  3. Add the new tasks to the prd.yml file.