Skip to main content

control-plane

PM hub — project board, task scoring, event stream, Telegram notification-only status

来源信息

仓库
arigatoexpress/Sapphire
最近来源活动
2026年7月29日 16:28
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
46 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
control-plane
description
PM hub — project board, task scoring, event stream, Telegram notification-only status
type
service
runtime
python
deploy_target
rari1
dependencies
["sapphire-core","sapphire-agents"]
entry_point
app/main.py
test_command
pytest tests/
build_command
docker build -t control-plane .
# Control Plane ## Purpose Central project management and coordination service. Manages the project board, scores tasks, and publishes local events. Telegram notification-only delivery belongs to the separate secure-review rail; this service accepts no Telegram authority. ## Event System Publishes tagged events: `task.created`, `task.completed`, `deploy.started`, `alert.fired` Tags: `project:`, `agent:`, `priority:`, `type:` Agents subscribe to relevant tags for notifications. ## Key Files - `app/main.py` — FastAPI entry point (health, events, tasks, Kimi bridge, constant-refusal Telegram tombstone) - `app/control_plane.py` — State management and persistence (SQLite default) - `app/project_board.py` — Project and task CRUD - `app/scoring.py` — Task priority scoring - `app/event_stream.py` — JSONL event log (no GCP — file-based) - `app/kimi_bridge.py` — `/api/kimi/pm` dispatch endpoint - `app/frontend/` — PM dashboard HTML pages ## On-prem Deploy (rari1) ```bash bash infra/pi/rari1/deploy-control-plane.sh # Service: http://100.x.x.x:8082 # Kimi bridge: POST /api/kimi/pm X-Control-Token: <CONTROL_PLANE_TOKEN> ```
在 GitHub 查看