memory_agents
Coordinate agent sessions on the shared board: list peers and leases, update your own status or park, claim/release shared resources. List before shared work and on resume. idle_omitted counts idle peers.
Instructions
Coordinate agent sessions on the shared board: list peers and leases, update your own status or park, claim/release shared resources. List before shared work and on resume. idle_omitted counts idle peers. Status and parks grant no approval; board writes need an authenticated adapter.
update: omitted fields stay. A status update with no park fields clears any park, and its result's warning says so. Park when you stop (park_reason, park_needs, park_clear_by, park_resume); done means no follow-up expected. Automatic wake needs a live listener; otherwise mail waits for your next turn.
claim/release: one selector - lease (coordinator: or claim:), or worktree+path (local shim), or repository_id+path (HTTP). Reclaim renews; a busy lease queues you. File claims are advisory, not edit locks; no globs or directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | update: the name the board shows for you, up to 120 chars; it overrides your harness's title. "" clears yours. | |
| path | No | claim/release: one file relative to worktree/repository_id, up to 4096 chars; no globs or directories. | |
| task | No | list/update: current task, up to 120 chars. | |
| lease | No | claim/release: coordinator:<project> or claim:<path>, up to 120 chars. Omit with file selectors. | |
| action | No | list (default), update, claim or release; pass only that action's fields. | list |
| expect | No | update/claim: expected duration in seconds, integer 1..604800; marks overdue, not a timer or lease TTL. | |
| status | No | update: progress; claim: lease purpose. Up to 240 chars. On update, clears any park unless park fields are given. | |
| project | No | list/update: project name, up to 120 chars; relevance only. | |
| children | No | update: at most 8 distinct nonempty labels, each up to 40 chars. [] clears manual labels; automatic children remain. | |
| worktree | No | claim/release, local shim only: absolute Git worktree path, up to 4096 chars; requires path, excludes lease/repository_id. | |
| park_needs | No | update: what would unblock you, up to 120 chars; senders use clears only when their message satisfies this need. | |
| park_reason | No | update: done, blocked, needs_approval, needs_info, needs_resource or waiting_peer. Empty string clears; null/omitted sends no reason. | |
| park_resume | No | update: what to do once cleared, up to 240 chars. | |
| park_expires | No | update: positive finite Unix epoch seconds, at most now + 7 days; new parks default to now + 12 hours, refinements keep expiry. | |
| park_clear_by | No | update: who may wake this park: exact agent ID, maintainer, anyone, or a supported lease name; up to 120 chars. | |
| repository_id | No | claim/release, HTTP: prepared 64-char lowercase SHA-256 repository ID; requires path, excludes lease/worktree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||