submit_functional_test_assertions
Attach machine-verifiable evidence assertions to an existing functional test to enable CI verification.
Instructions
Attach machine-verifiable evidence assertions to one already-existing functional test so CI can verify it. Mutating.
This submits EVIDENCE for a test that already exists (identified by functional_test_id) — it does not create or register the test. It is the functional-conformance analog of submit_assertions (which covers security controls): it binds assertions such as "the test exists" and "the test passes" to the functional test, and an independent CI run against the named repo is what turns an operator's "verified" claim into verified state.
To bulk-register test DEFINITIONS from your codebase instead, use import_functional_tests; to hand-author a single test use add_functional_test. Call this after the test is implemented (e.g. following get_scan_prompt (kind="functional")), then read the resulting state via get_functional_coverage or get_functional_test_sufficiency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| server_version | Yes | ||
| assertions_json | Yes | JSON array of assertion objects, each {"type": "test_passes" | "test_exists" | ..., "params": {...}, "description": "...", "repo": "<owner>/<repo>"}. Every assertion must carry an explicit repo, or the "no_repo" sentinel when the check is not tied to a repository. | |
| functional_test_id | Yes | The already-existing functional test the assertions prove. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||