• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

radio-t / super-bot
77%

Build:
DEFAULT BRANCH: master
Repo Added 28 Jan 2020 06:53PM UTC
Token isIrxvozFJpYsxobywtK8fHegAbMbhJXU regen
Build 540 Last
Files 38
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 22-fix-extend
  • 22-issue
  • 50-issue-fix
  • add-history-support-to-openai
  • add-pin-to-cut-message
  • add-podcast-link-to-MsgBroadcastStarted-message
  • agent-one
  • ai-involvement-gate
  • allow-other-groups
  • ban-by-multibot
  • banhammer-ban-by-userid
  • case_insensitive_openai
  • context_openai
  • cov-1
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.7.3
  • dependabot/go_modules/github.com/slack-go/slack-0.23.1
  • dependabot/go_modules/go-modules-updates-1313cd4f86
  • dependabot/go_modules/go-modules-updates-1fa0d48fe6
  • dependabot/go_modules/go-modules-updates-46cd2b41fd
  • dependabot/go_modules/go-modules-updates-4eb7ca3412
  • dependabot/go_modules/go-modules-updates-6d46581adb
  • dependabot/go_modules/go-modules-updates-83cb7119c5
  • dependabot/go_modules/go-modules-updates-a3d3f3c0fb
  • dependabot/go_modules/go-modules-updates-b97c974778
  • dependabot/go_modules/go-modules-updates-d9f444d3b5
  • dependabot/go_modules/go-modules-updates-ef4ba45f0b
  • dependabot/go_modules/go-modules-updates-ffef3402cf
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.33.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/net-0.55.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/text-0.24.0
  • dependabot/go_modules/golang.org/x/text-0.3.8
  • enable_auto_response_fix
  • export-broadcast-partial-match
  • export-ignore-empty-decorations
  • export-small-improvements
  • feature/markdown-new-content-extraction
  • feature/new-f-case
  • fix-ban-no-username
  • fix-exporter-panic
  • fix-exporter-panic-2
  • fix-mrkdown-parse-error
  • fix-spammer-display-name
  • fix-username
  • go-fix
  • idle
  • is_reply
  • kazhuravlev/calculate-time-to-stream
  • master
  • master-1
  • mention_with_underscore
  • more_w
  • no-ban-old-messages
  • only_wtf_check
  • openai_wtf_ban
  • parse_mode_enum
  • paskal/add_dependabot
  • paskal/channel_ban
  • paskal/dependabot-disable-updates
  • paskal/dependabot-security-updates
  • paskal/error_handling
  • paskal/facelift
  • paskal/fix_golangci_lint
  • paskal/fix_telegram_msgs
  • paskal/moq
  • paskal/offline_tests
  • paskal/telegram_v5
  • paskal/update-packages
  • paskal/update_modules
  • patch-1
  • pincut
  • preppost
  • prevent_shadowing
  • readme
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • reply-to
  • reporter-handle-deleted-messages
  • revert-64-va/moar_wtfs
  • spam-filter
  • spam-local
  • summary_for_user_links
  • telegram
  • tests-update
  • unpin-messages
  • update-ci-actions
  • update-deps
  • update-to-go-1.24
  • vendor_up
  • workflow-permissions
  • wtf
  • wtf-bot-message-formatting
  • wtf_case
  • wtf_human_duration
  • wtfchecker1.1
  • wtffix
  • wttbot

22 Sep 2026 10:15PM UTC coverage: 77.195% (+2.1%) from 75.118%
35791385597

push

github

