Repository navigation
feat(first-mate-skill): snapshot 1.4.0 agent-watch rework - #7
Merged
Merged
Conversation
Scope the agent watch by paseo.parent-agent-id label instead of agent name, and make agent/permission-prompt watching opt-in and off by default (`agents on` / `permits on`). The harness already sends finish notices and surfaces pending permits, so watching them by default made the wait loop wake on the coordinator's own create/archive/finish actions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the
first-mate-skillsnapshot to skill version 1.4.0, reworking how thechange detector watches agents.
Changes
Scope the agent watch by
paseo.parent-agent-idlabel instead of agentname.
agents_snapshotnow filterspaseo ls --jsonby--label paseo.parent-agent-id=$PASEO_AGENT_ID, so a coordinator watchesexactly the agents it delegated. The
ignore_agentsname list is removed.Make agent and permission-prompt watching opt-in and off by default.
The harness already sends
[Agent finished]notices and surfaces pendingpermits, so watching them by default made the wait loop wake on the
coordinator's own create/archive/finish actions. New
watch_agents/watch_permitskeys default tofalse; enable withfirst-mate-check.py agents on/permits onfor heartbeat flows that getno harness finish notices.
Before / After
agentsandpermission prompts,scoped by agent name (
ignore_agents).watch_agents/watch_permitsare on; when on, the agent list is scoped by
paseo.parent-agent-id.Verification
python -m py_compileonfirst-mate-check.pypasses.first-mate-check.py --showwith the default watch omitsagentsandpermission prompts;agents on/permits onre-add them.first-mate-wait.shis unchanged; the kit's shape (files only, no commands,no egress) is unchanged.
AI-assisted.