xytara 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +6 -0
- package/ADAPTER_START_HERE.md +56 -0
- package/BSV_TERANODE_SETUP.md +30 -1
- package/CARRIED_HANDOFF_DEMO.md +60 -0
- package/EXAMPLE_PATHS.md +53 -0
- package/FINAL_CONTRACT.md +6 -6
- package/OPERATIONS_RUNBOOK.md +65 -0
- package/OPERATOR_START_HERE.md +63 -0
- package/PARTNER_READY_PATH.md +71 -0
- package/PROGRAM_COMPLETE_RELEASE.md +63 -0
- package/PROGRAM_STATUS.md +57 -0
- package/PUBLIC_DEMO_SCRIPT.md +78 -0
- package/PUBLISH_PLAN.md +14 -0
- package/README.md +142 -6
- package/RELEASE_CHECKLIST.md +16 -0
- package/RELEASE_NOTES.md +28 -0
- package/SERVICE_CONTRACT.md +4 -4
- package/START_HERE.md +32 -0
- package/SUPABASE_RUNTIME_STATE_SETUP.md +61 -0
- package/WHY_XYTARA_XOONYA.md +63 -0
- package/adapters/examples/minimal-third-party-execution-adapter.js +61 -0
- package/adapters/examples/minimal-third-party-execution-adapter.manifest.json +79 -0
- package/adapters/examples/minimal-third-party-execution-registration.record.json +26 -0
- package/adapters/examples/minimal-third-party-execution.certification-pack.json +22 -0
- package/adapters/examples/minimal-third-party-execution.submission-bundle.json +126 -0
- package/bin/xytara-release.js +1419 -0
- package/bin/xytara-run.js +186 -0
- package/examples/adapter_review_walkthrough.js +53 -0
- package/examples/export_carried_handoff.js +80 -0
- package/examples/funded_runtime_walkthrough.js +70 -0
- package/examples/partner_launch_walkthrough.js +43 -0
- package/examples/quickstart.js +3255 -0
- package/index.js +87 -1
- package/lib/adapter_pack.js +118 -0
- package/lib/adapter_partner_pack.js +89 -0
- package/lib/adapter_promotion_pack.js +89 -0
- package/lib/announcement_pack.js +61 -0
- package/lib/commerce_artifacts.js +3 -0
- package/lib/commerce_economics.js +14 -0
- package/lib/commerce_reports.js +26 -1
- package/lib/commerce_shell.js +18 -2
- package/lib/ecosystem_entry.js +64 -0
- package/lib/launch_narrative.js +53 -0
- package/lib/outreach_copy_pack.js +51 -0
- package/lib/outreach_message_pack.js +71 -0
- package/lib/outreach_proof.js +71 -0
- package/lib/outreach_target_pack.js +60 -0
- package/lib/phase_10_closeout_pack.js +45 -0
- package/lib/phase_10_completion_pack.js +76 -0
- package/lib/phase_10_decision_record_pack.js +54 -0
- package/lib/phase_10_decision_resolution_pack.js +53 -0
- package/lib/phase_10_demand_signal_adapters_runtime_pack.js +74 -0
- package/lib/phase_10_ecosystem_backlog_triage_runtime_pack.js +74 -0
- package/lib/phase_10_freeze_baseline_pack.js +67 -0
- package/lib/phase_10_freeze_review_pack.js +64 -0
- package/lib/phase_10_gate_pack.js +57 -0
- package/lib/phase_10_long_tail_continuity_pack.js +80 -0
- package/lib/phase_10_long_tail_ecosystem_pack.js +66 -0
- package/lib/phase_10_niche_extension_registry_runtime_pack.js +74 -0
- package/lib/phase_1_claude_mcp_pack.js +60 -0
- package/lib/phase_1_claude_mcp_runtime_pack.js +52 -0
- package/lib/phase_1_ecosystem_pack.js +67 -0
- package/lib/phase_1_openai_codex_pack.js +60 -0
- package/lib/phase_1_openai_codex_runtime_pack.js +52 -0
- package/lib/phase_2_base_runtime_pack.js +71 -0
- package/lib/phase_2_base_usdc_runtime_pack.js +72 -0
- package/lib/phase_2_closeout_pack.js +65 -0
- package/lib/phase_2_completion_pack.js +113 -0
- package/lib/phase_2_decision_record_pack.js +66 -0
- package/lib/phase_2_decision_resolution_pack.js +69 -0
- package/lib/phase_2_eth_runtime_pack.js +70 -0
- package/lib/phase_2_evm_base_runtime_pack.js +73 -0
- package/lib/phase_2_evm_runtime_pack.js +71 -0
- package/lib/phase_2_flip_preview_pack.js +60 -0
- package/lib/phase_2_freeze_review_pack.js +99 -0
- package/lib/phase_2_gate_pack.js +77 -0
- package/lib/phase_2_payment_rails_pack.js +71 -0
- package/lib/phase_2_usdc_runtime_pack.js +71 -0
- package/lib/phase_3_brc_runtime_pack.js +81 -0
- package/lib/phase_3_bsv_teranode_runtime_pack.js +83 -0
- package/lib/phase_3_closeout_pack.js +62 -0
- package/lib/phase_3_completion_pack.js +94 -0
- package/lib/phase_3_decision_record_pack.js +64 -0
- package/lib/phase_3_decision_resolution_pack.js +69 -0
- package/lib/phase_3_freeze_baseline_pack.js +67 -0
- package/lib/phase_3_freeze_review_pack.js +80 -0
- package/lib/phase_3_gate_pack.js +76 -0
- package/lib/phase_3_metanet_runtime_pack.js +81 -0
- package/lib/phase_3_native_bsv_pack.js +91 -0
- package/lib/phase_3_native_continuity_pack.js +82 -0
- package/lib/phase_4_attestation_runtime_pack.js +75 -0
- package/lib/phase_4_closeout_pack.js +45 -0
- package/lib/phase_4_completion_pack.js +94 -0
- package/lib/phase_4_decision_record_pack.js +54 -0
- package/lib/phase_4_decision_resolution_pack.js +45 -0
- package/lib/phase_4_erc8004_runtime_pack.js +76 -0
- package/lib/phase_4_freeze_baseline_pack.js +67 -0
- package/lib/phase_4_freeze_review_pack.js +68 -0
- package/lib/phase_4_gate_pack.js +58 -0
- package/lib/phase_4_identity_registry_runtime_pack.js +75 -0
- package/lib/phase_4_identity_trust_pack.js +73 -0
- package/lib/phase_4_trust_continuity_pack.js +86 -0
- package/lib/phase_5_antelope_runtime_pack.js +76 -0
- package/lib/phase_5_closeout_pack.js +44 -0
- package/lib/phase_5_completion_pack.js +82 -0
- package/lib/phase_5_decision_record_pack.js +54 -0
- package/lib/phase_5_decision_resolution_pack.js +45 -0
- package/lib/phase_5_freeze_baseline_pack.js +67 -0
- package/lib/phase_5_freeze_review_pack.js +68 -0
- package/lib/phase_5_gate_pack.js +58 -0
- package/lib/phase_5_major_rails_continuity_pack.js +86 -0
- package/lib/phase_5_major_rails_pack.js +74 -0
- package/lib/phase_5_proton_xpr_runtime_pack.js +76 -0
- package/lib/phase_5_solana_runtime_pack.js +76 -0
- package/lib/phase_6_autogen_runtime_pack.js +72 -0
- package/lib/phase_6_closeout_pack.js +46 -0
- package/lib/phase_6_completion_pack.js +77 -0
- package/lib/phase_6_decision_record_pack.js +54 -0
- package/lib/phase_6_decision_resolution_pack.js +53 -0
- package/lib/phase_6_framework_continuity_pack.js +81 -0
- package/lib/phase_6_framework_runtime_pack.js +68 -0
- package/lib/phase_6_freeze_baseline_pack.js +68 -0
- package/lib/phase_6_freeze_review_pack.js +65 -0
- package/lib/phase_6_gate_pack.js +59 -0
- package/lib/phase_6_langchain_runtime_pack.js +72 -0
- package/lib/phase_6_langgraph_runtime_pack.js +72 -0
- package/lib/phase_6_semantic_kernel_runtime_pack.js +72 -0
- package/lib/phase_7_closeout_pack.js +45 -0
- package/lib/phase_7_completion_pack.js +85 -0
- package/lib/phase_7_decision_record_pack.js +53 -0
- package/lib/phase_7_decision_resolution_pack.js +53 -0
- package/lib/phase_7_event_system_continuity_pack.js +89 -0
- package/lib/phase_7_event_system_pack.js +76 -0
- package/lib/phase_7_freeze_baseline_pack.js +74 -0
- package/lib/phase_7_freeze_review_pack.js +65 -0
- package/lib/phase_7_gate_pack.js +58 -0
- package/lib/phase_7_kafka_runtime_pack.js +74 -0
- package/lib/phase_7_mqtt_runtime_pack.js +74 -0
- package/lib/phase_7_nats_runtime_pack.js +74 -0
- package/lib/phase_7_webhook_event_bus_runtime_pack.js +74 -0
- package/lib/phase_8_closeout_pack.js +46 -0
- package/lib/phase_8_completion_pack.js +82 -0
- package/lib/phase_8_decision_record_pack.js +54 -0
- package/lib/phase_8_decision_resolution_pack.js +53 -0
- package/lib/phase_8_external_receipt_import_runtime_pack.js +74 -0
- package/lib/phase_8_external_result_import_runtime_pack.js +74 -0
- package/lib/phase_8_freeze_baseline_pack.js +71 -0
- package/lib/phase_8_freeze_review_pack.js +64 -0
- package/lib/phase_8_gate_pack.js +58 -0
- package/lib/phase_8_proof_bridge_continuity_pack.js +86 -0
- package/lib/phase_8_proof_bridges_pack.js +72 -0
- package/lib/phase_8_proof_bundle_normalization_runtime_pack.js +74 -0
- package/lib/phase_9_closeout_pack.js +46 -0
- package/lib/phase_9_completion_pack.js +82 -0
- package/lib/phase_9_custody_refs_runtime_pack.js +74 -0
- package/lib/phase_9_decision_record_pack.js +54 -0
- package/lib/phase_9_decision_resolution_pack.js +53 -0
- package/lib/phase_9_freeze_baseline_pack.js +71 -0
- package/lib/phase_9_freeze_review_pack.js +64 -0
- package/lib/phase_9_gate_pack.js +58 -0
- package/lib/phase_9_operator_accounting_bridges_runtime_pack.js +74 -0
- package/lib/phase_9_treasury_connectivity_pack.js +72 -0
- package/lib/phase_9_treasury_continuity_pack.js +86 -0
- package/lib/phase_9_treasury_destinations_runtime_pack.js +74 -0
- package/lib/phase_program_pack.js +120 -0
- package/lib/publish_plan.js +51 -0
- package/lib/release_candidate.js +50 -0
- package/lib/release_center.js +1085 -0
- package/lib/release_history.js +72 -0
- package/lib/release_manifest.js +114 -0
- package/lib/release_pack.js +454 -0
- package/lib/runtime_state_store.js +354 -0
- package/lib/settlement_bsv_live.js +262 -13
- package/lib/soft_launch_pack.js +78 -0
- package/package.json +24 -2
- package/server.js +2562 -220
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase6SemanticKernelRuntimePack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-6-semantic-kernel-runtime-pack",
|
|
10
|
+
phase_ref: "phase_6",
|
|
11
|
+
ecosystem_refs: ["semantic_kernel"],
|
|
12
|
+
posture: "runtime_path",
|
|
13
|
+
runtime_shape: {
|
|
14
|
+
runtime_modes: ["planner_runtime_bridge", "plugin_execution_bridge", "memory_state_carry"],
|
|
15
|
+
runtime_artifacts: ["planner_ref", "plugin_ref", "memory_ref"],
|
|
16
|
+
operator_surfaces: [
|
|
17
|
+
"/v1/release-center/summary",
|
|
18
|
+
"/v1/publish-plan/summary",
|
|
19
|
+
"/v1/phases/phase-6/summary"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
completion_shape: {
|
|
23
|
+
completion_checks: [
|
|
24
|
+
"the Semantic Kernel runtime lane is public and inspectable",
|
|
25
|
+
"planner and plugin runtime posture stay attached to the lane",
|
|
26
|
+
"operator surfaces remain available for runtime review",
|
|
27
|
+
"Phase 6 shows explicit plugin-oriented runtime coverage"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
first_path: {
|
|
31
|
+
purpose: "show an explicit planner-and-plugin runtime lane for framework-linked execution and memory carry",
|
|
32
|
+
first_http_sequence: [
|
|
33
|
+
"/v1/phases/phase-6/summary",
|
|
34
|
+
"/v1/release-center/summary",
|
|
35
|
+
"/v1/publish-plan/summary"
|
|
36
|
+
],
|
|
37
|
+
first_cli_sequence: [
|
|
38
|
+
"xytara-release --phase-6-semantic-kernel-runtime --summary",
|
|
39
|
+
"xytara-release --phase-6 --summary"
|
|
40
|
+
],
|
|
41
|
+
expected_signals: [
|
|
42
|
+
"Semantic Kernel is visible as a concrete Phase 6 framework lane",
|
|
43
|
+
"planner and plugin runtime posture are inspectable from a stable route",
|
|
44
|
+
"Phase 6 now spans the intended framework/runtime family breadth"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function summarizePhase6SemanticKernelRuntimePack() {
|
|
51
|
+
const pack = buildPhase6SemanticKernelRuntimePack();
|
|
52
|
+
return {
|
|
53
|
+
ok: true,
|
|
54
|
+
product: pack.product,
|
|
55
|
+
category: pack.category,
|
|
56
|
+
phase_ref: pack.phase_ref,
|
|
57
|
+
ecosystem_count: pack.ecosystem_refs.length,
|
|
58
|
+
runtime_mode_count: pack.runtime_shape.runtime_modes.length,
|
|
59
|
+
runtime_artifact_count: pack.runtime_shape.runtime_artifacts.length,
|
|
60
|
+
completion_check_count: pack.completion_shape.completion_checks.length,
|
|
61
|
+
http_step_count: pack.first_path.first_http_sequence.length,
|
|
62
|
+
cli_step_count: pack.first_path.first_cli_sequence.length,
|
|
63
|
+
signal_count: pack.first_path.expected_signals.length,
|
|
64
|
+
operator_surface_count: pack.runtime_shape.operator_surfaces.length,
|
|
65
|
+
first_http_step: pack.first_path.first_http_sequence[0] || null
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
module.exports = {
|
|
70
|
+
buildPhase6SemanticKernelRuntimePack,
|
|
71
|
+
summarizePhase6SemanticKernelRuntimePack
|
|
72
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7CloseoutPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-closeout-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "closeout_plan",
|
|
12
|
+
current_decision: "ready_for_phase_8",
|
|
13
|
+
blocking_actions: [],
|
|
14
|
+
action_steps: [
|
|
15
|
+
"confirm the recorded freeze baseline still matches the intended final Phase 7 shape",
|
|
16
|
+
"record the gate review outcome",
|
|
17
|
+
"recheck phase-7 gate summary for zero unsatisfied conditions",
|
|
18
|
+
"advance only once phase-7 gate resolves to ready_for_phase_8"
|
|
19
|
+
],
|
|
20
|
+
completion_signals: [
|
|
21
|
+
"phase-7 completion shows no remaining focus",
|
|
22
|
+
"phase-7 decision record shows no pending records",
|
|
23
|
+
"phase-7 gate resolves to ready_for_phase_8"
|
|
24
|
+
]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function summarizePhase7CloseoutPack() {
|
|
29
|
+
const pack = buildPhase7CloseoutPack();
|
|
30
|
+
return {
|
|
31
|
+
ok: true,
|
|
32
|
+
product: pack.product,
|
|
33
|
+
category: pack.category,
|
|
34
|
+
phase_ref: pack.phase_ref,
|
|
35
|
+
blocking_action_count: pack.blocking_actions.length,
|
|
36
|
+
action_step_count: pack.action_steps.length,
|
|
37
|
+
completion_signal_count: pack.completion_signals.length,
|
|
38
|
+
current_decision: pack.current_decision
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
module.exports = {
|
|
43
|
+
buildPhase7CloseoutPack,
|
|
44
|
+
summarizePhase7CloseoutPack
|
|
45
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7CompletionPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-completion-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "completion_review",
|
|
12
|
+
coverage: {
|
|
13
|
+
ecosystem_refs: ["kafka", "nats", "mqtt", "webhook_event_bus"],
|
|
14
|
+
lane_refs: [
|
|
15
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
16
|
+
"/v1/phases/phase-7/nats/summary",
|
|
17
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
18
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
19
|
+
],
|
|
20
|
+
event_modes: ["topic_stream_ingest", "durable_queue_handoff", "system_event_normalization"],
|
|
21
|
+
event_system_modes: ["stream_backbone", "broker_mesh", "device_event_bus", "edge_callback_handoff"],
|
|
22
|
+
stream_modes: ["partitioned_topic_flow", "consumer_group_flow", "offset_checkpoint_flow"],
|
|
23
|
+
subject_modes: ["subject_mesh_flow", "queue_group_flow", "ack_commit_flow"],
|
|
24
|
+
qos_modes: ["device_session_flow", "qos_delivery_flow", "retained_state_flow"],
|
|
25
|
+
callback_modes: ["signed_callback_flow", "retry_schedule_flow", "endpoint_contract_flow"],
|
|
26
|
+
event_artifacts: ["topic_ref", "consumer_ref", "offset_ref", "delivery_ref"],
|
|
27
|
+
operator_surfaces: [
|
|
28
|
+
"/v1/release-center/summary",
|
|
29
|
+
"/v1/publish-plan/summary",
|
|
30
|
+
"/v1/phases/phase-7/event-system-continuity/summary"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
completion: {
|
|
34
|
+
checks: [
|
|
35
|
+
"broad Phase 7 event-system pack is public and inspectable",
|
|
36
|
+
"all current Phase 7 event-system lanes are public and inspectable",
|
|
37
|
+
"event posture is visible at phase level",
|
|
38
|
+
"event-system continuity is explicit across the lane family",
|
|
39
|
+
"release-center summary reflects Phase 7 breadth and lane coverage",
|
|
40
|
+
"Phase 7 closure criteria are explicit before opening Phase 8"
|
|
41
|
+
],
|
|
42
|
+
readiness_criteria: [
|
|
43
|
+
{ ref: "criterion.phase_surface_public", label: "Phase 7 broad summary is live and inspectable", satisfied: true },
|
|
44
|
+
{ ref: "criterion.event_lane_coverage", label: "All current event-system lanes are live and inspectable", satisfied: true },
|
|
45
|
+
{ ref: "criterion.event_continuity_visible", label: "Event-system continuity is visible at phase level", satisfied: true },
|
|
46
|
+
{ ref: "criterion.operator_surfaces_attached", label: "Operator surfaces remain attached to the event-system family", satisfied: true },
|
|
47
|
+
{ ref: "criterion.freeze_shape_confirmed", label: "The final Phase 7 event-system lane shape is explicitly frozen", satisfied: true },
|
|
48
|
+
{ ref: "criterion.next_phase_gate_reviewed", label: "A final freeze review has been recorded before opening Phase 8", satisfied: true }
|
|
49
|
+
],
|
|
50
|
+
ready_for_next_phase: true,
|
|
51
|
+
remaining_focus: []
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function summarizePhase7CompletionPack() {
|
|
57
|
+
const pack = buildPhase7CompletionPack();
|
|
58
|
+
return {
|
|
59
|
+
ok: true,
|
|
60
|
+
product: pack.product,
|
|
61
|
+
category: pack.category,
|
|
62
|
+
phase_ref: pack.phase_ref,
|
|
63
|
+
ecosystem_count: pack.coverage.ecosystem_refs.length,
|
|
64
|
+
lane_count: pack.coverage.lane_refs.length,
|
|
65
|
+
event_mode_count: pack.coverage.event_modes.length,
|
|
66
|
+
event_system_mode_count: pack.coverage.event_system_modes.length,
|
|
67
|
+
stream_mode_count: pack.coverage.stream_modes.length,
|
|
68
|
+
subject_mode_count: pack.coverage.subject_modes.length,
|
|
69
|
+
qos_mode_count: pack.coverage.qos_modes.length,
|
|
70
|
+
callback_mode_count: pack.coverage.callback_modes.length,
|
|
71
|
+
event_artifact_count: pack.coverage.event_artifacts.length,
|
|
72
|
+
operator_surface_count: pack.coverage.operator_surfaces.length,
|
|
73
|
+
completion_check_count: pack.completion.checks.length,
|
|
74
|
+
readiness_criteria_count: pack.completion.readiness_criteria.length,
|
|
75
|
+
satisfied_criteria_count: pack.completion.readiness_criteria.filter((criterion) => criterion.satisfied === true).length,
|
|
76
|
+
unsatisfied_criteria_count: pack.completion.readiness_criteria.filter((criterion) => criterion.satisfied !== true).length,
|
|
77
|
+
remaining_focus_count: pack.completion.remaining_focus.length,
|
|
78
|
+
ready_for_next_phase: pack.completion.ready_for_next_phase
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = {
|
|
83
|
+
buildPhase7CompletionPack,
|
|
84
|
+
summarizePhase7CompletionPack
|
|
85
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7DecisionRecordPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-decision-record-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "decision_record",
|
|
12
|
+
records: {
|
|
13
|
+
freeze_decision: {
|
|
14
|
+
status: "recorded",
|
|
15
|
+
description: "record the final event-system lane shape as the frozen Phase 7 baseline"
|
|
16
|
+
},
|
|
17
|
+
gate_review: {
|
|
18
|
+
status: "recorded",
|
|
19
|
+
description: "record the final review that authorizes the move to Phase 8"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
record_steps: [
|
|
23
|
+
"confirm the recorded freeze baseline still matches the intended final Phase 7 shape",
|
|
24
|
+
"record the gate review outcome",
|
|
25
|
+
"recheck phase-7 gate summary for zero unsatisfied conditions"
|
|
26
|
+
],
|
|
27
|
+
outputs: [
|
|
28
|
+
"freeze decision status moves out of pending_record",
|
|
29
|
+
"gate review status moves out of pending_record",
|
|
30
|
+
"phase-7 gate can be flipped deliberately"
|
|
31
|
+
]
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function summarizePhase7DecisionRecordPack() {
|
|
36
|
+
const pack = buildPhase7DecisionRecordPack();
|
|
37
|
+
return {
|
|
38
|
+
ok: true,
|
|
39
|
+
product: pack.product,
|
|
40
|
+
category: pack.category,
|
|
41
|
+
phase_ref: pack.phase_ref,
|
|
42
|
+
pending_record_count: Object.values(pack.records).filter((record) => record.status === "pending_record").length,
|
|
43
|
+
record_step_count: pack.record_steps.length,
|
|
44
|
+
output_count: pack.outputs.length,
|
|
45
|
+
freeze_decision_status: pack.records.freeze_decision.status,
|
|
46
|
+
gate_review_status: pack.records.gate_review.status
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = {
|
|
51
|
+
buildPhase7DecisionRecordPack,
|
|
52
|
+
summarizePhase7DecisionRecordPack
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7DecisionResolutionPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-decision-resolution-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "decision_resolution",
|
|
12
|
+
transitions: [
|
|
13
|
+
{
|
|
14
|
+
ref: "freeze_decision",
|
|
15
|
+
from: "pending_record",
|
|
16
|
+
to: "recorded"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
ref: "gate_review",
|
|
20
|
+
from: "pending_record",
|
|
21
|
+
to: "recorded"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
resolution_steps: [
|
|
25
|
+
"confirm the event-system lane family is the intended final Phase 7 shape",
|
|
26
|
+
"record the freeze decision outcome",
|
|
27
|
+
"record the gate review outcome",
|
|
28
|
+
"recheck phase-7 completion and freeze-review summaries",
|
|
29
|
+
"confirm phase-7 gate resolves to ready_for_phase_8"
|
|
30
|
+
],
|
|
31
|
+
target_gate_decision: "ready_for_phase_8",
|
|
32
|
+
target_ready_for_next_phase: true
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function summarizePhase7DecisionResolutionPack() {
|
|
37
|
+
const pack = buildPhase7DecisionResolutionPack();
|
|
38
|
+
return {
|
|
39
|
+
ok: true,
|
|
40
|
+
product: pack.product,
|
|
41
|
+
category: pack.category,
|
|
42
|
+
phase_ref: pack.phase_ref,
|
|
43
|
+
transition_count: pack.transitions.length,
|
|
44
|
+
resolution_step_count: pack.resolution_steps.length,
|
|
45
|
+
target_gate_decision: pack.target_gate_decision,
|
|
46
|
+
target_ready_for_next_phase: pack.target_ready_for_next_phase
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
module.exports = {
|
|
51
|
+
buildPhase7DecisionResolutionPack,
|
|
52
|
+
summarizePhase7DecisionResolutionPack
|
|
53
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7EventSystemContinuityPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-event-system-continuity-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "continuity_review",
|
|
12
|
+
continuity: {
|
|
13
|
+
lane_refs: [
|
|
14
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
15
|
+
"/v1/phases/phase-7/nats/summary",
|
|
16
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
17
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
18
|
+
],
|
|
19
|
+
continuity_refs: ["/v1/phases/phase-7/summary"],
|
|
20
|
+
event_modes: ["topic_stream_ingest", "durable_queue_handoff", "system_event_normalization"],
|
|
21
|
+
event_system_modes: ["stream_backbone", "broker_mesh", "device_event_bus", "edge_callback_handoff"],
|
|
22
|
+
stream_modes: ["partitioned_topic_flow", "consumer_group_flow", "offset_checkpoint_flow"],
|
|
23
|
+
subject_modes: ["subject_mesh_flow", "queue_group_flow", "ack_commit_flow"],
|
|
24
|
+
qos_modes: ["device_session_flow", "qos_delivery_flow", "retained_state_flow"],
|
|
25
|
+
callback_modes: ["signed_callback_flow", "retry_schedule_flow", "endpoint_contract_flow"],
|
|
26
|
+
continuity_surfaces: [
|
|
27
|
+
"/v1/release-center/summary",
|
|
28
|
+
"/v1/publish-plan/summary",
|
|
29
|
+
"/v1/phases/phase-7/summary"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
completion_shape: {
|
|
33
|
+
completion_checks: [
|
|
34
|
+
"all current event-system lanes are public and inspectable",
|
|
35
|
+
"event posture is visible at phase level",
|
|
36
|
+
"cross-lane continuity is explicit across the Phase 7 family",
|
|
37
|
+
"release-center summary reflects the event-system family as one coherent slice"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
first_path: {
|
|
41
|
+
purpose: "show that the event-system family is coherent across ingestion and handoff lanes rather than isolated summaries",
|
|
42
|
+
first_http_sequence: [
|
|
43
|
+
"/v1/phases/phase-7/summary",
|
|
44
|
+
"/v1/phases/phase-7/event-system-continuity/summary",
|
|
45
|
+
"/v1/release-center/summary",
|
|
46
|
+
"/v1/publish-plan/summary"
|
|
47
|
+
],
|
|
48
|
+
first_cli_sequence: [
|
|
49
|
+
"xytara-release --phase-7-event-system-continuity --summary",
|
|
50
|
+
"xytara-release --phase-7 --summary"
|
|
51
|
+
],
|
|
52
|
+
expected_signals: [
|
|
53
|
+
"Kafka, NATS, MQTT, and webhook event bus are linked as one event-system family",
|
|
54
|
+
"event roles are legible without collapsing into one lane",
|
|
55
|
+
"operator surfaces stay attached to the Phase 7 lane family",
|
|
56
|
+
"Phase 7 reads as one coherent event/system slice"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function summarizePhase7EventSystemContinuityPack() {
|
|
63
|
+
const pack = buildPhase7EventSystemContinuityPack();
|
|
64
|
+
return {
|
|
65
|
+
ok: true,
|
|
66
|
+
product: pack.product,
|
|
67
|
+
category: pack.category,
|
|
68
|
+
phase_ref: pack.phase_ref,
|
|
69
|
+
lane_count: pack.continuity.lane_refs.length,
|
|
70
|
+
continuity_ref_count: pack.continuity.continuity_refs.length,
|
|
71
|
+
event_mode_count: pack.continuity.event_modes.length,
|
|
72
|
+
event_system_mode_count: pack.continuity.event_system_modes.length,
|
|
73
|
+
stream_mode_count: pack.continuity.stream_modes.length,
|
|
74
|
+
subject_mode_count: pack.continuity.subject_modes.length,
|
|
75
|
+
qos_mode_count: pack.continuity.qos_modes.length,
|
|
76
|
+
callback_mode_count: pack.continuity.callback_modes.length,
|
|
77
|
+
continuity_surface_count: pack.continuity.continuity_surfaces.length,
|
|
78
|
+
completion_check_count: pack.completion_shape.completion_checks.length,
|
|
79
|
+
http_step_count: pack.first_path.first_http_sequence.length,
|
|
80
|
+
cli_step_count: pack.first_path.first_cli_sequence.length,
|
|
81
|
+
signal_count: pack.first_path.expected_signals.length,
|
|
82
|
+
first_http_step: pack.first_path.first_http_sequence[0] || null
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
module.exports = {
|
|
87
|
+
buildPhase7EventSystemContinuityPack,
|
|
88
|
+
summarizePhase7EventSystemContinuityPack
|
|
89
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7EventSystemPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-event-system-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
status: "completed",
|
|
12
|
+
ecosystems: ["kafka", "nats", "mqtt", "webhook_event_bus"],
|
|
13
|
+
lane_refs: [
|
|
14
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
15
|
+
"/v1/phases/phase-7/nats/summary",
|
|
16
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
17
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
18
|
+
],
|
|
19
|
+
integration_shape: {
|
|
20
|
+
event_modes: ["topic_stream_ingest", "durable_queue_handoff", "system_event_normalization"],
|
|
21
|
+
stream_modes: ["partitioned_topic_flow", "consumer_group_flow", "offset_checkpoint_flow"],
|
|
22
|
+
subject_modes: ["subject_mesh_flow", "queue_group_flow", "ack_commit_flow"],
|
|
23
|
+
qos_modes: ["device_session_flow", "qos_delivery_flow", "retained_state_flow"],
|
|
24
|
+
callback_modes: ["signed_callback_flow", "retry_schedule_flow", "endpoint_contract_flow"],
|
|
25
|
+
operator_surfaces: [
|
|
26
|
+
"/v1/release-center/summary",
|
|
27
|
+
"/v1/publish-plan/summary",
|
|
28
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
29
|
+
"/v1/phases/phase-7/nats/summary",
|
|
30
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
31
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
completion_shape: {
|
|
35
|
+
completion_checks: [
|
|
36
|
+
"broad Phase 7 event-system pack is public and inspectable",
|
|
37
|
+
"Kafka, NATS, MQTT, and webhook event bus lanes are public and inspectable",
|
|
38
|
+
"event-ingestion posture is visible at phase level",
|
|
39
|
+
"operator surfaces stay attached to the Phase 7 lane family",
|
|
40
|
+
"release-center summary reflects Phase 7 activation and lane breadth"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
done_means: [
|
|
44
|
+
"Phase 6 is no longer the active program slice",
|
|
45
|
+
"Phase 7 has a public event/system entry path",
|
|
46
|
+
"Kafka, NATS, MQTT, and webhook event bus are visible as explicit system-integration lanes",
|
|
47
|
+
"the integration family feels operational rather than like a placeholder"
|
|
48
|
+
]
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function summarizePhase7EventSystemPack() {
|
|
53
|
+
const pack = buildPhase7EventSystemPack();
|
|
54
|
+
return {
|
|
55
|
+
ok: true,
|
|
56
|
+
product: pack.product,
|
|
57
|
+
category: pack.category,
|
|
58
|
+
phase_ref: pack.phase_ref,
|
|
59
|
+
ecosystem_count: pack.ecosystems.length,
|
|
60
|
+
lane_count: pack.lane_refs.length,
|
|
61
|
+
event_mode_count: pack.integration_shape.event_modes.length,
|
|
62
|
+
stream_mode_count: pack.integration_shape.stream_modes.length,
|
|
63
|
+
subject_mode_count: pack.integration_shape.subject_modes.length,
|
|
64
|
+
qos_mode_count: pack.integration_shape.qos_modes.length,
|
|
65
|
+
callback_mode_count: pack.integration_shape.callback_modes.length,
|
|
66
|
+
operator_surface_count: pack.integration_shape.operator_surfaces.length,
|
|
67
|
+
completion_check_count: pack.completion_shape.completion_checks.length,
|
|
68
|
+
done_mean_count: pack.done_means.length,
|
|
69
|
+
first_ecosystem: pack.ecosystems[0] || null
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
module.exports = {
|
|
74
|
+
buildPhase7EventSystemPack,
|
|
75
|
+
summarizePhase7EventSystemPack
|
|
76
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7FreezeBaselinePack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-freeze-baseline-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "frozen_baseline",
|
|
12
|
+
baseline: {
|
|
13
|
+
lane_refs: [
|
|
14
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
15
|
+
"/v1/phases/phase-7/nats/summary",
|
|
16
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
17
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
18
|
+
],
|
|
19
|
+
event_modes: ["topic_stream_ingest", "durable_queue_handoff", "system_event_normalization"],
|
|
20
|
+
stream_modes: ["partitioned_topic_flow", "consumer_group_flow", "offset_checkpoint_flow"],
|
|
21
|
+
subject_modes: ["subject_mesh_flow", "queue_group_flow", "ack_commit_flow"],
|
|
22
|
+
qos_modes: ["device_session_flow", "qos_delivery_flow", "retained_state_flow"],
|
|
23
|
+
callback_modes: ["signed_callback_flow", "retry_schedule_flow", "endpoint_contract_flow"],
|
|
24
|
+
baseline_status: "recorded",
|
|
25
|
+
frozen_outputs: [
|
|
26
|
+
"current event-system lane family is the recorded Phase 7 baseline",
|
|
27
|
+
"event-system family can now be judged against a stable shape rather than an open expansion set",
|
|
28
|
+
"only the final gate review remains before Phase 8"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
first_path: {
|
|
32
|
+
purpose: "show that the Phase 7 event-system lane family is now treated as a frozen baseline",
|
|
33
|
+
first_http_sequence: [
|
|
34
|
+
"/v1/phases/phase-7/summary",
|
|
35
|
+
"/v1/phases/phase-7/freeze-baseline/summary",
|
|
36
|
+
"/v1/phases/phase-7/gate/summary"
|
|
37
|
+
],
|
|
38
|
+
first_cli_sequence: [
|
|
39
|
+
"xytara-release --phase-7-freeze-baseline --summary",
|
|
40
|
+
"xytara-release --phase-7 --summary"
|
|
41
|
+
],
|
|
42
|
+
expected_signals: [
|
|
43
|
+
"the event-system lane family is now explicitly frozen",
|
|
44
|
+
"lane freeze is no longer part of the remaining Phase 7 uncertainty",
|
|
45
|
+
"the final open work is narrowed to gate review rather than shape definition"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function summarizePhase7FreezeBaselinePack() {
|
|
52
|
+
const pack = buildPhase7FreezeBaselinePack();
|
|
53
|
+
return {
|
|
54
|
+
ok: true,
|
|
55
|
+
product: pack.product,
|
|
56
|
+
category: pack.category,
|
|
57
|
+
phase_ref: pack.phase_ref,
|
|
58
|
+
lane_count: pack.baseline.lane_refs.length,
|
|
59
|
+
event_mode_count: pack.baseline.event_modes.length,
|
|
60
|
+
stream_mode_count: pack.baseline.stream_modes.length,
|
|
61
|
+
subject_mode_count: pack.baseline.subject_modes.length,
|
|
62
|
+
qos_mode_count: pack.baseline.qos_modes.length,
|
|
63
|
+
callback_mode_count: pack.baseline.callback_modes.length,
|
|
64
|
+
baseline_status: pack.baseline.baseline_status,
|
|
65
|
+
frozen_output_count: pack.baseline.frozen_outputs.length,
|
|
66
|
+
signal_count: pack.first_path.expected_signals.length,
|
|
67
|
+
first_http_step: pack.first_path.first_http_sequence[0] || null
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
module.exports = {
|
|
72
|
+
buildPhase7FreezeBaselinePack,
|
|
73
|
+
summarizePhase7FreezeBaselinePack
|
|
74
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
|
|
5
|
+
function buildPhase7FreezeReviewPack() {
|
|
6
|
+
return {
|
|
7
|
+
ok: true,
|
|
8
|
+
product: packageJson.name,
|
|
9
|
+
category: "machine-commerce-phase-7-freeze-review-pack",
|
|
10
|
+
phase_ref: "phase_7",
|
|
11
|
+
posture: "freeze_review",
|
|
12
|
+
freeze_review: {
|
|
13
|
+
lane_refs: [
|
|
14
|
+
"/v1/phases/phase-7/kafka/summary",
|
|
15
|
+
"/v1/phases/phase-7/nats/summary",
|
|
16
|
+
"/v1/phases/phase-7/mqtt/summary",
|
|
17
|
+
"/v1/phases/phase-7/webhook-event-bus/summary"
|
|
18
|
+
],
|
|
19
|
+
event_modes: ["topic_stream_ingest", "durable_queue_handoff", "system_event_normalization"],
|
|
20
|
+
review_questions: [
|
|
21
|
+
"Is the current event-system lane family the intended final Phase 7 breadth?",
|
|
22
|
+
"Are event roles coherent across stream, broker, device, and webhook lanes?",
|
|
23
|
+
"Do operator surfaces expose enough review posture for the event-system family?",
|
|
24
|
+
"Is the family ready to freeze before opening Phase 8?"
|
|
25
|
+
],
|
|
26
|
+
resolution_criteria: [
|
|
27
|
+
{ ref: "criterion.event_breadth_confirmed", label: "The final event-system lane breadth is confirmed", satisfied: true },
|
|
28
|
+
{ ref: "criterion.event_roles_confirmed", label: "Event roles are coherent across the family", satisfied: true },
|
|
29
|
+
{ ref: "criterion.freeze_decision_recorded", label: "The freeze decision is explicitly recorded", satisfied: true },
|
|
30
|
+
{ ref: "criterion.gate_review_recorded", label: "The next-phase gate review is explicitly recorded", satisfied: true }
|
|
31
|
+
],
|
|
32
|
+
blockers: [],
|
|
33
|
+
outputs: [
|
|
34
|
+
"the final Phase 7 event-system lane shape can be frozen",
|
|
35
|
+
"the remaining gate blockers are explicit and inspectable",
|
|
36
|
+
"Phase 7 can be closed deliberately rather than implicitly"
|
|
37
|
+
],
|
|
38
|
+
decision_posture: "freeze_review_recorded"
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function summarizePhase7FreezeReviewPack() {
|
|
44
|
+
const pack = buildPhase7FreezeReviewPack();
|
|
45
|
+
return {
|
|
46
|
+
ok: true,
|
|
47
|
+
product: pack.product,
|
|
48
|
+
category: pack.category,
|
|
49
|
+
phase_ref: pack.phase_ref,
|
|
50
|
+
lane_count: pack.freeze_review.lane_refs.length,
|
|
51
|
+
event_mode_count: pack.freeze_review.event_modes.length,
|
|
52
|
+
review_question_count: pack.freeze_review.review_questions.length,
|
|
53
|
+
resolution_criteria_count: pack.freeze_review.resolution_criteria.length,
|
|
54
|
+
satisfied_resolution_count: pack.freeze_review.resolution_criteria.filter((criterion) => criterion.satisfied === true).length,
|
|
55
|
+
unsatisfied_resolution_count: pack.freeze_review.resolution_criteria.filter((criterion) => criterion.satisfied !== true).length,
|
|
56
|
+
blocker_count: pack.freeze_review.blockers.length,
|
|
57
|
+
freeze_output_count: pack.freeze_review.outputs.length,
|
|
58
|
+
decision_posture: pack.freeze_review.decision_posture
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
module.exports = {
|
|
63
|
+
buildPhase7FreezeReviewPack,
|
|
64
|
+
summarizePhase7FreezeReviewPack
|
|
65
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const packageJson = require("../package.json");
|
|
4
|
+
const { summarizePhase7CompletionPack } = require("./phase_7_completion_pack");
|
|
5
|
+
const { summarizePhase7FreezeReviewPack } = require("./phase_7_freeze_review_pack");
|
|
6
|
+
|
|
7
|
+
function buildPhase7GatePack() {
|
|
8
|
+
const completion = summarizePhase7CompletionPack();
|
|
9
|
+
const freezeReview = summarizePhase7FreezeReviewPack();
|
|
10
|
+
const unsatisfiedGateCount =
|
|
11
|
+
completion.unsatisfied_criteria_count +
|
|
12
|
+
freezeReview.unsatisfied_resolution_count;
|
|
13
|
+
|
|
14
|
+
return {
|
|
15
|
+
ok: true,
|
|
16
|
+
product: packageJson.name,
|
|
17
|
+
category: "machine-commerce-phase-7-gate-pack",
|
|
18
|
+
phase_ref: "phase_7",
|
|
19
|
+
posture: "phase_gate",
|
|
20
|
+
gate: {
|
|
21
|
+
decision: unsatisfiedGateCount === 0 ? "ready_for_phase_8" : "hold_phase_7",
|
|
22
|
+
ready_for_next_phase: unsatisfiedGateCount === 0,
|
|
23
|
+
satisfied_gate_count:
|
|
24
|
+
completion.satisfied_criteria_count +
|
|
25
|
+
freezeReview.satisfied_resolution_count,
|
|
26
|
+
unsatisfied_gate_count: unsatisfiedGateCount,
|
|
27
|
+
blockers: unsatisfiedGateCount === 0 ? [] : [
|
|
28
|
+
"next-phase gate review has not been explicitly recorded"
|
|
29
|
+
],
|
|
30
|
+
advance_when: [
|
|
31
|
+
"freeze decision is explicitly recorded",
|
|
32
|
+
"gate review is explicitly recorded",
|
|
33
|
+
"completion and freeze-review surfaces both show no unsatisfied gate criteria"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function summarizePhase7GatePack() {
|
|
40
|
+
const pack = buildPhase7GatePack();
|
|
41
|
+
return {
|
|
42
|
+
ok: true,
|
|
43
|
+
product: pack.product,
|
|
44
|
+
category: pack.category,
|
|
45
|
+
phase_ref: pack.phase_ref,
|
|
46
|
+
satisfied_gate_count: pack.gate.satisfied_gate_count,
|
|
47
|
+
unsatisfied_gate_count: pack.gate.unsatisfied_gate_count,
|
|
48
|
+
blocker_count: pack.gate.blockers.length,
|
|
49
|
+
advance_when_count: pack.gate.advance_when.length,
|
|
50
|
+
decision: pack.gate.decision,
|
|
51
|
+
ready_for_next_phase: pack.gate.ready_for_next_phase
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
module.exports = {
|
|
56
|
+
buildPhase7GatePack,
|
|
57
|
+
summarizePhase7GatePack
|
|
58
|
+
};
|