Skip to content

feat: add SSJ Developer Mode, Worker command, and UX improvements, Telegram fully implemented#18

Merged
chauncygu merged 7 commits into
SafeRL-Lab:mainfrom
KevRojo:main
Apr 6, 2026
Merged

feat: add SSJ Developer Mode, Worker command, and UX improvements, Telegram fully implemented#18
chauncygu merged 7 commits into
SafeRL-Lab:mainfrom
KevRojo:main

Conversation

@KevRojo
Copy link
Copy Markdown
Contributor

@KevRojo KevRojo commented Apr 6, 2026

  • /ssj: interactive power menu with 10 workflow options (brainstorm, todo viewer, worker, debate, propose, review, readme, commit, scan, promote) — stays open after each action, supports /commands passthrough
  • /worker: auto-implement tasks from todo_list.txt, supports selecting specific tasks with comma-separated numbers (e.g. 1,4,6)
  • Brainstorm spinner: shows animated spinner while agents are thinking
  • Brainstorm auto-TODO: generates todo_list.txt after synthesis
  • TODO viewer: numbered task list with done/pending indicators
  • Force quit: 3x Ctrl+C within 2 seconds kills the process immediately
  • Readme prompt scoped to selected file only

- /ssj: interactive power menu with 10 workflow options (brainstorm,
  todo viewer, worker, debate, propose, review, readme, commit, scan,
  promote) — stays open after each action, supports /commands passthrough
- /worker: auto-implement tasks from todo_list.txt, supports selecting
  specific tasks with comma-separated numbers (e.g. 1,4,6)
- Brainstorm spinner: shows animated spinner while agents are thinking
- Brainstorm auto-TODO: generates todo_list.txt after synthesis
- TODO viewer: numbered task list with done/pending indicators
- Force quit: 3x Ctrl+C within 2 seconds kills the process immediately
- Readme prompt scoped to selected file only
@KevRojo
Copy link
Copy Markdown
Contributor Author

KevRojo commented Apr 6, 2026

image image image

- /telegram: bridge that receives messages via Telegram Bot API and
  routes them through run_query, sending responses back to the chat
- Auto-starts on launch if token and chat_id are configured
- Shows "telegram" in active flags on startup
- Only responds to the configured chat_id, rejects others
- Filters Telegram bot commands (/start, /stop) from reaching the model
- Suppresses "Background Event Triggered" banner for Telegram messages
- Brainstorm agents now show spinner while thinking
- SSJ menu restyled to match nano-claude box format
- SSJ menu stays open between actions, supports /command passthrough
- TODO viewer shows numbered tasks with selection hint
- Worker accepts comma-separated task numbers (e.g. 1,4,6)
- 3x Ctrl+C force quit via os._exit for stuck processes
@KevRojo
Copy link
Copy Markdown
Contributor Author

KevRojo commented Apr 6, 2026

feat: SSJ Developer Mode, Telegram bridge, Worker command, and UX improvements

Summary

  • /ssj — SSJ Developer Mode: Interactive power menu with 10 workflow options: brainstorm, TODO viewer, worker, expert debate, propose improvements, code review, readme generator, commit helper, git diff scan, and idea-to-tasks promotion. Menu stays open between actions and supports /command passthrough (e.g. /exit works from inside SSJ).
  • /worker command: Auto-implements pending tasks from todo_list.txt. Supports selecting specific tasks with comma-separated numbers (e.g. 1,4,6). Each task gets a dedicated prompt that reads code, implements the change, and marks it done.
  • /telegram — Telegram bot bridge: Receives messages via Telegram Bot API and routes them through the model, sending responses back to the chat. Auto-starts on launch if configured. Only responds to the authorized chat_id. Filters bot commands (/start, /stop) from reaching the model.
  • Brainstorm → TODO pipeline: After brainstorm synthesis, automatically generates a todo_list.txt with prioritized checkbox tasks. TODO viewer shows numbered tasks with ✓/○ indicators.
  • Brainstorm spinner: Animated spinner with random phrases while brainstorm agents are thinking.
  • SSJ menu restyled: Uses the native nano-claude ╭─ │ ╰─ box format instead of double-line box characters.
  • Force quit: 3x Ctrl+C within 2 seconds triggers os._exit(1) — kills the process immediately regardless of blocking I/O.
  • Telegram UX: Suppresses "Background Event Triggered" banner for Telegram messages, shows 📩 Telegram: prefix instead. Shows "telegram" in active flags on startup.

Telegram implemented, 2 days vacation for me ! hahahaha <3

@KevRojo
Copy link
Copy Markdown
Contributor Author

KevRojo commented Apr 6, 2026

image image

@KevRojo KevRojo changed the title feat: add SSJ Developer Mode, Worker command, and UX improvements feat: add SSJ Developer Mode, Worker command, and UX improvements and TELEGRAM BRIDGE!! Apr 6, 2026
KevRojo added 5 commits April 6, 2026 07:30
- /brainstorm, /worker, /verbose etc now work from Telegram
- Telegram /start and /stop stay as bot-only commands
- All other /commands route through handle_slash with sentinel processing
- Responses from command execution are sent back to Telegram chat
- Flush pending messages on bridge startup so stale commands don't run
- Skip interactive input() prompts when called from Telegram thread
- Remove blocking getMe call from auto-start, launch poll thread directly
- Simple slash commands (/verbose, /thinking) no longer take query lock
- Simple commands don't print to terminal, only send confirmation to Telegram
@KevRojo KevRojo changed the title feat: add SSJ Developer Mode, Worker command, and UX improvements and TELEGRAM BRIDGE!! feat: add SSJ Developer Mode, Worker command, and UX improvements Apr 6, 2026
@KevRojo KevRojo changed the title feat: add SSJ Developer Mode, Worker command, and UX improvements feat: add SSJ Developer Mode, Worker command, and UX improvements, Telegram fully implemented Apr 6, 2026
@chauncygu
Copy link
Copy Markdown
Contributor

Thanks a lot @KevRojo for this incredible PR!

You've basically implemented a very good workflow with the SSJ menu and Telegram integration. The "3x Ctrl+C" force quit is also a very practical addition.

Great job on the implementation and the clean UI styling. Merging with the main now. Enjoy your holiday!

@chauncygu chauncygu merged commit fb30e57 into SafeRL-Lab:main Apr 6, 2026
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.

2 participants