jiushu-governance
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JIUSHU_HOME | No | Full path to the jiushu-governance directory, used by the MCP server shell to locate the runtime. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| selftestA | 跑九枢长任务全量自测(9 项检查:派发/进度/验收/断点/并发等), 返回逐项结果。沙箱等受限环境中 fork 并发检查可能 FAIL(环境限制,非代码缺陷)。 |
| task_submitA | 异步派发一件长任务,立取任务号,工位子进程后台跑全链(七步闸口)。 source 取值:'prod'=内建生产件;或任务文件路径——仅允许白名单目录 <JIUSHU_HOME>/tasks/(或 JIUSHU_TASKS_DIR)下的文件(v0.1.3 H-1 修复), 白名单外路径在模块执行前即拒收。 |
| task_statusA | 查询长任务进度:全部任务或指定任务号的进度(n/7)、当前步、耗时、 产物号与错误信息。工位失联会被如实标注为 INTERRUPTED,可续跑。 |
| task_resumeA | 断点续跑:从检查点续跑指定任务,已完成步骤不重跑(留痕不重复)。 force 仅在工位已确认失联时使用;活工位强制续跑会被拒绝。 |
| memory_eventsA | 读取记忆机事件流(只读):since_ts/until_ts 为 Unix 秒(0 表示不设限), 返回时间窗内的事件列表。事件是体系状态的唯一正本。 |
| memory_replayA | 按时刻回放事件流得到状态快照(只读):at_ts 为 Unix 秒(0 表示现在), 返回重放后的状态与事件计数,可验证「留痕可复算」。 |
| memory_snapshotA | 取最新状态快照并返回留存报告(只读):含当前状态指纹、 快照留存统计与保留策略情况,用于对账与巡检。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
The set splits cleanly into two clusters (task_* for long-task orchestration, memory_* for read-only audit) and submit/status/resume are clearly distinguishable by action. The only soft overlap is memory_snapshot versus memory_replay at at_ts=0 (now), since snapshot is effectively a replay-at-present plus a retention report; the descriptions mostly disambiguate but an agent could still pick the wrong one for a point-in-time state query.
Six of seven tools follow a clean prefix_noun convention (task_submit, task_status, task_resume, memory_events, memory_replay, memory_snapshot) with the prefix mapping to the cluster. The lone outlier is 'selftest', which has no prefix and no verb_noun structure.
Seven tools is well within the ideal 3-15 range and each one maps to a distinct operation (self-check, dispatch, poll, resume, two reads, one snapshot/report). Nothing appears padded or redundant for a governance/audit server.
The task lifecycle covers submit, poll, and resume, but there is no cancel/abort tool and no way to retrieve the artifacts or per-step output referenced by 产物号 in task_status, which is a real dead end for an agent handling a failed or unwanted task. The memory side is fully read-only by design, so its surface (events, replay, snapshot) is adequate, making the gaps moderate rather than severe.