Skip to content

sno-ai/sno-station-skills / skills/T-delegation-and-work-orders/pl/skills/pl

MANUAL-ONLY — load solely when the human owner types `/pl`, uses `$pl`, or asks you to act as the Project Lead (PL). Supervise one project lane and its executor agents. A charter or dispatch means: you are an EXECUTOR, not the PL.

FileKindSize
SKILL.mdskill md61.7 KB
references/callsigns.txtmarkdown384 B
references/decision-rights.mdmarkdown4.8 KB
references/dispatch-template.mdmarkdown38.2 KB
references/pocket-card.mdmarkdown1.9 KB
references/progress-reporting-hooks.mdmarkdown2.3 KB
references/todo-template.mdmarkdown6.9 KB
scripts/agent-cli-help.tother1.2 KB
scripts/attempt-gate.shexecutablescript3.6 KB
scripts/attempt-gate.tother4.6 KB
scripts/callsign-transfer-e2e.shexecutablescript7.9 KB
scripts/callsign-worktree.tother1.7 KB
scripts/callsign.shexecutablescript15.2 KB
scripts/convergence-watch.shexecutablescript8.6 KB
scripts/core-structure.tother5.7 KB
scripts/docker-env-doctor.shexecutablescript19.4 KB
scripts/exec-sentinel.shexecutablescript5.8 KB
scripts/exec-sentinel.tother2.4 KB
scripts/exec-state.shexecutablescript20.8 KB
scripts/exec-state.tother23.1 KB
scripts/exec-trust.shscript5.3 KB
scripts/exec-trust.tother6.4 KB
scripts/executor-wall.shexecutablescript6.8 KB
scripts/executor-wall.texecutablescript9.5 KB
scripts/fence-check.shexecutablescript4.4 KB
scripts/general-env-doctor.shexecutablescript14.0 KB
scripts/general-env-doctor.tother5.8 KB
scripts/gpu-watch.shexecutablescript4.5 KB
scripts/gpu-watch.tother1.5 KB
scripts/lane-open.shexecutablescript4.1 KB
scripts/lane-open.tother3.9 KB
scripts/lane-resolve.shexecutablescript5.0 KB
scripts/lane-resolve.texecutablescript7.0 KB
scripts/log-watch.shexecutablescript10.9 KB
scripts/log-watch.texecutablescript6.8 KB
scripts/on-station-proof.texecutablescript1.9 KB
scripts/portable-paths.tother1.5 KB
scripts/roster-git.tother4.1 KB
scripts/roster-reach.tother2.8 KB
scripts/roster.shexecutablescript19.9 KB
scripts/script-running.shscript5.8 KB
scripts/script-running.tother3.7 KB
scripts/selftest/run-selftest.shexecutablescript1.2 KB
scripts/spawn-exec-generation-e2e.shexecutablescript1.9 KB
scripts/spawn-exec-help.tother2.8 KB
scripts/spawn-exec-interactive-e2e.shscript13.2 KB
scripts/spawn-exec-lane-resolve.tother3.5 KB
scripts/spawn-exec-mission-state-e2e.shscript1.8 KB
scripts/spawn-exec-on-station-e2e.shexecutablescript2.2 KB
scripts/spawn-exec-operate.tother9.4 KB
scripts/spawn-exec.shexecutablescript36.8 KB
scripts/todo-close-evidence.tother1.2 KB
scripts/todo.shexecutablescript35.5 KB
scripts/todo.tother27.9 KB

scripts/lane-open.t

View on GitHub
#!/usr/bin/env bash
# Observe the public commands, registry bytes and real Reach seat.
set -Eeuo pipefail

script_dir="$(cd -- "$(dirname -- "$0")" && pwd)"
root="$(mktemp -d)"
trap 'rm -r -- "$root"' EXIT
host="$(hostname)"
export PL_REGISTRY="$root/registry.tsv"
export SNO_REACH_ROOT="$root/reach"
export SNO_OWNER_ADDR="owner.primary@$(hostname)"
export PL_COS_CLAIM="$root/noop-claim.sh"
unset PL_LANE
printf '%s\n' '#!/usr/bin/env bash' 'exit 0' >"$PL_COS_CLAIM"
chmod +x "$PL_COS_CLAIM"
printf '%s\n' $'home_repo\tlane\treach_address\theartbeat_name\truntime\towning_cos\tstate\tnote' >"$PL_REGISTRY"

tests=0
failures=0
check() {
  local label="$1"; shift
  tests=$((tests + 1))
  if "$@"; then printf 'ok %d - %s\n' "$tests" "$label"
  else printf 'not ok %d - %s\n' "$tests" "$label"; failures=$((failures + 1)); fi
}
open_lane() {
  status=0
  bash "$script_dir/lane-open.sh" "$@" >"$root/out" 2>"$root/err" || status=$?
}

open_lane --repo '/tmp/parent with spaces/solo/'
check 'opens successfully' test "$status" -eq 0
check 'prints the exact default row' test "$(cat "$root/out")" = \
  $'solo\tall\tpl.solo@'"$host"$'\tsolo\tclaude\tunclaimed\tRUN\tLane opened by a standalone PL.'
check 'appends exactly one row' test "$(wc -l <"$PL_REGISTRY")" -eq 2
check 'stored row equals stdout' cmp -s "$root/out" <(tail -n 1 "$PL_REGISTRY")
resolved="$(bash "$script_dir/lane-resolve.sh" --repo solo 2>/dev/null)" || true
check 'resolver returns the owner and unclaimed ownership' test "$resolved" = \
  $'all\tpl.solo@'"$host"$'\tunclaimed\towner.primary@'"$host"$'\tRUN'
check 'creates the real PL seat' jq -e --arg host "$host" \
  '.address == "pl.solo@\($host)" and .role == "pl" and .runtime == "unbound"' \
  "$SNO_REACH_ROOT/pl.solo@$host/seat.json"
check 'creates no COS seat' test ! -e "$SNO_REACH_ROOT/cos.solo@$host"

cp -- "$PL_REGISTRY" "$root/before"
open_lane --repo solo --runtime codex
check 'second open exits 64' test "$status" -eq 64
check 'refusal prints no row' test ! -s "$root/out"
check 'refusal preserves all registry bytes' cmp -s "$PL_REGISTRY" "$root/before"

printf '%s\n' $'multi\tbuild\tpl.multi-build@'"$host"$'\tmulti-build\tcodex\tcos/multi\tRETIRED\tRetired lane.' >>"$PL_REGISTRY"
cp -- "$PL_REGISTRY" "$root/before"
open_lane --repo multi --lane build --runtime codex
check 'retired row permits opening the same lane' test "$status" -eq 0
check 'named lane uses the exact address and heartbeat' test "$(cat "$root/out")" = \
  $'multi\tbuild\tpl.multi-build@'"$host"$'\tmulti-build\tcodex\tunclaimed\tRUN\tLane opened by a standalone PL.'
check 'opening preserves retired and unrelated rows' cmp -s "$root/before" <(sed '$d' "$PL_REGISTRY")
resolved="$(bash "$script_dir/lane-resolve.sh" --repo multi --lane build 2>/dev/null)" || true
check 'resolver selects the new row over the retired row' test "$resolved" = \
  $'build\tpl.multi-build@'"$host"$'\tunclaimed\towner.primary@'"$host"$'\tRUN'

cp -- "$PL_REGISTRY" "$root/before"
open_lane --repo invalid --runtime invalid
check 'invalid runtime exits 64 without writing' test "$status" -eq 64
check 'invalid input preserves registry bytes' cmp -s "$root/before" "$PL_REGISTRY"
open_lane --repo
check 'missing argument exits 64' test "$status" -eq 64

export PL_REGISTRY="$root/fresh/state/registry.tsv"
open_lane --repo sno-fresh-repo
check 'a fresh machine with no registry opens its first lane' test "$status" -eq 0
check 'a repository name keeps its full text in the address' \
  test "$(tail -n 1 "$PL_REGISTRY" | cut -f3)" = "pl.sno-fresh-repo@$host"
check 'the new registry holds the header and exactly one row' test "$(wc -l <"$PL_REGISTRY")" -eq 2
check 'the new registry header names the reach_address column' test "$(head -n 1 "$PL_REGISTRY")" = \
  $'home_repo\tlane\treach_address\theartbeat_name\truntime\towning_cos\tstate\tnote'

printf '1..%d\n' "$tests"
[[ "$failures" -eq 0 ]] || { printf '%d failure(s)\n' "$failures" >&2; exit 1; }
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall