|
|
e4b7ee98a5
|
step 5 (partial): strip dropped packages from production code
Removed all references to dropped packages in non-test code.
Zero dropped imports, store refs, or model types remaining.
Major removals:
- scheduler/ package (entire dir) — tasks moved to extension track
- taskutil/ package (entire dir)
- health/ package (entire dir) — provider/tool health
- sandbox/provider_module.go — provider.complete module
- handlers: workflow_entry, workflow_instances, workflow_forms,
workflow_assignments, workflow_monitor, health_admin (6 files)
- auth/session.go, middleware/session_auth.go
- store/{postgres,sqlite}/sessions.go, tasks.go
Rewrites:
- store/{postgres,sqlite}/health.go — kernel-only Prune
(ws_tickets, rate_limit_counters, stale presence)
- handlers/admin.go: 847→467 lines (stripped provider CRUD)
- handlers/teams.go: 520→411 lines (stripped model listing)
- sandbox/runner.go: removed ProviderResolver
- sandbox/workflow_module.go: 216→83 lines (definition-only)
- main.go: 1579→1325 lines (stripped dropped package init)
- pages/pages.go: stripped channel/session lookups
- events/types.go: stripped chat/channel/workspace event routes
- models: stripped stale types, constants, notification types
Store interface cleanup:
- Removed SessionStore, TaskStore from Stores struct
- Stripped workflow assignment methods from WorkflowStore iface
- Stripped assignment methods from PG+SQLite workflow stores
- Updated testhelper.go table list to kernel-only
Migrations: removed 008_tasks.sql (both dialects)
-9665/+69 lines across 51 files.
|
2026-03-26 04:56:07 -04:00 |
|
|
|
ebea16344c
|
step 4: fresh kernel-only migrations
Deleted all 23+23 old chat-switchboard migration files.
Wrote 9+9 clean kernel-only migrations in postgres/ and sqlite/ subdirs.
27 tables per dialect covering all 20 store interfaces:
001: users, refresh_tokens, policies, settings, presence, oidc
002: teams, team_members, groups, group_members
003: packages, package_user_settings, ext_permissions, ext_data_tables
004: ext_connections, ext_dependencies, resource_grants
005: notifications, notification_preferences
006: audit_log
007: workflows, workflow_stages, workflow_versions
008: tasks, task_runs
009: ws_tickets, rate_limit_counters
Dropped: providers, personas, channels, messages, knowledge, notes,
memory, workspaces, projects, folders, files, usage_log, tool_health,
workflow_assignments, ext_view_channels.
Schema changes vs old:
- pgvector extension removed (no KB embeddings)
- resource_grants: resource_type CHECK removed (open-ended)
- workflow_stages: persona_id kept as nullable TEXT (no FK)
- workflow_stages: stage_mode default=form_only, added custom
- tasks: dropped output_channel_id, provider_config_id columns
- tasks: task_type removed prompt, output_mode: notification|webhook|log
- task_runs: dropped channel_id
- platform_policies: kernel-only seeds
- global_settings: kernel-only seeds, site name=Switchboard Core
- Everyone group: kernel permissions (extension.use, workflow.submit)
-2815/+487 lines.
|
2026-03-25 20:22:02 -04:00 |
|
|
|
11fd8c1e57
|
step 1: rename module chat-switchboard → switchboard-core
- go.mod module name
- All 714 import references across 289 Go files
- VERSION: 0.1.0
- CI DB names: switchboard_core_{ci,dev,test}
- Docker image: gobha/switchboard-core
- Test fixtures: JWT issuer, repo names
- .env.example, docker-compose container name
- Compiles clean (go build exit 0)
|
2026-03-25 19:48:04 -04:00 |
|
|
|
2136535176
|
V0.38.2 library packages (#235)
Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
|
2026-03-25 14:09:05 +00:00 |
|
|
|
6943c91f40
|
Changeset 0.38.1 (#234)
Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
|
2026-03-25 11:13:12 +00:00 |
|
|
|
b7746c3004
|
Changeset 0.37.14 (#226)
Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
|
2026-03-23 16:47:48 +00:00 |
|
|
|
bf8082e69f
|
Changeset 0.35.0 (#209)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-20 09:59:53 +00:00 |
|
|
|
d16bb93177
|
Changeset 0.34.0 (#208)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-20 00:02:37 +00:00 |
|
|
|
b1266b0d7c
|
Changeset 0.32.0 (#206)
|
2026-03-19 18:50:27 +00:00 |
|
|
|
6668e546fe
|
Changeset 0.31.2 (#205)
|
2026-03-19 13:29:27 +00:00 |
|
|
|
7b0b6eb061
|
Changeset 0.30.2 (#201)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-18 15:10:11 +00:00 |
|
|
|
7d14e6a439
|
Changeset 0.30.0 (#199)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-18 12:06:55 +00:00 |
|
|
|
7f191e18cd
|
Changeset 0.29.3 (#198)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-18 00:15:18 +00:00 |
|
|
|
115004a3ab
|
Changeset 0.29.2 (#197)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
|
2026-03-17 22:31:34 +00:00 |
|
|
|
5d637d3a90
|
Changeset 0.29.0 (#195)
|
2026-03-17 16:28:47 +00:00 |
|
|
|
128cbb8174
|
Changeset 0.28.8 (#194)
|
2026-03-15 23:43:36 +00:00 |
|
|
|
3237d55e0c
|
Changeset 0.28.7 (#193)
|
2026-03-15 15:45:00 +00:00 |
|
|
|
bffda043db
|
Changeset 0.28.6 (#192)
|
2026-03-15 01:33:38 +00:00 |
|
|
|
aa870f1040
|
Changeset 0.28.0.8 (#180)
|
2026-03-12 22:49:35 +00:00 |
|
|
|
8e08f3e4b0
|
Changeset 0.28.0.2 (#174)
|
2026-03-11 19:41:04 +00:00 |
|
|
|
58313f7e31
|
Changeset 0.28.0.1 (#173)
|
2026-03-11 14:45:37 +00:00 |
|
|
|
93c72daadf
|
Changeset 0.28.0 (#172)
|
2026-03-11 11:22:38 +00:00 |
|
|
|
a46ec63464
|
Changeset 0.27.3 (#170)
|
2026-03-11 09:12:57 +00:00 |
|
|
|
e4efe6b934
|
Changeset 0.27.1.1 (#168)
|
2026-03-10 21:19:48 +00:00 |
|
|
|
400f7dd176
|
Changeset 0.26.0 (#165)
|
2026-03-10 13:38:01 +00:00 |
|
|
|
2b01d540d6
|
Changeset 0.25.0 (#160)
|
2026-03-08 16:54:17 +00:00 |
|
|
|
937be26578
|
Changeset 0.24.3 (#159)
|
2026-03-07 20:49:23 +00:00 |
|
|
|
ea082e2016
|
Changeset 0.24.2 (#158)
|
2026-03-07 19:58:43 +00:00 |
|
|
|
b6cc4df6e7
|
Changeset 0.24.1 (#157)
|
2026-03-07 17:11:32 +00:00 |
|
|
|
a63728a481
|
Changeset 0.24.0 (#156)
|
2026-03-07 11:27:24 +00:00 |
|
|
|
2dc4514a57
|
Changeset 0.23.2 (#155)
|
2026-03-06 23:17:03 +00:00 |
|
|
|
4c6555cb06
|
Changeset 0.23.1 (#154)
|
2026-03-06 13:26:25 +00:00 |
|
|
|
2fc620e1ac
|
Changeset 0.23.0 (#153)
|
2026-03-05 22:40:26 +00:00 |
|
|
|
7e26a2a261
|
Changeset 0.22.8 (#150)
|
2026-03-04 16:06:12 +00:00 |
|
|
|
3953dcf364
|
Changeset 0.22.4 (#146)
|
2026-03-02 22:16:08 +00:00 |
|
|
|
a44c768741
|
Changeset 0.22.2 (#96)
|
2026-03-02 10:31:18 +00:00 |
|
|
|
06c4e2a5a1
|
Changeset 0.22.0.1 (#94)
|
2026-03-02 01:55:19 +00:00 |
|
|
|
d67cfd37c2
|
Changeset 0.21.4 (#90)
|
2026-03-01 19:42:22 +00:00 |
|
|
|
c5159538ce
|
Changeset 0.21.2 (#88)
|
2026-03-01 17:45:50 +00:00 |
|
|
|
09c7281552
|
Changeset 0.21.1.1 (#87)
|
2026-03-01 16:40:26 +00:00 |
|
|
|
70aa78e486
|
Changeset 0.21.1 (#86)
|
2026-03-01 14:44:55 +00:00 |
|
|
|
817062e5fc
|
Changeset 0.20.0 (#85)
|
2026-03-01 12:40:15 +00:00 |
|
|
|
748f49bedd
|
Changeset 0.19.0.1 (#82)
|
2026-02-28 23:46:23 +00:00 |
|
|
|
e4a943b03e
|
Changeset 0.18.0 (#79)
|
2026-02-28 18:24:19 +00:00 |
|
|
|
12e316c234
|
Changeset 0.17.3 (#78)
|
2026-02-28 15:20:23 +00:00 |
|
|
|
856dc9b0ac
|
Changeset 0.17.1 (#76)
|
2026-02-28 01:40:31 +00:00 |
|
|
|
c9141a6896
|
Changeset 0.17.0 (#75)
|
2026-02-27 16:25:39 +00:00 |
|
|
|
8bb77710b9
|
Changeset 0.16.0 (#74)
|
2026-02-27 02:38:35 +00:00 |
|
|
|
2d79ff593b
|
Changeset 0.15.0 (#71)
|
2026-02-26 21:19:55 +00:00 |
|
|
|
e2149e249d
|
Changeset 0.14.0 (#67)
|
2026-02-26 15:59:26 +00:00 |
|