rebrand: sweep remaining switchboard refs + rename cookies/storage keys
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 3s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m40s
CI/CD / test-sqlite (pull_request) Successful in 2m45s
CI/CD / build-and-deploy (pull_request) Successful in 25s

- CSS headers (4 files): Switchboard Core → Armature
- Editor .mjs headers (8 files): Chat Switchboard → Armature
- SQL migration comments + seed data (20 files): Switchboard Core → Armature
- Webhook header: X-Switchboard-Event → X-Armature-Event
- Cookie: sb_token → arm_token (3 Go files + auth.js)
- localStorage: sb_auth → arm_auth (auth.js + 2 test runners)
- localStorage: switchboard_theme → armature_theme (theme.js + base.html)
- Debug engine filter: chatSwitchboard/switchboard/sb_ → armatureChat/armature/arm_
- JS export: switchboardTheme → armatureTheme (theme.mjs + code-editor.mjs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 23:11:38 +00:00
parent f0dd43144e
commit 0003e66e43
41 changed files with 58 additions and 58 deletions

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 001 Core
-- Armature — 001 Core
-- ==========================================
-- Users, auth, platform policies, global settings, presence, OIDC.
-- ==========================================
@@ -89,7 +89,7 @@ CREATE TABLE IF NOT EXISTS global_settings (
INSERT INTO global_settings (key, value) VALUES
('registration', '{"enabled": true}'::jsonb),
('site', '{"name": "Switchboard Core", "tagline": "Extension Platform"}'::jsonb),
('site', '{"name": "Armature", "tagline": "Extension Platform"}'::jsonb),
('banner', '{"enabled": false, "text": "", "bg": "#007a33", "fg": "#ffffff"}'::jsonb)
ON CONFLICT (key) DO NOTHING;

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 002 Teams & Access Control
-- Armature — 002 Teams & Access Control
-- ==========================================
CREATE TABLE IF NOT EXISTS teams (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 003 Packages & Extensions
-- Armature — 003 Packages & Extensions
-- ==========================================
CREATE TABLE IF NOT EXISTS packages (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 004 Connections & Dependencies
-- Armature — 004 Connections & Dependencies
-- ==========================================
CREATE TABLE IF NOT EXISTS ext_connections (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 005 Notifications
-- Armature — 005 Notifications
-- ==========================================
CREATE TABLE IF NOT EXISTS notifications (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 006 Audit
-- Armature — 006 Audit
-- ==========================================
CREATE TABLE IF NOT EXISTS audit_log (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 007 Workflows
-- Armature — 007 Workflows
-- ==========================================
-- Workflow definitions, stages, version snapshots.
-- v0.3.0: persona_id + history_mode dropped (chat vestiges).

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 009 Multi-Replica HA
-- Armature — 009 Multi-Replica HA
-- ==========================================
CREATE TABLE IF NOT EXISTS ws_tickets (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 011 Triggers & Scheduled Tasks
-- Armature — 011 Triggers & Scheduled Tasks
-- ==========================================
-- ── Extension Triggers (event + webhook) ──────

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 001 Core (SQLite)
-- Armature — 001 Core (SQLite)
-- ==========================================
PRAGMA journal_mode = WAL;
@@ -69,7 +69,7 @@ CREATE TABLE IF NOT EXISTS global_settings (
INSERT OR IGNORE INTO global_settings (key, value) VALUES
('registration', '{"enabled": true}'),
('site', '{"name": "Switchboard Core", "tagline": "Extension Platform"}'),
('site', '{"name": "Armature", "tagline": "Extension Platform"}'),
('banner', '{"enabled": false, "text": "", "bg": "#007a33", "fg": "#ffffff"}');
CREATE TABLE IF NOT EXISTS user_presence (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 002 Teams & Access Control (SQLite)
-- Armature — 002 Teams & Access Control (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS teams (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 003 Packages & Extensions (SQLite)
-- Armature — 003 Packages & Extensions (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS packages (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 004 Connections & Dependencies (SQLite)
-- Armature — 004 Connections & Dependencies (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS ext_connections (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 005 Notifications (SQLite)
-- Armature — 005 Notifications (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS notifications (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 006 Audit (SQLite)
-- Armature — 006 Audit (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS audit_log (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 007 Workflows (SQLite)
-- Armature — 007 Workflows (SQLite)
-- ==========================================
-- v0.3.0: persona_id + history_mode dropped (chat vestiges).
-- transition_rules → stage_config, stage_mode modernized.

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 009 Multi-Replica HA (SQLite)
-- Armature — 009 Multi-Replica HA (SQLite)
-- ==========================================
CREATE TABLE IF NOT EXISTS ws_tickets (

View File

@@ -1,5 +1,5 @@
-- ==========================================
-- Switchboard Core — 011 Triggers & Scheduled Tasks (SQLite)
-- Armature — 011 Triggers & Scheduled Tasks (SQLite)
-- ==========================================
-- ── Extension Triggers (event + webhook) ──────