Replace niche templates with simple starters and direct template submission
This commit is contained in:
+28
-54
@@ -1,62 +1,36 @@
|
||||
# Showcase definitions
|
||||
# Simple workflow templates
|
||||
|
||||
These are pipeline definitions, not execution evidence. The server supports
|
||||
sequential execution with OpenCode Go / DeepSeek V4.1 Flash, optional scoped agent
|
||||
tools, next-stage output-map propagation, bounded loops, and persisted TUI run
|
||||
history. Use `:run` on an explicit version and `:runs` to inspect actual evidence.
|
||||
The `bug fix` workflow has been run end to end for outcome-arrow alignment;
|
||||
the other showcases have not. Browser capture and general-purpose shell access
|
||||
are not enabled by the current narrow tool policy. Unavailable operations must
|
||||
return an error rather than fabricated evidence. Config validation alone does
|
||||
not prove provider/model availability.
|
||||
Five optional, technology-neutral starters. Nothing is installed as a published
|
||||
pipeline automatically; all templates are manual-only and have at most three stages.
|
||||
|
||||
| Pipeline name | Definition | Showcase |
|
||||
| Template key | Workflow | Tools |
|
||||
| --- | --- | --- |
|
||||
| bug fix | [bug-fix.md](bug-fix.md) | Reproduction evidence, focused implementation, executed checks, review/revision loop, final report |
|
||||
| new feature | [new-feature.md](new-feature.md) | UI/API conditional fork, sequential full-stack work, targeted retry routes |
|
||||
| dashboard screenshots | [dashboard-screenshots.md](dashboard-screenshots.md) | Local app readiness, fixture/capture matrix, screenshot inspection/retakes, artifact gallery and owned-process cleanup |
|
||||
| dependency upgrade | [dependency-upgrade.md](dependency-upgrade.md) | Baseline comparison, lockfile/API migration, regression loop, approval and rollback notes |
|
||||
| incident diagnosis | [incident-diagnosis.md](incident-diagnosis.md) | Read-only evidence collection loop, confidence and inconclusive failure outcome |
|
||||
| nested forks | [nested-forks.md](nested-forks.md) | Forward-only acyclic graph: brief/detailed fork, walkthrough/reference nested fork, shared delivery |
|
||||
| scheduled summary | [scheduled-summary.md](scheduled-summary.md) | Text-only example scheduled every 15 minutes on weekdays in the server's local timezone |
|
||||
| scheduled web research | [scheduled-web-research.md](scheduled-web-research.md) | Websearch/webfetch-only research stage followed by tool-free summarization; requires an OpenCode search provider |
|
||||
| anime digest | [anime-digest.md](anime-digest.md) | Current-season anime via webfetch → Markdown digest with per-stage ntfy notifications; daily 19:00 |
|
||||
| notification test | [notification-test.md](notification-test.md) | Manual-only system notification test; normal prompt succeeds, standalone FAIL deliberately fails; both notify with Markdown |
|
||||
| anime today | [anime-today.md](anime-today.md) | Today's dated episode schedule → verify/enrich → Markdown with links/images → native ntfy delivery through the system connection; manual only |
|
||||
| `task` | Complete a task and report actual results | Repository read/edit and shell |
|
||||
| `summary` | Summarize supplied text | None |
|
||||
| `review` | Read repository content and report findings | Read/glob/grep only |
|
||||
| `research` | Research a topic, then write a sourced report | Web search/fetch, then none |
|
||||
| `three-stage` | Plan → implement → review and verify | Scoped per stage |
|
||||
|
||||
See [ntfy setup](../docs/ntfy.md) before submitting `anime digest`. Its destination
|
||||
and credentials must be configured on the server; no ntfy instance is created by
|
||||
submitting the pipeline.
|
||||
In the TUI, use `:templates`, choose a starter, and press **s** or Enter on
|
||||
**Submit template**. Type a name, press Enter to save a retained draft, then
|
||||
confirm publication. **e Customize** opens the editor picker instead. Canceling
|
||||
the name prompt creates nothing; canceling publication keeps the saved draft.
|
||||
|
||||
Submitting a scheduled example activates its schedule immediately. Each is provided
|
||||
as a file only, not automatically submitted. Remove the top-level settings when
|
||||
submitting a new version to disable scheduled execution.
|
||||
CLI equivalent:
|
||||
|
||||
`nested forks` is a text-only routing/rendering showcase with seven stages and
|
||||
three possible successful paths. All stage-to-stage edges point forward in the
|
||||
declaration order; none can form a cycle. Try a brief request, a detailed how-to,
|
||||
or a detailed reference request to select different routes. Forks remain exclusive,
|
||||
not parallel; the mandatory failure routes are separate from the two content forks.
|
||||
```sh
|
||||
pipelines new "My workflow" --template task --no-open
|
||||
pipelines drafts
|
||||
pipelines submit /path/printed/by/new.md
|
||||
```
|
||||
|
||||
The original `bug fix` v2 had three stages and a review loop, but no explicit
|
||||
reproduction evidence, independent verification, or delivery report. The improved
|
||||
definition retains planner/implementer/reviewer while adding verifier and report.
|
||||
Failed verification and requested review changes return to implementer; missing
|
||||
evidence and exhausted revision budgets lead to failure, not a false success.
|
||||
New drafts inherit the server's configured default model. The checked-in files
|
||||
contain a fallback model; direct file submission uses those configs as written.
|
||||
Provider inference and search availability must be verified on your execution
|
||||
server. Parsing a definition does not prove its model/tools can run.
|
||||
|
||||
A **fork** means selecting one outcome, never parallel execution. In `new feature`,
|
||||
planner chooses UI/full-stack or API-only. Full-stack work passes from UI to API
|
||||
sequentially, then converges at verifier. The `output` blocks document
|
||||
handoff fields, not enforced schemas. There are no declared input blocks: the
|
||||
entry stage reads the user's prompt, and each next stage receives the preceding
|
||||
stage's output automatically. Carry necessary earlier fields in those outputs.
|
||||
Prompt-specific revision/evidence budgets remain instructions, not enforced map
|
||||
schemas. The runner independently enforces 30 total steps, five visits per stage,
|
||||
and a 30-minute deadline; `retries=0` is separate from graph-level revision loops.
|
||||
|
||||
Submit each Markdown source using its pipeline name through the existing WebSocket
|
||||
`submit` operation. An update creates an immutable version; re-submitting the latest
|
||||
identical source returns `no changes`. Do not submit this README as a definition.
|
||||
|
||||
The sources now use `deepseek-v4.1-flash` (not the earlier `flask` typo). Corrected
|
||||
definitions should be submitted as new versions, not edits to historical records.
|
||||
Templates do not impose a language, framework, schedule, notification setup,
|
||||
commit, push, or deployment. Add those only when required by your own workflow.
|
||||
Removing a template from this catalog does not delete published versions,
|
||||
run history, retained drafts, or OpenCode sessions. Nested routing examples used
|
||||
for renderer regression tests live in `internal/pipeline/testdata`, not this catalog.
|
||||
|
||||
Reference in New Issue
Block a user