Skip to content

docs(polymarket): добавить инструкцию по секретам#193

Merged
xlabtg merged 3 commits into
xlabtg:mainfrom
konard:issue-192-9f5ec80d12dc
Jun 20, 2026
Merged

docs(polymarket): добавить инструкцию по секретам#193
xlabtg merged 3 commits into
xlabtg:mainfrom
konard:issue-192-9f5ec80d12dc

Conversation

@konard

@konard konard commented Jun 20, 2026

Copy link
Copy Markdown

Что сделано

  • Добавлен plugins/polymarket/SECRETS.md с пошаговой инструкцией по получению всех обязательных секретов: EVM_PRIVATE_KEY, POLY_API_KEY, POLY_API_SECRET, POLY_API_PASSPHRASE, CHANGENOW_API_KEY.
  • В README плагина добавлена ссылка на подробную инструкцию.
  • Добавлен doc-test, который проверяет, что инструкция покрывает все required secrets из manifest.json и содержит команды для Teleton.

Как воспроизвести исходную проблему

До изменений в README был только список required secrets без пошагового процесса получения ключей. Новый тест node --test plugins/polymarket/tests/docs.test.js падал на отсутствии ссылки на SECRETS.md.

Проверка

  • node --test plugins/polymarket/tests/docs.test.js
  • npm run validate
  • npm run test
  • npm run lint
  • npm run typecheck
  • node scripts/build-sdk.mjs

npm run validate и npm run test требуют установленных зависимостей отдельных плагинов, поэтому локально перед повторным запуском был выполнен CI-аналог установки plugin dependencies.

Скриншоты

Не требуются: изменение документационное.

Fixes #192

konard added 2 commits June 20, 2026 17:53
Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: xlabtg#192
@konard konard changed the title [WIP] Write instructions for secrets docs(polymarket): добавить инструкцию по секретам Jun 20, 2026
@konard konard marked this pull request as ready for review June 20, 2026 18:04
@konard

konard commented Jun 20, 2026

Copy link
Copy Markdown
Author

Working session summary

Готово: PR #193 обновлён и переведён в ready for review: #193

Добавил plugins/polymarket/SECRETS.md с пошаговым получением всех required secrets, ссылку из README и doc-test, который проверяет покрытие секретов из manifest.json. Инструкцию сверил с официальными docs Polymarket Authentication и ChangeNOW API:
https://docs.polymarket.com/api-reference/authentication
https://changenow.io/api

Проверки локально прошли:

  • node --test plugins/polymarket/tests/docs.test.js
  • npm run validate
  • npm run test
  • npm run lint
  • npm run typecheck
  • node scripts/build-sdk.mjs

CI на PR после последнего push полностью зелёный, включая CodeQL. Рабочее дерево чистое.


This summary was automatically extracted from the AI working session output.

@konard

konard commented Jun 20, 2026

Copy link
Copy Markdown
Author

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $9.681335

📊 Context and tokens usage:

  • 264.0K / 200K (132%) input tokens, 26.4K / 128K (21%) output tokens

Total: (264.0K + 5.9M cached) input tokens, 26.4K output tokens, $9.681335 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Thinking level: max (~31999 tokens)
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (19304KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard

konard commented Jun 20, 2026

Copy link
Copy Markdown
Author

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@xlabtg xlabtg merged commit 44e9a3a into xlabtg:main Jun 20, 2026
8 checks passed
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.

Write instructions for secrets

2 participants