web-flow
Gate unsolicited OpenAI replies with jev, add gpt-6 reasoning model support (#165)

* feat(openai): treat gpt-6 models as reasoning models, add involvement gate plan

- match the gpt-6 family in isReasoningModel; gpt-6-luna rejects max_tokens
- pin gpt-6-luna and gpt-5.6-luna reasoning request rows in tests
- log the telegram listener error directly; Do never returns nil (SA4023)
- add docs/plans/20260922-ai-involvement-gate.md

* fix(openai): keep idle ticks and private chats out of history

- record history only for group messages (ChatID < 0)
- skip unsolicited replies for non-group messages
- drop the history tail only when the current message was recorded

* feat(jev): add typesafe jev client for noul questions

- one attempt per call, own http client with timeout, redirects disabled
- strict noul validation: missing and null answers are errors
- sanitized error reporting drops echoed request state

* feat(openai): build structured history snapshot for chat requests

- snapshot takes the current message explicitly and keeps only its chat
- entries carry author labels, time, reply quotes and media markers
- 30-minute age limit, 1000/8000 rune caps; current text never truncated
- both history-based request builders use the snapshot

* feat(openai): gate unsolicited replies with jev

- three noul questions (invites, answerable, spam) with an explicit spam veto
- any jev error, missing answer or oversized message means no reply
- 15-minute cooldown, 10 replies a day, 150 jev calls per clock hour
- requests-only prompt; replies thread to the triggering message
- remove the '?' rule and the random reply roll

* feat: wire jev gate config, redact secrets from debug options dump

- add jev flag group (key, model, timeout); empty key disables unsolicited replies
- reject a non-positive jev timeout at startup
- clear all tokens and the jev key from the debug options dump
- remove the history reply probability flag; history size defaults to 10

* test(opena... (continued)

377 of 395 new or added lines in 5 files covered. (95.44%)

3016 of 3907 relevant lines covered (77.19%)

71.65 hits per line

Relevant lines Covered
Build:
Build:
3907 RELEVANT LINES 3016 COVERED LINES
71.65 HITS PER LINE
Source Files on master
  • Tree
  • List 38
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35791385597 master Gate unsolicited OpenAI replies with jev, add gpt-6 reasoning model support (#165) * feat(openai): treat gpt-6 models as reasoning models, add involvement gate plan - match the gpt-6 family in isReasoningModel; gpt-6-luna rejects max_tokens - pi... push 22 Sep 2026 10:16PM UTC web-flow github
77.19
35778548092 ai-involvement-gate fix(openai): keep chat content out of request error logs - error for a failed OpenAI request carries model, message count and token cap, not the messages - direct-query failure log no longer prints the request text - drop the write-only history c... Pull #165 22 Sep 2026 08:11PM UTC umputun github
77.19
35778563136 ai-involvement-gate fix(openai): keep chat content out of request error logs - error for a failed OpenAI request carries model, message count and token cap, not the messages - direct-query failure log no longer prints the request text - drop the write-only history c... Pull #165 22 Sep 2026 08:11PM UTC umputun github
77.19
32318251401 master Update dependencies and move to Go 1.26 (#163) * Fix log verb for the user id in the CAS spam check `%q` on an int64 prints a single-quoted character literal, so a CAS hit logged the user id as a stray rune instead of a number. Go 1.26 vet repor... push 20 Aug 2026 12:42AM UTC web-flow github
75.12
32318147143 update-deps Merge master into update-deps Keeps go 1.26 from this branch and actions/setup-go@v7 from the action bumps merged in #161. Pull #163 20 Aug 2026 12:40AM UTC umputun github
75.12
32317846857 master Apply go fix (#162) `go fix` in Go 1.26 runs the modernizer analysers, so it rewrites `strings.HasPrefix`/`TrimPrefix` pairs into `strings.CutPrefix`, `sort.Slice` into `slices.Sort`, counted `for` loops into `for range n`, `strings.Fields` into ... push 20 Aug 2026 12:35AM UTC web-flow github
75.1
32317757129 go-fix Merge branch 'master' into go-fix Pull #162 20 Aug 2026 12:34AM UTC web-flow github
75.1
32317744466 master Bump CI actions to current majors (#161) actions/setup-go v5 to v7, actions/checkout v4 to v7, and golangci/golangci-lint-action v7 to v9. The v7 majors of the two actions/* are ESM and Node 24 runtime migrations; checkout v7 also blocks fork PR ... push 20 Aug 2026 12:34AM UTC web-flow github
75.11
32317635705 update-ci-actions Merge master into update-ci-actions Keeps the action version bumps from this branch and the persist-credentials: false added by #160. Pull #161 20 Aug 2026 12:32AM UTC umputun github
75.11
32317639948 update-ci-actions Merge master into update-ci-actions Keeps the action version bumps from this branch and the persist-credentials: false added by #160. Pull #161 20 Aug 2026 12:32AM UTC umputun github
75.11
See All Builds (515)

Badge your Repo: super-bot

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc