Repository Public
1// =============================================================================2// SP BOUCHER | SOFTWARE & RESEARCH3// ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4// =============================================================================5//6// PROJECT METADATA7// -----------------------------------------------------------------------------8// Project : Claude Remote / Codex Remote9// File : Packages/ClaudeRemoteKit/Sources/ClaudeRemoteTestSupport/Fixtures.swift10// Module : ClaudeRemoteTestSupport11// Repository : https://git.spboucher.ai/claude-remote-apple12// Project Website : https://claude.spboucher.ai13// Created : 2026-11-2914// Last Modified : 2026-11-2915//16// =============================================================================17// AUTHOR & PROFESSIONAL AFFILIATION18// =============================================================================19//20// Author : Simon-Pierre Boucher21// Position : Professor of Finance22// Institution : Université du Québec en Outaouais (UQO)23// Department : Département des sciences administratives24// Organization : SP Boucher25//26// Website : https://spboucher.ai27// Git : https://git.spboucher.ai28//29// =============================================================================30// OFFICIAL CONTACT DIRECTORY31// =============================================================================32//33// General : info@spboucher.ai34// Professional : contact@spboucher.ai35// Direct : simon@spboucher.ai36// Research : research@spboucher.ai37// Development : dev@spboucher.ai38// Support : support@spboucher.ai39// Security/Admin : admin@spboucher.ai40// Notifications : notifications@spboucher.ai41//42// Preferred Contact: support@spboucher.ai43//44// =============================================================================45// COPYRIGHT & INTELLECTUAL PROPERTY46// =============================================================================47//48// Copyright (c) 202649// Simon-Pierre Boucher50//51// All rights reserved where applicable.52//53// This file is governed by the applicable project license,54// copyright notices, institutional agreements and relevant law.55//56// Unless expressly authorized by the applicable license or57// rights holder, copying, redistribution, sublicensing,58// publication and commercial exploitation are not permitted.59//60// Existing third-party rights and notices remain unaffected.61//62// =============================================================================63// CONFIDENTIALITY & SECURITY64// =============================================================================65//66// Classification : Public67// Distribution : Public repository; use is governed by the project license68// Security Contact : admin@spboucher.ai69//70// Access to this source does not independently grant permission71// to redistribute or disclose confidential materials.72//73// Do not embed credentials, private keys, access tokens,74// certificates or confidential personal information.75//76// =============================================================================77// LICENSE & MAINTENANCE78// =============================================================================79//80// License : None specified (no license file in this repository)81// Maintainer : Simon-Pierre Boucher82// Technical Contact: dev@spboucher.ai83//84// =============================================================================85// END OF SP BOUCHER SOURCE HEADER86// =============================================================================8788import ClaudeRemoteModels89import Foundation9091/// Realistic payloads, shaped after the zod schemas in `packages/shared/src/{dto,wire}.ts`, the92/// server route modules and docs/NATIVE-API-CONTRACT.md. Timestamps use JavaScript's `toISOString()`.93public enum Fixtures {94 public static let sessionID = "6f1c2b7e-3a4d-4c5e-9f10-2b3c4d5e6f70"95 public static let projectID = "0b9d3a52-7c1e-4f0a-8d2b-5e6f7a8b9c0d"96 public static let taskID = "c2a1e0d9-8b7c-4a6f-9e5d-4c3b2a1f0e9d"97 public static let authSessionID = "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"98 public static let token = "crn_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"99 public static let token2 = "crn_BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"100101 public static let authStatusAnonymous = #"""102 {"setupRequired":false,"authenticated":false,"user":null,"methods":{"password":true,"passkeys":0,"totp":false},103 "csrfToken":null,"sessionExpiresAt":null,"branding":{"agent":"claude","productName":"Claude Remote","agentName":"Claude Code"}}104 """#105106 public static let authStatusSignedIn = #"""107 {"setupRequired":false,"authenticated":true,"user":{"id":"5d0c7f0e-1a2b-4c3d-8e4f-5a6b7c8d9e0f","username":"admin"},108 "methods":{"password":true,"passkeys":2,"totp":true},"csrfToken":null,"sessionExpiresAt":"2026-12-20T02:25:00.000Z",109 "branding":{"agent":"codex","productName":"Codex Remote","agentName":"Codex"}}110 """#111112 public static func nativeSession(token: String = Fixtures.token, secondFactor: Bool = true,113 tokenExpiresAt: String = "2099-01-01T01:00:00.000Z", expiresAt: String = "2099-01-31T00:00:00.000Z") -> String {114 #"{"id":"\#(authSessionID)","token":"\#(token)","tokenExpiresAt":"\#(tokenExpiresAt)","expiresAt":"\#(expiresAt)","secondFactor":\#(secondFactor)}"#115 }116117 public static func loginResponse(next: String = "done", totp: Bool = true, passkeys: Int = 1, token: String = Fixtures.token) -> String {118 #"{"next":"\#(next)","methods":{"totp":\#(totp),"passkeys":\#(passkeys)},"session":\#(nativeSession(token: token, secondFactor: next == "done"))}"#119 }120121 public static let devices = #"""122 [{"id":"11111111-2222-4333-8444-555555555555","kind":"passkey","label":"MacBook Pro","createdAt":"2026-11-01T10:00:00.000Z","lastUsedAt":"2026-11-19T22:10:00.000Z","current":false,"userAgent":null,"ip":null},123 {"id":"22222222-3333-4444-8555-666666666666","kind":"session","label":"Browser session","createdAt":"2026-11-19T08:00:00.000Z","lastUsedAt":"2026-11-20T01:00:00.000Z","current":false,"userAgent":"Mozilla/5.0 (Macintosh)","ip":"192.168.2.20"},124 {"id":"9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d","kind":"native","label":"iPhone de Simon","createdAt":"2026-11-20T02:00:00.000Z","lastUsedAt":"2026-11-20T02:20:00.000Z","current":true,"userAgent":null,"ip":"100.69.26.91","platform":"ios","model":"iPhone18,2","appVersion":"1.0.0","pushEnabled":true},125 {"id":"33333333-4444-4555-8666-777777777777","kind":"watch","label":"Future device","createdAt":"2026-11-20T02:00:00.000Z","lastUsedAt":null,"current":false,"userAgent":null,"ip":null}]126 """#127128 public static let passkeyRequestOptions = #"""129 {"options":{"challenge":"dGVzdC1jaGFsbGVuZ2UtMDEyMzQ1Njc4OWFiY2RlZg","rpId":"claude.spboucher.ai","timeout":60000,"userVerification":"required",130 "allowCredentials":[{"id":"Y3JlZC0wMDAwMDAwMDAwMDE","type":"public-key","transports":["internal","hybrid"]}]},"challengeToken":null}131 """#132133 public static let passkeyDiscoverableOptions = #"""134 {"options":{"challenge":"ZGlzY292ZXJhYmxlLWNoYWxsZW5nZS0wMDAwMDAwMQ","rpId":"claude.spboucher.ai","timeout":60000,"userVerification":"required","allowCredentials":[]},135 "challengeToken":"pct_0123456789abcdef0123456789abcdef"}136 """#137138 public static let passkeyCreationOptions = #"""139 {"challenge":"cmVnaXN0cmF0aW9uLWNoYWxsZW5nZS0wMDAwMDE","rp":{"name":"Claude Remote","id":"claude.spboucher.ai"},140 "user":{"id":"NWQwYzdmMGUtMWEyYg","name":"admin","displayName":"admin"},141 "pubKeyCredParams":[{"alg":-7,"type":"public-key"},{"alg":-257,"type":"public-key"}],"timeout":60000,"attestation":"none",142 "excludeCredentials":[{"id":"Y3JlZC0wMDAwMDAwMDAwMDE","type":"public-key"}],143 "authenticatorSelection":{"residentKey":"required","userVerification":"required","requireResidentKey":true},"extensions":{"credProps":true}}144 """#145146 public static let project = #"""147 {"id":"0b9d3a52-7c1e-4f0a-8d2b-5e6f7a8b9c0d","name":"claude-remote","description":"Remote control of Claude Code","rootLabel":"workspace","path":"claude-remote",148 "gitRemote":"gitsrv:srv/git/claude-remote.git","gitBranch":"main","gitDirty":true,"tags":["swift","ts"],"pinned":true,149 "settings":{"defaultKind":"claude","nested":{"a":[1,2.5,null,true]}},"activeSessions":2,"lastActivityAt":"2026-11-20T02:20:11.123Z","createdAt":"2026-11-10T09:00:00.000Z"}150 """#151152 public static let projectMinimal = #"""153 {"id":"1c0e4b63-8d2f-4a1b-9e3c-6f7a8b9c0d1e","name":"scratch","description":"","rootLabel":"workspace","path":"","gitRemote":null,"gitBranch":null,"gitDirty":null,154 "tags":[],"pinned":false,"settings":{},"activeSessions":0,"lastActivityAt":null,"createdAt":"2026-11-12T09:00:00Z"}155 """#156157 public static func session(id: String = Fixtures.sessionID, state: String = "RUNNING", kind: String = "claude", title: String = "Refactor auth",158 pinned: Bool = false, archived: Bool = false, lastActivityAt: String = "2026-11-20T02:24:59.500Z") -> String {159 #"""160 {"id":"\#(id)","projectId":"\#(projectID)","projectName":"claude-remote","kind":"\#(kind)","title":"\#(title)","state":"\#(state)","cwd":"apps/server",161 "pid":48213,"claudeConversationId":"5f2c1c1e-0d4b-4c57-9a55-3a1f8f3f2b10","pinned":\#(pinned),"archived":\#(archived),"attachedClients":1,"exitCode":null,162 "createdAt":"2026-11-20T01:00:00.000Z","lastActivityAt":"\#(lastActivityAt)","endedAt":null,"waitingReason":\#(state == "WAITING_FOR_INPUT" ? "\"Claude needs your permission\"" : "null")}163 """#164 }165166 public static let sessionStopped = #"""167 {"id":"7a2d3c8f-4b5e-4d6f-8a11-3c4d5e6f7a81","projectId":null,"projectName":null,"kind":"shell","title":"zsh","state":"STOPPED","cwd":"","pid":null,168 "claudeConversationId":null,"pinned":false,"archived":true,"attachedClients":0,"exitCode":130,"createdAt":"2026-11-18T01:00:00.000Z",169 "lastActivityAt":null,"endedAt":"2026-11-18T03:00:00.000Z","waitingReason":null}170 """#171172 public static let conversations = #"""173 [{"id":"5f2c1c1e-0d4b-4c57-9a55-3a1f8f3f2b10","summary":"Add native bearer sessions to the auth module","updatedAt":"2026-11-19T23:59:59.999Z","messageCount":42}]174 """#175176 public static let fileEntries = #"""177 [{"name":"src","path":"src","type":"dir","size":0,"mtimeMs":1795000000000},178 {"name":"README.md","path":"README.md","type":"file","size":2048,"mtimeMs":1795000123456.789,"binary":false},179 {"name":"logo.png","path":"logo.png","type":"file","size":4294967296,"mtimeMs":1795000000001,"binary":true},180 {"name":"current","path":"current","type":"symlink","size":12,"mtimeMs":1795000000002},181 {"name":"pipe","path":"pipe","type":"fifo","size":0,"mtimeMs":1795000000003}]182 """#183184 public static let fileContent = #"""185 {"path":"README.md","size":14,"mtimeMs":1795000123456,"sha256":"3a6eb0790f39ac87c94f3856b2dd2c5d110e6811602261a9a923d3bb23adc8b7","encoding":"utf8","content":"# Hello\n\nworld\n"}186 """#187188 public static let searchHits = #"""189 [{"path":"src/index.ts","line":12,"preview":"export const hello = 'world';"},{"path":"docs/hello.md","line":null,"preview":null}]190 """#191192 public static let gitStatus = #"""193 {"isRepo":true,"branch":"main","ahead":1,"behind":0,"files":[{"path":"README.md","index":" ","worktree":"M"},{"path":"new.txt","index":"?","worktree":"?"}]}194 """#195196 public static func task(id: String = Fixtures.taskID, state: String = "RUNNING", idempotent: Bool = true, createdAt: String = "2026-11-20T02:00:00.000Z") -> String {197 #"""198 {"id":"\#(id)","projectId":"\#(projectID)","title":"Run tests","command":"pnpm test","host":"local","cwd":"","state":"\#(state)","exitCode":\#(state == "FAILED" ? "1" : "null"),199 "timeoutSec":3600,"retryOf":null,"idempotent":\#(idempotent),"createdAt":"\#(createdAt)","startedAt":"2026-11-20T02:00:01.000Z","endedAt":null,200 "logBytes":18234,"cpuSec":12.5,"maxRssMb":512.25,201 "artifacts":[{"id":"e1d2c3b4-a596-4877-8695-a4b3c2d1e0f9","name":"report.html","size":10240,"createdAt":"2026-11-20T02:05:00.000Z"}]}202 """#203 }204205 public static let clusterNode = #"""206 {"id":"M5M36","model":"Mac Studio","chip":"Apple M5 Max","kind":"mac","role":"operator","cpuCores":18,"gpuCores":40,"memoryMb":36864,"os":"macOS 27.0",207 "health":"ONLINE","metricsAt":"2026-11-20T02:24:30.000Z","stale":false,"cpuPct":23.5,"memUsedMb":18000,"diskFreeGb":412.3,"diskTotalGb":926,"load1":2.14,208 "apps":["claude-remote","codex-remote"],"execAllowed":true,"isHost":true,"gpuPct":4,"thermal":"nominal","uptimeSec":864000,"netInKbs":120.5,"netOutKbs":88,209 "appStats":{"total":2,"up":2,"degraded":0,"down":0}}210 """#211212 /// A node from an older telemetry source: no extended fields, unknown kind, stale metrics.213 public static let clusterNodeLegacy = #"""214 {"id":"BHS64","model":null,"chip":null,"kind":"gateway","role":null,"cpuCores":null,"gpuCores":null,"memoryMb":null,"os":null,"health":"UNKNOWN","metricsAt":null,215 "stale":true,"cpuPct":null,"memUsedMb":null,"diskFreeGb":null,"diskTotalGb":null,"load1":null,"apps":[],"execAllowed":false,"isHost":false}216 """#217218 public static var clusterOverview: String {219 #"""220 {"source":"agentd","collectedAt":"2026-11-20T02:24:30.000Z","health":"DEGRADED","nodes":[\#(clusterNode),\#(clusterNodeLegacy)],221 "edges":[{"from":"M5M36","to":"BHS64","kind":"tunnel"},{"from":"M5M36","to":"M1M32","kind":"lan"},{"from":"a","to":"b","kind":"quantum"}],222 "totals":{"nodes":29,"online":28,"cores":401,"memoryGb":1068},223 "aggregate":{"cpuPct":12.5,"memPct":40.1,"memUsedGb":428.2,"memTotalGb":1068,"gpuPct":null,"netInKbs":1200,"netOutKbs":900},224 "apps":{"total":31,"up":30,"degraded":1,"down":0},"incidents":{"critical":0,"warning":1,"total":1},"agentVersion":"3.1.2"}225 """#226 }227228 public static let clusterOverviewNone = #"""229 {"source":"none","collectedAt":null,"health":"UNKNOWN","nodes":[],"edges":[],"totals":{"nodes":0,"online":0,"cores":0,"memoryGb":0}}230 """#231232 public static let clusterApps = #"""233 {"source":"agentd","collectedAt":"2026-11-20T02:24:30.000Z","summary":{"total":2,"up":1,"degraded":1,"down":0},234 "apps":[{"id":"claude-remote","label":"Claude Remote","node":"M5M36","domain":"claude.spboucher.ai","port":8620,"state":"up","reason":null,"deployedAt":"2026-11-17T12:00:00Z",235 "uptime24hPct":100,"cpuPct":1.5,"memMb":310.5,"latencyMs":42,"processes":2},236 {"id":"sp-mail","label":"SP Mail","node":null,"domain":null,"port":null,"state":"unknown","reason":"probe timeout","deployedAt":null,237 "uptime24hPct":null,"cpuPct":null,"memMb":null,"latencyMs":null,"processes":0}]}238 """#239240 public static let clusterIncidents = #"""241 [{"id":"inc-1","severity":"warning","kind":"disk","subject":"m2m8a","title":"Disk almost full","detail":"7 GB free","since":"2026-11-19T20:00:00.000Z","acked":false},242 {"id":"inc-2","severity":"fatal","kind":"x","subject":"y","title":"z","detail":null,"since":null,"acked":true}]243 """#244245 public static let clusterTrend = #"""246 {"source":"agentd","points":[{"at":"2026-11-20T02:23:00.000Z","cpuPct":11,"memPct":40,"gpuPct":null,"netInKbs":1000,"netOutKbs":800},247 {"at":"2026-11-20T02:24:00.000Z","cpuPct":12.5,"memPct":40.1,"gpuPct":2,"netInKbs":null,"netOutKbs":null}]}248 """#249250 public static var clusterNodeDetail: String {251 #"{"node":\#(clusterNode),"history":[{"at":"2026-11-20T02:23:00.000Z","online":true,"cpuPct":20,"memUsedMb":17900,"diskFreeGb":412.4,"load1":2.0},{"at":"2026-11-20T02:24:00.000Z","online":false,"cpuPct":null,"memUsedMb":null,"diskFreeGb":null,"load1":null}]}"#252 }253254 public static let clusterMetrics = #"""255 {"since":"2026-11-20T01:25:00.000Z","series":{"M5M36":[{"at":"2026-11-20T02:23:00.000Z","online":true,"cpuPct":20,"memUsedMb":17900,"diskFreeGb":412.4,"load1":2.0}],"m4mm":[]}}256 """#257258 public static let localModels = #"""259 [{"id":"qwen3-30b","name":"Qwen3 30B A3B","host":"m4mm","engine":"mlx","endpoint":"m4mm:8001","health":"ONLINE","checkedAt":"2026-11-20T02:20:00.000Z","latencyMs":850,"tokensPerSec":61.3},260 {"id":"idle","name":"Idle model","host":"m4mn","engine":null,"endpoint":"m4mn:8002","health":"UNKNOWN","checkedAt":null,"latencyMs":null,"tokensPerSec":null}]261 """#262263 public static let modelTest = #"{"ok":true,"checkedAt":"2026-11-20T02:25:00.000Z","latencyMs":912,"tokensPerSec":58.4,"error":null}"#264265 public static let skills = #"""266 [{"name":"code-review","description":"Review the current diff","source":"user","kind":"skill","version":"1.2.0","location":"~/.claude/skills/code-review","enabled":true,"updateAvailable":null},267 {"name":"deploy","description":"Deploy with mld","source":"project","kind":"command","version":null,"location":".claude/commands/deploy.md","enabled":false,"updateAvailable":false},268 {"name":"x","description":"","source":"marketplace","kind":"hook","version":null,"location":"?","enabled":true,"updateAvailable":true}]269 """#270271 public static let mcpServers = #"""272 [{"name":"cluster","scope":"user","transport":"stdio","target":"node /opt/mcp/cluster.js","envKeys":["CLUSTER_TOKEN"],"status":"connected","lastError":null,"checkedAt":"2026-11-20T02:20:00.000Z"},273 {"name":"notion","scope":"project","transport":"http","target":"https://mcp.notion.com/mcp","envKeys":[],"status":"needs_auth","lastError":"401","checkedAt":"2026-11-20T02:20:00.000Z"},274 {"name":"old","scope":"local","transport":"sse","target":"https://example.test/sse","envKeys":[],"status":"unknown","lastError":null,"checkedAt":null}]275 """#276277 public static let systemStatus = #"""278 {"collectedAt":"2026-11-20T02:25:00.000Z","version":"1.4.0",279 "components":[{"component":"database","health":"ONLINE","detail":null,"checkedAt":"2026-11-20T02:25:00.000Z"},280 {"component":"runtime","health":"DEGRADED","detail":"tmux restarted","checkedAt":"2026-11-20T02:24:58.000Z"}],281 "host":{"name":"M5M36","cpuPct":23.5,"load":[2.1,1.8,1.5],"memUsedMb":18000,"memTotalMb":36864,"diskFreeGb":412.3,"diskTotalGb":926,"uptimeSec":864000},282 "counts":{"liveSessions":3,"wsClients":2,"runningTasks":1,"queuedTasks":0},283 "claude":{"version":"2.1.0 (Claude Code)","authenticated":true}}284 """#285286 public static let systemStatusCodex = #"""287 {"collectedAt":"2026-11-20T02:25:00.000Z","version":"1.4.0","components":[],288 "host":{"name":"M5M36","cpuPct":null,"load":[],"memUsedMb":null,"memTotalMb":null,"diskFreeGb":null,"diskTotalGb":null,"uptimeSec":null},289 "counts":{"liveSessions":0,"wsClients":0,"runningTasks":0,"queuedTasks":0},290 "claude":{"version":null,"authenticated":null,"agent":"codex","agentName":"Codex"}}291 """#292293 public static let audit = #"""294 [{"id":"1042","at":"2026-11-20T02:24:00.000Z","actor":"admin","action":"session.terminate","target":"6f1c2b7e-3a4d-4c5e-9f10-2b3c4d5e6f70","ip":"100.69.26.91","ok":true,"detail":{}},295 {"id":"1041","at":"2026-11-20T02:20:00.000Z","actor":"admin","action":"fs.op","target":null,"ip":null,"ok":false,"detail":{"op":"delete","path":"tmp/x","n":3}}]296 """#297298 public static func notification(id: String = "aaaaaaaa-bbbb-4ccc-8ddd-eeeeeeeeeeee", kind: String = "session.waiting", read: Bool = false,299 link: String? = "/terminal/?s=6f1c2b7e-3a4d-4c5e-9f10-2b3c4d5e6f70", createdAt: String = "2026-11-20T02:24:00.000Z") -> String {300 #"{"id":"\#(id)","kind":"\#(kind)","title":"A session is waiting for input","body":"","link":\#(link.map { "\"\($0)\"" } ?? "null"),"readAt":\#(read ? "\"2026-11-20T02:24:30.000Z\"" : "null"),"createdAt":"\#(createdAt)"}"#301 }302303 public static let settings = #"""304 {"theme":"system","terminalTheme":"auto","terminalFont":"JetBrains Mono","terminalFontSize":13,"mobileFontSize":12,"scrollback":5000,"defaultProjectId":null,305 "defaultLayout":"terminal+files","notifications":{"inApp":true,"webPush":false,"detail":"generic","push":true},"sessionRetentionDays":90,306 "mobileToolbar":["esc","tab","ctrl","alt","shift","up","down","left","right","enter","/","|","~","-"],"autosave":false,"layout":{"sidebar":280,"right":{"open":true}}}307 """#308309 public static let summary = #"""310 {"serverTime":"2026-11-20T02:25:00.000Z","agent":"claude","productName":"Claude Remote",311 "sessions":{"live":3,"waiting":1,"running":1,"detached":1,"recoverable":0},312 "tasks":{"running":1,"queued":0,"failed24h":2,"succeeded24h":14},313 "cluster":{"nodes":29,"online":28,"health":"DEGRADED","collectedAt":"2026-11-20T02:24:30.000Z"},"notificationsUnread":4}314 """#315316 public static let summaryNoCluster = #"""317 {"serverTime":"2026-11-20T02:25:00Z","agent":"codex","productName":"Codex Remote","sessions":{"live":0,"waiting":0,"running":0,"detached":0,"recoverable":0},318 "tasks":{"running":0,"queued":0,"failed24h":0,"succeeded24h":0},"cluster":null,"notificationsUnread":0}319 """#320321 // MARK: Decoded samples (previews, store tests)322323 public static func decode<T: Decodable>(_ json: String, as type: T.Type = T.self) -> T {324 do { return try CRJSON.decode(T.self, from: json) } catch { fatalError("fixture does not decode as \(T.self): \(error)") }325 }326327 public static var sampleSession: TerminalSession { decode(session()) }328 public static var sampleWaitingSession: TerminalSession { decode(session(id: "8b3e4d90-5c6f-4e70-9b22-4d5e6f7a8b92", state: "WAITING_FOR_INPUT", title: "Needs approval")) }329 public static var sampleProject: Project { decode(project) }330 public static var sampleTask: AgentTask { decode(task()) }331 public static var sampleNotification: ServerNotification { decode(notification()) }332 public static var sampleSummary: NativeSummary { decode(summary) }333 public static var sampleOverview: ClusterOverview { decode(clusterOverview) }334 public static var sampleSettings: UserSettings { decode(settings) }335 public static var sampleSystemStatus: SystemStatus { decode(systemStatus) }336}337