Skip to content

feat(signals): share gateway configuration across strategy modules - #283

Merged
jackhai9 merged 2 commits into
mainfrom
codex/unified-signal-client
Sep 8, 2026
Merged

feat(signals): share gateway configuration across strategy modules#283
jackhai9 merged 2 commits into
mainfrom
codex/unified-signal-client

Conversation

@jackhai9

@jackhai9 jackhai9 commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Strategy27 and Strategy29 previously required separate gateway settings in separate userscript stores. The existing Strategy27 installation now hosts the CorsairQuant remote modules and supplies one private gateway URL and secret to both. Its installed name, namespace, update URLs and existing private credential keys are retained. Strategy29's standalone script owns only local chart detection; a strict non-sensitive migration transfers missing panel coordinates and module preferences once, in either load order.

The shared menus follow the page language. A disabled summary remains discoverable without requests. Explicit server-disabled and backend-unavailable responses clear current readiness while preserving history. Module initialization, visibility and request ownership remain isolated from Strategy27 consumers. Local marker alignment diagnostics now include requested and returned timestamps without changing detection or failure recovery.

Validation:

  • 913 unit/DOM tests passed; independent code review approved the implementation. Metadata-preserving name adjustment passed 16 focused release/migration tests.
  • Both affected builds and Binance syntax checks passed. Frozen detector SHA-256 remains eece8cf16e58340910587962f3bfbb19acb72155c09a52b4b6c0570cc979ef8d.
  • Real SQLite/generated-client verification passed latest sequences [2,3], increment [4] and HTTP 400/401/409/503 contracts.
  • All 67 browser UI tests passed after correcting duplicate migration publication. Actual bilingual panel, dragging, coordinate storage and unavailable-state rendering were inspected offline.

Pair with the server's fixed Strategy29 gateway routes before installing this client. Production Strategy29 monitoring, gateway backend and notifications remain disabled. Tampermonkey exact synchronization and live acceptance are pending publication.

Artifacts: Strategy27 host 0.5.0 SHA-256 4fd2a513a1fab78e238aad09a0f2241a915fa646241cc8c43a935cbed5354719; Strategy29 local 0.4.0 SHA-256 de8d145f23cc04000af39732733cc8a3bed2e66eed7bd7f351796fff38e4a388.

Independent automatic updates use a companion readiness handshake. A legacy Strategy29 remote owner retains its panel and polling until both installations have updated and the page reloads. New companions display a localized update notice while waiting for the host. Regression tests execute the exact released 0.3.0 artifact, cover both load orders and completed preference migrations, and reject same-page reuse of the legacy runtime.

@jackhai9

jackhai9 commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-08T01:57:33.268556Z a555321 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6f3ca661b6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/binance-strategy27-events/index.user.js
@jackhai9

jackhai9 commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: a5553211cc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jackhai9
jackhai9 merged commit 5693c63 into main Sep 8, 2026
2 checks passed
@jackhai9
jackhai9 deleted the codex/unified-signal-client branch September 8, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant