revise_package
Revise a package definition: update capabilities, buyer, hypothesis state, and basis. Rejects unregistered capabilities, updates the section, and refreshes the last-modified date.
Instructions
パッケージ定義を改訂する。台帳に無い機能名を束ねようとすれば書かずに拒否する。
通ると、その節を書き換えて最終更新日を今日に進める。節が無ければ新しく足す。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| basis | No | ||
| buyer | Yes | ||
| source | No | ||
| capabilities | Yes | ||
| hypothesis_state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accepted | Yes | 正本に書き込んだかどうか | |
| recorded | No | 登記した内容(拒否のときは空) | |
| warnings | No | 書き込みは通ったが、後で直したほうがよいこと | |
| rejection | No | 受け付けなかった理由と次の一手(通ったときは None) |