From 868e9ebc237f4d098dc3f2500720a50bb1366b49 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sun, 30 Aug 2026 23:20:52 +0200 Subject: [PATCH] Remove outdated startup and SSH banners --- docs/agent/current-state.md | 2 +- src/main.c | 1 - src/ssh_transport.c | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/agent/current-state.md b/docs/agent/current-state.md index f0ef3f9..9aa0b74 100644 --- a/docs/agent/current-state.md +++ b/docs/agent/current-state.md @@ -26,7 +26,7 @@ Based on checked-in source plus `README.md` and `docs/roadmap.md`: These observations should be checked when touching the relevant area; they are not automatically bugs requiring unrelated cleanup. -- `src/main.c` logs a Phase 7E startup banner although the implementation/roadmap is at Phase 8C. + - Some source comments still call shared commands UART0-only or call the current local status/control task read-only. - `USER_DATABASE_LOAD_EMPTY` is only an initialization/failure sentinel at the checked-in revision: every successful `user_database_init()` path returns `STORED` or `MIGRATED_LEGACY`, so `main.c`'s successful "new empty" log branch is unreachable. - SSH startup is currently gated on successful `web_security` initialization even though SSH uses separate host-key material. **Needs verification:** whether this coupling is intentional recovery policy or an accidental startup dependency. diff --git a/src/main.c b/src/main.c index 376f08c..6f9ab1f 100644 --- a/src/main.c +++ b/src/main.c @@ -46,7 +46,6 @@ static const char *TAG = "firmware"; void app_main(void) { - ESP_LOGI(TAG, "ESP32-S3 Serial Swiss Army Knife Phase 7E local UI reliability started"); if (esp_psram_is_initialized()) { ESP_LOGI(TAG, "PSRAM initialized: %u bytes", (unsigned int)esp_psram_get_size()); diff --git a/src/ssh_transport.c b/src/ssh_transport.c index 57c2768..238d7a2 100644 --- a/src/ssh_transport.c +++ b/src/ssh_transport.c @@ -547,8 +547,7 @@ static esp_err_t create_context(void) (void)wolfSSH_CTX_SetChannelReqShellCb(context, accept_shell); (void)wolfSSH_CTX_SetChannelReqExecCb(context, reject_channel_request); (void)wolfSSH_CTX_SetChannelReqSubsysCb(context, reject_channel_request); - (void)wolfSSH_CTX_SetBanner( - context, "ESP32 Serial Swiss Army Knife - authenticated serial transport\r\n"); + s_context = context; return ESP_OK; }