docs: clean up leftover .pi/agent/skills references (#1645)

PR #1632 updated the Pi project-level skill dir from
.pi/agent/skills/ to .pi/skills/, but missed two references:

- server/internal/daemon/execenv/runtime_config.go:20 — the comment
  block here lists project-level paths for every other provider, so
  using Pi's global path was inconsistent and misleading.
- docs/docs-rewrite-plan.md:88 — planning doc still listed the old
  path in the Skills row.

Follow-up to #1632.
This commit is contained in:
Bohan Jiang
2026-04-25 02:08:33 +08:00
committed by GitHub
parent 68a312c297
commit a89064d693
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ Multica = **人 + AI agent 在同一个看板上协作的任务管理平台**。
| 7 | **The Daemon** | 分布式执行的灵魂poll + heartbeat + concurrent execution | 每 30s heartbeat75s 无心跳 → 离线;启动时调 `recover-orphans` 回收孤儿任务max_concurrent_tasks 有双层daemon + agent |
| 8 | **Tasks** | 任务是什么;生命周期 queued→dispatched→running→completed/failed | **session_id mid-flight pinning**agent 首条 system message 一到就持久化,不等完成);失败自动重试只对 issue-sourced 任务max_attempts=3chat 和 autopilot 不自动重试 |
| 9 | **Triggers & Entry Points****独立页** | 5 种让 task 产生的入口Assignment / Comment @mention / Chat / Autopilot / Rerun每种的行为对比 | 每种的 FK 字段不同trigger_comment_id / chat_session_id / autopilot_run_id**对比表**:哪种有 session resume / 自动重试 / priority 来源 / dedup |
| 10 | **Skills** | 工作区 skill + 本地 skill按 provider 的注入路径 | 8 种 provider 有不同 skill 根路径Claude=`.claude/skills/`、Codex=`$CODEX_HOME/skills/`、Pi=`.pi/agent/skills/`、etcskill 不参与执行,只参与上下文注入 |
| 10 | **Skills** | 工作区 skill + 本地 skill按 provider 的注入路径 | 8 种 provider 有不同 skill 根路径Claude=`.claude/skills/`、Codex=`$CODEX_HOME/skills/`、Pi=`.pi/skills/`、etcskill 不参与执行,只参与上下文注入 |
| 11 | **MCP** | 独立协议;怎么给 agent 配 MCP server和 skill 的区别 | **目前只 Claude Code 真用**——其他 provider 收到 McpConfig 但 CLI 没对应 flagJSONB 明文存储,非 owner redact |
| 12 | **Autopilots** | 让 agent 自动开工的调度器;两种执行模式;三种触发;并发策略 | **Webhook trigger 字段有但没接路由**——第一版不文档化concurrency policy 只对 `run_only` 模式生效;`create_issue` 模式由 issue FSM 自然 gate |
| 13 | **Chat** | 和 issue comment 的区别session 复用 | **完全沙盒**——chat 里的 agent 不能发 comment 到 issuesession_id 用 COALESCE 持久化agent crash 不会抹掉 |

View File

@@ -17,7 +17,7 @@ import (
// For OpenClaw: writes {workDir}/AGENTS.md (skills discovered natively from .openclaw/skills/)
// For Hermes: writes {workDir}/AGENTS.md (skills fall back to .agent_context/skills/; AGENTS.md points there)
// For Gemini: writes {workDir}/GEMINI.md (discovered natively by the Gemini CLI)
// For Pi: writes {workDir}/AGENTS.md (skills discovered natively from ~/.pi/agent/skills/)
// For Pi: writes {workDir}/AGENTS.md (skills discovered natively from .pi/skills/)
// For Cursor: writes {workDir}/AGENTS.md (skills discovered natively from .cursor/skills/)
// For Kimi: writes {workDir}/AGENTS.md (Kimi Code CLI reads AGENTS.md natively; skills auto-discovered from project skills dirs)
func InjectRuntimeConfig(workDir, provider string, ctx TaskContextForEnv) error {