c9b904186a
Bring the packaged starters and the pipelines skill up to the guidelines the project now works to. Templates: - task and three-stage now end in a committer stage that stages the union of the runner's captured input.server_changed_files and the producer's declared changed_files, runs the repository's checks, commits locally and never pushes; their producers no longer commit. - Every model/agent prompt states the line-oriented result contract (outcome on the first non-empty line, "# output" JSON map, other "# <heading>" sections kept verbatim as evidence) and an "# evidence" section for exact commands and results, with proportionate verification and no fabricated checks. - Stages that can write save their reports, logs and screenshots into the runtime artifacts directory. - Remove the summary starter: a tool-free single-prompt text transform with no repository interaction, artifact or commit is a format demonstration, not a reusable workflow. No starter invents a pretend approval stage; a decision point is a type=human stage. Skill: - references/format.md gains a Result format section (line form, legacy JSON precedence, result_parse, raw-output.md, artifacts) and a Committer stages section with the pre-commit checklist; the role-split and envelope notes mention the line form and the committer. - orchestration.md points at the checklist and records that a genuine gate is a human stage; operations.md and the SKILL.md index drop the removed starter and name the result format and committer. No new reference, so the managed inventory is unchanged. Docs/tests: examples/README, README, docs/cli, docs/first-version-testing, the CLI help example and the smoke script track the four starters; catalog, tool-role, server, tui and pipeline tests are updated, with a new test pinning the committer ending and server-captured change set. Commands run: go build ./...; go vet ./...; go test ./...; python3 -m unittest discover -s scripts -p 'test_*.py'; python3 scripts/smoke-first-install.py. All passed. Templates inspected through an isolated CLI server (pipelines templates; pipelines template KEY --source). No server, service or device was restarted, and nothing was pushed.
51 lines
1.9 KiB
Markdown
51 lines
1.9 KiB
Markdown
# stage review
|
|
|
|
```output
|
|
{ scope, findings, recommendations, unverified_claims }
|
|
```
|
|
|
|
```prompt
|
|
Review the repository content described by input.prompt. Read relevant files; do
|
|
not modify them or run commands. Focus on maintainability, duplication and
|
|
near-duplicate implementations, standards/library and version usage, and
|
|
consistency with repository conventions. As visible in source, assess root-cause
|
|
handling versus workarounds or shortcuts, unnecessary custom implementations,
|
|
complexity and coupling, appropriate reusable boundaries, and meaningful tests and
|
|
docs. Support each finding with a file path, specific evidence, severity and a
|
|
remedy; distinguish legitimate compatibility exceptions and nonblocking
|
|
personal-style nits from blockers. Prioritize correctness, clarity, consistency,
|
|
and the user's criteria without assuming a language or framework. Use
|
|
websearch/webfetch only when an official standard or documentation check is
|
|
needed, and record source dates/versions. Separate observed issues from
|
|
hypotheses. State explicitly that no commands were run and that runtime behavior
|
|
and checks are not tested; source inspection is not proof of execution. Return
|
|
success when the review is complete, even if it finds issues; return blocked if
|
|
the requested content or required official evidence cannot be obtained rather than
|
|
fabricating it. Do not claim issues have been fixed. Return the line-oriented
|
|
result: the first non-empty line is the declared outcome, a `# output` section
|
|
holds one JSON object with the output fields named above, and any further
|
|
`# <heading>` section is retained verbatim as evidence (for example the files read
|
|
and the sources checked, with their dates/versions).
|
|
```
|
|
|
|
```tools
|
|
read
|
|
glob
|
|
grep
|
|
websearch
|
|
webfetch
|
|
```
|
|
|
|
```configs
|
|
provider=opencode-go
|
|
model=deepseek-v4.1-flash
|
|
retries=2
|
|
timeout=1h
|
|
```
|
|
|
|
```edges
|
|
success -> #success
|
|
blocked -> #failure
|
|
error -> #failure
|
|
```
|