feat(web): show IwoooS owner response focus
This commit is contained in:
@@ -198,6 +198,7 @@ def validate(root: Path) -> None:
|
||||
"s2_44_iwooos_host_owner_decision_record_human_record_owner_review_preparation_packets",
|
||||
"s2_45_iwooos_host_owner_decision_record_human_record_owner_review_preparation_checklist",
|
||||
"s2_46_iwooos_progress_acceleration_lanes",
|
||||
"s2_47_iwooos_owner_response_next_action_focus",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -951,6 +952,113 @@ def validate(root: Path) -> None:
|
||||
f"iwooos_projection.progress_acceleration_lanes.{item['lane_id']}.not_authorization",
|
||||
item["not_authorization"],
|
||||
)
|
||||
expected_owner_response_next_action_focus_ids = [
|
||||
"owner_response_focus_s4_9_gitea_owner_attestation",
|
||||
"owner_response_focus_s4_10_github_target_owner_decision",
|
||||
"owner_response_focus_s4_11_refs_truth_owner_response",
|
||||
"owner_response_focus_s4_12_workflow_secret_name_owner_response",
|
||||
]
|
||||
assert_equal(
|
||||
"iwooos_projection.summary.owner_response_next_action_focus_item_count",
|
||||
iwooos_projection["summary"]["owner_response_next_action_focus_item_count"],
|
||||
len(expected_owner_response_next_action_focus_ids),
|
||||
)
|
||||
owner_response_focus_items = iwooos_projection["owner_response_next_action_focus_items"]
|
||||
assert_equal(
|
||||
"iwooos_projection.owner_response_next_action_focus_items.ids",
|
||||
[item["focus_id"] for item in owner_response_focus_items],
|
||||
expected_owner_response_next_action_focus_ids,
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.owner_response_next_action_focus_items.display_order",
|
||||
[item["display_order"] for item in owner_response_focus_items],
|
||||
list(range(1, len(expected_owner_response_next_action_focus_ids) + 1)),
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.owner_response_next_action_focus_items.source_rollup_lane_ids",
|
||||
[item["source_rollup_lane_id"] for item in owner_response_focus_items],
|
||||
[
|
||||
"s4_9_gitea_inventory_owner_attestation_response",
|
||||
"s4_10_github_target_owner_decision_response",
|
||||
"s4_11_ref_truth_owner_response",
|
||||
"s4_12_workflow_secret_name_owner_response",
|
||||
],
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.owner_response_next_action_focus_items.blocked_until_previous_focus_accepted",
|
||||
[item["blocked_until_previous_focus_accepted"] for item in owner_response_focus_items],
|
||||
[False, True, True, True],
|
||||
)
|
||||
for item in owner_response_focus_items:
|
||||
assert_equal(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.display_mode",
|
||||
item["display_mode"],
|
||||
"owner_response_next_action_focus_only",
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.owner_response_received_count",
|
||||
item["owner_response_received_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.owner_response_accepted_count",
|
||||
item["owner_response_accepted_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.owner_response_rejected_count",
|
||||
item["owner_response_rejected_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.audit_events_emitted_count",
|
||||
item["audit_events_emitted_count"],
|
||||
0,
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.auto_chase_allowed",
|
||||
item["auto_chase_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.autofill_allowed",
|
||||
item["autofill_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.mark_received_allowed",
|
||||
item["mark_received_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.mark_accepted_allowed",
|
||||
item["mark_accepted_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.approval_record_created",
|
||||
item["approval_record_created"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.runtime_gate_opened",
|
||||
item["runtime_gate_opened"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.repo_or_refs_mutation_allowed",
|
||||
item["repo_or_refs_mutation_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.secret_value_collection_allowed",
|
||||
item["secret_value_collection_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.runtime_execution_authorized",
|
||||
item["runtime_execution_authorized"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.action_buttons_allowed",
|
||||
item["action_buttons_allowed"],
|
||||
)
|
||||
assert_true(
|
||||
f"iwooos_projection.owner_response_next_action_focus_items.{item['focus_id']}.not_authorization",
|
||||
item["not_authorization"],
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.posture_pillars.ids",
|
||||
[item["pillar_id"] for item in iwooos_projection["posture_pillars"]],
|
||||
@@ -3901,6 +4009,7 @@ def validate(root: Path) -> None:
|
||||
"display_security_posture",
|
||||
"display_progress_estimate",
|
||||
"display_progress_acceleration_lanes",
|
||||
"display_owner_response_next_action_focus",
|
||||
"display_non_blocking_lanes",
|
||||
"display_existing_frontend_security_surfaces",
|
||||
"display_frontend_surface_coverage_matrix",
|
||||
@@ -4100,6 +4209,14 @@ def validate(root: Path) -> None:
|
||||
"mark_owner_response_received_from_progress_acceleration_lane",
|
||||
"enable_github_primary_from_progress_acceleration_lane",
|
||||
"enable_production_execution_from_progress_acceleration_lane",
|
||||
"treat_owner_response_focus_as_received",
|
||||
"collect_owner_response_from_iwooos_focus",
|
||||
"autofill_owner_response_from_iwooos_focus",
|
||||
"mark_owner_response_accepted_from_iwooos_focus",
|
||||
"skip_s4_9_from_owner_response_focus",
|
||||
"open_runtime_gate_from_owner_response_focus",
|
||||
"switch_github_primary_from_owner_response_focus",
|
||||
"create_repo_from_owner_response_focus",
|
||||
"apply_runtime_blocking_control",
|
||||
"switch_github_primary",
|
||||
"production_deploy",
|
||||
|
||||
Reference in New Issue
Block a user