Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PY := $(VENV)/bin/python
PATTERNS ?= .patterns
LINT_PATHS := scripts/validate-kits.py scripts/run-kit-tests.py scripts/tests claude-code/files claude-code/tests claude-code/scripts/test claude-code/scripts/verify
LINT_PATHS += codex/files codex/tests codex/scripts antigravity/files antigravity/tests antigravity/scripts scripts/verify-native-cli.py personal/scripts/vendor-pocock-skills
LINT_PATHS += personal/scripts/vendor-diagram-design personal/scripts/test-diagram-design.py personal/vendor/diagram-design-local/scripts
LINT_PATHS += personal/scripts/vendor-diagram-design personal/scripts/test-diagram-design.py personal/scripts/test-first-mate-detector.py personal/vendor/diagram-design-local/scripts
GITLEAKS ?= gitleaks

.PHONY: setup check lint test validate security
Expand Down
7 changes: 5 additions & 2 deletions personal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ network hosts, `github.com` and `registry.npmjs.org`, for that command.

```text
~/.agents/skills/
paseo-first-mate/ the author's own skill (version 1.4.0) and two helper scripts
paseo-first-mate/ the author's own skill (version 1.5.0), its references, and two helper scripts
SKILL.md
references/*.md longer procedures the skill links to (delegation, status doc,
handoff, host commands, stacking, cross-PR checks)
assets/first-mate-check.py change detector (prints nothing when nothing changed)
assets/first-mate-wait.sh background wait loop around the detector; one loop per
FIRST_MATE_DIR, owned by the starting agent (flock)
Expand Down Expand Up @@ -242,7 +244,8 @@ running and who owns it. A missing tool is reported rather than hidden: the
detector prints an `ERROR` line naming the missing CLI, and the shell reports a
missing `python3`. The detector only reads GitHub and Paseo state; its only
writes are the state and watch files, and the directory that holds them,
`FIRST_MATE_DIR` (default `./tmp`, relative to the current directory).
`FIRST_MATE_DIR` (default `tmp`, resolved to an absolute path; running from inside
`tmp/` does not nest it).

## Updating the First Mate skill

Expand Down
16 changes: 9 additions & 7 deletions personal/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@ shell's "command not found" as its output.
## The detector prints nothing and the wait loop never returns

That is the intended quiet path: once a baseline exists, it prints nothing when
nothing changed, and the wait loop exits 3 at its cap. The very first run prints
`BASELINE saved` (even with an empty watch list, because agents and permission
prompts are always collected), so the wait loop returns once at first start;
start it again after that (check `status` first). If `paseo` is missing the baseline never settles (see the
previous section), so the loop returns every time. Run the script with `--show`
nothing changed, and the wait loop exits 3 at its cap (default 8 hours), printing one
line that says so. The very first run prints
`BASELINE saved`, so the wait loop returns once at first start; start it again
after that (check `status` first). If `gh` is missing, or `paseo` is missing while
`agents on` or `permits on` is set, the baseline never settles (see the previous
section), so the loop returns every time. Run the script with `--show`
to see the full current snapshot, and `list` to see what is being watched. State
and watch files live in `FIRST_MATE_DIR` (default `./tmp`), relative to where
you run the script.
and watch files live in `FIRST_MATE_DIR` (default `tmp`), which the scripts resolve to
an absolute path. `first-mate-wait.sh status` also shows `last-run=`, the age of the
last completed detector run, and warns when it is over twice the interval.

## Several wait loops, or "refusing: a loop is running"

Expand Down
256 changes: 211 additions & 45 deletions personal/files/home/.agents/skills/paseo-first-mate/SKILL.md

Large diffs are not rendered by default.

Loading
Loading