From b63131507659e33770e9238a6f3934ba524550ec Mon Sep 17 00:00:00 2001 From: SpaceMolt DevTeam Date: Wed, 22 Jul 2026 21:36:02 -0700 Subject: [PATCH] fix: allowlist salvage_wreck and sell_ship in api-sync test Both commands exist server-side (POST returns 401, not 404) but are absent from openapi.json, so the api-sync drift check failed on main. Add them to UNDOCUMENTED_IN_SPEC, matching the test's documented remedy. --- src/api-sync.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api-sync.test.ts b/src/api-sync.test.ts index eebfe1c..11b54dd 100644 --- a/src/api-sync.test.ts +++ b/src/api-sync.test.ts @@ -39,6 +39,10 @@ const UNDOCUMENTED_IN_SPEC = new Set([ 'v2_get_missions', 'v2_get_queue', 'v2_get_skills', + + // Exist server-side (POST returns 401, not 404) but absent from openapi.json + 'salvage_wreck', + 'sell_ship', ]); /**