@vibecodetown/mcp-server 1.3.1
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/CONTRIBUTING.md +294 -0
- package/README.md +146 -0
- package/bin/clinic_linux_x64/clinic +0 -0
- package/bin/clinic_win_x64/clinic.exe +0 -0
- package/bin/musu-linux-x64 +0 -0
- package/bin/spec-high_linux_x64/spec-high +0 -0
- package/bin/spec-high_win_x64/spec-high.exe +0 -0
- package/bin/vibecoding-helper_linux_x64/vibecoding-helper +0 -0
- package/bin/vibecoding-helper_win_x64/vibecoding-helper.exe +0 -0
- package/bin/vpm-back_linux_x64/vpm-back +0 -0
- package/bin/vpm-back_win_x64/vpm-back.exe +0 -0
- package/build/background-sync-worker.d.ts +55 -0
- package/build/background-sync-worker.js +172 -0
- package/build/bin/vibe-auth.d.ts +12 -0
- package/build/bin/vibe-auth.js +246 -0
- package/build/bin/vibe-bitnet-worker.d.ts +21 -0
- package/build/bin/vibe-bitnet-worker.js +123 -0
- package/build/bin/vibe-ci.d.ts +15 -0
- package/build/bin/vibe-ci.js +1558 -0
- package/build/bin/vibe-dashboard.d.ts +12 -0
- package/build/bin/vibe-dashboard.js +76 -0
- package/build/bin/vibe-mapper-worker.d.ts +15 -0
- package/build/bin/vibe-mapper-worker.js +92 -0
- package/build/bitnet-worker/autostart.d.ts +39 -0
- package/build/bitnet-worker/autostart.js +110 -0
- package/build/bitnet-worker/client.d.ts +177 -0
- package/build/bitnet-worker/client.js +393 -0
- package/build/bitnet-worker/cpu_brake.d.ts +106 -0
- package/build/bitnet-worker/cpu_brake.js +177 -0
- package/build/bitnet-worker/embed_client.d.ts +31 -0
- package/build/bitnet-worker/embed_client.js +109 -0
- package/build/bitnet-worker/hw_slots.d.ts +90 -0
- package/build/bitnet-worker/hw_slots.js +167 -0
- package/build/bitnet-worker/index.d.ts +24 -0
- package/build/bitnet-worker/index.js +27 -0
- package/build/bitnet-worker/metrics.d.ts +78 -0
- package/build/bitnet-worker/metrics.js +129 -0
- package/build/bitnet-worker/native_inference.d.ts +86 -0
- package/build/bitnet-worker/native_inference.js +256 -0
- package/build/bitnet-worker/pool-autostart.d.ts +41 -0
- package/build/bitnet-worker/pool-autostart.js +124 -0
- package/build/bitnet-worker/request_cache.d.ts +41 -0
- package/build/bitnet-worker/request_cache.js +101 -0
- package/build/bitnet-worker/serial_queue.d.ts +13 -0
- package/build/bitnet-worker/serial_queue.js +22 -0
- package/build/bitnet-worker/server-autostart.d.ts +48 -0
- package/build/bitnet-worker/server-autostart.js +129 -0
- package/build/bitnet-worker/server.d.ts +76 -0
- package/build/bitnet-worker/server.js +545 -0
- package/build/bitnet-worker/server_manager.d.ts +133 -0
- package/build/bitnet-worker/server_manager.js +359 -0
- package/build/bitnet-worker/tiered_queue.d.ts +126 -0
- package/build/bitnet-worker/tiered_queue.js +187 -0
- package/build/bitnet-worker/types.d.ts +196 -0
- package/build/bitnet-worker/types.js +146 -0
- package/build/config/load-config.d.ts +40 -0
- package/build/config/load-config.js +227 -0
- package/build/coordinator/client.d.ts +99 -0
- package/build/coordinator/client.js +158 -0
- package/build/coordinator/index.d.ts +27 -0
- package/build/coordinator/index.js +31 -0
- package/build/correction-messages.d.ts +66 -0
- package/build/correction-messages.js +245 -0
- package/build/dashboard/autostart.d.ts +45 -0
- package/build/dashboard/autostart.js +121 -0
- package/build/dashboard/index.d.ts +21 -0
- package/build/dashboard/index.js +23 -0
- package/build/dashboard/server.d.ts +43 -0
- package/build/dashboard/server.js +334 -0
- package/build/db_sync/config.d.ts +76 -0
- package/build/db_sync/config.js +153 -0
- package/build/db_sync/index.d.ts +86 -0
- package/build/db_sync/index.js +294 -0
- package/build/db_sync/parsers/bitnet.d.ts +20 -0
- package/build/db_sync/parsers/bitnet.js +61 -0
- package/build/db_sync/parsers/gate.d.ts +23 -0
- package/build/db_sync/parsers/gate.js +73 -0
- package/build/db_sync/parsers/index.d.ts +10 -0
- package/build/db_sync/parsers/index.js +10 -0
- package/build/db_sync/parsers/ingress.d.ts +22 -0
- package/build/db_sync/parsers/ingress.js +57 -0
- package/build/db_sync/parsers/mapping.d.ts +22 -0
- package/build/db_sync/parsers/mapping.js +57 -0
- package/build/db_sync/parsers/orchestrator.d.ts +66 -0
- package/build/db_sync/parsers/orchestrator.js +110 -0
- package/build/db_sync/pool.d.ts +120 -0
- package/build/db_sync/pool.js +225 -0
- package/build/db_sync/publish.d.ts +125 -0
- package/build/db_sync/publish.js +197 -0
- package/build/db_sync/read_model.d.ts +54 -0
- package/build/db_sync/read_model.js +254 -0
- package/build/db_sync/scanner.d.ts +97 -0
- package/build/db_sync/scanner.js +287 -0
- package/build/db_sync/types.d.ts +254 -0
- package/build/db_sync/types.js +76 -0
- package/build/db_sync/writer.d.ts +111 -0
- package/build/db_sync/writer.js +377 -0
- package/build/decision-log-reader.d.ts +38 -0
- package/build/decision-log-reader.js +116 -0
- package/build/deep-link.d.ts +97 -0
- package/build/deep-link.js +176 -0
- package/build/deps/deps-update.d.ts +36 -0
- package/build/deps/deps-update.js +324 -0
- package/build/deps/drift-check.d.ts +35 -0
- package/build/deps/drift-check.js +247 -0
- package/build/deps/env-check.d.ts +43 -0
- package/build/deps/env-check.js +310 -0
- package/build/deps/index.d.ts +16 -0
- package/build/deps/index.js +22 -0
- package/build/deps/pm-detect.d.ts +56 -0
- package/build/deps/pm-detect.js +213 -0
- package/build/deps/types.d.ts +84 -0
- package/build/deps/types.js +4 -0
- package/build/deps/ux-renderer.d.ts +102 -0
- package/build/deps/ux-renderer.js +410 -0
- package/build/evidence-report.d.ts +152 -0
- package/build/evidence-report.js +648 -0
- package/build/health/index.d.ts +30 -0
- package/build/health/index.js +31 -0
- package/build/health/liveness.d.ts +32 -0
- package/build/health/liveness.js +49 -0
- package/build/health/readiness.d.ts +60 -0
- package/build/health/readiness.js +136 -0
- package/build/health/types.d.ts +75 -0
- package/build/health/types.js +31 -0
- package/build/index.d.ts +41 -0
- package/build/index.js +131 -0
- package/build/license-manager.d.ts +85 -0
- package/build/license-manager.js +349 -0
- package/build/mapper-worker/client.d.ts +92 -0
- package/build/mapper-worker/client.js +360 -0
- package/build/mapper-worker/index.d.ts +29 -0
- package/build/mapper-worker/index.js +33 -0
- package/build/mapper-worker/pool.d.ts +24 -0
- package/build/mapper-worker/pool.js +301 -0
- package/build/mapper-worker/server.d.ts +49 -0
- package/build/mapper-worker/server.js +324 -0
- package/build/mapper-worker/types.d.ts +215 -0
- package/build/mapper-worker/types.js +106 -0
- package/build/mcp/a2a/observer/hooks.d.ts +102 -0
- package/build/mcp/a2a/observer/hooks.js +207 -0
- package/build/mcp/a2a/observer/logger.d.ts +66 -0
- package/build/mcp/a2a/observer/logger.js +300 -0
- package/build/mcp/a2a/observer/types.d.ts +92 -0
- package/build/mcp/a2a/observer/types.js +11 -0
- package/build/mcp/a2a/orchestrator/loop.d.ts +84 -0
- package/build/mcp/a2a/orchestrator/loop.js +151 -0
- package/build/mcp/a2a/orchestrator/ralph-audit.d.ts +66 -0
- package/build/mcp/a2a/orchestrator/ralph-audit.js +113 -0
- package/build/mcp/a2a/orchestrator/ralph-runner.d.ts +120 -0
- package/build/mcp/a2a/orchestrator/ralph-runner.js +365 -0
- package/build/mcp/a2a/orchestrator/rewind-actions.d.ts +38 -0
- package/build/mcp/a2a/orchestrator/rewind-actions.js +148 -0
- package/build/mcp/a2a/types.d.ts +82 -0
- package/build/mcp/a2a/types.js +4 -0
- package/build/mcp/airlock/airlock.d.ts +2 -0
- package/build/mcp/airlock/airlock.js +34 -0
- package/build/mcp/airlock/index.d.ts +5 -0
- package/build/mcp/airlock/index.js +5 -0
- package/build/mcp/airlock/policy.d.ts +14 -0
- package/build/mcp/airlock/policy.js +31 -0
- package/build/mcp/airlock/redact.d.ts +11 -0
- package/build/mcp/airlock/redact.js +69 -0
- package/build/mcp/airlock/report.d.ts +14 -0
- package/build/mcp/airlock/report.js +53 -0
- package/build/mcp/airlock/types.d.ts +66 -0
- package/build/mcp/airlock/types.js +1 -0
- package/build/mcp/auth/gate.d.ts +51 -0
- package/build/mcp/auth/gate.js +225 -0
- package/build/mcp/auth/index.d.ts +32 -0
- package/build/mcp/auth/index.js +55 -0
- package/build/mcp/auth/public_key.d.ts +31 -0
- package/build/mcp/auth/public_key.js +34 -0
- package/build/mcp/auth/token_cache.d.ts +49 -0
- package/build/mcp/auth/token_cache.js +122 -0
- package/build/mcp/auth/token_verifier.d.ts +57 -0
- package/build/mcp/auth/token_verifier.js +117 -0
- package/build/mcp/bootstrap/doctor.d.ts +75 -0
- package/build/mcp/bootstrap/doctor.js +223 -0
- package/build/mcp/bootstrap/installer.d.ts +73 -0
- package/build/mcp/bootstrap/installer.js +993 -0
- package/build/mcp/bootstrap/lock.d.ts +5 -0
- package/build/mcp/bootstrap/lock.js +37 -0
- package/build/mcp/bootstrap/platform.d.ts +9 -0
- package/build/mcp/bootstrap/platform.js +26 -0
- package/build/mcp/bootstrap/registry.d.ts +46 -0
- package/build/mcp/bootstrap/registry.js +49 -0
- package/build/mcp/bootstrap/skills-installer.d.ts +154 -0
- package/build/mcp/bootstrap/skills-installer.js +610 -0
- package/build/mcp/cache/index.d.ts +77 -0
- package/build/mcp/cache/index.js +147 -0
- package/build/mcp/chunking/artifacts.d.ts +9 -0
- package/build/mcp/chunking/artifacts.js +41 -0
- package/build/mcp/chunking/chunking.d.ts +10 -0
- package/build/mcp/chunking/chunking.js +193 -0
- package/build/mcp/chunking/index.d.ts +4 -0
- package/build/mcp/chunking/index.js +4 -0
- package/build/mcp/chunking/policy.d.ts +27 -0
- package/build/mcp/chunking/policy.js +71 -0
- package/build/mcp/chunking/types.d.ts +66 -0
- package/build/mcp/chunking/types.js +1 -0
- package/build/mcp/cli.d.ts +57 -0
- package/build/mcp/cli.js +182 -0
- package/build/mcp/cockpit-bridge/client.d.ts +84 -0
- package/build/mcp/cockpit-bridge/client.js +78 -0
- package/build/mcp/cockpit-bridge/index.d.ts +16 -0
- package/build/mcp/cockpit-bridge/index.js +20 -0
- package/build/mcp/cockpit-bridge/tools/command.d.ts +101 -0
- package/build/mcp/cockpit-bridge/tools/command.js +185 -0
- package/build/mcp/cockpit-bridge/tools/decide.d.ts +27 -0
- package/build/mcp/cockpit-bridge/tools/decide.js +62 -0
- package/build/mcp/cockpit-bridge/tools/index.d.ts +17 -0
- package/build/mcp/cockpit-bridge/tools/index.js +28 -0
- package/build/mcp/cockpit-bridge/tools/manual.d.ts +26 -0
- package/build/mcp/cockpit-bridge/tools/manual.js +56 -0
- package/build/mcp/cockpit-bridge/tools/prompt.d.ts +19 -0
- package/build/mcp/cockpit-bridge/tools/prompt.js +57 -0
- package/build/mcp/cockpit-bridge/tools/status.d.ts +19 -0
- package/build/mcp/cockpit-bridge/tools/status.js +50 -0
- package/build/mcp/contracts.d.ts +609 -0
- package/build/mcp/contracts.js +22 -0
- package/build/mcp/engine.d.ts +86 -0
- package/build/mcp/engine.js +273 -0
- package/build/mcp/errors.d.ts +118 -0
- package/build/mcp/errors.js +278 -0
- package/build/mcp/events/constants.d.ts +31 -0
- package/build/mcp/events/constants.js +44 -0
- package/build/mcp/events/dedup_cooldown.d.ts +19 -0
- package/build/mcp/events/dedup_cooldown.js +51 -0
- package/build/mcp/events/emitter.d.ts +12 -0
- package/build/mcp/events/emitter.js +27 -0
- package/build/mcp/events/event_loop.d.ts +13 -0
- package/build/mcp/events/event_loop.js +248 -0
- package/build/mcp/events/file_watcher.d.ts +8 -0
- package/build/mcp/events/file_watcher.js +24 -0
- package/build/mcp/events/index.d.ts +11 -0
- package/build/mcp/events/index.js +11 -0
- package/build/mcp/events/logger.d.ts +8 -0
- package/build/mcp/events/logger.js +38 -0
- package/build/mcp/events/mq.d.ts +10 -0
- package/build/mcp/events/mq.js +22 -0
- package/build/mcp/events/mq_nats.d.ts +5 -0
- package/build/mcp/events/mq_nats.js +20 -0
- package/build/mcp/events/mq_redis.d.ts +5 -0
- package/build/mcp/events/mq_redis.js +20 -0
- package/build/mcp/events/nav_refresh.d.ts +14 -0
- package/build/mcp/events/nav_refresh.js +64 -0
- package/build/mcp/events/processor.d.ts +19 -0
- package/build/mcp/events/processor.js +76 -0
- package/build/mcp/events/replay.d.ts +6 -0
- package/build/mcp/events/replay.js +27 -0
- package/build/mcp/events/types.d.ts +32 -0
- package/build/mcp/events/types.js +18 -0
- package/build/mcp/generated/activate_input.d.ts +15 -0
- package/build/mcp/generated/activate_input.js +2 -0
- package/build/mcp/generated/activate_output.d.ts +36 -0
- package/build/mcp/generated/activate_output.js +57 -0
- package/build/mcp/generated/advisory_review_input.d.ts +42 -0
- package/build/mcp/generated/advisory_review_input.js +2 -0
- package/build/mcp/generated/advisory_review_output.d.ts +3 -0
- package/build/mcp/generated/advisory_review_output.js +35 -0
- package/build/mcp/generated/auth_token_file.d.ts +79 -0
- package/build/mcp/generated/auth_token_file.js +2 -0
- package/build/mcp/generated/autopilot_policy.d.ts +133 -0
- package/build/mcp/generated/autopilot_policy.js +77 -0
- package/build/mcp/generated/bitnet_signal.d.ts +146 -0
- package/build/mcp/generated/bitnet_signal.js +71 -0
- package/build/mcp/generated/bridge_build_seed_input.d.ts +65 -0
- package/build/mcp/generated/bridge_build_seed_input.js +2 -0
- package/build/mcp/generated/bridge_build_seed_output.d.ts +36 -0
- package/build/mcp/generated/bridge_build_seed_output.js +2 -0
- package/build/mcp/generated/bridge_confirm_reference_input.d.ts +30 -0
- package/build/mcp/generated/bridge_confirm_reference_input.js +2 -0
- package/build/mcp/generated/bridge_confirm_reference_output.d.ts +59 -0
- package/build/mcp/generated/bridge_confirm_reference_output.js +2 -0
- package/build/mcp/generated/bridge_confirmed_reference_file.d.ts +74 -0
- package/build/mcp/generated/bridge_confirmed_reference_file.js +2 -0
- package/build/mcp/generated/bridge_generate_references_input.d.ts +66 -0
- package/build/mcp/generated/bridge_generate_references_input.js +2 -0
- package/build/mcp/generated/bridge_generate_references_output.d.ts +62 -0
- package/build/mcp/generated/bridge_generate_references_output.js +2 -0
- package/build/mcp/generated/bridge_references_file.d.ts +141 -0
- package/build/mcp/generated/bridge_references_file.js +2 -0
- package/build/mcp/generated/bridge_work_order_seed_file.d.ts +120 -0
- package/build/mcp/generated/bridge_work_order_seed_file.js +2 -0
- package/build/mcp/generated/briefing_input.d.ts +15 -0
- package/build/mcp/generated/briefing_input.js +2 -0
- package/build/mcp/generated/briefing_output.d.ts +58 -0
- package/build/mcp/generated/briefing_output.js +2 -0
- package/build/mcp/generated/clinic_bridge_file.d.ts +3 -0
- package/build/mcp/generated/clinic_bridge_file.js +13 -0
- package/build/mcp/generated/contracts_bundle_info.d.ts +3 -0
- package/build/mcp/generated/contracts_bundle_info.js +5 -0
- package/build/mcp/generated/create_work_order_input.d.ts +12 -0
- package/build/mcp/generated/create_work_order_input.js +2 -0
- package/build/mcp/generated/create_work_order_output.d.ts +214 -0
- package/build/mcp/generated/create_work_order_output.js +2 -0
- package/build/mcp/generated/current_work_order_file.d.ts +39 -0
- package/build/mcp/generated/current_work_order_file.js +2 -0
- package/build/mcp/generated/deps_drift_report.d.ts +167 -0
- package/build/mcp/generated/deps_drift_report.js +33 -0
- package/build/mcp/generated/deps_scan.d.ts +207 -0
- package/build/mcp/generated/deps_scan.js +38 -0
- package/build/mcp/generated/doctor_input.d.ts +9 -0
- package/build/mcp/generated/doctor_input.js +2 -0
- package/build/mcp/generated/doctor_output.d.ts +217 -0
- package/build/mcp/generated/doctor_output.js +24 -0
- package/build/mcp/generated/execution_result.d.ts +116 -0
- package/build/mcp/generated/execution_result.js +2 -0
- package/build/mcp/generated/execution_task.d.ts +136 -0
- package/build/mcp/generated/execution_task.js +2 -0
- package/build/mcp/generated/export_output_input.d.ts +42 -0
- package/build/mcp/generated/export_output_input.js +2 -0
- package/build/mcp/generated/export_output_output.d.ts +71 -0
- package/build/mcp/generated/export_output_output.js +2 -0
- package/build/mcp/generated/finalize_work_input.d.ts +68 -0
- package/build/mcp/generated/finalize_work_input.js +2 -0
- package/build/mcp/generated/finalize_work_output.d.ts +42 -0
- package/build/mcp/generated/finalize_work_output.js +2 -0
- package/build/mcp/generated/gate_input.d.ts +158 -0
- package/build/mcp/generated/gate_input.js +2 -0
- package/build/mcp/generated/gate_output.d.ts +131 -0
- package/build/mcp/generated/gate_output.js +2 -0
- package/build/mcp/generated/gate_result_v1.d.ts +131 -0
- package/build/mcp/generated/gate_result_v1.js +2 -0
- package/build/mcp/generated/get_decision_input.d.ts +15 -0
- package/build/mcp/generated/get_decision_input.js +6 -0
- package/build/mcp/generated/get_decision_output.d.ts +68 -0
- package/build/mcp/generated/get_decision_output.js +13 -0
- package/build/mcp/generated/get_semantic_complexity_input.d.ts +21 -0
- package/build/mcp/generated/get_semantic_complexity_input.js +2 -0
- package/build/mcp/generated/get_semantic_complexity_output.d.ts +161 -0
- package/build/mcp/generated/get_semantic_complexity_output.js +2 -0
- package/build/mcp/generated/handoff_to_clinic.d.ts +15 -0
- package/build/mcp/generated/handoff_to_clinic.js +2 -0
- package/build/mcp/generated/index.d.ts +106 -0
- package/build/mcp/generated/index.js +108 -0
- package/build/mcp/generated/ingress_input.d.ts +30 -0
- package/build/mcp/generated/ingress_input.js +11 -0
- package/build/mcp/generated/ingress_output.d.ts +136 -0
- package/build/mcp/generated/ingress_output.js +2 -0
- package/build/mcp/generated/ingress_resolution_file.d.ts +33 -0
- package/build/mcp/generated/ingress_resolution_file.js +2 -0
- package/build/mcp/generated/ingress_summary_file.d.ts +130 -0
- package/build/mcp/generated/ingress_summary_file.js +2 -0
- package/build/mcp/generated/inspect_code_input.d.ts +47 -0
- package/build/mcp/generated/inspect_code_input.js +2 -0
- package/build/mcp/generated/inspect_code_output.d.ts +164 -0
- package/build/mcp/generated/inspect_code_output.js +13 -0
- package/build/mcp/generated/memory_retrieve_input.d.ts +21 -0
- package/build/mcp/generated/memory_retrieve_input.js +2 -0
- package/build/mcp/generated/memory_retrieve_output.d.ts +18 -0
- package/build/mcp/generated/memory_retrieve_output.js +2 -0
- package/build/mcp/generated/memory_state_file.d.ts +46 -0
- package/build/mcp/generated/memory_state_file.js +2 -0
- package/build/mcp/generated/memory_status_input.d.ts +15 -0
- package/build/mcp/generated/memory_status_input.js +2 -0
- package/build/mcp/generated/memory_status_output.d.ts +79 -0
- package/build/mcp/generated/memory_status_output.js +13 -0
- package/build/mcp/generated/memory_sync_input.d.ts +18 -0
- package/build/mcp/generated/memory_sync_input.js +2 -0
- package/build/mcp/generated/memory_sync_output.d.ts +66 -0
- package/build/mcp/generated/memory_sync_output.js +13 -0
- package/build/mcp/generated/message_template_id_mapping_file.d.ts +132 -0
- package/build/mcp/generated/message_template_id_mapping_file.js +2 -0
- package/build/mcp/generated/observer_event_map.d.ts +198 -0
- package/build/mcp/generated/observer_event_map.js +74 -0
- package/build/mcp/generated/ose_expand_input.d.ts +48 -0
- package/build/mcp/generated/ose_expand_input.js +2 -0
- package/build/mcp/generated/ose_expand_output.d.ts +45 -0
- package/build/mcp/generated/ose_expand_output.js +2 -0
- package/build/mcp/generated/oss_candidates_file.d.ts +132 -0
- package/build/mcp/generated/oss_candidates_file.js +2 -0
- package/build/mcp/generated/oss_decisions_file.d.ts +125 -0
- package/build/mcp/generated/oss_decisions_file.js +2 -0
- package/build/mcp/generated/oss_snippets_file.d.ts +117 -0
- package/build/mcp/generated/oss_snippets_file.js +2 -0
- package/build/mcp/generated/plugin_result.d.ts +43 -0
- package/build/mcp/generated/plugin_result.js +2 -0
- package/build/mcp/generated/react_perf_check_patterns_input.d.ts +15 -0
- package/build/mcp/generated/react_perf_check_patterns_input.js +2 -0
- package/build/mcp/generated/react_perf_check_patterns_output.d.ts +102 -0
- package/build/mcp/generated/react_perf_check_patterns_output.js +2 -0
- package/build/mcp/generated/react_perf_generate_report_input.d.ts +18 -0
- package/build/mcp/generated/react_perf_generate_report_input.js +2 -0
- package/build/mcp/generated/react_perf_generate_report_output.d.ts +76 -0
- package/build/mcp/generated/react_perf_generate_report_output.js +2 -0
- package/build/mcp/generated/read_file_input.d.ts +21 -0
- package/build/mcp/generated/read_file_input.js +2 -0
- package/build/mcp/generated/read_file_output.d.ts +119 -0
- package/build/mcp/generated/read_file_output.js +2 -0
- package/build/mcp/generated/repair_analysis_engine_input.d.ts +21 -0
- package/build/mcp/generated/repair_analysis_engine_input.js +2 -0
- package/build/mcp/generated/repair_analysis_engine_output.d.ts +45 -0
- package/build/mcp/generated/repair_analysis_engine_output.js +2 -0
- package/build/mcp/generated/repair_plan_input.d.ts +12 -0
- package/build/mcp/generated/repair_plan_input.js +2 -0
- package/build/mcp/generated/repair_plan_output.d.ts +48 -0
- package/build/mcp/generated/repair_plan_output.js +2 -0
- package/build/mcp/generated/run_app_input.d.ts +50 -0
- package/build/mcp/generated/run_app_input.js +2 -0
- package/build/mcp/generated/run_app_output.d.ts +27 -0
- package/build/mcp/generated/run_app_output.js +2 -0
- package/build/mcp/generated/run_state_file.d.ts +3 -0
- package/build/mcp/generated/run_state_file.js +13 -0
- package/build/mcp/generated/scaffold_input.d.ts +15 -0
- package/build/mcp/generated/scaffold_input.js +2 -0
- package/build/mcp/generated/scaffold_output.d.ts +39 -0
- package/build/mcp/generated/scaffold_output.js +2 -0
- package/build/mcp/generated/search_oss_input.d.ts +59 -0
- package/build/mcp/generated/search_oss_input.js +2 -0
- package/build/mcp/generated/search_oss_output.d.ts +88 -0
- package/build/mcp/generated/search_oss_output.js +2 -0
- package/build/mcp/generated/selection_validation_result.d.ts +358 -0
- package/build/mcp/generated/selection_validation_result.js +2 -0
- package/build/mcp/generated/signal_agent_input.d.ts +101 -0
- package/build/mcp/generated/signal_agent_input.js +2 -0
- package/build/mcp/generated/skillpack_file.d.ts +825 -0
- package/build/mcp/generated/skillpack_file.js +102 -0
- package/build/mcp/generated/skills_input.d.ts +30 -0
- package/build/mcp/generated/skills_input.js +11 -0
- package/build/mcp/generated/skills_output.d.ts +349 -0
- package/build/mcp/generated/skills_output.js +52 -0
- package/build/mcp/generated/spec_expansion_file.d.ts +282 -0
- package/build/mcp/generated/spec_expansion_file.js +2 -0
- package/build/mcp/generated/spec_high_ask_queue_items_file.d.ts +247 -0
- package/build/mcp/generated/spec_high_ask_queue_items_file.js +2 -0
- package/build/mcp/generated/spec_high_clinic_bridge_output.d.ts +15 -0
- package/build/mcp/generated/spec_high_clinic_bridge_output.js +2 -0
- package/build/mcp/generated/spec_high_decision_draft_output.d.ts +40 -0
- package/build/mcp/generated/spec_high_decision_draft_output.js +2 -0
- package/build/mcp/generated/spec_high_validate_output.d.ts +24 -0
- package/build/mcp/generated/spec_high_validate_output.js +2 -0
- package/build/mcp/generated/status_input.d.ts +12 -0
- package/build/mcp/generated/status_input.js +5 -0
- package/build/mcp/generated/status_output.d.ts +919 -0
- package/build/mcp/generated/status_output.js +188 -0
- package/build/mcp/generated/submit_decision_input.d.ts +18 -0
- package/build/mcp/generated/submit_decision_input.js +2 -0
- package/build/mcp/generated/submit_decision_output.d.ts +53 -0
- package/build/mcp/generated/submit_decision_output.js +2 -0
- package/build/mcp/generated/tool_error_output.d.ts +80 -0
- package/build/mcp/generated/tool_error_output.js +26 -0
- package/build/mcp/generated/undo_last_task_input.d.ts +12 -0
- package/build/mcp/generated/undo_last_task_input.js +2 -0
- package/build/mcp/generated/undo_last_task_output.d.ts +38 -0
- package/build/mcp/generated/undo_last_task_output.js +2 -0
- package/build/mcp/generated/update_input.d.ts +18 -0
- package/build/mcp/generated/update_input.js +2 -0
- package/build/mcp/generated/update_output.d.ts +124 -0
- package/build/mcp/generated/update_output.js +2 -0
- package/build/mcp/generated/verification_steps.d.ts +249 -0
- package/build/mcp/generated/verification_steps.js +34 -0
- package/build/mcp/generated/vibe_pm_inspection_result.d.ts +68 -0
- package/build/mcp/generated/vibe_pm_inspection_result.js +2 -0
- package/build/mcp/generated/vibe_pm_report_markdown.d.ts +15 -0
- package/build/mcp/generated/vibe_pm_report_markdown.js +2 -0
- package/build/mcp/generated/vibe_pm_verdict.d.ts +15 -0
- package/build/mcp/generated/vibe_pm_verdict.js +2 -0
- package/build/mcp/generated/vibe_repo_config.d.ts +214 -0
- package/build/mcp/generated/vibe_repo_config.js +2 -0
- package/build/mcp/generated/vibecoding_helper_answer_output.d.ts +18 -0
- package/build/mcp/generated/vibecoding_helper_answer_output.js +2 -0
- package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.d.ts +115 -0
- package/build/mcp/generated/vibecoding_helper_one_loop_selection_output.js +2 -0
- package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.d.ts +230 -0
- package/build/mcp/generated/vibecoding_helper_show_ask_queue_output.js +2 -0
- package/build/mcp/generated/work_order_v1.d.ts +89 -0
- package/build/mcp/generated/work_order_v1.js +2 -0
- package/build/mcp/generated/zoekt_evidence_input.d.ts +27 -0
- package/build/mcp/generated/zoekt_evidence_input.js +2 -0
- package/build/mcp/generated/zoekt_evidence_output.d.ts +70 -0
- package/build/mcp/generated/zoekt_evidence_output.js +2 -0
- package/build/mcp/index.d.ts +2 -0
- package/build/mcp/index.js +187 -0
- package/build/mcp/legacy_alias.d.ts +29 -0
- package/build/mcp/legacy_alias.js +53 -0
- package/build/mcp/metrics/collector.d.ts +23 -0
- package/build/mcp/metrics/collector.js +270 -0
- package/build/mcp/metrics/index.d.ts +8 -0
- package/build/mcp/metrics/index.js +6 -0
- package/build/mcp/metrics/server.d.ts +39 -0
- package/build/mcp/metrics/server.js +129 -0
- package/build/mcp/metrics/types.d.ts +105 -0
- package/build/mcp/metrics/types.js +46 -0
- package/build/mcp/path-utils.d.ts +34 -0
- package/build/mcp/path-utils.js +68 -0
- package/build/mcp/paths.d.ts +29 -0
- package/build/mcp/paths.js +90 -0
- package/build/mcp/policy/index.d.ts +2 -0
- package/build/mcp/policy/index.js +2 -0
- package/build/mcp/policy/loader.d.ts +18 -0
- package/build/mcp/policy/loader.js +46 -0
- package/build/mcp/policy/schema.d.ts +558 -0
- package/build/mcp/policy/schema.js +87 -0
- package/build/mcp/preprocess.d.ts +16 -0
- package/build/mcp/preprocess.js +64 -0
- package/build/mcp/profile-config.d.ts +87 -0
- package/build/mcp/profile-config.js +211 -0
- package/build/mcp/router/artifacts.d.ts +15 -0
- package/build/mcp/router/artifacts.js +30 -0
- package/build/mcp/router/decide.d.ts +2 -0
- package/build/mcp/router/decide.js +51 -0
- package/build/mcp/router/index.d.ts +4 -0
- package/build/mcp/router/index.js +4 -0
- package/build/mcp/router/rules.d.ts +14 -0
- package/build/mcp/router/rules.js +32 -0
- package/build/mcp/router/types.d.ts +32 -0
- package/build/mcp/router/types.js +1 -0
- package/build/mcp/run-retention.d.ts +15 -0
- package/build/mcp/run-retention.js +87 -0
- package/build/mcp/runtime/helper_commands.d.ts +205 -0
- package/build/mcp/runtime/helper_commands.js +198 -0
- package/build/mcp/runtime/helper_invoker.d.ts +48 -0
- package/build/mcp/runtime/helper_invoker.js +134 -0
- package/build/mcp/runtime/helper_resolver.d.ts +41 -0
- package/build/mcp/runtime/helper_resolver.js +148 -0
- package/build/mcp/runtime/index.d.ts +3 -0
- package/build/mcp/runtime/index.js +8 -0
- package/build/mcp/runtime/musu_adapter.d.ts +193 -0
- package/build/mcp/runtime/musu_adapter.js +373 -0
- package/build/mcp/security/input-validator.d.ts +76 -0
- package/build/mcp/security/input-validator.js +119 -0
- package/build/mcp/security/path-policy.d.ts +102 -0
- package/build/mcp/security/path-policy.js +289 -0
- package/build/mcp/security/sandbox.d.ts +55 -0
- package/build/mcp/security/sandbox.js +378 -0
- package/build/mcp/tool-registry.d.ts +26 -0
- package/build/mcp/tool-registry.js +136 -0
- package/build/mcp/tools/bitnet/index.d.ts +494 -0
- package/build/mcp/tools/bitnet/index.js +748 -0
- package/build/mcp/tools/vibe_pm/ask-queue/index.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/ask-queue/index.js +10 -0
- package/build/mcp/tools/vibe_pm/ask-queue/loader.d.ts +29 -0
- package/build/mcp/tools/vibe_pm/ask-queue/loader.js +137 -0
- package/build/mcp/tools/vibe_pm/ask-queue/transformer.d.ts +18 -0
- package/build/mcp/tools/vibe_pm/ask-queue/transformer.js +58 -0
- package/build/mcp/tools/vibe_pm/ask-queue/types.d.ts +75 -0
- package/build/mcp/tools/vibe_pm/ask-queue/types.js +16 -0
- package/build/mcp/tools/vibe_pm/auto-init.d.ts +41 -0
- package/build/mcp/tools/vibe_pm/auto-init.js +133 -0
- package/build/mcp/tools/vibe_pm/autopilot.d.ts +74 -0
- package/build/mcp/tools/vibe_pm/autopilot.js +334 -0
- package/build/mcp/tools/vibe_pm/bitnet-cache.d.ts +124 -0
- package/build/mcp/tools/vibe_pm/bitnet-cache.js +327 -0
- package/build/mcp/tools/vibe_pm/bitnet-ensure.d.ts +58 -0
- package/build/mcp/tools/vibe_pm/bitnet-ensure.js +204 -0
- package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.d.ts +87 -0
- package/build/mcp/tools/vibe_pm/bitnet-hook-consumer.js +323 -0
- package/build/mcp/tools/vibe_pm/bitnet-runner.d.ts +44 -0
- package/build/mcp/tools/vibe_pm/bitnet-runner.js +144 -0
- package/build/mcp/tools/vibe_pm/briefing.d.ts +15 -0
- package/build/mcp/tools/vibe_pm/briefing.js +165 -0
- package/build/mcp/tools/vibe_pm/context.d.ts +113 -0
- package/build/mcp/tools/vibe_pm/context.js +579 -0
- package/build/mcp/tools/vibe_pm/create_work_order.d.ts +15 -0
- package/build/mcp/tools/vibe_pm/create_work_order.js +252 -0
- package/build/mcp/tools/vibe_pm/dashboard.d.ts +64 -0
- package/build/mcp/tools/vibe_pm/dashboard.js +175 -0
- package/build/mcp/tools/vibe_pm/decision-log.d.ts +24 -0
- package/build/mcp/tools/vibe_pm/decision-log.js +38 -0
- package/build/mcp/tools/vibe_pm/diagrams/animator.d.ts +27 -0
- package/build/mcp/tools/vibe_pm/diagrams/animator.js +122 -0
- package/build/mcp/tools/vibe_pm/diagrams/constants.d.ts +71 -0
- package/build/mcp/tools/vibe_pm/diagrams/constants.js +158 -0
- package/build/mcp/tools/vibe_pm/diagrams/gate_engine.d.ts +67 -0
- package/build/mcp/tools/vibe_pm/diagrams/gate_engine.js +695 -0
- package/build/mcp/tools/vibe_pm/diagrams/generator.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/diagrams/generator.js +214 -0
- package/build/mcp/tools/vibe_pm/diagrams/index.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/diagrams/index.js +9 -0
- package/build/mcp/tools/vibe_pm/diagrams/manifest.d.ts +37 -0
- package/build/mcp/tools/vibe_pm/diagrams/manifest.js +151 -0
- package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.d.ts +70 -0
- package/build/mcp/tools/vibe_pm/diagrams/mermaid_generator.js +214 -0
- package/build/mcp/tools/vibe_pm/diagrams/renderer.d.ts +29 -0
- package/build/mcp/tools/vibe_pm/diagrams/renderer.js +207 -0
- package/build/mcp/tools/vibe_pm/diagrams/types.d.ts +66 -0
- package/build/mcp/tools/vibe_pm/diagrams/types.js +16 -0
- package/build/mcp/tools/vibe_pm/dirty-scan.d.ts +59 -0
- package/build/mcp/tools/vibe_pm/dirty-scan.js +242 -0
- package/build/mcp/tools/vibe_pm/docs_structure.d.ts +17 -0
- package/build/mcp/tools/vibe_pm/docs_structure.js +148 -0
- package/build/mcp/tools/vibe_pm/doctor.d.ts +65 -0
- package/build/mcp/tools/vibe_pm/doctor.js +244 -0
- package/build/mcp/tools/vibe_pm/engine-errors/index.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/engine-errors/index.js +10 -0
- package/build/mcp/tools/vibe_pm/engine-errors/normalizer.d.ts +35 -0
- package/build/mcp/tools/vibe_pm/engine-errors/normalizer.js +122 -0
- package/build/mcp/tools/vibe_pm/engine-errors/patterns.d.ts +26 -0
- package/build/mcp/tools/vibe_pm/engine-errors/patterns.js +111 -0
- package/build/mcp/tools/vibe_pm/engine-errors/types.d.ts +51 -0
- package/build/mcp/tools/vibe_pm/engine-errors/types.js +47 -0
- package/build/mcp/tools/vibe_pm/facts/collector.d.ts +35 -0
- package/build/mcp/tools/vibe_pm/facts/collector.js +285 -0
- package/build/mcp/tools/vibe_pm/facts/index.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/facts/index.js +8 -0
- package/build/mcp/tools/vibe_pm/facts/types.d.ts +94 -0
- package/build/mcp/tools/vibe_pm/facts/types.js +44 -0
- package/build/mcp/tools/vibe_pm/failure/classifier.d.ts +37 -0
- package/build/mcp/tools/vibe_pm/failure/classifier.js +134 -0
- package/build/mcp/tools/vibe_pm/failure/index.d.ts +11 -0
- package/build/mcp/tools/vibe_pm/failure/index.js +11 -0
- package/build/mcp/tools/vibe_pm/failure/loop_diagnose.d.ts +33 -0
- package/build/mcp/tools/vibe_pm/failure/loop_diagnose.js +232 -0
- package/build/mcp/tools/vibe_pm/failure/tracker.d.ts +66 -0
- package/build/mcp/tools/vibe_pm/failure/tracker.js +113 -0
- package/build/mcp/tools/vibe_pm/failure/types.d.ts +98 -0
- package/build/mcp/tools/vibe_pm/failure/types.js +17 -0
- package/build/mcp/tools/vibe_pm/feature-flags.d.ts +105 -0
- package/build/mcp/tools/vibe_pm/feature-flags.js +156 -0
- package/build/mcp/tools/vibe_pm/flow_policy.d.ts +66 -0
- package/build/mcp/tools/vibe_pm/flow_policy.js +253 -0
- package/build/mcp/tools/vibe_pm/get_decision.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/get_decision.js +122 -0
- package/build/mcp/tools/vibe_pm/get_result.d.ts +43 -0
- package/build/mcp/tools/vibe_pm/get_result.js +82 -0
- package/build/mcp/tools/vibe_pm/index.d.ts +499 -0
- package/build/mcp/tools/vibe_pm/index.js +837 -0
- package/build/mcp/tools/vibe_pm/ingress.d.ts +29 -0
- package/build/mcp/tools/vibe_pm/ingress.js +435 -0
- package/build/mcp/tools/vibe_pm/init_docs.d.ts +21 -0
- package/build/mcp/tools/vibe_pm/init_docs.js +38 -0
- package/build/mcp/tools/vibe_pm/inspect_code.d.ts +10 -0
- package/build/mcp/tools/vibe_pm/inspect_code.js +729 -0
- package/build/mcp/tools/vibe_pm/mapping/change_map.d.ts +12 -0
- package/build/mcp/tools/vibe_pm/mapping/change_map.js +154 -0
- package/build/mcp/tools/vibe_pm/mapping/diff_scan.d.ts +31 -0
- package/build/mcp/tools/vibe_pm/mapping/diff_scan.js +156 -0
- package/build/mcp/tools/vibe_pm/mapping/gate_judge.d.ts +18 -0
- package/build/mcp/tools/vibe_pm/mapping/gate_judge.js +101 -0
- package/build/mcp/tools/vibe_pm/mapping/import_scan.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/mapping/import_scan.js +56 -0
- package/build/mcp/tools/vibe_pm/mapping/index.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/mapping/index.js +10 -0
- package/build/mcp/tools/vibe_pm/mapping/orchestrator.d.ts +41 -0
- package/build/mcp/tools/vibe_pm/mapping/orchestrator.js +200 -0
- package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.d.ts +15 -0
- package/build/mcp/tools/vibe_pm/mapping/skeleton_patch.js +59 -0
- package/build/mcp/tools/vibe_pm/mapping/spec_map.d.ts +19 -0
- package/build/mcp/tools/vibe_pm/mapping/spec_map.js +43 -0
- package/build/mcp/tools/vibe_pm/mapping/types.d.ts +126 -0
- package/build/mcp/tools/vibe_pm/mapping/types.js +2 -0
- package/build/mcp/tools/vibe_pm/memory.d.ts +53 -0
- package/build/mcp/tools/vibe_pm/memory.js +92 -0
- package/build/mcp/tools/vibe_pm/memory_backend.d.ts +50 -0
- package/build/mcp/tools/vibe_pm/memory_backend.js +187 -0
- package/build/mcp/tools/vibe_pm/memory_docs_root.d.ts +15 -0
- package/build/mcp/tools/vibe_pm/memory_docs_root.js +39 -0
- package/build/mcp/tools/vibe_pm/memory_index.d.ts +36 -0
- package/build/mcp/tools/vibe_pm/memory_index.js +302 -0
- package/build/mcp/tools/vibe_pm/memory_index_embeddings.d.ts +138 -0
- package/build/mcp/tools/vibe_pm/memory_index_embeddings.js +481 -0
- package/build/mcp/tools/vibe_pm/memory_index_hashvec.d.ts +53 -0
- package/build/mcp/tools/vibe_pm/memory_index_hashvec.js +251 -0
- package/build/mcp/tools/vibe_pm/memory_rerank.d.ts +92 -0
- package/build/mcp/tools/vibe_pm/memory_rerank.js +164 -0
- package/build/mcp/tools/vibe_pm/memory_retrieve.d.ts +22 -0
- package/build/mcp/tools/vibe_pm/memory_retrieve.js +247 -0
- package/build/mcp/tools/vibe_pm/memory_status.d.ts +6 -0
- package/build/mcp/tools/vibe_pm/memory_status.js +101 -0
- package/build/mcp/tools/vibe_pm/memory_sync.d.ts +6 -0
- package/build/mcp/tools/vibe_pm/memory_sync.js +226 -0
- package/build/mcp/tools/vibe_pm/modules/fix_dependencies.d.ts +18 -0
- package/build/mcp/tools/vibe_pm/modules/fix_dependencies.js +223 -0
- package/build/mcp/tools/vibe_pm/modules/fix_imports.d.ts +43 -0
- package/build/mcp/tools/vibe_pm/modules/fix_imports.js +317 -0
- package/build/mcp/tools/vibe_pm/modules/fix_lint.d.ts +34 -0
- package/build/mcp/tools/vibe_pm/modules/fix_lint.js +267 -0
- package/build/mcp/tools/vibe_pm/modules/one_loop.d.ts +40 -0
- package/build/mcp/tools/vibe_pm/modules/one_loop.js +181 -0
- package/build/mcp/tools/vibe_pm/navigation/index.d.ts +10 -0
- package/build/mcp/tools/vibe_pm/navigation/index.js +9 -0
- package/build/mcp/tools/vibe_pm/navigation/resolver.d.ts +61 -0
- package/build/mcp/tools/vibe_pm/navigation/resolver.js +148 -0
- package/build/mcp/tools/vibe_pm/navigation/rules.d.ts +27 -0
- package/build/mcp/tools/vibe_pm/navigation/rules.js +258 -0
- package/build/mcp/tools/vibe_pm/navigation/types.d.ts +92 -0
- package/build/mcp/tools/vibe_pm/navigation/types.js +29 -0
- package/build/mcp/tools/vibe_pm/observer.d.ts +153 -0
- package/build/mcp/tools/vibe_pm/observer.js +402 -0
- package/build/mcp/tools/vibe_pm/phase.d.ts +69 -0
- package/build/mcp/tools/vibe_pm/phase.js +252 -0
- package/build/mcp/tools/vibe_pm/pm_language.d.ts +97 -0
- package/build/mcp/tools/vibe_pm/pm_language.js +355 -0
- package/build/mcp/tools/vibe_pm/policy/config.d.ts +30 -0
- package/build/mcp/tools/vibe_pm/policy/config.js +50 -0
- package/build/mcp/tools/vibe_pm/policy/index.d.ts +13 -0
- package/build/mcp/tools/vibe_pm/policy/index.js +12 -0
- package/build/mcp/tools/vibe_pm/policy/recommender.d.ts +49 -0
- package/build/mcp/tools/vibe_pm/policy/recommender.js +119 -0
- package/build/mcp/tools/vibe_pm/policy/types.d.ts +75 -0
- package/build/mcp/tools/vibe_pm/policy/types.js +32 -0
- package/build/mcp/tools/vibe_pm/ralph-loop-tools.d.ts +66 -0
- package/build/mcp/tools/vibe_pm/ralph-loop-tools.js +101 -0
- package/build/mcp/tools/vibe_pm/scaffold.d.ts +57 -0
- package/build/mcp/tools/vibe_pm/scaffold.js +403 -0
- package/build/mcp/tools/vibe_pm/schema-adapter.d.ts +44 -0
- package/build/mcp/tools/vibe_pm/schema-adapter.js +165 -0
- package/build/mcp/tools/vibe_pm/scorecard/index.d.ts +3 -0
- package/build/mcp/tools/vibe_pm/scorecard/index.js +3 -0
- package/build/mcp/tools/vibe_pm/scorecard/types.d.ts +66 -0
- package/build/mcp/tools/vibe_pm/scorecard/types.js +27 -0
- package/build/mcp/tools/vibe_pm/scorecard/writer.d.ts +33 -0
- package/build/mcp/tools/vibe_pm/scorecard/writer.js +134 -0
- package/build/mcp/tools/vibe_pm/setup.d.ts +52 -0
- package/build/mcp/tools/vibe_pm/setup.js +411 -0
- package/build/mcp/tools/vibe_pm/signals/index.d.ts +4 -0
- package/build/mcp/tools/vibe_pm/signals/index.js +4 -0
- package/build/mcp/tools/vibe_pm/signals/logger.d.ts +36 -0
- package/build/mcp/tools/vibe_pm/signals/logger.js +115 -0
- package/build/mcp/tools/vibe_pm/signals/rotation.d.ts +43 -0
- package/build/mcp/tools/vibe_pm/signals/rotation.js +128 -0
- package/build/mcp/tools/vibe_pm/signals/types.d.ts +46 -0
- package/build/mcp/tools/vibe_pm/signals/types.js +39 -0
- package/build/mcp/tools/vibe_pm/state-guesser.d.ts +50 -0
- package/build/mcp/tools/vibe_pm/state-guesser.js +322 -0
- package/build/mcp/tools/vibe_pm/state-schema.d.ts +133 -0
- package/build/mcp/tools/vibe_pm/state-schema.js +57 -0
- package/build/mcp/tools/vibe_pm/state-store.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/state-store.js +97 -0
- package/build/mcp/tools/vibe_pm/status.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/status.js +704 -0
- package/build/mcp/tools/vibe_pm/submit_decision.d.ts +9 -0
- package/build/mcp/tools/vibe_pm/submit_decision.js +154 -0
- package/build/mcp/tools/vibe_pm/submit_task.d.ts +107 -0
- package/build/mcp/tools/vibe_pm/submit_task.js +85 -0
- package/build/mcp/tools/vibe_pm/types.d.ts +4649 -0
- package/build/mcp/tools/vibe_pm/types.js +377 -0
- package/build/mcp/tools/vibe_pm/ui/index.d.ts +29 -0
- package/build/mcp/tools/vibe_pm/ui/index.js +17 -0
- package/build/mcp/tools/vibe_pm/ui/manifest.d.ts +14 -0
- package/build/mcp/tools/vibe_pm/ui/manifest.js +94 -0
- package/build/mcp/tools/vibe_pm/ui/types.d.ts +61 -0
- package/build/mcp/tools/vibe_pm/ui/types.js +3 -0
- package/build/mcp/tools/vibe_pm/ui/viewer_bundle.d.ts +6 -0
- package/build/mcp/tools/vibe_pm/ui/viewer_bundle.js +351 -0
- package/build/mcp/tools/vibe_pm/ux_fsm.d.ts +48 -0
- package/build/mcp/tools/vibe_pm/ux_fsm.js +127 -0
- package/build/mcp/tools/vibe_pm/verdict/index.d.ts +8 -0
- package/build/mcp/tools/vibe_pm/verdict/index.js +8 -0
- package/build/mcp/tools/vibe_pm/verdict/types.d.ts +69 -0
- package/build/mcp/tools/vibe_pm/verdict/types.js +50 -0
- package/build/mcp/tools/vibe_pm/verdict/writer.d.ts +42 -0
- package/build/mcp/tools/vibe_pm/verdict/writer.js +136 -0
- package/build/mcp/tools/vibe_pm/watcher.d.ts +91 -0
- package/build/mcp/tools/vibe_pm/watcher.js +235 -0
- package/build/mcp/tools/vibe_pm/worker_status.d.ts +43 -0
- package/build/mcp/tools/vibe_pm/worker_status.js +89 -0
- package/build/mcp/tools.d.ts +1 -0
- package/build/mcp/tools.js +11 -0
- package/build/mcp/transport/cli.d.ts +27 -0
- package/build/mcp/transport/cli.js +71 -0
- package/build/mcp/transport/handlers.d.ts +24 -0
- package/build/mcp/transport/handlers.js +118 -0
- package/build/mcp/transport/http.d.ts +28 -0
- package/build/mcp/transport/http.js +115 -0
- package/build/mcp/transport/index.d.ts +17 -0
- package/build/mcp/transport/index.js +18 -0
- package/build/mcp/transport/types.d.ts +81 -0
- package/build/mcp/transport/types.js +8 -0
- package/build/mcp/workspace-root.d.ts +49 -0
- package/build/mcp/workspace-root.js +165 -0
- package/build/offline-queue.d.ts +67 -0
- package/build/offline-queue.js +233 -0
- package/build/pool-manager/adapter.d.ts +118 -0
- package/build/pool-manager/adapter.js +99 -0
- package/build/pool-manager/bitnet-adapter.d.ts +74 -0
- package/build/pool-manager/bitnet-adapter.js +208 -0
- package/build/pool-manager/index.d.ts +16 -0
- package/build/pool-manager/index.js +14 -0
- package/build/pool-manager/mapper-adapter.d.ts +74 -0
- package/build/pool-manager/mapper-adapter.js +194 -0
- package/build/pool-manager/resource-monitor.d.ts +112 -0
- package/build/pool-manager/resource-monitor.js +213 -0
- package/build/pool-manager/types.d.ts +286 -0
- package/build/pool-manager/types.js +137 -0
- package/build/pool-manager/unified-pool.d.ts +168 -0
- package/build/pool-manager/unified-pool.js +561 -0
- package/build/profile-config.d.ts +115 -0
- package/build/profile-config.js +202 -0
- package/build/report-generator.d.ts +201 -0
- package/build/report-generator.js +763 -0
- package/build/review-history.d.ts +61 -0
- package/build/review-history.js +228 -0
- package/build/reviewer-ux-types.d.ts +85 -0
- package/build/reviewer-ux-types.js +21 -0
- package/build/skeleton-types.d.ts +89 -0
- package/build/skeleton-types.js +9 -0
- package/build/skill-loader.d.ts +177 -0
- package/build/skill-loader.js +407 -0
- package/build/spec-map.d.ts +32 -0
- package/build/spec-map.js +100 -0
- package/build/startup/index.d.ts +26 -0
- package/build/startup/index.js +26 -0
- package/build/startup/manager.d.ts +67 -0
- package/build/startup/manager.js +219 -0
- package/build/sync-manager.d.ts +58 -0
- package/build/sync-manager.js +113 -0
- package/build/sync-packet-builder.d.ts +215 -0
- package/build/sync-packet-builder.js +303 -0
- package/build/tier/ant_lane.d.ts +99 -0
- package/build/tier/ant_lane.js +308 -0
- package/build/tier/checkpoint.d.ts +61 -0
- package/build/tier/checkpoint.js +255 -0
- package/build/tier/checkpoint_types.d.ts +95 -0
- package/build/tier/checkpoint_types.js +8 -0
- package/build/tier/cooldown_store.d.ts +46 -0
- package/build/tier/cooldown_store.js +137 -0
- package/build/tier/feature_gate.d.ts +192 -0
- package/build/tier/feature_gate.js +416 -0
- package/build/tier/index.d.ts +45 -0
- package/build/tier/index.js +63 -0
- package/build/tier/policy_analysis.d.ts +130 -0
- package/build/tier/policy_analysis.js +465 -0
- package/build/tier/scorecard.d.ts +142 -0
- package/build/tier/scorecard.js +496 -0
- package/build/tier/scout_runner.d.ts +28 -0
- package/build/tier/scout_runner.js +203 -0
- package/build/tier/trigger_evaluator.d.ts +42 -0
- package/build/tier/trigger_evaluator.js +229 -0
- package/build/tier/trigger_facts_collector.d.ts +20 -0
- package/build/tier/trigger_facts_collector.js +294 -0
- package/build/tier/trigger_types.d.ts +87 -0
- package/build/tier/trigger_types.js +21 -0
- package/build/workers/base/autoscaler.d.ts +96 -0
- package/build/workers/base/autoscaler.js +165 -0
- package/build/workers/base/dashboard.d.ts +131 -0
- package/build/workers/base/dashboard.js +311 -0
- package/build/workers/base/health.d.ts +79 -0
- package/build/workers/base/health.js +240 -0
- package/build/workers/base/index.d.ts +13 -0
- package/build/workers/base/index.js +13 -0
- package/build/workers/base/metrics.d.ts +88 -0
- package/build/workers/base/metrics.js +183 -0
- package/build/workers/base/pool.d.ts +100 -0
- package/build/workers/base/pool.js +279 -0
- package/build/workers/base/queue.d.ts +48 -0
- package/build/workers/base/queue.js +163 -0
- package/build/workers/base/types.d.ts +131 -0
- package/build/workers/base/types.js +6 -0
- package/build/workers/base/worker.d.ts +64 -0
- package/build/workers/base/worker.js +198 -0
- package/build/workers/browser/index.d.ts +102 -0
- package/build/workers/browser/index.js +222 -0
- package/build/workers/build/index.d.ts +77 -0
- package/build/workers/build/index.js +167 -0
- package/build/workers/fs/index.d.ts +84 -0
- package/build/workers/fs/index.js +290 -0
- package/build/workers/index.d.ts +31 -0
- package/build/workers/index.js +60 -0
- package/build/workers/manager.d.ts +228 -0
- package/build/workers/manager.js +562 -0
- package/build/workers/model/index.d.ts +119 -0
- package/build/workers/model/index.js +239 -0
- package/build/workers/search/index.d.ts +93 -0
- package/build/workers/search/index.js +260 -0
- package/package.json +129 -0
- package/schemas/autopilot_policy.v1.schema.json +90 -0
- package/schemas/banned_question_rules.v1.schema.json +186 -0
- package/schemas/bitnet_signal.v1.schema.json +112 -0
- package/schemas/catalog_tree.v1.schema.json +172 -0
- package/schemas/choice_card.v1.schema.json +104 -0
- package/schemas/ci_summary.v1.schema.json +275 -0
- package/schemas/clinic_result.v1.2.schema.json +202 -0
- package/schemas/encrypted_packet.v1.schema.json +18 -0
- package/schemas/handoff_packet.v1.schema.json +192 -0
- package/schemas/observer_event_map.v1.schema.json +89 -0
- package/schemas/result.v1.schema.json +130 -0
- package/schemas/skeleton_map_summary.v1.schema.json +128 -0
- package/schemas/spec_gate_result.v1.schema.json +41 -0
- package/schemas/spec_map.v1.schema.json +40 -0
- package/schemas/sync_packet.v1.schema.json +103 -0
- package/schemas/task.v1.schema.json +227 -0
- package/schemas/vibe_tool_status.schema.json +182 -0
- package/scripts/build-artifacts.mjs +124 -0
- package/scripts/build-musu.sh +132 -0
- package/scripts/check-musu.mjs +78 -0
- package/scripts/check-pr-scope.mjs +121 -0
- package/scripts/clean-build.mjs +20 -0
- package/scripts/e2e-k8s-test.sh +202 -0
- package/scripts/ensure-exec.mjs +80 -0
- package/scripts/validate-doc-links.mjs +321 -0
- package/skills/skillpack.json +383 -0
- package/skills/skillpack.schema.json +212 -0
- package/templates/docs-structure/README.md +41 -0
- package/templates/docs-structure/active/.gitkeep +0 -0
- package/templates/docs-structure/archived/legacy/.gitkeep +0 -0
- package/templates/docs-structure/archived/topics/.gitkeep +0 -0
- package/templates/docs-structure/reference/contracts/.gitkeep +0 -0
- package/templates/docs-structure/reference/product-spec/.gitkeep +0 -0
- package/templates/docs-structure/reference/ssot/.gitkeep +0 -0
- package/templates/github-actions/vibe-ci.yml +27 -0
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
// Diagram Gate Engine — Full Reason Code Evaluation
|
|
2
|
+
// SSOT: docs/DEV_SPEC/active/diagram-as-code/DIAGRAM_GATE_REASON_CODES_AND_IDS_SPEC_v1.0.md
|
|
3
|
+
import { LAYER_ORDER } from "./types.js";
|
|
4
|
+
import { CONTROL_PLANE_PATTERNS, CRITICAL_NODE_PATTERNS } from "./constants.js";
|
|
5
|
+
const RULES = [
|
|
6
|
+
// -------------------------------------------------------------------------
|
|
7
|
+
// A) Mapping / Unknown
|
|
8
|
+
// -------------------------------------------------------------------------
|
|
9
|
+
// 1) DG_UNKNOWN_RATE_CRITICAL
|
|
10
|
+
(m, model) => {
|
|
11
|
+
if (m.unknown_rate > 0.60 && m.changed_files >= 5) {
|
|
12
|
+
return {
|
|
13
|
+
code: "DG_UNKNOWN_RATE_CRITICAL",
|
|
14
|
+
severity: "P0",
|
|
15
|
+
level: "BLOCK",
|
|
16
|
+
message: `Unknown mapping rate ${(m.unknown_rate * 100).toFixed(1)}% > 60% (files=${m.changed_files}).`,
|
|
17
|
+
why: "Too many changed files are not mapped to any skeleton node; diagram impact is unreliable.",
|
|
18
|
+
where: { files: model.unmapped_files.slice(0, 10) },
|
|
19
|
+
metrics: { unknown_rate: m.unknown_rate, changed_files: m.changed_files },
|
|
20
|
+
recommendation: {
|
|
21
|
+
do: [
|
|
22
|
+
"Add spec_map entries for top unknown paths",
|
|
23
|
+
"Move files into mapped domain/layer directories",
|
|
24
|
+
"Run mapping refresh / import_hint tuning",
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
},
|
|
31
|
+
// 2) DG_UNKNOWN_RATE_HIGH
|
|
32
|
+
(m, model) => {
|
|
33
|
+
if (m.unknown_rate > 0.30 && !(m.unknown_rate > 0.60 && m.changed_files >= 5)) {
|
|
34
|
+
return {
|
|
35
|
+
code: "DG_UNKNOWN_RATE_HIGH",
|
|
36
|
+
severity: "P1",
|
|
37
|
+
level: "FIX",
|
|
38
|
+
message: `Unknown mapping rate ${(m.unknown_rate * 100).toFixed(1)}% > 30%.`,
|
|
39
|
+
why: "Change impact diagram has low coverage; review scope/mapping before merging.",
|
|
40
|
+
where: { files: model.unmapped_files.slice(0, 5) },
|
|
41
|
+
metrics: { unknown_rate: m.unknown_rate },
|
|
42
|
+
recommendation: {
|
|
43
|
+
do: [
|
|
44
|
+
"Map unknown paths to skeleton nodes",
|
|
45
|
+
"Split PR to isolate unmapped changes",
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
},
|
|
52
|
+
// 3) DG_UNKNOWN_FILES_PRESENT
|
|
53
|
+
(m, model) => {
|
|
54
|
+
if (model.unmapped_files.length > 0 && m.unknown_rate <= 0.30) {
|
|
55
|
+
return {
|
|
56
|
+
code: "DG_UNKNOWN_FILES_PRESENT",
|
|
57
|
+
severity: "P2",
|
|
58
|
+
level: "GO_HINT",
|
|
59
|
+
message: `${model.unmapped_files.length} unmapped files detected.`,
|
|
60
|
+
why: "Some files are not mapped but within acceptable threshold.",
|
|
61
|
+
where: { files: model.unmapped_files.slice(0, 3) },
|
|
62
|
+
metrics: { unknown_rate: m.unknown_rate },
|
|
63
|
+
recommendation: {
|
|
64
|
+
do: ["Optionally add spec_map for recurring paths"],
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
},
|
|
70
|
+
// 4) DG_LOW_CONFIDENCE_AVG
|
|
71
|
+
(m) => {
|
|
72
|
+
if (m.avg_confidence < 0.55 && m.touched_nodes >= 6) {
|
|
73
|
+
return {
|
|
74
|
+
code: "DG_LOW_CONFIDENCE_AVG",
|
|
75
|
+
severity: "P1",
|
|
76
|
+
level: "FIX",
|
|
77
|
+
message: `Average mapping confidence ${(m.avg_confidence * 100).toFixed(1)}% < 55%.`,
|
|
78
|
+
why: "Mapping quality is low across many nodes; diagram may not reflect actual dependencies.",
|
|
79
|
+
where: {},
|
|
80
|
+
metrics: { avg_confidence: m.avg_confidence, touched_nodes: m.touched_nodes },
|
|
81
|
+
recommendation: {
|
|
82
|
+
do: [
|
|
83
|
+
"Improve matching rules (keywords/import_hint)",
|
|
84
|
+
"Reduce ambiguous multi-matches",
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
},
|
|
91
|
+
// 5) DG_MULTI_MATCH_AMBIGUITY
|
|
92
|
+
(m) => {
|
|
93
|
+
if (m.multi_match_files >= 5 || m.max_matches_per_file >= 4) {
|
|
94
|
+
return {
|
|
95
|
+
code: "DG_MULTI_MATCH_AMBIGUITY",
|
|
96
|
+
severity: "P2",
|
|
97
|
+
level: "FIX",
|
|
98
|
+
message: `High ambiguity: ${m.multi_match_files} files map to multiple nodes (max=${m.max_matches_per_file}).`,
|
|
99
|
+
why: "Files matching multiple skeleton nodes reduce diagram accuracy.",
|
|
100
|
+
where: {},
|
|
101
|
+
metrics: { multi_match_files: m.multi_match_files, max_matches_per_file: m.max_matches_per_file },
|
|
102
|
+
recommendation: {
|
|
103
|
+
do: [
|
|
104
|
+
"Tighten spec_map patterns",
|
|
105
|
+
"Introduce clearer folder boundaries",
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
return null;
|
|
111
|
+
},
|
|
112
|
+
// -------------------------------------------------------------------------
|
|
113
|
+
// B) Forbidden / Protected zones
|
|
114
|
+
// -------------------------------------------------------------------------
|
|
115
|
+
// 6) DG_FORBIDDEN_TOUCHED
|
|
116
|
+
(m, model) => {
|
|
117
|
+
if (m.forbidden_hits > 0) {
|
|
118
|
+
const forbiddenFiles = model.violations
|
|
119
|
+
.filter(v => v.code === "DENY_PATH_TOUCHED")
|
|
120
|
+
.map(v => v.file)
|
|
121
|
+
.slice(0, 5);
|
|
122
|
+
return {
|
|
123
|
+
code: "DG_FORBIDDEN_TOUCHED",
|
|
124
|
+
severity: "P0",
|
|
125
|
+
level: "BLOCK",
|
|
126
|
+
message: `Forbidden zone touched: ${m.forbidden_hits} files.`,
|
|
127
|
+
why: "Changes include protected/control-plane/engine zones.",
|
|
128
|
+
where: { files: forbiddenFiles },
|
|
129
|
+
metrics: { forbidden_hits: m.forbidden_hits },
|
|
130
|
+
recommendation: {
|
|
131
|
+
do: [
|
|
132
|
+
"Revert forbidden changes",
|
|
133
|
+
"Move changes to allowed extension points",
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
return null;
|
|
139
|
+
},
|
|
140
|
+
// 7) DG_CONTROL_PLANE_TOUCHED
|
|
141
|
+
(m) => {
|
|
142
|
+
if (m.control_plane_hits > 0) {
|
|
143
|
+
return {
|
|
144
|
+
code: "DG_CONTROL_PLANE_TOUCHED",
|
|
145
|
+
severity: "P0",
|
|
146
|
+
level: "BLOCK",
|
|
147
|
+
message: `Control-plane protected paths modified: ${m.control_plane_hits} hits.`,
|
|
148
|
+
why: "Control-plane paths require special authorization.",
|
|
149
|
+
where: {},
|
|
150
|
+
metrics: { control_plane_hits: m.control_plane_hits },
|
|
151
|
+
recommendation: {
|
|
152
|
+
do: ["Use designated adapters/overrides only"],
|
|
153
|
+
},
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
return null;
|
|
157
|
+
},
|
|
158
|
+
// -------------------------------------------------------------------------
|
|
159
|
+
// C) Boundary / Layer rules
|
|
160
|
+
// -------------------------------------------------------------------------
|
|
161
|
+
// 8) DG_CROSS_DOMAIN_HIGH_RISK
|
|
162
|
+
(m) => {
|
|
163
|
+
if (m.cross_domain_edges >= 2 && m.risk_score >= 12) {
|
|
164
|
+
return {
|
|
165
|
+
code: "DG_CROSS_DOMAIN_HIGH_RISK",
|
|
166
|
+
severity: "P0",
|
|
167
|
+
level: "BLOCK",
|
|
168
|
+
message: `Cross-domain impact with high risk (edges=${m.cross_domain_edges}, score=${m.risk_score}).`,
|
|
169
|
+
why: "Multiple domain boundaries crossed with elevated risk score.",
|
|
170
|
+
where: {},
|
|
171
|
+
metrics: { cross_domain_edges: m.cross_domain_edges, risk_score: m.risk_score },
|
|
172
|
+
recommendation: {
|
|
173
|
+
do: [
|
|
174
|
+
"Introduce boundary (API/Event/Contract)",
|
|
175
|
+
"Move shared code to contracts/shared layer",
|
|
176
|
+
],
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
return null;
|
|
181
|
+
},
|
|
182
|
+
// 9) DG_CROSS_DOMAIN_DETECTED
|
|
183
|
+
(m, model) => {
|
|
184
|
+
if (m.cross_domain_edges >= 1 && !(m.cross_domain_edges >= 2 && m.risk_score >= 12)) {
|
|
185
|
+
const crossEdges = model.edges
|
|
186
|
+
.filter(e => e.stereotype === "CROSS_DOMAIN")
|
|
187
|
+
.map(e => ({ from: e.from_node_id, to: e.to_node_id, relation: e.relation }));
|
|
188
|
+
return {
|
|
189
|
+
code: "DG_CROSS_DOMAIN_DETECTED",
|
|
190
|
+
severity: "P1",
|
|
191
|
+
level: "FIX",
|
|
192
|
+
message: `Cross-domain dependency detected (edges=${m.cross_domain_edges}).`,
|
|
193
|
+
why: "Changes span multiple domains; verify boundary is intentional.",
|
|
194
|
+
where: { edges: crossEdges.slice(0, 5) },
|
|
195
|
+
metrics: { cross_domain_edges: m.cross_domain_edges },
|
|
196
|
+
recommendation: {
|
|
197
|
+
do: [
|
|
198
|
+
"Confirm boundary is intended",
|
|
199
|
+
"If unintended: refactor to API/Event/Contract",
|
|
200
|
+
],
|
|
201
|
+
},
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
return null;
|
|
205
|
+
},
|
|
206
|
+
// 10) DG_LAYER_SKIP_DETECTED
|
|
207
|
+
(m) => {
|
|
208
|
+
if (m.layer_skip_edges >= 1) {
|
|
209
|
+
const severity = m.layer_skip_edges >= 3 ? "P0" : "P1";
|
|
210
|
+
const level = m.layer_skip_edges >= 3 ? "BLOCK" : "FIX";
|
|
211
|
+
return {
|
|
212
|
+
code: "DG_LAYER_SKIP_DETECTED",
|
|
213
|
+
severity,
|
|
214
|
+
level,
|
|
215
|
+
message: `Layer skip detected: ${m.layer_skip_edges} edges bypass intermediate layers.`,
|
|
216
|
+
why: "Direct access from UI/API to Data/Infra violates layered architecture.",
|
|
217
|
+
where: {},
|
|
218
|
+
metrics: { layer_skip_edges: m.layer_skip_edges },
|
|
219
|
+
recommendation: {
|
|
220
|
+
do: [
|
|
221
|
+
"Route via Service/Domain layer",
|
|
222
|
+
"Add adapter boundary",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
return null;
|
|
228
|
+
},
|
|
229
|
+
// 11) DG_REVERSE_DEPENDENCY
|
|
230
|
+
(m) => {
|
|
231
|
+
if (m.reverse_edges >= 1) {
|
|
232
|
+
return {
|
|
233
|
+
code: "DG_REVERSE_DEPENDENCY",
|
|
234
|
+
severity: "P1",
|
|
235
|
+
level: "FIX",
|
|
236
|
+
message: `Reverse dependency detected: ${m.reverse_edges} edges flow upward.`,
|
|
237
|
+
why: "Dependencies should flow inward/downward (e.g., Domain->Service, not Service->API).",
|
|
238
|
+
where: {},
|
|
239
|
+
metrics: { reverse_edges: m.reverse_edges },
|
|
240
|
+
recommendation: {
|
|
241
|
+
do: [
|
|
242
|
+
"Invert dependency via interface/port",
|
|
243
|
+
"Move implementation outward",
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
return null;
|
|
249
|
+
},
|
|
250
|
+
// -------------------------------------------------------------------------
|
|
251
|
+
// D) Scope / Blast radius
|
|
252
|
+
// -------------------------------------------------------------------------
|
|
253
|
+
// 12) DG_SCOPE_WIDE
|
|
254
|
+
(m) => {
|
|
255
|
+
const wide = m.touched_nodes > 12 || (m.touched_nodes > 8 && m.changed_files > 20);
|
|
256
|
+
const explosion = m.touched_nodes > 25 || m.cross_domain_edges > 6;
|
|
257
|
+
if (wide && !explosion) {
|
|
258
|
+
return {
|
|
259
|
+
code: "DG_SCOPE_WIDE",
|
|
260
|
+
severity: "P1",
|
|
261
|
+
level: "FIX",
|
|
262
|
+
message: `Scope wide: nodes=${m.touched_nodes}, files=${m.changed_files}.`,
|
|
263
|
+
why: "Change touches many components; consider splitting.",
|
|
264
|
+
where: {},
|
|
265
|
+
metrics: { touched_nodes: m.touched_nodes, changed_files: m.changed_files },
|
|
266
|
+
recommendation: {
|
|
267
|
+
do: [
|
|
268
|
+
"Split PR by domain/layer",
|
|
269
|
+
"Ensure spec_map coverage for each chunk",
|
|
270
|
+
],
|
|
271
|
+
},
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
return null;
|
|
275
|
+
},
|
|
276
|
+
// 13) DG_SCOPE_EXPLOSION
|
|
277
|
+
(m) => {
|
|
278
|
+
if (m.touched_nodes > 25 || m.cross_domain_edges > 6) {
|
|
279
|
+
return {
|
|
280
|
+
code: "DG_SCOPE_EXPLOSION",
|
|
281
|
+
severity: "P0",
|
|
282
|
+
level: "BLOCK",
|
|
283
|
+
message: `Scope explosion: nodes=${m.touched_nodes}, cross_domain=${m.cross_domain_edges}.`,
|
|
284
|
+
why: "Too many impacted components; blast radius is unacceptable.",
|
|
285
|
+
where: {},
|
|
286
|
+
metrics: { touched_nodes: m.touched_nodes, cross_domain_edges: m.cross_domain_edges },
|
|
287
|
+
recommendation: {
|
|
288
|
+
do: [
|
|
289
|
+
"Stop and re-scope",
|
|
290
|
+
"Create explicit work_order boundaries",
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
return null;
|
|
296
|
+
},
|
|
297
|
+
// -------------------------------------------------------------------------
|
|
298
|
+
// E) BitNet risk
|
|
299
|
+
// -------------------------------------------------------------------------
|
|
300
|
+
// 14) DG_RISK_SCORE_HIGH
|
|
301
|
+
(m) => {
|
|
302
|
+
if (m.risk_score >= 15) {
|
|
303
|
+
return {
|
|
304
|
+
code: "DG_RISK_SCORE_HIGH",
|
|
305
|
+
severity: "P0",
|
|
306
|
+
level: "BLOCK",
|
|
307
|
+
message: `Risk score high: ${m.risk_score} >= 15.`,
|
|
308
|
+
why: "BitNet analysis indicates critical risk level.",
|
|
309
|
+
where: {},
|
|
310
|
+
metrics: { risk_score: m.risk_score },
|
|
311
|
+
recommendation: {
|
|
312
|
+
do: [
|
|
313
|
+
"Address HIGH severity annotations",
|
|
314
|
+
"Add tests/contracts before merge",
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
return null;
|
|
320
|
+
},
|
|
321
|
+
// 15) DG_RISK_SCORE_MED
|
|
322
|
+
(m) => {
|
|
323
|
+
if (m.risk_score >= 7 && m.risk_score < 15) {
|
|
324
|
+
return {
|
|
325
|
+
code: "DG_RISK_SCORE_MED",
|
|
326
|
+
severity: "P1",
|
|
327
|
+
level: "FIX",
|
|
328
|
+
message: `Risk score medium: ${m.risk_score} >= 7.`,
|
|
329
|
+
why: "BitNet analysis indicates elevated risk.",
|
|
330
|
+
where: {},
|
|
331
|
+
metrics: { risk_score: m.risk_score },
|
|
332
|
+
recommendation: {
|
|
333
|
+
do: [
|
|
334
|
+
"Review MEDIUM/HIGH annotations",
|
|
335
|
+
"Add guardrails",
|
|
336
|
+
],
|
|
337
|
+
},
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
return null;
|
|
341
|
+
},
|
|
342
|
+
// 16) DG_SUBPROCESS_BYPASS (requires annotation data)
|
|
343
|
+
// Placeholder - requires BitNet annotations integration
|
|
344
|
+
// -------------------------------------------------------------------------
|
|
345
|
+
// F) Design contract mismatch (optional)
|
|
346
|
+
// -------------------------------------------------------------------------
|
|
347
|
+
// 17) DG_SPEC_MAP_MISMATCH - requires spec_map comparison
|
|
348
|
+
// 18) DG_DIAGRAM_CONTRACT_MISSING - requires static diagrams check
|
|
349
|
+
// -------------------------------------------------------------------------
|
|
350
|
+
// G) Critical node policy
|
|
351
|
+
// -------------------------------------------------------------------------
|
|
352
|
+
// 19) DG_CRITICAL_LOW_CONF
|
|
353
|
+
(m) => {
|
|
354
|
+
if (m.critical_nodes_touched > 0 && m.avg_confidence < 0.6) {
|
|
355
|
+
return {
|
|
356
|
+
code: "DG_CRITICAL_LOW_CONF",
|
|
357
|
+
severity: "P0",
|
|
358
|
+
level: "BLOCK",
|
|
359
|
+
message: `Critical component touched with low mapping confidence (${(m.avg_confidence * 100).toFixed(1)}%).`,
|
|
360
|
+
why: "Critical nodes require high-confidence mapping.",
|
|
361
|
+
where: {},
|
|
362
|
+
metrics: { critical_nodes_touched: m.critical_nodes_touched, avg_confidence: m.avg_confidence },
|
|
363
|
+
recommendation: {
|
|
364
|
+
do: [
|
|
365
|
+
"Fix mapping first",
|
|
366
|
+
"Add explicit approvals/tests",
|
|
367
|
+
],
|
|
368
|
+
},
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
return null;
|
|
372
|
+
},
|
|
373
|
+
// 20) DG_CRITICAL_TOUCHED
|
|
374
|
+
(m) => {
|
|
375
|
+
if (m.critical_nodes_touched > 0 && m.avg_confidence >= 0.6) {
|
|
376
|
+
return {
|
|
377
|
+
code: "DG_CRITICAL_TOUCHED",
|
|
378
|
+
severity: "P1",
|
|
379
|
+
level: "FIX",
|
|
380
|
+
message: `Critical component touched: ${m.critical_nodes_touched} nodes.`,
|
|
381
|
+
why: "Critical components require extra review.",
|
|
382
|
+
where: {},
|
|
383
|
+
metrics: { critical_nodes_touched: m.critical_nodes_touched },
|
|
384
|
+
recommendation: {
|
|
385
|
+
do: [
|
|
386
|
+
"Require extra review",
|
|
387
|
+
"Ensure rollback plan",
|
|
388
|
+
],
|
|
389
|
+
},
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
return null;
|
|
393
|
+
},
|
|
394
|
+
];
|
|
395
|
+
// ============================================================================
|
|
396
|
+
// Type Guards for Violation
|
|
397
|
+
// ============================================================================
|
|
398
|
+
/**
|
|
399
|
+
* Type guard to check if an object is a valid Violation
|
|
400
|
+
*/
|
|
401
|
+
function isViolation(obj) {
|
|
402
|
+
if (!obj || typeof obj !== "object")
|
|
403
|
+
return false;
|
|
404
|
+
const v = obj;
|
|
405
|
+
return (typeof v.code === "string" &&
|
|
406
|
+
typeof v.file === "string" &&
|
|
407
|
+
typeof v.severity === "string");
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Safely filter violations by code
|
|
411
|
+
*/
|
|
412
|
+
function filterViolationsByCode(violations, code) {
|
|
413
|
+
return violations.filter((v) => isViolation(v) && v.code === code);
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Get layer order index for a node (lower = higher in stack)
|
|
417
|
+
*/
|
|
418
|
+
function getLayerIndex(layer) {
|
|
419
|
+
return LAYER_ORDER[layer] ?? LAYER_ORDER.UNKNOWN;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Build a map of node_id to layer index for fast lookup
|
|
423
|
+
*/
|
|
424
|
+
function buildNodeLayerMap(nodes) {
|
|
425
|
+
const map = new Map();
|
|
426
|
+
for (const node of nodes) {
|
|
427
|
+
map.set(node.node_id, getLayerIndex(node.layer));
|
|
428
|
+
}
|
|
429
|
+
return map;
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Detect layer skip: edge spans more than 1 layer
|
|
433
|
+
* e.g., UI (0) → DOMAIN (4) skips 3 layers
|
|
434
|
+
*/
|
|
435
|
+
function countLayerSkipEdges(edges, nodeLayerMap) {
|
|
436
|
+
let count = 0;
|
|
437
|
+
for (const edge of edges) {
|
|
438
|
+
const fromLayer = nodeLayerMap.get(edge.from_node_id);
|
|
439
|
+
const toLayer = nodeLayerMap.get(edge.to_node_id);
|
|
440
|
+
if (fromLayer !== undefined && toLayer !== undefined) {
|
|
441
|
+
const diff = Math.abs(toLayer - fromLayer);
|
|
442
|
+
// Skip detection: more than 1 layer difference (skipping intermediate)
|
|
443
|
+
if (diff > 1) {
|
|
444
|
+
count++;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return count;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Detect reverse dependency: edge goes from lower layer to higher layer
|
|
452
|
+
* e.g., SERVICE (3) → API (2) is reverse (should be API → SERVICE)
|
|
453
|
+
*/
|
|
454
|
+
function countReverseEdges(edges, nodeLayerMap) {
|
|
455
|
+
let count = 0;
|
|
456
|
+
for (const edge of edges) {
|
|
457
|
+
const fromLayer = nodeLayerMap.get(edge.from_node_id);
|
|
458
|
+
const toLayer = nodeLayerMap.get(edge.to_node_id);
|
|
459
|
+
if (fromLayer !== undefined && toLayer !== undefined) {
|
|
460
|
+
// Reverse: dependency flows "upward" (from higher index to lower index)
|
|
461
|
+
// e.g., DOMAIN (4) calling API (2) is reverse
|
|
462
|
+
if (fromLayer > toLayer) {
|
|
463
|
+
count++;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
return count;
|
|
468
|
+
}
|
|
469
|
+
// ============================================================================
|
|
470
|
+
// Multi-match Analysis
|
|
471
|
+
// ============================================================================
|
|
472
|
+
/**
|
|
473
|
+
* Count files that map to multiple nodes and find max matches
|
|
474
|
+
*/
|
|
475
|
+
function analyzeMultiMatch(model) {
|
|
476
|
+
// Build file → node mapping from violations or model metadata
|
|
477
|
+
const fileNodeCounts = new Map();
|
|
478
|
+
// Count file appearances across nodes (using file_count as proxy)
|
|
479
|
+
// In a full implementation, this would use the actual mapping data
|
|
480
|
+
for (const node of model.nodes) {
|
|
481
|
+
// Each node has files mapped to it; track overlap
|
|
482
|
+
// This is a simplified implementation - actual would need file-to-node mapping
|
|
483
|
+
if (node.file_count > 1) {
|
|
484
|
+
// Estimate: nodes with high file_count may indicate multi-match
|
|
485
|
+
const estimatedMultiMatch = Math.floor(node.file_count / 3);
|
|
486
|
+
if (estimatedMultiMatch > 0) {
|
|
487
|
+
fileNodeCounts.set(node.node_id, estimatedMultiMatch);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
// Check violations for multi-match indicators
|
|
492
|
+
const multiMatchViolations = filterViolationsByCode(model.violations, "MULTI_MATCH");
|
|
493
|
+
for (const v of multiMatchViolations) {
|
|
494
|
+
const current = fileNodeCounts.get(v.file) ?? 0;
|
|
495
|
+
fileNodeCounts.set(v.file, current + 1);
|
|
496
|
+
}
|
|
497
|
+
const counts = Array.from(fileNodeCounts.values());
|
|
498
|
+
return {
|
|
499
|
+
multiMatchFiles: counts.filter(c => c > 1).length,
|
|
500
|
+
maxMatchesPerFile: counts.length > 0 ? Math.max(...counts) : 0,
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
// ============================================================================
|
|
504
|
+
// Control Plane Detection
|
|
505
|
+
// ============================================================================
|
|
506
|
+
/**
|
|
507
|
+
* Simple glob-like pattern matching
|
|
508
|
+
*/
|
|
509
|
+
function matchesPattern(path, pattern) {
|
|
510
|
+
// Convert glob pattern to regex
|
|
511
|
+
const regexStr = pattern
|
|
512
|
+
.replace(/\*\*/g, "§§") // Temporarily replace **
|
|
513
|
+
.replace(/\*/g, "[^/]*") // Single * matches within segment
|
|
514
|
+
.replace(/§§/g, ".*"); // ** matches across segments
|
|
515
|
+
const regex = new RegExp(`^${regexStr}$|/${regexStr}$`);
|
|
516
|
+
return regex.test(path);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Count control-plane path hits
|
|
520
|
+
*/
|
|
521
|
+
function countControlPlaneHits(model) {
|
|
522
|
+
let count = 0;
|
|
523
|
+
// Check violations for control plane touches
|
|
524
|
+
for (const violation of model.violations) {
|
|
525
|
+
if (!isViolation(violation))
|
|
526
|
+
continue;
|
|
527
|
+
for (const pattern of CONTROL_PLANE_PATTERNS) {
|
|
528
|
+
if (matchesPattern(violation.file, pattern)) {
|
|
529
|
+
count++;
|
|
530
|
+
break; // Don't double-count same file
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
// Also check unmapped files that might be control plane
|
|
535
|
+
for (const file of model.unmapped_files) {
|
|
536
|
+
for (const pattern of CONTROL_PLANE_PATTERNS) {
|
|
537
|
+
if (matchesPattern(file, pattern)) {
|
|
538
|
+
count++;
|
|
539
|
+
break;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
return count;
|
|
544
|
+
}
|
|
545
|
+
// ============================================================================
|
|
546
|
+
// Critical Node Detection
|
|
547
|
+
// ============================================================================
|
|
548
|
+
/**
|
|
549
|
+
* Check if a node matches critical patterns
|
|
550
|
+
*/
|
|
551
|
+
function isCriticalNode(nodeId) {
|
|
552
|
+
for (const pattern of CRITICAL_NODE_PATTERNS) {
|
|
553
|
+
// Convert pattern to regex
|
|
554
|
+
const regexStr = pattern
|
|
555
|
+
.replace(/\./g, "\\.")
|
|
556
|
+
.replace(/\*/g, "[^.]*");
|
|
557
|
+
const regex = new RegExp(`^${regexStr}$`);
|
|
558
|
+
if (regex.test(nodeId)) {
|
|
559
|
+
return true;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return false;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Count critical nodes that are touched (have changes)
|
|
566
|
+
*/
|
|
567
|
+
function countCriticalNodesTouched(nodes) {
|
|
568
|
+
return nodes.filter(node => {
|
|
569
|
+
// Node is "touched" if it has stereotypes indicating change
|
|
570
|
+
const hasTouchedStereotype = node.stereotype.some(s => s === "CHANGED" || s === "RISK");
|
|
571
|
+
return hasTouchedStereotype && isCriticalNode(node.node_id);
|
|
572
|
+
}).length;
|
|
573
|
+
}
|
|
574
|
+
// ============================================================================
|
|
575
|
+
// Metrics Extraction
|
|
576
|
+
// ============================================================================
|
|
577
|
+
export function extractMetrics(model, totalFiles) {
|
|
578
|
+
const unknownRate = totalFiles > 0 ? model.unmapped_files.length / totalFiles : 0;
|
|
579
|
+
const crossDomainEdges = model.edges.filter(e => e.stereotype === "CROSS_DOMAIN").length;
|
|
580
|
+
// Calculate average confidence
|
|
581
|
+
const confidences = model.nodes.map(n => n.confidence).filter(c => c > 0);
|
|
582
|
+
const avgConfidence = confidences.length > 0
|
|
583
|
+
? confidences.reduce((a, b) => a + b, 0) / confidences.length
|
|
584
|
+
: 1.0;
|
|
585
|
+
// Count forbidden violations (with type guard)
|
|
586
|
+
const forbiddenHits = filterViolationsByCode(model.violations, "DENY_PATH_TOUCHED").length;
|
|
587
|
+
// Build node layer map for edge analysis
|
|
588
|
+
const nodeLayerMap = buildNodeLayerMap(model.nodes);
|
|
589
|
+
// Layer skip detection
|
|
590
|
+
const layerSkipEdges = countLayerSkipEdges(model.edges, nodeLayerMap);
|
|
591
|
+
// Reverse edge detection
|
|
592
|
+
const reverseEdges = countReverseEdges(model.edges, nodeLayerMap);
|
|
593
|
+
// Multi-match analysis
|
|
594
|
+
const { multiMatchFiles, maxMatchesPerFile } = analyzeMultiMatch(model);
|
|
595
|
+
// Control plane hits
|
|
596
|
+
const controlPlaneHits = countControlPlaneHits(model);
|
|
597
|
+
// Critical nodes touched
|
|
598
|
+
const criticalNodesTouched = countCriticalNodesTouched(model.nodes);
|
|
599
|
+
return {
|
|
600
|
+
unknown_rate: unknownRate,
|
|
601
|
+
changed_files: totalFiles,
|
|
602
|
+
touched_nodes: model.nodes.length,
|
|
603
|
+
cross_domain_edges: crossDomainEdges,
|
|
604
|
+
risk_score: 0, // From BitNet - populated via overrideMetrics when available
|
|
605
|
+
avg_confidence: avgConfidence,
|
|
606
|
+
forbidden_hits: forbiddenHits,
|
|
607
|
+
layer_skip_edges: layerSkipEdges,
|
|
608
|
+
reverse_edges: reverseEdges,
|
|
609
|
+
multi_match_files: multiMatchFiles,
|
|
610
|
+
max_matches_per_file: maxMatchesPerFile,
|
|
611
|
+
control_plane_hits: controlPlaneHits,
|
|
612
|
+
critical_nodes_touched: criticalNodesTouched,
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
// ============================================================================
|
|
616
|
+
// Gate Evaluation
|
|
617
|
+
// ============================================================================
|
|
618
|
+
export function evaluateGate(model, totalFiles, overrideMetrics) {
|
|
619
|
+
const baseMetrics = extractMetrics(model, totalFiles);
|
|
620
|
+
const metrics = { ...baseMetrics, ...overrideMetrics };
|
|
621
|
+
const reasons = [];
|
|
622
|
+
for (const rule of RULES) {
|
|
623
|
+
const reason = rule(metrics, model);
|
|
624
|
+
if (reason) {
|
|
625
|
+
reasons.push(reason);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
// Count by level
|
|
629
|
+
const blockCount = reasons.filter(r => r.level === "BLOCK").length;
|
|
630
|
+
const fixCount = reasons.filter(r => r.level === "FIX").length;
|
|
631
|
+
const hintCount = reasons.filter(r => r.level === "GO_HINT").length;
|
|
632
|
+
// Determine verdict
|
|
633
|
+
let verdict;
|
|
634
|
+
let exitCode;
|
|
635
|
+
if (blockCount > 0) {
|
|
636
|
+
verdict = "BLOCK";
|
|
637
|
+
exitCode = 2;
|
|
638
|
+
}
|
|
639
|
+
else if (fixCount > 0) {
|
|
640
|
+
verdict = "FIX";
|
|
641
|
+
exitCode = 1;
|
|
642
|
+
}
|
|
643
|
+
else {
|
|
644
|
+
verdict = "GO";
|
|
645
|
+
exitCode = 0;
|
|
646
|
+
}
|
|
647
|
+
return {
|
|
648
|
+
schema_version: "diagram.gate.v2",
|
|
649
|
+
run_id: model.run_id,
|
|
650
|
+
generated_at: new Date().toISOString(),
|
|
651
|
+
verdict,
|
|
652
|
+
exit_code: exitCode,
|
|
653
|
+
metrics,
|
|
654
|
+
reasons,
|
|
655
|
+
summary: {
|
|
656
|
+
total_reasons: reasons.length,
|
|
657
|
+
block_count: blockCount,
|
|
658
|
+
fix_count: fixCount,
|
|
659
|
+
hint_count: hintCount,
|
|
660
|
+
},
|
|
661
|
+
};
|
|
662
|
+
}
|
|
663
|
+
// ============================================================================
|
|
664
|
+
// Navigation Output Formatter
|
|
665
|
+
// ============================================================================
|
|
666
|
+
export function formatNavigationOutput(reason) {
|
|
667
|
+
const lines = [];
|
|
668
|
+
// WHERE
|
|
669
|
+
const whereParts = [];
|
|
670
|
+
if (reason.where.nodes?.length) {
|
|
671
|
+
whereParts.push(`nodes={${reason.where.nodes.join(", ")}}`);
|
|
672
|
+
}
|
|
673
|
+
if (reason.where.files?.length) {
|
|
674
|
+
whereParts.push(`files={${reason.where.files.join(", ")}}`);
|
|
675
|
+
}
|
|
676
|
+
if (reason.where.edges?.length) {
|
|
677
|
+
const edgeStrs = reason.where.edges.map(e => `${e.from}->${e.to}`);
|
|
678
|
+
whereParts.push(`edges={${edgeStrs.join(", ")}}`);
|
|
679
|
+
}
|
|
680
|
+
lines.push(`WHERE: ${whereParts.join(", ") || "(no location)"}`);
|
|
681
|
+
// WHY
|
|
682
|
+
const metricStrs = Object.entries(reason.metrics)
|
|
683
|
+
.filter(([_, v]) => v !== undefined)
|
|
684
|
+
.map(([k, v]) => `${k}=${typeof v === "number" ? v.toFixed(2) : v}`);
|
|
685
|
+
lines.push(`WHY: ${reason.why} (${metricStrs.join(", ")})`);
|
|
686
|
+
// NEXT
|
|
687
|
+
lines.push(`NEXT: ${reason.recommendation.do[0] || "(no action)"}`);
|
|
688
|
+
return lines.join("\n");
|
|
689
|
+
}
|
|
690
|
+
// ============================================================================
|
|
691
|
+
// CI Exit Code Helper
|
|
692
|
+
// ============================================================================
|
|
693
|
+
export function getExitCode(verdict) {
|
|
694
|
+
return verdict.exit_code;
|
|
695
|
+
}
|