diff --git a/docs/architecture/service-filesystem-boundary.json b/docs/architecture/service-filesystem-boundary.json index 9fdd4ff2..84e348ac 100644 --- a/docs/architecture/service-filesystem-boundary.json +++ b/docs/architecture/service-filesystem-boundary.json @@ -1,13 +1,7 @@ { "schemaVersion": 1, - "maximumEntries": 53, + "maximumEntries": 52, "entries": [ - { - "path": "server/src/services/activity-service.ts", - "category": "authoritative-persistence", - "owner": "#1186", - "rationale": "Coordination-state storage migration is tracked in issue #1186." - }, { "path": "server/src/services/agent-health-service.ts", "category": "authoritative-persistence", diff --git a/server/src/services/activity-service.ts b/server/src/services/activity-service.ts index 471895c8..76c78304 100644 --- a/server/src/services/activity-service.ts +++ b/server/src/services/activity-service.ts @@ -1,4 +1,3 @@ -import { mkdir } from 'fs/promises'; import { join } from 'path'; import { getDataDir } from '../utils/paths.js'; import type { ActivityRepository } from '../storage/interfaces.js'; @@ -95,11 +94,6 @@ export class ActivityService { } } - private async ensureDir() { - const dir = getDataDir(); - await mkdir(dir, { recursive: true }); - } - /** * Load all activities from storage (already sorted newest-first). */ @@ -250,7 +244,6 @@ export class ActivityService { return; } - await this.ensureDir(); // Fallback: no-op }