@aidemd-mcp/aidemd 0.0.0-stage → 0.21.0
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/.aide/bin/aide-tree.mjs +8 -0
- package/.aide/config/brain.aide +1449 -0
- package/.aide/docs/.aide +130 -0
- package/.aide/docs/agent-readable-code.md +74 -0
- package/.aide/docs/aide-spec.md +290 -0
- package/.aide/docs/aide-template.md +141 -0
- package/.aide/docs/automated-qa.md +111 -0
- package/.aide/docs/brain-aide.md +242 -0
- package/.aide/docs/brief-aide.md +124 -0
- package/.aide/docs/cascading-alignment.md +107 -0
- package/.aide/docs/index.md +52 -0
- package/.aide/docs/plan-aide.md +132 -0
- package/.aide/docs/progressive-disclosure.md +74 -0
- package/.aide/docs/session-aide.md +210 -0
- package/.aide/docs/todo-aide.md +82 -0
- package/.aide/intent.aide +71 -0
- package/.aide/readme.aide +343 -0
- package/.aide/reference/hooks/PostToolUse.md +24 -0
- package/.aide/reference/hooks/SessionEnd.md +22 -0
- package/.aide/reference/hooks/SessionStart.md +18 -0
- package/.aide/reference/hooks/Stop.md +18 -0
- package/.aide/reference/hooks/UserPromptSubmit.md +18 -0
- package/.aide/reference/hooks/index.md +36 -0
- package/.aide/reference/tools/aide_brain.md +34 -0
- package/.aide/reference/tools/aide_cleanup.md +31 -0
- package/.aide/reference/tools/aide_discover.md +40 -0
- package/.aide/reference/tools/aide_frontmatter.md +36 -0
- package/.aide/reference/tools/aide_info.md +33 -0
- package/.aide/reference/tools/aide_init.md +39 -0
- package/.aide/reference/tools/aide_inspect.md +27 -0
- package/.aide/reference/tools/aide_observer_end_session.md +36 -0
- package/.aide/reference/tools/aide_observer_event.md +52 -0
- package/.aide/reference/tools/aide_observer_start.md +45 -0
- package/.aide/reference/tools/aide_read.md +29 -0
- package/.aide/reference/tools/aide_scaffold.md +35 -0
- package/.aide/reference/tools/aide_upgrade.md +45 -0
- package/.aide/reference/tools/aide_validate.md +36 -0
- package/.aide/reference/tools/index.md +25 -0
- package/.aide/session.aide +774 -0
- package/.claude/.aide +316 -0
- package/.claude/agents/aide/aide-aligner.md +129 -0
- package/.claude/agents/aide/aide-architect.md +151 -0
- package/.claude/agents/aide/aide-auditor.md +100 -0
- package/.claude/agents/aide/aide-domain-expert.md +84 -0
- package/.claude/agents/aide/aide-explorer.md +63 -0
- package/.claude/agents/aide/aide-implementor.md +121 -0
- package/.claude/agents/aide/aide-maintainer.md +115 -0
- package/.claude/agents/aide/aide-qa.md +95 -0
- package/.claude/agents/aide/aide-spec-writer.md +220 -0
- package/.claude/agents/aide/aide-strategist.md +104 -0
- package/.claude/agents/aide/aide-upgrader.md +71 -0
- package/.claude/agents/kanban/kanban-maintainer.md +113 -0
- package/.claude/commands/aide/align.md +24 -0
- package/.claude/commands/aide/brain.md +169 -0
- package/.claude/commands/aide/build.md +22 -0
- package/.claude/commands/aide/fix.md +23 -0
- package/.claude/commands/aide/handoff.md +15 -0
- package/.claude/commands/aide/plan.md +32 -0
- package/.claude/commands/aide/qa.md +27 -0
- package/.claude/commands/aide/refactor.md +106 -0
- package/.claude/commands/aide/research.md +21 -0
- package/.claude/commands/aide/spec.md +35 -0
- package/.claude/commands/aide/synthesize.md +24 -0
- package/.claude/commands/aide/update-playbook.md +3 -0
- package/.claude/commands/aide/upgrade.md +158 -0
- package/.claude/commands/aide.md +13 -0
- package/.claude/skills/aide/SKILL.md +611 -0
- package/.claude/skills/aide-brain-author/SKILL.md +122 -0
- package/.claude/skills/aide-handoff/SKILL.md +56 -0
- package/.claude/skills/aide-observer/SKILL.md +94 -0
- package/.claude/skills/brain/SKILL.md +69 -0
- package/.claude/skills/kanban/SKILL.md +24 -0
- package/.claude/skills/study-playbook/SKILL.md +11 -0
- package/CHANGELOG.md +428 -0
- package/LICENSE +21 -0
- package/README.md +219 -2
- package/dist/cli/hook/findLinkedSession/index.d.ts +8 -0
- package/dist/cli/hook/findLinkedSession/index.js +18 -0
- package/dist/cli/hook/index.d.ts +21 -0
- package/dist/cli/hook/index.js +64 -0
- package/dist/cli/hook/mapHookEvent/index.d.ts +9 -0
- package/dist/cli/hook/mapHookEvent/index.js +25 -0
- package/dist/cli/hook/parseHookInput/index.d.ts +9 -0
- package/dist/cli/hook/parseHookInput/index.js +43 -0
- package/dist/cli/hook/readStdin/index.d.ts +10 -0
- package/dist/cli/hook/readStdin/index.js +25 -0
- package/dist/cli/hook/resolveHookRoot/index.d.ts +10 -0
- package/dist/cli/hook/resolveHookRoot/index.js +14 -0
- package/dist/cli/hook/types/index.d.ts +24 -0
- package/dist/cli/hook/types/index.js +1 -0
- package/dist/cli/index.d.ts +24 -0
- package/dist/cli/index.js +62 -0
- package/dist/cli/init/ensureGlobalAide/index.d.ts +19 -0
- package/dist/cli/init/ensureGlobalAide/index.js +36 -0
- package/dist/cli/init/ensureGlobalAide/installGlobalPackage/index.d.ts +8 -0
- package/dist/cli/init/ensureGlobalAide/installGlobalPackage/index.js +15 -0
- package/dist/cli/init/index.d.ts +82 -0
- package/dist/cli/init/index.js +465 -0
- package/dist/cli/init/renderWarning/index.d.ts +41 -0
- package/dist/cli/init/renderWarning/index.js +66 -0
- package/dist/cli/init/reportHooks/index.d.ts +31 -0
- package/dist/cli/init/reportHooks/index.js +75 -0
- package/dist/cli/init/types/index.d.ts +46 -0
- package/dist/cli/init/types/index.js +1 -0
- package/dist/cli/init/writeMcpEntry/index.d.ts +30 -0
- package/dist/cli/init/writeMcpEntry/index.js +81 -0
- package/dist/cli/isMainModule/index.d.ts +11 -0
- package/dist/cli/isMainModule/index.js +27 -0
- package/dist/cli/launchSync/index.d.ts +9 -0
- package/dist/cli/launchSync/index.js +40 -0
- package/dist/cli/shared/writeMcpEntry/index.d.ts +49 -0
- package/dist/cli/shared/writeMcpEntry/index.js +107 -0
- package/dist/cli/sync/index.d.ts +27 -0
- package/dist/cli/sync/index.js +125 -0
- package/dist/cli/tree/App/index.d.ts +14 -0
- package/dist/cli/tree/App/index.js +291 -0
- package/dist/cli/tree/DetailPanel/index.d.ts +28 -0
- package/dist/cli/tree/DetailPanel/index.js +77 -0
- package/dist/cli/tree/DetailPanel/renderPlanDetail/index.d.ts +20 -0
- package/dist/cli/tree/DetailPanel/renderPlanDetail/index.js +30 -0
- package/dist/cli/tree/DetailPanel/renderPlanDetail/parsePlanItems/index.d.ts +32 -0
- package/dist/cli/tree/DetailPanel/renderPlanDetail/parsePlanItems/index.js +80 -0
- package/dist/cli/tree/DetailPanel/renderTodoDetail/index.d.ts +17 -0
- package/dist/cli/tree/DetailPanel/renderTodoDetail/index.js +19 -0
- package/dist/cli/tree/DetailPanel/renderTodoDetail/parseTodoItems/index.d.ts +26 -0
- package/dist/cli/tree/DetailPanel/renderTodoDetail/parseTodoItems/index.js +48 -0
- package/dist/cli/tree/TreePanel/index.d.ts +24 -0
- package/dist/cli/tree/TreePanel/index.js +96 -0
- package/dist/cli/tree/findPrimaryIntent/index.d.ts +12 -0
- package/dist/cli/tree/findPrimaryIntent/index.js +20 -0
- package/dist/cli/tree/flattenTree/index.d.ts +16 -0
- package/dist/cli/tree/flattenTree/index.js +20 -0
- package/dist/cli/tree/index.d.ts +2 -0
- package/dist/cli/tree/index.js +15 -0
- package/dist/cli/view/awaitShutdown/index.d.ts +12 -0
- package/dist/cli/view/awaitShutdown/index.js +32 -0
- package/dist/cli/view/buildLink/index.d.ts +13 -0
- package/dist/cli/view/buildLink/index.js +18 -0
- package/dist/cli/view/formatPortNote/index.d.ts +10 -0
- package/dist/cli/view/formatPortNote/index.js +11 -0
- package/dist/cli/view/formatUsage/index.d.ts +6 -0
- package/dist/cli/view/formatUsage/index.js +24 -0
- package/dist/cli/view/index.d.ts +21 -0
- package/dist/cli/view/index.js +102 -0
- package/dist/cli/view/parseViewArgs/index.d.ts +14 -0
- package/dist/cli/view/parseViewArgs/index.js +59 -0
- package/dist/cli/view/types/index.d.ts +20 -0
- package/dist/cli/view/types/index.js +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +17 -0
- package/dist/observer/assets/Inter-OFL.txt +93 -0
- package/dist/observer/assets/JetBrainsMono-OFL.txt +93 -0
- package/dist/observer/assets/page.css +1 -0
- package/dist/observer/assets/page.js +158 -0
- package/dist/observer/assets/page.js.LEGAL.txt +56 -0
- package/dist/observer/bindServer/index.d.ts +17 -0
- package/dist/observer/bindServer/index.js +29 -0
- package/dist/observer/buildPageShell/index.d.ts +8 -0
- package/dist/observer/buildPageShell/index.js +30 -0
- package/dist/observer/buildProjectView/index.d.ts +12 -0
- package/dist/observer/buildProjectView/index.js +25 -0
- package/dist/observer/buildViewLink/index.d.ts +16 -0
- package/dist/observer/buildViewLink/index.js +15 -0
- package/dist/observer/createEventStore/index.d.ts +14 -0
- package/dist/observer/createEventStore/index.js +98 -0
- package/dist/observer/createStatusPusher/index.d.ts +16 -0
- package/dist/observer/createStatusPusher/index.js +40 -0
- package/dist/observer/createStop/index.d.ts +23 -0
- package/dist/observer/createStop/index.js +40 -0
- package/dist/observer/createStreamHub/frame/index.d.ts +6 -0
- package/dist/observer/createStreamHub/frame/index.js +4 -0
- package/dist/observer/createStreamHub/index.d.ts +13 -0
- package/dist/observer/createStreamHub/index.js +76 -0
- package/dist/observer/findRunningObserver/index.d.ts +12 -0
- package/dist/observer/findRunningObserver/index.js +33 -0
- package/dist/observer/findRunningObserver/probeIndex/index.d.ts +13 -0
- package/dist/observer/findRunningObserver/probeIndex/index.js +28 -0
- package/dist/observer/guardRequest/index.d.ts +20 -0
- package/dist/observer/guardRequest/index.js +38 -0
- package/dist/observer/guardRequest/matchesToken/index.d.ts +5 -0
- package/dist/observer/guardRequest/matchesToken/index.js +9 -0
- package/dist/observer/guardRequest/types/index.d.ts +8 -0
- package/dist/observer/guardRequest/types/index.js +1 -0
- package/dist/observer/handleRequest/index.d.ts +13 -0
- package/dist/observer/handleRequest/index.js +76 -0
- package/dist/observer/handleRequest/isTokenFree/index.d.ts +11 -0
- package/dist/observer/handleRequest/isTokenFree/index.js +12 -0
- package/dist/observer/handleRequest/matchRoute/index.d.ts +26 -0
- package/dist/observer/handleRequest/matchRoute/index.js +89 -0
- package/dist/observer/index.d.ts +23 -0
- package/dist/observer/index.js +112 -0
- package/dist/observer/listPorts/index.d.ts +9 -0
- package/dist/observer/listPorts/index.js +10 -0
- package/dist/observer/loadToken/index.d.ts +12 -0
- package/dist/observer/loadToken/index.js +46 -0
- package/dist/observer/loadToken/readStored/index.d.ts +4 -0
- package/dist/observer/loadToken/readStored/index.js +16 -0
- package/dist/observer/loadToken/writeTemp/index.d.ts +5 -0
- package/dist/observer/loadToken/writeTemp/index.js +8 -0
- package/dist/observer/locatePageAssets/index.d.ts +6 -0
- package/dist/observer/locatePageAssets/index.js +17 -0
- package/dist/observer/mintToken/index.d.ts +2 -0
- package/dist/observer/mintToken/index.js +6 -0
- package/dist/observer/rebuildStatus/index.d.ts +17 -0
- package/dist/observer/rebuildStatus/index.js +49 -0
- package/dist/observer/removeRecord/index.d.ts +10 -0
- package/dist/observer/removeRecord/index.js +22 -0
- package/dist/observer/replaySessions/index.d.ts +7 -0
- package/dist/observer/replaySessions/index.js +17 -0
- package/dist/observer/resolvePort/index.d.ts +12 -0
- package/dist/observer/resolvePort/index.js +21 -0
- package/dist/observer/routes/archiveSession/index.d.ts +11 -0
- package/dist/observer/routes/archiveSession/index.js +57 -0
- package/dist/observer/routes/deleteSession/index.d.ts +10 -0
- package/dist/observer/routes/deleteSession/index.js +33 -0
- package/dist/observer/routes/getAsset/index.d.ts +7 -0
- package/dist/observer/routes/getAsset/index.js +30 -0
- package/dist/observer/routes/getEvents/index.d.ts +3 -0
- package/dist/observer/routes/getEvents/index.js +13 -0
- package/dist/observer/routes/getFile/index.d.ts +7 -0
- package/dist/observer/routes/getFile/index.js +54 -0
- package/dist/observer/routes/getFile/resolveConfinedPath/index.d.ts +24 -0
- package/dist/observer/routes/getFile/resolveConfinedPath/index.js +65 -0
- package/dist/observer/routes/getIndex/index.d.ts +7 -0
- package/dist/observer/routes/getIndex/index.js +23 -0
- package/dist/observer/routes/getSessionPage/index.d.ts +8 -0
- package/dist/observer/routes/getSessionPage/index.js +10 -0
- package/dist/observer/routes/getStatus/index.d.ts +7 -0
- package/dist/observer/routes/getStatus/index.js +15 -0
- package/dist/observer/routes/getTask/index.d.ts +7 -0
- package/dist/observer/routes/getTask/index.js +47 -0
- package/dist/observer/routes/listArchived/index.d.ts +8 -0
- package/dist/observer/routes/listArchived/index.js +22 -0
- package/dist/observer/routes/listProjects/index.d.ts +3 -0
- package/dist/observer/routes/listProjects/index.js +9 -0
- package/dist/observer/routes/listSessions/index.d.ts +3 -0
- package/dist/observer/routes/listSessions/index.js +18 -0
- package/dist/observer/routes/postEvent/index.d.ts +12 -0
- package/dist/observer/routes/postEvent/index.js +76 -0
- package/dist/observer/routes/postEvent/readJsonBody/index.d.ts +18 -0
- package/dist/observer/routes/postEvent/readJsonBody/index.js +37 -0
- package/dist/observer/routes/postPresence/index.d.ts +12 -0
- package/dist/observer/routes/postPresence/index.js +63 -0
- package/dist/observer/routes/postShutdown/index.d.ts +13 -0
- package/dist/observer/routes/postShutdown/index.js +64 -0
- package/dist/observer/routes/restoreSession/index.d.ts +11 -0
- package/dist/observer/routes/restoreSession/index.js +46 -0
- package/dist/observer/routes/streamUpdates/index.d.ts +10 -0
- package/dist/observer/routes/streamUpdates/index.js +20 -0
- package/dist/observer/shared/announceSessions/index.d.ts +12 -0
- package/dist/observer/shared/announceSessions/index.js +20 -0
- package/dist/observer/shared/broadcastProjects/index.d.ts +10 -0
- package/dist/observer/shared/broadcastProjects/index.js +13 -0
- package/dist/observer/shared/buildObserverMessage/index.d.ts +8 -0
- package/dist/observer/shared/buildObserverMessage/index.js +20 -0
- package/dist/observer/shared/findProject/index.d.ts +12 -0
- package/dist/observer/shared/findProject/index.js +22 -0
- package/dist/observer/shared/pageAssets/index.d.ts +13 -0
- package/dist/observer/shared/pageAssets/index.js +16 -0
- package/dist/observer/shared/pageTitle/index.d.ts +7 -0
- package/dist/observer/shared/pageTitle/index.js +7 -0
- package/dist/observer/shared/parsePort/index.d.ts +12 -0
- package/dist/observer/shared/parsePort/index.js +15 -0
- package/dist/observer/shared/pickKanbanOverride/index.d.ts +10 -0
- package/dist/observer/shared/pickKanbanOverride/index.js +10 -0
- package/dist/observer/shared/pickReportedLocation/index.d.ts +13 -0
- package/dist/observer/shared/pickReportedLocation/index.js +18 -0
- package/dist/observer/shared/readHeldLiveness/index.d.ts +13 -0
- package/dist/observer/shared/readHeldLiveness/index.js +23 -0
- package/dist/observer/shared/routeTable/index.d.ts +131 -0
- package/dist/observer/shared/routeTable/index.js +31 -0
- package/dist/observer/shared/sendBody/index.d.ts +14 -0
- package/dist/observer/shared/sendBody/index.js +17 -0
- package/dist/observer/shared/sendJson/index.d.ts +12 -0
- package/dist/observer/shared/sendJson/index.js +15 -0
- package/dist/observer/shared/sendPage/index.d.ts +10 -0
- package/dist/observer/shared/sendPage/index.js +18 -0
- package/dist/observer/shared/shutdownRequest/index.d.ts +14 -0
- package/dist/observer/shared/shutdownRequest/index.js +7 -0
- package/dist/observer/shared/summarizeProjects/index.d.ts +14 -0
- package/dist/observer/shared/summarizeProjects/index.js +38 -0
- package/dist/observer/shared/summarizeSessions/index.d.ts +12 -0
- package/dist/observer/shared/summarizeSessions/index.js +30 -0
- package/dist/observer/shared/tokenFormat/index.d.ts +4 -0
- package/dist/observer/shared/tokenFormat/index.js +4 -0
- package/dist/observer/shared/wantsHtml/index.d.ts +8 -0
- package/dist/observer/shared/wantsHtml/index.js +10 -0
- package/dist/observer/takeOver/awaitExit/index.d.ts +10 -0
- package/dist/observer/takeOver/awaitExit/index.js +26 -0
- package/dist/observer/takeOver/index.d.ts +11 -0
- package/dist/observer/takeOver/index.js +27 -0
- package/dist/observer/takeOver/requestShutdown/index.d.ts +10 -0
- package/dist/observer/takeOver/requestShutdown/index.js +28 -0
- package/dist/observer/types/index.d.ts +214 -0
- package/dist/observer/types/index.js +1 -0
- package/dist/observer/writeRecord/index.d.ts +10 -0
- package/dist/observer/writeRecord/index.js +11 -0
- package/dist/service/brainContract/index.d.ts +113 -0
- package/dist/service/brainContract/index.js +107 -0
- package/dist/service/brainContract/launcherPurpose/index.d.ts +8 -0
- package/dist/service/brainContract/launcherPurpose/index.js +8 -0
- package/dist/service/brainContract/toMarkerPair/index.d.ts +11 -0
- package/dist/service/brainContract/toMarkerPair/index.js +12 -0
- package/dist/service/buildBrainState/classifyParseFailure/index.d.ts +17 -0
- package/dist/service/buildBrainState/classifyParseFailure/index.js +29 -0
- package/dist/service/buildBrainState/index.d.ts +84 -0
- package/dist/service/buildBrainState/index.js +177 -0
- package/dist/service/install/applySteps/index.d.ts +38 -0
- package/dist/service/install/applySteps/index.js +86 -0
- package/dist/service/install/configureIde/index.d.ts +25 -0
- package/dist/service/install/configureIde/index.js +143 -0
- package/dist/service/install/detectFramework/index.d.ts +11 -0
- package/dist/service/install/detectFramework/index.js +53 -0
- package/dist/service/install/index.d.ts +63 -0
- package/dist/service/install/index.js +138 -0
- package/dist/service/install/initContent/index.d.ts +158 -0
- package/dist/service/install/initContent/index.js +260 -0
- package/dist/service/install/installAgents/index.d.ts +16 -0
- package/dist/service/install/installAgents/index.js +55 -0
- package/dist/service/install/installAideTree/index.d.ts +15 -0
- package/dist/service/install/installAideTree/index.js +54 -0
- package/dist/service/install/installHooks/index.d.ts +24 -0
- package/dist/service/install/installHooks/index.js +68 -0
- package/dist/service/install/installMethodologyDocs/index.d.ts +16 -0
- package/dist/service/install/installMethodologyDocs/index.js +55 -0
- package/dist/service/install/installSkills/index.d.ts +16 -0
- package/dist/service/install/installSkills/index.js +55 -0
- package/dist/service/install/planSessionRecord/index.d.ts +16 -0
- package/dist/service/install/planSessionRecord/index.js +30 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/index.d.ts +25 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/index.js +60 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/summarizeBrainConfig/index.d.ts +14 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/summarizeBrainConfig/index.js +33 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/summarizeBrainConfig/listBrainSections/index.d.ts +10 -0
- package/dist/service/install/provisionBrain/buildBrainAideStep/summarizeBrainConfig/listBrainSections/index.js +19 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findLegacyLauncher/index.d.ts +17 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findLegacyLauncher/index.js +39 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findStaleSections/fingerprintSection/index.d.ts +11 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findStaleSections/fingerprintSection/index.js +20 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findStaleSections/index.d.ts +16 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/findStaleSections/index.js +30 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/index.d.ts +13 -0
- package/dist/service/install/provisionBrain/detectBrainMigration/index.js +32 -0
- package/dist/service/install/provisionBrain/index.d.ts +37 -0
- package/dist/service/install/provisionBrain/index.js +182 -0
- package/dist/service/install/provisionBrain/isTemplateIntegration/index.d.ts +14 -0
- package/dist/service/install/provisionBrain/isTemplateIntegration/index.js +24 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/index.d.ts +73 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/index.js +557 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/complete/index.d.ts +13 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/complete/index.js +51 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/create/index.d.ts +13 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/create/index.js +82 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/manage/index.d.ts +13 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/manage/index.js +86 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/move/index.d.ts +12 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/move/index.js +59 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/review/index.d.ts +15 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/review/index.js +274 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/stash/index.d.ts +14 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/stash/index.js +103 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/work/index.d.ts +14 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/guide/work/index.js +332 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/hub/index.d.ts +16 -0
- package/dist/service/install/provisionBrain/obsidianBrainAideTemplate/kanbanSeeds/hub/index.js +94 -0
- package/dist/service/install/provisionBrain/outdatedTemplateSections/index.d.ts +18 -0
- package/dist/service/install/provisionBrain/outdatedTemplateSections/index.js +164 -0
- package/dist/service/install/provisionBrain/parseBundledTemplate/index.d.ts +14 -0
- package/dist/service/install/provisionBrain/parseBundledTemplate/index.js +21 -0
- package/dist/service/install/provisionBrain/planBrainRepair/index.d.ts +26 -0
- package/dist/service/install/provisionBrain/planBrainRepair/index.js +47 -0
- package/dist/service/install/provisionBrain/readBrainMigrationNotice/index.d.ts +15 -0
- package/dist/service/install/provisionBrain/readBrainMigrationNotice/index.js +26 -0
- package/dist/service/install/reference/index.d.ts +24 -0
- package/dist/service/install/reference/index.js +51 -0
- package/dist/service/install/resolveBrainHints/index.d.ts +17 -0
- package/dist/service/install/resolveBrainHints/index.js +44 -0
- package/dist/service/install/scaffoldCommands/index.d.ts +42 -0
- package/dist/service/install/scaffoldCommands/index.js +90 -0
- package/dist/service/install/scaffoldReadme/deriveProjectName/index.d.ts +18 -0
- package/dist/service/install/scaffoldReadme/deriveProjectName/index.js +37 -0
- package/dist/service/install/scaffoldReadme/index.d.ts +20 -0
- package/dist/service/install/scaffoldReadme/index.js +57 -0
- package/dist/service/install/scaffoldReadme/insertBadge/index.d.ts +17 -0
- package/dist/service/install/scaffoldReadme/insertBadge/index.js +51 -0
- package/dist/service/install/shared/aidePackage/index.d.ts +18 -0
- package/dist/service/install/shared/aidePackage/index.js +17 -0
- package/dist/service/install/shared/checkGlobalPackage/index.d.ts +11 -0
- package/dist/service/install/shared/checkGlobalPackage/index.js +28 -0
- package/dist/service/install/shared/compareBytes/index.d.ts +12 -0
- package/dist/service/install/shared/compareBytes/index.js +24 -0
- package/dist/service/install/shared/describeAideCommand/index.d.ts +10 -0
- package/dist/service/install/shared/describeAideCommand/index.js +13 -0
- package/dist/service/install/shared/detectLaunchMode/index.d.ts +11 -0
- package/dist/service/install/shared/detectLaunchMode/index.js +10 -0
- package/dist/service/install/shared/isOlderVersion/index.d.ts +7 -0
- package/dist/service/install/shared/isOlderVersion/index.js +19 -0
- package/dist/service/install/shared/normalizeLaunchedCommand/index.d.ts +16 -0
- package/dist/service/install/shared/normalizeLaunchedCommand/index.js +36 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/appendLine/index.d.ts +10 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/appendLine/index.js +14 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/index.d.ts +13 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/index.js +30 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/inspectGit/index.d.ts +17 -0
- package/dist/service/install/shared/planHooks/ignoreLocal/inspectGit/index.js +42 -0
- package/dist/service/install/shared/planHooks/index.d.ts +19 -0
- package/dist/service/install/shared/planHooks/index.js +65 -0
- package/dist/service/install/shared/planHooks/locateEntry/index.d.ts +15 -0
- package/dist/service/install/shared/planHooks/locateEntry/index.js +40 -0
- package/dist/service/install/shared/planHooks/mergeLocal/aideHookEntries/index.d.ts +11 -0
- package/dist/service/install/shared/planHooks/mergeLocal/aideHookEntries/index.js +21 -0
- package/dist/service/install/shared/planHooks/mergeLocal/buildCommand/index.d.ts +7 -0
- package/dist/service/install/shared/planHooks/mergeLocal/buildCommand/index.js +9 -0
- package/dist/service/install/shared/planHooks/mergeLocal/findWiredEvents/index.d.ts +16 -0
- package/dist/service/install/shared/planHooks/mergeLocal/findWiredEvents/index.js +35 -0
- package/dist/service/install/shared/planHooks/mergeLocal/index.d.ts +17 -0
- package/dist/service/install/shared/planHooks/mergeLocal/index.js +57 -0
- package/dist/service/install/shared/planHooks/shared/isAideHookCommand/index.d.ts +10 -0
- package/dist/service/install/shared/planHooks/shared/isAideHookCommand/index.js +86 -0
- package/dist/service/install/shared/planHooks/shared/parseSettings/index.d.ts +10 -0
- package/dist/service/install/shared/planHooks/shared/parseSettings/index.js +24 -0
- package/dist/service/install/shared/planHooks/shared/readOptional/index.d.ts +7 -0
- package/dist/service/install/shared/planHooks/shared/readOptional/index.js +17 -0
- package/dist/service/install/shared/planHooks/shared/removeAideHooks/index.d.ts +17 -0
- package/dist/service/install/shared/planHooks/shared/removeAideHooks/index.js +84 -0
- package/dist/service/install/shared/planHooks/stripProject/index.d.ts +14 -0
- package/dist/service/install/shared/planHooks/stripProject/index.js +26 -0
- package/dist/service/install/shared/planInstallInstruction/index.d.ts +3 -0
- package/dist/service/install/shared/planInstallInstruction/index.js +6 -0
- package/dist/service/install/shared/readNpxPackageSpec/index.d.ts +11 -0
- package/dist/service/install/shared/readNpxPackageSpec/index.js +35 -0
- package/dist/service/install/wireMcp/index.d.ts +28 -0
- package/dist/service/install/wireMcp/index.js +89 -0
- package/dist/service/install/writeMethodology/index.d.ts +22 -0
- package/dist/service/install/writeMethodology/index.js +131 -0
- package/dist/service/observer/event/archive/index.d.ts +14 -0
- package/dist/service/observer/event/archive/index.js +52 -0
- package/dist/service/observer/event/delete/index.d.ts +20 -0
- package/dist/service/observer/event/delete/index.js +60 -0
- package/dist/service/observer/event/endSession/index.d.ts +19 -0
- package/dist/service/observer/event/endSession/index.js +85 -0
- package/dist/service/observer/event/findConversation/index.d.ts +16 -0
- package/dist/service/observer/event/findConversation/index.js +46 -0
- package/dist/service/observer/event/markClosed/index.d.ts +15 -0
- package/dist/service/observer/event/markClosed/index.js +39 -0
- package/dist/service/observer/event/read/index.d.ts +11 -0
- package/dist/service/observer/event/read/index.js +18 -0
- package/dist/service/observer/event/read/readProject/index.d.ts +14 -0
- package/dist/service/observer/event/read/readProject/index.js +52 -0
- package/dist/service/observer/event/readArchive/index.d.ts +9 -0
- package/dist/service/observer/event/readArchive/index.js +46 -0
- package/dist/service/observer/event/readConversations/index.d.ts +10 -0
- package/dist/service/observer/event/readConversations/index.js +12 -0
- package/dist/service/observer/event/readLiveness/index.d.ts +24 -0
- package/dist/service/observer/event/readLiveness/index.js +40 -0
- package/dist/service/observer/event/record/appendLine/index.d.ts +17 -0
- package/dist/service/observer/event/record/appendLine/index.js +25 -0
- package/dist/service/observer/event/record/index.d.ts +19 -0
- package/dist/service/observer/event/record/index.js +62 -0
- package/dist/service/observer/event/record/postToObserver/index.d.ts +15 -0
- package/dist/service/observer/event/record/postToObserver/index.js +39 -0
- package/dist/service/observer/event/record/readPreviouslyEnded/index.d.ts +11 -0
- package/dist/service/observer/event/record/readPreviouslyEnded/index.js +25 -0
- package/dist/service/observer/event/record/session/createSession/index.d.ts +3 -0
- package/dist/service/observer/event/record/session/createSession/index.js +18 -0
- package/dist/service/observer/event/record/session/createSessionId/index.d.ts +9 -0
- package/dist/service/observer/event/record/session/createSessionId/index.js +11 -0
- package/dist/service/observer/event/record/session/index.d.ts +8 -0
- package/dist/service/observer/event/record/session/index.js +14 -0
- package/dist/service/observer/event/reopen/index.d.ts +13 -0
- package/dist/service/observer/event/reopen/index.js +34 -0
- package/dist/service/observer/event/restore/index.d.ts +12 -0
- package/dist/service/observer/event/restore/index.js +48 -0
- package/dist/service/observer/event/shared/attachLiveness/index.d.ts +14 -0
- package/dist/service/observer/event/shared/attachLiveness/index.js +18 -0
- package/dist/service/observer/event/shared/buildSessionPath/index.d.ts +11 -0
- package/dist/service/observer/event/shared/buildSessionPath/index.js +13 -0
- package/dist/service/observer/event/shared/endedMark/index.d.ts +30 -0
- package/dist/service/observer/event/shared/endedMark/index.js +48 -0
- package/dist/service/observer/event/shared/findNewestStart/index.d.ts +13 -0
- package/dist/service/observer/event/shared/findNewestStart/index.js +19 -0
- package/dist/service/observer/event/shared/formatSessionTag/index.d.ts +8 -0
- package/dist/service/observer/event/shared/formatSessionTag/index.js +11 -0
- package/dist/service/observer/event/shared/groupConversations/index.d.ts +14 -0
- package/dist/service/observer/event/shared/groupConversations/index.js +44 -0
- package/dist/service/observer/event/shared/isClosedRecord/index.d.ts +8 -0
- package/dist/service/observer/event/shared/isClosedRecord/index.js +13 -0
- package/dist/service/observer/event/shared/isIsoDateTime/index.d.ts +7 -0
- package/dist/service/observer/event/shared/isIsoDateTime/index.js +18 -0
- package/dist/service/observer/event/shared/judgeConversation/index.d.ts +18 -0
- package/dist/service/observer/event/shared/judgeConversation/index.js +26 -0
- package/dist/service/observer/event/shared/judgeConversation/pickNewestPresence/index.d.ts +10 -0
- package/dist/service/observer/event/shared/judgeConversation/pickNewestPresence/index.js +9 -0
- package/dist/service/observer/event/shared/judgeLiveness/index.d.ts +24 -0
- package/dist/service/observer/event/shared/judgeLiveness/index.js +41 -0
- package/dist/service/observer/event/shared/limits/index.d.ts +15 -0
- package/dist/service/observer/event/shared/limits/index.js +15 -0
- package/dist/service/observer/event/shared/listSessionIds/index.d.ts +9 -0
- package/dist/service/observer/event/shared/listSessionIds/index.js +33 -0
- package/dist/service/observer/event/shared/observerRecord/index.d.ts +23 -0
- package/dist/service/observer/event/shared/observerRecord/index.js +29 -0
- package/dist/service/observer/event/shared/parseSessionTag/index.d.ts +8 -0
- package/dist/service/observer/event/shared/parseSessionTag/index.js +18 -0
- package/dist/service/observer/event/shared/presencePing/index.d.ts +15 -0
- package/dist/service/observer/event/shared/presencePing/index.js +13 -0
- package/dist/service/observer/event/shared/presenceRecord/index.d.ts +36 -0
- package/dist/service/observer/event/shared/presenceRecord/index.js +70 -0
- package/dist/service/observer/event/shared/protocol/index.d.ts +31 -0
- package/dist/service/observer/event/shared/protocol/index.js +30 -0
- package/dist/service/observer/event/shared/readClosingRecord/index.d.ts +15 -0
- package/dist/service/observer/event/shared/readClosingRecord/index.js +50 -0
- package/dist/service/observer/event/shared/readConversationMark/index.d.ts +13 -0
- package/dist/service/observer/event/shared/readConversationMark/index.js +14 -0
- package/dist/service/observer/event/shared/readConversationMark/pickDecidingMark/index.d.ts +10 -0
- package/dist/service/observer/event/shared/readConversationMark/pickDecidingMark/index.js +10 -0
- package/dist/service/observer/event/shared/readEndedMark/index.d.ts +9 -0
- package/dist/service/observer/event/shared/readEndedMark/index.js +24 -0
- package/dist/service/observer/event/shared/readObserverRecord/index.d.ts +11 -0
- package/dist/service/observer/event/shared/readObserverRecord/index.js +26 -0
- package/dist/service/observer/event/shared/readObserverRecord/parseJson/index.d.ts +2 -0
- package/dist/service/observer/event/shared/readObserverRecord/parseJson/index.js +9 -0
- package/dist/service/observer/event/shared/readPresence/index.d.ts +11 -0
- package/dist/service/observer/event/shared/readPresence/index.js +46 -0
- package/dist/service/observer/event/shared/readSessionLog/index.d.ts +13 -0
- package/dist/service/observer/event/shared/readSessionLog/index.js +29 -0
- package/dist/service/observer/event/shared/readSessionLog/parseLines/index.d.ts +14 -0
- package/dist/service/observer/event/shared/readSessionLog/parseLines/index.js +32 -0
- package/dist/service/observer/event/shared/readSessionStart/index.d.ts +8 -0
- package/dist/service/observer/event/shared/readSessionStart/index.js +20 -0
- package/dist/service/observer/event/shared/readTranscriptActivity/index.d.ts +9 -0
- package/dist/service/observer/event/shared/readTranscriptActivity/index.js +18 -0
- package/dist/service/observer/event/shared/schema/index.d.ts +1398 -0
- package/dist/service/observer/event/shared/schema/index.js +218 -0
- package/dist/service/observer/event/shared/writeEndedMark/index.d.ts +12 -0
- package/dist/service/observer/event/shared/writeEndedMark/index.js +26 -0
- package/dist/service/observer/event/touchPresence/index.d.ts +15 -0
- package/dist/service/observer/event/touchPresence/index.js +77 -0
- package/dist/service/observer/event/touchPresence/mergePresence/index.d.ts +19 -0
- package/dist/service/observer/event/touchPresence/mergePresence/index.js +50 -0
- package/dist/service/observer/event/touchPresence/pingObserver/index.d.ts +15 -0
- package/dist/service/observer/event/touchPresence/pingObserver/index.js +63 -0
- package/dist/service/observer/event/touchPresence/shouldRefresh/index.d.ts +17 -0
- package/dist/service/observer/event/touchPresence/shouldRefresh/index.js +25 -0
- package/dist/service/observer/event/touchPresence/writePresence/index.d.ts +12 -0
- package/dist/service/observer/event/touchPresence/writePresence/index.js +20 -0
- package/dist/service/observer/event/types/index.d.ts +217 -0
- package/dist/service/observer/event/types/index.js +1 -0
- package/dist/service/observer/kanban/board/read/index.d.ts +13 -0
- package/dist/service/observer/kanban/board/read/index.js +27 -0
- package/dist/service/observer/kanban/board/read/readColumn/index.d.ts +11 -0
- package/dist/service/observer/kanban/board/read/readColumn/index.js +67 -0
- package/dist/service/observer/kanban/shared/boardHints/index.d.ts +17 -0
- package/dist/service/observer/kanban/shared/boardHints/index.js +17 -0
- package/dist/service/observer/kanban/shared/boardUnavailable/index.d.ts +6 -0
- package/dist/service/observer/kanban/shared/boardUnavailable/index.js +8 -0
- package/dist/service/observer/kanban/shared/columns/index.d.ts +18 -0
- package/dist/service/observer/kanban/shared/columns/index.js +9 -0
- package/dist/service/observer/kanban/shared/isInsideFolder/index.d.ts +8 -0
- package/dist/service/observer/kanban/shared/isInsideFolder/index.js +25 -0
- package/dist/service/observer/kanban/shared/locateBoard/index.d.ts +25 -0
- package/dist/service/observer/kanban/shared/locateBoard/index.js +76 -0
- package/dist/service/observer/kanban/shared/locateBoard/readKanbanFolder/index.d.ts +13 -0
- package/dist/service/observer/kanban/shared/locateBoard/readKanbanFolder/index.js +39 -0
- package/dist/service/observer/kanban/shared/namesSlug/index.d.ts +8 -0
- package/dist/service/observer/kanban/shared/namesSlug/index.js +13 -0
- package/dist/service/observer/kanban/shared/parseTaskNote/index.d.ts +11 -0
- package/dist/service/observer/kanban/shared/parseTaskNote/index.js +63 -0
- package/dist/service/observer/kanban/shared/readSessionKanban/index.d.ts +7 -0
- package/dist/service/observer/kanban/shared/readSessionKanban/index.js +22 -0
- package/dist/service/observer/kanban/task/read/findTaskFile/index.d.ts +22 -0
- package/dist/service/observer/kanban/task/read/findTaskFile/index.js +34 -0
- package/dist/service/observer/kanban/task/read/index.d.ts +13 -0
- package/dist/service/observer/kanban/task/read/index.js +42 -0
- package/dist/service/observer/kanban/types/index.d.ts +95 -0
- package/dist/service/observer/kanban/types/index.js +1 -0
- package/dist/service/observer/status/buildHistory/formatDuration/index.d.ts +6 -0
- package/dist/service/observer/status/buildHistory/formatDuration/index.js +15 -0
- package/dist/service/observer/status/buildHistory/index.d.ts +10 -0
- package/dist/service/observer/status/buildHistory/index.js +68 -0
- package/dist/service/observer/status/buildHistory/labelEvent/index.d.ts +12 -0
- package/dist/service/observer/status/buildHistory/labelEvent/index.js +78 -0
- package/dist/service/observer/status/buildModuleNodes/classifyTreeFile/index.d.ts +8 -0
- package/dist/service/observer/status/buildModuleNodes/classifyTreeFile/index.js +25 -0
- package/dist/service/observer/status/buildModuleNodes/findParentFolder/index.d.ts +9 -0
- package/dist/service/observer/status/buildModuleNodes/findParentFolder/index.js +20 -0
- package/dist/service/observer/status/buildModuleNodes/index.d.ts +9 -0
- package/dist/service/observer/status/buildModuleNodes/index.js +49 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/countPlanSteps/index.d.ts +10 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/countPlanSteps/index.js +38 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/index.d.ts +12 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/index.js +73 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/workStatuses/index.d.ts +11 -0
- package/dist/service/observer/status/buildModuleNodes/readTreeFile/workStatuses/index.js +7 -0
- package/dist/service/observer/status/buildRails/collectPipelineEvents/index.d.ts +15 -0
- package/dist/service/observer/status/buildRails/collectPipelineEvents/index.js +44 -0
- package/dist/service/observer/status/buildRails/index.d.ts +18 -0
- package/dist/service/observer/status/buildRails/index.js +62 -0
- package/dist/service/observer/status/buildRails/isOutside/index.d.ts +11 -0
- package/dist/service/observer/status/buildRails/isOutside/index.js +13 -0
- package/dist/service/observer/status/buildRails/judgeStage/index.d.ts +18 -0
- package/dist/service/observer/status/buildRails/judgeStage/index.js +40 -0
- package/dist/service/observer/status/findRunningWork/index.d.ts +18 -0
- package/dist/service/observer/status/findRunningWork/index.js +73 -0
- package/dist/service/observer/status/findWaitingFiles/index.d.ts +15 -0
- package/dist/service/observer/status/findWaitingFiles/index.js +80 -0
- package/dist/service/observer/status/foldSessions/index.d.ts +12 -0
- package/dist/service/observer/status/foldSessions/index.js +54 -0
- package/dist/service/observer/status/index.d.ts +14 -0
- package/dist/service/observer/status/index.js +84 -0
- package/dist/service/observer/status/listWorkFiles/index.d.ts +8 -0
- package/dist/service/observer/status/listWorkFiles/index.js +18 -0
- package/dist/service/observer/status/readSessionRecord/index.d.ts +9 -0
- package/dist/service/observer/status/readSessionRecord/index.js +58 -0
- package/dist/service/observer/status/shared/findCurrentPipeline/index.d.ts +18 -0
- package/dist/service/observer/status/shared/findCurrentPipeline/index.js +29 -0
- package/dist/service/observer/status/shared/findOpenPhase/index.d.ts +24 -0
- package/dist/service/observer/status/shared/findOpenPhase/index.js +47 -0
- package/dist/service/observer/status/shared/normalizeProjectPath/index.d.ts +10 -0
- package/dist/service/observer/status/shared/normalizeProjectPath/index.js +17 -0
- package/dist/service/observer/status/shared/phaseLabels/index.d.ts +19 -0
- package/dist/service/observer/status/shared/phaseLabels/index.js +19 -0
- package/dist/service/observer/status/shared/toNodeFolder/index.d.ts +6 -0
- package/dist/service/observer/status/shared/toNodeFolder/index.js +13 -0
- package/dist/service/observer/status/types/index.d.ts +240 -0
- package/dist/service/observer/status/types/index.js +1 -0
- package/dist/service/parseBrainAide/extractMarkerSections/findStructuralFault/index.d.ts +15 -0
- package/dist/service/parseBrainAide/extractMarkerSections/findStructuralFault/index.js +58 -0
- package/dist/service/parseBrainAide/extractMarkerSections/findUnknownMarker/index.d.ts +17 -0
- package/dist/service/parseBrainAide/extractMarkerSections/findUnknownMarker/index.js +52 -0
- package/dist/service/parseBrainAide/extractMarkerSections/index.d.ts +18 -0
- package/dist/service/parseBrainAide/extractMarkerSections/index.js +35 -0
- package/dist/service/parseBrainAide/extractMarkerSections/locateMarkers/index.d.ts +9 -0
- package/dist/service/parseBrainAide/extractMarkerSections/locateMarkers/index.js +30 -0
- package/dist/service/parseBrainAide/extractMarkerSections/slicePresentSections/index.d.ts +18 -0
- package/dist/service/parseBrainAide/extractMarkerSections/slicePresentSections/index.js +24 -0
- package/dist/service/parseBrainAide/extractMarkerSections/sliceSections/index.d.ts +12 -0
- package/dist/service/parseBrainAide/extractMarkerSections/sliceSections/index.js +19 -0
- package/dist/service/parseBrainAide/index.d.ts +113 -0
- package/dist/service/parseBrainAide/index.js +248 -0
- package/dist/service/parseBrainAide/parseKanbanField/index.d.ts +21 -0
- package/dist/service/parseBrainAide/parseKanbanField/index.js +56 -0
- package/dist/startServer/index.d.ts +7 -0
- package/dist/startServer/index.js +459 -0
- package/dist/tools/brain/composeOutdatedRemediation/index.d.ts +12 -0
- package/dist/tools/brain/composeOutdatedRemediation/index.js +24 -0
- package/dist/tools/brain/index.d.ts +94 -0
- package/dist/tools/brain/index.js +113 -0
- package/dist/tools/brain/listContract/index.d.ts +10 -0
- package/dist/tools/brain/listContract/index.js +14 -0
- package/dist/tools/brain/readTemplateSection/index.d.ts +17 -0
- package/dist/tools/brain/readTemplateSection/index.js +26 -0
- package/dist/tools/brain/readTemplateSection/readTemplateLauncher/index.d.ts +11 -0
- package/dist/tools/brain/readTemplateSection/readTemplateLauncher/index.js +22 -0
- package/dist/tools/brain/sectionPurpose/index.d.ts +10 -0
- package/dist/tools/brain/sectionPurpose/index.js +15 -0
- package/dist/tools/brain/selectSection/index.d.ts +14 -0
- package/dist/tools/brain/selectSection/index.js +19 -0
- package/dist/tools/brain/validateDraft/composeDraftVerdict/index.d.ts +11 -0
- package/dist/tools/brain/validateDraft/composeDraftVerdict/index.js +22 -0
- package/dist/tools/brain/validateDraft/index.d.ts +13 -0
- package/dist/tools/brain/validateDraft/index.js +43 -0
- package/dist/tools/brain/validateDraft/readDraft/index.d.ts +19 -0
- package/dist/tools/brain/validateDraft/readDraft/index.js +19 -0
- package/dist/tools/brain/validateDraft/resolveDraftPath/index.d.ts +21 -0
- package/dist/tools/brain/validateDraft/resolveDraftPath/index.js +34 -0
- package/dist/tools/cleanup/checkPreconditions/index.d.ts +20 -0
- package/dist/tools/cleanup/checkPreconditions/index.js +94 -0
- package/dist/tools/cleanup/formatReport/index.d.ts +12 -0
- package/dist/tools/cleanup/formatReport/index.js +94 -0
- package/dist/tools/cleanup/index.d.ts +25 -0
- package/dist/tools/cleanup/index.js +53 -0
- package/dist/tools/cleanup/judgeEphemeral/index.d.ts +37 -0
- package/dist/tools/cleanup/judgeEphemeral/index.js +47 -0
- package/dist/tools/cleanup/locateEphemerals/index.d.ts +16 -0
- package/dist/tools/cleanup/locateEphemerals/index.js +27 -0
- package/dist/tools/cleanup/removeEphemerals/index.d.ts +19 -0
- package/dist/tools/cleanup/removeEphemerals/index.js +27 -0
- package/dist/tools/cleanup/resolveModule/index.d.ts +20 -0
- package/dist/tools/cleanup/resolveModule/index.js +35 -0
- package/dist/tools/discover/buildAncestorChain/index.d.ts +22 -0
- package/dist/tools/discover/buildAncestorChain/index.js +108 -0
- package/dist/tools/discover/buildTree/index.d.ts +10 -0
- package/dist/tools/discover/buildTree/index.js +64 -0
- package/dist/tools/discover/index.d.ts +21 -0
- package/dist/tools/discover/index.js +50 -0
- package/dist/tools/frontmatter/checkCompletion/index.d.ts +13 -0
- package/dist/tools/frontmatter/checkCompletion/index.js +51 -0
- package/dist/tools/frontmatter/checkTransition/index.d.ts +21 -0
- package/dist/tools/frontmatter/checkTransition/index.js +34 -0
- package/dist/tools/frontmatter/classifyAideFile/index.d.ts +8 -0
- package/dist/tools/frontmatter/classifyAideFile/index.js +25 -0
- package/dist/tools/frontmatter/formatResult/index.d.ts +11 -0
- package/dist/tools/frontmatter/formatResult/index.js +104 -0
- package/dist/tools/frontmatter/governedFields/index.d.ts +31 -0
- package/dist/tools/frontmatter/governedFields/index.js +31 -0
- package/dist/tools/frontmatter/index.d.ts +27 -0
- package/dist/tools/frontmatter/index.js +163 -0
- package/dist/tools/frontmatter/readGovernedValue/index.d.ts +16 -0
- package/dist/tools/frontmatter/readGovernedValue/index.js +159 -0
- package/dist/tools/frontmatter/resolveTarget/index.d.ts +23 -0
- package/dist/tools/frontmatter/resolveTarget/index.js +30 -0
- package/dist/tools/frontmatter/rewriteFieldLine/index.d.ts +18 -0
- package/dist/tools/frontmatter/rewriteFieldLine/index.js +16 -0
- package/dist/tools/frontmatter/types/index.d.ts +134 -0
- package/dist/tools/frontmatter/types/index.js +1 -0
- package/dist/tools/info/index.d.ts +40 -0
- package/dist/tools/info/index.js +60 -0
- package/dist/tools/info/resolveBehind/fetchPublishedVersions/index.d.ts +10 -0
- package/dist/tools/info/resolveBehind/fetchPublishedVersions/index.js +34 -0
- package/dist/tools/info/resolveBehind/index.d.ts +12 -0
- package/dist/tools/info/resolveBehind/index.js +44 -0
- package/dist/tools/info/resolveBehind/listSkippedVersions/index.d.ts +7 -0
- package/dist/tools/info/resolveBehind/listSkippedVersions/index.js +21 -0
- package/dist/tools/info/resolveBehind/readAideLaunchMode/index.d.ts +8 -0
- package/dist/tools/info/resolveBehind/readAideLaunchMode/index.js +24 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/fetchChangelog/index.d.ts +9 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/fetchChangelog/index.js +23 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/index.d.ts +7 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/index.js +16 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/index.d.ts +7 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/index.js +21 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/readReleaseBullets/index.d.ts +9 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/readReleaseBullets/index.js +50 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/toOneLine/index.d.ts +6 -0
- package/dist/tools/info/resolveBehind/resolveHighlights/pickHighlights/toOneLine/index.js +24 -0
- package/dist/tools/info/resolveOutdated/detectStaleHooks/index.d.ts +17 -0
- package/dist/tools/info/resolveOutdated/detectStaleHooks/index.js +28 -0
- package/dist/tools/info/resolveOutdated/index.d.ts +13 -0
- package/dist/tools/info/resolveOutdated/index.js +18 -0
- package/dist/tools/info/resolveOutdated/listStaleFiles/index.d.ts +7 -0
- package/dist/tools/info/resolveOutdated/listStaleFiles/index.js +30 -0
- package/dist/tools/inspect/index.d.ts +24 -0
- package/dist/tools/inspect/index.js +47 -0
- package/dist/tools/inspect/parseSymbols/index.d.ts +21 -0
- package/dist/tools/inspect/parseSymbols/index.js +213 -0
- package/dist/tools/inspect/walk/index.d.ts +8 -0
- package/dist/tools/inspect/walk/index.js +31 -0
- package/dist/tools/observer/endSession/formatReply/index.d.ts +9 -0
- package/dist/tools/observer/endSession/formatReply/index.js +23 -0
- package/dist/tools/observer/endSession/index.d.ts +21 -0
- package/dist/tools/observer/endSession/index.js +31 -0
- package/dist/tools/observer/endSession/types/index.d.ts +10 -0
- package/dist/tools/observer/endSession/types/index.js +1 -0
- package/dist/tools/observer/event/formatReply/index.d.ts +10 -0
- package/dist/tools/observer/event/formatReply/index.js +28 -0
- package/dist/tools/observer/event/index.d.ts +9 -0
- package/dist/tools/observer/event/index.js +11 -0
- package/dist/tools/observer/shared/tryBind/index.d.ts +13 -0
- package/dist/tools/observer/shared/tryBind/index.js +31 -0
- package/dist/tools/observer/start/awaitObserver/index.d.ts +16 -0
- package/dist/tools/observer/start/awaitObserver/index.js +75 -0
- package/dist/tools/observer/start/awaitOwnLink/index.d.ts +12 -0
- package/dist/tools/observer/start/awaitOwnLink/index.js +24 -0
- package/dist/tools/observer/start/checkProject/index.d.ts +18 -0
- package/dist/tools/observer/start/checkProject/index.js +45 -0
- package/dist/tools/observer/start/findOpenSessions/index.d.ts +18 -0
- package/dist/tools/observer/start/findOpenSessions/index.js +53 -0
- package/dist/tools/observer/start/formatReply/describeOpenSession/index.d.ts +7 -0
- package/dist/tools/observer/start/formatReply/describeOpenSession/index.js +13 -0
- package/dist/tools/observer/start/formatReply/index.d.ts +6 -0
- package/dist/tools/observer/start/formatReply/index.js +43 -0
- package/dist/tools/observer/start/index.d.ts +27 -0
- package/dist/tools/observer/start/index.js +87 -0
- package/dist/tools/observer/start/launchObserver/index.d.ts +17 -0
- package/dist/tools/observer/start/launchObserver/index.js +23 -0
- package/dist/tools/observer/start/markClosedSessions/index.d.ts +16 -0
- package/dist/tools/observer/start/markClosedSessions/index.js +49 -0
- package/dist/tools/observer/start/moveLegacyHistory/index.d.ts +10 -0
- package/dist/tools/observer/start/moveLegacyHistory/index.js +26 -0
- package/dist/tools/observer/start/types/index.d.ts +82 -0
- package/dist/tools/observer/start/types/index.js +1 -0
- package/dist/tools/observer/start/walkPorts/index.d.ts +15 -0
- package/dist/tools/observer/start/walkPorts/index.js +17 -0
- package/dist/tools/read/index.d.ts +15 -0
- package/dist/tools/read/index.js +79 -0
- package/dist/tools/scaffold/hasIntentSpec/index.d.ts +7 -0
- package/dist/tools/scaffold/hasIntentSpec/index.js +9 -0
- package/dist/tools/scaffold/index.d.ts +33 -0
- package/dist/tools/scaffold/index.js +216 -0
- package/dist/tools/scaffold/placeRootIntent/index.d.ts +17 -0
- package/dist/tools/scaffold/placeRootIntent/index.js +24 -0
- package/dist/tools/scaffold/resolveSpecFolder/index.d.ts +17 -0
- package/dist/tools/scaffold/resolveSpecFolder/index.js +21 -0
- package/dist/tools/scaffold/sessionTemplate/index.d.ts +9 -0
- package/dist/tools/scaffold/sessionTemplate/index.js +40 -0
- package/dist/tools/scaffold/writeIfAbsent/index.d.ts +10 -0
- package/dist/tools/scaffold/writeIfAbsent/index.js +21 -0
- package/dist/tools/upgrade/applyFiles/index.d.ts +49 -0
- package/dist/tools/upgrade/applyFiles/index.js +91 -0
- package/dist/tools/upgrade/applyFiles/movePin/changesOnlyThePin/index.d.ts +11 -0
- package/dist/tools/upgrade/applyFiles/movePin/changesOnlyThePin/index.js +23 -0
- package/dist/tools/upgrade/applyFiles/movePin/index.d.ts +14 -0
- package/dist/tools/upgrade/applyFiles/movePin/index.js +56 -0
- package/dist/tools/upgrade/applyFiles/movePin/locatePinToken/index.d.ts +16 -0
- package/dist/tools/upgrade/applyFiles/movePin/locatePinToken/index.js +30 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/changesOnlyTheLaunch/index.d.ts +12 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/changesOnlyTheLaunch/index.js +27 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/index.d.ts +16 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/index.js +78 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/locateLaunchTokens/index.d.ts +21 -0
- package/dist/tools/upgrade/applyFiles/switchToGlobal/locateLaunchTokens/index.js +36 -0
- package/dist/tools/upgrade/brainCategory/applyChange/index.d.ts +21 -0
- package/dist/tools/upgrade/brainCategory/applyChange/index.js +64 -0
- package/dist/tools/upgrade/brainCategory/applyChange/yieldsExpectedConfig/index.d.ts +12 -0
- package/dist/tools/upgrade/brainCategory/applyChange/yieldsExpectedConfig/index.js +25 -0
- package/dist/tools/upgrade/brainCategory/index.d.ts +19 -0
- package/dist/tools/upgrade/brainCategory/index.js +28 -0
- package/dist/tools/upgrade/brainCategory/insertMissingSections/index.d.ts +15 -0
- package/dist/tools/upgrade/brainCategory/insertMissingSections/index.js +62 -0
- package/dist/tools/upgrade/brainCategory/insertMissingSections/spliceRepairs/index.d.ts +25 -0
- package/dist/tools/upgrade/brainCategory/insertMissingSections/spliceRepairs/index.js +36 -0
- package/dist/tools/upgrade/brainCategory/previewChange/index.d.ts +16 -0
- package/dist/tools/upgrade/brainCategory/previewChange/index.js +61 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/index.d.ts +20 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/index.js +54 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/index.d.ts +19 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/index.js +61 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/locateArgLines/index.d.ts +11 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/locateArgLines/index.js +49 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/renderArgLine/index.d.ts +6 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherArgs/renderArgLine/index.js +8 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherCommand/index.d.ts +13 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildLauncherOffer/rewriteLauncherCommand/index.js +27 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildSectionOffer/index.d.ts +19 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/buildSectionOffer/index.js +58 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/index.d.ts +13 -0
- package/dist/tools/upgrade/brainCategory/shared/buildChangeOffer/index.js +19 -0
- package/dist/tools/upgrade/brainCategory/shared/changedSinceDiff/index.d.ts +3 -0
- package/dist/tools/upgrade/brainCategory/shared/changedSinceDiff/index.js +4 -0
- package/dist/tools/upgrade/brainCategory/shared/detectLineEnding/index.d.ts +6 -0
- package/dist/tools/upgrade/brainCategory/shared/detectLineEnding/index.js +9 -0
- package/dist/tools/upgrade/brainCategory/shared/hashBytes/index.d.ts +7 -0
- package/dist/tools/upgrade/brainCategory/shared/hashBytes/index.js +10 -0
- package/dist/tools/upgrade/brainCategory/shared/invalidResultInstructions/index.d.ts +5 -0
- package/dist/tools/upgrade/brainCategory/shared/invalidResultInstructions/index.js +7 -0
- package/dist/tools/upgrade/brainCategory/shared/locateFrontmatter/index.d.ts +19 -0
- package/dist/tools/upgrade/brainCategory/shared/locateFrontmatter/index.js +27 -0
- package/dist/tools/upgrade/brainCategory/shared/locateSection/index.d.ts +16 -0
- package/dist/tools/upgrade/brainCategory/shared/locateSection/index.js +19 -0
- package/dist/tools/upgrade/brainCategory/shared/readBrainConfig/index.d.ts +12 -0
- package/dist/tools/upgrade/brainCategory/shared/readBrainConfig/index.js +22 -0
- package/dist/tools/upgrade/brainCategory/shared/readChangeBefore/index.d.ts +13 -0
- package/dist/tools/upgrade/brainCategory/shared/readChangeBefore/index.js +17 -0
- package/dist/tools/upgrade/brainCategory/shared/refuseUnusableConfig/index.d.ts +13 -0
- package/dist/tools/upgrade/brainCategory/shared/refuseUnusableConfig/index.js +30 -0
- package/dist/tools/upgrade/brainCategory/shared/toLineEnding/index.d.ts +9 -0
- package/dist/tools/upgrade/brainCategory/shared/toLineEnding/index.js +8 -0
- package/dist/tools/upgrade/buildVersionsMeta/assertFullClone/index.d.ts +14 -0
- package/dist/tools/upgrade/buildVersionsMeta/assertFullClone/index.js +27 -0
- package/dist/tools/upgrade/buildVersionsMeta/enumerateArtifacts/index.d.ts +23 -0
- package/dist/tools/upgrade/buildVersionsMeta/enumerateArtifacts/index.js +62 -0
- package/dist/tools/upgrade/buildVersionsMeta/index.d.ts +17 -0
- package/dist/tools/upgrade/buildVersionsMeta/index.js +26 -0
- package/dist/tools/upgrade/checkBrainConfig/index.d.ts +29 -0
- package/dist/tools/upgrade/checkBrainConfig/index.js +67 -0
- package/dist/tools/upgrade/checkHooksConfig/index.d.ts +30 -0
- package/dist/tools/upgrade/checkHooksConfig/index.js +72 -0
- package/dist/tools/upgrade/checkIdeConfig/index.d.ts +24 -0
- package/dist/tools/upgrade/checkIdeConfig/index.js +134 -0
- package/dist/tools/upgrade/checkMcpConfig/index.d.ts +37 -0
- package/dist/tools/upgrade/checkMcpConfig/index.js +172 -0
- package/dist/tools/upgrade/checkMcpConfig/isCanonicalGlobalAideEntry/index.d.ts +10 -0
- package/dist/tools/upgrade/checkMcpConfig/isCanonicalGlobalAideEntry/index.js +17 -0
- package/dist/tools/upgrade/checkMcpConfig/isPinBehind/index.d.ts +9 -0
- package/dist/tools/upgrade/checkMcpConfig/isPinBehind/index.js +18 -0
- package/dist/tools/upgrade/checkReference/index.d.ts +12 -0
- package/dist/tools/upgrade/checkReference/index.js +28 -0
- package/dist/tools/upgrade/compareFile/index.d.ts +12 -0
- package/dist/tools/upgrade/compareFile/index.js +24 -0
- package/dist/tools/upgrade/index.d.ts +51 -0
- package/dist/tools/upgrade/index.js +216 -0
- package/dist/tools/upgrade/resolveProjectRoot/index.d.ts +7 -0
- package/dist/tools/upgrade/resolveProjectRoot/index.js +12 -0
- package/dist/tools/upgrade/shared/readAidePin/index.d.ts +9 -0
- package/dist/tools/upgrade/shared/readAidePin/index.js +24 -0
- package/dist/tools/upgrade/spliceStub/index.d.ts +13 -0
- package/dist/tools/upgrade/spliceStub/index.js +91 -0
- package/dist/tools/validate/checkAlignment/index.d.ts +15 -0
- package/dist/tools/validate/checkAlignment/index.js +42 -0
- package/dist/tools/validate/checkPlanSpec/index.d.ts +9 -0
- package/dist/tools/validate/checkPlanSpec/index.js +27 -0
- package/dist/tools/validate/index.d.ts +20 -0
- package/dist/tools/validate/index.js +91 -0
- package/dist/types/index.d.ts +1366 -0
- package/dist/types/index.js +1 -0
- package/dist/util/baseName/index.d.ts +6 -0
- package/dist/util/baseName/index.js +9 -0
- package/dist/util/buildTreeData/index.d.ts +7 -0
- package/dist/util/buildTreeData/index.js +51 -0
- package/dist/util/checkboxPattern/index.d.ts +9 -0
- package/dist/util/checkboxPattern/index.js +9 -0
- package/dist/util/classify/holdsCode/index.d.ts +6 -0
- package/dist/util/classify/holdsCode/index.js +31 -0
- package/dist/util/classify/holdsCode/isCodeFile/index.d.ts +2 -0
- package/dist/util/classify/holdsCode/isCodeFile/index.js +11 -0
- package/dist/util/classify/index.d.ts +17 -0
- package/dist/util/classify/index.js +163 -0
- package/dist/util/countCheckboxes/index.d.ts +16 -0
- package/dist/util/countCheckboxes/index.js +29 -0
- package/dist/util/describeError/index.d.ts +7 -0
- package/dist/util/describeError/index.js +7 -0
- package/dist/util/firstLine/index.d.ts +10 -0
- package/dist/util/firstLine/index.js +17 -0
- package/dist/util/isProcessRunning/index.d.ts +10 -0
- package/dist/util/isProcessRunning/index.js +22 -0
- package/dist/util/isVersionBehind/index.d.ts +6 -0
- package/dist/util/isVersionBehind/index.js +23 -0
- package/dist/util/parseBody/index.d.ts +7 -0
- package/dist/util/parseBody/index.js +43 -0
- package/dist/util/parseFrontmatter/index.d.ts +14 -0
- package/dist/util/parseFrontmatter/index.js +66 -0
- package/dist/util/readPackageVersion/index.d.ts +6 -0
- package/dist/util/readPackageVersion/index.js +24 -0
- package/dist/util/runtimePaths/create/index.d.ts +11 -0
- package/dist/util/runtimePaths/create/index.js +17 -0
- package/dist/util/runtimePaths/createRoot/index.d.ts +7 -0
- package/dist/util/runtimePaths/createRoot/index.js +13 -0
- package/dist/util/runtimePaths/isProjectKey/index.d.ts +7 -0
- package/dist/util/runtimePaths/isProjectKey/index.js +18 -0
- package/dist/util/runtimePaths/listProjectFolders/index.d.ts +10 -0
- package/dist/util/runtimePaths/listProjectFolders/index.js +28 -0
- package/dist/util/runtimePaths/moveLegacyRoot/compareFiles/index.d.ts +11 -0
- package/dist/util/runtimePaths/moveLegacyRoot/compareFiles/index.js +27 -0
- package/dist/util/runtimePaths/moveLegacyRoot/index.d.ts +13 -0
- package/dist/util/runtimePaths/moveLegacyRoot/index.js +85 -0
- package/dist/util/runtimePaths/moveLegacyRoot/moveLog/index.d.ts +15 -0
- package/dist/util/runtimePaths/moveLegacyRoot/moveLog/index.js +47 -0
- package/dist/util/runtimePaths/moveLegacyRoot/moveRecord/index.d.ts +13 -0
- package/dist/util/runtimePaths/moveLegacyRoot/moveRecord/index.js +29 -0
- package/dist/util/runtimePaths/moveLegacyRoot/publishCopy/index.d.ts +13 -0
- package/dist/util/runtimePaths/moveLegacyRoot/publishCopy/index.js +38 -0
- package/dist/util/runtimePaths/moveLegacyRoot/removeEmptyFolders/index.d.ts +8 -0
- package/dist/util/runtimePaths/moveLegacyRoot/removeEmptyFolders/index.js +11 -0
- package/dist/util/runtimePaths/moveLegacyRoot/resolveLegacyRoot/index.d.ts +9 -0
- package/dist/util/runtimePaths/moveLegacyRoot/resolveLegacyRoot/index.js +23 -0
- package/dist/util/runtimePaths/moveLegacyRoot/shared/isGone/index.d.ts +4 -0
- package/dist/util/runtimePaths/moveLegacyRoot/shared/isGone/index.js +9 -0
- package/dist/util/runtimePaths/moveLegacyRoot/shared/unlinkIfPresent/index.d.ts +4 -0
- package/dist/util/runtimePaths/moveLegacyRoot/shared/unlinkIfPresent/index.js +8 -0
- package/dist/util/runtimePaths/resolve/index.d.ts +9 -0
- package/dist/util/runtimePaths/resolve/index.js +31 -0
- package/dist/util/runtimePaths/resolve/nameProjectFolder/index.d.ts +10 -0
- package/dist/util/runtimePaths/resolve/nameProjectFolder/index.js +23 -0
- package/dist/util/runtimePaths/resolveArchivedLog/index.d.ts +9 -0
- package/dist/util/runtimePaths/resolveArchivedLog/index.js +19 -0
- package/dist/util/runtimePaths/resolveEndedMark/index.d.ts +11 -0
- package/dist/util/runtimePaths/resolveEndedMark/index.js +21 -0
- package/dist/util/runtimePaths/resolveEventLog/index.d.ts +10 -0
- package/dist/util/runtimePaths/resolveEventLog/index.js +20 -0
- package/dist/util/runtimePaths/resolvePresenceFile/index.d.ts +11 -0
- package/dist/util/runtimePaths/resolvePresenceFile/index.js +21 -0
- package/dist/util/runtimePaths/resolveRoot/index.d.ts +8 -0
- package/dist/util/runtimePaths/resolveRoot/index.js +13 -0
- package/dist/util/runtimePaths/resolveSessionLog/index.d.ts +11 -0
- package/dist/util/runtimePaths/resolveSessionLog/index.js +21 -0
- package/dist/util/runtimePaths/shared/isSessionId/index.d.ts +8 -0
- package/dist/util/runtimePaths/shared/isSessionId/index.js +10 -0
- package/dist/util/runtimePaths/shared/pickPathModule/index.d.ts +8 -0
- package/dist/util/runtimePaths/shared/pickPathModule/index.js +11 -0
- package/dist/util/runtimePaths/shared/projectKeyHash/index.d.ts +7 -0
- package/dist/util/runtimePaths/shared/projectKeyHash/index.js +7 -0
- package/dist/util/runtimePaths/shared/resolveAppDataRoot/index.d.ts +12 -0
- package/dist/util/runtimePaths/shared/resolveAppDataRoot/index.js +32 -0
- package/dist/util/runtimePaths/shared/runtimeNames/index.d.ts +20 -0
- package/dist/util/runtimePaths/shared/runtimeNames/index.js +20 -0
- package/dist/util/runtimePaths/types/index.d.ts +55 -0
- package/dist/util/runtimePaths/types/index.js +1 -0
- package/dist/util/scan/index.d.ts +12 -0
- package/dist/util/scan/index.js +228 -0
- package/dist/util/sessionQuietLimit/index.d.ts +9 -0
- package/dist/util/sessionQuietLimit/index.js +9 -0
- package/dist/util/skipDirs/index.d.ts +7 -0
- package/dist/util/skipDirs/index.js +15 -0
- package/dist/util/timeUnits/index.d.ts +15 -0
- package/dist/util/timeUnits/index.js +15 -0
- package/dist/versions.json +330 -0
- package/package.json +83 -5
|
@@ -0,0 +1,557 @@
|
|
|
1
|
+
import kanbanIndexSeed from "./kanbanSeeds/hub/index.js";
|
|
2
|
+
import kanbanCreateSeed from "./kanbanSeeds/guide/create/index.js";
|
|
3
|
+
import kanbanWorkSeed from "./kanbanSeeds/guide/work/index.js";
|
|
4
|
+
import kanbanManageSeed from "./kanbanSeeds/guide/manage/index.js";
|
|
5
|
+
import kanbanMoveSeed from "./kanbanSeeds/guide/move/index.js";
|
|
6
|
+
import kanbanCompleteSeed from "./kanbanSeeds/guide/complete/index.js";
|
|
7
|
+
import kanbanStashSeed from "./kanbanSeeds/guide/stash/index.js";
|
|
8
|
+
import kanbanReviewSeed from "./kanbanSeeds/guide/review/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* The brain package (`@bitbonsai/mcpvault`) version legacy-launcher detection compares an
|
|
11
|
+
* npx launcher's pin against, and the version the config prose names. Bumped by hand after
|
|
12
|
+
* a new release is verified (brief #19).
|
|
13
|
+
*/
|
|
14
|
+
export const MCPVAULT_VERSION = "0.16.0";
|
|
15
|
+
/** The brain package name migration detection judges a launcher's npx package spec against. */
|
|
16
|
+
export const MCPVAULT_PACKAGE = "@bitbonsai/mcpvault";
|
|
17
|
+
/** The global command name migration detection recognises as the template's global launcher. */
|
|
18
|
+
export const MCPVAULT_COMMAND = "mcpvault";
|
|
19
|
+
/**
|
|
20
|
+
* Returns the complete canonical bundled `brain.aide` file content as a string,
|
|
21
|
+
* ready to write to disk at `.aide/config/brain.aide` in the host project root.
|
|
22
|
+
*
|
|
23
|
+
* The path slot in `mcpServerConfig.args` is always YAML null
|
|
24
|
+
* in the emitted output — the structural unwired-slot signal carried by the typed
|
|
25
|
+
* `(string | null)[]` schema. The agent fills the null slot with the user's real
|
|
26
|
+
* path via `/aide:brain config`, then runs sync; sync writes the wired entry to
|
|
27
|
+
* `.mcp.json` and refuses to write null-bearing args. The integration's
|
|
28
|
+
* `<!-- aide-config-start -->` body section carries the full wiring flow prose,
|
|
29
|
+
* including the post-sync seeding step, which reads the published section
|
|
30
|
+
* contract instead of restating a list of artifacts.
|
|
31
|
+
*
|
|
32
|
+
* The returned string has fourteen body sections. The authoritative list, order and
|
|
33
|
+
* per-section roles are owned by `@/service/brainContract`; the parser enforces
|
|
34
|
+
* it and this template must carry a block for every entry. By role:
|
|
35
|
+
*
|
|
36
|
+
* - **Live sections** are read at runtime from the brain config and never written
|
|
37
|
+
* into the brain. `orientation` is the agent-facing briefing `aide_brain` returns
|
|
38
|
+
* (tools to reach the brain, entry points to start from, and a pointer to the
|
|
39
|
+
* per-project task folders and the kanban index that links its guides). `config` is the Obsidian wiring and seeding flow
|
|
40
|
+
* `/aide:brain config` runs. Both are user-editable post-scaffold.
|
|
41
|
+
*
|
|
42
|
+
* - **Seed sections** are install-time bytes written into the user's brain at
|
|
43
|
+
* their contract `seedPath`, once, when absent. All are user-editable
|
|
44
|
+
* post-scaffold:
|
|
45
|
+
* - the coding-playbook index, the study-playbook navigation methodology, the
|
|
46
|
+
* update-playbook maintenance methodology (backend-agnostic: no MCP tool
|
|
47
|
+
* names) and the research index;
|
|
48
|
+
* - `kanban-index` and the seven operation guides (`kanban-create`,
|
|
49
|
+
* `kanban-work`, `kanban-manage`, `kanban-move`, `kanban-complete`,
|
|
50
|
+
* `kanban-stash`, `kanban-review`): an exact, lossless split of the user's
|
|
51
|
+
* working kanban guide into a short index (task folders, tasks, project, cleanup rules, how to
|
|
52
|
+
* reach the tasks) and one guide per operation. They are Obsidian-specific by
|
|
53
|
+
* design (wiki links, the `Related:` line, the
|
|
54
|
+
* `mcp__brain__*` tool table) and carry frontmatter. Their text lives in
|
|
55
|
+
* `kanbanSeeds/hub` and `kanbanSeeds/guide/<operation>`; the marker lines stay
|
|
56
|
+
* here, and each section parses to `"\n\n" + seed + "\n"`.
|
|
57
|
+
*
|
|
58
|
+
* Load-bearing constraints:
|
|
59
|
+
* - Frontmatter is `name`, `mcpServerConfig` and the optional board location `kanban`
|
|
60
|
+
* (`source: folder`, `path` left as YAML null — the unwired signal — until the `config`
|
|
61
|
+
* flow fills it with the vault's kanban folder; observer brief commitment 112).
|
|
62
|
+
* Non-folder backends omit `kanban`. Never derive it from the launcher's arguments in code.
|
|
63
|
+
* - The launcher is the global `mcpvault` command on every platform: `command: mcpvault`,
|
|
64
|
+
* `args` parses to `[null]`. No platform branching and no launch mode. The path slot in
|
|
65
|
+
* `mcpServerConfig.args` is a bare-dash YAML null line: no quoted empty string, no
|
|
66
|
+
* literal-string sentinel, no `${...}` interpolation at the unwired slot. The user fills
|
|
67
|
+
* the slot via `/aide:brain config`.
|
|
68
|
+
* - Heading levels: the playbook-index and study-playbook sections use `## ` for
|
|
69
|
+
* top-level sub-sections under their `# ` title, since these sections are seeded
|
|
70
|
+
* into standalone files where `## ` is the natural sub-heading level. The
|
|
71
|
+
* update-playbook section uses `## ` sub-sections under `# Update Playbook`.
|
|
72
|
+
* The research-index section keeps `### ` only (its top-level structure is shallow).
|
|
73
|
+
* The kanban index and each operation guide use `## ` under their `# ` title
|
|
74
|
+
* (the board's `## ` lines are its column headings). The orientation and config
|
|
75
|
+
* sections have no headings.
|
|
76
|
+
* - Retired marker names (`aide-prose-*`, `aide-playbook-*` without `-index`,
|
|
77
|
+
* `aide-research-*` without `-index`) are gone. The parser treats them as plain
|
|
78
|
+
* bytes and returns `malformed-body` (missing markers) for any brain.aide that
|
|
79
|
+
* still uses the old four-section grammar.
|
|
80
|
+
*/
|
|
81
|
+
export default function obsidianBrainAideTemplate() {
|
|
82
|
+
const mcpServerConfig = `mcpServerConfig:\n command: ${MCPVAULT_COMMAND}\n args:\n -`;
|
|
83
|
+
const kanban = `kanban:\n source: folder\n path:`;
|
|
84
|
+
return (`---\n` +
|
|
85
|
+
`name: obsidian\n` +
|
|
86
|
+
`${mcpServerConfig}\n` +
|
|
87
|
+
`${kanban}\n` +
|
|
88
|
+
`---\n` +
|
|
89
|
+
`\n` +
|
|
90
|
+
`<!-- aide-orientation-start -->\n` +
|
|
91
|
+
`\n` +
|
|
92
|
+
`Your brain is an Obsidian-backed knowledge store. Use \`mcp__brain__read_note\` to\n` +
|
|
93
|
+
`open files by their brain-relative path. Use \`mcp__brain__search_notes\` for\n` +
|
|
94
|
+
`keyword queries across every note in the store. The store's entry-point\n` +
|
|
95
|
+
`artifacts include the coding-playbook index at \`coding-playbook/coding-playbook.md\`, the\n` +
|
|
96
|
+
`study-playbook navigation guide at \`coding-playbook/study-playbook.md\`, the\n` +
|
|
97
|
+
`update-playbook maintenance guide at \`coding-playbook/update-playbook.md\`, and the\n` +
|
|
98
|
+
`research index at \`research/research.md\`. Start from the relevant entry-point for\n` +
|
|
99
|
+
`your task, follow the references it lists to deepen context, and check those\n` +
|
|
100
|
+
`files' references too. Stay in scope; don't follow references into unrelated topics.\n` +
|
|
101
|
+
`\n` +
|
|
102
|
+
`Project work is tracked as kanban tasks in per-project folders under \`kanban/<project>/\`, one subfolder per column. Before any task operation, read the kanban index at \`kanban/kanban.md\`, then read only the guide it links for the operation you are performing.\n` +
|
|
103
|
+
`\n` +
|
|
104
|
+
`<!-- aide-orientation-end -->\n` +
|
|
105
|
+
`\n` +
|
|
106
|
+
`<!-- aide-config-start -->\n` +
|
|
107
|
+
`\n` +
|
|
108
|
+
`You are completing the wiring of an Obsidian brain. The required value is the\n` +
|
|
109
|
+
`absolute path to the user's Obsidian vault, to be placed at the last entry of\n` +
|
|
110
|
+
`\`mcpServerConfig.args\` in \`brain.aide\`. YAML null at that position is the\n` +
|
|
111
|
+
`unwired-state signal — it means the brain path has not yet been filled in.\n` +
|
|
112
|
+
`\n` +
|
|
113
|
+
`The frontmatter also carries the board location the observer reads to show this project's kanban board: \`kanban.source\` is \`folder\` and \`kanban.path\` is the absolute path of the vault's \`kanban\` folder. YAML null at \`kanban.path\` means it has not been filled in yet. The brain works without it; only the observer's board needs it.\n` +
|
|
114
|
+
`\n` +
|
|
115
|
+
`Argument shape (Obsidian only): \`/aide:brain config [<absolute-path>]\`.\n` +
|
|
116
|
+
`\n` +
|
|
117
|
+
`This flow has two paths that NEVER overlap in the same session: WIRING and\n` +
|
|
118
|
+
`SEEDING. Wiring edits \`brain.aide\` and runs sync, then STOPS — the brain MCP\n` +
|
|
119
|
+
`server only loads at session start, so any newly-wired brain entry is\n` +
|
|
120
|
+
`unreachable until the user restarts Claude Code. Seeding writes the\n` +
|
|
121
|
+
`entry-point artifacts via the brain MCP tools, which only works when the brain\n` +
|
|
122
|
+
`is already wired AND the session has the brain MCP server loaded — i.e., on a\n` +
|
|
123
|
+
`run AFTER the wiring restart.\n` +
|
|
124
|
+
`\n` +
|
|
125
|
+
`1. **Read \`brain.aide\` now and quote the last entry of \`mcpServerConfig.args\`.**\n` +
|
|
126
|
+
` Open \`brain.aide\` and locate the final entry in the \`mcpServerConfig.args\`\n` +
|
|
127
|
+
` list. Quote the literal value you observe — either YAML null (an empty entry,\n` +
|
|
128
|
+
` written as a bare dash with no value) or a string. **Do not proceed without\n` +
|
|
129
|
+
` quoting it.** YAML null means un-wired; any string value means already wired.\n` +
|
|
130
|
+
` Also quote \`kanban.path\`, or say that the frontmatter has no \`kanban\` field.\n` +
|
|
131
|
+
`\n` +
|
|
132
|
+
`2. Decide which flow runs:\n` +
|
|
133
|
+
` - \`$ARGUMENTS\` non-empty → **WIRING** flow. Use \`$ARGUMENTS\` as the target\n` +
|
|
134
|
+
` path (initial wiring or re-point). Proceed to Step 3.\n` +
|
|
135
|
+
` - \`$ARGUMENTS\` empty AND last entry is YAML null → **WIRING** flow. Ask the\n` +
|
|
136
|
+
` user where their vault lives via \`AskUserQuestion\` with \`aide_info.brain.hints\`\n` +
|
|
137
|
+
` as suggestions plus a "Different location" entry. Use the answer as the\n` +
|
|
138
|
+
` target path. Proceed to Step 3.\n` +
|
|
139
|
+
` - \`$ARGUMENTS\` empty AND last entry is a string path → **SEEDING** flow.\n` +
|
|
140
|
+
` The brain is already wired; skip Steps 3 and 4 entirely and jump to Step 5.\n` +
|
|
141
|
+
` Before seeding, if the launcher runs through \`npx\` (directly or after \`cmd /c\`), offer with \`AskUserQuestion\` to switch it to the global command, saying that npx launches time out at session start. On yes, install the package globally (\`npm i -g @bitbonsai/mcpvault\` via Bash); if the install exits non-zero, say so and continue to seeding unchanged. Then preview and apply \`aide_upgrade({ category: "brain", brainChange: "launcher" })\` (never edit the launcher by hand), run Step 4 (sync) and stop as the WIRING flow does. On no, continue to seeding unchanged.\n` +
|
|
142
|
+
` Also before seeding, if the frontmatter has no \`kanban\` field or \`kanban.path\` is YAML null, offer once with \`AskUserQuestion\` to fill in the board location so the observer can show this project's kanban board. Suggest the vault path you quoted in Step 1 joined with \`kanban\` (using that path's own separator), plus a "Different location" entry and a "Not now" entry. On a location, write the field as Step 3 describes, re-read the frontmatter to confirm \`kanban.path\` is that absolute path, and continue to seeding; no sync is needed, because the field is not part of the brain's launcher. On "Not now", continue to seeding unchanged.\n` +
|
|
143
|
+
`\n` +
|
|
144
|
+
`### WIRING flow — Steps 3, 4 (then STOP at end of 4)\n` +
|
|
145
|
+
`\n` +
|
|
146
|
+
`3. Edit \`brain.aide\` — replace the null at the last entry of \`mcpServerConfig.args\`\n` +
|
|
147
|
+
` with the absolute path.\n` +
|
|
148
|
+
`\n` +
|
|
149
|
+
` In the same edit, fill the board location from that same path: set \`kanban.path\` to the vault path joined with \`kanban\`, using the path's own separator (for \`D:\\Vaults\\brain\` that is \`D:\\Vaults\\brain\\kanban\`), written unquoted. If the frontmatter has no \`kanban\` field, add it right after the \`mcpServerConfig\` block as \`kanban:\` with the indented lines \`source: folder\` and \`path: <vault path>\` + separator + \`kanban\`. Fill it only from the vault path the user gave for this wiring; never guess it from anything else. Then re-read the frontmatter and confirm \`kanban.path\` is that absolute path.\n` +
|
|
150
|
+
`\n` +
|
|
151
|
+
` Then check how this config launches the brain. If the launched program is \`mcpvault\` (the file name of \`mcpServerConfig.command\`, or of the entry after \`/c\` when the command is \`cmd\`, with or without a directory path or a \`.cmd\` / \`.exe\` extension), the brain launches from a global install. In that case, run \`npm ls -g @bitbonsai/mcpvault --depth=0\` via Bash. If the package is not listed, tell the user you are installing it and run \`npm i -g @bitbonsai/mcpvault\` via Bash. If the install exits non-zero, say so plainly and STOP without running sync: a launcher whose command is not installed cannot start. If the launcher runs through \`npx\` instead, offer the switch to the global command as described in step 2 before running sync. A global launcher given by absolute path is valid; never rewrite it for being a path.\n` +
|
|
152
|
+
`\n` +
|
|
153
|
+
`4. **Run sync now via Bash.** Read \`.mcp.json["mcpServers"]["aide"]\`, take its\n` +
|
|
154
|
+
` \`command\` and \`args\`, append the literal string \`"sync"\`, and execute the\n` +
|
|
155
|
+
` resulting command via the Bash tool. Quote the exit code. On non-zero, surface\n` +
|
|
156
|
+
` stderr and stop. On exit 0:\n` +
|
|
157
|
+
`\n` +
|
|
158
|
+
` **STOP HERE in the WIRING flow.** Do not proceed to Step 5 in the same\n` +
|
|
159
|
+
` session. The brain MCP server was not loaded at session start (it did not\n` +
|
|
160
|
+
` exist yet), and sync just wrote the entry; the running session cannot see\n` +
|
|
161
|
+
` it. Emit this message verbatim and end the flow:\n` +
|
|
162
|
+
`\n` +
|
|
163
|
+
` > Sync wrote the brain entry. Restart Claude Code so the brain MCP server\n` +
|
|
164
|
+
` > picks up the new entry, then re-run \`/aide:brain config\` to seed the\n` +
|
|
165
|
+
` > entry-point artifacts into your brain.\n` +
|
|
166
|
+
`\n` +
|
|
167
|
+
` **Do not output the sync command for the user to run** — \`/aide:brain config\`\n` +
|
|
168
|
+
` completes wiring inside the slash-command session, never by handing the user\n` +
|
|
169
|
+
` a homework command.\n` +
|
|
170
|
+
`\n` +
|
|
171
|
+
`### SEEDING flow — Step 5\n` +
|
|
172
|
+
`\n` +
|
|
173
|
+
`5. **Seed the entry-point artifacts into the brain via the brain MCP tools.**\n` +
|
|
174
|
+
`\n` +
|
|
175
|
+
` First verify the brain MCP write/list tools are available in this session\n` +
|
|
176
|
+
` (\`mcp__brain__write_note\`, \`mcp__brain__list_directory\`, etc.). If they are\n` +
|
|
177
|
+
` NOT available, the brain MCP server has not been loaded in this session. Emit\n` +
|
|
178
|
+
` this message verbatim and STOP:\n` +
|
|
179
|
+
`\n` +
|
|
180
|
+
` > The brain MCP server is not loaded in this session. Restart Claude Code,\n` +
|
|
181
|
+
` > then re-run \`/aide:brain config\` to seed the entry-point artifacts.\n` +
|
|
182
|
+
`\n` +
|
|
183
|
+
` **Never fall back to native filesystem tools** (Read, Write, Bash \`ls\`,\n` +
|
|
184
|
+
` Glob, etc.) to inspect or write the brain. The brain is a backend-agnostic\n` +
|
|
185
|
+
` abstraction; the filesystem is just one possible backing store. Other backends\n` +
|
|
186
|
+
` (hosted, Mem0, etc.) have no local filesystem at all. If the brain MCP tools\n` +
|
|
187
|
+
` are unreachable, the correct response is to STOP and ask the user to restart,\n` +
|
|
188
|
+
` never to improvise via the filesystem.\n` +
|
|
189
|
+
`\n` +
|
|
190
|
+
` When the brain MCP tools ARE available, read the section list: call \`aide_init\` with no arguments (a read-only summary call) and take \`brainSummary.sections\` from the step named \`Brain config (brain.aide)\`. For each entry whose \`role\` is \`seed\`: presence-check its \`seedPath\` via \`mcp__brain__list_directory\` (or the read tool); a missing folder means the file is absent. Skip any artifact that already exists (presence-only check — do not overwrite user-edited content). For each absent one, call \`aide_brain\` with \`kind\` set to that entry's \`marker\`. When \`found\` is true, \`instructions\` holds that section's bytes: drop the empty lines at their start and end and write them with \`mcp__brain__write_note\` at \`seedPath\`. When those bytes open with a \`---\` frontmatter block, pass that block's fields as the tool's \`frontmatter\` argument and only the text after its closing \`---\` (leading empty lines dropped) as \`content\`; never leave a frontmatter block inside \`content\`, or the file will not have real frontmatter. When \`found\` is false, surface \`instructions\` to the user and write nothing for that entry.\n` +
|
|
191
|
+
`\n` +
|
|
192
|
+
` After the seeding loop completes, emit a brief completion summary naming\n` +
|
|
193
|
+
` each artifact and whether it was seeded or already present. Do not emit a\n` +
|
|
194
|
+
` restart message — the brain is fully wired and seeded; the user can now use\n` +
|
|
195
|
+
` \`/aide\` normally.\n` +
|
|
196
|
+
`\n` +
|
|
197
|
+
`<!-- aide-config-end -->\n` +
|
|
198
|
+
`\n` +
|
|
199
|
+
`<!-- aide-playbook-index-start -->\n` +
|
|
200
|
+
`\n` +
|
|
201
|
+
`# Coding Playbook\n` +
|
|
202
|
+
`\n` +
|
|
203
|
+
`Reference for the conventions and patterns this codebase follows. Read top-down — load only the sections that apply to the current task.\n` +
|
|
204
|
+
`\n` +
|
|
205
|
+
`## Task Routing\n` +
|
|
206
|
+
`\n` +
|
|
207
|
+
`When loading playbook context, match the task domain to the relevant section(s). Read only what applies — do NOT load all sections.\n` +
|
|
208
|
+
`\n` +
|
|
209
|
+
`| Task domain | Section |\n` +
|
|
210
|
+
`|-------------|---------|\n` +
|
|
211
|
+
`\n` +
|
|
212
|
+
`---\n` +
|
|
213
|
+
`\n` +
|
|
214
|
+
`## How to Use This Index\n` +
|
|
215
|
+
`\n` +
|
|
216
|
+
`Each section links to a section hub that lists its notes with keywords. Navigate to the section relevant to your task, then drill into the specific notes you need.\n` +
|
|
217
|
+
`\n` +
|
|
218
|
+
`### Always Read First\n` +
|
|
219
|
+
`\n` +
|
|
220
|
+
`These notes are **required reading** for every task, regardless of which section you're working in. They define the patterns everything else builds on:\n` +
|
|
221
|
+
`\n` +
|
|
222
|
+
`1. **[[your-conventions-note]]** — Add your naming, function ordering, and code hygiene conventions here.\n` +
|
|
223
|
+
`2. **[[your-folder-structure-note]]** — Add your folder layout and progressive disclosure conventions here.\n` +
|
|
224
|
+
`\n` +
|
|
225
|
+
`---\n` +
|
|
226
|
+
`\n` +
|
|
227
|
+
`## Sections\n` +
|
|
228
|
+
`\n` +
|
|
229
|
+
`Add your top-level playbook sections here, each linked to its section hub note.\n` +
|
|
230
|
+
`\n` +
|
|
231
|
+
`---\n` +
|
|
232
|
+
`\n` +
|
|
233
|
+
`## Prime Examples\n` +
|
|
234
|
+
`\n` +
|
|
235
|
+
`Add links to reference codebases that demonstrate these patterns in practice.\n` +
|
|
236
|
+
`\n` +
|
|
237
|
+
`---\n` +
|
|
238
|
+
`\n` +
|
|
239
|
+
`## Contents\n` +
|
|
240
|
+
`\n` +
|
|
241
|
+
`<!-- aide-playbook-index-end -->\n` +
|
|
242
|
+
`\n` +
|
|
243
|
+
`<!-- aide-study-playbook-start -->\n` +
|
|
244
|
+
`\n` +
|
|
245
|
+
`# Study Playbook\n` +
|
|
246
|
+
`\n` +
|
|
247
|
+
`Navigate the coding playbook hub and load only the sections relevant to the current task.\n` +
|
|
248
|
+
`\n` +
|
|
249
|
+
`---\n` +
|
|
250
|
+
`\n` +
|
|
251
|
+
`## Step 1: Read the Playbook Hub\n` +
|
|
252
|
+
`\n` +
|
|
253
|
+
`Read \`coding-playbook/coding-playbook.md\`.\n` +
|
|
254
|
+
`\n` +
|
|
255
|
+
`The hub lists sections with descriptions. Match your current task domain against\n` +
|
|
256
|
+
`those descriptions to identify which sections apply. Do NOT read all sections —\n` +
|
|
257
|
+
`only the ones whose descriptions overlap with the work at hand.\n` +
|
|
258
|
+
`\n` +
|
|
259
|
+
`---\n` +
|
|
260
|
+
`\n` +
|
|
261
|
+
`## Step 2: Read the Relevant Section Hubs\n` +
|
|
262
|
+
`\n` +
|
|
263
|
+
`For each matching section, read its hub note (e.g. \`<section>/<section>.md\`).\n` +
|
|
264
|
+
`\n` +
|
|
265
|
+
`Section hubs list their child notes with keywords. Scan the list and identify which\n` +
|
|
266
|
+
`specific child notes overlap with the task. Do NOT read every child — only the ones\n` +
|
|
267
|
+
`whose keywords match the work.\n` +
|
|
268
|
+
`\n` +
|
|
269
|
+
`---\n` +
|
|
270
|
+
`\n` +
|
|
271
|
+
`## Step 3: Read the Specific Child Notes\n` +
|
|
272
|
+
`\n` +
|
|
273
|
+
`Read the child notes identified in Step 2 (e.g. \`<section>/<child-note>.md\`).\n` +
|
|
274
|
+
`These contain the concrete patterns and code examples to follow.\n` +
|
|
275
|
+
`\n` +
|
|
276
|
+
`---\n` +
|
|
277
|
+
`\n` +
|
|
278
|
+
`## Navigation Rules\n` +
|
|
279
|
+
`\n` +
|
|
280
|
+
`- **Use the hub's link structure, not search.** Do NOT search for playbook content.\n` +
|
|
281
|
+
` Searching produces fragments without context; the hub structure gives you the full\n` +
|
|
282
|
+
` picture.\n` +
|
|
283
|
+
`- **Read top-down.** Hub → section hub → child note. Never skip levels.\n` +
|
|
284
|
+
`- **Follow wikilinks 1–2 levels deep from content notes.** Hub notes (tagged \`hub\` or\n` +
|
|
285
|
+
` acting as section indexes) are navigation — they don't count as depth. Depth starts\n` +
|
|
286
|
+
` at the first content note you land on. Example:\n` +
|
|
287
|
+
` - \`coding-playbook.md\` (root hub) → depth 0 (navigation)\n` +
|
|
288
|
+
` - \`foundations/foundations.md\` (section hub) → depth 0 (navigation)\n` +
|
|
289
|
+
` - \`foundations/conventions.md\` (content note) → depth 0 (first real content)\n` +
|
|
290
|
+
` - wikilink from \`conventions.md\` → depth 1\n` +
|
|
291
|
+
` - wikilink from *that* note → depth 2\n` +
|
|
292
|
+
`\n` +
|
|
293
|
+
` When reading any content note, look for \`[[wikilinks]]\`. If a linked note looks\n` +
|
|
294
|
+
` relevant to the task, read it — then check *that* note's links too. Go at least\n` +
|
|
295
|
+
` 1–2 levels deep from the first content note in any direction where the information\n` +
|
|
296
|
+
` could apply. Playbook notes cross-reference each other (e.g. a services note may\n` +
|
|
297
|
+
` link to error-handling patterns, which links to API response conventions). Following\n` +
|
|
298
|
+
` these links is how you build the full picture, not just a fragment.\n` +
|
|
299
|
+
`- **Never re-read notes.** Before reading any note, check whether it already appears\n` +
|
|
300
|
+
` in your conversation context from earlier in the session. You may return to the\n` +
|
|
301
|
+
` playbook multiple times across a single workflow — do NOT re-read the playbook hub,\n` +
|
|
302
|
+
` section hubs, or child notes you have already loaded. The same applies when following\n` +
|
|
303
|
+
` wikilinks: skip any link whose target you have already read in this session.\n` +
|
|
304
|
+
`- **Approach incrementally, not all at once.** Multi-step work (e.g. planning an\n` +
|
|
305
|
+
` end-to-end feature) crosses multiple domains — types, then services, then API, then\n` +
|
|
306
|
+
` client. Do NOT try to load every section upfront. Load what you need for the current\n` +
|
|
307
|
+
` step. When you move to the next step and realize you're in a new domain without the\n` +
|
|
308
|
+
` relevant playbook context, return to the playbook hub for that domain. The "never\n` +
|
|
309
|
+
` re-read" rule keeps repeated visits cheap — you'll skip the hub and any notes already\n` +
|
|
310
|
+
` loaded, and only read the new sections you actually need.\n` +
|
|
311
|
+
`- **Stop when you have enough.** Within a single invocation, if the step only touches\n` +
|
|
312
|
+
` one domain (e.g. just API routes), you only need that one section's notes plus\n` +
|
|
313
|
+
` whatever they link to. Don't load unrelated sections "just in case."\n` +
|
|
314
|
+
`\n` +
|
|
315
|
+
`<!-- aide-study-playbook-end -->\n` +
|
|
316
|
+
`\n` +
|
|
317
|
+
`<!-- aide-update-playbook-start -->\n` +
|
|
318
|
+
`\n` +
|
|
319
|
+
`# Update Playbook\n` +
|
|
320
|
+
`\n` +
|
|
321
|
+
`Maintenance methodology for the coding playbook. The three-layer structure\n` +
|
|
322
|
+
`(root hub → section hubs → child notes) and how to navigate it is described in\n` +
|
|
323
|
+
`\`coding-playbook/study-playbook.md\`; this note covers the operations that\n` +
|
|
324
|
+
`preserve it when adding, modifying, renaming, or removing entries.\n` +
|
|
325
|
+
`\n` +
|
|
326
|
+
`## What Belongs Here\n` +
|
|
327
|
+
`\n` +
|
|
328
|
+
`The playbook holds reusable engineering conventions and patterns — naming\n` +
|
|
329
|
+
`rules, error-handling shapes, fetch patterns, schema conventions, anti-patterns,\n` +
|
|
330
|
+
`testing patterns, etc. It does NOT hold project-specific context (environment,\n` +
|
|
331
|
+
`business rules, in-progress feature notes), domain research, retro findings, or\n` +
|
|
332
|
+
`operational runbooks. Those live in other parts of the brain. If the entry\n` +
|
|
333
|
+
`isn't a rule that survives across projects, it doesn't belong here.\n` +
|
|
334
|
+
`\n` +
|
|
335
|
+
`## Layout\n` +
|
|
336
|
+
`\n` +
|
|
337
|
+
`The playbook lives under \`coding-playbook/\` with this shape:\n` +
|
|
338
|
+
`\n` +
|
|
339
|
+
"```\n" +
|
|
340
|
+
`coding-playbook/\n` +
|
|
341
|
+
`├── coding-playbook.md ← root hub\n` +
|
|
342
|
+
`├── study-playbook.md ← navigation methodology\n` +
|
|
343
|
+
`├── update-playbook.md ← this note\n` +
|
|
344
|
+
`├── prime-examples.md ← (optional) reference codebases\n` +
|
|
345
|
+
`├── foundations/\n` +
|
|
346
|
+
`│ ├── foundations.md ← section hub (navigation only)\n` +
|
|
347
|
+
`│ ├── conventions.md ← child note (rules + code)\n` +
|
|
348
|
+
`│ ├── tooling.md\n` +
|
|
349
|
+
`│ └── anti-patterns.md\n` +
|
|
350
|
+
`├── architecture/\n` +
|
|
351
|
+
`│ ├── architecture.md ← section hub\n` +
|
|
352
|
+
`│ ├── folder-structure.md\n` +
|
|
353
|
+
`│ ├── data-flow.md\n` +
|
|
354
|
+
`│ └── patterns.md\n` +
|
|
355
|
+
`└── ... (one folder per section)\n` +
|
|
356
|
+
"```\n" +
|
|
357
|
+
`\n` +
|
|
358
|
+
`Paths an updater needs to recognize:\n` +
|
|
359
|
+
`\n` +
|
|
360
|
+
`- Root hub: \`coding-playbook/coding-playbook.md\`\n` +
|
|
361
|
+
`- Section hub: \`coding-playbook/<section>/<section>.md\`\n` +
|
|
362
|
+
`- Child note: \`coding-playbook/<section>/<note>.md\`\n` +
|
|
363
|
+
`\n` +
|
|
364
|
+
`Section hubs (\`<section>/<section>.md\`) hold **no patterns themselves** — only\n` +
|
|
365
|
+
`their \`## Subnotes\` table, \`## When to Read This Section\` list, and the\n` +
|
|
366
|
+
`\`Part of [[coding-playbook/coding-playbook|Coding Playbook]]\` backreference.\n` +
|
|
367
|
+
`Every pattern, rule, and code example lives in child notes.\n` +
|
|
368
|
+
`\n` +
|
|
369
|
+
`Hub notes (root and section) carry frontmatter tags\n` +
|
|
370
|
+
`\`["coding-playbook","hub","context"]\`. Child notes have no required frontmatter\n` +
|
|
371
|
+
`convention.\n` +
|
|
372
|
+
`\n` +
|
|
373
|
+
`## Note Scope (Progressive Disclosure)\n` +
|
|
374
|
+
`\n` +
|
|
375
|
+
`Each child note should be tightly scoped to a single topic an agent might need\n` +
|
|
376
|
+
`to look up — naming, error handling, a specific fetch pattern, etc. Notes are\n` +
|
|
377
|
+
`short and focused, not long catch-alls. Connect related notes with \`[[wikilinks]]\`\n` +
|
|
378
|
+
`so an agent reading one can follow the trail rather than load everything upfront.\n` +
|
|
379
|
+
`\n` +
|
|
380
|
+
`If a note has drifted into multiple topics, or grown past the point where an\n` +
|
|
381
|
+
`agent can scan it quickly, split it: extract each topic into its own child\n` +
|
|
382
|
+
`note, add rows to the section hub's \`## Subnotes\` table for the new notes,\n` +
|
|
383
|
+
`update the root hub's \`## Contents\` list, and replace the moved content in the\n` +
|
|
384
|
+
`original note with a wikilink to the new note. An agent should not have to\n` +
|
|
385
|
+
`parse 500 lines of markdown to learn how to name a variable.\n` +
|
|
386
|
+
`\n` +
|
|
387
|
+
`## Entry Format\n` +
|
|
388
|
+
`\n` +
|
|
389
|
+
`Each rule inside a child note follows a consistent shape so an agent can scan\n` +
|
|
390
|
+
`quickly and learn from concrete examples.\n` +
|
|
391
|
+
`\n` +
|
|
392
|
+
`1. **Lead with the rule.** A bolded one-sentence principle as the first line of\n` +
|
|
393
|
+
` the section or bullet — e.g. **Name variables after the function that\n` +
|
|
394
|
+
` produces them.** State the rule plainly; the rest of the entry justifies and\n` +
|
|
395
|
+
` illustrates it.\n` +
|
|
396
|
+
`\n` +
|
|
397
|
+
`2. **State the reason inline.** One or two sentences explaining *why*. The\n` +
|
|
398
|
+
` reason is what an agent uses to judge edge cases the rule didn't anticipate.\n` +
|
|
399
|
+
` Don't split rule and reason across distant sections — they read as a unit.\n` +
|
|
400
|
+
`\n` +
|
|
401
|
+
`3. **Show real code.** Use code blocks in the project's actual language (not\n` +
|
|
402
|
+
` pseudocode). When the example is lifted from a specific file, prefix the\n` +
|
|
403
|
+
` block with a provenance HTML comment naming the project and path, e.g.\n` +
|
|
404
|
+
` \`<!-- from <project-name>: src/path/to/file.ts -->\`, so the source stays\n` +
|
|
405
|
+
` traceable as the codebase evolves. Only fill in real project names and\n` +
|
|
406
|
+
` paths — never leave the angle-bracket placeholders in a published note.\n` +
|
|
407
|
+
`\n` +
|
|
408
|
+
`4. **Pair Good and Bad examples.** Most rules have a clear right and wrong\n` +
|
|
409
|
+
` shape — show both. Tag each block with a one-line reason in a code comment:\n` +
|
|
410
|
+
` \`// Good — descriptive noun, no redundant suffix\` and\n` +
|
|
411
|
+
` \`// Bad — Result suffix adds nothing\`. When a rule has multiple failure\n` +
|
|
412
|
+
` modes (e.g. helpers inline above the export vs. helpers buried below it),\n` +
|
|
413
|
+
` show one Bad block per failure mode so each is recognizable on its own.\n` +
|
|
414
|
+
`\n` +
|
|
415
|
+
`5. **Cross-link related rules.** Inside the note body, mention adjacent topics\n` +
|
|
416
|
+
` by wikilink. At the bottom of the note, add a \`See also:\` line listing\n` +
|
|
417
|
+
` related notes and a \`Part of [[<section>/<section>|<Section>]]\`\n` +
|
|
418
|
+
` backreference so the navigation tree closes cleanly.\n` +
|
|
419
|
+
`\n` +
|
|
420
|
+
`Goal: an agent landing on a single rule sees the principle, the reasoning, and\n` +
|
|
421
|
+
`concrete code without scrolling, and knows where to follow up if the rule\n` +
|
|
422
|
+
`intersects another topic.\n` +
|
|
423
|
+
`\n` +
|
|
424
|
+
`## Wikilink Format\n` +
|
|
425
|
+
`\n` +
|
|
426
|
+
`Cross-references between notes use full-path wikilinks with a display label,\n` +
|
|
427
|
+
`not bare names:\n` +
|
|
428
|
+
`\n` +
|
|
429
|
+
"```\n" +
|
|
430
|
+
`// Good — full path survives renames elsewhere; label keeps prose readable\n` +
|
|
431
|
+
`[[coding-playbook/foundations/conventions|Conventions]]\n` +
|
|
432
|
+
`\n` +
|
|
433
|
+
`// Bad — bare name is ambiguous if any other note in the vault shares the title\n` +
|
|
434
|
+
`[[Conventions]]\n` +
|
|
435
|
+
"```\n" +
|
|
436
|
+
`\n` +
|
|
437
|
+
`This applies everywhere wikilinks appear: inline references inside child\n` +
|
|
438
|
+
`notes, \`## Subnotes\` table rows in section hubs, \`## Sections\` and \`## Contents\`\n` +
|
|
439
|
+
`entries in the root hub, \`See also:\` lines, and \`Part of\` backreferences.\n` +
|
|
440
|
+
`\n` +
|
|
441
|
+
`## Maintenance Methodology\n` +
|
|
442
|
+
`\n` +
|
|
443
|
+
`1. **Identify the change.** New convention, new child note, new section, rename,\n` +
|
|
444
|
+
` removal, or general audit. Skip if the user already named it.\n` +
|
|
445
|
+
`\n` +
|
|
446
|
+
`2. **Locate the right layer.** Read the root hub. New conventions usually extend\n` +
|
|
447
|
+
` an existing child note or land as a new child note inside an existing section.\n` +
|
|
448
|
+
` Only justify a new section when the topic isn't covered by any existing one.\n` +
|
|
449
|
+
`\n` +
|
|
450
|
+
`3. **Apply the change at the layer it belongs to.**\n` +
|
|
451
|
+
` - **Edit a child note** for changes inside an existing topic. Follow the\n` +
|
|
452
|
+
` Entry Format above — rule, reason, real code, Good/Bad pair, cross-links.\n` +
|
|
453
|
+
` If the change introduces vocabulary an agent might search by, update the\n` +
|
|
454
|
+
` section hub's \`## Subnotes\` keywords for that note as well. If the edit\n` +
|
|
455
|
+
` pushes the note beyond a single topic, split it (see Note Scope above).\n` +
|
|
456
|
+
` - **Add a child note.** Write it using the Entry Format for every rule it\n` +
|
|
457
|
+
` contains. Add a row to the section hub's \`## Subnotes\` table with\n` +
|
|
458
|
+
` keywords, append its path to the root hub's \`## Contents\` list, and —\n` +
|
|
459
|
+
` critically — retrofit the \`See also:\` lines of related existing notes to\n` +
|
|
460
|
+
` link to the new one. A note that's only reachable from its section hub is\n` +
|
|
461
|
+
` half-orphaned; agents discover related rules by following neighbor links.\n` +
|
|
462
|
+
` - **Add a section.** Create \`<section>/<section>.md\` shaped like existing\n` +
|
|
463
|
+
` section hubs (\`## Subnotes\`, \`## When to Read This Section\`, the\n` +
|
|
464
|
+
` \`Part of [[coding-playbook/coding-playbook|Coding Playbook]]\`\n` +
|
|
465
|
+
` backreference, hub frontmatter tags) — and remember section hubs hold\n` +
|
|
466
|
+
` navigation only, no patterns. Add the section to the root hub's\n` +
|
|
467
|
+
` \`## Sections\` list with a description, append every child note to\n` +
|
|
468
|
+
` \`## Contents\`, and add task-domain rows to \`## Task Routing\`.\n` +
|
|
469
|
+
` - **Rename or remove** a section or child note. Update the section hub, the\n` +
|
|
470
|
+
` root hub's \`## Sections\` and \`## Contents\`, every wikilink in adjacent\n` +
|
|
471
|
+
` notes that points at the renamed/removed target (including \`See also:\`\n` +
|
|
472
|
+
` lines), and the \`## Task Routing\` table.\n` +
|
|
473
|
+
`\n` +
|
|
474
|
+
`4. **Routing-table drift check (required).** Compare the root hub's\n` +
|
|
475
|
+
` \`## Task Routing\` table against the sections that exist. Each row should point\n` +
|
|
476
|
+
` to a real section; each section should be reachable from at least one row;\n` +
|
|
477
|
+
` each new convention added in step 3 should have a row that routes to it.\n` +
|
|
478
|
+
` Offer to reconcile any drift.\n` +
|
|
479
|
+
`\n` +
|
|
480
|
+
`5. **Subnotes-table drift check (required when a section was touched).** Scan\n` +
|
|
481
|
+
` the section hub's \`## Subnotes\` table — every child note in \`<section>/\`\n` +
|
|
482
|
+
` should have a row, and every row should point to a note that still exists.\n` +
|
|
483
|
+
`\n` +
|
|
484
|
+
`6. **Confirm.** Summarize what changed in the child note(s), in the section hub,\n` +
|
|
485
|
+
` and in the root hub (Sections, Contents, Task Routing).\n` +
|
|
486
|
+
`\n` +
|
|
487
|
+
`<!-- aide-update-playbook-end -->\n` +
|
|
488
|
+
`\n` +
|
|
489
|
+
`<!-- aide-research-index-start -->\n` +
|
|
490
|
+
`\n` +
|
|
491
|
+
`# Research\n` +
|
|
492
|
+
`\n` +
|
|
493
|
+
`### Domains\n` +
|
|
494
|
+
`\n` +
|
|
495
|
+
`| Domain | Notes |\n` +
|
|
496
|
+
`|--------|-------|\n` +
|
|
497
|
+
`\n` +
|
|
498
|
+
`### How to Use This Index\n` +
|
|
499
|
+
`\n` +
|
|
500
|
+
`Research notes are filed by domain. Each subdirectory holds notes for a single domain; read the domain hub before drilling into individual notes. Do not flat-search across every domain — the structure is the navigation.\n` +
|
|
501
|
+
`\n` +
|
|
502
|
+
`### Domain Hubs\n` +
|
|
503
|
+
`\n` +
|
|
504
|
+
`Add domain hubs here as your research grows. Each hub lives at \`<domain>/<domain>.md\` and lists its child notes with keywords.\n` +
|
|
505
|
+
`\n` +
|
|
506
|
+
`### Contents\n` +
|
|
507
|
+
`\n` +
|
|
508
|
+
`<!-- aide-research-index-end -->\n` +
|
|
509
|
+
`\n` +
|
|
510
|
+
`<!-- aide-kanban-index-start -->\n` +
|
|
511
|
+
`\n` +
|
|
512
|
+
kanbanIndexSeed +
|
|
513
|
+
`\n` +
|
|
514
|
+
`<!-- aide-kanban-index-end -->\n` +
|
|
515
|
+
`\n` +
|
|
516
|
+
`<!-- aide-kanban-create-start -->\n` +
|
|
517
|
+
`\n` +
|
|
518
|
+
kanbanCreateSeed +
|
|
519
|
+
`\n` +
|
|
520
|
+
`<!-- aide-kanban-create-end -->\n` +
|
|
521
|
+
`\n` +
|
|
522
|
+
`<!-- aide-kanban-work-start -->\n` +
|
|
523
|
+
`\n` +
|
|
524
|
+
kanbanWorkSeed +
|
|
525
|
+
`\n` +
|
|
526
|
+
`<!-- aide-kanban-work-end -->\n` +
|
|
527
|
+
`\n` +
|
|
528
|
+
`<!-- aide-kanban-manage-start -->\n` +
|
|
529
|
+
`\n` +
|
|
530
|
+
kanbanManageSeed +
|
|
531
|
+
`\n` +
|
|
532
|
+
`<!-- aide-kanban-manage-end -->\n` +
|
|
533
|
+
`\n` +
|
|
534
|
+
`<!-- aide-kanban-move-start -->\n` +
|
|
535
|
+
`\n` +
|
|
536
|
+
kanbanMoveSeed +
|
|
537
|
+
`\n` +
|
|
538
|
+
`<!-- aide-kanban-move-end -->\n` +
|
|
539
|
+
`\n` +
|
|
540
|
+
`<!-- aide-kanban-complete-start -->\n` +
|
|
541
|
+
`\n` +
|
|
542
|
+
kanbanCompleteSeed +
|
|
543
|
+
`\n` +
|
|
544
|
+
`<!-- aide-kanban-complete-end -->\n` +
|
|
545
|
+
`\n` +
|
|
546
|
+
`<!-- aide-kanban-stash-start -->\n` +
|
|
547
|
+
`\n` +
|
|
548
|
+
kanbanStashSeed +
|
|
549
|
+
`\n` +
|
|
550
|
+
`<!-- aide-kanban-stash-end -->\n` +
|
|
551
|
+
`\n` +
|
|
552
|
+
`<!-- aide-kanban-review-start -->\n` +
|
|
553
|
+
`\n` +
|
|
554
|
+
kanbanReviewSeed +
|
|
555
|
+
`\n` +
|
|
556
|
+
`<!-- aide-kanban-review-end -->`);
|
|
557
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Seed text for the Complete guide at `kanban/guide/complete.md`, carried by
|
|
3
|
+
* the template's `kanban-complete` contract section.
|
|
4
|
+
*
|
|
5
|
+
* Obsidian-specific by design: wiki links and the `mcp__brain__*` tools.
|
|
6
|
+
* Completing a task is moving one file to its project's In Review or Done
|
|
7
|
+
* folder.
|
|
8
|
+
*
|
|
9
|
+
* The text lands in the brain exactly as written here (ending in one newline);
|
|
10
|
+
* the config seeding step splits the frontmatter from the body when writing.
|
|
11
|
+
*/
|
|
12
|
+
declare const _default: "---\ntags:\n - tasks\n - workflow\n---\n# Complete\n\nPart of [[kanban/kanban|Kanban]]. Read it first: its project, column, task and brain tool rules apply to every step below.\n\nMove the current session's task to In Review (the default) or to Done (when the user passes `--done` or asks for Done).\n\n## Step 1 \u2014 Parse flags\n\nCheck whether `--done` was passed.\n\n- No flag (default): the target column is **In Review**.\n- `--done`: the target column is **Done**.\n\n## Step 2 \u2014 Identify the task from session context\n\nLook back through the current conversation for the task that was worked on this session. Signals: a task picked through Work, a task moved to In Progress through Manage, or a task file read or referenced during the session.\n\nIf no task was worked on this session, tell the user there is nothing to complete and stop.\n\n## Step 3 \u2014 Determine the project\n\nGet the project tag (see Project in [[kanban/kanban|Kanban]]).\n\n## Step 4 \u2014 Find the task\n\nLook for `<slug>.md` in the project's column folders under `kanban/<project>/`. It could be in any column. If it is not found, tell the user and stop.\n\n## Step 5 \u2014 Move the task\n\nMove the file to `kanban/<project>/in-review/<slug>.md` (or `kanban/<project>/done/<slug>.md` with `--done`) and update its `updated` field to the current datetime (`YYYY-MM-DDTHH:MM:SS`).\n\n## Step 6 \u2014 Confirm\n\nTell the user the task was moved to In Review (or to Done if `--done` was used).\n";
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Seed text for the Complete guide at `kanban/guide/complete.md`, carried by
|
|
3
|
+
* the template's `kanban-complete` contract section.
|
|
4
|
+
*
|
|
5
|
+
* Obsidian-specific by design: wiki links and the `mcp__brain__*` tools.
|
|
6
|
+
* Completing a task is moving one file to its project's In Review or Done
|
|
7
|
+
* folder.
|
|
8
|
+
*
|
|
9
|
+
* The text lands in the brain exactly as written here (ending in one newline);
|
|
10
|
+
* the config seeding step splits the frontmatter from the body when writing.
|
|
11
|
+
*/
|
|
12
|
+
export default `---
|
|
13
|
+
tags:
|
|
14
|
+
- tasks
|
|
15
|
+
- workflow
|
|
16
|
+
---
|
|
17
|
+
# Complete
|
|
18
|
+
|
|
19
|
+
Part of [[kanban/kanban|Kanban]]. Read it first: its project, column, task and brain tool rules apply to every step below.
|
|
20
|
+
|
|
21
|
+
Move the current session's task to In Review (the default) or to Done (when the user passes \`--done\` or asks for Done).
|
|
22
|
+
|
|
23
|
+
## Step 1 — Parse flags
|
|
24
|
+
|
|
25
|
+
Check whether \`--done\` was passed.
|
|
26
|
+
|
|
27
|
+
- No flag (default): the target column is **In Review**.
|
|
28
|
+
- \`--done\`: the target column is **Done**.
|
|
29
|
+
|
|
30
|
+
## Step 2 — Identify the task from session context
|
|
31
|
+
|
|
32
|
+
Look back through the current conversation for the task that was worked on this session. Signals: a task picked through Work, a task moved to In Progress through Manage, or a task file read or referenced during the session.
|
|
33
|
+
|
|
34
|
+
If no task was worked on this session, tell the user there is nothing to complete and stop.
|
|
35
|
+
|
|
36
|
+
## Step 3 — Determine the project
|
|
37
|
+
|
|
38
|
+
Get the project tag (see Project in [[kanban/kanban|Kanban]]).
|
|
39
|
+
|
|
40
|
+
## Step 4 — Find the task
|
|
41
|
+
|
|
42
|
+
Look for \`<slug>.md\` in the project's column folders under \`kanban/<project>/\`. It could be in any column. If it is not found, tell the user and stop.
|
|
43
|
+
|
|
44
|
+
## Step 5 — Move the task
|
|
45
|
+
|
|
46
|
+
Move the file to \`kanban/<project>/in-review/<slug>.md\` (or \`kanban/<project>/done/<slug>.md\` with \`--done\`) and update its \`updated\` field to the current datetime (\`YYYY-MM-DDTHH:MM:SS\`).
|
|
47
|
+
|
|
48
|
+
## Step 6 — Confirm
|
|
49
|
+
|
|
50
|
+
Tell the user the task was moved to In Review (or to Done if \`--done\` was used).
|
|
51
|
+
`;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Seed text for the Create guide at `kanban/guide/create.md`, carried by the
|
|
3
|
+
* template's `kanban-create` contract section.
|
|
4
|
+
*
|
|
5
|
+
* Obsidian-specific by design: wiki links, the `Related:` line, the
|
|
6
|
+
* `mcp__brain__*` tools. A task is created by writing one file into its
|
|
7
|
+
* project's column folder; there is no board file to update.
|
|
8
|
+
*
|
|
9
|
+
* The text lands in the brain exactly as written here (ending in one newline);
|
|
10
|
+
* the config seeding step splits the frontmatter from the body when writing.
|
|
11
|
+
*/
|
|
12
|
+
declare const _default: "---\ntags:\n - tasks\n - workflow\n---\n# Create\n\nPart of [[kanban/kanban|Kanban]]. Read it first: its project, column, task and brain tool rules apply to every step below.\n\nCreate a new task.\n\n## Who does what\n\nThe caller talks to the user and gathers the task details (Step 1), shows the user the new task and gets a clear yes. The `kanban-maintainer` agent writes the task (Step 2) and reports back. The caller confirms to the user (Step 3).\n\n## Step 1 \u2014 Gather task details\n\nTake whatever the user already provided (title, priority, `--backlog` flag).\n\n- No title provided: ask \"What's the task?\"\n- No priority provided: ask with these options:\n - `p0` \u2014 critical / blocks work\n - `p1` \u2014 high / should do soon\n - `p2` \u2014 low / nice to have\n - `p3` \u2014 lowest / cleanup, someday\n- Title longer than about 100 characters: propose a shorter title and move the rest into the description.\n- Title is vague: optionally ask for a short description. Skip this if the title is self-explanatory.\n- If the user's request names a kind of work (a bug, a deploy, hardening, housekeeping), take it as `TYPE`. Do not ask for it; without one, `TYPE` is none.\n\nThe target column is Backlog if `--backlog` was passed, Todo otherwise.\n\nAfter this step you have `TITLE`, `PRIORITY`, `TYPE` (or none), `DESCRIPTION` (or none), `TARGET_COLUMN` and the project tag (see Project in [[kanban/kanban|Kanban]]).\n\n## Step 2 \u2014 Write the task\n\n- [ ] **Generate the slug** as the kanban index describes. Target folder: `kanban/<project>/todo/` or `kanban/<project>/backlog/`. If a task with that slug already exists anywhere under `kanban/<project>/`, append `-2` (or increment) until it is unique.\n- [ ] **Find the project note.** List or search `projects/` for the note of the project this tag belongs to (for example tag `myproject` \u2192 `projects/my-app`). If exactly one note clearly matches, use it as `<project-note>` with its usual display name. If none or several match, omit the `Related:` line and report `PROJECT_NOTE: none`.\n- [ ] **Write the task** at `<target folder>/<slug>.md`:\n\n ```markdown\n ---\n project: <project tag>\n priority: <priority>\n type: <type in lower case \u2014 omit this line if none>\n created: <YYYY-MM-DDTHH:MM:SS>\n updated: <YYYY-MM-DDTHH:MM:SS>\n ---\n\n # <Title>\n\n Related: [[projects/<project-note>|<display-name>]]\n\n <Description if provided. Otherwise omit this line.>\n ```\n\n- [ ] **Report in this format:**\n\n ```\n CREATED:\n SLUG: <slug>\n PATH: <brain-relative path>\n PRIORITY: <priority>\n COLUMN: <target column>\n PROJECT: <project tag>\n PROJECT_NOTE: <projects/<project-note> or \"none\">\n ```\n\n## Step 3 \u2014 Confirm\n\nTell the user: task created as `<SLUG>` (priority `<PRIORITY>`) in `<COLUMN>`. One line.\n";
|
|
13
|
+
export default _default;
|