Skip to content

chore(server): name the daemon mirror table machine_space_state - #157

Merged
sanchitrk merged 1 commit into
canaryfrom
claude/machine-space-state
Nov 13, 2026
Merged

sanchitrk merged 1 commit into
canaryfrom
claude/machine-space-state

Conversation

@sanchitrk

@sanchitrk sanchitrk commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Renames the app server's mirror of space daemon events from space_state to machine_space_state: its rows are keyed by machine and space.

  • Changed in the single init migration, not in a new one: nothing is in production yet. A local app.db made by the current canary has to be deleted.
  • sync.ts (the follower's upsert) and skills.ts (projects.skills) read and write the new name; the schema artifact is regenerated (only the table's name and its place in the list change).

Verified: apps/server schema and mirror tests, vp check, vp run typecheck.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Its rows are keyed by machine and space, like the other per-machine tables.
Edited in the single init migration, as nothing is in production yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sanchitrk
sanchitrk merged commit 50ef80e into canary Nov 13, 2026
1 check passed
@sanchitrk
sanchitrk deleted the claude/machine-space-state branch November 13, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant