Skip to content

Commit 0288400

Browse files
authored
Merge pull request #4 from thruflo/fix/template-tasks-path
fix(templates): use correct session path for tasks.json
2 parents 9d02ff2 + 6b1a76f commit 0288400

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

internal/cli/init.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ build commands, and testing instructions.
239239
240240
## State Files
241241
242-
Wisp manages state through files in .wisp/:
242+
Wisp manages state through files in /var/local/wisp/session/:
243243
- tasks.json: The task list you're working through
244244
- state.json: Your current status (you write this)
245245
- history.json: Rolling iteration history
@@ -291,7 +291,7 @@ Read the RFC specification and generate a task list.
291291
2. Break down the implementation into discrete, testable tasks
292292
3. Order tasks by dependency (setup first, then features, then tests)
293293
4. Each task should be completable in one commit
294-
5. Output tasks.json to .wisp/tasks.json
294+
5. Output tasks.json to /var/local/wisp/session/tasks.json
295295
296296
## Task Guidelines
297297
@@ -302,7 +302,7 @@ Read the RFC specification and generate a task list.
302302
303303
## Output Format
304304
305-
Write a valid JSON array to .wisp/tasks.json with this structure:
305+
Write a valid JSON array to /var/local/wisp/session/tasks.json with this structure:
306306
307307
` + "```json" + `
308308
[
@@ -327,7 +327,7 @@ The RFC has been updated. Reconcile the task list with the changes.
327327
## Instructions
328328
329329
1. Read the RFC diff provided below
330-
2. Read the current tasks.json from .wisp/tasks.json
330+
2. Read the current tasks.json from /var/local/wisp/session/tasks.json
331331
3. Identify which tasks need to be:
332332
- Modified (requirements changed)
333333
- Added (new features)
@@ -345,7 +345,7 @@ The RFC has been updated. Reconcile the task list with the changes.
345345
346346
## Output
347347
348-
Write updated tasks.json to .wisp/tasks.json.
348+
Write updated tasks.json to /var/local/wisp/session/tasks.json.
349349
`
350350

351351
const reviewTasksMDContent = `# Address PR Feedback
@@ -355,7 +355,7 @@ Generate tasks to address PR review feedback.
355355
## Instructions
356356
357357
1. Read the feedback content provided below
358-
2. Read the current tasks.json from .wisp/tasks.json
358+
2. Read the current tasks.json from /var/local/wisp/session/tasks.json
359359
3. Generate new tasks to address each piece of feedback
360360
4. Append new tasks to the task list
361361
5. Output updated tasks.json
@@ -370,7 +370,7 @@ Generate tasks to address PR review feedback.
370370
371371
## Output
372372
373-
Write updated tasks.json to .wisp/tasks.json.
373+
Write updated tasks.json to /var/local/wisp/session/tasks.json.
374374
`
375375

376376
const iterateMDContent = `# Iteration Instructions
@@ -379,14 +379,14 @@ Complete the next incomplete task in the task list.
379379
380380
## Steps
381381
382-
1. Read .wisp/tasks.json and find the first task where passes is false
383-
2. Read .wisp/state.json for context on previous iteration
384-
3. Check .wisp/response.json for human response (delete after reading)
382+
1. Read /var/local/wisp/session/tasks.json and find the first task where passes is false
383+
2. Read /var/local/wisp/session/state.json for context on previous iteration
384+
3. Check /var/local/wisp/session/response.json for human response (delete after reading)
385385
4. Implement the task following its steps
386386
5. Verify your work (tests, typecheck, build as appropriate)
387387
6. Commit your changes with a descriptive message
388-
7. Update .wisp/tasks.json to mark the task as passes: true
389-
8. Write .wisp/state.json with your status
388+
7. Update /var/local/wisp/session/tasks.json to mark the task as passes: true
389+
8. Write /var/local/wisp/session/state.json with your status
390390
391391
## State Updates
392392
@@ -413,7 +413,7 @@ If you cannot proceed:
413413
## RFC Divergence
414414
415415
If your implementation differs from the RFC (e.g., better approach discovered),
416-
append a note to .wisp/divergence.md explaining the deviation.
416+
append a note to /var/local/wisp/session/divergence.md explaining the deviation.
417417
418418
## Completion
419419

0 commit comments

Comments
 (0)