DOB-5: Delete config/*.json + Dockerfile / build context cleanup #797
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
charles/claude-hooks#797
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As a maintainer, I want every
config/*.jsonfile removed from the repo (and from the Docker image build context), so that the file tree mirrors the runtime contract — no factory-image JSON exists, the DB is the only source of truth, the image is leaner.This is the visible-from-
lscleanup. By the time this ships, no code reads these files (DOB-4) and no tests fixture-load them either.Acceptance criteria
Files removed
git rm config/agents.json config/service.json config/labels.json config/mcp-builtin.json config/mcp-builtin-defs.json config/mcp-builtin-locks.json config/marketplaces-builtin.json config/recommended-catalog.json config/starter-packs.json. (Alsoconfig/agents.json.pre-f1.bak— it's an old migration receipt no longer relevant.)config/directory empty post-PR —rmdirit.Dockerfile
COPY config/ /app/config/(or equivalent path-by-path) lines.config/from.dockerignorewhitelisting if it was carving out a copy path.Loose ends
grep -r 'config/.*\\.json' apps/ packages/ Dockerfile justfile README.md docs/returns zero hits (or only documentation references that explicitly note the files are gone).docs/configuration.mdrewritten: the section that listsconfig/*.jsonfiles is replaced with "All operator config lives in the DB; first-login wizard seeds the minimum, dashboard CRUD edits everything thereafter."CLAUDE.mdupdates: any boot-path commentary that mentionsagents.json/service.jsonis corrected.config/paths are updated or removed.Tests
Out of scope
~/.config/claude-hooks/host-state paths (claude-credentials, penpot-token, agent-env, etc.) — those aren't factory image, they're operator state.References
specs/config-to-db.md§ Maximalist option (the "drop the file entirely" branch deferred from SVC-4 / AT-5).🤖 Auto-assigned to code-lead (heuristic: area:infra + body mentions systemd/docker/reconcile — code-lead (architecture)). Reply
/unassignto reroute.