fix(opencode): require real shell timestamp in workflow summary

A workflow run wrote the timestamp as `2026-05-06T???:???:?? (session date)`
because the agent had no time-of-day source and inserted a placeholder.
Phase 9 now mandates capturing the timestamp from the shell at write
time via `date -Iseconds` and forbids placeholders — omit the field
rather than fabricate one.
This commit is contained in:
Harald Hoyer 2026-05-07 05:45:35 +02:00
parent 5b5c59aa84
commit 1aa98a8051

View file

@ -323,7 +323,7 @@ The workflow is forge-agnostic. It commits locally and stops. **Do not push, and
### Local Summary
- Write `.opencode/workflow-summary.md` in the worktree with:
- Run timestamp
- **Run timestamp** — capture it from the shell at write time: `date -Iseconds` (e.g. `2026-05-07T11:24:13+02:00`). **Do not** use a placeholder like `???:???:??` or "session date" — if you cannot get a real timestamp, omit the field entirely rather than fabricating one.
- Issue reference and title
- Branch name and final commit SHA(s)
- Summary of implementation