@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,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aide-brain-author
|
|
3
|
+
description: >
|
|
4
|
+
Author a brain config (`.aide/config/brain.aide`) for any brain
|
|
5
|
+
backend, such as Jira, Notion, Confluence or a team wiki, one decision
|
|
6
|
+
at a time with the user. It starts from the bundled template as a
|
|
7
|
+
worked example, writes the launcher and every contract section for the
|
|
8
|
+
user's backend from each section's published purpose, checks the
|
|
9
|
+
draft's structure, then either swaps it in or leaves it beside the
|
|
10
|
+
current config. It also adds missing contract sections to a config
|
|
11
|
+
written for another backend. Invoke it when the user asks to create a
|
|
12
|
+
brain config for a backend other than the bundled default, to rewrite
|
|
13
|
+
their brain config for a different backend, or when `/aide:brain
|
|
14
|
+
config` hands off a create or a custom-backend repair. Do NOT trigger for wiring, syncing,
|
|
15
|
+
migrating or repairing a config that uses the bundled default backend;
|
|
16
|
+
that stays with `/aide:brain config`.
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# aide-brain-author — Write a Brain Config for Any Backend
|
|
20
|
+
|
|
21
|
+
The brain config tells every AIDE agent how to reach the project's brain: the launcher that starts the brain's MCP server, and a fixed set of contract sections, each with a published purpose. The bundled template fills them for its own default backend. This skill writes them for the user's backend instead.
|
|
22
|
+
|
|
23
|
+
Every section list, role, purpose and template text comes from `aide_brain`. Never write a section list or a purpose from memory, and never copy one from another config.
|
|
24
|
+
|
|
25
|
+
## Hard constraints
|
|
26
|
+
|
|
27
|
+
- **Structure is checked; content is the user's.** The draft check confirms every required field and section is present and well-formed. Whether the prose works for the backend is the user's call. Confirm each section with the user before moving on.
|
|
28
|
+
- **One section at a time.** Read one section, write it with the user, confirm, then read the next. Never fetch the whole template up front.
|
|
29
|
+
- **Draft first when writing a whole config.** Write the new config to `.aide/config/brain.aide.draft`. The live config at `.aide/config/brain.aide` changes only at the swap step, and only on the user's yes. The one exception is adding missing sections (below), which edits the live config in place because the user already chose to repair it.
|
|
30
|
+
- **Never invent backend tool names.** Ask the user how their backend's MCP server is launched and which tools it exposes, or read its documentation with them. If they don't know yet, leave a clearly marked TODO in that section and tell them.
|
|
31
|
+
|
|
32
|
+
## The tool calls
|
|
33
|
+
|
|
34
|
+
`aide_brain` is read-only in every mode below. None of them reads or depends on the project's current brain config.
|
|
35
|
+
|
|
36
|
+
- `aide_brain({ source: "contract" })` returns `{ sections }`: every contract section in order, each with its `marker`, `role` (`live` or `seed`) and `purpose`, and no text.
|
|
37
|
+
- `aide_brain({ source: "template", kind: "launcher" })` returns `{ template, purpose }`: the bundled template's frontmatter lines (between the two `---` fences) and what the launcher must do.
|
|
38
|
+
- `aide_brain({ source: "template", kind: <marker> })` returns `{ template, purpose }`: the bundled template's text for that one section and what the section must do.
|
|
39
|
+
- `aide_brain({ source: "draft", path: ".aide/config/brain.aide.draft" })` returns `{ outcome, instructions }`. `outcome` is `valid`, `invalid` (with a `fault`: `missing-sections` naming the sections, or `malformed` with a `reason`), `absent`, or `refused` (the path is outside the project). It uses the same rules and fault wording as the live config check, so a `valid` draft is structurally ready to swap in.
|
|
40
|
+
|
|
41
|
+
## Steps
|
|
42
|
+
|
|
43
|
+
### 1. Ask about the backend
|
|
44
|
+
|
|
45
|
+
Use `AskUserQuestion`:
|
|
46
|
+
|
|
47
|
+
Which backend holds the brain, and how its MCP server is launched (package or command, and the argument that points it at the brain's location).
|
|
48
|
+
|
|
49
|
+
### 2. Check for an existing config
|
|
50
|
+
|
|
51
|
+
Call `aide_info` and read `brain.status`.
|
|
52
|
+
|
|
53
|
+
- `no-brain-aide`: there is no config. The draft becomes the config at the end.
|
|
54
|
+
- Any other status: a config exists. Ask with `AskUserQuestion`:
|
|
55
|
+
- **Replace it.** Write the draft, then swap it in at step 7. The current file is kept as `.aide/config/brain.aide.bak`.
|
|
56
|
+
- **Write it beside.** Write the draft and stop at step 7, leaving `.aide/config/brain.aide.draft` for the user to swap in later.
|
|
57
|
+
|
|
58
|
+
If `.aide/config/brain.aide.draft` already exists, ask whether to overwrite it or stop.
|
|
59
|
+
|
|
60
|
+
### 3. Read the contract
|
|
61
|
+
|
|
62
|
+
Call `aide_brain({ source: "contract" })`. Its `sections` are the work list, in order. Show the user how many sections there are and which are `live` and which are `seed`:
|
|
63
|
+
|
|
64
|
+
- **Live** sections are read at runtime by agents and by `/aide:brain config`: how to reach the brain, and how to wire it.
|
|
65
|
+
- **Seed** sections are written into the brain once, at their seed paths, the first time it is wired: the playbook, research and kanban guides the agents rely on.
|
|
66
|
+
|
|
67
|
+
### 4. Write the launcher
|
|
68
|
+
|
|
69
|
+
Call `aide_brain({ source: "template", kind: "launcher" })`. Show the user the `purpose` and the template's frontmatter, then write the draft's frontmatter for their backend:
|
|
70
|
+
|
|
71
|
+
- `name`: a short descriptive label for the brain.
|
|
72
|
+
- `mcpServerConfig`: `command` and `args` that start the backend's MCP server. Leave YAML `null` at the one `args` slot the brain's location fills; `/aide:brain config` fills it during wiring.
|
|
73
|
+
- The command is the backend's bare command name from a global install, never an absolute path and never a package runner such as npx, whose launches time out at session start. Run the backend's global-install check (for an npm package, `npm ls -g <package> --depth=0`). If it is missing, run the install (for an npm package, `npm i -g <package>`).
|
|
74
|
+
- **On a failed install,** tell the user plainly and stop before writing the draft: a launcher whose command is not installed cannot start.
|
|
75
|
+
- `kanban` (optional): include it only when the backend stores its kanban board as Markdown task notes in plain folders on disk, one folder per project with a subfolder per column. Then write `source: folder` and leave `path` as YAML `null`; `/aide:brain config` fills it with the absolute kanban folder during wiring. Any other backend (Notion, Jira, a wiki API) leaves `kanban` out: the observer then shows no board for it, which is expected.
|
|
76
|
+
- Add no other frontmatter field. Nothing reads one, and the parser rejects the retired ones.
|
|
77
|
+
|
|
78
|
+
Write the draft file with the frontmatter between its two `---` fences.
|
|
79
|
+
|
|
80
|
+
### 5. Write each section
|
|
81
|
+
|
|
82
|
+
For each section from step 3, in order:
|
|
83
|
+
|
|
84
|
+
1. Call `aide_brain({ source: "template", kind: <marker> })`.
|
|
85
|
+
2. Show the user the marker, the `purpose` and the template text. The template is a worked example for the bundled backend: its tool names, link syntax, file formats and board layout belong to that backend and do not carry over.
|
|
86
|
+
3. Write the section with the user so it fulfills its `purpose` on their backend: their tool names, entry points, link syntax, frontmatter and task format. For a **seed** section, also keep the structure the template's prose gives agents (the steps, the rules, what to read first), translated to the backend.
|
|
87
|
+
4. Confirm with the user, then append it to the draft between its two marker lines, `<!-- aide-<marker>-start -->` and `<!-- aide-<marker>-end -->` with the section's real marker name. Leave one blank line between sections.
|
|
88
|
+
|
|
89
|
+
### 6. Check the draft
|
|
90
|
+
|
|
91
|
+
Call `aide_brain({ source: "draft", path: ".aide/config/brain.aide.draft" })`.
|
|
92
|
+
|
|
93
|
+
- `valid`: go to step 7.
|
|
94
|
+
- `invalid`: show the `fault` and `instructions`, fix exactly what it names with the user, and check again.
|
|
95
|
+
- `absent` or `refused`: show `instructions` and fix the path.
|
|
96
|
+
|
|
97
|
+
### 7. Swap in or leave beside
|
|
98
|
+
|
|
99
|
+
- **No config existed:** rename `.aide/config/brain.aide.draft` to `.aide/config/brain.aide`.
|
|
100
|
+
- **Replace:** on the user's yes, rename the current `.aide/config/brain.aide` to `.aide/config/brain.aide.bak`, then rename the draft into its place.
|
|
101
|
+
- **Beside:** stop. Tell the user where the draft is, and that swapping it in means renaming it to `.aide/config/brain.aide` and then running `/aide:brain config`.
|
|
102
|
+
|
|
103
|
+
After a swap, call `aide_info` and confirm `brain.status` is no longer `no-brain-aide` or `brain-aide-invalid`. If `/aide:brain config` handed off here, return to it; it continues with validation and wiring. Otherwise tell the user to run `/aide:brain config`: it wires the brain location into the launcher, syncs `.mcp.json` and writes the seed sections into the brain.
|
|
104
|
+
|
|
105
|
+
## Adding missing sections to an existing config
|
|
106
|
+
|
|
107
|
+
`/aide:brain config` hands off here when a config written for another backend is missing contract sections (the upgrade tool answered `adapt` with the missing markers). This mode only adds those sections. It edits the live `.aide/config/brain.aide` in place, because the user already chose to repair it, and changes no other byte.
|
|
108
|
+
|
|
109
|
+
For each missing marker, one at a time:
|
|
110
|
+
|
|
111
|
+
1. Call `aide_brain({ source: "template", kind: <marker> })` and write the section with the user, as in step 5. Use the existing sections of their config as the guide to their backend's tool names and conventions.
|
|
112
|
+
2. Insert it with its two marker lines right after the end marker of the section that comes before it in contract order (from `aide_brain({ source: "contract" })`). Leave one blank line between sections and keep the file's line endings.
|
|
113
|
+
|
|
114
|
+
Then call `aide_info` and confirm `brain.status` is not `brain-aide-invalid`, and return to `/aide:brain config`.
|
|
115
|
+
|
|
116
|
+
## Anti-patterns
|
|
117
|
+
|
|
118
|
+
- Listing, restating or inventing the contract's sections or purposes instead of reading them from `aide_brain`.
|
|
119
|
+
- When writing a whole config, editing `.aide/config/brain.aide` before the draft checks `valid` and the user says yes.
|
|
120
|
+
- Copying the template's tool names, link syntax or board format into a section for another backend.
|
|
121
|
+
- Writing several sections before the user confirms the first.
|
|
122
|
+
- Running sync or seeding the brain yourself. `/aide:brain config` owns wiring and seeding.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aide-handoff
|
|
3
|
+
description: >
|
|
4
|
+
Record current pipeline state to `.aide/session.aide` — the
|
|
5
|
+
project-wide pipeline-position log that lets the next session (yours
|
|
6
|
+
or another agent's) resume from a known point. The file always
|
|
7
|
+
exists, starting as an empty placeholder; every handoff is an
|
|
8
|
+
UPDATE that writes whatever the agent has, with or without a task.
|
|
9
|
+
`session.aide` is always kept up to date as the agent works. This
|
|
10
|
+
skill is the orchestration layer: it gathers content from the
|
|
11
|
+
invoking agent's conversation context and delegates the actual
|
|
12
|
+
write to the `aide-spec-writer` agent in `session.aide` mode.
|
|
13
|
+
Invoke this skill when the user types `/aide:handoff`, asks to "save
|
|
14
|
+
the session" or "record where we are", and whenever anything changes
|
|
15
|
+
what `session.aide` says — a stage starts or completes, a decision
|
|
16
|
+
is settled, an invariant is added, a task moves, a release ships, or
|
|
17
|
+
work outside the pipeline changes the state or the next step. Never
|
|
18
|
+
end a turn or a session with `session.aide` behind. `session.aide`
|
|
19
|
+
is never deleted — when a feature closes, UPDATE it for the next
|
|
20
|
+
task.
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# /aide:handoff — Session Handoff
|
|
24
|
+
|
|
25
|
+
Record current pipeline state to `.aide/session.aide`. This skill owns the orchestration; the `aide-spec-writer` agent owns the actual file write (it transcribes orchestrator-supplied state into the canonical format). Nothing deletes `session.aide`; it is long-lived and rewritten as features close. See [session.aide spec](../../../.aide/docs/session-aide.md) for the file format.
|
|
26
|
+
|
|
27
|
+
## Hard constraints
|
|
28
|
+
|
|
29
|
+
- **You do NOT write `.aide/session.aide` yourself.** The actual file write belongs to `aide-spec-writer`. This skill describes the orchestration that surrounds the delegation.
|
|
30
|
+
- **You do NOT invent content.** The invoking agent (orchestrator or other) holds the conversation context — current stage, settled decisions, where work paused, anti-regression invariants. That context is the content source. Write what it supplies; leave the rest empty — never fabricate state, and never hold the write back for content you don't have.
|
|
31
|
+
- **You do NOT delete `.aide/session.aide`.** Nothing does. This skill is exclusively for create/update.
|
|
32
|
+
|
|
33
|
+
## Checklist
|
|
34
|
+
|
|
35
|
+
- [ ] **Make sure the file exists.** It always should — `aide_init` and the `/aide` boot create the empty placeholder with `aide_scaffold type=session`. If `.aide/session.aide` is missing anyway, call `aide_scaffold({ directory: ".", type: "session" })` first — the placeholder's single source; it never overwrites. Then continue.
|
|
36
|
+
- [ ] **Gather content from conversation context.** Every handoff is an UPDATE. Supply whatever you have, section by section:
|
|
37
|
+
- the change description (what happened)
|
|
38
|
+
- section-targeted edits, e.g. "fill the intent with: ...", "append decision #4: ...", "rewrite `## Where this cycle stopped` to: ..."
|
|
39
|
+
- numbered references to preserve (decision #N stays stable across edits)
|
|
40
|
+
- when a task was created, moved, finished, or newly tied to the work, the matching `## Kanban` edit
|
|
41
|
+
|
|
42
|
+
The first handoff after the placeholder fills in whatever is known: the one-line intent, the state summary, where the cycle stopped and the next steps, what is done, decisions, invariants, open questions. A missing piece is not a reason to wait. Write what you have now; empty sections stay empty until there is something true to put in them.
|
|
43
|
+
- [ ] **Keep it the full session record.** `session.aide` holds what was done, every decision, what is validated and what comes next, in full. A fresh agent reading only this file must know where everything stands. Stashing into the task through the `kanban` skill still happens alongside, but never in place of the detail here.
|
|
44
|
+
- [ ] **Link tasks when there are tasks.** Every task tied to the work goes into `## Kanban` by slug, column and what it covers. The slug is the stable link — the kanban skill finds the task by slug in whatever column it sits. Work with no task is still recorded: never hold a handoff back until a task exists. If it is trackable work, ask the user whether to create a task for it, and link it once it exists.
|
|
45
|
+
- [ ] **Delegate to `aide-spec-writer`** via the Agent tool (`subagent_type: aide-spec-writer`). The delegation prompt MUST:
|
|
46
|
+
- **Name the operation type explicitly** — `session.aide UPDATE`. The spec-writer's default operation is `.aide` frontmatter; naming the operation is mandatory for correct dispatch.
|
|
47
|
+
- **Quote all supplied content verbatim** — the spec-writer transcribes; it never invents.
|
|
48
|
+
- [ ] **Receive the verdict** — UPDATED. A REFUSED only means the prompt was ambiguous about which section an edit belongs to; clarify and re-delegate.
|
|
49
|
+
- [ ] **Confirm completion** and continue with whatever pipeline work was in flight before the handoff was invoked.
|
|
50
|
+
|
|
51
|
+
## What this skill does NOT do
|
|
52
|
+
|
|
53
|
+
- It does not interview the user. The invoking agent holds the conversation context; this skill only formats it into a delegation prompt for `aide-spec-writer`.
|
|
54
|
+
- It does not apply the Brevity Contract. `session.aide` is operational state, not durable intent — no caps on description, no word counts, no forbidden-content rules from the `.aide` body. The Brevity Contract is `.aide`-only.
|
|
55
|
+
- It does not delete `session.aide`. Nothing does — at feature close, UPDATE it for the next task.
|
|
56
|
+
- It does not bypass `aide-spec-writer`. The skill is the orchestration layer; the agent owns the file write. Calling `Write`/`Edit` on `.aide/session.aide` directly from this skill violates the delegation pattern.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aide-observer
|
|
3
|
+
description: >
|
|
4
|
+
Opens and keeps the observer session for an AIDE session: reports the
|
|
5
|
+
session start and the user's request, starts the observer (one per user
|
|
6
|
+
per machine), stops on a HALT when another session of the project is
|
|
7
|
+
open or a BLOCKED when the observer cannot start, gives the user the
|
|
8
|
+
link, and reports every pipeline action as it happens — pipelines,
|
|
9
|
+
phases, skips, gates, plan steps, QA verdicts, files, commits. The
|
|
10
|
+
observer is mandatory: it is the single source of truth for which
|
|
11
|
+
session works in a project. Run this skill FIRST in every /aide
|
|
12
|
+
session, before the `aide` skill, including when `aide` is invoked
|
|
13
|
+
directly, unless the user said not to observe this session. Its
|
|
14
|
+
reporting rules apply for the rest of the session.
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# aide-observer — the observer session
|
|
18
|
+
|
|
19
|
+
The observer is a local web page, one per user per machine, that shows every project's agent sessions live. It is the single source of truth for which session is working in a project, so it is not optional: a project has at most one open session at a time, and the session start is where that is checked.
|
|
20
|
+
|
|
21
|
+
This skill owns everything the agent does with the observer. The `aide` skill keeps no observer text; it relies on the rules below.
|
|
22
|
+
|
|
23
|
+
## Session start
|
|
24
|
+
|
|
25
|
+
Run these in order, one call at a time, before the `aide` skill's boot:
|
|
26
|
+
|
|
27
|
+
1. **Check the tools.** If `aide_observer_event` and `aide_observer_start` are not available, tell the user once that the observer tools are missing (the aide server is not loaded) and stop: nothing proceeds unobserved.
|
|
28
|
+
2. **Report the session start, alone.** Call `aide_observer_event` with `kind: "session_started"` and what you know: `projectRoot` (the project's absolute path) and `kanbanTag` (the `Kanban project tag:` line of the instructions file). Leave out anything you don't know. Do not report a brain folder: the observer finds the board from the `kanban` field of the project's own brain config. **Make this call on its own and read its reply before anything else** — never batch it with another call. The reply ends with `[observer-session <id>]`; that is this session's observer id, and the hook links your Claude session to it while the reply comes back.
|
|
29
|
+
3. **Report the user's request.** Call `aide_observer_event` with `kind: "prompt"` and the user's message in full.
|
|
30
|
+
4. **Start the observer.** Call `aide_observer_start` (no arguments). Its reply starts with one of:
|
|
31
|
+
- `Observer running at <link>` or `Observer already running at <link>` — keep the link and go on.
|
|
32
|
+
- `Observer not replaced: …` — an older observer is still serving; keep the link it names and go on.
|
|
33
|
+
- `REOPENED: …` — this conversation had ended earlier (it was closed, archived or ended) and nothing newer has worked the project since, so it is open again. Tell the user in one line that the session was reopened, keep the link on the next line and go on.
|
|
34
|
+
- `HALT: …` — another session of this project is open. **Hard stop.** See "HALT" below.
|
|
35
|
+
- `STOPPED: …` — this conversation had ended and cannot reopen: either a newer session has worked the project since, or another session ended it with the user's approval. **Hard stop, and no approval lifts it.** Tell the user, in plain words, which of the two it is, that nothing proceeds here, and that they should continue in a new session. Do not offer to end any session and do not call `aide_observer_start` again.
|
|
36
|
+
- `BLOCKED: …` — the observer could not start on any port (it names every port tried), or this ended conversation could not be reopened (it gives the reason). **Hard stop.** Tell the user the reason as given and stop. Nothing proceeds until the user fixes it and starts a new session.
|
|
37
|
+
5. **Give the user the link** once the `aide` skill's boot sequence is complete, in one line.
|
|
38
|
+
|
|
39
|
+
## HALT
|
|
40
|
+
|
|
41
|
+
A HALT reply names each open session of the project: its observer id (or `claude:<id>` for a Claude session that never reported), whether it is working or waiting on the user, how long it has been quiet ("maybe stuck" past 15 minutes), its last activity, and its pipeline and phase.
|
|
42
|
+
|
|
43
|
+
A HALT is the observer's view, not proof that the session is still running. A session whose transcript shows it closed no longer halts anyone, but a crash or force-kill leaves no such record, so a session can still look open after it is gone. Check each one before you tell the user anything about it.
|
|
44
|
+
|
|
45
|
+
1. Stop all other work. Do not run the `aide` skill's boot or touch any file.
|
|
46
|
+
2. **Find each session's Claude session id.** A `claude:<id>` line already names it. For an observer id, read the project's presence records: the `*.json` files in the `presence` folder of the project's runtime folder, whose name is the `p/<key>` part of the observer link (under `$AIDEMD_HOME` when it is set, else `~/.aidemd` on Windows, `~/Library/Application Support/aidemd` on macOS, `$XDG_STATE_HOME/aidemd` or `~/.local/state/aidemd` elsewhere). The record whose `sessionId` is the observer id gives `claudeSessionId`, its last hook (`hookEvent`, `at`) and its `transcriptPath`. Only read these files; never edit or delete them.
|
|
47
|
+
3. **Check whether that Claude session is really running,** with whatever the host gives you. In the Claude desktop app, list the sessions including archived ones and find the one in this project's folder whose last activity matches the presence `at`: `isRunning` and `isArchived` give its real state. In a terminal, look for a running `claude` process for this project and at when the transcript was last written. If nothing you can reach answers it, say you could not verify it, and never claim it is running.
|
|
48
|
+
4. Tell the user, in plain words, which session holds the project, what it was doing, its Claude session id, and what the check found: still running (and where), closed without reporting its end, or not verifiable.
|
|
49
|
+
5. Ask the user what to do: end that session, or close this one. Never decide for them, and never end a session because it looks quiet. A session the check found closed is safe to end; say so.
|
|
50
|
+
6. Only on the user's clear yes, call `aide_observer_end_session` with the id the HALT named: an observer id as written, or, for a `claude:<id>` line, the id without the `claude:` prefix. Ending only marks the session ended; it deletes nothing. It refuses your own session.
|
|
51
|
+
7. If it replies `not ended (<reason>)`, the mark could not be written: tell the user the reason, the HALT still stands, and try again only if the user says so.
|
|
52
|
+
8. After `ended` or `already ended`, call `aide_observer_start` again and handle its reply as in step 4 of the session start. A second HALT names whatever is still open.
|
|
53
|
+
|
|
54
|
+
If the user chooses to close this session, stop and say so.
|
|
55
|
+
|
|
56
|
+
## Reporting
|
|
57
|
+
|
|
58
|
+
Report each action through `aide_observer_event` as it happens. Every reply ends with `[observer-session <id>]`.
|
|
59
|
+
|
|
60
|
+
| When | Report |
|
|
61
|
+
|---|---|
|
|
62
|
+
| The user sends a message | `prompt` with the message in full |
|
|
63
|
+
| The session takes up a task — at boot or later, including one already In Progress that nothing moves | `task` with its slug, `picked`, and the column it is in |
|
|
64
|
+
| A task is moved on the board | `task` with its slug, `moved`, and the column it moved to |
|
|
65
|
+
| A feature pipeline starts or resumes | `pipeline_started` with the pipeline and the phase it starts at |
|
|
66
|
+
| A phase is passed over — the flow starts later than spec ("just plan it"), research or synthesize is skipped by routing, QA passes with no fix loop, or any other stage is not run | `phase_skipped` with the pipeline, the phase and a short reason |
|
|
67
|
+
| Before you delegate to a pipeline agent | `phase_started` with the pipeline, the phase, the agent's name and the module |
|
|
68
|
+
| When it returns — including on failure or when you abandon it | `phase_finished` with the same pipeline, phase, agent and module, a short result and summary |
|
|
69
|
+
| You pause for the user's approval of a file (structure tree, spec, plan) | `gate_waiting` with the pipeline, the gate and the path of the file awaiting approval |
|
|
70
|
+
| The user answers | `gate_resolved` with the same pipeline, gate and file, and the resolution |
|
|
71
|
+
| An implementor checks off a plan step | `plan_step_checked` with the pipeline, the module, the step and the plan's step count |
|
|
72
|
+
| QA returns | `qa_verdict` with the pipeline, the module, `passed` or `issues`, and the open count |
|
|
73
|
+
| The pipeline is done (cleanup finished) or the user abandons it | `pipeline_finished` with the pipeline and `completed` or `abandoned` |
|
|
74
|
+
| You write or edit a file yourself (session record, prose) | `file_written` with its path, `created` or `updated` |
|
|
75
|
+
| A commit or release lands | `commit` with the sha and message, or `release` with the version |
|
|
76
|
+
| Something fails | `error` with the message, and the agent and module when known |
|
|
77
|
+
|
|
78
|
+
**Pipelines.** A pipeline is one feature flow run by the `/aide` orchestrator, from the stage it starts at to completion or abandonment, across every module it plans. Name it by its kanban task's slug; with no task, give it a short name and keep it for the whole flow. A later session that resumes the same task continues the same pipeline: report `pipeline_started` with the same name and the phase it resumes at — stages finished in earlier sessions show as done on their own. Every phase, gate, plan-step and QA report names its pipeline. Work you do by hand outside a pipeline (prose edits, a quick fix) names none: report its `file_written` and `commit` events only.
|
|
79
|
+
|
|
80
|
+
**Phases:** spec, research, synthesize, structure, plan, build, qa, fix, align, refactor, cleanup. Pair every `phase_started` with a `phase_finished`. Report spec as a phase, not only as a gate. The module is the folder the phase works on, as a project-relative path.
|
|
81
|
+
|
|
82
|
+
## When a report misses the observer
|
|
83
|
+
|
|
84
|
+
A report always lands in the session's own record first; a reply of `recorded; observer not running` means only the live page missed it.
|
|
85
|
+
|
|
86
|
+
- On the first such reply in a run of misses, call `aide_observer_start` once. If it brings the observer back, carry on; the next report that gets through resets the run.
|
|
87
|
+
- If that restart replies `BLOCKED: …`, stop: tell the user the reason and that nothing proceeds unobserved. Do not try again on your own.
|
|
88
|
+
- Never retry a report, never wait on one, and never stop because one report missed a running observer.
|
|
89
|
+
|
|
90
|
+
A reply that ends `; previously ended: run aide_observer_start before anything else` means this conversation had ended (it was closed or archived and has now been resumed). The report was still recorded. Call `aide_observer_start` before anything else and act on its reply as in step 4 of the session start: `REOPENED` carries on, `HALT` and `STOPPED` stop.
|
|
91
|
+
|
|
92
|
+
## Not observing a session
|
|
93
|
+
|
|
94
|
+
If the user says not to observe this session, make no further reporting calls for the rest of it. The session start (steps 1–4 above) still runs, because the one-open-session check protects the project; say so if the user asks to skip it too, and follow their answer.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: brain
|
|
3
|
+
description: >
|
|
4
|
+
Signpost to the brain — an external, team-shareable knowledge store that
|
|
5
|
+
holds context too durable for the repo and too cross-project for any single
|
|
6
|
+
codebase (domain research, coding playbook, project history, journal,
|
|
7
|
+
environment, identity, references). When the current task needs knowledge
|
|
8
|
+
that isn't in the working directory, or the user references shared knowledge
|
|
9
|
+
/ research / conventions, invoke the `/aide:brain` slash command and let it
|
|
10
|
+
discover and navigate the brain. This skill does NOT navigate the brain
|
|
11
|
+
itself. Do NOT trigger for coding conventions or patterns (use `study-playbook`
|
|
12
|
+
instead), for first-time brain wiring (that's `/aide:brain config`, which
|
|
13
|
+
`/aide` routes to directly) or for writing a brain config for another
|
|
14
|
+
backend (that's the `aide-brain-author` skill).
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# brain — Signpost to the Brain
|
|
18
|
+
|
|
19
|
+
Pointer skill. The brain interface lives in the `/aide:brain` slash command —
|
|
20
|
+
this skill exists so any agent that needs brain access discovers it.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## What the brain is
|
|
25
|
+
|
|
26
|
+
The brain is a knowledge store that lives **external to the project** and
|
|
27
|
+
**outside any single codebase**. It can be a personal store for one developer
|
|
28
|
+
or a shared store an entire team points at — when teammates wire their agents
|
|
29
|
+
to the same brain, every member's agent reads and writes against the same
|
|
30
|
+
playbook, research, project context, and conventions. That makes it the
|
|
31
|
+
authoritative source for anything the team has agreed on or learned, and the
|
|
32
|
+
place where new findings become reusable across projects and across people.
|
|
33
|
+
|
|
34
|
+
Typical contents: domain research, the coding playbook, project history and
|
|
35
|
+
context, journal logs, environment config, identity, references. AIDE's research
|
|
36
|
+
phase writes to it; the strategist and architect phases read from it; explorer
|
|
37
|
+
agents draw on it for context the code doesn't carry. The brain is a logical
|
|
38
|
+
surface — the underlying backend is an implementation detail the `/aide:brain`
|
|
39
|
+
command abstracts.
|
|
40
|
+
|
|
41
|
+
## When to invoke `/aide:brain`
|
|
42
|
+
|
|
43
|
+
Trigger when the current task needs knowledge that isn't in the working
|
|
44
|
+
directory:
|
|
45
|
+
|
|
46
|
+
- **Unfamiliar domain.** You're about to make a decision in a domain you have no
|
|
47
|
+
loaded context for (e.g. cold email tactics, local SEO scoring, a vendor API
|
|
48
|
+
quirk).
|
|
49
|
+
- **Shared context referenced.** The user says "check the brain," "what does
|
|
50
|
+
the team do for X," "we already researched this," or names a project /
|
|
51
|
+
research area / convention without giving you the file.
|
|
52
|
+
- **Saving findings.** You produced research, a decision, or a pattern the team
|
|
53
|
+
will need again — synthesis the brain should own, not the repo.
|
|
54
|
+
|
|
55
|
+
## What `/aide:brain` does
|
|
56
|
+
|
|
57
|
+
It discovers the brain's root navigation surface first — the brain owns its own
|
|
58
|
+
structure and navigation rules — then follows those rules to find and return
|
|
59
|
+
content (or write what it's been asked to save).
|
|
60
|
+
|
|
61
|
+
## When NOT to use this skill
|
|
62
|
+
|
|
63
|
+
- **Coding conventions, patterns, architecture decisions** — use `study-playbook`.
|
|
64
|
+
It's scoped to the playbook subset of the brain.
|
|
65
|
+
- **First-time brain wiring** — that's `/aide:brain config`, and `/aide` routes
|
|
66
|
+
to it directly when the brain isn't wired yet.
|
|
67
|
+
- **Web lookups, repo file searches, MCP memory** — the brain is the external
|
|
68
|
+
knowledge store wired to this project. Use the appropriate tool for those
|
|
69
|
+
other surfaces.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kanban
|
|
3
|
+
description: >
|
|
4
|
+
Work the project's kanban board kept in the brain: create, work, manage,
|
|
5
|
+
move, complete, stash and review tasks. Trigger when the user says
|
|
6
|
+
"/kanban", "add a task", "create a task", "what should I work on",
|
|
7
|
+
"move that task", "show the board", "stash context", "review the task",
|
|
8
|
+
or otherwise asks to track, pick up, move or finish a piece of project work
|
|
9
|
+
on the board.
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /kanban — Kanban Board
|
|
13
|
+
|
|
14
|
+
The tasks live in the brain, one folder per project with a subfolder per column — the folders are the board. The `kanban-maintainer` agent does every read and write of the tasks: it reads the kanban rules and the operation guides from the brain itself and reports back compactly. You talk to the user and decide; it finds and changes. If the agent isn't available, say so and stop — never edit the board another way.
|
|
15
|
+
|
|
16
|
+
Arguments name the operation and its input, e.g. `/kanban create "..."`. If no operation is given, ask the user which one.
|
|
17
|
+
|
|
18
|
+
- **Project tag.** Every request to the agent carries the project's tag. Look for it first in the project's instructions file (`CLAUDE.md`, `AGENTS.md` or your framework's equivalent), on a line reading `Kanban project tag: <tag>`. If there is no such line, ask the user which project the work is for, then add that line to the instructions file yourself and tell the user you recorded it, so no later session asks again. Never guess the tag.
|
|
19
|
+
- **Finding tasks.** Never list or search the project's tasks yourself. Ask the agent to LIST or FIND tasks: it reports each task's column, slug, priority, title, a short excerpt and its path. A single task is small — read it in full from that path whenever you need more than the excerpt.
|
|
20
|
+
- **Approve, then apply.** Before any change except a stash, show the user exactly what will change — which task moves from which column to which, or the new task's title, priority, type, description and column — and get a clear yes. Ask for anything missing first: a create needs a title and a priority (`p0` critical, `p1` high, `p2` low, `p3` lowest); a move needs a column (Backlog, Todo, In Progress, In Review, Done). Then send the agent an APPLY naming each change by slug, and tell the user what it reports.
|
|
21
|
+
- **create, move, complete** — approve, then APPLY. Move and complete act on the task this session is working on; name it by slug, and ask if it isn't clear. Complete goes to In Review, or to Done when the user asks.
|
|
22
|
+
- **manage** — have the agent LIST the open tasks and CHECK the cleanup rules, show both to the user, ask what to move and which cleanup items to apply, approve, then APPLY.
|
|
23
|
+
- **stash** — write the content yourself from the conversation, since only you have it: changes made, decisions and why, open questions, remaining work, gotchas. APPLY it into the session's task without asking first — a stash only appends a record of the session and moves or creates nothing. The agent formats and appends it; tell the user it was stashed.
|
|
24
|
+
- **work and review** — these plan, implement, test and fix, not just board work. Read the kanban index `kanban/kanban.md` from the brain, then only the guide it links for the operation, and follow it step by step. Every board or task change inside it still goes to the agent, approved as above (stashes excepted).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: study-playbook
|
|
3
|
+
description: >
|
|
4
|
+
Load relevant coding-playbook sections from the project's brain for the current task.
|
|
5
|
+
Use this skill whenever you need to look up coding conventions, patterns, or architecture
|
|
6
|
+
decisions before writing or reviewing code. Do NOT trigger for non-coding brain content.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /study-playbook — Load Coding Playbook Context
|
|
10
|
+
|
|
11
|
+
Call `aide_brain` once. Following the brain access instructions it returns, read `coding-playbook/study-playbook.md` and follow the navigation methodology it describes.
|