Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

shikiri-yaku

Latest version: v0.10.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: pavel.semenov
0 Stars
0 Forks
21 Versions
2.2K Downloads
Python Repo language

Scan summary

shikiri-yaku was last scanned on 29 Nov 2026 at version 0.10.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 21 versions; the latest 5 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.10.1.
  • Downloads: 2,194 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.1 LATEST 29 Nov 2026 No rules fired
0.10.0 28 Nov 2026 No rules fired
0.9.5 27 Nov 2026 No rules fired
0.9.4 26 Nov 2026 Not shown
0.9.3 26 Nov 2026 Not shown

No rules fired in 0.10.1

Findings

Findings for v0.10.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.10.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Shikiri-yaku (仕切り役)

Release License CI

Autonomous Operator for product development with Shikiru.

Shikiri-yaku is a small background service between a Product Owner (PO) and Shikiru, which runs coding agents. When Shikiru raises an escalation, it waits for a person. Shikiri-yaku takes that seat:

  1. It watches the escalations of every Shikiru project in a product.
  2. It sorts each escalation into a category and hands it to a handler.
  3. The handler resolves it, or forwards it to the PO in chat (Telegram first).

Resolving can mean a retry, a wait for a quota reset, an engine restart, or an install of a missing tool after the owner approves the exact command. Forwarding means one tap applies the answer in Shikiru.

  • Every route ends at the owner. Anything unknown, unsure or failed is forwarded.
  • Agents propose, code acts. The Reasoner cannot change anything. Code builds each command and runs it only after owner approval.
  • Shikiru is the source of truth. Shikiri-yaku reads and commands it through MCP.
  • One instance per product, with its own chat bot.

Contents

  • Requirements
  • Install
  • Quick start
  • Telegram
  • Chat commands
  • Approvals and automatic actions
  • Service
  • Applying changes
  • Recovery
  • Safety and limits
  • Reference
  • Contributing

Requirements

  • Python 3.14 and uv.
  • Shikiru installed as shikiru on PATH, for example with uv tool install shikiru-cli. Each component must be an existing local Shikiru project that shikiru init has set up.
  • A Telegram bot token from BotFather. Keep it private. The bot uses long polling, so do not configure a webhook.
  • Optional: local agent CLIs (claude, codex and/or muse) for a Reasoner ladder.

doctor fails on a Shikiru older than this release's minimum, and names that minimum.

Install

uv tool install shikiri-yaku

This repository holds the Python implementation and CLI. For development, see CONTRIBUTING.md. A service must run a release, not a checkout. See Applying changes.

Quick start

An instance lives at ~/.shikiri-yaku/<product>/ by default. This example uses the product shop.

  1. Create the instance and its secrets directory:

    mkdir -p "$HOME/.shikiri-yaku/shop/secrets"
  2. Save $HOME/.shikiri-yaku/shop/config.toml. Set path to an existing Shikiru project. Set owners to your numeric Telegram account ID.

    product = "shop"
    
    [[components]]
    name = "api"
    path = "~/src/shop-api"
    
    [channels.telegram]
    token_file = "secrets/telegram.token"
    owners = [123456789]
  3. Put only the bot token in secrets/telegram.token, and keep it out of source control. It must be a regular file with mode 0600:

    chmod 600 "$HOME/.shikiri-yaku/shop/secrets/telegram.token"
  4. Check the instance, then start it in the foreground:

    shikiri-yaku --product shop doctor
    shikiri-yaku --product shop run

doctor checks the config, the token-file mode, Telegram, each Shikiru link, and any Reasoner CLI. It contacts Telegram and Shikiru. run stays attached until you stop it. For a background service, see Service.

To enable the Reasoner, add a [reasoner] table. See Reasoner settings.

To add Expert agents, set the optional [expert] table. Telegram needs a forum group to open an Expert conversation. See Expert settings.

Every key and default is in the reference.

Telegram

Only the user IDs in channels.telegram.owners can issue commands or press buttons.

  • Private chat: each owner must open the bot and press Start first.
  • Forum group (optional): set group_id to a forum supergroup. The bot must be an administrator with permission to manage topics, and every owner must be a member. With [expert], the bot also needs permission to delete messages (can_delete_messages). By default, the group should hold only the bot and the owners, plus the other instances' bots in a shared group, because other members can read its messages. Non-owners' messages and button taps are ignored.

Several instances can share one group, each with its own bot. See Several instances in one group. If Telegram topics go wrong, see Recovery.

Chat commands

Commands work in private chats and forum topics. Replies go to the chat and topic where the command was sent.

Command What it does
/status Shows one line per component, those that need attention first: engine state, running count, items waiting for you and exhausted quotas.
/details Shows every running, queued and escalated task, each agent's quota with its reset time, and why a component is down or unreachable.
/pending Re-shows open questions and pending approvals.
/help Lists the commands. Free text also returns this list.
/submit <component> <request> Submits a request to that component's Shikiru project.
/expert <question> Opens an Expert conversation and answers the question.
/admin <question> Opens an admin conversation, for admins listed in [admin]. The chat is not private.

In a Telegram forum group, each component has its own topic. Write /submit <request> in that component's topic to scope it:

/submit api Add CSV export to the reports page

The request goes to Shikiru as written. If the outcome is uncertain, the bot offers Submit again and never retries on its own. Check the Shikiru project before you tap it, because the first request may have been accepted. Details are in Request outcomes.

/expert
  • Scope: in a Telegram component topic, the Expert sees that component. In General, it sees all components.
  • Shared groups: an unaddressed /expert in General gets a button from each Expert. Tap one, or write /expert@bot <question>.
  • Expert conversation: in Telegram, each conversation has its own topic; each message there is a follow-up turn. /effort [level], /summarize and /help work there. /close or closing the topic in Telegram ends the conversation.
  • Files: a photo or document sent in an Expert conversation is a turn. Its caption, if any, comes with the file's absolute path, which the Expert reads. The Expert names in each task only the files that task needs. Files over 20 MB, the Bot API's download limit, are not saved and get a notice. A caption with a secret is refused, and its file is not downloaded. Files sent outside Expert conversations, and files from other users, are ignored. The contents of files and sketches are not searched for secrets, and group members can see them.
  • Sketches: the Expert may answer a request for a picture with a description. A Codex rung in the ladder draws it, with the first Codex rung's model and effort, and the picture is sent to the conversation and kept with its files. Each request draws a new picture. While Codex draws, the conversation shows Drawing the sketch…, which the photo or the notice replaces. Without a Codex rung, or when the run fails, leaves no picture or runs past expert.sketch_timeout_s (300 seconds), the conversation gets a notice. A description with a secret is not sent to Codex. A restart that interrupts a sketch ends it with a notice; it is not redrawn automatically.
  • Task proposals: Submit all, Reject all and View all appear after the proposed tasks are listed, and each task lists the names of its files. View all sends each task in full, grouped by component and numbered as in the list, and submits nothing; a long task continues in further messages. Each proposal submits at most once. Submit all copies only the files its tasks name to task_files/ in the instance directory, and each task names the absolute paths of its own copies. If a copy fails or a named file is gone, nothing is submitted. The copies are never deleted; the conversation's own files are deleted when it ends.
  • Restarts and uncertain conversations: an interrupted turn is not repeated. If conversation creation is uncertain, ask again.

Details are in Chat commands and Task proposals. Check Shikiru before you resubmit a task.

Approvals and automatic actions

An escalation arrives with its question and the choices Shikiru offers. Tap a choice to apply it. Open questions are reminded after 4 hours, then every 24 hours.

Install approvals show the tool, the exact command and its effect. Code builds the install command from a fixed recipe, such as uv tool install or brew install. Install runs that exact command on the Operator host, and only after you tap it. Decline runs nothing. Approvals expire after 24 hours.

In an admin conversation, the Expert may propose a command for a listed admin to approve or decline. Run executes the exact command as the service user on the host. Review it and its effects before approving; the group can read the command and its output. doctor fails its admin sudo check when the service user can run sudo without a password, since an approved command would then run as root. Whether the service user may use sudo is host configuration.

