算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
retrospect-external-babysitter-run【设计与创意】For a repository in the babysitter-users catalog, locate its babysitter processes and any committed runs (.a5c/runs/<runId>/) and perform a retrospective on a chosen run -- what went well, what failed, process suggestions, quality of effect design, breakpoint patterns -- mirroring the /babysitter:retrospect workflow but applied to an external repo. I…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Analyse a babysitter run that lives in an external public repository, using the same lens as the in-repo /babysitter:retrospect command. Produce a written retrospective with concrete suggestions for the process author (or, if the insight generalizes, for the babysitter project itself).
catalog-babysitter-users skill to pick one).gh CLI authenticated.docs/repo-with-babysitter-processes.md exists (if not, run the catalog-babysitter-users skill first)./tmp/babysitter-retrospect/ or .a5c/tmp/external-runs/).docs/repo-with-babysitter-processes.md and list Active repos with stars + description. If the user already named a repo, skip to step 3.docs/retrospectives/<owner>-<name>/log.md).Shallow clone the target:
mkdir -p .a5c/tmp/external-runs
cd .a5c/tmp/external-runs
gh repo clone <owner>/<name> -- --depth 50 --single-branch
cd <name>
Locate:
defineTask from @a5c-ai/babysitter-sdk. Use Grep: grep -rl "from '@a5c-ai/babysitter-sdk'" -- . --include='*.js' --include='*.ts'..a5c/runs/<runId>/ directories. Many repos gitignore .a5c/runs/ entirely -- that's fine; note it and proceed with process-only retrospective. When runs ARE committed, look for run.json, journal/, tasks/, state/output.json.git log --all --diff-filter=A --name-only -- '.a5c/runs/' surfaces runs that existed at some commit even if later cleaned up. Check out the commit that introduced the run if you want the journal content.Summarize to the user:
RUN_COMPLETED / RUN_FAILED in the journal)If multiple runs exist, ask the user (interactive) or default (non-interactive) to:
If no runs are committed at all, switch to a process-only retrospective: analyse the process file(s) for quality issues without run evidence. Mark the output clearly as process-only.
Inspect, in order:
.a5c/runs/<runId>/run.json -- processId, entrypoint, prompt, createdAt.a5c/runs/<runId>/inputs.json -- user intent.a5c/runs/<runId>/journal/*.json -- event stream (RUN_CREATED, EFFECT_REQUESTED, EFFECT_RESOLVED, RUN_COMPLETED / RUN_FAILED). Read every journal entry; it is the authoritative record..a5c/runs/<runId>/tasks/<effectId>/task.json + result.json -- per-effect definition and result.a5c/runs/<runId>/state/output.json (if present) -- final outputrun.json.entrypoint -- cross-reference against the journal to see what the author intended vs what happened.Mirror the in-repo /babysitter:retrospect workflow. Produce notes under each heading:
state/output.json shape + content).Evaluate the process file itself against these criteria:
ctx.task() for all side effects, or does it write files outside a task?library/processes/shared/?Concrete, actionable suggestions in three buckets:
Can it be generalized into a reusable pattern or library process in the processes library? If so, suggest that too. (also using /babysitter:contrib library ...)
/babysitter:contrib.Every suggestion must cite evidence -- a journal event, a file path, a line range.
Write to docs/retrospectives/<owner>-<name>/<runId-or-process-name>.md with this structure:
# Retrospective: <owner>/<name> -- <runId or process name>
Date: YYYY-MM-DD
Source commit: <sha>
Process: <relative path>
Run: <runId or "process-only">
Outcome: <success | failure | process-only>
## Context
<1-3 sentences on what the process is trying to do and the user intent from inputs.json>
## Timeline
<bullet timeline of key journal events with timestamps and durations>
## What went well
...
## What went poorly
...
## Process-quality review
...
## Suggestions
### For the run
### For the process
### For babysitter upstream
## Evidence
<links to specific journal event files, task.json files, line-anchored process file refs>
Also append a one-line entry to docs/retrospectives/<owner>-<name>/log.md with the date, runId, and outcome, so we don't re-retrospect the same run.
.a5c/tmp/external-runs/ in place (it's cheap). If disk pressure, note this to the user; do NOT auto-delete./babysitter:contrib for any upstream-worthy insight:
/babysitter:contrib library contribution: [description]/babysitter:contrib bug report: [description]/babysitter:contrib documentation question: [what was unclear]