Skip to content

feat: add ago and retry - #8

Open
fabiocicerchia wants to merge 2 commits into
masterfrom
feat/ago-retry
Open

feat: add ago and retry#8
fabiocicerchia wants to merge 2 commits into
masterfrom
feat/ago-retry

Conversation

@fabiocicerchia

Copy link
Copy Markdown
Owner

fabiocicerchia and others added 2 commits August 14, 2026 20:20
Two small tools in the spirit of the archived skx/sysadmin-util, written from
scratch:

- `ago FILE` - how long ago a file was modified, human readable.
- `retry [-n MAX] [-d DELAY] CMD` - repeat a command until it exits zero.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reports the markers left behind for a later pass, with the author when one
is tagged as TODO(fabio) or TODO @fabio.

Inside a git work tree the file list comes from `git ls-files`, so
.gitignore is honoured and vendored trees stay out of the report; elsewhere
the walk prunes the usual build and dependency directories. Binaries are
skipped by extension and by a NUL byte in the first block.

A marker quoted on its own is code handling a marker name rather than a
note, so it is not reported: without that the marker table in the script
itself shows up in every scan.

The count goes to stderr to keep the findings on stdout pipeable, and
--strict exits 1 on the first marker so a build can be gated on it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LxcekZMSbpxzdQkJ51xrKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants