Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a0233b-178d-7162-b92f-31a31ea8ca9b
This commit is contained in:
parent
a224e71555
commit
cac605abd7
19 changed files with 339 additions and 41 deletions
|
|
@ -12,6 +12,19 @@ def test_profiles_command_lists_committed_constellations(capsys) -> None:
|
|||
|
||||
rows = json.loads(capsys.readouterr().out)
|
||||
assert {row["rein_id"] for row in rows} == {"rein-aharness", "rein-openweights"}
|
||||
assert {row["operational_readiness"]["status"] for row in rows} == {
|
||||
"blocked",
|
||||
"unverified",
|
||||
}
|
||||
|
||||
|
||||
def test_profiles_text_output_labels_runtime_readiness(capsys) -> None:
|
||||
assert main(["profiles"]) == 0
|
||||
|
||||
output = capsys.readouterr().out
|
||||
assert "readiness=blocked" in output
|
||||
assert "readiness=unverified" in output
|
||||
assert "executable" not in output
|
||||
|
||||
|
||||
def test_execution_request_example_matches_contract() -> None:
|
||||
|
|
@ -19,7 +32,7 @@ def test_execution_request_example_matches_contract() -> None:
|
|||
|
||||
request = ExecutionRequest.model_validate_json(fixture.read_text())
|
||||
|
||||
assert request.harness_profile_ref == "harness.agent-dev-local@1.0.0"
|
||||
assert request.harness_profile_ref == "harness.agent-dev@1.0.0"
|
||||
assert request.assignment_ref == "role-assignment:agent-7:42"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue