add_functional_test
Add a hand-written functional test and link it to specific objectives. It survives regeneration; only records claimed status, verification requires separate evidence.
Instructions
Hand-author a single functional test and map it to one or more objectives. Mutating.
Generation (generate_functional_objectives) already specifies the tests to implement, so use this only to register an extra test that generation did not produce; a manually-added test survives regeneration/refresh. For bulk-registering tests that already exist in your codebase, use import_functional_tests instead. This records the test at the status you claim — it does not run or verify anything; CI verification happens only when you attach TEST_EXISTS/TEST_PASSES evidence via submit_functional_tests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | not_implemented | implemented | verified — an operator claim only; an independent CI run is what actually verifies the test. Defaults to not_implemented. | not_implemented |
| model_id | Yes | ID of the threat model. | |
| description | Yes | What the test proves. | |
| component_ids | No | Comma-separated component ids the test exercises (optional). | |
| server_version | Yes | ||
| functional_objective_ids | Yes | Comma-separated objective ids the test satisfies (at least one required; get them from list_functional_objectives). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||