Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions core/go.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ $ServerScript = Join-Path $UIDir "server.ps1"
$oldDefaults = Join-Path $BotDir "defaults"
$newSettings = Join-Path $BotDir "settings"
if ((Test-Path $oldDefaults) -and -not (Test-Path $newSettings)) { Rename-Item $oldDefaults $newSettings }
$oldInner = Join-Path $BotDir "prompts\workflows"
if (Test-Path $oldInner) { Rename-Item $oldInner (Join-Path $BotDir "prompts\_prompts_tmp") }
$oldInner = Join-Path $BotDir "prompts/workflows"
if (Test-Path $oldInner) { Rename-Item $oldInner (Join-Path $BotDir "prompts/_prompts_tmp") }
$oldPrompts = Join-Path $BotDir "prompts"
$newRecipes = Join-Path $BotDir "recipes"
if ((Test-Path $oldPrompts) -and -not (Test-Path $newRecipes)) {
Rename-Item $oldPrompts $newRecipes
$tmp = Join-Path $newRecipes "_prompts_tmp"
if (Test-Path $tmp) { Rename-Item $tmp (Join-Path $newRecipes "prompts") }
}
$oldAdrs = Join-Path $BotDir "workspace\adrs"
$newDec = Join-Path $BotDir "workspace\decisions"
$oldAdrs = Join-Path $BotDir "workspace/adrs"
$newDec = Join-Path $BotDir "workspace/decisions"
if ((Test-Path $oldAdrs) -and -not (Test-Path $newDec)) { Rename-Item $oldAdrs $newDec }

# Initialize structured logging
Expand Down
2 changes: 1 addition & 1 deletion core/hooks/scripts/steering.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (Test-Path $themePath) {
}
}

$controlDir = Join-Path $PSScriptRoot "..\..\..\.control"
$controlDir = Join-Path $PSScriptRoot "../../../.control"
$controlDir = [System.IO.Path]::GetFullPath($controlDir)
$processesDir = Join-Path $controlDir "processes"
$statusFile = Join-Path $controlDir "steering-status.json"
Expand Down
6 changes: 3 additions & 3 deletions core/init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $ErrorActionPreference = "Stop"
# Get script and project directories
$BotDir = $PSScriptRoot
$ProjectRoot = Split-Path -Parent $BotDir
$ProvidersDir = Join-Path $BotDir "settings\providers"
$ProvidersDir = Join-Path $BotDir "settings/providers"

Write-Status "Initializing IDE integrations..."
Write-BlankLine
Expand All @@ -51,8 +51,8 @@ if (Test-Path $ProvidersDir) {
}
}

$SourceAgentsDir = Join-Path $BotDir "recipes\agents"
$SourceSkillsDir = Join-Path $BotDir "recipes\skills"
$SourceAgentsDir = Join-Path $BotDir "recipes/agents"
$SourceSkillsDir = Join-Path $BotDir "recipes/skills"

