feat(web): add IwoooS review candidate packets
This commit is contained in:
@@ -192,6 +192,7 @@ def validate(root: Path) -> None:
|
||||
"s2_38_iwooos_host_owner_decision_record_human_handoff_readiness_packets",
|
||||
"s2_39_iwooos_host_owner_decision_record_human_handoff_readiness_review_checklist",
|
||||
"s2_40_iwooos_host_owner_decision_record_human_handoff_readiness_review_outcome_lanes",
|
||||
"s2_41_iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets",
|
||||
]
|
||||
assert_equal(
|
||||
"progress_delta_ledger.delta_ids",
|
||||
@@ -606,6 +607,17 @@ def validate(root: Path) -> None:
|
||||
"host_decision_record_handoff_readiness_review_maintenance_rollback_incomplete_outcome_lane",
|
||||
"host_decision_record_handoff_readiness_review_runtime_gate_required_outcome_lane",
|
||||
]
|
||||
expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_packet_ids = [
|
||||
"host_decision_record_human_record_owner_review_candidate_identity_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_owner_boundary_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_decision_summary_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_scope_expiry_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_scan_limits_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_credential_boundary_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_maintenance_rollback_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_validation_runtime_gate_packet",
|
||||
"host_decision_record_human_record_owner_review_candidate_no_execution_attestation_packet",
|
||||
]
|
||||
assert_equal(
|
||||
"iwooos_projection.summary.frontend_surface_coverage_group_count",
|
||||
iwooos_projection["summary"]["frontend_surface_coverage_group_count"],
|
||||
@@ -761,6 +773,11 @@ def validate(root: Path) -> None:
|
||||
iwooos_projection["summary"]["host_owner_decision_record_human_handoff_readiness_review_outcome_lane_count"],
|
||||
len(expected_iwooos_host_owner_decision_record_human_handoff_readiness_review_outcome_lane_ids),
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.summary.host_owner_decision_record_human_record_owner_review_candidate_packet_count",
|
||||
iwooos_projection["summary"]["host_owner_decision_record_human_record_owner_review_candidate_packet_count"],
|
||||
len(expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_packet_ids),
|
||||
)
|
||||
iwooos_progress = iwooos_projection["progress"]
|
||||
assert_equal("iwooos_projection.progress.overall_percent", iwooos_progress["overall_percent"], progress["overall_percent"])
|
||||
assert_equal(
|
||||
@@ -3029,6 +3046,131 @@ def validate(root: Path) -> None:
|
||||
f"iwooos_projection.host_owner_decision_record_human_handoff_readiness_review_outcome_lanes.{item['lane_id']}.not_authorization",
|
||||
item["not_authorization"],
|
||||
)
|
||||
iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets = iwooos_projection[
|
||||
"host_owner_decision_record_human_record_owner_review_candidate_packets"
|
||||
]
|
||||
assert_equal(
|
||||
"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.ids",
|
||||
[item["packet_id"] for item in iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets],
|
||||
expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_packet_ids,
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.display_order",
|
||||
[item["display_order"] for item in iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets],
|
||||
list(
|
||||
range(
|
||||
1,
|
||||
len(expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_packet_ids) + 1,
|
||||
)
|
||||
),
|
||||
)
|
||||
expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_fields = [
|
||||
"candidate_identity_and_trace",
|
||||
"human_record_owner_boundary",
|
||||
"decision_summary_and_no_execution_statement",
|
||||
"approved_scope_and_expiry_window",
|
||||
"observe_only_and_future_scan_limits",
|
||||
"metadata_only_credential_boundary",
|
||||
"maintenance_constraints_and_rollback_owner",
|
||||
"validation_evidence_and_independent_runtime_gate",
|
||||
"no_execution_no_approval_attestation",
|
||||
]
|
||||
assert_equal(
|
||||
"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.review_candidate_fields",
|
||||
[
|
||||
item["review_candidate_field"]
|
||||
for item in iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets
|
||||
],
|
||||
expected_iwooos_host_owner_decision_record_human_record_owner_review_candidate_fields,
|
||||
)
|
||||
for item in iwooos_host_owner_decision_record_human_record_owner_review_candidate_packets:
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.source_outcome_lane_id",
|
||||
item["source_outcome_lane_id"],
|
||||
"host_decision_record_handoff_readiness_review_ready_for_human_record_owner_review_candidate_outcome_lane",
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.display_mode",
|
||||
item["display_mode"],
|
||||
"owner_decision_record_human_record_owner_review_candidate_packet_only",
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.human_record_owner_review_started_count",
|
||||
item["human_record_owner_review_started_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.human_record_owner_review_ready_count",
|
||||
item["human_record_owner_review_ready_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.human_record_owner_handoff_review_passed_count",
|
||||
item["human_record_owner_handoff_review_passed_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.human_record_owner_handoff_started_count",
|
||||
item["human_record_owner_handoff_started_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.human_record_owner_handoff_ready_count",
|
||||
item["human_record_owner_handoff_ready_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.formal_record_queue_review_passed_count",
|
||||
item["formal_record_queue_review_passed_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.formal_record_queue_enqueued_count",
|
||||
item["formal_record_queue_enqueued_count"],
|
||||
0,
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.decision_record_created",
|
||||
item["decision_record_created"],
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.owner_decision_received_count",
|
||||
item["owner_decision_received_count"],
|
||||
0,
|
||||
)
|
||||
assert_equal(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.owner_decision_accepted_count",
|
||||
item["owner_decision_accepted_count"],
|
||||
0,
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.owner_approval_record_created",
|
||||
item["owner_approval_record_created"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.runtime_gate_opened",
|
||||
item["runtime_gate_opened"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.raw_payload_allowed",
|
||||
item["raw_payload_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.secret_value_collection_allowed",
|
||||
item["secret_value_collection_allowed"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.runtime_execution_authorized",
|
||||
item["runtime_execution_authorized"],
|
||||
)
|
||||
assert_false(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.action_buttons_allowed",
|
||||
item["action_buttons_allowed"],
|
||||
)
|
||||
assert_true(
|
||||
f"iwooos_projection.host_owner_decision_record_human_record_owner_review_candidate_packets.{item['packet_id']}.not_authorization",
|
||||
item["not_authorization"],
|
||||
)
|
||||
assert_equal(
|
||||
"iwooos_projection.non_blocking_lane_ids",
|
||||
iwooos_projection["non_blocking_lane_ids"],
|
||||
@@ -3078,6 +3220,7 @@ def validate(root: Path) -> None:
|
||||
"display_host_owner_decision_record_human_handoff_readiness_packets",
|
||||
"display_host_owner_decision_record_human_handoff_readiness_review_checklist",
|
||||
"display_host_owner_decision_record_human_handoff_readiness_review_outcome_lanes",
|
||||
"display_host_owner_decision_record_human_record_owner_review_candidate_packets",
|
||||
"display_evidence_refs",
|
||||
"display_forbidden_actions",
|
||||
]:
|
||||
@@ -3198,6 +3341,12 @@ def validate(root: Path) -> None:
|
||||
"start_human_record_owner_handoff_from_readiness_review_outcome",
|
||||
"create_host_owner_decision_record_from_handoff_readiness_review_outcome",
|
||||
"open_runtime_gate_from_handoff_readiness_review_outcome",
|
||||
"treat_host_owner_decision_record_human_record_owner_review_candidate_packet_as_approval",
|
||||
"start_human_record_owner_review_from_candidate_packet",
|
||||
"mark_human_record_owner_review_ready_from_candidate_packet",
|
||||
"collect_owner_decision_from_human_record_owner_review_candidate_packet",
|
||||
"create_host_owner_decision_record_from_human_record_owner_review_candidate_packet",
|
||||
"open_runtime_gate_from_human_record_owner_review_candidate_packet",
|
||||
"apply_runtime_blocking_control",
|
||||
"switch_github_primary",
|
||||
"production_deploy",
|
||||
|
||||
Reference in New Issue
Block a user