Portable routine check¶
Use this runbook to resume authorized work after a restart, memory loss, or a move to another platform. It extends the status check with a dispatch, collect, and checkpoint loop. The delivery board guide remains the authority for roles, queues, ownership, and statuses; this page creates no new authority.
Whoever holds the coordinating role runs this check. That is the engineering lead, or another coordinator, for example one that runs an assigned lifecycle. The coordinator manages board handoffs and never reviews its own work.
Who fills a role¶
A role such as developer or verifier can be filled in two ways:
- A persistent bot that is woken by message. Cody and Vera run this way on Grok Bot today. The coordinator wakes the bot and tells it to continue its queue until the queue is empty.
- A per-task worker instance. An example is a coordinator that dispatches Codex workers per task. The coordinator starts or resumes the worker with the issue or pull request instructions and collects the result. Codex is an implementation worker, not a new board Owner option.
The board, the Owner field, and the handoffs are the same either way. Only the wake and collect steps differ. Where this page says "worker", it means either.
These are operating instructions, not evidence of installed schedules, working notifications, or active workers. A scheduled wake grants no permission. Honor explicit holds, normal confirmations, protected settings, and deployment rules. Keep private runtime instructions, credentials, sensitive worker identifiers, and personal details out of repository files and public comments.
Hourly trigger and migration¶
The team works 24/7. The scheduled check runs every hour of every day, including nights and weekends. Do not limit it to weekdays or business hours, even where a platform defaults to that. Event listeners also run around the clock.
The repository routine is the single source of truth. Review and version changes through pull requests like other repository guidance. After this page is merged and accessible, an authorized runner can use this minimal hourly trigger:
Open and execute https://github.com/Living-Proof-Labs/collaboration-guidelines/blob/main/docs/routine-check.md
Runner: <identity>; authorized scope: <scope>.
Report to: <authorized destination>; checkpoint: <durable private location>.
Honor action-specific approvals and explicit holds; the schedule grants no access.
This operational link deliberately follows this repository's reviewed main;
it is not a released dependency pin for consuming repositories. Resolve and
record the routine's commit at each wake. If it cannot be read, preserve the
last successful checkpoint and report the coverage gap instead of inventing
instructions from memory. Keep the trigger limited to the link and necessary
runner context, not a second checklist or historical task diary.
Before replacing an existing trigger, its authorized maintainer must reconcile active historical task references into the appropriate issues and checkpoints, including outstanding actions and wakes. Keep private identifiers private. This documentation neither installs nor changes a live scheduler; migration waits until the merged routine is accessible.
Hourly preflight¶
Before delivery work, verify both checks:
- GitHub access. Prefer the authenticated API. For Keel, verify the
expected account (
gh api user --jq .loginreturnskeel-agent-lpl) and actual read access to the Delivery board. A signed-in browser is an alternative for reads: verify the expected account and that the board loads; a tab title or public repo page alone does not pass. Either verified route is enough for read-only work. If neither works, the routine is Blocked. For a pending authorized board write, verify that an authorized route can perform that operation; API read access alone does not satisfy it. If the write needs the signed-in browser and that browser is unavailable, block the write and dependent delivery work. Restore that route and verify the expected identity and required access before proceeding. Do not make a real board write solely as a smoke check; perform only the pending authorized operation and verify its result. - Codex development machines. On the machines used for delivery, follow the shared host recipe to start the standard development environment and run its documented smoke check. A connected machine alone does not pass. If disk space is the blocker, follow the existing Docker cleanup procedure on idle machines: remove only unused, rebuildable images and cache or finished output that can be recreated. Preserve in-progress work and volumes. Retry the same check.
When the browser is available, close unneeded tabs at the start. Before ending the run, close newly unneeded tabs and verify the remaining tabs. Preserve unsaved work, active tasks, and pending handoffs at both checks. If the browser is unavailable, record that tab cleanup could not be verified; do not claim it passed. A browser outage does not block verified API read-only work, but it still blocks a pending write that requires that browser.
If either readiness check fails or cannot be verified, record the failing check, who can resolve it, and the next check. Work on clearing the blocker, but do not continue delivery until both readiness checks pass.
Restart checklist¶
- Read the repository's applicable
AGENTS.md, the board guide, and the independent review guide. Read remotely adopted guidance at the repository's pinned version; a link does not load it. - Recover the latest checkpoint and read the board plus linked issue and pull request comments. Recover current intent, definition of done, accountable owner, blockers, explicit holds, exact revisions, and decisions since the last successful check. Current evidence takes precedence over private memory or a stale checkpoint. Resolve contradictory evidence before acting on it.
- Find the existing worker through the authorized platform's worker lookup and private handoff record. Confirm its scope, revision, and actual state before resuming or replacing it. Missing private state means unknown, not idle.
- Check for a duplicate instance. See Check for duplicate instances.
- Select the next authorized action and record who will collect its result and the next wake. If no wake mechanism is available, record that gap and arrange an authorized manual handoff; never claim a reminder has been installed.
Assignment is by board Owner¶
Work is assigned by the Owner field on the Delivery board, not by the GitHub assignee. Old alerts that fire when an issue is assigned to an agent's login are retired: a person or agent may be assigned without owning the item, and ownership changes do not assign anyone. Do not use assignees as the signal.
Scheduled check scope¶
The scheduled check is the reliable path. Each run:
- Finds board items whose Owner is any team role (for example Rivet, Cody, Vera, Art) and wakes each teammate whose queue is not empty, per the delivery board guide.
- Also reads issues and pull requests in the organization updated since the last successful check that the team does not own. Act only when a recent comment names a team role without changing ownership, and only on what that comment asks. Read at most the 30 most recently updated such items per run; note any remainder in the checkpoint for the next run.
- Anything that needs someone's answer or decision, human or agent, goes on the board as Blocked with that person as Owner, plus a comment saying exactly what they need to answer. Do not use a chat message or a report for decisions (priority wake messages between bots are still fine).
- Once per ISO week, if no drift-run item exists for this week, add a dated
one with Owner Vera covering the
user-run paths.
The run covers both the latest main and the latest release.
The hourly check is the weekly runner. There is no new scheduler, cron,
service credential, or automated issue writer. Paths that need Docker,
which the runner may lack, take their evidence from the latest green main
CI run that executes them in the pinned container; check that run's logs
and revisions. A user path with no CI coverage gets a
driftissue, not a pass. The drift-issue rule is in
independent-review.md. 5. Runs Blocker detection over every item in In Progress or Verifying Pull Request.
Blocker detection¶
The coordinator's job is to detect blockers and help clear them, by assisting or by escalating to Aaron. This covers every item in progress, not only items Aaron asked about (Aaron, 26 Nov 2026). It overrides any pacing guidance that says to check on running work only when it reports back.
Each scheduled run checks every board item in In Progress or Verifying Pull Request, along with its open linked pull requests. An item is stalled when either of these holds:
- One of its pull requests has a failing required check.
- Neither the item nor its pull requests has had a commit, comment, or status change for about an hour or more.
For each stalled item:
- Find the cause. Read the failing run logs and the latest comments.
- Teammate owner. If a teammate owns it, send them one priority message with the cause and a suggested fix, or ask what is blocking them.
- Within the coordinator's authority. If the coordinator can clear it within its own authority, it fixes the problem or takes the item over, following the existing takeover rules, such as the Gemini handoff.
- Needs Aaron. If it truly needs Aaron, follow
Decisions for Aaron: Blocked,
Owner Aaron, assign
aroller, and add an evidence comment. - Escalate, do not repeat. Do not re-ping the same stall. If nothing has moved an hour after asking, escalate one step: assist or take over, or bring it to Aaron.
Takeover never covers independent verification. A stalled Verifying Pull Request item goes back to the verifier, or to Aaron.
List every stalled item and the action taken in the run summary.
Event wakes (issue or pull request)¶
A single event can wake an agent, for example a pull request opened or merged, a failed check, an issue assigned, or a new comment. Handle only that one item. Do not sweep the board or the repositories.
Relevance is judged from the item, its latest comments, and its board Owner and Status, regardless of the GitHub assignee. An assignment event is only a wake signal.
- Read the item, its latest comments, and its board Owner and Status.
- If it is the coordinator's own, act on it according to its Status. Handoffs follow the roles and queues: a verifier pass leaves Status alone for the coordinator to merge; a verifier fail moves the item to In Progress with Owner the developer, plus a comment saying what is needed.
- If it concerns another team role, whether by Owner or by a comment that names them, the coordinator wakes that agent with a short priority message giving the item URL and what is needed, and tells them to continue with their queue until it is empty. A non-coordinator acts only on its own items.
- If the team does not own it, read only the latest comments for a team mention. Respond only if one asks something of a team role.
- Anything that needs someone's answer or decision, human or agent, goes on the board as Blocked with that person as Owner, plus a comment saying exactly what they need to answer. Do not use a chat message or a report for decisions (priority wake messages between bots are still fine). If nothing is owed, post no acknowledgement on the item; the run still ends with its brief summary.
- If another instance of your role has posted on the item recently (within the last 24 hours, or since the last check if that is longer) under a different signature, stop and follow Check for duplicate instances.
Platform event triggers usually cannot see board Owner changes or mentions in comments on items the team does not own. The scheduled check stays the reliable path; event listeners are an optional fast lane for speed, such as a merge or a failed check on the main branch.
Setting up the alert on a new platform¶
For a worked example, see Grok Bot.
Any scheduler or automation works, for example Grok Bot routines, OpenAI Codex automations, GitHub Actions, or cron. Describe each trigger by what it delivers and what the agent does, not by a platform's trigger names or limits.
- One scheduled check. A recurring tick with no payload. The agent runs this runbook's full sweep. It runs every hour of every day, not only on weekdays or in business hours.
- Optional event listeners. Each delivers one issue or pull request event with its URL. The agent runs Event wakes for that item only. Skip these where a scheduled check is fast enough. Listeners run around the clock.
- Keep prompts to a runbook link plus role and signature. The logic lives in the runbook, not the prompt. An event listener's prompt is a one-liner:
Run Event wakes in [runbook link] for this event. Role: Rivet (coordinator). Sign as — Rivet (Aaron).
The scheduled check's prompt is a one-liner:
Run [runbook link]. Role: Rivet (coordinator). Sign as — Rivet (Aaron).
- End each run with a brief summary. Each run, scheduled or event, ends with
a brief summary of the actions taken (or that none were needed) sent to the
runner's report destination. A scheduled run's summary lists every stalled
item found by Blocker detection and the action taken.
Decisions still go on the board, not in the summary.
- Split by platform limits when needed. If a platform caps what one trigger
can cover, use several triggers with the same pointer; the runbook stays the
single source.
Check for duplicate instances¶
Two instances of one role working at once cause conflicting writes. Before writing on an item, look for posts from the last 24 hours, or since the last check if that is longer, signed with your own role name under a different account. Also compare the account shown as the author with the signature, and look for unsigned posts that read like your role's work.
A concrete query, for example with the GitHub command line. The cutoff is UTC
ISO 8601, for example 2026-11-21T09:00:00Z. It prints the author, time, and
last line of each comment, and the same for the description:
gh issue view <n> --json author,createdAt,body,comments --jq '
([{author, createdAt, body}] + .comments)[]
| select(.createdAt > "<cutoff>")
| [.author.login, .createdAt, (.body | rtrimstr("\n") | split("\n") | last)]
| @tsv'
Use gh pr view for pull requests; it reads the description the same way.
The query needs an authenticated gh. A GitHub App installation token works.
To find an app's recent comments across the organization, search with
commenter:app/<app-slug> plus an org: qualifier. The search updated_at is
not the comment time, so read the latest comment's created_at and its
signature before deciding.
GitHub author logins can show as app/<name> (for a GitHub App) or as a
plain login. Flag a post that:
- ends with your role name and a different account, for example "— Rivet (Keel)" when you are "— Rivet (Aaron)";
- carries your role name and the same account but comes from a second instance (for example overlapping work you did not do); or
- has no signature but is clearly your role's work, such as a verdict or a handoff.
Signing is required on pull request descriptions and comments; commit message bodies need not be signed. See the signing rule. If you find a duplicate, stop writing on that item and follow the one-instance rule there.
Lean repository coverage¶
Use the canonical repository inventory
source, .github/config/github/repositories.json, through authorized access;
record its resolved revision. Do not substitute a remembered repository list.
For each inventoried repository, inspect changes since its last successful
checkpoint: issues, pull requests, main-branch pipelines, skipped release jobs,
releases, and delivered evidence. Check Renovate failures and stalls using the
dependency policy. Read the latest organization
settings-verification report's individual results, not just its overall job
status; never apply settings during this check.
Keep this inspection read-only except for authorized reports and coordination. Prioritize your own assigned work and assigned reviews. Respect the engineering lead's ownership. A coordinator other than the lead routes team coordination through the lead rather than directly dispatching another agent's roles. A handoff to those roles below then means arranging it through the lead. Assigned work advances under existing development/merge authority and action-specific approvals. Pipeline success is not proof of robot capability success: link the relevant capability results and retain missing evidence.
Deduplicate actionable findings against existing issues before reporting them. Record per-repository coverage gaps and retry them at an explicit next check; do not advance the last successful checkpoint past uninspected work. Preserve successful coverage separately so an outage does not force repeated full sweeps. Avoid repeating unchanged outage notices. Separate fleet dependency remediation, security-audit, Health, and project-specific watches retain their own scopes and checkpoints; this pass links their findings without taking over those watches. Health is Keel's area; see Health.
Keep coordination cheap¶
Aaron decided these cost rules on 2026-11-25 and 2026-11-28. Trading some velocity for lower cost is fine.
- The verifier chooses verification depth from the change's risk. Do not name a depth when asking for a check.
- Batch handoffs. Send one message per agent per round. A wake is a pointer, not a brief: link the board items or pull requests in queue order and say to continue until your queue is empty. The instructions live on the issue or pull request; do not restate them in the message. Do not send a separate message for each item in the same round.
- GitHub is where agents talk. Post findings, questions, and verdicts on the issue or pull request, not in agent-to-agent messages. Do not send messages that only share information and need no action, and do not send acknowledgements, thanks, or "on it" replies; a board move or a GitHub comment is the acknowledgement. Report back to the engineering lead once, when the lead must act, for example when work is ready to merge, is blocked, or needs a decision. Progress goes on the pull request.
- The usual pace is to check running work when it reports back. Blocker detection is the exception: every item in In Progress or Verifying Pull Request is still checked each scheduled run for failing checks and stalls.
- Agents keep working their board queue without being prompted. A wake from the lead is only needed when an agent has no schedule of its own, or its top item has stalled. Do not wake an agent whose top item already shows recent activity, and do not wake one to re-check something already recorded on GitHub; read the verdict there instead of asking for it again. Before messaging, check whether a board field change plus a GitHub comment already does the job; the agent's own routine or next wake will pick it up.
Dispatch, collect, and checkpoint¶
- Reconcile. Work your assigned items in board priority order. Read answers to blockers before asking again. Preserve intentional owners and statuses; reuse existing cards and linked pull requests. Do not take unrelated backlog. Keep routine board checks lean. Fleet dependency checks, security audits, and project-specific watches have separate purposes and checkpoints; link their findings instead of silently expanding this pass into those sweeps.
- Prepare the handoff. Put implementor instructions on the issue or pull request: scope, acceptance criteria, exact base or candidate revision, relevant guidance, allowed actions, evidence required, and stop conditions. For coding, hand off to the developer role. For review, use an independent reviewer. The verifier chooses the verification depth; do not name one. A changed board field is not a dispatch.
- Dispatch once. Inspect the existing worker first. Explicitly wake or resume the correct idle worker using an authorized channel and link the handoff comment. Confirm acceptance or observed activity, then checkpoint the worker state and next collection time. A sent message alone does not prove work is running. Do not start a duplicate when a worker is already active or when delivery is uncertain; inspect delivery and worker state first. Retry only after confirming the previous dispatch did not execute. Waiting for the collection time does not pause Blocker detection on that item.
- Collect and act. At the next wake, inspect results and issue/PR activity. Check the returned revision against the current head. Record substantive results on the issue/PR and act: send specific fixes back, arrange independent review, advance an evidenced handoff, or record a blocker. Run appropriate local tests before relying on hosted checks; report passed, failed, blocked, and not run separately. An implementor's pass is not independent review.
- Verify the lifecycle. Follow the existing merge handoff and your role boundaries. Before any authorized merge, re-read the exact head, required checks, holds, and independent evidence. A new head needs an explicit review assessment and affected checks rerun; never bypass protections. After merge, record the merge revision and arrange Vera's integrated-main verification, using the review guide's tree comparison and CI/deployment evidence. Record the applicable documented exception when nothing needs post-merge checking; do not invent a pass or mark ordinary work Done before verification.
- Checkpoint and report. Save the next action and explicit next wake before ending the pass, including while waiting. Put substantive evidence and implementor instructions on the issue/PR first, then send Aaron a concise chat summary linking the exact comment when something meaningful changes. On a routine unchanged check, update the checkpoint without repeating public comments or notifications. Always answer when Aaron requested the check. When an item finishes, hand off and continue the next authorized queue item.
Gemini handoff¶
Gemini is a fast, decent coder for new easy-to-medium issues. It adds coding capacity. It does not take work through the lifecycle, and it does not take feedback and keep going. The engineering lead delegates to Gemini and then takes the result back for review:
- Delegate. Set the issue Owner to Gemini. Gemini is told to pull against the issues it owns. It opens a pull request and stops.
- Take it back. When the engineering lead takes a Gemini item, set it to In Progress with Owner the engineering lead right away. Do not leave Owner as Gemini. When the item has an unambiguous implementing pull request, confirm its explicit issue link and scope against the definition of done, reuse existing cards, and record the linkage.
- Fix or repair. If the fix is small, the lead makes it on the pull request. If it is larger, the lead hands it to the developer (Cody) as In Progress with a comment saying what is needed. Gemini is not asked for further changes.
- Finish the lifecycle. Arrange independent review. When Vera begins, follow the board's Verifying Pull Request / Owner Vera handoff. After a pass, the lead merges that exact head, and Vera does the post-merge verification.
Name similarity alone is insufficient: leave ownership intact and clarify ambiguous linkage on the issue. This does not authorize taking Gemini's unrelated backlog.
Common outcomes¶
| Observed state | Action and next wake |
|---|---|
| Idle worker with authorized work | Resume that worker with the issue/PR instructions; confirm dispatch and record a concrete collection time. |
| Already-running worker | Reuse its reference; collect at the recorded time or completion event. Do not launch another worker. A failing check or about an hour with no movement still triggers Blocker detection. |
| Returned result | Check the revision and evidence; dispatch fixes or independent review and checkpoint the next collection. |
| Approval or decision blocked | Follow Decisions for Aaron: Blocked, Owner Aaron, exact options on the issue/PR. Read replies at the next stated check; do not repeatedly ask the same question. |
| Queue exhausted | Leave idle workers alone. Checkpoint that no authorized item is ready, plus the next routine check time or explicit ready-item event and its responsible observer. |
| Failed or uncertain dispatch | Record failed/unknown, not active. Inspect delivery and existing workers before retrying; if unresolved, record the blocker, responsible owner, and next diagnostic check. |
Personality and working style¶
Process lives on this page and in the board guide, and does not depend on the platform. Each agent's personality and working style live in its Notion profile. These links are internal. They need Living Proof Labs Notion access and will not open for outside readers.
Moving to another platform or account¶
These items do not travel in Git. Set each up again on the new account:
- The agent's GitHub App private key, saved as a bot secret.
- Its schedules and triggers, including the hourly trigger above.
- Chat or Slack installs.
- Connectors.
- Runtime memory and checkpoints. Move them through an authorized private channel.
Then follow these steps in order:
- Retire the old instance's schedules and wakes first. Confirm it has made no recent posts under its old signature, so the old and new instances never run at once.
- Set up the items above on the new account.
- Change the signature to the new account, for example from "— Rivet (Aaron)" to the new account's name.
- If the agent's identity changes, reassign the board Owner values for its role and its open items.
- Confirm the new app identity can post comments and read and edit the board.
- Recover the latest checkpoint and run the restart checklist.
- Run a final read-only check before resuming any writes.
- Retire the old key.
Never put secrets or private identifiers in this repository.
Durable checkpoint template¶
Keep one current checkpoint per purpose in a durable, authorized store that a successor can find from the handoff. Public issue/PR evidence carries the work; a private companion record holds sensitive worker references. On a platform move, transfer that record through an authorized private channel. If it cannot be recovered, establish worker state before creating a replacement. Never store credentials in either a repository checkpoint or a handoff comment.
Purpose, authorized scope, and routine / inventory revisions:
Accountable board Owner / current Status:
Linked issue / implementing PR / latest instructions comment:
Exact base, candidate head, or merged revision (label each):
Evidence links and passed / failed / blocked / not-run results:
Worker role and state (idle / running / returned / failed / unknown):
Worker reference: public-safe description; sensitive reference stored privately
Dispatch attempt, confirmation evidence, and collector:
Last successful check (timestamp with timezone) / changes since then:
Next action and responsible actor:
Blocker or approval needed / decision comment / who can unblock:
Next wake: timestamp with timezone, or explicit event and responsible observer
Wake mechanism and confirmation, or unavailable/manual handoff needed:
A successor must be able to answer what to do, who is doing it, how to collect the result, and what will trigger the next check without this conversation.
Documentation home · Docs: v9.15.0 · Version and source · Help / report an issue · License