con un clic
openup-log-run
Create traceability logs (markdown + JSONL) for the current agent run
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Create traceability logs (markdown + JSONL) for the current agent run
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
One-command project setup for OpenUP - interactive initialization wizard
Mark a task as complete, update roadmap, commit changes, and prepare traceability logs
Execute an already-claimed lane's Operations boxes with script/judgment classification — script steps run directly with zero self-brief, judgment steps self-brief and execute. Handles only pick/resume; every other resolve path routes to /openup-next.
Run OpenUP Assess Results at iteration end — check evaluation criteria, demo only completed acceptance-tested work, feed discovered work back, and trigger the milestone review at a phase boundary
Run the phase milestone go/no-go — prepare derived evidence, pause for the human decision via an input-request, and record the milestone (never advance the phase itself)
Begin a new OpenUP iteration with proper phase context and task selection
| name | openup-log-run |
| description | Create traceability logs (markdown + JSONL) for the current agent run |
| model | haiku |
| fit | {"great":["end-of-session wrap-up after commits","audit-required workflows"],"ok":["mid-session checkpoints when commits exist"],"poor":["pre-commit runs (no SHAs to log)","trivial sessions handled by hooks"]} |
| arguments | [{"name":"run_id","description":"Unique identifier for this run (optional, auto-generates if not provided)","required":false}] |
Create traceability logs for the current agent run. Call only AFTER all changes are committed (logs require actual commit SHAs).
Scribe step — this entire skill is mechanical. Delegate to the
openup-scribeagent (Agent tool, subagent_type: "openup-scribe"). You determine the values; the scribe only writes. Brief it with:Timestamps come from the clock, never the model: capture
START=$(python3 scripts/openup-state.py get started_at 2>/dev/null || echo unknown)andEND=$(date -u +%Y-%m-%dT%H:%M:%SZ), and pass those concrete values into the scribe brief for the human-readable.md:Agent(subagent_type="openup-scribe", description="Write agent run log", prompt="Write a traceability log entry. Branch: [branch]. Commits: [sha list]. Phase: [phase]. Task: [task_id]. Start: $START. End: $END. Files changed: [list]. Create docs/agent-logs/YYYY/MM/DD/<timestamp>-agent-<branch>.md with the run metadata, commits, and key decisions listed below: [decisions]. Report: path created.")Then append the machine-readable record with the deterministic logger (it stamps
tsitself — do not hand-author a JSONL line):python3 scripts/openup-state.py log-event \ --event run_log --task-id "[task_id]" --branch "[branch]" --phase "[phase]"Collect the commit SHAs and metadata yourself (they require git commands), then hand off the markdown write to the scribe.
git status --porcelain returns empty (all changes committed)If $ARGUMENTS[run_id] is not provided, generate: YYYY-MM-DDTHH:MM:SSZ-agent-branch
git branch --show-currentorigin/HEAD, fallback main/master$START / $END as captured in the callout abovedocs/project-status.mdgit log --oneline <since>...HEADCreate docs/agent-logs/YYYY/MM/DD/<timestamp>-<agent>-<branch>.md with:
Append the record with the deterministic logger (see the callout above — never hand-author a JSONL line):
python3 scripts/openup-state.py log-event \
--event run_log --task-id "<id>" --branch "<branch>" --phase "<phase>"
The script appends one well-formed record to docs/agent-logs/agent-runs.jsonl.
Once the markdown log and JSONL record are written, flip the iteration-state gate (no-op if there is no active .openup/state.json):
python3 scripts/openup-state.py set-gate log_written true 2>/dev/null || true
| Error | Cause | Solution |
|---|---|---|
| Uncommitted changes | Files not committed | git add -A && git commit first |
| Invalid JSONL | JSON format error | Verify syntax before appending |
| Missing commits | No commits for run | Verify run is complete |
| Directory not found | docs/agent-logs/ missing | Create directory structure first |
docs-eng-process/sops/traceability-logging.md