Add bounded Glas profile production pilot
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a028de-e2c8-7732-8521-46a7fc5db82f
This commit is contained in:
parent
caed3d2ab9
commit
01ee87de12
4 changed files with 100 additions and 11 deletions
|
|
@ -229,6 +229,28 @@ def test_ops_hub_key_is_secret_only_placeholder() -> None:
|
|||
assert '--from-literal=OPS_HUB_KEY=""' in bootstrap
|
||||
|
||||
|
||||
def test_glas_profile_pilot_projection_is_bounded_and_disabled(tmp_path) -> None:
|
||||
definition_config = _by_kind_name("ConfigMap", "actcore-external-activity-definitions")
|
||||
definition_path = tmp_path / "glas-profile-pilot.md"
|
||||
definition_path.write_text(
|
||||
definition_config["data"]["glas-profile-pilot.md"],
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
definition = parse_file(definition_path)
|
||||
assert definition.enabled is False
|
||||
assert definition.trigger_config["trigger_type"] == "scheduled"
|
||||
assert len(definition.rules) == 1
|
||||
action = definition.rules[0]["action"]
|
||||
assert action["target_repo"] == "executor-sandbox"
|
||||
assert action["labels"] == ["automated", "glas-profile-pilot"]
|
||||
assert action["harness_profile_ref"] == "harness.agent-dev-local@1.0.0"
|
||||
assert action["execution_refs"] == {
|
||||
"correlation_id": "ACTIVITY-WP-0032-T05",
|
||||
"assignment_ref": "ACTIVITY-WP-0032-T05",
|
||||
}
|
||||
|
||||
|
||||
def test_disabled_ops_probe_definition_can_emit_fixture_evidence(
|
||||
tmp_path,
|
||||
monkeypatch,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue