agentleFS
amplifthqamplifthq/openmeld/.agents/skills/verify-runtime-coordinator-liveness/SKILL.md

verify-runtime-coordinator-liveness

Skill1.4k starsChanged 5 days agoMITView on GitHub

Check RuntimeCoordinator liveness for one workstation Wake. Fresh progress is not a failure, an open question pauses the stale watchdog, and the first terminal outcome sticks. Use when changing hasRuntimeCoordinatorLocalProgressStaleTerminalExpired or the terminal settle functions.

1 other project uses a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 24 mentionsNov 2026: 7 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the amplifthq/openmeld repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about amplifthq/openmeld

The biggest 5 of 31 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 31

Talked about on GitHub (31 times).

On GitHub · 31

26 more on GitHub

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run it when a change touches any of these:

    line 14
  2. Very specific:

    Read every TLC result with /statechart.

    line 37
  3. Very specific:

    Use /maintain-formal-verification-skill to bring this check back in line.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Verify RuntimeCoordinator liveness

A running Wake is not failed for silence while accepted progress is inside the window: five minutes normally, thirty minutes when the communication-recovery baseline is still that same progress. An unanswered question pauses that decision. The first of reply, stop, or failure sticks. Harm: a long task dies while the agent is still reporting, or a reply and a failure both become the Space outcome.

The question is the order of progress, time, disconnect, stop, and reply. That is a model check, so the spec is TLA+ and the checker is TLC 1.7.4 (jar sha256 936a262061c914694dfd669a543be24573c45d5aa0ff20a8b96b23d01e050e88). The code check calls the stale-progress predicate and both terminal settlement functions. Java 11 or newer must be on PATH. The check downloads the jar into ~/.cache/openmeld-tlc/ on first run.

When this applies

Run it when a change touches any of these:

  • services/core/src/runtime-transport/application/runtime-coordinator-authority.ts
    • hasRuntimeCoordinatorLocalProgressStaleTerminalExpired
    • RUNTIME_COORDINATOR_PROGRESS_EVIDENCE_STALE_TERMINAL_AFTER_MS
    • RUNTIME_COORDINATOR_COMMUNICATION_RECOVERY_WINDOW_MS
    • settleRuntimeCoordinatorAuthorityForTerminalDecision
    • settleRuntimeCoordinatorAuthorityForCancellationAccepted
  • services/core/src/runtime-transport/infrastructure/postgresql/runtime-coordinator-execution-repo.ts
    • LOCKED_TERMINAL_STATUSES

Confirmed against commit 965d9eb3219fa2c35789f9ab9a2206ab8699de9b. Move that commit forward only after you have confirmed that RuntimeCoordinatorLiveness.tla and check.test.ts still describe those functions.

Run

From the repository root, after pnpm install:

node .agents/skills/verify-runtime-coordinator-liveness/check.mjs

Exit 0 means fresh progress is not a failure and a later stop or timeout preserves the recorded terminal outcome.

Read every TLC result with /statechart. The user-facing labels are in view.mjs next to the spec.

What a failure means

  • The five-minute or thirty-minute assertion failed: the stale predicate no longer matches those windows. A wake that fails while progress is newer than the window is a product bug. A predicate that never fails is also a bug: silence would never become "couldn't finish".
  • does not fail a wake while it is waiting for the user failed: an open question no longer pauses the watchdog.
  • FreshProgressIsNotAFailure or TerminalOutcomeSticks failed in TLC: either the model gained a step the code does not have, or you need to add a step the code does have. Time in the spec is a 5-minute tick, from 0 through 6. Do not raise the tick limit to hide a counterexample.

TerminalOutcomeSticks compares consecutive states. A model that allows a published reply to become a stop fails even if both fields change together. The code check independently applies a late stop to a published reply and a late timeout to a settled stop. The PostgreSQL ledger is outside this executable replay.

Scope

One accepted Wake. Left out: pre-accept redelivery, token mismatch, and failed_retryable. The chart hides stop, reply, and "the agent asks you" from the states where the computer is already away. Those actions still exist. Stop and reply are shown from Working, and stop is also shown from "No progress for five minutes".

After a change that skipped this skill

Use /maintain-formal-verification-skill to bring this check back in line.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.