feat(web): manage independent schedules and restore recorded stage navigation

This commit is contained in:
2026-10-21 02:06:15 +01:00
parent 4ab49a2749
commit 1e4654381e
31 changed files with 843 additions and 52 deletions
+45
View File
@@ -8,6 +8,51 @@ test, or a code change without a capture, is `partial` at best.
Status legend: `todo` · `partial` (some of it works) · `done` (working + captured).
### Run graph opens recorded visits (2026-10-21)
Run-graph stage clicks now call the same visit-pane action as Timeline, selecting
the stage's latest recorded visit. Earlier visits remain selectable from Timeline;
messages/tool turns within one visit remain together in its Session audit. A
graph click no longer fetches or defaults to the authored definition. Definition
remains an explicit Audit & debug tab, pinned to the run's pipeline version.
Unvisited nodes do not fabricate visits or sessions. Workflow-definition graph
clicks still open the definition viewer.
`test/run-graph-visit-browser.mjs` compares the graph and latest Timeline pane
contents/routes at 390/1100px, verifies a loop's latest session identity, no
definition request on default open, unvisited-node safety, and explicit pinned
definition access. Captures: approved OpenCode temporary
`run-graph-visit-captures/`. `test/ui-stage-definition.mjs` retains its source,
missing/loading/error and keyboard checks through the now-explicit run audit.
This supersedes the older run-graph definition-popup default described below.
### Independent schedules and provenance filters (2026-10-21)
Pipeline Summary/Schedules manages multiple independent run configurations for
the same pipeline/version: name, prompt, server workspace, timer and optional run
options. Schedule this run seeds original input/title/options and preserves
run-level write restrictions without changing workflow tool permissions. Creates
reuse one request key across response-loss retries; updates/deletes use revision
CAS and preserve conflicting drafts. No workflow publication occurs.
Pipelines filters distinguish configured schedules (including paused) from none;
Runs filters distinguish actual timer origins from nonscheduled runs. A manual
run of a configured pipeline is not tagged scheduled, and deletion retains old
run provenance. Older peers without fields remain unclassified. Sparse live
frames cannot clear/retarget known provenance. The header provides Refresh; no
per-step scheduling poll or new workflow is used to recover skipped dispatches.
`test/schedules-browser.mjs` covers edit/create/pause/delete, conflict handling,
unknown-server responses, keyboard/focus and 390/1100px. The real scratch-server
`test/schedule-integration-browser.mjs` checks two independent topics, both
filters, retained CAS drafts, Schedule this run preserving explicit title/input/
write scope, an actual claimed timer's first-frame provenance versus manual
execution, unchanged workflow source, and history after deletion. It uses only
human stages, explicit titles, notify=off and a fixture-only NextDue advancement;
it initiates no provider turns or live-user runs. Captures:
`schedule-editor-captures/` and `schedule-integration-captures/` under the approved
OpenCode temporary directory. Shell cache v13 refreshes the new modules/styles.
### Always-visible chat row actions (2026-10-21)
Star is always visible at the top right and Chat actions at the bottom right of