Skip to content

Commit a4dd2ef

Browse files
Testclaude
andcommitted
fix: remove stale v1/ refs in source code and config
Found by post-restructure code review: - types.ts: update defaultAutoFlywheelConfig targetFiles to actual filenames - worktree-pool.ts: remove obsolete v1/node_modules exclusion from git clean - launch.json: update runtime path from v1/dist/ to dist/ - package.json: add HTML copy to build script (was manual-only) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5f71ae0 commit a4dd2ef

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.claude/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"version": "0.0.1",
33
"configurations": [
44
{
5-
"name": "cc-manager-v1",
5+
"name": "cc-manager",
66
"runtimeExecutable": "node",
7-
"runtimeArgs": ["v1/dist/index.js", "--repo", ".", "--workers", "5", "--port", "8080"],
7+
"runtimeArgs": ["dist/index.js", "--repo", ".", "--workers", "5", "--port", "8080"],
88
"port": 8080
99
}
1010
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"node": ">=20"
2323
},
2424
"scripts": {
25-
"build": "tsc",
25+
"build": "tsc && mkdir -p dist/web && cp src/web/index.html dist/web/index.html",
2626
"start": "node dist/index.js",
2727
"dev": "tsx src/index.ts",
2828
"test": "node --import tsx --test src/__tests__/*.test.ts",

src/types.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ export const defaultAutoFlywheelConfig: AutoFlywheelConfig = {
144144
minSuccessRate: 0.8,
145145
cooldownMinutes: 30,
146146
targetFiles: [
147-
"v1/src/types.ts",
148-
"v1/src/queue.ts",
149-
"v1/src/server.ts",
150-
"v1/src/worker.ts",
151-
"v1/src/routes.ts",
147+
"src/types.ts",
148+
"src/store.ts",
149+
"src/server.ts",
150+
"src/scheduler.ts",
151+
"src/agent-runner.ts",
152152
],
153153
};
154154

src/worktree-pool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class WorktreePool {
149149

150150
try {
151151
// Exclude node_modules from clean — we symlink it for build verification
152-
await this.gitIn(w.path, "clean", "-fdx", "-e", "node_modules", "-e", "v1/node_modules");
152+
await this.gitIn(w.path, "clean", "-fdx", "-e", "node_modules");
153153
} catch (err) {
154154
log("warn", "[pool] clean failed (non-fatal)", { worker: w.name, err: String(err) });
155155
}

0 commit comments

Comments
 (0)