harness-progress
Generate a Progress Tracker HTML for non-engineer vibecoders to glance at session progress (cc:WIP / cc:TODO / cc:done counts, percentage, elapsed/estimated minutes, cost so far/estimate, drift alerts). Uses Plans.md as source of truth, renders a single-file HTML with auto-regeneration support. Use when user asks for progress overview, session status snapshot, dashboard, or says: progress tracker, progress board, dashboard. Do NOT load for: actual implementation, code review, release work.
- License 许可
- MIT
- 所属仓库
- foden303/harness
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- harness-progress
- description
- Generate a Progress Tracker HTML for non-engineer vibecoders to glance at session progress (cc:WIP / cc:TODO / cc:done counts, percentage, elapsed/estimated minutes, cost so far/estimate, drift alerts). Uses Plans.md as source of truth, renders a single-file HTML with auto-regeneration support. Use when user asks for progress overview, session status snapshot, dashboard, or says: progress tracker, progress board, dashboard. Do NOT load for: actual implementation, code review, release work.
- allowed-tools
- [ "Read", "Write", "Bash" ]
- argument-hint
- [--out <path>] [--no-open]
- description-en
- Generate a Progress Tracker HTML for non-engineer vibecoders to glance at session progress (cc:WIP / cc:TODO / cc:done counts, percentage, elapsed/estimated minutes, cost so far/estimate, drift alerts). Uses Plans.md as source of truth, renders a single-file HTML with auto-regeneration support. Use when user asks for progress overview, session status snapshot, dashboard, or says: progress tracker, progress board, dashboard. Do NOT load for: actual implementation, code review, release work.
- user-invocable
- false
02 资源文件 4
03 SKILL.md 正文
Harness Progress Tracker
Phase 65.4 (Progress Tracker) — 3rd surface of the cognitive-load HTML triplet. The 3rd HTML surface after Plan Brief / Acceptance Demo, it lets you grasp the whole picture of the in-progress session on a single page.
Quick Reference
| Input | Behavior |
|---|---|
/harness-progress |
Generate and open the current project's progress snapshot HTML |
/harness-progress --no-open |
Generate only (do not open the browser, for the PostToolUse hook) |
/harness-progress --out <path> |
Specify the output location (default: out/progress-snapshot.html) |
Mission
Generate a single HTML page that lets a non-engineer vibecoder grasp in 3 seconds in the browser "how many tasks the current session has completed and to what point, when it is expected to finish, and how much it has cost."
Do:
- Aggregate the cc:TODO / cc:WIP / cc:done counts from Plans.md
- Compute progress_pct (completion rate) (cc:done ÷ total tasks × 100)
- Show elapsed minutes / estimated total minutes / cost so-far / cost estimate
- Show drift alerts (populated from Phase 65.4.3 onward)
Do not (this cycle):
- Live update via WebSocket / SSE (static HTML, updated by regeneration)
- History comparison of past sessions (a separate axis in Phase 65.4.4)
- Cross-project view of other projects (independent of Phase 65.3)
Schema: progress-snapshot.v1
Detailed spec: schemas/progress-snapshot.v1.schema.json
schema: progress-snapshot.v1
project: <basename of git repo>
current_task: <one-line summary of the first cc:WIP item, empty string if none>
progress_pct: <integer 0-100, rounded cc:done ÷ total tasks × 100>
todo_tasks: [{number, title}] ← cc:TODO only
wip_tasks: [{number, title}] ← cc:WIP only
done_tasks: [{number, title, commit}] ← cc:done [hash] only, hash is 7 chars
elapsed_minutes: <int, from state file>
estimated_total_minutes: <int, from state file>
cost_so_far_usd: <float, from state file>
cost_estimate_usd: <float, from state file>
alerts: [] ← populated from Phase 65.4.3 onward
generated_at: <ISO8601 UTC>
Execution Flow
Step 0: Get PROJECT_NAME
PROJECT_NAME="$(basename "$(git rev-parse --show-toplevel)" 2>/dev/null || echo "current")"
Step 1: Assemble the snapshot
SNAPSHOT_JSON="$(mktemp /tmp/progress-snapshot-XXXX.json)"
bash scripts/progress-snapshot.sh \
--plans Plans.md \
--project "$PROJECT_NAME" \
> "$SNAPSHOT_JSON"
scripts/progress-snapshot.sh (implemented in Phase 65.4.1) parses Plans.md and
outputs JSON conforming to the progress-snapshot.v1 schema.
Step 2: Render the HTML
OUT_PATH="${OUT_PATH:-out/progress-snapshot.html}"
mkdir -p "$(dirname "$OUT_PATH")"
bash scripts/render-html.sh \
--template progress \
--data "$SNAPSHOT_JSON" \
--out "$OUT_PATH"
Step 3: Open in the browser
Runs only when the --no-open flag is absent (skipped for background regeneration from the PostToolUse hook):
bash scripts/plan-brief-open.sh --path "$OUT_PATH"
Cross-project search (default OFF)
Phase 65.4.4 adds a --cross-project-group <name> flag. In this cycle (65.4.1) it is default OFF and aggregates the current project only.
Failure modes
| State | Behavior |
|---|---|
| Plans.md is missing | progress-snapshot.sh exits 1 (clear error message) |
| Plans.md has no tasks at all | Generate a snapshot with progress_pct: 0 and empty arrays (the HTML shows "no tasks") |
| state file (elapsed minutes, etc.) is missing | Fall back to elapsed_minutes: 0, cost_so_far_usd: 0 (no warning) |
git absent / outside a git repo |
Fall back to project: "current" |
Related
harness-plan-brief(Phase 65.1.x) — 1st surface (pre-implementation briefing)harness-accept(Phase 65.2.x) — 2nd surface (acceptance decision)harness-progress(this skill, Phase 65.4.x) — 3rd surface (progress dashboard)- Feature extensions in 65.4.2 (PostToolUse auto-regen), 65.4.3 (5 drift alert types), 65.4.4 (past-decision lookup)
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
memory
Manage SSOT, memory, and cross-tool memory search. Guardian of decisions.md and patterns.md. Use when user mentions memory, SSOT, decisions.md, patterns.md, merging, migration, SSOT promotion, sync memory, save learnings, memory search, harness-mem, past decisions, or record this. Do NOT load for: implementation work, reviews, ad-hoc notes, or in-session logging.
maintenance
File cleanup and archiving. Tidies up bloated Plans.md, session-log.md, old logs, and state files. Trigger: /maintenance, cleanup, archive, organize, split session-log. Do NOT load for: implementation, review, release, new feature development.
harness-work
HAR: Execute Plans.md tasks from single task to full parallel team run. Trigger: implement, execute, do everything, breezing, team run, parallel. Do NOT load for: planning, review, release, setup.
harness-sync
HAR: Sync Plans.md with implementation. Drift detect, marker update, retrospective. Trigger: sync-status, where am I, check progress. --snapshot for snapshots. Do NOT load for: planning, implementation, review, release.