The Operator acts on its own only in these cases. Everything else reaches you as a question:

  • Agent and integration errors: retried a limited number of times per day, then forwarded.
  • Quota exhausted: retried after the reset, if the reset is within 24 hours. Otherwise forwarded.
  • Engine down: the bot asks Shikiru to start the engine, up to one restart per component per hour.
  • Missing tool: installed only after you tap Install.
  • Pull requests, finished work and health: the bot posts notices. The Operator never merges, comments on or reviews a pull request.

Full rules are in Automatic actions.

Service

After you install the command and create a valid instance, run:

shikiri-yaku --product shop service install

This writes a per-product service unit and starts it, replacing the running service on repeat installs. Stop any other process holding the instance lock, such as a foreground run, first. The unit uses the PATH of the shell that ran the command, so shikiru and the Reasoner CLIs are found.

A service manager starts with a smaller PATH than a terminal. If a configured agent CLI is in a directory the service does not have (Homebrew on Apple silicon uses /opt/homebrew/bin), doctor passes in a terminal but the service cannot run that rung. Run service install again from a shell whose PATH includes that directory; the unit takes that PATH and the service restarts with it.

On macOS the unit is a LaunchAgent; on Linux it is a user service. Start and stop it with:

shikiri-yaku --product shop service start
shikiri-yaku --product shop service stop

service stop returns once the service has stopped. On macOS it unloads the LaunchAgent and returns once launchd no longer holds it. A stopped service stays down until you run service start or service restart, or log in again.

To stop the service and remove its unit, run service uninstall. It keeps config.toml, the token file, the journal and its backups:

shikiri-yaku --product shop service uninstall

Logs, status and rewritten units are covered in Service.

Applying changes

A running service reads its code and config.toml only when it starts.

  • After a config change: run shikiri-yaku service restart.

  • After a code change: the owner runs the Release workflow, as CONTRIBUTING.md describes. Then, on each host:

    uv tool upgrade shikiri-yaku
    shikiri-yaku service restart
  • Never use --editable. The service would follow unreviewed checkout changes.

  • Rollback installs an older version with uv tool install shikiri-yaku==<version>, then restarts. It restores code, not data. See Rolling back.

Recovery

  • Restart: the journal survives restarts. The Operator checks Shikiru and the host before it resumes interrupted work. An install that was already issued never runs twice.

  • Uncertain Telegram topic: check the forum yourself. Then adopt the topic's thread ID, or forget the uncertain row if no topic was created:

    shikiri-yaku --product shop telegram adopt api 123
    shikiri-yaku --product shop telegram forget api

    Details are in Topic recovery.

  • Diagnostics: doctor checks the setup, and stats reads the local journal. A foreground run needs the service stopped first, because both use the instance lock.

More cases, including engine-down signals and clean stops, are in Recovery.

Safety and limits

  • The bot sends Shikiru's question, choices, task and component names, and handler notes to Telegram. Group members can read posts, including non-owners when allow_other_members = true. Only owners can act.
  • Components must be local Shikiru project directories. Telegram is the only chat channel.
  • The Reasoner is optional. Without it, or when every rung fails, escalations go to the PO.
  • Codex and Muse Reasoner rungs can read any file your user account can read. A Muse Expert rung can also read any such file. It cannot write components outside the system temporary directory; its protection is the workspace boundary and the absent shell. Components under the system temporary directory are refused.
  • A sketch runs Codex, which can read any such file too, with the description as its input and no web tool.

Local state, data flow and all limits are in the reference.

Reference

The reference covers:

  • Configuration and every setting and default
  • Command line, including JSON output
  • Telegram, several instances and topic recovery
  • Questions, approvals and reminders
  • Service, applying changes and recovery
  • Local state and limits

Contributing

A change needs the offline quality gate to pass:

uv run poe check

Run uv run poe fix first to format the code. The gate uses fakes and local fixtures, not a live Telegram bot or agent CLI. CONTRIBUTING.md covers how to propose a change, the architecture and safety rules, and the release process.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases shikiri-yaku

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229