Skip to content

Task Completion Bug - finito #85

@DustinVerzal

Description

@DustinVerzal

cc-sessions Version

0.3.6

Installation Method

npm/npx (JavaScript)

Operating System

WSL (Windows Subsystem for Linux)

Shell/Terminal

Zsh

IDE/Environment

Terminal/CLI only

Bug Description

When calling the finito command to begin the task completion protocol, it is unable to find the isSubtask function.

Steps to Reproduce

  • Install cc-sessions
  • Create task and perform steps
  • Begin task completion protocol with finito

Expected Behavior

Task completion protocol should begin.

Error Messages

finito
  ⎿  UserPromptSubmit hook error: Failed with non-blocking status code:
     /home/dverz/repos/tubular/sessions/hooks/user_messages.js:430
         if (STATE.current_task.file && isSubtask(STATE.current_task.file)) {
                                        ^

     TypeError: isSubtask is not a function
         at Object.<anonymous> (/home/dverz/repos/tubular/sessions/hooks/user_messages.js:430:36)
         at Module._compile (node:internal/modules/cjs/loader:1738:14)
         at Object..js (node:internal/modules/cjs/loader:1871:10)
         at Module.load (node:internal/modules/cjs/loader:1470:32)
         at Module._load (node:internal/modules/cjs/loader:1290:12)
         at TracingChannel.traceSync (node:diagnostics_channel:322:14)
         at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
         at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
         at node:internal/main/run_main_module:33:47

     Node.js v24.6.0
  ⎿  UserPromptSubmit hook error: Failed with non-blocking status code:
     /home/dverz/repos/tubular/sessions/hooks/user_messages.js:430
         if (STATE.current_task.file && isSubtask(STATE.current_task.file)) {
                                        ^

     TypeError: isSubtask is not a function
         at Object.<anonymous> (/home/dverz/repos/tubular/sessions/hooks/user_messages.js:430:36)
         at Module._compile (node:internal/modules/cjs/loader:1738:14)
         at Object..js (node:internal/modules/cjs/loader:1871:10)
         at Module.load (node:internal/modules/cjs/loader:1470:32)
         at Module._load (node:internal/modules/cjs/loader:1290:12)
         at TracingChannel.traceSync (node:diagnostics_channel:322:14)
         at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
         at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
         at node:internal/main/run_main_module:33:47

     Node.js v24.6.0

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions