log-tail-qa
CommunityProve async log behaviour with bounded waits
Software Engineering#shell scripting#asynchronous testing#log verification#evidence capture#bounded waiting#regex matching
Authorkylesnowschwartz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Verifying that an asynchronous system actually emitted a specific log line (and doing so reliably) is hard, because the log may already contain historical entries, may buffer output, may rotate, or may stop growing without the expected event.
Core Features & Use Cases
- Bounded log waiting: Tails a log with a configurable timeout and fails deterministically instead of waiting forever.
- History vs tail semantics: Chooses include/exclude behaviour so the check correctly matches either “already happened” or “must happen after this starts”.
- Occurrence counting: Supports asserting N occurrences using line-based accumulation rather than first-match-only grep patterns.
- No-progress fail-fast: Detects when the log file stops growing across polls and rejects early when the system appears stuck or writes elsewhere.
- Evidence capture for audits: Saves the matched lines, surrounding context, and verdict details into the oracle evidence directory.
Quick Start
Use the log-tail-qa skill to verify that a regex pattern appears in the target log within a bounded time window and capture the matching lines plus tail context for audit evidence.
Dependency Matrix
Required Modules
timeoutgrepawkstattailjq
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: log-tail-qa Download link: https://github.com/kylesnowschwartz/ralph-ban/archive/main.zip#log-tail-qa Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.