Skip to content

chore: remove all backwards-compatibility shims (#732) - #841

Merged
hekataion merged 1 commit into
mainfrom
chore/732-removal-sweep
Jul 24, 2026
Merged

chore: remove all backwards-compatibility shims (#732)#841
hekataion merged 1 commit into
mainfrom
chore/732-removal-sweep

Conversation

@hekataion

Copy link
Copy Markdown
Collaborator

Summary

With no external installs yet (only bardo, fully upgraded), the backwards-compat inventory serves no purpose. Clean slate for public release: remove everything rather than tag it for future removal.

~1000 lines deleted.

Legacy CLI aliases — deleted

  • seed.ts, sprout.ts, variant.ts
  • sleep/wake/seed/sprout legacy dispatch from mind.ts
  • Deprecated install/uninstall from service.ts

Protocol/config shims — removed

  • X-Volute-SessionX-Volute-Thread header compat
  • Deprecated channel schedule field
  • migrate-thread-config.ts (whole file)
  • Legacy /configure endpoint
  • Legacy body.accept upgrade path
  • Legacy session + from_id/to_id range path

Startup migrations — deleted

  • migrateConfigSecrets, migrateSetupCompleted
  • migrateAiModelQualification
  • migrate-thread-config.ts, migrate-name-placeholder.ts, migrate-init-infrastructure.ts

One deliberate skip

schema.ts null-parent fallback (target_mind ?? mind) — requires a DB migration to make the column NOT NULL and touches active redrive code. Flagged for future cleanup.

Verification

  • Typecheck clean
  • svelte-check clean (0 errors)
  • All tests pass (3230 — fewer because we deleted compat tests)
  • No dangling references

Fixes #732

🤖 Generated with Claude Code

With no external installs yet, the compat inventory serves no purpose. Clean
slate for public release: remove every shim rather than tag them for removal.

## Legacy CLI aliases
- Delete seed.ts, sprout.ts, variant.ts
- Remove sleep/wake/seed/sprout legacy dispatch from mind.ts
- Remove deprecated install/uninstall from service.ts
- Remove dangling variant case from cli.ts and cli-remote.ts

## Protocol/config shims
- Remove X-Volute-Session→X-Volute-Thread header compat (auth.ts)
- Remove deprecated channel schedule field (volute-config.ts, schedules.ts)
- Delete migrate-thread-config.ts + test
- Remove legacy /configure endpoint (setup.ts) + tests
- Remove legacy body.accept upgrade path (minds.ts)
- Remove legacy session+from_id/to_id range path (minds.ts)
- Clean up corresponding frontend legacy branches

## Startup migrations
- Remove migrateConfigSecrets, migrateSetupCompleted (setup.ts)
- Remove migrateAiModelQualification (ai-service.ts)
- Delete migrate-thread-config.ts, migrate-name-placeholder.ts,
  migrate-init-infrastructure.ts + tests
- Remove their calls from daemon.ts

One deliberate skip: schema.ts null-parent fallback requires a DB migration
and touches active redrive code; flagged for a future cleanup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the chore label Jul 23, 2026
@hekataion
hekataion enabled auto-merge (squash) July 24, 2026 15:16
@hekataion
hekataion merged commit 7a3e497 into main Jul 24, 2026
6 checks passed
@hekataion
hekataion deleted the chore/732-removal-sweep branch July 24, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: backwards-compat inventory — decide a removal horizon

2 participants