From 8b2d504b372e2f93c47c1d01cb2cc979624c86f8 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 16 Sep 2026 09:04:57 +0000 Subject: [PATCH] docs(pm-dispatch): the detach recipe names where its pid comes from The `check:pm-dispatch-gates` reading prescribed "detach + `tail --pid`" but never said where the pid comes from; re-deriving it with `pgrep -f` matches the asking shell's own command line, so the monitor waits on itself. The recipe now carries the pid source in its own copyable spelling, `tail --pid=$!`. Re-keyed in place: 466 / 466 lines, the row 119 -> 113 bytes. Claude-Session: https://claude.ai/code/session_01Bz6hxDBqK62NP2W1LATvnt Co-authored-by: Claude --- .claude/skills/pm-dispatch/references/platform-readings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/skills/pm-dispatch/references/platform-readings.md b/.claude/skills/pm-dispatch/references/platform-readings.md index b00c7c95dae..12a7f6066c4 100644 --- a/.claude/skills/pm-dispatch/references/platform-readings.md +++ b/.claude/skills/pm-dispatch/references/platform-readings.md @@ -424,7 +424,7 @@ - `check-governed-merges` 浅克隆上拒答而非少报,并报未审计仓数;补救 `git fetch --shallow-since=`。 - ⛔ 不越过该拒答自行枚举:短清单读作合规;加深日期取窗口起点之前,不猜深度。 - 前台 `sleep` 被 harness 拒 ⇒ 等待写成带 until 条件的前台阻塞等待,⛔ 不写 sleep 轮询循环。 -- `check:pm-dispatch-gates` 单机 430–450 秒贴调用方容器上限 ⇒ detach 加 `tail --pid`;超时非读数。 +- `check:pm-dispatch-gates` 单机 430–450 秒贴容器上限 ⇒ detach 加 `tail --pid=$!`;超时非读数。 - `check-half-states.mjs` 连 `--help` 都跑整仓 I/O ⇒ 早读到的输出文件是空的,不是干净的。 - 后台工具调用里再 `nohup … &` 会让包装器报假 `exit 0`,而真活还在跑。 - 分支删除被拒有第二形态:代理回 403,与既有 send-pack 断连同处置 ⇒ 不可删,⛔ 不重试。