一键导入
harness-starter-coding
// Harnessed coding-assistant starter. Produces a unified-diff artifact and a file-list preview under patches/.
// Harnessed coding-assistant starter. Produces a unified-diff artifact and a file-list preview under patches/.
| name | harness-starter-coding |
| description | Harnessed coding-assistant starter. Produces a unified-diff artifact and a file-list preview under patches/. |
| version | 1.0.0 |
| author | octos |
| always | false |
A coding-assistant starter. Produces a unified-diff file as its primary deliverable plus a preview artifact listing the changed files. Copy this crate when you want to build an app that ships a patch/diff/changeset.
primary = "patches/*.diff" — the canonical deliverable.preview = "patches/*.files.txt" — a secondary artifact the operator
surface may use to summarize the change.file_size_min:$primary:64 — validator rejects empty patches.artifacts = ["primary", "preview"])
so the runtime delivers both files.See docs/OCTOS_HARNESS_DEVELOPER_GUIDE.md for the full contract.
Render a patch as a unified-diff file plus a preview file list.
{
"title": "Fix typo in hello",
"hunks": [
{
"file": "src/lib.rs",
"new_content": "pub fn hello() -> &'static str {\n \"hi\"\n}\n"
}
]
}
Parameters:
title (required): short title; derives the filename
(patches/fix-typo-in-hello.diff).hunks (required, non-empty): list of {file, new_content} hunks. Each
hunk becomes a full-file replacement hunk in the diff.Artifacts:
patches/<slug>.diff — primary unified-diff file.patches/<slug>.files.txt — preview list of changed files.The starter generates full-file replacement hunks. A real coding assistant
should use similar or diff to compute minimized unified diffs, and
consider running the patch through git apply --check in a validator
before delivery.
Harnessed audio-artifact starter. Synthesizes a minimal WAV file under audio/ and relies on the workspace contract to deliver it.
Minimal harnessed single-artifact starter. Use as a template for a custom app that produces one deliverable.
Harnessed report-generator starter. Writes a markdown artifact under reports/ and relies on the workspace contract to deliver it.
OminiX ASR (speech-to-text), preset-voice TTS with emotion/speed control, and model management via Qwen3 models on Apple Silicon. For voice cloning and custom voice profiles, use mofa-fm. Triggers: voice, transcribe audio, text to speech, speak this, read aloud, model management, download model, 语音识别, 语音合成, 模型管理.
Recursively crawl websites using headless Chrome. Triggers: crawl, scrape website, 爬取, crawl site, deep crawl, website content.
Deep multi-round web research with parallel fetching. Triggers: deep search, research, 深度搜索, 调研, investigate, deep research.