feat(KB-336): rename data directory from .kb to .fusion

- Rename data directory from .kb to .fusion across core, CLI, dashboard, and engine
- Update all path references in source files, tests, and CLI output
- Remove deprecated central-core infrastructure (central-core, central-db, central-integration)
- Remove obsolete test files (PlanningModeModal.test.tsx, ScheduleForm.test.tsx)
- Add changeset for the directory rename breaking change
This commit is contained in:
gsxdsm
2026-03-31 20:00:25 -07:00
parent 5ae3b1e891
commit 80ab88db3d
28 changed files with 116 additions and 108 deletions

View File

@@ -687,7 +687,7 @@ export async function runDashboard(port: number, opts: { paused?: boolean; dev?:
console.log(` ────────────────────────`);
console.log(` → http://localhost:${actualPort}`);
console.log();
console.log(` Tasks stored in .kb/tasks/`);
console.log(` Tasks stored in .fusion/tasks/`);
console.log(` Merge: AI-assisted (conflict resolution + commit messages)`);
if (opts.dev) {
console.log(` AI engine: ✗ disabled (dev mode)`);

View File

@@ -43,7 +43,7 @@ export async function runTaskCreate(descriptionArg?: string, attachFiles?: strin
if (task.dependencies.length > 0) {
console.log(` Dependencies: ${task.dependencies.join(", ")}`);
}
console.log(` Path: .kb/tasks/${task.id}/`);
console.log(` Path: .fusion/tasks/${task.id}/`);
if (attachFiles && attachFiles.length > 0) {
const { readFile } = await import("node:fs/promises");
@@ -241,7 +241,7 @@ export async function runTaskLogs(id: string, options: LogsOptions = {}) {
// Follow mode: watch for new entries
if (options.follow) {
const cwd = process.cwd();
const logPath = join(cwd, ".kb", "tasks", id, "agent.log");
const logPath = join(cwd, ".fusion", "tasks", id, "agent.log");
if (!existsSync(logPath)) {
console.log(`\n Waiting for log file to be created...`);
@@ -434,7 +434,7 @@ export async function runTaskAttach(id: string, filePath: string) {
console.log();
console.log(` ✓ Attached to ${id}: ${attachment.originalName}`);
console.log(` File: ${attachment.filename} (${sizeKB} KB)`);
console.log(` Path: .kb/tasks/${id}/attachments/${attachment.filename}`);
console.log(` Path: .fusion/tasks/${id}/attachments/${attachment.filename}`);
console.log();
}
@@ -477,7 +477,7 @@ export async function runTaskDuplicate(id: string) {
console.log();
console.log(` ✓ Duplicated ${id}${newTask.id}`);
console.log(` Path: .kb/tasks/${newTask.id}/`);
console.log(` Path: .fusion/tasks/${newTask.id}/`);
console.log();
}
@@ -509,7 +509,7 @@ export async function runTaskRefine(id: string, feedbackArg?: string) {
console.log(` ✓ Created refinement ${newTask.id} for ${id}`);
console.log(` Column: triage`);
console.log(` Dependency: ${id}`);
console.log(` Path: .kb/tasks/${newTask.id}/`);
console.log(` Path: .fusion/tasks/${newTask.id}/`);
console.log();
}
@@ -1463,7 +1463,7 @@ export async function runTaskPlan(initialPlanArg?: string, yesFlag = false): Pro
if (task.dependencies.length > 0) {
console.log(` Dependencies: ${task.dependencies.join(", ")}`);
}
console.log(` Path: .kb/tasks/${task.id}/`);
console.log(` Path: .fusion/tasks/${task.id}/`);
console.log();
} else {
console.log("\n Task creation cancelled.\n");