110f128661
Fix workflow entry token resolution and fieldset submit guard
...
RenderWorkflow() was passing the route param (instance ID) as the
entry token to the template JS. The advance API needs the actual
entry token from the instance. Now resolves from inst.EntryToken
and checks the ?token= query param from the landing page redirect.
Also fix submitForm() early-return guard that blocked progressive
forms using fieldsets (checked FORM_TPL.fields but not .fieldsets).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 22:21:38 +00:00
5279227732
Workflow independence audit, store tests, InstallPackage decomposition
...
Fix RenderWorkflow() handler (was a stub that never loaded data),
remove dead chat UI from workflow.html, align stage mode naming
with Go constants, add 17 SQLite store tests, decompose 400-line
InstallPackage into 7 phases, add E2E workflow-without-chat test.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-02 22:08:46 +00:00
e02b13dc12
Feat v0.7.6 code hygiene ( #60 )
...
CI/CD / e2e-smoke (push) Has been skipped
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-runners (push) Has been skipped
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m48s
CI/CD / build-and-deploy (push) Successful in 25s
CI/CD / test-sqlite (push) Successful in 2m55s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-04-02 17:39:41 +00:00
e7d1b53ebf
Feat v0.6.17 bugfixes ( #52 )
...
CI/CD / detect-changes (push) Successful in 16s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Failing after 2m54s
CI/CD / test-sqlite (push) Failing after 3m7s
CI/CD / build-and-deploy (push) Has been skipped
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-04-01 16:36:43 +00:00
680ec3b897
Feat rebrand armature ( #43 )
...
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m34s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / build-and-deploy (push) Successful in 1m55s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-31 23:25:37 +00:00
81c28a50bf
Feat v0.6.5 renderer pipeline ( #40 )
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m48s
CI/CD / test-sqlite (push) Successful in 2m52s
CI/CD / build-and-deploy (push) Successful in 1m20s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-31 16:37:33 +00:00
3d4228f868
Feat v0.6.3 dead code sweep ( #38 )
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / test-go-pg (push) Successful in 2m47s
CI/CD / build-and-deploy (push) Successful in 26s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-31 12:37:47 +00:00
a887b4c78b
V0.6.2 docs openapi ( #37 )
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m46s
CI/CD / test-sqlite (push) Successful in 2m49s
CI/CD / build-and-deploy (push) Successful in 28s
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-31 12:01:51 +00:00
3cc3360624
Feat v0.2.5 ui polish dead code ( #9 )
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Failing after 5s
CI/CD / test-go-pg (push) Failing after 2m34s
CI/CD / test-sqlite (push) Successful in 2m39s
CI/CD / build-and-deploy (push) Has been skipped
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-27 14:16:36 +00:00
f4512071db
Feat default surface routing ( #4 )
...
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Failing after 2m17s
CI/CD / test-sqlite (push) Successful in 2m44s
CI/CD / build-and-deploy (push) Has been skipped
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-26 19:56:14 +00:00
ec750f4981
step 5 (complete): build clean, all tests pass
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Has been skipped
CI/CD / test-go-pg (push) Failing after 24s
CI/CD / test-sqlite (push) Successful in 2m37s
CI/CD / build-and-deploy (push) Has been skipped
Fix compilation:
- Add missing role constants (UserRoleUser/Admin, TeamRoleAdmin)
- Add missing ExtTier constants (browser, starlark, sidecar)
- Recreate PolicyStore interface + implementations (platform_policies table)
- Recreate handler helpers (getUserID, parsePagination, isDuplicateErr)
- Recreate Starlark type conversion helpers (jsonToStarlark, starlarkValueToGo)
- Add ParseSchemaVersion + RunSchemaMigrations stubs
- Fix sandbox/runner.go orphaned braces from deleted block
- Fix pages/loaders.go broken adminLoader (remove model roles code)
- Remove stale imports across 6 files
- Replace deleted AuthOrSession middleware with AuthOrRedirect (TODO v0.2.0)
Fix tests:
- Recreate test_helpers_test.go (testHarness, makeToken, seedInsertReturningID, decode)
- Remove broken test files: route_test.go, workflow_test.go, profile_test.go
- Remove stale sandbox/provider_module_test.go (imports deleted package)
- Remove stale notification memory test (references deleted feature)
- Fix events/bus_test.go expectations (chat routes removed)
Result: go build ./... clean, go test ./... all 8 packages pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:58:01 +00:00
c470037fb5
rebrand + purge orphaned frontend: Chat Switchboard → Switchboard Core
...
CI/CD / detect-changes (push) Successful in 23s
CI/CD / test-sqlite (push) Failing after 20s
CI/CD / test-frontend (push) Failing after 21s
CI/CD / test-go-pg (push) Failing after 38s
CI/CD / build-and-deploy (push) Has been skipped
Branding: bulk rename across 50+ files (Go, JS, CSS, HTML, YAML, JSON,
shell scripts). Fix Helm chart description and git repo URLs.
Fix test helper taglines.
Admin surface: strip 14 gutted tabs (providers, models, personas,
roles, knowledge, memory, tasks, health, routing, capabilities,
channels, dashboard, usage, stats). Collapse to 4 categories:
People, Workflows, System, Monitoring.
Settings surface: strip 11 gutted tabs (models, personas, providers,
roles, knowledge, memory, usage, workflows, tasks, data, gitkeys).
Keep: general, appearance, profile, teams, connections, notifications.
Team-admin surface: strip 5 gutted tabs (personas, providers,
knowledge, tasks, usage). Keep: members, groups, connections,
workflows, settings, activity.
Components: delete chat-pane/ (13 files, 1938 lines) and
notes-pane/ (10 files, 2381 lines).
main.go: remove stale Health.Prune maintenance goroutine.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 10:28:09 +00:00
45291860c5
steps 5-8: deep gut — purge chat/notes/projects/providers from code
...
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Failing after 6s
CI/CD / test-sqlite (push) Failing after 25s
CI/CD / test-go-pg (push) Failing after 26s
CI/CD / build-and-deploy (push) Has been skipped
main.go: remove ~300 lines of stale routes referencing deleted handlers
(channels, messages, folders, personas, notes, projects, memories,
models, providers, tasks, roles, usage, routing, capabilities, etc.)
Fix branding: "Chat Switchboard" → "Switchboard Core"
pages: remove chat/notes/projects surface manifests and templates
Keep: admin, settings, team-admin, workflow, workflow-landing
frontend: delete chat/, notes/, projects/ surface directories (19 files)
Delete 5 CSS files (4,144 lines): sw-chat-*, sw-notes-*, sw-projects-*
SDK: strip gutted API domains (594→287 lines), remove chatPane/notesPane
tests: remove integration_test.go (5,194 lines, broken imports to deleted
packages) and perm_enforcement_test.go (551 lines, depended on deleted
test helpers). Fix testmain_test.go (remove providers import).
openapi.yaml: replace 12,491-line stale spec with kernel auth stub.
Full ICD rebuild is Step 8 proper.
Auth (builtin, mTLS, OIDC) untouched throughout.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-26 09:47:32 +00:00
7b6e54d5b7
step 5 (complete): docs purge, fresh ARCHITECTURE + ROADMAP + CHANGELOG
...
Purged 29,966 lines of stale chat-switchboard documentation:
- 41 docs/ files (ICD specs, design docs, archive, workflow docs)
- 5 root MD files (CHANGESET, TURNOVER, ICD-DRIFT-AUDIT, etc.)
New documentation:
- docs/ARCHITECTURE.md — kernel components, design principles, data layer
- ROADMAP.md — v0.1.0 through v0.5.0 MVP with decision log
- CHANGELOG.md — fresh, starting from v0.1.0 fork
- README.md — rewritten for switchboard-core
Also in this commit:
- config.go: stripped 7 dropped fields, DB default → switchboard_core
- pages/loaders.go: stripped provider/model/notes/projects loaders
- pages/pages.go: stripped persona store lookup
- handlers/workflows.go: stripped persona tool grants
- main.go: stripped team provider routes, avatar routes
Production code: zero references to deleted packages, stores, or models.
-29,966/+352 lines across 73 files.
2026-03-26 05:10:40 -04:00
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
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
fe5894b6e2
V0.38.3 extension config sections ( #236 )
...
Co-authored-by: gobha <jasafpro@gmail.com >
Co-committed-by: gobha <jasafpro@gmail.com >
2026-03-25 16:38:38 +00:00
e0687d2ea6
Changeset 0.37.16 ( #228 )
2026-03-24 11:46:13 +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
aeda4fdd0c
Changeset 0.37.12 ( #224 )
...
Co-authored-by: gobha <jasafpro@gmail.com >
Co-committed-by: gobha <jasafpro@gmail.com >
2026-03-22 11:59:17 +00:00
b6152fbf5e
Changeset 0.37.7 ( #219 )
...
Co-authored-by: gobha <jasafpro@gmail.com >
Co-committed-by: gobha <jasafpro@gmail.com >
2026-03-21 18:37:39 +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
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
071dea8904
Changeset 0.31.0 ( #203 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-19 00:06:16 +00:00
5883cb50e2
Changeset 0.30.2 cs2 ( #202 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-18 18:05:58 +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
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
3237d55e0c
Changeset 0.28.7 ( #193 )
2026-03-15 15:45:00 +00:00
7e4f1581f2
Changeset 0.27.0 ( #166 )
2026-03-10 16:38:06 +00:00
400f7dd176
Changeset 0.26.0 ( #165 )
2026-03-10 13:38:01 +00:00
2f7a0fb027
Changeset 0.25.3 ( #163 )
2026-03-09 01:54:06 +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
b6cc4df6e7
Changeset 0.24.1 ( #157 )
2026-03-07 17:11:32 +00:00
7e26a2a261
Changeset 0.22.8 ( #150 )
2026-03-04 16:06:12 +00:00
389e47b0f9
Changeset 0.22.7 ( #149 )
2026-03-04 10:44:42 +00:00
d8e0664fa3
Changeset 0.22.6 ( #148 )
2026-03-03 13:12:13 +00:00
45fe965c32
Changeset 0.22.5 ( #147 )
...
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com >
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com >
2026-03-03 09:58:23 +00:00