Harness spec 3.0.0-draft: where each tool is offered; the chat's tools
Every tool says its `sessions` (chat, agent or both). The file tools read, write, edit, glob, grep and list are shared; mkdir, mv, rm, search, python and the forge verbs (commit, branch, pr, merge, tag, release) are the chat's; show and recall are new and shared. New fields: `requires` (page, display, forge) with the exact `unavailable` answer, and `confirm: always` for merge, tag and release. knowledge_*, notes_search, note_view and note_manage leave the chat. Default rules for the new tools; modes.json says what `confirm` does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
50 files changed
+568
-20
No files matched your search
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "release",
|
||||
"scope": "llembas",
|
||||
"sessions": "chat",
|
||||
"risk": "execute",
|
||||
"exclusive": true,
|
||||
"block": "tool",
|
||||
"purpose": "purpose",
|
||||
"requires": [
|
||||
"forge"
|
||||
],
|
||||
"confirm": "always",
|
||||
"unavailable": "No repository from a forge is open to this session, so there is nothing to release here.",
|
||||
"aliases": {
|
||||
"cli": [],
|
||||
"llembas": []
|
||||
},
|
||||
"description": "Publish a release on the forge from a tag that already exists, with its notes. Make the tag first (tag): a release is never made for a tag that does not exist. The user is always asked first, in every mode.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Any path inside the repository (the mount) this is about"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"description": "The existing tag"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string",
|
||||
"description": "The release notes (usually the tag's message)"
|
||||
},
|
||||
"prerelease": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"draft": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"path",
|
||||
"tag",
|
||||
"title",
|
||||
"notes"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user