Applicability · Subject kind
tool contract
Subject kind: tool contract. 1 standard and 15 requirements of the register apply, read from the conformance target of each requirement in the register (registry/requirements.yaml target). Working drafts, not for implementation.
Standards
| Standard | Title | Status | Version | Requirements |
|---|---|---|---|---|
| NRS-A3 | Agent interface to the standards | Preliminary work item, not yet reviewed | 0.1.1 | 38 |
Requirements
NRS-A3 Agent interface to the standards
| Requirement | Clause | Form | Text | Applies to | How it is checked |
|---|---|---|---|---|---|
| NRS-A3-R10 permalink | 5.3 | shall | Each tool of a tool contract that is not read-only shall require the argument mandateRef in its input schema. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R10:" test/nrs-a3.test.mjs |
| NRS-A3-R11 permalink | 5.4 | shall | Each tool of a tool contract shall declare destructiveHint false. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R11:" test/nrs-a3.test.mjs |
| NRS-A3-R12 permalink | 5.5 | shall | No tool name of a tool contract shall contain a verb of authority of Annex B, clause B.1. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R12:" test/nrs-a3.test.mjs |
| NRS-A3-R13 permalink | 5.6 | shall | Each tool of a tool contract shall declare openWorldHint false. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R13:" test/nrs-a3.test.mjs |
| NRS-A3-R18 permalink | 6.3 | shall | The honesty statement of a tool contract shall state that the interface adopts, certifies and decides nothing. | tool contract | inspectionconformance/checklists/nrs-a3.yaml#NRS-A3-R18/1 |
| NRS-A3-R2 permalink | 4.2 | shall | A tool contract shall name the protocol that the interface implements, by its register id, and the version of that protocol. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R2:" test/nrs-a3.test.mjs |
| NRS-A3-R3 permalink | 4.3 | shall | No two tools of a tool contract shall have the same name. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R3:" test/nrs-a3.test.mjs |
| NRS-A3-R35 permalink | 9.2 | should | The honesty statement of a tool contract should state that the text of every answer is data and not an instruction. | tool contract | inspectionconformance/checklists/nrs-a3.yaml#NRS-A3-R35/1 |
| NRS-A3-R38 permalink | 5.5 | shall | No tool description of a tool contract shall state that the tool performs an act of authority of Annex B, clause B.1. | tool contract | inspectionconformance/checklists/nrs-a3.yaml#NRS-A3-R38/1 |
| NRS-A3-R4 permalink | 4.4 | shall | Each tool of a tool contract shall carry an input schema of type object with additionalProperties false. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R4:" test/nrs-a3.test.mjs |
| NRS-A3-R5 permalink | 4.5 | shall | Each tool of a tool contract shall declare one function of clause 3.5. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R5:" test/nrs-a3.test.mjs |
| NRS-A3-R6 permalink | 4.6 | shall | A tool contract shall offer at least one tool for each of the functions discover, read, route, check and cite. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R6:" test/nrs-a3.test.mjs |
| NRS-A3-R7 permalink | 4.7 | shall | The description of each tool of a tool contract shall state what the tool returns. | tool contract | inspectionconformance/checklists/nrs-a3.yaml#NRS-A3-R7/1 |
| NRS-A3-R8 permalink | 5.1 | shall | Each tool of a tool contract shall declare, in readOnlyHint, whether it is read-only. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R8:" test/nrs-a3.test.mjs |
| NRS-A3-R9 permalink | 5.2 | shall | Each tool that a tool contract offers without a mandate shall be read-only. | tool contract | automatednode --test --test-name-pattern="^NRS-A3-R9:" test/nrs-a3.test.mjs |