77 lines
3.0 KiB
Markdown
77 lines
3.0 KiB
Markdown
# Kickoff prompts for OpenCode 2.x
|
||
|
||
Check first: `opencode --version` must print 2.x, and `make doctor` must be green. The prompts below assume the agents, commands and skills in `.opencode/` are discovered (run `/status` once to see that commands work).
|
||
|
||
## First session (paste as-is)
|
||
|
||
```text
|
||
You are building Sprachmittler, a macOS 14+ Apple Silicon menu-bar app that translates the selected
|
||
text of any app with a local Ollama Hy-MT3 model. The user selects text, presses ⌘C twice, and a
|
||
non-activating panel shows the translation. The panel has Copy and an explicit Replace button in the
|
||
lower right; nothing is replaced automatically. The default model is
|
||
hf.co/tencent/Hy-MT3-7B-GGUF:Q4_K_M.
|
||
|
||
1. Read AGENTS.md, then docs/ARCHITECTURE.md (read §1–§7 closely, the rest as an index),
|
||
docs/IMPLEMENTATION_PLAN.md (M0–M2), docs/PROGRESS.md, docs/HYMT3_MODEL.md and
|
||
docs/SELECTION_AND_CLIPBOARD.md.
|
||
2. Run `make doctor` and `make verify` on the shipped scaffold and report the results. Fix toolchain or
|
||
scaffold issues (T0.1–T0.6) without changing the architecture. If something in the scaffold
|
||
contradicts the docs, tell me before changing either.
|
||
3. Then propose your plan for M0 completion and T1.1–T1.2, using the @architect subagent.
|
||
Do not start M1 implementation until I confirm the plan.
|
||
```
|
||
|
||
## Every following session
|
||
|
||
```text
|
||
/next
|
||
```
|
||
|
||
or, to target a specific task:
|
||
|
||
```text
|
||
/task T2.2
|
||
```
|
||
|
||
## Compatibility spike (after M2, before M3)
|
||
|
||
```text
|
||
/task T2.7
|
||
Translate the synthetic fixtures and a few of my real samples into German and English with the 7B model:
|
||
plain prose, Markdown, JSON, URL/placeholder text, and a long paragraph. Record first-token and total
|
||
timings, prompt-cache behaviour, and any preamble or lost-token failures in docs/HYMT3_MODEL.md §7.
|
||
Tell me which prompt variant you propose for structured text. Do not continue to M3 until I confirm.
|
||
```
|
||
|
||
## Capture and panel checkpoint (after M4)
|
||
|
||
```text
|
||
Show me the double-copy flow end to end: copy the same paragraph twice in Safari, Mail and TextEdit,
|
||
confirm the panel appears without taking focus, the translation streams, Copy works, and Replace is
|
||
disabled while streaming. List every deviation from docs/SELECTION_AND_CLIPBOARD.md.
|
||
```
|
||
|
||
## Insertion checkpoint (after M5)
|
||
|
||
```text
|
||
Walk me through Replace in TextEdit, Notes, Safari and Mail: click Replace, verify the selection is
|
||
replaced, ⌘Z restores it, and the previous clipboard (including rich text) is back. Then deny
|
||
Accessibility and show that Copy still works and Replace explains what to enable.
|
||
```
|
||
|
||
## Evaluation gate (M7)
|
||
|
||
```text
|
||
/evaluate
|
||
Then draft the ADR "Default model and sampling" from the report, using the decision rule in
|
||
docs/MODEL_EVALUATION.md §5. I will decide; do not edit DECISIONS.md until I do.
|
||
```
|
||
|
||
## Before release (M8)
|
||
|
||
```text
|
||
/status
|
||
Then confirm that the privacy self-test, accessibility checklist, performance budgets and the manual
|
||
compatibility matrices are complete. List anything that would make a notarised build risky.
|
||
```
|