Files
Agent-System/.cursor/skills/agentctl-session-start/SKILL.md
T
WeiCHEN 821a307feb feat(ops): add Cursor skills/MCP/rules/hooks for agentctl
Wrap the live coordinator in project Cursor capabilities so agents
default to leases, docs apply, and daemon enqueue. Track skills/hooks/mcp
via .gitignore exceptions; guard destructive git with ask permission.
2026-09-23 19:23:40 +08:00

1.2 KiB
Raw Blame History

name, description
name description
agentctl-session-start Start an Agent-System session under agentctl governance. Use at session start, when opening a worktree, or before any write to this repo.

agentctl 会话启动

权威规范:AGENTS.md、操作规范、CURRENT。

步骤

  1. 读 AGENTS.md、PROJECT.md、.doc/ops/CURRENT.md 活跃摘要(勿跳过)。
  2. 核对管理面:
python3 scripts/agentctl.py daemon status
# 期望:status=ok;launchd 已装载时 manager.lock.held=true

或 MCP 工具 status。

  1. 若任务已存在:在注册 worktree 内工作,确认 tasks.state=active。
  2. 若新任务:跟 agentctl-worktree-setup。
  3. 任何仓库写 → agentctl-lease-write;合入 → agentctl-integrate-closeout。

禁止

  • 主目录直接开发提交;未授权 git push / 晋升 test/main
  • 绕过 docs apply 改 CURRENT / FEATURE-MATRIX
  • 卸载或重启 launchd coordinator(除非用户明示)