foreach ($provider in $providerDirs) {
$providerName = $provider.Name
Expand Down
8 changes: 4 additions & 4 deletions core/mcp/dotbot-mcp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ if (-not $script:ProjectRoot) {
$global:DotbotProjectRoot = $script:ProjectRoot

# Initialize structured logging (console disabled — stdout is MCP protocol)
$mcpControlDir = Join-Path $script:ProjectRoot ".bot\.control"
$mcpControlDir = Join-Path $script:ProjectRoot ".bot/.control"
$mcpLogsDir = Join-Path $mcpControlDir "logs"
if (-not (Test-Path $mcpLogsDir)) { New-Item -Path $mcpLogsDir -ItemType Directory -Force | Out-Null }
$dotBotLogPath = Join-Path $PSScriptRoot "..\runtime\modules\DotBotLog.psm1"
$dotBotLogPath = Join-Path $PSScriptRoot "../runtime/modules/DotBotLog.psm1"
if (Test-Path $dotBotLogPath) {
Import-Module $dotBotLogPath -Force -DisableNameChecking
Initialize-DotBotLog -LogDir $mcpLogsDir -ControlDir $mcpControlDir -ProjectRoot $script:ProjectRoot -ConsoleEnabled $false
}

# Diagnostic logging (stderr, separate from MCP protocol on stdout)
[Console]::Error.WriteLine("Project root: $($script:ProjectRoot)")
$tasksCheck = Join-Path $script:ProjectRoot ".bot\workspace\tasks"
$tasksCheck = Join-Path $script:ProjectRoot ".bot/workspace/tasks"
if (Test-Path $tasksCheck) {
[Console]::Error.WriteLine("Tasks directory: OK ($tasksCheck)")
} else {
Expand Down Expand Up @@ -104,7 +104,7 @@ foreach ($toolDirItem in $toolDirs) {
}

# Discover workflow tools: .bot/workflows/*/tools/
$workflowsDir = Join-Path (Split-Path $PSScriptRoot -Parent) "..\workflows"
$workflowsDir = Join-Path (Split-Path $PSScriptRoot -Parent) "../workflows"
if (Test-Path $workflowsDir) {
Get-ChildItem -Path $workflowsDir -Directory | Where-Object {
Test-ValidWorkflowDir -Dir $_.FullName
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/modules/NotificationClient.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ to collect external responses.
#>

if (-not (Get-Module SettingsLoader)) {
Import-Module (Join-Path $PSScriptRoot "..\..\runtime\modules\SettingsLoader.psm1") -DisableNameChecking -Global
Import-Module (Join-Path $PSScriptRoot "../../runtime/modules/SettingsLoader.psm1") -DisableNameChecking -Global
}

function Get-NotificationSettings {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/modules/TaskIndexCache.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function Get-IgnoreRoadmapDependencyMap {
)

$workspaceDir = Split-Path -Parent $TasksBaseDir
$overviewPath = Join-Path $workspaceDir "product\roadmap-overview.md"
$overviewPath = Join-Path $workspaceDir "product/roadmap-overview.md"
$dependencyMap = @{}
if (-not (Test-Path $overviewPath)) {
return $dependencyMap
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/modules/TaskMutation.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function Get-RoadmapOverviewDependencyMap {

$resolvedBaseDir = Get-TasksBaseDir -TasksBaseDir $TasksBaseDir
$workspaceDir = Split-Path -Parent $resolvedBaseDir
$overviewPath = Join-Path $workspaceDir "product\roadmap-overview.md"
$overviewPath = Join-Path $workspaceDir "product/roadmap-overview.md"
$dependencyMap = @{}
if (-not (Test-Path $overviewPath)) {
return $dependencyMap
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/modules/TaskStore.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Get-TasksBaseDir {
}

$projectRoot = Get-DotbotProjectRoot
return (Join-Path $projectRoot ".bot\workspace\tasks")
return (Join-Path $projectRoot ".bot/workspace/tasks")
}

function Get-TodoDirectories {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-create/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Invoke-DecisionCreate {
$slug = ($title -replace '[^\w\s-]', '' -replace '\s+', '-').ToLowerInvariant()
if ($slug.Length -gt 60) { $slug = $slug.Substring(0, 60).TrimEnd('-') }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$targetDir = Join-Path $decisionsBaseDir $status
if (-not (Test-Path $targetDir)) { New-Item -ItemType Directory -Force -Path $targetDir | Out-Null }

Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-get/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Invoke-DecisionGet {
if (-not $decId) { throw "decision_id is required" }
if ($decId -notmatch '^dec-[a-f0-9]{8}$') { throw "Invalid decision_id format '$decId'. Expected: dec-XXXXXXXX" }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$allStatuses = @('proposed', 'accepted', 'deprecated', 'superseded')

$found = $null
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-list/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function Invoke-DecisionList {
param([hashtable]$Arguments)

$filterStatus = $Arguments['status']
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$allStatuses = @('proposed', 'accepted', 'deprecated', 'superseded')

if ($filterStatus -and $filterStatus -notin $allStatuses) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-mark-accepted/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Invoke-DecisionMarkAccepted {
if (-not $decId) { throw "decision_id is required" }
if ($decId -notmatch '^dec-[a-f0-9]{8}$') { throw "Invalid decision_id format '$decId'. Expected: dec-XXXXXXXX" }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$sourceDir = Join-Path $decisionsBaseDir "proposed"

if (-not (Test-Path $sourceDir)) { throw "No proposed decisions directory found" }
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-mark-deprecated/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Invoke-DecisionMarkDeprecated {
if (-not $decId) { throw "decision_id is required" }
if ($decId -notmatch '^dec-[a-f0-9]{8}$') { throw "Invalid decision_id format '$decId'. Expected: dec-XXXXXXXX" }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$allStatuses = @('proposed', 'accepted')

$found = $null
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-mark-superseded/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Invoke-DecisionMarkSuperseded {
if (-not $supersededBy) { throw "superseded_by is required" }
if ($supersededBy -notmatch '^dec-[a-f0-9]{8}$') { throw "Invalid superseded_by format '$supersededBy'. Expected: dec-XXXXXXXX" }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$allStatuses = @('proposed', 'accepted')

$found = $null
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/decision-update/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Invoke-DecisionUpdate {
if (-not $decId) { throw "decision_id is required" }
if ($decId -notmatch '^dec-[a-f0-9]{8}$') { throw "Invalid decision_id format '$decId'. Expected: dec-XXXXXXXX" }

$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$allStatuses = @('proposed', 'accepted', 'deprecated', 'superseded')

$found = $null
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/dev-start/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Invoke-DevStart {
}

# Check for dev script
$scriptPath = Join-Path $solutionRoot '.bot\hooks\dev\Start-Dev.ps1'
$scriptPath = Join-Path $solutionRoot '.bot/hooks/dev/Start-Dev.ps1'
if (-not (Test-Path $scriptPath)) {
$duration = Get-ToolDuration -Stopwatch $timer
return New-EnvelopeResponse `
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/dev-stop/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Invoke-DevStop {
}

# Check for dev script
$scriptPath = Join-Path $solutionRoot '.bot\hooks\dev\Stop-Dev.ps1'
$scriptPath = Join-Path $solutionRoot '.bot/hooks/dev/Stop-Dev.ps1'
if (-not (Test-Path $scriptPath)) {
$duration = Get-ToolDuration -Stopwatch $timer
return New-EnvelopeResponse `
Expand Down
4 changes: 2 additions & 2 deletions core/mcp/tools/plan-create/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Invoke-PlanCreate {
}

# Find task file by ID (search all status directories)
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
$statusDirs = @('todo', 'in-progress', 'done', 'skipped', 'cancelled')
$taskFile = $null
$taskFilename = $null
Expand All @@ -44,7 +44,7 @@ function Invoke-PlanCreate {

# Derive plan filename from task filename (replace .json with -plan.md)
$planFilename = $taskFilename -replace '\.json$', '-plan.md'
$plansDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\plans"
$plansDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/plans"

# Ensure plans directory exists
if (-not (Test-Path $plansDir)) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/plan-update/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Invoke-PlanUpdate {
}

# Find task file by ID (search all status directories)
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
$statusDirs = @('todo', 'in-progress', 'done', 'skipped', 'cancelled')
$taskFile = $null
$task = $null
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/session-get-state/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Invoke-SessionGetState {
)

# Define paths
$stateFile = Join-Path $global:DotbotProjectRoot ".bot\workspace\sessions\runs\session-state.json"
$stateFile = Join-Path $global:DotbotProjectRoot ".bot/workspace/sessions/runs/session-state.json"

# Check if state file exists
if (-not (Test-Path $stateFile)) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/session-get-stats/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Invoke-SessionGetStats {
)

# Define paths
$stateFile = Join-Path $global:DotbotProjectRoot ".bot\workspace\sessions\runs\session-state.json"
$stateFile = Join-Path $global:DotbotProjectRoot ".bot/workspace/sessions/runs/session-state.json"

# Check if state file exists
if (-not (Test-Path $stateFile)) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/session-increment-completed/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Invoke-SessionIncrementCompleted {
)

# Define paths
$stateFile = Join-Path $global:DotbotProjectRoot ".bot\workspace\sessions\runs\session-state.json"
$stateFile = Join-Path $global:DotbotProjectRoot ".bot/workspace/sessions/runs/session-state.json"

# Check if state file exists
if (-not (Test-Path $stateFile)) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/session-initialize/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Invoke-SessionInitialize {
$sessionType = $Arguments.session_type

# Define paths
$autonomousDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\sessions\runs"
$autonomousDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/sessions/runs"
$stateFile = Join-Path $autonomousDir "session-state.json"
$lockFile = Join-Path $autonomousDir "session.lock"

Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/session-update/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Invoke-SessionUpdate {
)

# Define paths
$stateFile = Join-Path $global:DotbotProjectRoot ".bot\workspace\sessions\runs\session-state.json"
$stateFile = Join-Path $global:DotbotProjectRoot ".bot/workspace/sessions/runs/session-state.json"

# Check if state file exists
if (-not (Test-Path $stateFile)) {
Expand Down
4 changes: 2 additions & 2 deletions core/mcp/tools/steering-heartbeat/script.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module (Join-Path $PSScriptRoot "..\..\..\runtime\modules\ConsoleSequenceSanitizer.psm1")
Import-Module (Join-Path $PSScriptRoot "../../../runtime/modules/ConsoleSequenceSanitizer.psm1")

function Invoke-SteeringHeartbeat {
<#
Expand Down Expand Up @@ -43,7 +43,7 @@ function Invoke-SteeringHeartbeat {
}
}

$controlDir = Join-Path $global:DotbotProjectRoot ".bot\.control"
$controlDir = Join-Path $global:DotbotProjectRoot ".bot/.control"
$controlDir = [System.IO.Path]::GetFullPath($controlDir)

# Ensure control directory exists
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/steering-heartbeat/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Import-Module $env:DOTBOT_TEST_HELPERS -Force

Reset-TestResults

$controlDir = Join-Path $global:DotbotProjectRoot ".bot\.control"
$controlDir = Join-Path $global:DotbotProjectRoot ".bot/.control"
$processesDir = Join-Path $controlDir "processes"
if (-not (Test-Path $processesDir)) {
New-Item -ItemType Directory -Path $processesDir -Force | Out-Null
Expand Down
4 changes: 2 additions & 2 deletions core/mcp/tools/task-answer-question/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Write-InterviewAnswer {
[string]$BotRoot,
[hashtable]$Entry # { question_id, question, answer_key, answer_label, answer, context, answered_at }
)
$productDir = Join-Path $BotRoot "workspace\product"
$productDir = Join-Path $BotRoot "workspace/product"
if (-not (Test-Path $productDir)) { return }

$answersPath = Join-Path $productDir "interview-answers.json"
Expand Down Expand Up @@ -42,7 +42,7 @@ function Invoke-TaskAnswerQuestion {
}

# Define tasks directories
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
$needsInputDir = Join-Path $tasksBaseDir "needs-input"
$analysingDir = Join-Path $tasksBaseDir "analysing"

Expand Down
6 changes: 3 additions & 3 deletions core/mcp/tools/task-answer-question/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Import-Module $env:DOTBOT_TEST_HELPERS -Force

Reset-TestResults

$needsInputDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks\needs-input"
$needsInputDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks/needs-input"
if (-not (Test-Path $needsInputDir)) {
New-Item -ItemType Directory -Force -Path $needsInputDir | Out-Null
}
Expand Down Expand Up @@ -54,7 +54,7 @@ try {
-Actual $result.attachments_count

# Verify task moved to analysing/
$analysingDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks\analysing"
$analysingDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks/analysing"
$movedFile = Get-ChildItem -Path $analysingDir -Filter "$testTaskId.json" -ErrorAction SilentlyContinue | Select-Object -First 1

Assert-True -Name "task-answer-question: file moved to analysing/" `
Expand Down Expand Up @@ -122,7 +122,7 @@ try {
-Message "Expected throw for missing task_id"

} finally {
$analysingDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks\analysing"
$analysingDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks/analysing"
Remove-Item (Join-Path $analysingDir "$testTaskId.json") -Force -ErrorAction SilentlyContinue
Remove-Item (Join-Path $analysingDir "$testTaskId2.json") -Force -ErrorAction SilentlyContinue
Remove-Item (Join-Path $needsInputDir "$testTaskId.json") -Force -ErrorAction SilentlyContinue
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/task-approve-split/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function Invoke-TaskApproveSplit {
}

# Define tasks directories
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
$needsInputDir = Join-Path $tasksBaseDir "needs-input"
$analysingDir = Join-Path $tasksBaseDir "analysing"
$splitDir = Join-Path $tasksBaseDir "split"
Expand Down
4 changes: 2 additions & 2 deletions core/mcp/tools/task-create-bulk/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ function Invoke-TaskCreateBulk {
}

# Initialize task index
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
Initialize-TaskIndex -TasksBaseDir $tasksBaseDir
$index = Get-TaskIndex

# Define tasks directory
$tasksDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks\todo"
$tasksDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks/todo"

# Ensure directory exists
if (-not (Test-Path $tasksDir)) {
Expand Down
4 changes: 2 additions & 2 deletions core/mcp/tools/task-create/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function Invoke-TaskCreate {
}

# Initialize index
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
Initialize-TaskIndex -TasksBaseDir $tasksBaseDir
$index = Get-TaskIndex

Expand Down Expand Up @@ -189,7 +189,7 @@ function Invoke-TaskCreate {
}

# Define file path
$tasksDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks\todo"
$tasksDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks/todo"

# Ensure directory exists
if (-not (Test-Path $tasksDir)) {
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/task-get-context/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Invoke-TaskGetContext {
$decisionContent = @()
$decisionIds = @($taskContent.applicable_decisions | Where-Object { $_ -match '^dec-[a-f0-9]{8}$' })
if (-not $hasEmbeddedDecisions -and $decisionIds.Count -gt 0) {
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\decisions"
$decisionsBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/decisions"
$decisionStatuses = @('accepted', 'proposed', 'deprecated', 'superseded')
foreach ($decId in $decisionIds) {
$decFound = $false
Expand Down
2 changes: 1 addition & 1 deletion core/mcp/tools/task-get-next/script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (-not (Get-Command Test-ManifestCondition -ErrorAction SilentlyContinue)) {
}

# Initialize index on first use
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot\workspace\tasks"
$tasksBaseDir = Join-Path $global:DotbotProjectRoot ".bot/workspace/tasks"
Initialize-TaskIndex -TasksBaseDir $tasksBaseDir

function Invoke-TaskGetNext {
Expand Down
Loading
Loading