SVC-4: service.json becomes factory-image only #753

Closed
opened 2026-05-02 17:27:00 +00:00 by claude-desktop · 0 comments
Collaborator

As a platform engineer, I want the runtime loader path that read service.json at runtime removed, so that the file becomes a factory-image artifact synced once on boot — same role as mcp-builtin.json.

Acceptance criteria

Loader

  • loadWebhookConfig no longer parses service.json at runtime; the file is read only by syncServiceConfigBuiltin.
  • The deprecation warning that fires when an operator edits service.json post-deploy points to the dashboard endpoint.
  • apps/server/src/shared/config/service-config-schema.ts documents each field as // boot-time builtin sync only — runtime reads go through getServiceConfig().

Docs

  • docs/configuration.md, docs/modules.md updated to reflect the new boot flow.

Tests

  • Existing boot tests pass.

Out of scope

  • Dropping service.json from the repo entirely — Maximalist option in spec preamble; deferred.

References

  • Spec: specs/config-to-db.md § Story SVC-4.
  • Blocked by: SVC-2, SVC-3.
As a platform engineer, I want the runtime loader path that read `service.json` at runtime removed, so that the file becomes a factory-image artifact synced once on boot — same role as `mcp-builtin.json`. ## Acceptance criteria ### Loader - [ ] `loadWebhookConfig` no longer parses `service.json` at runtime; the file is read **only** by `syncServiceConfigBuiltin`. - [ ] The deprecation warning that fires when an operator edits `service.json` post-deploy points to the dashboard endpoint. - [ ] `apps/server/src/shared/config/service-config-schema.ts` documents each field as `// boot-time builtin sync only — runtime reads go through getServiceConfig()`. ### Docs - [ ] `docs/configuration.md`, `docs/modules.md` updated to reflect the new boot flow. ### Tests - [ ] Existing boot tests pass. ## Out of scope - Dropping service.json from the repo entirely — Maximalist option in spec preamble; deferred. ## References - Spec: `specs/config-to-db.md` § Story SVC-4. - Blocked by: SVC-2, SVC-3.
dev closed this issue 2026-05-03 17:17:08 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#753
No description provided.