Repository navigation
Releases
v1.1.1
Bug fixes and an internal refactoring. No new settings, commands or prompt files; no configuration change is needed.
Fixes
- A failed
git statusis no longer read as a clean tree. A timeout, a corrupt repository or a permission problem used to make a run end with a plain success reply and no commit. Now the tree state is "unknown": the bot does not commit, clean up or offer the commit/discard buttons, and it tells yougit status failed: …. WithAUTO_COMMIT=0the reply says the change list is unknown, and/compactstops after phase 1 instead of reseeding. - Commit links of nested repositories (
SUBREPOS_DIR) now appear in the reply to a run; they were dropped before the reply was built.
Internal
Botis a thin front controller now (2749 → 609 lines): commands are classes behind a router, callbacks go through an ordered handler list, keyboards are built in one place, and the queue, the Claude job runner, epic runs,/compactand the run result live in their own classes. Behaviour and texts are unchanged.
Upgrading from v1.1.0
Restart the bot after updating.
What's Changed
- [openronin] A failed
git statusmust never read as a clean tree by @peter-gribanov-bot in #68 - [openronin] AUTO_COMMIT=0 and /compact: an unknown tree state is never reported as "nothing changed" by @peter-gribanov-bot in #69
- [openronin] Bot refactor 1/4: Command interface, command router and menu by @peter-gribanov-bot in #70
- [openronin] Bot refactor 2/4: ports for the queue and the run; /new, /compact, /queue, /stats, /restart as commands by @peter-gribanov-bot in #71
- [openronin] Bot refactor 3/4: callback router, the dirty-tree decision and /cancel by @peter-gribanov-bot in #72
- [openronin] Bot refactor 4/4: keyboard rendering in one place by @peter-gribanov-bot in #73
- [openronin] Bot SRP 1/5: run state and run result by @peter-gribanov-bot in #80
- [openronin] Bot SRP 2/5: epic runs by @peter-gribanov-bot in #82
- [openronin] Bot SRP 3/5: /compact by @peter-gribanov-bot in #83
- [openronin] Bot SRP 4/5: the request queue by @peter-gribanov-bot in #84
- [openronin] Bot SRP 5/5: the job runner by @peter-gribanov-bot in #85
- [openronin] Docs still describe
Botas owning the queue,/compactand the dirty-tree decision by @peter-gribanov-bot in #87 - [openronin] Commit links of nested repositories never reach the reply to a run by @peter-gribanov-bot in #88
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's new
- Command menu: every command in the Telegram menu now has an emoji and a short description (in all 13 interface languages). The emoji are added by the bot; a
command.*text in aLOCALES_DIRcatalog must not contain one — the bot logs a warning at start if it does. Descriptions are cut to Telegram's 256-character limit.
Upgrading from v1.0.0
The command menu is registered at start: restart the bot after updating.
What's Changed
- [openronin] Command menu: an emoji and a short description for every command by @peter-gribanov-bot in #59
Full Changelog: v1.0.0...v1.1.0
v1.0.0
First stable release of Workspace Assistant. From this version on, the .env keys, bot commands, prompt file names and placeholders, the epic plan format and the modes follow semantic versioning: a breaking change means 2.0.
Warning
By default the bot starts Claude with --dangerously-skip-permissions. Read Security and isolate the process before the first start.
Highlights since v0.1.0
- PHP 8.4 is the minimum (was 8.5); CI runs 8.4 and 8.5, and PHPStan checks against 8.4.
AUTO_COMMIT:1(default) keeps today's behaviour — every run is committed and pushed;0leaves git of the managed repository to you: no clean-tree pause, no pull, no commit or push, and the reply counts the files the run changed. Epics work in both modes. See README and INSTALL.md.- Epics: a failed merge or update-branch is retried once before the task is blocked;
/epic resumeresets the stagnation counter; a pass that merges counts as progress. bin/ctl.shhonoursSTATE_DIRfrom.envand recognises the bot's own PID.- Docs: the README is a landing page now; installation and configuration are in INSTALL.md, the task pipeline in TASKS.md, prompt files and their assembly in PROMPTS.md; SECURITY.md and CONTRIBUTING.md added.
- Internals:
Bot.phpsplit into six classes without behaviour changes; test coverage is shown on the CI run page.
Upgrading from v0.1.0
- PHP 8.4 or newer.
- A relative
STATE_DIRis now resolved against the installation directory, not the current working directory. If you set a relativeSTATE_DIRand start the bot from another directory, set an absolute path (or move the state directory) before restarting. - The managed repository must ignore
SUBREPOS_DIRin its.gitignore. - New optional key:
AUTO_COMMIT(default1, no change needed).
What's Changed
- Minimum PHP 8.4: CI on 8.4 and 8.5, PHPStan checks against 8.4 by @peter-gribanov in #24
- Claude review: skip pull requests from forks instead of failing by @peter-gribanov in #25
- Coverage: composer test:coverage, summary in the CI 8.5 job by @peter-gribanov in #27
- STATE_DIR in bin/ctl.sh; relative STATE_DIR from the installation directory by @peter-gribanov in #26
- [openronin] Add SECURITY.md; GitHub Releases are the changelog by @peter-gribanov-bot in #28
- [openronin] README: one Claude run at a time is a supported property by @peter-gribanov-bot in #29
- [openronin] Bot.php split 1/6: extract ClaudeErrorText by @peter-gribanov-bot in #30
- [openronin] Add CONTRIBUTING.md by @peter-gribanov-bot in #31
- CI: coverage summary on the run page, coverage.xml as an artifact by @peter-gribanov in #34
- [openronin] Bot.php split 2/6: extract SubRepoSync by @peter-gribanov-bot in #33
- [openronin] README: support status of the built-in locales by @peter-gribanov-bot in #32
- [openronin] Split README.md: landing page in README, installation, tasks and epics in their own files by @peter-gribanov-bot in #35
- [openronin] Bot.php split 3/6: extract Delivery by @peter-gribanov-bot in #36
- [openronin] Bot.php split 4/6: extract Inbox by @peter-gribanov-bot in #37
- [openronin] Bot.php split 5/6: extract Epic\ChatSurface by @peter-gribanov-bot in #38
- [openronin] Bot.php split 6/6: extract ModeAndLang by @peter-gribanov-bot in #39
- Docs: SubRepoSync code-map row alignment, dead Bot::startFileJob reference by @peter-gribanov in #40
- Docs: gotchas names tryStartQueueHead() instead of the removed startFileJob by @peter-gribanov in #41
- Docs: inbox files after a failed launch are deleted by startJobOfItem() by @peter-gribanov in #42
- [openronin] Epic: a transient gh error blocks the merge, and /epic resume is blocked again in the same pass by @peter-gribanov-bot in #44
- README: the epic card screenshot in the Epics section by @peter-gribanov in #46
- [openronin] PROMPTS.md: what each prompt file does and how the prompts of a run are assembled by @peter-gribanov-bot in #47
- [openronin] Docs: the managed repository is a knowledge base, and every run is committed and pushed by @peter-gribanov-bot in #52
- [openronin] AUTO_COMMIT=0 (1/3): the setting, the per-run snapshot and the chat run path by @peter-gribanov-bot in #53
- [openronin] AUTO_COMMIT=0 (2/3): /compact and epics by @peter-gribanov-bot in #54
- [openronin] AUTO_COMMIT=0 (3/3): help text, agent prompts and documentation by @peter-gribanov-bot in #55
- [openronin] Docs: the dirty-tree queue pause and the commit/discard decision apply only with AUTO_COMMIT=1 by @peter-gribanov-bot in #57
New Contributors
- @peter-gribanov made their first contribution in #24
- @peter-gribanov-bot made their first contribution in #28
Full Changelog: v0.1.0...v1.0.0
v0.1.0
First public release of Workspace Assistant: a Telegram bot that runs Claude Code inside a git repository, commits and pushes the result, and drives sets of GitHub tasks (epics) to completion.
Warning
By default the bot starts Claude with --dangerously-skip-permissions: Claude executes whatever a Telegram message asks, with the rights of the bot's system user and its gh token. Read Security and isolate the process before the first start.
What's included
- Per-chat and per-forum-topic Claude sessions that continue between messages (
--resume), with/newand/compact. - Clean-tree check and
git pull --rebasebefore each run; commit and push after a successful one, with a link to the commit in the reply. - A persistent request queue (SQLite) instead of rejecting messages while the bot is busy.
- Live progress, files in both directions (inbox / outbox).
- Modes
arch,review,pmwith replaceable personas and prompts; a gated design stage before issues are opened. - Epics: an author-approved plan of GitHub tasks with dependencies; the
Orchestratormerges, releases and queues isolated Claude runs (see EPICS.md). - 13 interface locales.
- Installer
bin/install.php: writes.env, checks the environment and prints a systemd unit and a cron line.
Requirements
PHP 8.5+ (curl, pdo_sqlite, pcntl, posix), Claude Code CLI, git, GitHub CLI. No runtime Composer dependencies.
Install
git clone --branch v0.1.0 https://github.com/gpslab/workspace-assistant.gitThen follow Installation.