Files
pipelines/examples/debug.md
T
alan 526c19fc21 web: shared chat stars, pipeline mini graphs and agent questions
- Persist chat stars in the operator-session registry (chat_star) so every
  browser/device shows the same Starred group; migrate old local stars once.
- Add a compact pipeline graph shape to list responses and draw a lightweight
  list miniature; replace the cryptic id/version line with the stage count.
- Surface OpenCode form questions as a chat card (chat_answer), replay a
  pending form to late subscribers, and notify for background questions.
- Make the mobile dock's Search cell equal to every destination, keep the
  tab row visible with 100svh, and let Source use the full pane height.
- Let a fresh sign-in auto-connect to its own origin; use a Lax session cookie
  with Expires so Remember me survives app/link launches.
- Keep shipped starters and the skill agnostic: no repository paths, project
  areas or personal device commands; add Diagnose/Fix and Research starters.
- Refresh the installed skill and document the new browser conventions.
2026-10-20 03:11:37 +01:00

118 lines
2.1 KiB
Markdown

# stage diagnose
```prompt
Investigate the reported problem in input.md without editing. Read the relevant
code and logs, reproduce the failure with safe commands where possible, and find
the cause rather than the first symptom. Record the evidence, the smallest
credible fix, and anything you could not verify. Return blocked when the problem
cannot be reproduced or the needed evidence is unavailable.
```
```tools
read
glob
grep
shell
```
```configs
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
```
```edges
success -> fix
blocked -> #failure
error -> #failure
```
# stage fix
```prompt
Fix the diagnosed cause with the smallest coherent change. Follow the
repository's conventions, preserve unrelated work, and add or update a regression
test that would fail before the fix. Run the relevant checks and report the exact
commands and actual results. Do not commit, push or deploy.
```
```tools
read
glob
grep
edit
shell
```
```configs
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
```
```edges
success -> verify
blocked -> #failure
error -> #failure
```
# stage verify
```prompt
Independently verify the fix. Reproduce the original problem, run the relevant
checks, and inspect the changed files. Do not edit. Return success only when the
original failure is gone and the checks pass; otherwise return rejected with
concrete evidence.
```
```tools
read
glob
grep
shell
```
```configs
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
```
```edges
success -> committer
rejected -> #failure
error -> #failure
```
# stage committer
```prompt
Commit this run's change locally. Inspect `git status` and the full diff; stage
only this run's work, never secrets or generated files. Run the relevant checks
and report the actual results. If nothing changed, say so rather than creating an
empty commit. Do not push, tag, deploy or rewrite history.
```
```tools
read
glob
grep
shell
```
```configs
provider=opencode-go
model=deepseek-v4.1-flash
retries=2
timeout=1h
```
```edges
success -> #success
blocked -> #failure
error -> #failure
```