Progress Update Skill
Record work completed during a session. Appends to a daily progress file via the devplans.ts script.
When to Use
- End of a productive session
- Before switching to different work
- After completing a milestone
- After subtask-heavy sessions (triage learnings and QUIRKS candidates)
- Multiple entries per day are normal — each gets a timestamped heading
Critical Rule: Never Read the Progress File to Append
The devplans.ts script handles all file mechanics: creation, insertion ordering, section
management. Do NOT read the progress file. Instead:
- Run
devplans.ts progressto get metadata and current Next Steps - Compose your entry
- Pipe JSON to
devplans.ts progress append
This eliminates context bloat from reading growing files, prevents non-chronological insertions,
and ensures the Summary and Next Steps sections stay consistent.
File Location and Naming
Progress files live in {dev-plans}/{project}/progress-updates/YYYY-MM-DD-progress.md.
The script handles file creation. If it's before 6:00 AM local time, the script uses the
previous day's date (late-night sessions are continuations, not new days). The output includes
dateShifted: true when this happens.
Workflow
Step 1: Get Current State
bun ~/.config/opencode/scripts/devplans.ts progress
Returns:
{
"file": "~/projects/dev-plans/.../2026-02-16-progress.md",
"tempFile": "~/projects/dev-plans/.../progress-updates/.tmp-entry-1739745000000.json",
"time": "14:30",
"status": "existing",
"effectiveDate": "2026-02-16",
"dateShifted": false,
"nextSteps": ["Commit Phase 4.5 code", "Run data quality audit"]
}
Use nextSteps to understand what was planned — update or replace in your entry.
Use tempFile as the write destination in Step 3 (auto-approved path, no permission prompts).
Step 2: Compose Your Entry
Build a JSON object:
{
"slug": "4.5.3 Execution Simulator",
"content": "Core backtesting engine — replays historical stock signals as hypothetical options trades.\nThis is where the GO/NO-GO answer comes from.\n\n`runOptionsReplay(signals, params)` iterates signals, determines option type, finds strike\nmatching target delta, prices via synthetic pricer, applies slippage, runs day-by-day exit\nrule simulation.\n\nDiffLoupe: low risk, 3 low findings (all acceptable for internal tooling).\n\n56 tests, typecheck clean, full suite 1906 pass.\n\n### Files Changed\n\n- `src/backtest/options/signal-replay.ts` — replay engine, strike selection, matrix runner (310 lines)\n- `src/backtest/options/signal-replay.test.ts` — 56 tests (397 lines)",
"nextSteps": [
"Run remaining Track A experiments",
"Commit all Phase 4.5 code",
"4.5.8 (17yih5wg): Data quality audit"
]
}
Fields:
slug(required): Short title for the entry. Appears in the heading and auto-built Summary.content(required): Markdown body of the entry. The script adds the timestamped heading — don't include one.nextSteps(optional): Replaces the entire Next Steps section. Omit to leave unchanged.completed(optional): Items removed from previous Next Steps (informational, not written to file).
Step 3: Write JSON and Append
The tempFile from Step 1 is a pre-created scaffold inside dev-plans (auto-approved, no permission prompts).
- Read the
tempFile(required before overwriting — it's a tiny 3-line scaffold) - Write your entry JSON to the same path
- Run the append command:
bun ~/.config/opencode/scripts/devplans.ts progress append <tempFile>
The script reads the file, deletes it automatically, then:
- Inserts a
---separator and## HH:MM — {slug}heading - Appends the entry above the
## Next Stepssection (chronological by construction) - Rebuilds the
## Summarybullet list from all entry headings - Replaces
## Next Stepsif provided - Returns confirmation:
{ file, time, slug, entryNumber, nextStepsCount }
Entry Content Guidelines
Target: 30-50 lines per entry. Enough for a real narrative, not a stub.
Always Include
- What was built and why — 2-5 sentence narrative description. Name key functions/types
with 1-sentence purpose descriptions. This is the most valuable part.
- Files Changed — Subsection with file paths and brief purpose. For ≤5 files, a simple
bullet list. For more, a compact table or grouped by created/modified.
- Test/verification status — One line: "N tests pass, typecheck clean" or similar.
Include When Relevant
- Review summary — "DiffLoupe: 2 medium (both addressed), 1 low (acceptable)" — one line.
- Design decisions — Brief rationale for non-obvious choices, 1-2 sentences.
- Session Learnings — Corrections applied during the session. Keep brief.
- QUIRKS.md Candidates — Checkbox list of potential QUIRKS entries to triage.
Format: - [ ] {project} QUIRKS: {learning} → {suggested section}
- Dex task references — Note Dex task IDs completed or created.
Omit
- Full function signatures and parameter lists
- Per-test-category breakdowns and assertion counts (just total test count)
- CLI usage examples and code blocks longer than 5 lines
- Full DiffLoupe/review findings (summarize in one line)
- Standalone "Verification" sections restating "typecheck clean, all tests pass"
- Full type definitions or interface listings
- Content you'd skip over when re-reading in 2 weeks
Entry Example (~40 lines)
Core backtesting engine — replays historical stock signals as hypothetical options trades.
This is where the GO/NO-GO answer comes from.
`runOptionsReplay(signals, params)` — for each signal: determines option type, finds strike
matching target delta, estimates IV, prices via synthetic pricer, applies slippage, then runs
day-by-day simulation checking exit rules (take profit, stop loss, DTE close, time stop, or
signal exit). Computes position sizing (floor of capital / (price * 100), min 1 contract).
`runReplayMatrix(signals, matrix, capitalPerTrade)` — Cartesian product sweep over
deltas × DTEs × exit rules × slippage models.
DiffLoupe: low risk. Three low findings (matrix O(n⁴), linear interpolation, no input
validation) — all acceptable for internal backtesting tool.
56 tests, typecheck clean, full suite 1906 pass.
### Files Changed
- `src/backtest/options/signal-replay.ts` — replay engine, strike selection, matrix runner (310 lines)
- `src/backtest/options/signal-replay.test.ts` — 56 tests (397 lines)
### Notes
- Strike selection uses linear interpolation between available strikes when exact delta match
unavailable — produces more realistic results than nearest-strike snapping.
- Matrix runner returns per-combo results with Sharpe, win rate, total return for comparison.
Next Steps Section
3-5 items max. Replaced wholesale on each entry. Answers: "What should the next session pick up?"
NOT a running task list. NOT carried forward from previous entries. The agent writes fresh
next steps each time based on current state.
When the project uses Dex, reference task IDs:
- 4.5.8 (17yih5wg): Backtest data quality audit
- Commit Phase 4.5 code (6 files staged)
- Run Track A experiments with wider stop-loss
When no external tracker, just list the immediate priorities:
- Implement the fork changes to compaction.ts
- Test with actual compaction trigger
- Write up findings for team review
Summary Section
Auto-maintained by the script. Do NOT write or edit it manually. The script builds it from
entry headings:
## Summary
- 02:58 — 4.5.2 Slippage Models
- 11:56 — 4.5.3 Execution Simulator
- 15:10 — 4.5.6 Combined GO/NO-GO Result
Common Pitfalls
- DON'T read the progress file to append. Use
devplans.ts progress append. - DON'T copy forward previous "Remaining Work" lists. Write fresh Next Steps.
- DON'T include a heading in your content. The script adds
## HH:MM — {slug}. - DON'T include full function signatures. Name + 1-sentence purpose is enough.
- DON'T write the Summary section. The script auto-builds it.
- DON'T add a
---separator at the start of your content. The script adds it.