with one click
automation-error-handling
Sub-skill of automation: Error Handling (+2).
Menu
Sub-skill of automation: Error Handling (+2).
| name | automation-error-handling |
| description | Sub-skill of automation: Error Handling (+2). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
# Retry with exponential backoff
def with_retry(func, max_attempts=3, base_delay=1):
for attempt in range(max_attempts):
try:
return func()
except Exception as e:
if attempt == max_attempts - 1:
raise
delay = base_delay * (2 ** attempt)
time.sleep(delay)
# Use environment variables or secret stores
env:
API_KEY: ${{ secrets.API_KEY }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
# Ensure operations can be safely retried
def process_with_idempotency(record_id, data):
existing = get_by_id(record_id)
if existing and existing.checksum == compute_checksum(data):
return existing # Already processed
return upsert(record_id, data)
Karpathy's LLM Wiki — build and maintain a persistent, interlinked markdown knowledge base. Ingest sources, query compiled knowledge, and lint for consistency.
Operate ace-linux-1 as the continuous AI-agent control surface for overnight and continuous batches that keep GTM material moving toward client outreach.
Canonical GitHub issue planning route — issue intake, strengthened resource intelligence, repo-tracked plan artifact, adversarial review, GitHub progress posting, future-issue capture, explicit approval gate before execution, machine-dispatch readiness checks, and execution-ready delegation packaging for Claude agent teams.
Build a docs-only execution handoff bundle after a completed implementation wave — follow-up issue drafts, scoped authorization note, deploy checklist, operator note, copy/paste command bundle, and incremental commit hygiene.
Audit and dispose of session residue (orphan files, scratch dirs, sibling-repo state, locks, trash-stages) BEFORE claiming a task complete. Required gate before any agent says "all done", "task complete", or hands work back to user/orchestrator.
Plan and operate a Hermes-led control plane that routes AI provider work across workstations using quota urgency, machine readiness, GitHub issue gates, and a dispatch ledger.