Index of every page on this site: llms.txt
All skills
kr4chinin avatar

/find-implicit-state-machines

@c46b93c
Run it yourself

Audit a codebase for implicit state machines (state spread across flags, status fields, timers and callbacks). Use when asked to find them or to trace impossible states, stuck loading, missing resets or async races. Catalog machines with no defect only when asked for an inventory.

Use this Skill: https://skilld.dev/gh/kr4chinin/skills/find-implicit-state-machines

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdistributed-lifecycles.md

≈514 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Distributed lifecycle checks

Use this checklist for backend queues, workers, leases and persisted workflows. Check worker/consumer registration and configured topology (bindings, retry routes, concurrency and replicas) as assumptions behind the trace. Code presence does not prove execution. Use repository evidence and name remaining assumptions; this checklist does not authorize production access.

  • Continuation and admission: Who continues work after an ACK, rejected queue admission or an elapsed deadline? Trace durable state, queue ownership, retry and deduplication. Can rejection leave a pending record with no worker or wakeup? Can timed-out work still finish and apply effects?
  • Terminal meaning: Separate transport terminal states (ACK, response, timeout, cancellation) from domain completion or failure. Trace the transition that settles the domain operation and who can still write afterward.
  • State after I/O: Check whether a worker rereads persisted state after external I/O and validates the current status, version, owner and lease where relevant. A reread alone leaves a race before the write: verify an atomic write predicate or concurrency check fences stale owners and results. Local generation counters do not fence other processes.
  • Delivery and commit gaps: Trace duplicate and reordered delivery, and a crash between claim, side effect, result persistence and ACK. Check what the next worker can discover and whether retry repeats an effect or loses work. Preserve the operation's idempotency contract; a database transaction alone does not make an external effect atomic with a commit.
  • Recovery progress and selection: Identify the durable retry/wakeup or reconciliation path after interruption. Does each pass advance or reschedule work, including expired leases? Check whether a repeatedly selected failing record or fixed first-page limit starves later eligible records. Bounded batches must eventually cover the full eligible scope, not silently truncate it.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill is a specialized auditing tool designed to identify implicit state machines and logic defects within a codebase. It maintains a read-only posture and follows a structured methodology for verifying state transitions. No malicious patterns, unauthorized executions, or data exfiltration risks were detected.

  • Socket7d

    No alerts

  • Snyk6d

    Risk: CRITICAL · 1 issue

Signed by skilld at c46b93c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago

README badge

README badge for kr4chinin/skills/find-implicit-state-machines