elanous 0.3.6 → 0.3.10
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/apps/pwa/scripts/publish-static-generation.ts +80 -0
- package/apps/pwa/src/lib/mini-board-projection.ts +129 -0
- package/apps/pwa/src/lib/provenance-badge.ts +26 -0
- package/apps/pwa/src/lib/task-card-model.ts +73 -0
- package/catalog/sim-world-device-catalog-fragments/README.md +16 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-CONTRACT-SECRET-ENTROPY-TS.json +24 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-KILL-SWITCH-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-SCRATCH-BOOTSTRAP-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-APP-UPGRADE-PATH-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ARG-MACRO-CANVAS-SIM-TS.json +16 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ASIDE-FEEDBACK-LOOP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-AUTHOR-REVIEWER-PRECHECK-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BACKEND-TIER-DEVICE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BOOT-DAEMON-TOOLS-PTY-SHELL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BROWSER-HAND-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-BURST-READY-LADDER-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CENSUS-ORACLE-AXIS-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CHAIN-LAND-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLASSIC-TUI-SEAT-SCENARIOS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CLI-CONFIG-AUDIT-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-CODEX-WIRE-CAPTURE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-COMPUTER-USE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DASHBOARD-EVENT-LOOP-STALL-MONITOR-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-CATALOG-SNAPSHOT-FRAGMENTS-TS.json +12 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DEVICE-FIDELITY-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-DRAFT-INVENTORY-BUILDER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-NIGHTLY-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EDGE-CREATOR-TS.json +18 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-EVENT-MONKEY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ABSORB-INGEST-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ADB-PHONE-WORLD-TS.json +15 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-AGENT-HOOK-HOST-TS.json +6 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ANDROID-CLIENT-TS.json +10 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-AUTH-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-BACKUP-WORLD-TS.json +14 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DB-WORLD-TS.json +25 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-DRIVE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-FAILURES-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-HOST-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-REALTIME-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-CONCURRENT-WRITER-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-SOURCE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-STORAGE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-APP-TRAFFIC-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-ARGS-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BIN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-BROWSER-PAGE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOCK-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-BILLING-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-CLOUD-VM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DATA-GUARD-BOUNDARY-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-DNS-CERT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-ELEVENLABS-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FEEDS-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FETCH-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-FLEET-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-GOOGLE-DRIVE-WORLD-TS.json +23 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HERDR-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-HIGGSFIELD-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-KUBECTL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LAND-QUEUE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LINEAR-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-LLM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MEMBER-OIDC-WORLD-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-MOBILE-TOOLCHAIN-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-NEXUS-BOARD-SERVER-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PAYMENT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-PS-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-RELAY-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-SSH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-STT-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-OUTBOUND-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TELEGRAM-VIDEO-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAKE-TEMP-CLEANUP-TS.json +21 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-CRED-EXPIRY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-GLM-NO-CREDENTIAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEEDS-HUMAN-REASON-REPAIR-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXTMOVE-DISPATCH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-NEXUS-STALL-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CHILD-RESULT-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-CODEX-503-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-DEATH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POD-REUSE-RESIDUE-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-POOL-CAP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SCOPE-ESCAPE-LIFT-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-SQLITE-BUSY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FAULT-TUI-400-AUTOHEAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FIXTURES-GIT-WORKTREE-ACCEL-LINUX-JSON.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-FLUTTER-DEPLOY-JOURNEY-TS.json +10 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-LAYERED-DELTA-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-IMAGE-PREFLIGHT-RUNTIME-IDENTITY-FLOW-SIM-TS.json +13 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-ROSTER-SECOND-POOL-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-SHARD-HOST-REROUTE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GATE-STEADY-STATE-PROOF-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GIT-PUSH-TIMEOUT-PARTIAL-OUTCOME-REMOTE-VERIFY-TS.json +22 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GOAL-INTERIM-TRACE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-DIFF-APPLY-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-ENGINE-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-EVENT-ENTRY-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-PLACEMENT-LEASE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUN-LIFECYCLE-WORLD-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-RUNTIME-OVERLAY-EVENT-PATH-WORKER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRAPH-TRIGGER-HOOK-DEVICE-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-CHAOS-DRIVER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-LEDGER-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-GRID-READY-TIERS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEADLESS-TUI-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HEAL-REAUTHOR-MATERIALIZED-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HOTSPOT-FILE-LEASE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-HQ-MOVE-SIM-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-539-FILE-ADOPTION-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IN-PROCESS-CLI-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INPUT-HISTORY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INSTALL-CONSENT-DEVICE-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-INTERACTION-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-IOS-CHAT-EDGE-ADAPTER-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-LINEAR-SECRETARY-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MAPREDUCE-MULTIHOST-SIM-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-AUTHORING-FIRST-RUN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-DEVICE-REQUESTS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-JSON.json +19 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SCENARIO-CATALOG-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-FRAME-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MOCK-SEAT-PTY-SEQUENCE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-ACTOR-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-MULTI-TENANT-RELAY-WORLD-TS.json +20 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NETWORK-SANDBOX-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-CORE-INPUT-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-ROUTE-DEVICE-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NEXT-TUI-SEAT-SCENARIOS-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-NL-SCENARIO-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-ONBOARDING-FIRST-RUN-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-OUTBOUND-GUARD-SIM-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-RELEASE-OBSERVE-ROUTE-WORLD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PLUGIN-YAML-GEN-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-FEDERATION-SIM-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-PHASE-PREWARM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-MATCH-BY-KIND-SIM-TS.json +25 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-SHARED-FAKE-BOUNDARY-TS.json +26 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-POD-REUSE-WORLD-TS.json +27 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-AUTOREPAIR-DEVICE-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PR-LAND-DRIFT-GATE-DEVICE-TS.json +26 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PTY-KEY-MODIFIERS-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PUBLIC-AUTH-PROVIDER-CLOUD-VM-SIM-TS.json +7 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-PROVENANCE-BADGE-WORLD-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-PWA-RETAINED-ROUTES-WORLD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-READINESS-COUNTDOWN-TS.json +24 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-REAL-TARGET-SANDBOX-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-EVENT-TRACE-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-PUBLISH-DEVICES-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SAME-VERSION-RUN-ADOPTION-SIM-TS.json +15 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-SEAT-GUARD-CHILD-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RELEASE-SIM-RIG-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RENDER-FRAME-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESEARCH-DECISION-CHAIN-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RESUME-PICKER-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-EVENT-RESPONSE-SCORECARD-TS.json +28 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-RLA-MACROPHAGE-HEAL-TIMEOUT-STALE-OUTPUT-SIM-TS.json +4 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SAFE-PUBLIC-COPY-PUBLISH-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SCENARIO-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SECRET-CANARY-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SEMINAR-REHEARSAL-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SERVICE-KEY-SETUP-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SESSION-ID-SEED-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-COVERAGE-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SIM-RECEIPT-TS.json +8 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SKILLS-TOOLS-SHELL-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SLASH-MENU-FRAMES-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SMART-MERGE-WORLD-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-SUBAGENT-TOOLS-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TA-LAND-COUNT-DISPATCHER-SIM-TS.json +17 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-PARENT-HOST-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-AGENT-REJUDGE-ON-HEAD-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TASK-ORCHESTRATOR-SURFACES-SELF-IMPLEMENT-POD-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REMOTE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TEMP-GIT-REPO-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TERM-SLASH-DEVICE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ASYNC-FAIL-LOOP-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TOOL-ROUTER-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-DECISION-SIM-TS.json +18 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TRAIN-MANAGER-WORLD-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TTY-FOREGROUND-STEAL-CHILD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-STATES-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-TURN-THROW-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-DEFAULT-SPARSE-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-USER-CONFIG-TUI-DIET-SIM-TS.json +11 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SIM-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-POOL-REUSE-SWITCH-SIM-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WARM-SI-REUSE-SIM-TS.json +29 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-CHAOS-RUNTIME-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-HOST-CHAOS-TS.json +30 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-REGRESSION-SUITE-TS.json +9 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SCHEMA-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-SNAPSHOT-TS.json +31 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-STORE-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-TS.json +33 -0
- package/catalog/sim-world-device-catalog-fragments/devices/MD-UX-SIM-WORLD-WATCH-TS.json +27 -0
- package/catalog/sim-world-device-catalog-fragments/metadata.json +3 -0
- package/catalog/ux-sim/fixtures/adaptive-graph-v1.yaml +18 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/README.md +15 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00010--scripts-tui-sim-bench-ts-adf79d7e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00020--scripts-tui-sim-ts-c9bd7af7.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00030--scripts-ux-sim-ts-e5b4dead.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00040--scripts-voice-dogfood-sim-ts-0e5441cd.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00050--scripts-voice-pwa-sim-ts-831ba2c9.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00060--scripts-release-loop-gate-autoheal-sim-evidence--1dfbf6e9.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00070--scripts-release-loop-gate-node-sim-ts-bb18473a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00080--scripts-release-loop-gate-bisect-ts-0a24b781.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00090--scripts-release-loop-gate-bisect-test-ts-93276556.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00100--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00110--scripts-release-loop-tui-sim-node-ts-81456cc3.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00120--scripts-lib-pwa-scenarios-acp-replay-ts-f5b22233.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00130--scripts-lib-pwa-scenarios-cdp-driver-ts-f888fe21.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00140--scripts-lib-pwa-scenarios-runner-ts-482bae4e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00150--scripts-lib-pwa-scenarios-scenarios-ts-b6642642.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00160--test-fixtures-acp-initialize-stub-ts-dda92993.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00170--test-fixtures-mock-lsp-server-ts-5607efec.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00180--test-helpers-intake-fake-repo-ts-313e4fab.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00190--test-ux-sim-aimock-local-ts-346e03cb.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00200--scenarios-dashboard-default-yaml-f2d56850.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00210--scenarios-heap-graph-yaml-d9d0d2a9.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00220--scenarios-iul-timeline-viewer-yaml-449a5fc2.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00230--scenarios-ux-sim-provider-4xx-no-provider-yaml-0d620991.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00240--scenarios-ux-sim-release-sim-rig-yaml-3ec55c14.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00250--tests-scenarios-4provider-feature-impl-yaml-d76ada66.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00260--tests-scenarios-capability-level-11-yaml-2f16c5ed.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00270--tests-scenarios-codex-baseline-yaml-8a635e8e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00280--tests-scenarios-codex-opus-2way-yaml-5e0502d6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00290--tests-scenarios-codex-variance-w5f-yaml-4ec32047.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00300--tests-scenarios-multi-turn-cache-rate-yaml-eb8a6f86.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00310--tests-scenarios-repl-rotation-chain-yaml-6e9a6646.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00320--tests-scenarios-repl-self-debug-arc-yaml-549e12af.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00330--tests-scenarios-repl-tool-doom-recovery-yaml-06a7412a.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00340--src-playground-scenario-default-scenarios-ts-45b5ee3e.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00350--src-playground-scenario-fake-harness-ts-870235f6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00360--src-showroom-outbound-channels-stubs-ts-d2dee3b2.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00370--test-telegram-surface-hitl-test-ts-1a40e9ff.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00380--src-ux-sim-author-reviewer-precheck-device-ts-92e65331.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00390--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00400--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00410--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00420--src-release-loop-macrophage-heal-ts-30c76fcb.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00430--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00440--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00450--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00460--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00470--src-ux-sim-readiness-countdown-ts-7955f662.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00480--src-ux-sim-readiness-countdown-test-ts-74503e51.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00490--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00500--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00510--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00520--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00530--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00540--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00550--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00560--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00570--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00580--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00590--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00600--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00610--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00620--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00630--src-ux-sim-graph-compose-trigger-sim-test-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +9 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +9 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/candidates/00660--scripts-release-loop-gate-node-test-ts.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--scripts-release-loop-gate-node-test-ts.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00010--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00020--src-ux-sim-seminar-rehearsal-test-ts-b7d04c41.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00030--src-ux-sim-aside-feedback-loop-ts-bc55d132.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00040--scripts-release-loop-gate-bisect-ts-0a24b781.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00050--scripts-release-loop-gate-bisect-test-ts-93276556.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00060--scripts-release-loop-gate-bisect-sidecar-ts-8537597a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00070--src-release-loop-macrophage-heal-ts-30c76fcb.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00080--src-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00090--src-ux-sim-pr-land-drift-gate-device-ts-7046aa17.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00100--src-ux-sim-app-contract-secret-entropy-ts-096d587b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00110--src-ux-sim-app-contract-secret-entropy-test-ts-20663c84.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00120--src-ux-sim-readiness-countdown-ts-7955f662.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00130--src-ux-sim-readiness-countdown-test-ts-74503e51.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00140--src-ux-sim-fake-app-drive-world-ts-0628e0fc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00150--src-ux-sim-fake-app-drive-world-test-ts-5e5ccb70.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00160--src-ux-sim-fake-app-source-concurrent-writer-ts-d552ec7a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00170--src-ux-sim-fake-app-source-world-ts-8decb8fc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00180--src-ux-sim-fake-app-source-world-test-ts-62c86a9c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00190--src-ux-sim-fake-google-drive-world-ts-ea35958c.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00200--src-ux-sim-fake-google-drive-world-test-ts-b1893a04.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00210--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00220--src-ux-sim-fake-temp-cleanup-ts-78630a27.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00230--src-ux-sim-fake-temp-cleanup-test-ts-d0ed21bc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00240--src-ux-sim-release-same-version-run-adoption-sim-ts-0a0b3e7e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00250--src-ux-sim-release-same-version-run-adoption-sim-test-ts-e50288fb.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00260--src-ux-sim-graph-resume-any-entry-ts-f4e753c4.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00270--src-ux-sim-graph-resume-any-entry-test-ts-63d01d16.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00280--src-ux-sim-graph-compose-trigger-sim-test-ts.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/catalog-additions/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00000--multi-actor-world-20261110.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00010--sim-fake-providers-av-4883a32d.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00020--codex-wire-capture-1bb11a5e.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00030--fake-app-auth-a12b9d72.json +34 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00040--fake-app-traffic-10bb14b5.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00050--fake-app-realtime-b675ae5d.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00060--fake-llm-4e9d0461.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00070--fake-fetch-24e15acf.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00080--fake-data-guard-boundary-6d63fa1b.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00090--fake-executable-0d4932e9.json +52 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00100--fake-payment-36658cf7.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00110--git-worktree-accel-measure-f2e46787.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00120--fake-github-4447f89b.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00121--fake-cred.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00122--fake-feeds.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00130--fake-kubectl-1d602089.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00140--fault-nexus-stall-7854e333.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00150--warm-pool-reuse-sim-7748cb2f.json +45 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00160--fake-fleet-55e1776a.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00170--fake-herdr-61d3593c.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00180--fake-clock-89a347a7.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00190--fake-dns-cert-b17dcd51.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00200--fake-ssh-6012493b.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00210--fake-cloud-vm-990dc784.json +61 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00220--temp-git-remote-03a486eb.json +24 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00230--fake-land-queue-bc0138c9.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00240--world-runtime-d26d02c9.json +83 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00250--secret-canary-e8fd8f58.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00260--scenario-runner-a9afa458.json +42 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00270--sim-mailbox-d26bb613.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00280--draft-inventory-34f59a02.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00290--linear-secretary-ecf757fe.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00300--release-graph-rig-069c8c3b.json +133 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00310--graph-engine-selector-1b47d4df.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00320--sim-event-log-path-74a7df46.json +52 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00330--tui-interaction-8e9968ff.json +65 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00340--fault-injection-60e2a635.json +49 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--gate-receipt-file-closure-cas.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00350--grid-chaos-driver-312fbd1c.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00360--product-devices-b83cabdd.json +61 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00370--turn-throw-sim-fa6bd37b.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00380--first-run-and-seminar-f7ec0d9a.json +50 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00390--support-fakes-4ac8f28e.json +67 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00400--author-reviewer-precheck-29e760be.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00410--research-decision-chain-312201c5.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00420--sim-universe-world-lifecycle-0ccd91ce.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00430--sim-universe-world-yaml-schema-3a0c6c68.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00440--grid-ledger-95b7955f.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00450--telegram-video-receipt-3b9512a2.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00451--fake-telegram-outbound-briefing.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00460--aside-feedback-loop-4e4a0842.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00470--heal-reauthor-materialized-f16c0ffc.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00480--device-fidelity-b30563a6.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00490--install-consent-d43aab59.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00500--warm-si-reuse-sim-cd2ce529.json +44 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--pod-reuse-residue-fault-faeb368d.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--public-auth-provider-cloud-vm-sim-161386f5.json +43 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00510--warm-pool-declare-path-sim-553b1d90.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00520--fake-ps-d6df0bab.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00530--fake-app-storage-48587412.json +42 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00540--backend-tier-device-f32db49f.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00550--fake-higgsfield-b3207190.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00560--temp-git-repo-114a0526.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00570--rla-event-response-scorecard-a2c92bfd.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00580--app-contract-secret-entropy-e9beed1f.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00590--fake-app-drive-world-f2c3e58c.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00600--fake-app-source-world-445af8b0.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00610--fake-google-drive-world-c81301f3.json +40 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00620--fake-temp-cleanup-1d778211.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00630--git-push-timeout-partial-outcome-remote-verify-f90afeae.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00640--pod-reuse-match-by-kind-sim-ccc95426.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00650--pod-reuse-world-e1c91756.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00660--pr-land-drift-gate-31434d33.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--edge-creator-4d59199b.json +45 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00670--readiness-countdown-db1a7536.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00680--rla-context-release-status-arrival-event-740d889b.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00690--sim-catalog-manual-fragment-merge-sim-9a35f50d.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--git-fetch-fresh-skip-10e18190.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00700--smart-merge-world.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--pod-phase-prewarm-3bc0dd35.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--release-graph-receipt-audit.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00710--ta-land-count-dispatcher-sim.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00720--fake-bin-args-sim.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00730--pr-land-drift-autorepair-device.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00740--gate-closure-lazy-require-sim.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00890--worktree-deps-shared-store.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00900--fake-adb-phone-world.json +37 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--fake-android-client-b8b02ae9.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--gate-repair-multi-file-sim.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--phone-pwa-selfheal.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00910--release-same-version-run-adoption-sim-ff3df430.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/00920--repo-git-maintenance.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01000--install-one-liner-failsafe.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--relay-edge-first-host-sim.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01010--seat-mail-wake-4e271489.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--control-serve-lease-default-sim.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--flutter-deploy-journey.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01020--pod-phase-prewarm-sim.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01030--pod-phase-prewarm-hit-sim.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--adaptive-graph-design.json +34 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--app-upgrade-path.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--fake-market-feed.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--graph-v2-lowering.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--light-rc-long-run-device-0d845681.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01040--sim-impact-unified-check-804f7466.json +35 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01041--plugin-yaml-gen.json +33 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--absorb-graph-v2-rungraph-4b5a6751.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--graph-policy-lint.json +30 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01050--mini-board-card-deb603f7.json +29 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01100--graph-trigger-hook-device.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01101--graph-trigger-registry-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01103--graph-event-entry-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01104--graph-placement-lease-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01110--sim-mapreduce-multihost.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01600--fake-absorb-ingest.json +14 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01610--graph-compose-trigger-sim.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01620--app-scratch-bootstrap.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01630--nl-scenario-proposal.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01650--network-sandbox.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01670--pod-federation-sim.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01680--fake-mobile-toolchain.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01690--fake-app-failures.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--sim-receipt-proof-658f05e1.json +38 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01700--world-regression-suite.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-cloud-billing-world.json +41 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--fake-member-oidc-world.json +47 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--log-volume-world-4cfcdfcd.json +15 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--tool-router-world.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01710--train-manager-world.json +46 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--census-oracle-axis-world-6918999a.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--fake-agent-hook-host.json +39 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01720--next-tui-plugin-wizard.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01730--outbound-guard-sim-b65e7aca.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01740--graph-run-lifecycle-world-99feb920.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01750--hotspot-file-lease-world.json +27 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01850--pwa-static-swap.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01860--pwa-provenance-badge-world-6505d1f7.json +31 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/devices/01870--rla-macrophage-heal-timeout-stale-output.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/metadata.json +36 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00010--test-ux-sim-aimock-local-ts-346e03cb.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00020--test-telegram-surface-hitl-test-ts-1a40e9ff.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00030--src-ux-sim-safe-public-copy-publish-ts-fecca28c.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00040--src-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-bfd2b9a0.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00640--src-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/omission-required-paths/00650--src-ux-sim-graph-run-lifecycle-world-test-ts-9a932579.json +1 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-fake-agent-hook-host--d684e4e6.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-1-graph-policy-lint--a3217972.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-duplicate-36330--00a4c628.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-mock-catalog-glm-fallback-regression--3008ce2b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-notify-capability--377e3b9b.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-3-sim-fake-app-failures-android-voice-photo-note--2cf7eecc.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-guardian-train-worker-lifecycle--81fc2727.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-4-simkit-receipt-badge--403f2c90.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/absorb-brief-graph-contract-36172--adebc8d7.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-36414-mapreduce-core--3d93d2ed.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-graph-instance-pause-cancel-fork--03ed48f5.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/gate-g2-mapreduce-core--8e0f99c7.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/graph-hook--6004207a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/hotspot-file-lease-world--7a989baf.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-a-36129-numguard--6bf14d0e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-graph-v2-lower--5cfb0e37.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-b-train-manager-world--d8aadd96.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/mvp-c-app-scratch-bootstrap-sim--5bc6aa66.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-core-input--d3b85b0e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opc-next-tui-fold-default--aee623bd.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-absorb-brief-graph-contract--322f06ec.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/opt-sim-multi-actor--70a91caa.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-mock-catalog-4--6f2ee6aa.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-fake-feeds--5f8bba8e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-crawl-sim-real-target-sandbox--17a5454a.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-kaist-deploy-from-tui-pwa--e1c5986f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-census-oracle-axis--eac8e1dd.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-gate-no-wallclock-1--a8ad27a8.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-logvol-log-volume-world--24e1d1ea.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-mkt-sim-regression-suite--c8633fb2.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-first-party-plugins-all--b202b190.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-graph-route-allowlist--565dc688.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-plugin-multi-active--a95dc218.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-search-only--f91a0e19.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-toolroute-tool-router-world--4e6a7c56.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/r-warmpool-pod-warm-normalize--dc25fd37.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/sim-fake-cred--ef5d3497.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/tool-router-low-risk-native--4fcc1519.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-mini-board-card-projection--1a257324.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-resource-ledger-public-auth--9372a56f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/ux-rla-pwa-formal-update--8b6d47f1.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-cloud-billing-world--1dace52e.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-fake-market-feed-sim-impact-app-upgrade--7bbacec6.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/reviews/win-1-outbound-guard-sim--4c230f2f.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00010--ux-ms-01-73ee5d56.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00020--ux-ms-02-88d521fa.json +32 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00025--release-macrophage-heal-fd63c32d.json +28 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00030--release-graph-prepub-fanout-1beb8236.json +23 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00035--arg-macro-canvas-sim.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00036--release-graph-absorb-all-0307.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--release-macro-chain-e2e-1109.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--rla-rehearsal-cloud-resume-sim-1f54baa1.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00040--ux-ms-03-0888aa4c.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00050--ux-ms-04-46d9b0ff.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00060--ux-ms-05-d309d631.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00070--ux-ms-06-b87b5f50.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00080--ux-ms-07-45b8212b.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00090--ux-ms-08-d047fc5e.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00100--ux-ms-09-75e68cac.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00110--ux-ms-11-e621d4ea.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00120--ux-ms-12-af6a74c3.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00130--night-train-dead-pid-lock-9f67d397.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00140--author-precheck-applied-4a55eaf2.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00150--author-precheck-rejected-unprovable-08ab0402.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00160--safe-public-copy-publish-redaction-e80f0180.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00170--sw-freeze-d66deac8.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00180--sim-hq-move-7fc41ad6.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00190--sim-chain-land-c1305d4c.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00200--ux-ms-13-995bb160.json +25 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00210--app-contract-secret-entropy-bd4fecf8.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00220--app-source-snapshot-896a2618.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00230--app-web-drive-tenant-cd467e6c.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00240--git-push-timeout-partial-outcome-remote-verify-52419971.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--google-drive-list-readonly-90287835.json +21 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00250--ux-ms-pod-phase-prewarm.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--rla-launch-countdown-1107-f4b4bc86.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00260--ux-ms-pod-phase-prewarm-hit.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00270--task-temp-cleanup-a5f4b922.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00280--sim-release-same-version-run-adoption-0bc8d711.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/00290--simkit-receipt-badge-dcacf46e.json +26 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01010--graph-resume-any-entry-sim-9bc2289f.json +20 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--flutter-deploy-journey.json +19 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01020--seat-mail-wake-all-addresses-365812cf.json +22 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01030--graph-run-lifecycle-pause-owner-death-6011d381.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01031--graph-run-lifecycle-cancel-owner-death-60832435.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01032--graph-run-lifecycle-fork-owner-death-b857f8a0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/scenarios/01720--fake-agent-hook-host.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-exclusions/00010--scenarios-ux-sim-mk-ms-01-yaml-917748f2.json +4 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00010--md-ux-sim-aside-feedback-loop-ts-f21f1507.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00020--md-ux-sim-author-reviewer-precheck-device-ts-b2a9abd6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00030--md-ux-sim-backend-tier-device-ts-54b7fd84.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00040--md-ux-sim-boot-daemon-tools-pty-shell-device-ts-dd80678b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00050--md-ux-sim-browser-hand-ts-d06db15a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00060--md-ux-sim-burst-ready-ladder-sim-ts-6dad5f6c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00070--md-ux-sim-chain-land-ts-0343338c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00080--md-ux-sim-classic-tui-seat-scenarios-ts-20fee020.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00090--md-ux-sim-cli-config-audit-device-ts-ce53777f.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00100--md-ux-sim-codex-wire-capture-ts-8cda31a6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00110--md-ux-sim-computer-use-ts-ce46f504.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00120--md-ux-sim-dashboard-event-loop-stall-monitor-dev-aa29de9c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00130--md-ux-sim-device-fidelity-ts-f5cd1c2c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00140--md-ux-sim-draft-inventory-builder-ts-c942f9a2.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00150--md-ux-sim-event-monkey-ts-7a173131.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00160--md-ux-sim-fake-app-auth-ts-36fadfd1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00170--md-ux-sim-fake-app-host-ts-f97c7aa0.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00180--md-ux-sim-fake-app-realtime-ts-25496e57.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00190--md-ux-sim-fake-app-storage-ts-4dd69d8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00200--md-ux-sim-fake-app-traffic-ts-f1f5e552.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00210--md-ux-sim-fake-bin-ts-cf8e7614.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00220--md-ux-sim-fake-browser-page-ts-cd408a66.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00230--md-ux-sim-fake-clock-ts-8ad5fbca.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00240--md-ux-sim-fake-cloud-vm-ts-6dd59466.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00250--md-ux-sim-fake-data-guard-boundary-ts-47048355.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00260--md-ux-sim-fake-dns-cert-ts-32045bf7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00270--md-ux-sim-fake-elevenlabs-ts-35e342bf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00280--md-ux-sim-fake-fetch-ts-65584925.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00290--md-ux-sim-fake-fleet-ts-1375b9f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00300--md-ux-sim-fake-gh-ts-7f98dfa3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00310--md-ux-sim-fake-herdr-ts-b888704c.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00320--md-ux-sim-fake-higgsfield-ts-998bff8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00330--md-ux-sim-fake-kubectl-ts-3c86b0f0.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00340--md-ux-sim-fake-land-queue-ts-8180eab3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00350--md-ux-sim-fake-linear-device-ts-b5add3d0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00360--md-ux-sim-fake-llm-ts-df79e477.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00370--md-ux-sim-fake-payment-ts-75de40a0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00380--md-ux-sim-fake-ps-ts-a0e17feb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00390--md-ux-sim-fake-ssh-ts-6a7a68f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00400--md-ux-sim-fake-stt-ts-a4be8d74.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00410--md-ux-sim-fake-telegram-video-ts-0a411065.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00420--md-ux-sim-fault-cred-expiry-ts-46ce5b1a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00430--md-ux-sim-fault-glm-no-credential-ts-c9d22ea7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00440--md-ux-sim-fault-needs-human-reason-repair-ts-79e657b4.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00450--md-ux-sim-fault-nextmove-dispatch-ts-732fedbb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00460--md-ux-sim-fault-nexus-stall-ts-a9476e07.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00470--md-ux-sim-fault-pod-child-result-ts-029c2b11.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00480--md-ux-sim-fault-pod-codex-503-ts-2095dc24.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00490--md-ux-sim-fault-pod-death-ts-c4332c01.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00500--md-ux-sim-fault-pod-reuse-residue-ts-f6ec0683.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00510--md-ux-sim-fault-pool-cap-ts-704a8fd1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00520--md-ux-sim-fault-scope-escape-lift-ts-89d70ebb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00530--md-ux-sim-fault-sqlite-busy-ts-e55c6596.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00540--md-ux-sim-fault-tui-400-autoheal-ts-9c8c4c90.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00550--md-ux-sim-fixtures-git-worktree-accel-linux-json-292d13eb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00560--md-ux-sim-gate-roster-second-pool-ts-71ab79a0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00570--md-ux-sim-gate-shard-host-reroute-ts-d53fb003.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00580--md-ux-sim-goal-device-ts-081f27d5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00590--md-ux-sim-goal-interim-trace-ts-a294f6eb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00600--md-ux-sim-graph-engine-sim-ts-b396d6cd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00610--md-ux-sim-graph-runtime-overlay-event-path-ts-85e231ed.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00620--md-ux-sim-graph-runtime-overlay-event-path-worke-44d01497.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00630--md-ux-sim-grid-chaos-driver-ts-3aeaa007.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00640--md-ux-sim-grid-ledger-ts-47aa3bbf.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00650--md-ux-sim-grid-ready-tiers-ts-ce1a3d02.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00660--md-ux-sim-headless-tui-ts-efe53045.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00670--md-ux-sim-heal-reauthor-materialized-ts-f0885108.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00680--md-ux-sim-hq-move-sim-ts-3f87b093.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00690--md-ux-sim-in-process-cli-ts-a7cf98f0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00700--md-ux-sim-input-history-ts-373c28e3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00710--md-ux-sim-install-consent-device-ts-049427b0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00720--md-ux-sim-interaction-ts-1864df2b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00730--md-ux-sim-linear-secretary-ts-325a38c0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00740--md-ux-sim-mock-authoring-first-run-child-ts-58346a8b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00750--md-ux-sim-mock-authoring-first-run-ts-f6fa0f7c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00760--md-ux-sim-mock-device-requests-ts-eeefc29f.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00780--md-ux-sim-mock-scenario-catalog-ts-d5697910.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00790--md-ux-sim-mock-seat-pty-frame-child-ts-a918240e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00800--md-ux-sim-mock-seat-pty-frame-ts-64ad26cd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00810--md-ux-sim-mock-seat-pty-sequence-child-ts-942048e3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00820--md-ux-sim-mock-seat-pty-sequence-ts-6ea89eee.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00830--md-ux-sim-next-tui-seat-scenarios-ts-f6041f67.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00840--md-ux-sim-onboarding-first-run-device-ts-04866faf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00850--md-ux-sim-pty-key-modifiers-device-ts-c223afb6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00860--md-ux-sim-release-event-trace-ts-2a3b45ba.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00870--md-ux-sim-release-publish-devices-ts-b6bcf64b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00880--md-ux-sim-release-sim-rig-ts-05f20f16.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00890--md-ux-sim-render-frame-ts-275662e1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00900--md-ux-sim-research-decision-chain-ts-9ba3915b.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00910--md-ux-sim-resume-picker-device-ts-9057ce38.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00920--md-ux-sim-rla-event-response-scorecard-ts-005ca7af.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-arg-macro-canvas-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00930--md-ux-sim-safe-public-copy-publish-ts-b46b6ba6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00940--md-ux-sim-scenario-ts-409febfe.json +13 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00950--md-ux-sim-secret-canary-ts-b9d5f354.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00960--md-ux-sim-seminar-rehearsal-ts-c0dcc1cf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00970--md-ux-sim-service-key-setup-ts-fc2578e7.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00980--md-ux-sim-session-id-seed-ts-12206acb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/00990--md-ux-sim-sim-coverage-ts-fd46c0fe.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01000--md-ux-sim-skills-tools-shell-device-ts-a63ab153.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01010--md-ux-sim-slash-menu-frames-ts-fc04d9ce.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-flutter-deploy-journey-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01020--md-ux-sim-subagent-tools-device-ts-6ecdf005.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01030--md-ux-sim-task-agent-parent-host-device-ts-7a97b5f6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01040--md-ux-sim-task-agent-rejudge-on-head-device-ts-33893bfb.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01050--md-ux-sim-task-orchestrator-surfaces-self-implem-18bdb425.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01060--md-ux-sim-temp-git-remote-ts-f64f9359.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01070--md-ux-sim-temp-git-repo-ts-cd68ece3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01080--md-ux-sim-term-slash-device-ts-e7ee79b6.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01090--md-ux-sim-tool-async-fail-loop-ts-057c354d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01100--md-ux-sim-tty-foreground-steal-child-ts-bfe16e86.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01110--md-ux-sim-turn-states-ts-c18238ab.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01120--md-ux-sim-turn-throw-sim-ts-36260397.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01130--md-ux-sim-warm-pool-reuse-sim-ts-47a18b34.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01140--md-ux-sim-warm-pool-reuse-switch-sim-ts-2b0a1583.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01150--md-ux-sim-warm-si-reuse-sim-ts-6e790b8d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01160--md-ux-sim-world-chaos-runtime-ts-45e1a99c.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01170--md-ux-sim-world-host-chaos-ts-9d61588e.json +12 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01180--md-ux-sim-world-schema-ts-7b596511.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01190--md-ux-sim-world-snapshot-ts-7d31ed92.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01200--md-ux-sim-world-store-ts-64cd54bf.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01210--md-ux-sim-world-ts-ad60826b.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01220--md-ux-sim-world-watch-ts-d45007fd.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01230--md-ux-sim-pod-reuse-world-ts-d8ea8bc8.json +11 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01240--md-ux-sim-app-contract-secret-entropy-ts-e4d19d66.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01250--md-ux-sim-app-kill-switch-world-ts-e89b604d.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01260--md-ux-sim-fake-app-db-world-ts-d394fe23.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01270--md-ux-sim-fake-app-drive-world-ts-f5bb931e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01280--md-ux-sim-fake-app-source-concurrent-writer-ts-d342114a.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01290--md-ux-sim-fake-app-source-world-ts-4cdf1a61.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01300--md-ux-sim-fake-google-drive-world-ts-11b7f0da.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01310--md-ux-sim-fake-relay-world-ts-d4c096f5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01320--md-ux-sim-fake-temp-cleanup-ts-299fbf77.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01330--md-ux-sim-git-push-timeout-partial-outcome-remote-verify-ts-c5185fb3.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01340--md-ux-sim-multi-tenant-relay-world-ts-e2fc28d2.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01350--md-ux-sim-pod-reuse-match-by-kind-sim-ts-782c5911.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01360--md-ux-sim-pod-reuse-shared-fake-boundary-ts-a16285a5.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01370--md-ux-sim-pr-land-drift-gate-device-ts-3df0178e.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01380--md-ux-sim-readiness-countdown-ts-48cf04b4.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01390--md-ux-sim-train-manager-decision-sim-ts-9b4695ad.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01410--md-ux-sim-edge-creator-ts-b25cb517.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-pod-phase-prewarm-ts-a137c8d1.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01420--md-ux-sim-smart-merge-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01430--md-ux-sim-ta-land-count-dispatcher-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01440--md-ux-sim-fake-bin-args-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01450--md-ux-sim-pr-land-drift-autorepair-device-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01460--md-ux-sim-in-process-cli-539-file-adoption-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01470--md-ux-sim-release-same-version-run-adoption-sim-ts-9e32e7d0.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01480--md-ux-sim-fake-adb-phone-world-ts-76033333.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01490--md-ux-sim-fake-app-db-backup-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01500--md-ux-sim-gate-image-preflight-runtime-identity-flow-sim-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01510--md-ux-sim-device-catalog-snapshot-fragments-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-fake-android-client-ts-77f6d965.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01520--md-ux-sim-plugin-release-observe-route-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01530--md-ux-sim-pwa-retained-routes-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01540--md-ux-sim-gate-image-layered-delta-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01550--md-ux-sim-user-config-default-sparse-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01560--md-ux-sim-release-sim-rig-seat-guard-child-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01570--md-ux-sim-gate-steady-state-proof-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01580--md-ux-sim-user-config-tui-diet-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01590--md-ux-sim-edge-creator-nightly-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-absorb-ingest-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01600--md-ux-sim-fake-telegram-outbound.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-app-upgrade-path-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01610--md-ux-sim-next-tui-core-input-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01611--md-ux-sim-plugin-yaml-gen-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01620--md-ux-sim-app-scratch-bootstrap-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01621--md-ux-sim-fake-nexus-board-server-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01622--md-ux-sim-graph-diff-apply-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01623--md-ux-sim-mapreduce-multihost.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01630--md-ux-sim-ios-chat-edge-adapter-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01640--md-ux-sim-nl-scenario-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01650--md-ux-sim-network-sandbox-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01660--md-ux-sim-next-tui-route-device-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01670--md-ux-sim-pod-federation-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01680--md-ux-sim-fake-mobile-toolchain-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-fake-feeds-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-multi-actor-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01690--md-ux-sim-sim-receipt-ts-fbac5ddd.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01691--md-ux-sim-fake-app-failures-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01700--md-ux-sim-world-regression-suite-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-cloud-billing-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-fake-member-oidc-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-real-target-sandbox-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-tool-router-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01710--md-ux-sim-train-manager-world-ts.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-census-oracle-axis-world-ts-0dd03008.json +10 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-fake-agent-hook-host-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01720--md-ux-sim-next-tui-plugin-wizard-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-outbound-guard-sim-ts-a885ec98.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01730--md-ux-sim-public-auth-provider-cloud-vm-sim-ts-6e424ea6.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01740--md-ux-sim-graph-run-lifecycle-world-ts-61f58868.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-hotspot-file-lease-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01750--md-ux-sim-pwa-provenance-badge-world-ts-cf2acbfe.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-graph-trigger-hook-device-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01760--md-ux-sim-rla-macrophage-heal-timeout-stale-output-sim-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01762--md-ux-sim-graph-event-entry-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/source-modules/01763--md-ux-sim-graph-placement-lease-world-ts.json +8 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00010--ev-0042-8a37502e.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00020--ev-0107-09ba5618.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00030--hq-move-75a88e80.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00040--rla-er-01-68d954af.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00050--rla-er-02-1e5e64d1.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00060--rla-er-03-51a1b3d4.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00070--rla-er-04-8e22f866.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00080--rla-er-05-df87c68d.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00090--rla-er-06-ad13c028.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00100--rla-er-07-d2204757.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00110--rla-er-08-5ffce874.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00120--rla-er-09-f575779c.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00130--rla-er-10-ac9154fd.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00140--gate-pools-pinned-sweep-0c5e1f58.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00150--gate-mshq-unavailable-6f38fbd8.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00160--gate-both-unavailable-c4956825.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00170--gate-digest-mismatch-7b971872.json +5 -0
- package/catalog/ux-sim/mock-scenario-catalog-fragments/world-events/00180--gate-no-pinned-image-33bda9d9.json +5 -0
- package/graphs/apps/lecture-scrap-extract.yaml +10 -0
- package/graphs/apps/recipes.yaml +1 -0
- package/graphs/catalog/catalog.yaml +2 -2
- package/graphs/demo/kaist-key-feature/kaist-key-feature.yaml +30 -0
- package/graphs/demo/kaist-key-feature/recipes.yaml +1 -0
- package/graphs/demo/recipes.yaml +13 -0
- package/graphs/demo/solar-scene4.yaml +24 -0
- package/graphs/heal/heal-loop.yaml +10 -1
- package/graphs/heal/recipes.yaml +2 -0
- package/graphs/overlays/stop-heal-ladder.yaml +21 -0
- package/graphs/release/derive.json +37 -0
- package/graphs/release/macrophage-subscriber.yaml +4 -0
- package/graphs/release/node-command-bindings.json +18 -0
- package/graphs/release/plugin.json +34 -0
- package/graphs/release/recipes.yaml +78 -1
- package/graphs/release/release-edge-vocabulary.yaml +11 -0
- package/graphs/release/release-gate-domain-pack.yaml +9 -0
- package/graphs/release/release-graph.schema.yaml +7 -0
- package/graphs/release/release-loop-fanout.yaml +107 -0
- package/graphs/release/release-loop.yaml +77 -22
- package/graphs/release/rla/loop.yaml +30 -0
- package/graphs/release/rla/plugin.json +19 -0
- package/graphs/release/rla/recipes.yaml +11 -0
- package/graphs/release/rla/supervisor.yaml +23 -0
- package/graphs/templates/release/plugin.json +132 -0
- package/graphs/templates/release/recipes.yaml +20 -0
- package/graphs/templates/release/release-step.ts +27 -0
- package/graphs/templates/release/release.yaml +24 -0
- package/graphs/units/pod-reuse-prep.yaml +17 -0
- package/graphs/units/recipes.yaml +3 -0
- package/graphs/units/verbs/decide.yaml +19 -0
- package/graphs/units/verbs/make.yaml +19 -0
- package/graphs/units/verbs/recipes.yaml +10 -0
- package/graphs/units/verbs/watch.yaml +18 -0
- package/package.json +11 -1
- package/packs/gcp-architect-expand/content/decision-table.md +25 -0
- package/packs/gcp-architect-expand/content/security-decision-table.md +17 -0
- package/packs/gcp-architect-expand/knowledge-pack.json +12 -0
- package/plugins/absorb/graph/absorb-brief.yaml +63 -0
- package/plugins/absorb/graph/absorb-build.yaml +42 -0
- package/plugins/absorb/graph/absorb-ingest.yaml +18 -0
- package/plugins/absorb/graph/absorb-suggest-list.yaml +16 -0
- package/plugins/absorb/graph/recipes.yaml +1 -0
- package/plugins/absorb/graph/units/recipes.yaml +1 -0
- package/plugins/absorb/handlers/board-approval.ts +99 -0
- package/plugins/absorb/packs/member-apps/pack.yaml +14 -0
- package/plugins/absorb/plugin.json +276 -0
- package/plugins/absorb/plugin.yaml +102 -0
- package/plugins/absorb/sims/absorb-demo-world.yaml +44 -0
- package/plugins/absorb/skills/absorb/brief/SKILL.md +10 -0
- package/plugins/absorb/skills/absorb/build/SKILL.md +8 -0
- package/plugins/absorb/skills/absorb/card/SKILL.md +10 -0
- package/plugins/absorb/skills/absorb/suggest/SKILL.md +10 -0
- package/plugins/doc-draft/README.md +1 -1
- package/plugins/doc-draft/graphs/run-step.ts +7 -11
- package/plugins/elanous-app-deploy/plugin.json +34 -0
- package/plugins/elanous-app-deploy/skills/app-deploy/SKILL.md +5 -0
- package/plugins/elanous-observe/plugin.json +41 -0
- package/plugins/elanous-release/plugin.json +41 -0
- package/plugins/gcp-architect-expand/README.md +9 -0
- package/plugins/gcp-architect-expand/entitlements.json +28 -0
- package/plugins/gcp-architect-expand/graph.yaml +22 -0
- package/plugins/gcp-architect-expand/plugin.json +15 -0
- package/plugins/gcp-architect-expand/recipes.yaml +13 -0
- package/plugins/geo-check/README.md +2 -2
- package/plugins/geo-check/graphs/run-step.ts +6 -12
- package/plugins/graph-instance-view/fixtures/graph.view.json +24 -0
- package/plugins/graph-instance-view/fixtures/harness.view.json +21 -0
- package/plugins/graph-instance-view/fixtures/release.view.json +23 -0
- package/plugins/graph-instance-view/fixtures/resource.view.json +25 -0
- package/plugins/graph-instance-view/schema/view-model.v1.schema.json +126 -0
- package/plugins/iul-shared/materialize-intent-tool.ts +2 -1
- package/plugins/iul-shared/materializer.ts +2 -1
- package/plugins/kr-flow-composites/README.md +45 -0
- package/plugins/kr-flow-composites/graphs/battery-signal.yaml +22 -0
- package/plugins/kr-flow-composites/graphs/etf-price.yaml +12 -0
- package/plugins/kr-flow-composites/graphs/recipes.yaml +9 -0
- package/plugins/kr-flow-composites/graphs/sector-flow.yaml +18 -0
- package/plugins/kr-flow-composites/plugin.json +16 -0
- package/plugins/marketplace-market-data/graphs/units/market-ohlcv.yaml +23 -0
- package/plugins/marketplace-market-data/graphs/units/market-quote.yaml +21 -0
- package/plugins/marketplace-market-data/graphs/units/recipes.yaml +1 -0
- package/plugins/marketplace-market-data/plugin.json +23 -0
- package/plugins/marketplace-market-data/sims/n8n/execute-workflow-default.json +15 -0
- package/plugins/marketplace-market-data/sims/n8n/execute-workflow-explicit-contract.json +18 -0
- package/scenarios/dashboard-default.yaml +53 -0
- package/scenarios/heap-graph.yaml +46 -0
- package/scenarios/iul-timeline-viewer.yaml +46 -0
- package/scenarios/ux-sim/app-demo-1114.yaml +22 -0
- package/scenarios/ux-sim/arg-macro-canvas.yaml +78 -0
- package/scenarios/ux-sim/author-reviewer-precheck-applied.yaml +27 -0
- package/scenarios/ux-sim/author-reviewer-precheck-rejected-unprovable.yaml +27 -0
- package/scenarios/ux-sim/burst-ready-ladder.yaml +47 -0
- package/scenarios/ux-sim/demo1104-research-arg-graph.yaml +32 -0
- package/scenarios/ux-sim/draft-inventory-200.yaml +44 -0
- package/scenarios/ux-sim/fixtures/phone-pwa-selfheal-broken.html +19 -0
- package/scenarios/ux-sim/fixtures/release-cut-0306-shards.json +7023 -0
- package/scenarios/ux-sim/gate-deps-root-bake.yaml +17 -0
- package/scenarios/ux-sim/gate-receipt-carry-any-run.yaml +31 -0
- package/scenarios/ux-sim/gate-roster-second-pool-world.yaml +9 -0
- package/scenarios/ux-sim/gate-roster-second-pool.yaml +26 -0
- package/scenarios/ux-sim/gate-shard-receipt-payload-corrupt.yaml +14 -0
- package/scenarios/ux-sim/google-drive-files-list-readonly.yaml +21 -0
- package/scenarios/ux-sim/graph-runtime-overlay-event-stream.yaml +27 -0
- package/scenarios/ux-sim/kaist-lecture-scrap-app.yaml +14 -0
- package/scenarios/ux-sim/kaist-selfheal-stage.yaml +14 -0
- package/scenarios/ux-sim/knowhow-pack-release-heal-1107.md +39 -0
- package/scenarios/ux-sim/macro-chain-e2e.yaml +14 -0
- package/scenarios/ux-sim/macrophage-attribution-integration-1107.yaml +86 -0
- package/scenarios/ux-sim/n30-old-graph-measured-waiver.yaml +15 -0
- package/scenarios/ux-sim/night-train-dead-pid-lock.yaml +19 -0
- package/scenarios/ux-sim/night-train-world.yaml +13 -0
- package/scenarios/ux-sim/novice-versioning-scenario.ts +150 -0
- package/scenarios/ux-sim/novice-versioning-world.yaml +6 -0
- package/scenarios/ux-sim/phone-pwa-selfheal-trace.json +30 -0
- package/scenarios/ux-sim/provider-4xx-no-provider.yaml +26 -0
- package/scenarios/ux-sim/pwa-formal-update-world.yaml +5 -0
- package/scenarios/ux-sim/pwa-formal-update.yaml +8 -0
- package/scenarios/ux-sim/rehearsal-hard-2h-mandatory.yaml +37 -0
- package/scenarios/ux-sim/release-cut-preflight-regressions.yaml +31 -0
- package/scenarios/ux-sim/release-day-0307-replay.yaml +138 -0
- package/scenarios/ux-sim/release-gate-fanout.yaml +48 -0
- package/scenarios/ux-sim/release-heal-macrophage-bus.yaml +37 -0
- package/scenarios/ux-sim/release-incident-events-execution.yaml +114 -0
- package/scenarios/ux-sim/release-incident-events.yaml +98 -0
- package/scenarios/ux-sim/release-introduced-repair.yaml +40 -0
- package/scenarios/ux-sim/release-receipt-inheritance.yaml +24 -0
- package/scenarios/ux-sim/release-sim-chain-remaining.yaml +46 -0
- package/scenarios/ux-sim/release-sim-rig.yaml +266 -0
- package/scenarios/ux-sim/rla-arg-adaptive-heal.yaml +45 -0
- package/scenarios/ux-sim/rla-incident-policy-host-lost.yaml +17 -0
- package/scenarios/ux-sim/rla-postland-recovery-hitl.yaml +17 -0
- package/scenarios/ux-sim/rla-rehearsal-cloud-resume-sim.yaml +36 -0
- package/scenarios/ux-sim/rla-rehearsal-incident-sim-b.yaml +29 -0
- package/scenarios/ux-sim/sim-hq-move-world.yaml +9 -0
- package/scenarios/ux-sim/sim-hq-move.yaml +14 -0
- package/scenarios/ux-sim/tui-selfimplement-retry-loop.yaml +29 -0
- package/scenarios/ux-sim/warm-pool-reuse-world.yaml +117 -0
- package/scripts/check-graph-declaration.ts +20 -2
- package/scripts/ci-android-unit-tests.ts +46 -2
- package/scripts/ci-pwa-build-gate.ts +22 -2
- package/scripts/ci-typecheck-changed.ts +22 -8
- package/scripts/cli-spawn-sites.ts +114 -0
- package/scripts/corpus-process-group.ts +55 -0
- package/scripts/corpus-worker-lifecycle.ts +2 -7
- package/scripts/device-real-drive.mjs +216 -0
- package/scripts/device-real-drive.test.mjs +168 -0
- package/scripts/docs/generate-cli-anatomy.ts +1 -1
- package/scripts/fixtures/nl-routing/corpus.jsonl +17 -0
- package/scripts/fleet/host-readiness-sim.sh +198 -0
- package/scripts/fleet/host-readiness.sh +218 -0
- package/scripts/fleet/node-setup.sh +9 -4
- package/scripts/fleet/wsl-node-setup.sh +1 -1
- package/scripts/gate-contract-shadow-collector.py +417 -0
- package/scripts/gate-contract-shadow-collector.test.py +176 -0
- package/scripts/generate-conductor-cell-map.ts +73 -0
- package/scripts/generate-mock-scenario-catalog.ts +26 -0
- package/scripts/generate-sim-world-device-catalogs.ts +38 -17
- package/scripts/generate-ux-sim-device-manual.ts +1 -1
- package/scripts/graph-dryrun-baseline.ts +166 -0
- package/scripts/heal/run-role.ts +8 -3
- package/scripts/hq-repo-maintenance-cycle.ts +24 -0
- package/scripts/import-graph-scc.ts +54 -8
- package/scripts/install.ps1 +234 -50
- package/scripts/install.sh +139 -10
- package/scripts/kr-flow-composites.ts +86 -0
- package/scripts/land-preflight.ts +103 -0
- package/scripts/lib/deterministic-env.ts +2 -5
- package/scripts/lib/install-test-package.ts +31 -0
- package/scripts/lib/install-test-tier.ts +13 -0
- package/scripts/lib/next-tui-budget.ts +189 -0
- package/scripts/lib/nl-routing-screening.ts +13 -0
- package/scripts/lib/tui-runtime-static-closure.ts +59 -0
- package/scripts/load/app-serve-burst.ts +203 -0
- package/scripts/load/app-serve-live.ts +68 -0
- package/scripts/load/members-signup-burst.ts +141 -0
- package/scripts/marketing/generate-feature-map.ts +14 -6
- package/scripts/measure-goal-grounding-corpus.ts +3 -4
- package/scripts/measure-nl-routing-corpus.ts +108 -12
- package/scripts/measure-tool-display-lines.ts +1 -1
- package/scripts/migrate-omni-market-secrets.ts +98 -0
- package/scripts/morning-report.ts +2 -2
- package/scripts/next-tui-budget.ts +113 -0
- package/scripts/plugin-only-ratchet-baseline.json +267 -0
- package/scripts/plugin-only-ratchet.ts +213 -0
- package/scripts/plugins/generate-plugin-json.ts +95 -0
- package/scripts/public-leak-baseline.txt +0 -1
- package/scripts/qwen-pipeline-bench.ts +3 -7
- package/scripts/ratchets/test-interference-patterns.allowlist.txt +2 -22
- package/scripts/release-build.ts +5 -1
- package/scripts/release-loop/adaptive-gate-heal-adapter.ts +32 -5
- package/scripts/release-loop/adaptive-gate-heal.ts +65 -14
- package/scripts/release-loop/auto-approve-node.ts +35 -5
- package/scripts/release-loop/checklist-gate-node.ts +9 -1
- package/scripts/release-loop/contract-test-select.ts +127 -0
- package/scripts/release-loop/cut-branch.ts +248 -3
- package/scripts/release-loop/docs-node.ts +10 -10
- package/scripts/release-loop/emergency-publish-authorization.ts +29 -0
- package/scripts/release-loop/emergency-publish-gate-node.ts +129 -0
- package/scripts/release-loop/emergency-publish-switch-sim.ts +65 -0
- package/scripts/release-loop/emergency-publish-switch.ts +46 -0
- package/scripts/release-loop/export-check-node.ts +121 -11
- package/scripts/release-loop/export-check-remote.ts +146 -0
- package/scripts/release-loop/fixtures/gate-0307-key-diff.json +3293 -0
- package/scripts/release-loop/formal-receipt-radius.ts +32 -0
- package/scripts/release-loop/gate-api-leaf.ts +19 -0
- package/scripts/release-loop/gate-append-recheck-plan-node.ts +27 -0
- package/scripts/release-loop/gate-autoheal-sim-evidence.ts +2 -1
- package/scripts/release-loop/gate-baseline-isolated.ts +80 -0
- package/scripts/release-loop/gate-baseline-manifest.ts +12 -0
- package/scripts/release-loop/gate-baseline-receipt.ts +52 -14
- package/scripts/release-loop/gate-bisect-owner-mail.ts +106 -0
- package/scripts/release-loop/gate-bisect-sidecar.ts +52 -15
- package/scripts/release-loop/gate-bisect.ts +1 -1
- package/scripts/release-loop/gate-closure.ts +771 -28
- package/scripts/release-loop/gate-constants.ts +2 -0
- package/scripts/release-loop/gate-contract-surfaces.json +150 -0
- package/scripts/release-loop/gate-cut-snapshot.ts +67 -0
- package/scripts/release-loop/gate-cutover-switch-node.ts +32 -0
- package/scripts/release-loop/gate-file-receipt-audit-node.ts +142 -0
- package/scripts/release-loop/gate-file-receipts.ts +195 -0
- package/scripts/release-loop/gate-git.ts +68 -0
- package/scripts/release-loop/gate-image-pin-handshake.ts +57 -0
- package/scripts/release-loop/gate-image-pin.ts +242 -3
- package/scripts/release-loop/gate-image-runtime-identity.ts +41 -0
- package/scripts/release-loop/gate-key-diff.ts +138 -0
- package/scripts/release-loop/gate-lazy-require-measure.ts +55 -0
- package/scripts/release-loop/gate-nightly-audits.ts +11 -0
- package/scripts/release-loop/gate-node-cli.ts +17 -0
- package/scripts/release-loop/gate-node-sim.ts +43 -14
- package/scripts/release-loop/gate-node.ts +5 -5597
- package/scripts/release-loop/gate-partial.ts +83 -2
- package/scripts/release-loop/gate-radius-live.ts +181 -22
- package/scripts/release-loop/gate-radius-shadow.ts +19 -4
- package/scripts/release-loop/gate-receipt-hash.ts +147 -0
- package/scripts/release-loop/gate-recheck-plan-node.ts +9 -4
- package/scripts/release-loop/gate-repair-node.ts +424 -41
- package/scripts/release-loop/gate-reuse-identity.ts +17 -7
- package/scripts/release-loop/gate-runtime.ts +5958 -0
- package/scripts/release-loop/gate-same-run-recheck-node.ts +102 -0
- package/scripts/release-loop/gate-shard-artifacts.ts +134 -0
- package/scripts/release-loop/gate-shard-dispatch.ts +89 -15
- package/scripts/release-loop/gate-shard-load-flaky.ts +84 -0
- package/scripts/release-loop/gate-shard-receipt-carry.ts +106 -0
- package/scripts/release-loop/gate-shard-receipts.ts +453 -10
- package/scripts/release-loop/gate-shard-shell.ts +227 -0
- package/scripts/release-loop/gate-skip-by-evidence-node.ts +80 -0
- package/scripts/release-loop/gate-stalled-evidence.ts +106 -0
- package/scripts/release-loop/gate-test-summary.ts +11 -0
- package/scripts/release-loop/gate-train-cas-adapter.ts +56 -0
- package/scripts/release-loop/gate-train-file-cas.ts +123 -0
- package/scripts/release-loop/gate-train-receipts.ts +24 -18
- package/scripts/release-loop/gate-triage-node.ts +391 -47
- package/scripts/release-loop/gate-triage-types.ts +51 -0
- package/scripts/release-loop/gate-types.ts +320 -0
- package/scripts/release-loop/gate-warm-artifacts.ts +48 -2
- package/scripts/release-loop/hand-response-node.ts +258 -0
- package/scripts/release-loop/import-graph-scc-run.ts +46 -1
- package/scripts/release-loop/import-graph-scc.ts +2 -1
- package/scripts/release-loop/known-issues-node.ts +2 -1
- package/scripts/release-loop/mac-smoke-node.ts +1 -1
- package/scripts/release-loop/node-verdict.ts +23 -3
- package/scripts/release-loop/preflight.ts +148 -51
- package/scripts/release-loop/publish-node.ts +43 -7
- package/scripts/release-loop/pwa-build-typecheck.ts +183 -0
- package/scripts/release-loop/pwa-formal-update-node.ts +19 -0
- package/scripts/release-loop/pwa-formal-update.ts +196 -0
- package/scripts/release-loop/pwa-remote.ts +29 -0
- package/scripts/release-loop/pwa-scenarios-node.ts +31 -2
- package/scripts/release-loop/regression-suite-node.ts +44 -0
- package/scripts/release-loop/release-readiness.ts +185 -5
- package/scripts/release-loop/remote-worktree-setup.sh +53 -0
- package/scripts/release-loop/render-warm-control-manifest.ts +33 -4
- package/scripts/release-loop/repair-pr-landed.ts +94 -13
- package/scripts/release-loop/resume-cap.ts +1 -1
- package/scripts/release-loop/resume-release.ts +270 -171
- package/scripts/release-loop/resume-types.ts +29 -0
- package/scripts/release-loop/resume.ts +37 -35
- package/scripts/release-loop/rla-event-response-scorecard-report.ts +277 -0
- package/scripts/release-loop/rolling-main-gate.ts +363 -0
- package/scripts/release-loop/sweep-cert.ts +300 -0
- package/scripts/release-loop/traffic-event-hook-sim.ts +26 -0
- package/scripts/release-loop/traffic-event-hook.ts +383 -0
- package/scripts/release-loop/train-verdict.ts +162 -0
- package/scripts/release-loop/unattended-release.ts +191 -10
- package/scripts/release-loop/version-node.ts +164 -19
- package/scripts/replay-phone-pwa-selfheal-trace.ts +16 -0
- package/scripts/resource-ledger-url.ts +60 -0
- package/scripts/seat-worktree-add.sh +32 -0
- package/scripts/signal-digest-photo.ts +1 -1
- package/scripts/sim-impact-check.ts +119 -0
- package/scripts/sim-impact.ts +413 -0
- package/scripts/sim-real-target-worker.ts +19 -0
- package/scripts/smoke-higgsfield-app-cli-session.ts +90 -0
- package/scripts/test-census/similar-search.ts +9 -2
- package/scripts/test-census-similar-search.ts +14 -1
- package/scripts/test-census.ts +200 -18
- package/scripts/test-deterministic.ts +63 -8
- package/scripts/test-diet/node.ts +1 -1
- package/scripts/tsc-diet-measure.ts +225 -0
- package/scripts/update-cli-spawn-allowlist.ts +46 -0
- package/scripts/update-tui-size-ratchet.ts +10 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier-lanes.py +170 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/gate-tier.py +179 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/train-batch-live.py +2881 -0
- package/scripts/ux-sim/fixtures/op-snapshot-1109/train-manager.py +1845 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/README.md +9 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/gate-tier.py +179 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-batch-live.py +2881 -0
- package/scripts/ux-sim/fixtures/train-gate-tier-1109/train-memory.py +102 -0
- package/scripts/ux-sim/sim-fake-bin-args-evidence.ts +179 -0
- package/scripts/ux-sim/test-train-edge-operational-replay.py +411 -0
- package/scripts/ux-sim/test-train-retry-file-map.py +71 -0
- package/scripts/ux-sim.ts +54 -3
- package/scripts/validate-graph-instance-view.ts +47 -0
- package/scripts/warm-pool-provider-config.ts +201 -23
- package/skills/omni-crawl/SKILL.md +31 -54
- package/skills/omni-crawl/scripts/main.ts +86 -276
- package/skills/omni-crawl/src/free.ts +1 -6
- package/skills/omni-crawl/src/registry.ts +124 -36
- package/skills/omni-crawl/src/router.ts +42 -85
- package/skills/omni-crawl/src/test-fetch-preload.ts +7 -0
- package/skills/omni-crawl/src/types.ts +5 -2
- package/src/acp/acp-surface-channels.ts +3 -2
- package/src/acp/client.ts +14 -14
- package/src/acp/codex-elicitation-ask.ts +1 -4
- package/src/acp/core-turn-bridge.ts +3 -2
- package/src/acp/event-router.ts +5 -1
- package/src/acp/fs-roots.ts +1 -1
- package/src/acp/multi-llm-bridge.ts +2 -1
- package/src/acp/server.ts +52 -4
- package/src/acp/turn-runner.ts +1 -1
- package/src/ad-pipeline/fixtures/marketing-studio-video.schema.json +154 -0
- package/src/ad-pipeline/fixtures/seedance-2-0.schema.json +143 -0
- package/src/ad-pipeline/higgsfield-backend.ts +2 -1
- package/src/ad-pipeline/model-contracts.ts +1 -4
- package/src/ad-pipeline/product-video-command.ts +27 -0
- package/src/ad-pipeline/production-contract.ts +6 -0
- package/src/ad-pipeline/production.ts +1 -1
- package/src/ad-pipeline/qc.ts +1 -4
- package/src/ad-pipeline/run.ts +4 -6
- package/src/ad-pipeline/shoot-plan.ts +1 -1
- package/src/agent/agent-list-tool.ts +2 -1
- package/src/agent/agent-output-tool.ts +2 -1
- package/src/agent/agent-stop-tool.ts +2 -1
- package/src/agent/app-deploy-plugin.ts +237 -0
- package/src/agent/autonomous-tools.ts +2 -1
- package/src/agent/coding-core-tools.ts +2 -1
- package/src/agent/loader.ts +2 -1
- package/src/agent/monad-agent-turn.ts +1 -1
- package/src/agent/runner.ts +10 -8
- package/src/agent/shared-app-tools.ts +8 -4
- package/src/agent/subagent-callable.ts +2 -1
- package/src/agent/terminal-surface.ts +2 -1
- package/src/agent/types.ts +2 -1
- package/src/agent-mission/driver.ts +7 -4
- package/src/agent-substrate/acp-implementer.ts +1 -1
- package/src/agent-substrate/pr-reviewer.ts +3 -0
- package/src/agent-substrate/self-review-cli.ts +79 -11
- package/src/agent-team/team-tools.ts +2 -1
- package/src/approval-modal.ts +14 -4
- package/src/ask-user-question/inline-resolver.ts +2 -1
- package/src/ask-user-question/tool.ts +2 -1
- package/src/auth/setup-link-tokens.fixture.ts +10 -1
- package/src/auth/setup-link-tokens.ts +176 -0
- package/src/auto-research/auto-mode/tool-enter.ts +2 -1
- package/src/auto-research/auto-mode/tool-exit.ts +2 -1
- package/src/auto-research/question-ladder-contract.ts +2 -9
- package/src/auto-research/tools/budget.ts +2 -1
- package/src/auto-research/tools/question-queue.ts +2 -1
- package/src/auto-research/tools/research-plan.ts +2 -1
- package/src/auto-research/tools/termination-check.ts +2 -1
- package/src/autopilot/build/llm-conflict-merge.ts +1 -1
- package/src/autopilot/build/nocturnal-deps.ts +1 -1
- package/src/autopilot/elanous-builtin-runner.ts +3 -2
- package/src/autopilot/llm-control-brain.ts +1 -1
- package/src/autopilot/mission-briefing-live.ts +1 -1
- package/src/autopilot/mission-budget.ts +1 -1
- package/src/autopilot/mission-codebase-gate.ts +9 -17
- package/src/autopilot/mission-decide-tool.ts +2 -1
- package/src/autopilot/mission-engine.ts +1 -1
- package/src/autopilot/mission-loop-policy.ts +1 -1
- package/src/autopilot/mission-notify.ts +1 -1
- package/src/autopilot/mission-origin.ts +1 -1
- package/src/autopilot/mission-phase-budget.ts +1 -1
- package/src/autopilot/mission-registry.ts +3 -7
- package/src/autopilot/mission-route-decision.ts +1 -1
- package/src/autopilot/mission-se-bridge.ts +2 -1
- package/src/autopilot/mission-tool.ts +2 -1
- package/src/autopilot/pr-manager.ts +134 -10
- package/src/autopilot/reuse-existence-explorer.ts +1 -1
- package/src/autopilot/tool-registry.ts +2 -1
- package/src/autopilot/track-agent.ts +1 -1
- package/src/autopilot/track-courier.ts +2 -1
- package/src/background-reasoning/patcher-llm-resolver.ts +1 -1
- package/src/boot/daemon-prompt-turn.ts +8 -2
- package/src/boot/daemon-tools/delegate-agent.ts +3 -2
- package/src/boot/daemon-tools/edit.ts +2 -1
- package/src/boot/daemon-tools/grep.ts +2 -1
- package/src/boot/daemon-tools/index.ts +4 -1
- package/src/boot/daemon-tools/plan.ts +2 -1
- package/src/boot/daemon-tools/pty-shell.ts +2 -1
- package/src/boot/daemon-tools/read.ts +2 -1
- package/src/boot/daemon-tools/self-implement.ts +2 -1
- package/src/boot/daemon-tools/types.ts +6 -1
- package/src/boot/daemon-tools/web-search.ts +2 -1
- package/src/boot/daemon-tools/web-terminal.ts +2 -1
- package/src/boot/daemon-tools/write.ts +2 -1
- package/src/briefing/brief-items.ts +2 -5
- package/src/briefing/claim-key.ts +4 -0
- package/src/budget/llm-cost.ts +6 -11
- package/src/capture/capture-tools.ts +2 -1
- package/src/capture/compare-panes.ts +2 -1
- package/src/capture/watch-pane.ts +2 -1
- package/src/cft/tools/andon-list.ts +2 -1
- package/src/cft/tools/emit-process-health.ts +2 -1
- package/src/cft/tools/escalate-ladder.ts +2 -1
- package/src/cft/tools/escalate-signal.ts +2 -1
- package/src/cft/tools/ishikawa-analyze.ts +2 -1
- package/src/cft/tools/pareto-analyze.ts +2 -1
- package/src/cft/tools/quick-kill-triage.ts +2 -1
- package/src/cft/tools/resolve-escalation.ts +2 -1
- package/src/cft/tools/root-cause-analyze.ts +2 -1
- package/src/cft/tools/run-dmaic.ts +2 -1
- package/src/cft/tools/run-fmea.ts +2 -1
- package/src/cft/tools/run-pdca.ts +2 -1
- package/src/cft/tools/write-a3.ts +2 -1
- package/src/channel-bot-token.ts +1 -1
- package/src/chat/chat-cli.ts +4 -1
- package/src/chat/hud-render.ts +1 -1
- package/src/chat/hud-segments-wire.ts +1 -1
- package/src/chat/index.ts +79 -51
- package/src/chat/pickers/state.ts +31 -4
- package/src/chat/solar-scene5-context.ts +65 -0
- package/src/chat/tool-render/dispatch.ts +12 -15
- package/src/chat/tool-render/types.ts +1 -1
- package/src/cli/agent-cli.ts +127 -12
- package/src/cli/app-cli.ts +108 -2
- package/src/cli/brief-cli.ts +1 -1
- package/src/cli/child-plugin-runtime.ts +62 -0
- package/src/cli/control-cli.ts +153 -13
- package/src/cli/decisions-cli.ts +1 -1
- package/src/cli/doctor-cli.ts +5 -2
- package/src/cli/doctor-readiness.ts +2 -2
- package/src/cli/guardian-cli.ts +1 -1
- package/src/cli/hooks-cli.ts +1 -1
- package/src/cli/hotspot-start-forecast.ts +57 -0
- package/src/cli/intake-source-cli.ts +1 -1
- package/src/cli/light-entry-route.ts +4 -1
- package/src/cli/llm-cli.ts +44 -0
- package/src/cli/llm-detect-cli.ts +31 -6
- package/src/cli/llm-mode-flag.ts +37 -0
- package/src/cli/logs-cli.ts +4 -1
- package/src/cli/machine-apply-from-capture.ts +22 -11
- package/src/cli/machine-cli.ts +2 -0
- package/src/cli/machine-setup-plan.ts +25 -6
- package/src/cli/machine-wsl-diagnosis.ts +342 -0
- package/src/cli/machine-wsl-setup.ts +553 -54
- package/src/cli/mcp-diagnose.ts +2 -2
- package/src/cli/mcp-login.ts +41 -14
- package/src/cli/member-key-token-cli.ts +75 -0
- package/src/cli/mission-config.ts +1 -1
- package/src/cli/msg-cli.ts +94 -14
- package/src/cli/msg-list-cli.ts +2 -2
- package/src/cli/nexus-show.ts +9 -210
- package/src/cli/open-guard.ts +95 -0
- package/src/cli/pod-cli.ts +1 -1
- package/src/cli/pr-cli.ts +356 -45
- package/src/cli/pr-land-conductor-map.ts +99 -0
- package/src/cli/pr-land-contract-shadow.ts +39 -0
- package/src/cli/pr-land-drift-radar.ts +348 -0
- package/src/cli/pr-land-drift-repair.ts +1 -1
- package/src/cli/pr-land-heavy-remote.ts +11 -12
- package/src/cli/pr-land-overlap-evidence.ts +67 -0
- package/src/cli/pr-land-pod-shadow-job.ts +1 -1
- package/src/cli/pr-land-refusal.ts +9 -0
- package/src/cli/pr-land-remote-git.ts +125 -0
- package/src/cli/provider-cli.ts +4 -10
- package/src/cli/pty-drive-cli.ts +1 -1
- package/src/cli/pwa-show-contract.ts +49 -0
- package/src/cli/pwa-show.ts +4 -24
- package/src/cli/pwa-test.ts +3 -3
- package/src/cli/q-cli.ts +124 -0
- package/src/cli/release-checklist-read-cli.ts +40 -3
- package/src/cli/release-checklist-remote.ts +114 -0
- package/src/cli/release-checklist-write.ts +1 -1
- package/src/cli/release-cli.ts +139 -29
- package/src/cli/release-run-status-cli.ts +135 -0
- package/src/cli/remote-eln-pty.ts +1 -1
- package/src/cli/resource-ledger-cli.ts +61 -1
- package/src/cli/review-carry.ts +82 -0
- package/src/cli/role-cli.ts +1 -1
- package/src/cli/secret-cli.ts +57 -2
- package/src/cli/self-update.ts +21 -5
- package/src/cli/setup-cli.ts +3 -1
- package/src/cli/setup-keys.ts +91 -4
- package/src/cli/shell-confirmation-policy.ts +45 -0
- package/src/cli/sim-cli.ts +158 -8
- package/src/cli/sim-suggest-cli.ts +34 -0
- package/src/cli/tailscale-serve.ts +2 -2
- package/src/cli/task-launch-supervisor.ts +79 -0
- package/src/cli/tasks-cli.ts +185 -44
- package/src/cli/usage-cli.ts +1 -1
- package/src/cli/voice-nl-switch.ts +2 -1
- package/src/cli/voice-status.ts +2 -1
- package/src/clipboard/image-attachment.ts +21 -0
- package/src/clipboard/paste.ts +28 -0
- package/src/code-edit/apply.ts +1 -1
- package/src/code-edit/plan-tool.ts +2 -1
- package/src/code-edit/tools.ts +2 -1
- package/src/codex/setup.ts +2 -4
- package/src/compact/auto.ts +1 -1
- package/src/conductor/tools/classify-goal.ts +2 -1
- package/src/context-bus/context-now-surfaces.ts +9 -4
- package/src/context-bus/context-now.ts +315 -29
- package/src/control-plane/member-tokens.ts +38 -11
- package/src/control-plane/remote-primary-candidates.ts +58 -0
- package/src/control-plane/server.ts +12 -0
- package/src/conv-substrate/message-block.ts +11 -0
- package/src/core-turn/run-core-turn.ts +3 -1
- package/src/core-turn/run-goal-loop.ts +2 -1
- package/src/core-turn/types.ts +2 -1
- package/src/crawl-capabilities/contracts.ts +130 -0
- package/src/crawl-capabilities/graph-extract.ts +41 -0
- package/src/crawl-capabilities/graph-registry.ts +66 -0
- package/src/crawl-capabilities/reddit.ts +44 -0
- package/src/crawl-capabilities/scrap-extract.ts +11 -0
- package/src/dashboard/acp-active-model.ts +1 -1
- package/src/dashboard/acp-boot.ts +2 -1
- package/src/dashboard/auto-compact-runtime.ts +1 -1
- package/src/dashboard/browser-chord-runtime.ts +3 -13
- package/src/dashboard/chat/acp-chat.ts +1 -1
- package/src/dashboard/classic-sidetab-mission.ts +2 -1
- package/src/dashboard/classic-tui-dispatch.ts +22 -0
- package/src/dashboard/compact-surface-assembly.ts +0 -2
- package/src/dashboard/compact-surface-dispatch.ts +0 -5
- package/src/dashboard/compact-surface-inventory.ts +0 -1
- package/src/dashboard/compact-surface-runtime.ts +0 -2
- package/src/dashboard/first-screen-band.ts +2 -50
- package/src/dashboard/index.ts +218 -870
- package/src/dashboard/input/dashboard-default-tool-builders.ts +2 -1
- package/src/dashboard/input/dashboard-view-shortcuts.ts +2 -7
- package/src/dashboard/input/mouse-conversation-popup-runtime.ts +1 -1
- package/src/dashboard/input/mouse-modal-hit-runtime.ts +1 -1
- package/src/dashboard/input/mouse-modal-surface-runtime.ts +1 -1
- package/src/dashboard/input/mouse-mode-switch-runtime.ts +1 -1
- package/src/dashboard/input/mouse-pane-hit-runtime.ts +1 -1
- package/src/dashboard/input/mouse-picker-runtime.ts +2 -2
- package/src/dashboard/input/mouse-status-line.ts +134 -0
- package/src/dashboard/input/mouse-wiring-loader.ts +13 -0
- package/src/dashboard/input/mouse-wiring-types.ts +346 -0
- package/src/dashboard/input/mouse-wiring.ts +33 -884
- package/src/dashboard/input/slash-executor.ts +1 -24
- package/src/dashboard/modals/pane.ts +0 -1
- package/src/dashboard/optional-tool-spec-runtime.ts +5 -36
- package/src/dashboard/panes/nav.ts +1 -1
- package/src/dashboard/plan-board-runtime.ts +1 -4
- package/src/dashboard/plan-mode-toggle-action.ts +2 -4
- package/src/dashboard/plugin-route-adapter.ts +350 -0
- package/src/dashboard/preview-widget-runtime.ts +0 -12
- package/src/dashboard/runtime/approvers.ts +14 -0
- package/src/dashboard/runtime/tui-deploy-confirm-channel.ts +59 -0
- package/src/dashboard/scenario-tools-boot.ts +32 -0
- package/src/dashboard/setup-inline.ts +2 -7
- package/src/dashboard/shell-slash-runtime.ts +0 -1
- package/src/dashboard/slash-runtime/dashboard-handlers.ts +25 -150
- package/src/dashboard/slash-runtime/decide-slash.ts +1 -60
- package/src/dashboard/slash-runtime/model-choices.ts +1 -1
- package/src/dashboard/slash-runtime/shell-slash.ts +0 -6
- package/src/dashboard/tool-catalog-observability.ts +2 -1
- package/src/dashboard/turn-lifecycle-runtime.ts +2 -1
- package/src/dashboard/widget-modal-popup.ts +2 -2
- package/src/debug/log.ts +6 -9
- package/src/debug/tui-log-tag.ts +2 -7
- package/src/decisions/decide-slash.ts +60 -0
- package/src/decisions/decision-ledger.ts +1 -1
- package/src/decisions/decision-linear-projection.ts +2 -1
- package/src/decisions/discord-decision-cards.ts +1 -1
- package/src/decisions/telegram-decision-cards.ts +1 -1
- package/src/design/open-design-client.ts +2 -1
- package/src/design/screen-contrast.ts +1 -1
- package/src/discord-agent.ts +1 -1
- package/src/discord-self-message.ts +4 -4
- package/src/discord-slash-wire.ts +1 -1
- package/src/discord-test-runner.ts +2 -1
- package/src/discord-voice-wire.ts +1 -1
- package/src/discord.ts +1 -1
- package/src/dispatch/authored-goal-queue.ts +1 -4
- package/src/dispatch/continuation-turn-runner.ts +3 -2
- package/src/dispatch/dig-goal-armer.ts +1 -1
- package/src/dispatch/replay-goal-armer.ts +1 -1
- package/src/display/hit-target.ts +1 -1
- package/src/display/modal-types-registry.ts +2 -7
- package/src/domains/coo-admin-tool.ts +3 -2
- package/src/domains/core-tools.ts +59 -2
- package/src/domains/dart.ts +3 -2
- package/src/domains/dashboard-data.ts +1 -1
- package/src/domains/dig-engine.ts +3 -2
- package/src/domains/elanous-data-dir.ts +7 -3
- package/src/domains/fact-check.ts +2 -1
- package/src/domains/finance-tools.ts +3 -2
- package/src/domains/finance.ts +1 -1
- package/src/domains/kg-consolidate.ts +1 -1
- package/src/domains/kg-extract.ts +3 -2
- package/src/domains/logs-tool.ts +2 -1
- package/src/domains/macro-store.ts +1 -1
- package/src/domains/market-posture-store.ts +13 -28
- package/src/domains/morning-detail.ts +96 -1
- package/src/domains/morning-essential.ts +3 -2
- package/src/domains/morning-report.ts +2 -2
- package/src/domains/opportunity-analysis.ts +1 -1
- package/src/domains/ops-facts-tool.ts +2 -1
- package/src/domains/ops-status-tool.ts +2 -1
- package/src/domains/outbound-alert.ts +2 -1
- package/src/domains/regime-db-path.ts +3 -0
- package/src/domains/regime-store.ts +2 -3
- package/src/domains/release-tool.ts +5 -4
- package/src/domains/retro-report.ts +3 -2
- package/src/domains/schedule-manage-tool.ts +2 -1
- package/src/domains/schedule-registry.ts +1 -1
- package/src/domains/se-build-tool.ts +2 -1
- package/src/domains/sec-13f.ts +1 -1
- package/src/domains/self-awareness-tool.ts +2 -1
- package/src/domains/session-query-tool.ts +2 -1
- package/src/domains/taste-capture.ts +1 -1
- package/src/domains/taste-propose.ts +1 -1
- package/src/domains/taste-sentiment.ts +1 -1
- package/src/domains/telegram-channels.ts +1 -1
- package/src/domains/telegram-kind-route.ts +1 -1
- package/src/domains/trade-decision-tool.ts +2 -1
- package/src/domains/trailing-stops.ts +2 -1
- package/src/domains/us-pulse.ts +3 -2
- package/src/domains/watch-default-scheduler.ts +1 -1
- package/src/domains/weekly-alpha.ts +3 -2
- package/src/drag-session-dashboard-wire.ts +1 -2
- package/src/error-report/report.ts +1 -1
- package/src/esc-abort-gate.ts +19 -1
- package/src/eval-prompt-cli.ts +78 -20
- package/src/execution-history.ts +4 -3
- package/src/expression/a11y.ts +1 -1
- package/src/expression/config/layers.ts +3 -11
- package/src/expression/i18n/types.ts +1 -1
- package/src/feedback/media.ts +10 -14
- package/src/finder/finder-modal.ts +1 -11
- package/src/fleet/cloud-burst-auto.ts +265 -0
- package/src/fleet/cloud-burst-runtime.ts +146 -0
- package/src/git-fs/git-cli.ts +508 -10
- package/src/git-fs/runner.ts +252 -1
- package/src/git-fs/worktree.ts +626 -41
- package/src/goals/slash.ts +0 -2
- package/src/graph-kinds/registry.ts +2 -2
- package/src/graph-runner/arg-open-proposal.ts +171 -0
- package/src/graph-runner/arg-supervisor.ts +281 -0
- package/src/graph-runner/capabilities.ts +243 -0
- package/src/graph-runner/capability-providers/market-data/INVENTORY-1109.md +48 -0
- package/src/graph-runner/capability-providers/market-data/README.md +25 -0
- package/src/graph-runner/capability-providers/market-data/arg-stock-all-providers-sim.ts +83 -0
- package/src/graph-runner/capability-providers/market-data/arg-stock-sim.ts +179 -0
- package/src/graph-runner/capability-providers/market-data/coingecko.ts +20 -0
- package/src/graph-runner/capability-providers/market-data/contract.ts +69 -0
- package/src/graph-runner/capability-providers/market-data/ecos.ts +38 -0
- package/src/graph-runner/capability-providers/market-data/eodhd.ts +56 -0
- package/src/graph-runner/capability-providers/market-data/finnhub.ts +49 -0
- package/src/graph-runner/capability-providers/market-data/fred.ts +28 -0
- package/src/graph-runner/capability-providers/market-data/free-declarations.ts +49 -0
- package/src/graph-runner/capability-providers/market-data/index.ts +14 -0
- package/src/graph-runner/capability-providers/market-data/kis.ts +118 -0
- package/src/graph-runner/capability-providers/market-data/kr-daily-sources.ts +42 -0
- package/src/graph-runner/capability-providers/market-data/krx.ts +54 -0
- package/src/graph-runner/capability-providers/market-data/market-secrets.ts +14 -0
- package/src/graph-runner/capability-providers/market-data/omni-sources.ts +133 -0
- package/src/graph-runner/capability-providers/market-data/registry.ts +85 -0
- package/src/graph-runner/capability-providers/market-data/stock-common.ts +54 -0
- package/src/graph-runner/capability-providers/market-data/toss.ts +124 -0
- package/src/graph-runner/capability-providers/market-data/upbit.ts +20 -0
- package/src/graph-runner/capability-providers/notify.ts +138 -0
- package/src/graph-runner/declared-heal-edges.ts +158 -0
- package/src/graph-runner/graph-approval-card.ts +6 -5
- package/src/graph-runner/graph-cli.ts +93 -6
- package/src/graph-runner/graph-grow-llm.ts +2 -1
- package/src/graph-runner/graph-instance.ts +254 -0
- package/src/graph-runner/graph-manifest-loader.ts +254 -0
- package/src/graph-runner/graph-notify.ts +1 -1
- package/src/graph-runner/graph-tick.ts +103 -27
- package/src/graph-runner/in-process-registry.ts +8 -0
- package/src/graph-runner/plugin-graph-entry.ts +120 -0
- package/src/graph-runner/provider-context.ts +28 -0
- package/src/graph-runner/release-gate-cutover-policy.ts +10 -0
- package/src/graph-runner/release-graph-manifest.ts +237 -0
- package/src/graph-runner/runner-primitives.ts +16 -0
- package/src/graph-runner/runner-routing.ts +136 -0
- package/src/graph-runner/runner-types.ts +243 -0
- package/src/graph-runner/runner.ts +1576 -444
- package/src/graph-runner/unit-shape.ts +76 -0
- package/src/graph-v2/lower.ts +514 -0
- package/src/graph-v2/n8n-import.ts +105 -0
- package/src/graph-wizard/generate.ts +1 -4
- package/src/graph-wizard/steps.ts +2 -2
- package/src/grok/credential.ts +3 -1
- package/src/grok.ts +1 -1
- package/src/grounding/sources-cli.ts +2 -1
- package/src/guardian/host-lease-policy.ts +21 -0
- package/src/guardian/host-lease.ts +219 -0
- package/src/harness/dispatch-backpressure.ts +1 -1
- package/src/harness/generic-skill-executor.ts +2 -4
- package/src/harness/grounding/mission-grounding-ladder.ts +2 -6
- package/src/harness/harness-cli-command.ts +1 -1
- package/src/harness/harness-salvage-cli.ts +1 -1
- package/src/harness/harness-substrate-default.ts +6 -2
- package/src/harness/helper-repair.ts +2 -1
- package/src/harness/nested-elanous-policy.ts +1 -1
- package/src/harness/pod-memory-policy.ts +188 -0
- package/src/harness/repository-name.ts +2 -1
- package/src/hitl/confirm.ts +3 -0
- package/src/hooks/dispatch.ts +2 -2
- package/src/hooks/receiver.ts +2 -1
- package/src/hq/hq.ts +25 -1
- package/src/hq/promote.ts +1 -1
- package/src/hq/repo-maintenance-schedule.ts +60 -0
- package/src/hq/repo-maintenance.ts +344 -0
- package/src/hq/seats.ts +34 -20
- package/src/hq/transfer.ts +1 -1
- package/src/import/apply.ts +1 -1
- package/src/index.ts +123 -56
- package/src/input-core/slash-filter.ts +32 -0
- package/src/instance/child-scope.ts +2 -1
- package/src/intake-plane/absorb-extract.ts +83 -0
- package/src/intake-plane/adapters/discord-ambient.ts +1 -1
- package/src/intake-plane/adapters/telegram-ambient.ts +1 -1
- package/src/intake-plane/ambient.ts +1 -1
- package/src/intake-plane/core.ts +32 -0
- package/src/intake-plane/discord-seat-work.ts +2 -1
- package/src/intake-plane/event-state.ts +61 -0
- package/src/intake-plane/items.ts +92 -37
- package/src/intake-plane/linear-secretary-runtime.ts +1 -1
- package/src/intake-plane/requirement-funnel.ts +3 -2
- package/src/intake-plane/route.ts +5 -62
- package/src/intake-plane/runtime-callables.ts +1 -1
- package/src/intake-plane/slash.ts +2 -1
- package/src/intake-plane/telegram-seat-work.ts +2 -1
- package/src/intake-plane/wish-benchmark-ledger.ts +91 -11
- package/src/intake-plane/wish-reply.ts +1 -1
- package/src/intelligence-map/model-watch-mission.ts +2 -2
- package/src/intelligence-map/tools/intelligence-map.ts +2 -1
- package/src/intelligence-map/tools/route-to-model.ts +2 -1
- package/src/keybindings.ts +0 -4
- package/src/knowhow/pack.ts +1 -4
- package/src/knowledge/tools/knowledge-query.ts +2 -1
- package/src/knowledge/tools/knowledge-write.ts +2 -1
- package/src/light-cli.ts +5 -0
- package/src/llm/bedrock-provider.ts +2 -2
- package/src/llm/difficulty.ts +2 -1
- package/src/llm/hq-proxy-provider.ts +84 -0
- package/src/llm/judge-layer.ts +2 -1
- package/src/llm/model-defaults.ts +2 -1
- package/src/llm/output-budget.ts +19 -0
- package/src/llm/provider-capabilities.ts +80 -0
- package/src/llm/provider-credentials.ts +44 -3
- package/src/llm/provider-detect.ts +2 -1
- package/src/llm/role-llm-cli.ts +2 -7
- package/src/llm/role-stream.ts +57 -0
- package/src/llm/route-decision.ts +1 -1
- package/src/llm/runtime-model-family.ts +1 -1
- package/src/llm/stream-fallback.ts +38 -0
- package/src/llm/stream-text.ts +8 -0
- package/src/llm/subscription-first.ts +4 -3
- package/src/llm/tool-spec.ts +45 -0
- package/src/llm/usable-llm.ts +2 -1
- package/src/llm/zai-coding-plan.ts +1 -1
- package/src/llm.ts +172 -162
- package/src/loops/agent-reply.ts +4 -2
- package/src/loops/budget.ts +1 -1
- package/src/loops/checker-contract.ts +39 -0
- package/src/loops/checker.ts +6 -56
- package/src/loops/fixtures/checker-registry-cycle/checker.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/helper.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/registry.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/schedule-checker.js +1 -0
- package/src/loops/fixtures/checker-registry-cycle/schedule-due.js +1 -0
- package/src/loops/graph-trigger-dispatch-lease.ts +227 -0
- package/src/loops/graph-trigger-dispatch.ts +95 -0
- package/src/loops/msg-address.ts +29 -9
- package/src/loops/msg-wake.ts +299 -45
- package/src/loops/orchestrator/inbox-once.ts +1 -1
- package/src/loops/orchestrator/inbox.ts +1 -1
- package/src/loops/orchestrator/overlap.ts +53 -12
- package/src/loops/orchestrator/seat-share.ts +1 -1
- package/src/loops/orchestrator/sim-impact-audit.ts +67 -0
- package/src/loops/orchestrator/tick.ts +129 -10
- package/src/loops/registry-contract.ts +39 -0
- package/src/loops/registry.ts +26 -35
- package/src/loops/schedule-due.ts +18 -0
- package/src/loops/seat-registry.ts +72 -0
- package/src/loops/train/decisions.ts +242 -0
- package/src/loops/train/hotspot-radius-ordering.ts +63 -0
- package/src/loops/train/worker-lifecycle.ts +228 -0
- package/src/maturity/bot-command-maturity.ts +1 -1
- package/src/maturity/feature-maturity.ts +11 -42
- package/src/maturity/tui-slash-maturity.ts +3 -5
- package/src/mcp/mcp-oauth.ts +168 -145
- package/src/mcp/server.ts +1 -1
- package/src/memory-intent.ts +13 -0
- package/src/memory.ts +5 -1
- package/src/model-tier/auto-route.ts +2 -2
- package/src/model-tier/llm-tier-map.ts +4 -2
- package/src/model-tier/review-effort.ts +1 -1
- package/src/model-tier/setup-suggest.ts +1 -1
- package/src/model-tier/simple-question-fast-route.ts +24 -0
- package/src/model-tier/tier-resolver.ts +1 -1
- package/src/model-tier/turn-tier.ts +2 -2
- package/src/models/prompts.ts +1 -1
- package/src/mouse-action-recipes.ts +5 -362
- package/src/msg/msg-hook.ts +115 -0
- package/src/msg/msg-post-office.ts +145 -11
- package/src/msg/msg-sse-server.ts +45 -1
- package/src/msg/msg-store.ts +22 -10
- package/src/mss/logging/gate-correlation.ts +110 -0
- package/src/mss/logging/log-federation.ts +13 -4
- package/src/mss/logging/log-store.ts +28 -9
- package/src/native-tool-catalog.ts +81 -7
- package/src/nexus/api/app-host-scoped-resolver.ts +11 -0
- package/src/nexus/api/board-api.ts +437 -0
- package/src/nexus/api/briefings-api.ts +108 -0
- package/src/nexus/api/chat-tier-intent.ts +2 -1
- package/src/nexus/api/config-model-tier.ts +2 -6
- package/src/nexus/api/consult-requests.ts +2 -1
- package/src/nexus/api/design-check.ts +1 -1
- package/src/nexus/api/discord-trigger-bot.ts +1 -1
- package/src/nexus/api/event-bus.ts +17 -0
- package/src/nexus/api/events.ts +11 -1
- package/src/nexus/api/graph-approvals-feed.ts +1 -1
- package/src/nexus/api/graph-route-allowlist.ts +8 -0
- package/src/nexus/api/grid.ts +1 -1
- package/src/nexus/api/grokbot-trigger-bot.ts +1 -1
- package/src/nexus/api/hq-llm-proxy.ts +154 -0
- package/src/nexus/api/http-server.ts +435 -7
- package/src/nexus/api/ingest-token.ts +3 -46
- package/src/nexus/api/intake-route.ts +1 -1
- package/src/nexus/api/llm-rotation.ts +2 -11
- package/src/nexus/api/mcp-widget-call-route.ts +1 -4
- package/src/nexus/api/member-event-store.ts +205 -0
- package/src/nexus/api/merge-approvals.ts +1 -1
- package/src/nexus/api/meta-api.ts +12 -1
- package/src/nexus/api/next-fluent-wiring.ts +1 -1
- package/src/nexus/api/openrouter-oauth.ts +184 -0
- package/src/nexus/api/operator.ts +1 -1
- package/src/nexus/api/ops-api.ts +154 -9
- package/src/nexus/api/ops-seats-sources.ts +1 -1
- package/src/nexus/api/outbound-report.ts +1 -1
- package/src/nexus/api/private-file-lock.ts +61 -0
- package/src/nexus/api/public-routes.ts +89 -2
- package/src/nexus/api/resource-ledger.ts +10 -5
- package/src/nexus/api/scraps.ts +154 -0
- package/src/nexus/api/seat-requests.ts +1 -1
- package/src/nexus/api/setup-child-llm.ts +8 -18
- package/src/nexus/api/setup-codex-login.ts +15 -3
- package/src/nexus/api/setup-credentials.fixture.ts +12 -0
- package/src/nexus/api/setup-credentials.ts +144 -0
- package/src/nexus/api/setup-obsidian-skills.ts +2 -1
- package/src/nexus/api/static-app.ts +8 -7
- package/src/nexus/api/telegram-trigger-bot.ts +2 -2
- package/src/nexus/api/tls-edge.ts +23 -0
- package/src/nexus/api/ux-sim-devices.ts +1 -4
- package/src/nexus/api/worktrees.ts +1 -1
- package/src/nexus/apps/app-actions.ts +144 -18
- package/src/nexus/apps/app-auth.ts +20 -3
- package/src/nexus/apps/app-contract.ts +92 -9
- package/src/nexus/apps/app-credential-capability.ts +14 -0
- package/src/nexus/apps/app-db-backup.ts +443 -0
- package/src/nexus/apps/app-db.ts +666 -8
- package/src/nexus/apps/app-deployment-owner.ts +28 -0
- package/src/nexus/apps/app-github-mirror.ts +224 -0
- package/src/nexus/apps/app-host.ts +333 -48
- package/src/nexus/apps/app-jobs.ts +347 -0
- package/src/nexus/apps/app-lifecycle-ledger.race-worker.ts +12 -0
- package/src/nexus/apps/app-lifecycle-ledger.ts +3 -1
- package/src/nexus/apps/app-promote.ts +116 -0
- package/src/nexus/apps/app-publish.ts +231 -0
- package/src/nexus/apps/app-realtime.ts +224 -0
- package/src/nexus/apps/app-screen-render.ts +207 -0
- package/src/nexus/apps/app-simulate.ts +5 -5
- package/src/nexus/apps/app-simulation-db.ts +113 -0
- package/src/nexus/apps/app-simulation-route.ts +104 -0
- package/src/nexus/apps/app-simulation-runner.ts +392 -0
- package/src/nexus/apps/app-simulation.ts +103 -0
- package/src/nexus/apps/app-site-deploy.ts +321 -0
- package/src/nexus/apps/app-source-snapshot.ts +385 -0
- package/src/nexus/apps/app-storage.ts +10 -1
- package/src/nexus/apps/console-address.ts +41 -0
- package/src/nexus/apps/drive-contract.ts +59 -0
- package/src/nexus/apps/funnel-observe.ts +194 -0
- package/src/nexus/apps/higgsfield-backend.ts +200 -0
- package/src/nexus/apps/higgsfield-cli-session.ts +157 -0
- package/src/nexus/apps/made-with-badge.ts +216 -0
- package/src/nexus/boot/register-mcp-clients.ts +1 -1
- package/src/nexus/config/secrets/cred-health.ts +58 -0
- package/src/nexus/config/secrets/cred-owner.ts +116 -0
- package/src/nexus/config/secrets/cred-slot-schema.ts +27 -0
- package/src/nexus/config/secrets/cred-slot-wizard.ts +37 -0
- package/src/nexus/config/secrets/cred-slots.ts +53 -0
- package/src/nexus/config/secrets/file-backend.ts +44 -1
- package/src/nexus/config/secrets/index.ts +68 -2
- package/src/nexus/config/secrets/registry.ts +40 -2
- package/src/nexus/config/secrets.ts +8 -0
- package/src/nexus/config/types.ts +4 -0
- package/src/nexus/daemon-endpoint.ts +2 -1
- package/src/nexus/index.ts +344 -17
- package/src/nexus/members/google-signin.ts +157 -0
- package/src/nexus/members/member-store.ts +658 -0
- package/src/nexus/members/member-token-api.ts +66 -0
- package/src/nexus/members/members-api.ts +531 -0
- package/src/nexus/outbound/format.ts +2 -0
- package/src/nexus/outbound/grokbot-adapter.ts +1 -1
- package/src/nexus/outbound/router.ts +7 -4
- package/src/nexus/pwa-resolution.ts +116 -0
- package/src/nexus/setup-status.ts +67 -2
- package/src/nexus/state/state.ts +8 -0
- package/src/nexus/static-dir-resolve.ts +1 -1
- package/src/notifications/bell-modal.ts +2 -0
- package/src/notifications/outbound-boot.ts +1 -1
- package/src/notifications/store.ts +2 -1
- package/src/oauth/codex-account-store.ts +27 -15
- package/src/oauth/codex-browser-login.ts +16 -0
- package/src/oauth/codex-owner-mirror.ts +44 -10
- package/src/oauth/codex.ts +1 -0
- package/src/oauth/provider-access-mirror.ts +46 -0
- package/src/oauth/store.ts +102 -10
- package/src/obsidian/vault-write-guard.ts +1 -1
- package/src/onboarding/first-chat-gate.ts +1 -1
- package/src/onboarding/first-run.ts +2 -4
- package/src/onboarding/help/llm.md +13 -0
- package/src/onboarding/key-setup.ts +1 -1
- package/src/onboarding/summary.ts +1 -1
- package/src/onboarding/web-first.ts +1 -1
- package/src/onboarding.ts +2 -5
- package/src/ops/overview-cache.ts +4 -3
- package/src/org/seat-budget.ts +2 -1
- package/src/org/stall-escalation.ts +1 -1
- package/src/plan-mode/tool-enter.ts +5 -3
- package/src/plan-mode/tool-exit.ts +3 -2
- package/src/plugin-hooks/events.ts +2 -1
- package/src/plugin-missions/llm-tools.ts +2 -1
- package/src/plugin-routes/llm-tools.ts +2 -1
- package/src/plugin-workflows/llm-tools.ts +2 -1
- package/src/plugins/core/declared-handler.ts +51 -0
- package/src/plugins/core/host.ts +221 -146
- package/src/plugins/core/manifest.ts +61 -1
- package/src/plugins/core/plugin-yaml.ts +157 -0
- package/src/plugins/core/route-adapter.ts +215 -0
- package/src/plugins/core/trust-store.ts +4 -3
- package/src/plugins/core/types.ts +7 -0
- package/src/plugins/install/plugin-install.ts +30 -3
- package/src/plugins/maker/plugin-maker.ts +1 -1
- package/src/policy/llm-policy.ts +2 -1
- package/src/pr-tool/census.ts +32 -10
- package/src/primitives/guards.ts +48 -0
- package/src/prompt-cache/anthropic.ts +2 -1
- package/src/prompt-cache/types.ts +2 -0
- package/src/prompt-enhance/enhance.ts +8 -4
- package/src/prompt-library/chat-conciseness.ts +1 -1
- package/src/prompt-library/registry.ts +1 -1
- package/src/provider-summary.ts +2 -1
- package/src/pty-shell/herdr-prompt.ts +62 -18
- package/src/pty-shell/pty-control-ipc.ts +5 -2
- package/src/registry/discovery/config.ts +2 -1
- package/src/relay/app-kill-switch.ts +310 -0
- package/src/relay/channel.ts +5 -0
- package/src/relay/host-connector.ts +577 -0
- package/src/relay/mux.ts +43 -12
- package/src/relay/relay-cli.ts +131 -6
- package/src/relay/relay-member-verifier.ts +36 -0
- package/src/relay/relay-server.ts +590 -20
- package/src/release-loop/auto-start.ts +32 -7
- package/src/release-loop/checklist.ts +25 -9
- package/src/release-loop/cloud-vm-adapter.ts +64 -0
- package/src/release-loop/feature-store.ts +1 -1
- package/src/release-loop/gate-host-reservation.ts +66 -2
- package/src/release-loop/gate-shard-ledger.ts +122 -15
- package/src/release-loop/gate-shards.ts +85 -15
- package/src/release-loop/gate-timeout-owner-cell.ts +266 -0
- package/src/release-loop/graph-event-adapters.ts +44 -0
- package/src/release-loop/incident-policy-handler.ts +78 -0
- package/src/release-loop/knowhow/pwa-host-heal.ts +92 -0
- package/src/release-loop/light-rc.ts +157 -14
- package/src/release-loop/macrophage-heal-node.ts +245 -20
- package/src/release-loop/macrophage-heal.ts +74 -3
- package/src/release-loop/macrophage-incident-recovery.ts +132 -0
- package/src/release-loop/macrophage-repair-ladder.ts +246 -0
- package/src/release-loop/merged-pr-checklist.ts +151 -1
- package/src/release-loop/op-channel.ts +117 -0
- package/src/release-loop/placement-ceo-load.ts +72 -0
- package/src/release-loop/placement-config.ts +28 -0
- package/src/release-loop/placement.ts +10 -85
- package/src/release-loop/rehearsal-cloud-host.ts +190 -0
- package/src/release-loop/rehearsal.ts +162 -35
- package/src/release-loop/release-failure-attribution.ts +410 -0
- package/src/release-loop/release-note.ts +1 -4
- package/src/release-loop/release-schedule.ts +6 -3
- package/src/release-loop/rubric.ts +1 -1
- package/src/release-loop/stage-mail.ts +1 -1
- package/src/release-loop/waiver-events.ts +328 -0
- package/src/repl/agent-turn.ts +3 -2
- package/src/repl/dispatch-meta.ts +2 -6
- package/src/repl/index.ts +218 -16
- package/src/repl/next-tui-message-blocks.ts +71 -0
- package/src/repl/shell-snapshot-router.ts +55 -0
- package/src/research/axis-fanout.ts +13 -13
- package/src/research/bloom-exemplars.ts +1 -3
- package/src/research/edge-decision.ts +1 -4
- package/src/research/lenses/working-backwards.ts +2 -9
- package/src/research/plugin-discovery.ts +1 -1
- package/src/research-bridge/crawl.ts +5 -0
- package/src/research-bridge/index.ts +5 -0
- package/src/resource-ledger/guardian-host-lease-heartbeat-worker.ts +27 -0
- package/src/resource-ledger/guardian-reconcile.ts +4 -1
- package/src/resource-ledger/host-readiness.ts +27 -0
- package/src/resource-ledger/resource-ledger.ts +336 -6
- package/src/retro/daily.ts +1 -1
- package/src/roles/machine-name.ts +2 -7
- package/src/roles/machine-profile-contract.ts +8 -0
- package/src/roles/machine-profile.ts +1 -1
- package/src/roles/role-lease-read.ts +1 -0
- package/src/runtime-identity.ts +25 -3
- package/src/scenarios/catalog.ts +1 -4
- package/src/scenarios/shorthand.ts +1 -4
- package/src/seat-dispatch/ceo-intent.ts +1 -1
- package/src/seat-loop/seat-loop.ts +2 -1
- package/src/seat-loop/seat-report.ts +2 -1
- package/src/self-dev/app-scratch-bootstrap.ts +47 -0
- package/src/self-dev/decompose.ts +2 -5
- package/src/self-dev/dev-cli.ts +18 -4
- package/src/self-dev/dev-pipeline.ts +29 -4
- package/src/self-dev/draft-sweep.ts +1 -2
- package/src/self-dev/review-provider-fallback.ts +1 -1
- package/src/self-dev/run-record-mirror.ts +1 -1
- package/src/self-dev/run-store-checkpoint.ts +53 -0
- package/src/self-dev/run-store-contract.ts +56 -0
- package/src/self-dev/run-store.ts +11 -110
- package/src/self-dev/run-supervisor.ts +131 -1
- package/src/self-dev/run-types.ts +4 -1
- package/src/self-dev/self-orchestrate-runtime.ts +3 -2
- package/src/self-dev/shard-run.ts +29 -7
- package/src/self-dev/sim-impact-wording.ts +51 -0
- package/src/self-dev/supervisor-verdict-edges.ts +1 -0
- package/src/self-implement/auto-open-pr.ts +1 -1
- package/src/self-implement/budget-gate.ts +2 -6
- package/src/self-implement/child-llm-preference.ts +1 -7
- package/src/self-implement/context-capsule-store.ts +1 -4
- package/src/self-implement/execution-clarification.ts +1 -1
- package/src/self-implement/follow-up-goals.ts +1 -1
- package/src/self-implement/gate-cli.ts +251 -4
- package/src/self-implement/gate-receipt-registry.ts +95 -4
- package/src/self-implement/gate-remote.ts +15 -5
- package/src/self-implement/goal-author-clarification.ts +2 -4
- package/src/self-implement/goal-author-cli.ts +1 -1
- package/src/self-implement/goal-author-decompose.ts +10 -13
- package/src/self-implement/goal-author.ts +38 -20
- package/src/self-implement/goal-documents-dir.ts +2 -1
- package/src/self-implement/graph-authority.ts +1 -1
- package/src/self-implement/graph-overlay-condition.ts +1 -1
- package/src/self-implement/graph-unit-flatten.ts +8 -1
- package/src/self-implement/graph-unit-resolver.ts +64 -16
- package/src/self-implement/graph-yaml.ts +262 -11
- package/src/self-implement/headless-elanous-driver.ts +21 -6
- package/src/self-implement/heal-intake.ts +1 -1
- package/src/self-implement/host-regate.ts +7 -3
- package/src/self-implement/l8-merge-queue.ts +75 -1
- package/src/self-implement/merge-train.ts +294 -28
- package/src/self-implement/observe-only.ts +1 -1
- package/src/self-implement/orchestrator.ts +1 -1
- package/src/self-implement/pod-warm-pool-profile.ts +64 -5
- package/src/self-implement/run-checkpoint.ts +2 -2
- package/src/self-implement/run-ledger-archive.ts +252 -0
- package/src/self-implement/run-ledger-compact.ts +6 -248
- package/src/self-implement/run-ledger-paths.ts +27 -0
- package/src/self-implement/run-ledger.ts +4 -19
- package/src/self-implement/seams.ts +2 -1
- package/src/self-implement/self-implement-cli.ts +1 -1
- package/src/self-implement/self-implement-runtime.ts +3 -2
- package/src/self-implement/stop-autoheal.ts +12 -2
- package/src/self-implement/train-gate-receipt.ts +6 -2
- package/src/session/chat.ts +50 -14
- package/src/session/compact-session.ts +1 -1
- package/src/session/index.ts +3 -0
- package/src/session/request-size-guard.ts +2 -1
- package/src/session-runtime/index.ts +16 -7
- package/src/session-runtime/tier-flip.ts +70 -24
- package/src/setup/cred-import-scan.ts +307 -0
- package/src/setup/llm-env-detect.ts +1 -1
- package/src/setup/service-key-catalog.ts +7 -3
- package/src/setup/service-keys.ts +5 -3
- package/src/shell-runner/index.ts +0 -2
- package/src/sidetab-core/model.ts +2 -1
- package/src/signal/lifecycle-record.ts +1 -8
- package/src/sim-world-device-catalog-history.json +3747 -0
- package/src/skills/connect.ts +2 -1
- package/src/skills/runner.ts +35 -215
- package/src/skills/shared-agent-skill-roots.ts +0 -3
- package/src/skills/skill-manifest.ts +211 -0
- package/src/skills/tools/acp-session.ts +3 -2
- package/src/skills/tools/agent-handoff.ts +2 -1
- package/src/skills/tools/agent-reply.ts +2 -1
- package/src/skills/tools/agent-room.ts +2 -1
- package/src/skills/tools/agent.ts +2 -1
- package/src/skills/tools/announce-completion.ts +2 -1
- package/src/skills/tools/api-call.ts +2 -1
- package/src/skills/tools/ast-grep.ts +2 -1
- package/src/skills/tools/browser-iphone.ts +2 -1
- package/src/skills/tools/budget.ts +2 -1
- package/src/skills/tools/capture-inject.ts +2 -1
- package/src/skills/tools/capture-source.ts +2 -1
- package/src/skills/tools/context.ts +2 -1
- package/src/skills/tools/control.ts +2 -1
- package/src/skills/tools/dashboard-config.ts +2 -1
- package/src/skills/tools/dashboard-slash.ts +2 -1
- package/src/skills/tools/dashboard-state.ts +2 -1
- package/src/skills/tools/dashboard-view.ts +5 -16
- package/src/skills/tools/dashboard-widget.ts +2 -1
- package/src/skills/tools/dev-harness.ts +2 -1
- package/src/skills/tools/edit.ts +2 -1
- package/src/skills/tools/glob.ts +2 -1
- package/src/skills/tools/grep.ts +3 -2
- package/src/skills/tools/index.ts +2 -1
- package/src/skills/tools/input-policy.ts +2 -1
- package/src/skills/tools/kr-flow.ts +2 -1
- package/src/skills/tools/lane-handoff.ts +2 -1
- package/src/skills/tools/list-dir.ts +2 -1
- package/src/skills/tools/llm-install.ts +2 -1
- package/src/skills/tools/llm-manager.ts +2 -1
- package/src/skills/tools/lsp/index.ts +3 -2
- package/src/skills/tools/lsp/pool.ts +1 -1
- package/src/skills/tools/lsp/server-registry.ts +2 -2
- package/src/skills/tools/market-quote.ts +2 -1
- package/src/skills/tools/mermaid-syntax.ts +2 -1
- package/src/skills/tools/mermaid.ts +2 -1
- package/src/skills/tools/msg-ask.ts +2 -1
- package/src/skills/tools/omni-search.ts +2 -1
- package/src/skills/tools/ops-ledger.ts +2 -1
- package/src/skills/tools/persistent-grounding.ts +2 -1
- package/src/skills/tools/phone-adb.ts +497 -0
- package/src/skills/tools/pty.ts +2 -1
- package/src/skills/tools/read.ts +2 -1
- package/src/skills/tools/relay-shell.ts +2 -1
- package/src/skills/tools/route.ts +2 -1
- package/src/skills/tools/run-tests.ts +2 -1
- package/src/skills/tools/set-hint.ts +2 -1
- package/src/skills/tools/shell-runner.ts +2 -1
- package/src/skills/tools/shell.ts +3 -2
- package/src/skills/tools/solve-mission.ts +2 -1
- package/src/skills/tools/spawn-coding-agent-headless.ts +2 -1
- package/src/skills/tools/terminal-matrix.ts +2 -1
- package/src/skills/tools/terminal-modal-inject.ts +2 -1
- package/src/skills/tools/terminal-modal.ts +2 -1
- package/src/skills/tools/theme-control.ts +2 -1
- package/src/skills/tools/tool-search-route.ts +5 -3
- package/src/skills/tools/tool-search-spec.ts +4 -2
- package/src/skills/tools/tool-search.ts +96 -3
- package/src/skills/tools/tty-snapshot.ts +2 -1
- package/src/skills/tools/web-search.ts +2 -1
- package/src/skills/tools/webfetch.ts +2 -1
- package/src/skills/tools/widget-inspector.ts +2 -1
- package/src/skills/tools/write.ts +2 -1
- package/src/skills/tools/youtube-transcript.ts +2 -1
- package/src/state/bridges/index.ts +0 -2
- package/src/state/bridges/plugin-host.ts +60 -29
- package/src/state/index.ts +0 -1
- package/src/status/popups.ts +2 -3
- package/src/status/status-provider-info.ts +2 -1
- package/src/steward/directive.ts +1 -1
- package/src/steward/rejudge-tick.ts +1 -1
- package/src/steward/triage.ts +1 -1
- package/src/storage/file-lock.ts +6 -3
- package/src/storage/object-store.ts +29 -3
- package/src/surface/llm-tools.ts +4 -3
- package/src/task-agent/entrance-shadow.ts +1 -4
- package/src/task-agent/map-reduce.ts +103 -12
- package/src/task-agent/map-run-ledger.ts +113 -0
- package/src/task-agent/parent-host.ts +37 -4
- package/src/task-agent/rejudge-on-head.ts +1 -1
- package/src/task-agent/task-hand.ts +1 -1
- package/src/task-agent/task-parent-role-llm.ts +2 -1
- package/src/task-orchestrator/boot.ts +1 -1
- package/src/task-orchestrator/external-policy.ts +1 -1
- package/src/task-orchestrator/runtimes/create.ts +2 -1
- package/src/task-orchestrator/runtimes/decompose.ts +2 -1
- package/src/task-orchestrator/runtimes/dispatch.ts +2 -1
- package/src/task-orchestrator/runtimes/get.ts +2 -1
- package/src/task-orchestrator/runtimes/kill.ts +2 -1
- package/src/task-orchestrator/runtimes/list.ts +2 -1
- package/src/task-orchestrator/runtimes/update.ts +2 -1
- package/src/task-orchestrator/surfaces/pod-command-job.ts +265 -26
- package/src/task-orchestrator/surfaces/pod-config-snapshot.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-gate-deps.ts +2 -0
- package/src/task-orchestrator/surfaces/pod-gate-volume-ref.ts +308 -0
- package/src/task-orchestrator/surfaces/pod-host-acp-review.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-image-source.ts +18 -3
- package/src/task-orchestrator/surfaces/pod-install-slots.ts +110 -0
- package/src/task-orchestrator/surfaces/pod-pool.ts +106 -13
- package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +18 -3
- package/src/task-orchestrator/surfaces/pod-si-warm-provider.ts +90 -11
- package/src/task-orchestrator/surfaces/pod-si-warm-runner.ts +10 -1
- package/src/task-orchestrator/surfaces/pod-source-receive.ts +41 -17
- package/src/task-orchestrator/surfaces/pod-warm-provenance.ts +79 -0
- package/src/task-orchestrator/surfaces/pod-warm-switch.ts +176 -5
- package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +25 -13
- package/src/task-orchestrator/surfaces/pod-warm-worker-protocol.ts +10 -0
- package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +702 -37
- package/src/task-orchestrator/surfaces/pod-warm-worker-runtime.ts +21 -1
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +40 -15
- package/src/task-orchestrator/surfaces/warm-host-probe.ts +31 -0
- package/src/task-orchestrator/tox-loop.ts +1 -1
- package/src/telegram-agent.ts +1 -1
- package/src/telegram-away-command.ts +6 -5
- package/src/telegram-commands.ts +2 -2
- package/src/telegram-project-command.ts +1 -1
- package/src/telegram-report.ts +9 -2
- package/src/telegram-run.ts +1 -1
- package/src/telegram-test-runner.ts +2 -1
- package/src/telegram.ts +30 -10
- package/src/test-utils/temp-dir-cleanup.ts +45 -0
- package/src/tool-router/index.ts +311 -0
- package/src/tool-runtime/artifact-runtimes.ts +2 -1
- package/src/tool-runtime/aside-selection-runtime.ts +2 -1
- package/src/tool-runtime/bash-approval.ts +14 -0
- package/src/tool-runtime/bash-runtime.ts +44 -0
- package/src/tool-runtime/browser-runtime.ts +2 -1
- package/src/tool-runtime/display-control-runtimes.ts +4 -3
- package/src/tool-runtime/elanous-asana-runtimes.ts +2 -1
- package/src/tool-runtime/elanous-autopilot-launch-runtime.ts +2 -1
- package/src/tool-runtime/elanous-control-runtimes.ts +2 -1
- package/src/tool-runtime/elanous-fs-list-runtime.ts +2 -1
- package/src/tool-runtime/elanous-fs-read-runtime.ts +2 -1
- package/src/tool-runtime/elanous-linear-issue-runtime.ts +3 -2
- package/src/tool-runtime/elanous-linear-secretary-runtime.ts +2 -1
- package/src/tool-runtime/elanous-obsidian-info-runtime.ts +2 -1
- package/src/tool-runtime/elanous-obsidian-search-runtime.ts +2 -1
- package/src/tool-runtime/elanous-showroom-broadcast-runtime.ts +2 -1
- package/src/tool-runtime/elanous-skills-list-runtime.ts +2 -1
- package/src/tool-runtime/elanous-task-submit-runtime.ts +2 -1
- package/src/tool-runtime/elanous-ux-sim-devices-runtime.ts +2 -1
- package/src/tool-runtime/find-repo-runtime.ts +2 -1
- package/src/tool-runtime/git-commit-runtime.ts +2 -1
- package/src/tool-runtime/git-pr-runtime.ts +2 -1
- package/src/tool-runtime/git-worktree-runtimes.ts +2 -1
- package/src/tool-runtime/goal-author-runtime.ts +2 -1
- package/src/tool-runtime/graph-mcp-runtimes.ts +2 -1
- package/src/tool-runtime/mcp-proxy-bootstrap.ts +2 -1
- package/src/tool-runtime/mirror-hints.ts +2 -1
- package/src/tool-runtime/pane-runtimes.ts +2 -1
- package/src/tool-runtime/persistent-grounding-runtime.ts +2 -1
- package/src/tool-runtime/pty-recording-runtimes.ts +2 -1
- package/src/tool-runtime/recording-runtimes.ts +2 -1
- package/src/tool-runtime/ref-consult-runtime.ts +2 -1
- package/src/tool-runtime/refs-gc-runtime.ts +2 -1
- package/src/tool-runtime/self-cognition-catalog.ts +1 -0
- package/src/tool-runtime/self-cognition-runtimes.ts +2 -1
- package/src/tool-runtime/set-working-dir-runtime.ts +2 -1
- package/src/tool-runtime/skill-exec-runtime.ts +3 -2
- package/src/tool-runtime/sync-repo-runtime.ts +2 -1
- package/src/tool-runtime/tool-search-runtime.ts +7 -3
- package/src/tool-runtime/truncation-store.ts +1 -1
- package/src/tool-runtime/types.ts +8 -1
- package/src/tool-runtime/undo-turn-runtime.ts +2 -1
- package/src/tool-runtime/web-terminal-live-camera.ts +2 -1
- package/src/tool-runtime/web-terminal-runtimes.ts +2 -1
- package/src/tool-runtime/web-terminal-screenshot.ts +2 -1
- package/src/tui/branches/app/index.ts +125 -0
- package/src/tui/branches/context.ts +102 -0
- package/src/tui/branches/decide.ts +11 -0
- package/src/tui/branches/first-screen.ts +20 -0
- package/src/tui/branches/harness.ts +32 -0
- package/src/tui/branches/memory.ts +9 -0
- package/src/tui/branches/now.ts +25 -0
- package/src/tui/branches/plugin-wizard.ts +149 -0
- package/src/tui/branches/sidetab/mission.ts +298 -0
- package/src/tui/branches/sidetab/route.ts +54 -0
- package/src/tui/branches/status.ts +75 -0
- package/src/tui/branches/term/route.ts +7 -0
- package/src/tui/chat/background-job-status.ts +36 -1
- package/src/tui/chat/execution-badge.ts +1 -1
- package/src/tui/chat/log-view.ts +137 -17
- package/src/tui/chat/message-block-view.ts +115 -0
- package/src/tui/core/agents.ts +87 -0
- package/src/tui/core/input.ts +70 -0
- package/src/tui/core/message-block-raw-ref.ts +53 -0
- package/src/tui/core/message-block-session.ts +33 -0
- package/src/tui/core/queue.ts +67 -0
- package/src/tui/core/registry.ts +260 -27
- package/src/tui/core/render.ts +307 -0
- package/src/tui/core/screen-paint-cache.ts +41 -0
- package/src/tui/core/turn.ts +126 -0
- package/src/tui/entry.ts +1017 -335
- package/src/tui/inline-choice.ts +163 -47
- package/src/tui/input/composer.ts +51 -26
- package/src/tui/input/inline-panel.ts +30 -0
- package/src/tui/input/pickers.ts +16 -218
- package/src/tui/input/slash-complete.ts +27 -0
- package/src/tui/mission-watch.ts +41 -0
- package/src/tui/persistent-user-memory.ts +53 -0
- package/src/tui/sidetab/attach.ts +20 -266
- package/src/tui/sidetab/herdr-portal.ts +7 -10
- package/src/tui/sidetab/remote.ts +1 -1
- package/src/tui/size-contract.ratchet.json +4 -0
- package/src/tui/slash/compact.ts +1 -1
- package/src/tui/slash/mission.ts +546 -0
- package/src/tui/slash/model.ts +49 -0
- package/src/tui/slash/new-session.ts +4 -3
- package/src/tui/slash/term/contracts.ts +273 -0
- package/src/tui/slash/term/handlers.ts +477 -0
- package/src/tui/slash/term.ts +15 -646
- package/src/tui-client/first-screen-guidance.ts +61 -0
- package/src/tui-client/local-chat-turn.ts +221 -18
- package/src/tui-client/mini-board-feed.ts +125 -0
- package/src/tui-client/mini-board-projection.ts +173 -0
- package/src/tui-client/next-shell-approval.ts +130 -0
- package/src/tui-client/next-wakeup.ts +2 -1
- package/src/tui-client/nexus-board-adapter.ts +179 -0
- package/src/tui-render-cache.ts +1 -1
- package/src/tui-terminal-contract.ts +54 -0
- package/src/tui.ts +2 -56
- package/src/ui/chrome/sidebar-shell-presentation.ts +0 -17
- package/src/ui/context-menu-host.ts +1 -2
- package/src/ui/context-menu-presenter.ts +3 -231
- package/src/ui/declarative/builder.ts +2 -16
- package/src/ui/declarative/builtin-view-catalog.ts +0 -22
- package/src/ui/declarative/decode.ts +1 -4
- package/src/ui/declarative/encode-specs.ts +52 -0
- package/src/ui/declarative/encode.ts +8 -42
- package/src/ui/declarative/index.ts +0 -2
- package/src/ui/declarative/presets.ts +0 -23
- package/src/ui/declarative/spec.ts +1 -4
- package/src/ui/drag-machine.ts +1 -2
- package/src/ui/modal-adapter.ts +1 -1
- package/src/ui/view.ts +2 -2
- package/src/ui/widgets/context-menu.ts +1 -1
- package/src/ui/widgets/dialog.ts +1 -1
- package/src/ui/widgets/file-dialog.ts +1 -1
- package/src/ui/widgets/permission-prompt.ts +1 -1
- package/src/ui/widgets/request-user-input-overlay.ts +1 -1
- package/src/ui/widgets/slash-menu.ts +1 -1
- package/src/user-config/chat.ts +316 -0
- package/src/user-config/orchestrator.ts +70 -0
- package/src/user-config/read.ts +103 -0
- package/src/user-config/reader.ts +11 -0
- package/src/user-config/schema.ts +178 -0
- package/src/user-config/shell.ts +8 -0
- package/src/user-config/sparse-config.ts +57 -0
- package/src/user-config/types.ts +1796 -0
- package/src/user-config/write.ts +451 -0
- package/src/user-config.ts +168 -3109
- package/src/ux/ux-config.ts +1 -1
- package/src/ux-sim/absorb-v2-runGraph-sim.ts +634 -0
- package/src/ux-sim/app-kill-switch-world.ts +69 -0
- package/src/ux-sim/app-scratch-bootstrap.ts +59 -0
- package/src/ux-sim/app-upgrade-path-world.ts +109 -0
- package/src/ux-sim/arg-macro-canvas-sim.ts +145 -0
- package/src/ux-sim/author-reviewer-precheck-device.ts +1 -1
- package/src/ux-sim/census-oracle-axis-world.ts +37 -0
- package/src/ux-sim/chain-land.ts +26 -4
- package/src/ux-sim/classic-tui-seat-scenarios.ts +87 -5
- package/src/ux-sim/cli-config-audit-device.ts +2 -2
- package/src/ux-sim/device-catalog-snapshot-fragments.ts +83 -0
- package/src/ux-sim/device-fidelity.ts +35 -5
- package/src/ux-sim/edge-creator-nightly.ts +611 -0
- package/src/ux-sim/edge-creator.ts +796 -0
- package/src/ux-sim/fake-absorb-ingest.ts +60 -0
- package/src/ux-sim/fake-adb-phone-world.ts +99 -0
- package/src/ux-sim/fake-agent-hook-host.ts +58 -0
- package/src/ux-sim/fake-android-client.ts +111 -0
- package/src/ux-sim/fake-app-db-backup-world.ts +65 -0
- package/src/ux-sim/fake-app-db-world.ts +105 -8
- package/src/ux-sim/fake-app-drive-world.ts +258 -0
- package/src/ux-sim/fake-app-failures.ts +63 -0
- package/src/ux-sim/fake-app-host.ts +51 -3
- package/src/ux-sim/fake-app-source-concurrent-writer.ts +16 -0
- package/src/ux-sim/fake-app-source-world.ts +59 -0
- package/src/ux-sim/fake-bin-args-sim.ts +136 -0
- package/src/ux-sim/fake-bin-install-helper.mjs +1 -1
- package/src/ux-sim/fake-bin.ts +111 -87
- package/src/ux-sim/fake-clock.ts +8 -0
- package/src/ux-sim/fake-cloud-billing-world.ts +518 -0
- package/src/ux-sim/fake-cloud-vm.ts +2 -0
- package/src/ux-sim/fake-cred.ts +78 -0
- package/src/ux-sim/fake-dns-cert.ts +58 -5
- package/src/ux-sim/fake-feeds.ts +189 -0
- package/src/ux-sim/fake-fetch.ts +47 -4
- package/src/ux-sim/fake-gh.ts +41 -2
- package/src/ux-sim/fake-google-drive-world.ts +81 -0
- package/src/ux-sim/fake-google-oauth.ts +88 -0
- package/src/ux-sim/fake-herdr.ts +39 -0
- package/src/ux-sim/fake-higgsfield.ts +13 -0
- package/src/ux-sim/fake-kubectl.ts +7 -0
- package/src/ux-sim/fake-land-queue.ts +39 -8
- package/src/ux-sim/fake-llm.ts +468 -13
- package/src/ux-sim/fake-market-feed.ts +114 -0
- package/src/ux-sim/fake-member-oidc-world.ts +92 -0
- package/src/ux-sim/fake-mobile-toolchain.ts +72 -0
- package/src/ux-sim/fake-nexus-board-server.ts +68 -0
- package/src/ux-sim/fake-nexus-plugin-wizard.ts +47 -0
- package/src/ux-sim/fake-ps.ts +10 -0
- package/src/ux-sim/fake-relay-world.ts +513 -0
- package/src/ux-sim/fake-telegram-outbound.ts +71 -0
- package/src/ux-sim/fake-temp-cleanup.ts +96 -0
- package/src/ux-sim/fault-pod-codex-503.ts +61 -41
- package/src/ux-sim/fixtures/kaist-child-artifacts/bad-search/search.html +1 -0
- package/src/ux-sim/fixtures/kaist-child-artifacts/home/index.html +1 -0
- package/src/ux-sim/fixtures/kaist-child-artifacts/search/search/index.html +1 -0
- package/src/ux-sim/fixtures/task-launch-entry.mjs +14 -0
- package/src/ux-sim/fixtures/train-manager-decision-v1.json +66 -0
- package/src/ux-sim/flutter-deploy-journey.ts +111 -0
- package/src/ux-sim/gate-closure-lazy-require-sim.ts +102 -0
- package/src/ux-sim/gate-image-layered-delta-sim.ts +93 -0
- package/src/ux-sim/gate-image-pin-handshake-sim.ts +147 -0
- package/src/ux-sim/gate-image-preflight-runtime-identity-flow-sim.ts +270 -0
- package/src/ux-sim/gate-image-preflight-runtime-identity-sim.ts +61 -0
- package/src/ux-sim/gate-receipt-file-closure-cas.ts +183 -0
- package/src/ux-sim/gate-repair-multi-file-sim.ts +132 -0
- package/src/ux-sim/gate-roster-second-pool.ts +2 -1
- package/src/ux-sim/gate-steady-state-proof-sim.ts +76 -0
- package/src/ux-sim/gcp-architect-expand-fake-world.ts +133 -0
- package/src/ux-sim/git-push-timeout-partial-outcome-remote-verify.ts +45 -0
- package/src/ux-sim/graph-design-sim.ts +260 -0
- package/src/ux-sim/graph-diff-apply.ts +169 -0
- package/src/ux-sim/graph-event-entry-world.ts +71 -0
- package/src/ux-sim/graph-placement-lease-world.ts +109 -0
- package/src/ux-sim/graph-resume-any-entry.ts +134 -0
- package/src/ux-sim/graph-run-lifecycle-world.ts +99 -0
- package/src/ux-sim/graph-trigger-hook-device.ts +146 -0
- package/src/ux-sim/hotspot-file-lease-world.ts +16 -0
- package/src/ux-sim/in-process-cli-539-file-adoption-sim.ts +124 -0
- package/src/ux-sim/in-process-cli.ts +254 -23
- package/src/ux-sim/install-one-liner-failsafe-device.ts +157 -0
- package/src/ux-sim/interaction.ts +36 -2
- package/src/ux-sim/ios-chat-edge-adapter.ts +147 -0
- package/src/ux-sim/light-rc-long-run-device.ts +44 -0
- package/src/ux-sim/log-volume-device.ts +41 -0
- package/src/ux-sim/mapreduce-multihost-sim.ts +158 -0
- package/src/ux-sim/mini-board-card.ts +95 -0
- package/src/ux-sim/mock-scenario-catalog.ts +100 -8
- package/src/ux-sim/mock-seat-pty-sequence.ts +9 -4
- package/src/ux-sim/multi-actor-world.ts +206 -0
- package/src/ux-sim/multi-tenant-relay-world.ts +531 -0
- package/src/ux-sim/network-sandbox.ts +31 -0
- package/src/ux-sim/next-tui-core-input.ts +65 -0
- package/src/ux-sim/next-tui-plugin-wizard-world.ts +27 -0
- package/src/ux-sim/next-tui-route-device.ts +20 -0
- package/src/ux-sim/next-tui-seat-scenarios.ts +365 -63
- package/src/ux-sim/nl-scenario.ts +56 -0
- package/src/ux-sim/outbound-guard-sim.ts +82 -0
- package/src/ux-sim/phone-pwa-selfheal.ts +163 -0
- package/src/ux-sim/plugin-release-observe-route-world.ts +92 -0
- package/src/ux-sim/plugin-yaml-gen-world.ts +62 -0
- package/src/ux-sim/pod-federation-sim.ts +196 -0
- package/src/ux-sim/pod-phase-prewarm-sim.ts +12 -0
- package/src/ux-sim/pod-phase-prewarm.ts +36 -0
- package/src/ux-sim/pod-reuse-match-by-kind-sim.ts +56 -0
- package/src/ux-sim/pod-reuse-world.ts +152 -1
- package/src/ux-sim/pr-land-drift-autorepair-device.ts +58 -0
- package/src/ux-sim/public-auth-provider-cloud-vm-sim.ts +111 -0
- package/src/ux-sim/pwa-provenance-badge-world.ts +25 -0
- package/src/ux-sim/pwa-retained-routes-world.ts +25 -0
- package/src/ux-sim/pwa-static-swap.ts +28 -0
- package/src/ux-sim/readiness-countdown.ts +332 -0
- package/src/ux-sim/real-target-sandbox.ts +209 -0
- package/src/ux-sim/release-day-0307-replay.ts +529 -0
- package/src/ux-sim/release-same-version-run-adoption-sim.ts +186 -0
- package/src/ux-sim/release-sim-rig-seat-guard-child.ts +57 -0
- package/src/ux-sim/release-sim-rig.ts +1035 -56
- package/src/ux-sim/repo-maintenance.ts +142 -0
- package/src/ux-sim/rla-context-release-status-arrival-event.ts +107 -0
- package/src/ux-sim/rla-macrophage-heal-timeout-stale-output-sim.ts +41 -0
- package/src/ux-sim/scenarios/rla-sim-vocab-node-edge.yaml +23 -0
- package/src/ux-sim/sim-coverage.ts +19 -1
- package/src/ux-sim/sim-receipt.ts +185 -0
- package/src/ux-sim/smart-merge-world.ts +693 -0
- package/src/ux-sim/ta-land-count-dispatcher-sim.ts +93 -0
- package/src/ux-sim/task-orchestrator-surfaces-self-implement-pod-device.ts +1 -1
- package/src/ux-sim/temp-git-remote.ts +25 -2
- package/src/ux-sim/tool-router-world.ts +137 -0
- package/src/ux-sim/train-manager-decision-sim.ts +6 -0
- package/src/ux-sim/train-manager-world.ts +188 -0
- package/src/ux-sim/user-config-default-sparse-sim.ts +68 -0
- package/src/ux-sim/user-config-tui-diet-sim.ts +71 -0
- package/src/ux-sim/warm-pool-declare-path-sim.ts +19 -0
- package/src/ux-sim/warm-pool-reuse-sim.ts +53 -16
- package/src/ux-sim/warm-pool-reuse-switch-sim.ts +111 -4
- package/src/ux-sim/warm-si-reuse-sim.ts +39 -12
- package/src/ux-sim/worktree-deps-shared-store.ts +45 -0
- package/src/ux-sim/world-chaos-runtime.ts +55 -19
- package/src/ux-sim/world-host-chaos.ts +185 -5
- package/src/ux-sim/world-regression-suite.ts +197 -0
- package/src/ux-sim/world-schema.ts +32 -12
- package/src/ux-sim/world-store.ts +7 -2
- package/src/ux-sim/world.ts +1069 -30
- package/src/version/packed-revision.json +1 -1
- package/src/video-pipeline/vflow-reference.ts +1 -2
- package/src/views/config.ts +0 -24
- package/src/views/product-compact-mode.ts +0 -6
- package/src/voice/channel-adapters/discord-voice-channel-adapter.ts +2 -5
- package/src/voice/channel-adapters/discord-voice-channel-commands.ts +1 -1
- package/src/voice/voice-streaming-stt-singleton.ts +1 -1
- package/src/voice/voice-tts-singleton.ts +1 -1
- package/src/widget-routing/pane-to-widget.ts +2 -3
- package/src/widget-routing/widget-dispatcher.ts +1 -2
- package/src/widgets/host.ts +2 -3
- package/src/widgets/mini-board.ts +72 -0
- package/src/widgets/types.ts +1 -1
- package/src/workflow-runtime/daemon.ts +11 -0
- package/src/workflow-runtime/executor.ts +1 -3
- package/src/workflow-runtime/parser.ts +3 -2
- package/src/workflow-runtime/schema.ts +1 -4
- package/src/workflow-runtime/triggers/webhook-source.ts +12 -0
- package/src/workspace-types.ts +0 -1
- package/templates/flutter-app-lecture-scrap/README.md +32 -0
- package/templates/flutter-app-lecture-scrap/android/app/build.gradle.kts +79 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/debug/AndroidManifest.xml +7 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/AndroidManifest.xml +46 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/kotlin/ai/elanous/lecture_scrap/MainActivity.kt +5 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values/styles.xml +18 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/main/res/values-night/styles.xml +18 -0
- package/templates/flutter-app-lecture-scrap/android/app/src/profile/AndroidManifest.xml +7 -0
- package/templates/flutter-app-lecture-scrap/android/build.gradle.kts +24 -0
- package/templates/flutter-app-lecture-scrap/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/templates/flutter-app-lecture-scrap/android/gradle.properties +6 -0
- package/templates/flutter-app-lecture-scrap/android/settings.gradle.kts +26 -0
- package/templates/flutter-app-lecture-scrap/app.yaml +60 -0
- package/templates/flutter-app-lecture-scrap/lib/main.dart +392 -0
- package/templates/flutter-app-lecture-scrap/out/index.html +7 -0
- package/templates/flutter-app-lecture-scrap/pubspec.lock +348 -0
- package/templates/flutter-app-lecture-scrap/pubspec.yaml +14 -0
- package/templates/flutter-app-translator/README.md +41 -0
- package/templates/flutter-app-translator/lib/main.dart +602 -0
- package/templates/flutter-app-translator/lib/recording_cleanup.dart +8 -0
- package/templates/flutter-app-translator/lib/session_epoch.dart +22 -0
- package/templates/flutter-app-translator/pubspec.yaml +24 -0
- package/templates/flutter-app-translator/test/session_lifecycle_test.dart +168 -0
- package/templates/flutter-app-voice-note/README.md +34 -0
- package/templates/flutter-app-voice-note/android/app/build.gradle.kts +85 -0
- package/templates/flutter-app-voice-note/android/app/src/debug/AndroidManifest.xml +7 -0
- package/templates/flutter-app-voice-note/android/app/src/main/AndroidManifest.xml +59 -0
- package/templates/flutter-app-voice-note/android/app/src/main/kotlin/com/example/flutter_app_voice_note/MainActivity.kt +5 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/values/styles.xml +18 -0
- package/templates/flutter-app-voice-note/android/app/src/main/res/values-night/styles.xml +18 -0
- package/templates/flutter-app-voice-note/android/app/src/profile/AndroidManifest.xml +7 -0
- package/templates/flutter-app-voice-note/android/build.gradle.kts +24 -0
- package/templates/flutter-app-voice-note/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/templates/flutter-app-voice-note/android/gradle.properties +6 -0
- package/templates/flutter-app-voice-note/android/settings.gradle.kts +26 -0
- package/templates/flutter-app-voice-note/app.yaml +18 -0
- package/templates/flutter-app-voice-note/ios/Flutter/AppFrameworkInfo.plist +24 -0
- package/templates/flutter-app-voice-note/ios/Flutter/Debug.xcconfig +1 -0
- package/templates/flutter-app-voice-note/ios/Flutter/Release.xcconfig +1 -0
- package/templates/flutter-app-voice-note/ios/Runner/AppDelegate.swift +16 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +23 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- package/templates/flutter-app-voice-note/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +5 -0
- package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/LaunchScreen.storyboard +37 -0
- package/templates/flutter-app-voice-note/ios/Runner/Base.lproj/Main.storyboard +26 -0
- package/templates/flutter-app-voice-note/ios/Runner/Info.plist +83 -0
- package/templates/flutter-app-voice-note/ios/Runner/Runner-Bridging-Header.h +1 -0
- package/templates/flutter-app-voice-note/ios/Runner/SceneDelegate.swift +6 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.pbxproj +647 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +119 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/templates/flutter-app-voice-note/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/templates/flutter-app-voice-note/ios/RunnerTests/RunnerTests.swift +12 -0
- package/templates/flutter-app-voice-note/lib/main.dart +765 -0
- package/templates/flutter-app-voice-note/lib/voice_note_service.dart +341 -0
- package/templates/flutter-app-voice-note/out/index.html +11 -0
- package/templates/flutter-app-voice-note/pubspec.lock +777 -0
- package/templates/flutter-app-voice-note/pubspec.yaml +24 -0
- package/templates/flutter-app-voice-note/test/voice_note_service_test.dart +559 -0
- package/templates/next-app-lecture-scrap/app/layout.jsx +3 -0
- package/templates/next-app-lecture-scrap/app/notes/new/page.jsx +12 -0
- package/templates/next-app-lecture-scrap/app/page.jsx +9 -0
- package/templates/next-app-lecture-scrap/app/search/page.jsx +10 -0
- package/templates/next-app-lecture-scrap/app.yaml +88 -0
- package/templates/next-app-lecture-scrap/next.config.mjs +1 -0
- package/templates/next-app-lecture-scrap/package.json +20 -0
- package/templates/next-app-shop-studio/app/layout.tsx +15 -0
- package/templates/next-app-shop-studio/app/page.tsx +32 -0
- package/templates/next-app-shop-studio/app.yaml +90 -0
- package/templates/next-app-shop-studio/next.config.ts +8 -0
- package/templates/next-app-shop-studio/package.json +20 -0
- package/templates/next-app-translator/app.yaml +3 -1
- package/templates/next-app-voice-note/app.yaml +13 -2
- package/test/helpers/dashboard-source.ts +110 -0
- package/apps/pwa/out/404/index.html +0 -1
- package/apps/pwa/out/404.html +0 -1
- package/apps/pwa/out/_next/static/chunks/03e0d6dd.700c7936da5b58dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/08c5076c.5caa59440568d9fd.js +0 -122
- package/apps/pwa/out/_next/static/chunks/1133.3801860878ce88b3.js +0 -90
- package/apps/pwa/out/_next/static/chunks/122.8b918db079a217b3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1262.382ab717777b7876.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1282.b1839574a7174818.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1289.90573260d680c2c4.js +0 -104
- package/apps/pwa/out/_next/static/chunks/1292.a5ad38120c4f4c91.js +0 -8
- package/apps/pwa/out/_next/static/chunks/13-a66d199eb241ebdd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1407.738fdf1a0494400e.js +0 -62
- package/apps/pwa/out/_next/static/chunks/1544.b54c381a64374891.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1626-e27033153bdeace1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1709-9d15a13770cf351e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/174-48f4dbaadfd63cfe.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1791.2d4dc98bb4477808.js +0 -64
- package/apps/pwa/out/_next/static/chunks/1895.8083fc998e96e187.js +0 -115
- package/apps/pwa/out/_next/static/chunks/20-e5b5cb74a2a5bb5d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2081-daa5ad7b1b89adff.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2097.0b609686216a65c5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2157-e5b53879e832dcaf.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2195.309f603cd694b342.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2264-db91ffbe7db2bec9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2514-c999158b591411cc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2534-57d4eb7a68b899ac.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2566.4bd6b4d466b415bf.js +0 -309
- package/apps/pwa/out/_next/static/chunks/2769-b57dccc1a2780bc9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3145.a1fae3cb5ff3e38f.js +0 -74
- package/apps/pwa/out/_next/static/chunks/3273.01f6a479510f3745.js +0 -1
- package/apps/pwa/out/_next/static/chunks/332.dc6c432ef47a38bd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3334.22d96c812cd3499d.js +0 -149
- package/apps/pwa/out/_next/static/chunks/337.e243cda2c1de2d72.js +0 -24
- package/apps/pwa/out/_next/static/chunks/3399-2aa9d084ec2b4f91.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3425-79876b2e27c2bf21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3567.f123fed09c981929.js +0 -34
- package/apps/pwa/out/_next/static/chunks/3578-1c7b5d1f3177154a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3652-baf6f94c7ab62f8b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3819-0819a0e58e075bc4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/384.08e43ae443d798b7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/392.88e4871679543f05.js +0 -24
- package/apps/pwa/out/_next/static/chunks/3955.a29bd2ca82a3b139.js +0 -23
- package/apps/pwa/out/_next/static/chunks/3970.3b0b5d94ea0b60cc.js +0 -2
- package/apps/pwa/out/_next/static/chunks/4042.d51c4afd58eb3c9d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4053-4f494b4b77904727.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4090.2ac256e4465ce23a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4171-341d135bb272be82.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4231.6c49fe66b025f465.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4317-d2132e3be869b36b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/436.bdfc3533c90ab95b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4406.1c70154db26f6ca3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4469-361edcba09e0eb1b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4513.35e176155fcac151.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4523.1de9ececca7bb35c.js +0 -27
- package/apps/pwa/out/_next/static/chunks/4743.202838e9e44d1890.js +0 -38
- package/apps/pwa/out/_next/static/chunks/4762.cfb596785785a35d.js +0 -79
- package/apps/pwa/out/_next/static/chunks/4859.e5532ce5f6dfb5c9.js +0 -32
- package/apps/pwa/out/_next/static/chunks/5002-8af817fe59d06e9c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5015.9843edccbdec9dcc.js +0 -94
- package/apps/pwa/out/_next/static/chunks/5046-129cd38c01b0e1a6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5226.21335a67dbd6769b.js +0 -226
- package/apps/pwa/out/_next/static/chunks/5268-60a68ca7fc42517d.js +0 -25
- package/apps/pwa/out/_next/static/chunks/5366.ebeeaf7de80d3ca9.js +0 -193
- package/apps/pwa/out/_next/static/chunks/5411-713ef15cc7235cf6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5505-467d5b66c0f6604f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5665-700d710daec0a3a8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/583d9398.977d3658a34faab6.js +0 -62
- package/apps/pwa/out/_next/static/chunks/584.760ea6f9640a2330.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5846-91344971864969a6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5902.99e8a94fe5a52f2d.js +0 -77
- package/apps/pwa/out/_next/static/chunks/60-0bd459e227e19e2b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6039.6b54b0dbd98ce3d9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6048.7bbaec360ac24a83.js +0 -36
- package/apps/pwa/out/_next/static/chunks/6067-ee1f7f126eb7edba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6284.f8120f5daaea3e99.js +0 -286
- package/apps/pwa/out/_next/static/chunks/6299.ac4c5fb874605cb9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6397.7ea605814f73c962.js +0 -148
- package/apps/pwa/out/_next/static/chunks/6459.ddf3a045461f0277.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6506.f32c4e8db47a4d04.js +0 -41
- package/apps/pwa/out/_next/static/chunks/6650.7c18ed630c8df5f6.js +0 -217
- package/apps/pwa/out/_next/static/chunks/6672.dc8faf8315bed1ec.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6720-9f2b574e2778c51e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6901.06042eea29545f49.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6964-ddcc66e773813bb9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/70160b1f.e9b0c3183f852774.js +0 -1
- package/apps/pwa/out/_next/static/chunks/726ffad1-541c403c50188556.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7370.5e62aa60f70eab3a.js +0 -287
- package/apps/pwa/out/_next/static/chunks/7398.0f969552779fc929.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7463-2d9010477f346643.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7616.90f498934db729c5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7636.a2019ded999e3313.js +0 -93
- package/apps/pwa/out/_next/static/chunks/7679.fff5f504d80d8efa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7680.8a882f1e69f29d04.js +0 -1
- package/apps/pwa/out/_next/static/chunks/780.fef3f7eab136cfb2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7913.111fcb6384514824.js +0 -1
- package/apps/pwa/out/_next/static/chunks/79e58824.98894b54fea1ebeb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8053-787355829bcce0fc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/81.14ce7dd1f5f076b5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8155-e80f82cd593d37e0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8173.4cdfbe651f7b5b42.js +0 -1
- package/apps/pwa/out/_next/static/chunks/818-4680f45366d9d817.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8289.e422989d7d3a3b3e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8330-65b8ffc4adafddda.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8347-9d4560fee007a4a7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8634-fa442da5f7bf2646.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8641.2e059c30fc167758.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8702.b18812eda87d0d96.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8868.53e897d2e917ba66.js +0 -5
- package/apps/pwa/out/_next/static/chunks/8991.ea9c4a7cd21e8ab0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8d86c5fb.bb592b68be6b2dd1.js +0 -160
- package/apps/pwa/out/_next/static/chunks/9041.fb24e17368fc7c0c.js +0 -9
- package/apps/pwa/out/_next/static/chunks/9061-52f95217516a27ea.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9147.5721390c3c3eb275.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9288.92a602e56f3c3235.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9384.eca46b93339ff473.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9441-11ce6d0c0489a635.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9633.e6c9740bd6532344.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9750-52fc8ea133cbdd10.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9787-88bf04f4efec6a87.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9866.26519d8848018524.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9932.53788b29e036cf7e.js +0 -66
- package/apps/pwa/out/_next/static/chunks/9948.c9ce32e9de4d6112.js +0 -86
- package/apps/pwa/out/_next/static/chunks/9eb16190.04c6ae4915f4a9a3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/ae5abe9f.937147329556d162.js +0 -18
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-47c27b54524c7fa5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-9f612bc57ce11518.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/apps/page-8f42d3f8a3c479b2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-fca38e9721b2e291.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-d76f695cc9aa66da.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-6a4a92e785e30a96.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-489f91f71cc95c1f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-e26b02e36ed57ff7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-8b6d2222230d6681.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-b6d3b8924598e180.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-99ae8ef441d501e1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-e267c49dabb08ed1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-7f93783cd38fd2b4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-ad71c7f877d1ade8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-c46377fc61262679.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-47c27b54524c7fa5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-65d6902d87acd8ae.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-07c809fa1f01af06.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-f7f6914dfccec337.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-122697e5567e1ff3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-49562e02f95095bc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-99ae848af2397c3d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-46d8a6d324c0e2f1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-de6f870e5608e6de.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-ea2df30943a87c71.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-98b024890b62cf3b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-c8f0e20b66b28ffa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-7c3611d8aad20b6b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/resources/page-e28c2e5e4b09d07b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-4c00dd145567e03c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-04897c35a1b0f31c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-cd3b5f3ffdd042f8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-481cefac3cfae8e2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-5d4e9f1acd8a3e76.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-508eac8c609008c8.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-2647b6064ec03f6d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-06bd8804fb5461c0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-7f170c47d678308f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-47c27b54524c7fa5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-2775bd94657214dd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-3d4c64344a7849d1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-35ecc675ece7f1b1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-212690c5984d0bb5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/term/page-c3ce5e2d8719a62d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-20e0f8fd07394b92.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-2e41cba602b85777.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-cdfaf3c619b41ee3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-3a0cad7feda4ba84.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-b548ef224f7a2c4e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-840ebf9a8df1e608.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-9c92234d0c6fc211.js +0 -1
- package/apps/pwa/out/_next/static/chunks/cefbab05-d77e78efac6f0805.js +0 -1
- package/apps/pwa/out/_next/static/chunks/d80a33eb.43d7188f45a1df0f.js +0 -66
- package/apps/pwa/out/_next/static/chunks/framework-e606293b68d3c2a4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-4ee3ac293afcb363.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-fa9105027513fb32.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-259505853c97c4e1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-9189a5f75b31099d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-24fcc4e4a45c4fbb.js +0 -1
- package/apps/pwa/out/_next/static/css/085673d826b98b62.css +0 -1
- package/apps/pwa/out/_next/static/css/599369d853c61df7.css +0 -31
- package/apps/pwa/out/_next/static/css/659eccb5db697b76.css +0 -1
- package/apps/pwa/out/_next/static/css/694b79ddfe810a75.css +0 -1
- package/apps/pwa/out/_next/static/css/9e19f9d740cf4dcb.css +0 -1
- package/apps/pwa/out/_next/static/media/22a5144ee8d83bca-s.p.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/9766a7e9e2e0ad5a-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/aa016aab0e6d1295-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/b66cf8e69499582a-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/media/f639721981034f88-s.woff2 +0 -0
- package/apps/pwa/out/_next/static/myEvhO9EDn1k6MAMqnQJd/_buildManifest.js +0 -1
- package/apps/pwa/out/_next/static/myEvhO9EDn1k6MAMqnQJd/_ssgManifest.js +0 -1
- package/apps/pwa/out/approvals/index.html +0 -1
- package/apps/pwa/out/approvals/index.txt +0 -33
- package/apps/pwa/out/apps/index.html +0 -1
- package/apps/pwa/out/apps/index.txt +0 -33
- package/apps/pwa/out/board/index.html +0 -1
- package/apps/pwa/out/board/index.txt +0 -33
- package/apps/pwa/out/botlab/index.html +0 -1
- package/apps/pwa/out/botlab/index.txt +0 -30
- package/apps/pwa/out/bots/index.html +0 -1
- package/apps/pwa/out/bots/index.txt +0 -30
- package/apps/pwa/out/ceo/index.html +0 -1
- package/apps/pwa/out/ceo/index.txt +0 -33
- package/apps/pwa/out/chat/index.html +0 -1
- package/apps/pwa/out/chat/index.txt +0 -30
- package/apps/pwa/out/consult/index.html +0 -1
- package/apps/pwa/out/consult/index.txt +0 -33
- package/apps/pwa/out/control/index.html +0 -1
- package/apps/pwa/out/control/index.txt +0 -33
- package/apps/pwa/out/decisions/index.html +0 -1
- package/apps/pwa/out/decisions/index.txt +0 -30
- package/apps/pwa/out/design-check/index.html +0 -1
- package/apps/pwa/out/design-check/index.txt +0 -33
- package/apps/pwa/out/editor/index.html +0 -1
- package/apps/pwa/out/editor/index.txt +0 -35
- package/apps/pwa/out/exec/index.html +0 -1
- package/apps/pwa/out/exec/index.txt +0 -33
- package/apps/pwa/out/field/index.html +0 -1
- package/apps/pwa/out/field/index.txt +0 -33
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Bold.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Italic.ttf +0 -0
- package/apps/pwa/out/fonts/JetBrainsMonoNerdFontMono-Regular.ttf +0 -0
- package/apps/pwa/out/healthz +0 -1
- package/apps/pwa/out/icons/elanous-16.png +0 -0
- package/apps/pwa/out/icons/elanous-180.png +0 -0
- package/apps/pwa/out/icons/elanous-192.png +0 -0
- package/apps/pwa/out/icons/elanous-32.png +0 -0
- package/apps/pwa/out/icons/elanous-512.png +0 -0
- package/apps/pwa/out/index.html +0 -1
- package/apps/pwa/out/index.txt +0 -30
- package/apps/pwa/out/inside/index.html +0 -1
- package/apps/pwa/out/inside/index.txt +0 -32
- package/apps/pwa/out/intake/index.html +0 -1
- package/apps/pwa/out/intake/index.txt +0 -33
- package/apps/pwa/out/live/index.html +0 -1
- package/apps/pwa/out/live/index.txt +0 -35
- package/apps/pwa/out/live-run/index.html +0 -1
- package/apps/pwa/out/live-run/index.txt +0 -35
- package/apps/pwa/out/loops/index.html +0 -1
- package/apps/pwa/out/loops/index.txt +0 -31
- package/apps/pwa/out/manifest.webmanifest +0 -31
- package/apps/pwa/out/market/index.html +0 -1
- package/apps/pwa/out/market/index.txt +0 -30
- package/apps/pwa/out/morning/index.html +0 -1
- package/apps/pwa/out/morning/index.txt +0 -33
- package/apps/pwa/out/observatory/index.html +0 -1
- package/apps/pwa/out/observatory/index.txt +0 -33
- package/apps/pwa/out/offline.html +0 -84
- package/apps/pwa/out/ops/checklist/index.html +0 -1
- package/apps/pwa/out/ops/checklist/index.txt +0 -30
- package/apps/pwa/out/ops/release/index.html +0 -1
- package/apps/pwa/out/ops/release/index.txt +0 -30
- package/apps/pwa/out/ops/resources/index.html +0 -1
- package/apps/pwa/out/ops/resources/index.txt +0 -30
- package/apps/pwa/out/ops/seats/index.html +0 -1
- package/apps/pwa/out/ops/seats/index.txt +0 -30
- package/apps/pwa/out/outputs/index.html +0 -1
- package/apps/pwa/out/outputs/index.txt +0 -30
- package/apps/pwa/out/reflection/index.html +0 -1
- package/apps/pwa/out/reflection/index.txt +0 -31
- package/apps/pwa/out/scheduler/index.html +0 -1
- package/apps/pwa/out/scheduler/index.txt +0 -33
- package/apps/pwa/out/sessions/index.html +0 -1
- package/apps/pwa/out/sessions/index.txt +0 -30
- package/apps/pwa/out/settings/devices/index.html +0 -1
- package/apps/pwa/out/settings/devices/index.txt +0 -33
- package/apps/pwa/out/settings/index.html +0 -1
- package/apps/pwa/out/settings/index.txt +0 -33
- package/apps/pwa/out/setup/done/index.html +0 -1
- package/apps/pwa/out/setup/done/index.txt +0 -33
- package/apps/pwa/out/setup/index.html +0 -1
- package/apps/pwa/out/setup/index.txt +0 -33
- package/apps/pwa/out/share/index.html +0 -1
- package/apps/pwa/out/share/index.txt +0 -33
- package/apps/pwa/out/showroom/index.html +0 -1
- package/apps/pwa/out/showroom/index.txt +0 -30
- package/apps/pwa/out/sw-strategies.js +0 -44
- package/apps/pwa/out/sw.js +0 -385
- package/apps/pwa/out/tasks/index.html +0 -1
- package/apps/pwa/out/tasks/index.txt +0 -33
- package/apps/pwa/out/term/index.html +0 -1
- package/apps/pwa/out/term/index.txt +0 -33
- package/apps/pwa/out/today/index.html +0 -1
- package/apps/pwa/out/today/index.txt +0 -33
- package/apps/pwa/out/trace/index.html +0 -1
- package/apps/pwa/out/trace/index.txt +0 -33
- package/apps/pwa/out/vault/index.html +0 -1
- package/apps/pwa/out/vault/index.txt +0 -33
- package/apps/pwa/out/workflows/chat-ui/index.html +0 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +0 -33
- package/apps/pwa/out/workflows/index.html +0 -1
- package/apps/pwa/out/workflows/index.txt +0 -33
- package/apps/pwa/out/workspace/index.html +0 -1
- package/apps/pwa/out/workspace/index.txt +0 -33
- package/apps/pwa/out/worktrees/index.html +0 -1
- package/apps/pwa/out/worktrees/index.txt +0 -33
- package/plugins/hello/manifest.json +0 -7
- package/plugins/hello/missions/count-to-5/evaluator.sh +0 -32
- package/plugins/hello/missions/count-to-5/mission.md +0 -17
- package/plugins/hello/missions/count-to-5/sandbox.md +0 -10
- package/plugins/hello/plugin.ts +0 -97
- package/src/acp/grok-leader-manager.ts +0 -160
- package/src/autopilot/discovery/preexisting-red-rows.ts +0 -83
- package/src/browser-pane/mount.ts +0 -242
- package/src/budget/cost-tier-advisor.ts +0 -91
- package/src/cli/ask-bare.ts +0 -43
- package/src/dashboard/browser-help-runtime.ts +0 -95
- package/src/dashboard/compact-surface-popup.ts +0 -61
- package/src/dashboard/input/chat-main-cache-command.ts +0 -11
- package/src/dashboard/input/mouse-shell-rollup-runtime.ts +0 -114
- package/src/dashboard/media-preview-surface-runtime.ts +0 -81
- package/src/dashboard/modals/browser-preview-modal-seams.ts +0 -887
- package/src/dashboard/modals/preview.ts +0 -151
- package/src/dashboard/scenario-runtime-boot.ts +0 -113
- package/src/dashboard/shell-rollup-popup.ts +0 -116
- package/src/directive/interpretation-card.ts +0 -36
- package/src/display/bounds-validate.ts +0 -113
- package/src/display/image-emit.ts +0 -247
- package/src/display/picker-layout.ts +0 -199
- package/src/display/terminal-capability.ts +0 -161
- package/src/display/terminal-frame.ts +0 -32
- package/src/display/terminal-snapshot.ts +0 -58
- package/src/display/transient-overlay-policy.ts +0 -59
- package/src/domains/alert-audit.ts +0 -271
- package/src/domains/proactive-recall.ts +0 -85
- package/src/graph-runner/release-manifest.ts +0 -93
- package/src/grounding/ref-vector.ts +0 -61
- package/src/harness/artifact-launch-vocabulary.ts +0 -45
- package/src/harness/shell-prompt-watcher.ts +0 -0
- package/src/harness/user-terminal-injector.ts +0 -51
- package/src/intelligence-map/catalog-feed.ts +0 -119
- package/src/intelligence-map/model-bench-scores.ts +0 -102
- package/src/iul/asset-registry.ts +0 -980
- package/src/iul/lab-tabs.ts +0 -283
- package/src/iul/lane-registry.ts +0 -25
- package/src/iul/lane-select-view.ts +0 -62
- package/src/iul/scene-registry.ts +0 -25
- package/src/iul/sidebar-shell-catalog.ts +0 -41
- package/src/iul/sidebar-shell-copy.ts +0 -38
- package/src/iul/sidebar-shell.ts +0 -40
- package/src/iul/theme-lab-lane-view.ts +0 -291
- package/src/iul/top-control-rail.ts +0 -7
- package/src/model-tier/tier-to-model.ts +0 -23
- package/src/onboarding/widget-impl.ts +0 -118
- package/src/panes/alt-skip-predicate.ts +0 -40
- package/src/panes/files-pane.ts +0 -39
- package/src/panes/pane-cycle.ts +0 -61
- package/src/panes/skills-pane.ts +0 -47
- package/src/panes/terminal-bg-query.ts +0 -152
- package/src/panes/visibility-badge.ts +0 -50
- package/src/playground/catalog.ts +0 -1306
- package/src/playground/lab.ts +0 -439
- package/src/playground/widget.ts +0 -1588
- package/src/plugins/legacy-classify.ts +0 -479
- package/src/plugins/maker/connector-maker.ts +0 -41
- package/src/plugins/maker/skill-maker.ts +0 -42
- package/src/preview/pager.ts +0 -135
- package/src/preview-pane/mount.ts +0 -202
- package/src/prompt-library/family-prompt-coverage.ts +0 -97
- package/src/release-loop/proposal-auto-place.ts +0 -83
- package/src/self-dev/decompose-compose-graph.ts +0 -136
- package/src/self-dev/local-supervisor-judge.ts +0 -185
- package/src/self-dev/shard-pod-run.ts +0 -77
- package/src/self-implement/follow-up-placement.ts +0 -79
- package/src/shell-runner/modal-surface.ts +0 -171
- package/src/sim-world-device-catalogs.json +0 -1126
- package/src/skills/skill-route-ux.ts +0 -62
- package/src/state/bridges/widget-host-focus.ts +0 -96
- package/src/state/bridges/widget-host.ts +0 -273
- package/src/steward/entrance-dispatch-shadow-adapter-child.ts +0 -26
- package/src/steward/entrance-dispatch-shadow-adapter.ts +0 -196
- package/src/storage/object-store-visibility.ts +0 -169
- package/src/task-orchestrator/surfaces/pod-warm-ta-shadow.ts +0 -85
- package/src/theme/auto-theme.ts +0 -73
- package/src/tool-runtime/widget-schema-runtime.ts +0 -94
- package/src/ui/chrome/tooltip-chrome.ts +0 -16
- package/src/ui/decor.ts +0 -75
- package/src/ui/hover-presenter.ts +0 -202
- package/src/ui/hover-tracker.ts +0 -249
- package/src/ui/layout/dsl.ts +0 -210
- package/src/ui/layout/scroll.ts +0 -104
- package/src/ui/slash-launcher.ts +0 -58
- package/src/ui/submenu-popup-menu-contract.ts +0 -44
- package/src/ui/submenu-popup-pair.ts +0 -175
- package/src/ui/submenu-popup-theme.ts +0 -81
- package/src/ui/widgets/accordion.ts +0 -122
- package/src/ui/widgets/combo-box.ts +0 -221
- package/src/ui/widgets/draggable-list.ts +0 -247
- package/src/ui/widgets/list-view.ts +0 -221
- package/src/ui/widgets/menu-tree-controller.ts +0 -136
- package/src/ui/widgets/progress-bar.ts +0 -164
- package/src/ui/widgets/selection-browse.ts +0 -26
- package/src/ui/widgets/tabs.ts +0 -174
- package/src/ui/widgets/title-bar.ts +0 -149
- package/src/ui/widgets/tooltip.ts +0 -130
- package/src/ui/widgets/tree-view.ts +0 -266
- package/src/ux/ux-learn.ts +0 -58
- package/src/ux-sim/mock-scenario-catalog.json +0 -4489
- package/src/vi-editor.ts +0 -407
- package/src/webclone/qa-table.ts +0 -22
- package/src/widget-routing/terminal-pane-behavior.ts +0 -114
- package/src/widgets/plan-board.ts +0 -124
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { chmodSync, cpSync, mkdirSync, readFileSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';
|
|
2
|
-
import { createHash } from 'node:crypto';
|
|
1
|
+
import { chmodSync, copyFileSync, cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';
|
|
2
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
3
3
|
import { delimiter, dirname, join } from 'node:path';
|
|
4
|
-
import { parse as parseYaml } from 'yaml';
|
|
4
|
+
import { parse as parseYaml, stringify as stringifyYaml } from 'yaml';
|
|
5
5
|
import { getTestStateRoot } from '../nexus/paths.js';
|
|
6
6
|
import { resetEffectiveInstanceRoot } from '../instance/resolve.js';
|
|
7
7
|
import { getElanousConfigDirOverride, resetElanousConfigDir, setElanousConfigDir } from '../elanous-config-dir.js';
|
|
@@ -10,14 +10,19 @@ import { listGraphRuns, runGraph as runGraphCore, STOPPED_NODE_ERROR, type Graph
|
|
|
10
10
|
import { parseGraphTemplateYaml } from '../self-implement/graph-yaml.js';
|
|
11
11
|
import { releaseResumeWaiver } from '../../scripts/release-loop/resume.js';
|
|
12
12
|
import { runKnownIssues } from '../../scripts/release-loop/known-issues-node.js';
|
|
13
|
-
import { createGateRunner, graphGateResult, judgeGate
|
|
13
|
+
import { createGateRunner, graphGateResult, judgeGate } from '../../scripts/release-loop/gate-api-leaf.js';
|
|
14
|
+
import type { GateResult, GateRunner } from '../../scripts/release-loop/gate-types.js';
|
|
14
15
|
import { runNpmPublish } from '../../scripts/release-loop/npm-publish-node.js';
|
|
15
16
|
import { runPublish } from '../../scripts/release-loop/publish-node.js';
|
|
16
17
|
import { resumeReleaseRun } from '../../scripts/release-loop/resume-release.js';
|
|
17
18
|
import { runAutoApprove } from '../../scripts/release-loop/auto-approve-node.js';
|
|
18
19
|
import { runVerify } from '../../scripts/release-loop/verify-node.js';
|
|
19
|
-
import { runNodeVerdict } from '../../scripts/release-loop/node-verdict.js';
|
|
20
|
+
import { latestGateOutput, readGraphContext, runNodeVerdict } from '../../scripts/release-loop/node-verdict.js';
|
|
21
|
+
import { runGateRepairNode } from '../../scripts/release-loop/gate-repair-node.js';
|
|
22
|
+
import { auditGateFileReceipts } from '../../scripts/release-loop/gate-file-receipt-audit-node.js';
|
|
20
23
|
import { resolveScenarioFilePath } from './scenario.js';
|
|
24
|
+
import { makeGateFileReceiptSimulationReceipt, simGateReceiptFileClosureCas } from './gate-receipt-file-closure-cas.js';
|
|
25
|
+
import { gateFileReceiptIdentityFromClosure, type GateFileReceiptIdentity } from '../../scripts/release-loop/gate-file-receipts.js';
|
|
21
26
|
|
|
22
27
|
/** The sim world executes the same live subscribers against its isolated state root. */
|
|
23
28
|
function runGraph(path: string, options: GraphRunOptions): ReturnType<typeof runGraphCore> {
|
|
@@ -32,6 +37,553 @@ import { checkReleaseEventTrace, type ReleaseEventExpectation, type ReleaseEvent
|
|
|
32
37
|
import { createReleasePublishDevices } from './release-publish-devices.js';
|
|
33
38
|
import { PodPoolScheduler } from '../task-orchestrator/surfaces/pod-pool.js';
|
|
34
39
|
import { createGraphEventBus, type GraphEvent, type GraphEventBus } from '../graph-runner/graph-events.js';
|
|
40
|
+
import { planMacrophageIncident, recordMacrophageGraphRecovery, simulateMacrophageRecovery, type MacrophageIncidentSignal } from '../release-loop/macrophage-incident-recovery.js';
|
|
41
|
+
import { attributeReleaseFailures, type ReleaseFailureAttribution } from '../release-loop/release-failure-attribution.js';
|
|
42
|
+
import { planMacrophageRepairLadder, type MacrophageRepairLadderInput, type MacrophageRepairLadderDecision } from '../release-loop/macrophage-repair-ladder.js';
|
|
43
|
+
import { runArgMacroCanvasSim, type ArgMacroCanvasIncident, type ArgMacroCanvasManifest } from './arg-macro-canvas-sim.js';
|
|
44
|
+
import { createIncidentPolicyHandler } from '../release-loop/incident-policy-handler.js';
|
|
45
|
+
import { parseAppManifest } from '../nexus/apps/app-contract.js';
|
|
46
|
+
import { createFakeAppHost } from './fake-app-host.js';
|
|
47
|
+
|
|
48
|
+
/** Release rig entry for the ARG + macrophage declared-canvas simulation; delegates to the in-memory rig. */
|
|
49
|
+
export function runArgMacroCanvasRig(input: { runId: string; manifest: ArgMacroCanvasManifest; incidents: readonly ArgMacroCanvasIncident[]; now?: Date }) {
|
|
50
|
+
return runArgMacroCanvasSim(input);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface MacrophageRepairLadderFiveStepCapSim {
|
|
54
|
+
readonly injector: 'macrophage-repair-ladder-five-step-cap-sim';
|
|
55
|
+
readonly pass: boolean;
|
|
56
|
+
readonly decisions: readonly { readonly id: string; readonly expectedStep: string; readonly decision: MacrophageRepairLadderDecision; readonly pass: boolean }[];
|
|
57
|
+
readonly checks: Readonly<Record<string, boolean>>;
|
|
58
|
+
readonly inputMutationCount: number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** GREEN-V injection seam: run the production five-step decision policy without PR, graph, or file writes. */
|
|
62
|
+
export function runMacrophageRepairLadderFiveStepCapSim(): MacrophageRepairLadderFiveStepCapSim {
|
|
63
|
+
const common: Omit<MacrophageRepairLadderInput, 'evidence' | 'failureIds'> = {
|
|
64
|
+
runId: 'sim-macrophage-repair-ladder', signature: 'simulated-release-gate-failure',
|
|
65
|
+
repairChildrenUsed: 0, elapsedMs: 0, minutesToCut: 180, estimatedStepMs: 5 * 60_000,
|
|
66
|
+
};
|
|
67
|
+
const cases: Array<{ id: string; input: MacrophageRepairLadderInput; expectedStep: string }> = [
|
|
68
|
+
{ id: 'R0-same-slice-remeasure', expectedStep: 'R0-remeasure', input: { ...common, evidence: 'load-flaky', failureIds: ['test/a.test.ts > timeout'], r0Attempts: 0 } },
|
|
69
|
+
{ id: 'R1-one-file-fixture', expectedStep: 'R1-single-file', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > stale expectation'],
|
|
70
|
+
sourceFiles: ['src/a.ts'], changeKind: 'expectation' } },
|
|
71
|
+
{ id: 'R2-independent-file-split', expectedStep: 'R2-split-files', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
72
|
+
sourceFiles: ['src/a.ts', 'src/b.ts', 'src/c.ts'], independentFiles: true } },
|
|
73
|
+
{ id: 'R2-exact-four-child-cap', expectedStep: 'R2-split-files', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
74
|
+
sourceFiles: ['src/a.ts', 'src/b.ts', 'src/c.ts', 'src/d.ts'], independentFiles: true } },
|
|
75
|
+
{ id: 'R3-safe-revert-draft', expectedStep: 'R3-revert-proposal', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
76
|
+
sourceFiles: ['src/a.ts'], previousStep: 'R1-single-file', previousStepOutcome: 'failed', causePr: 123,
|
|
77
|
+
causePrFailureIds: ['test/a.test.ts > regression'], attributionConfidence: 'high', revertSafe: true,
|
|
78
|
+
attemptedSteps: ['R1-single-file'], attemptedStepsRunId: common.runId, attemptedFiles: ['src/a.ts'] } },
|
|
79
|
+
{ id: 'R4-human-decision', expectedStep: 'R4-hitl', input: { ...common, evidence: 'unmeasured', failureIds: ['unattributed gate failure'] } },
|
|
80
|
+
{ id: 'four-children-exhausted', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
81
|
+
sourceFiles: ['src/a.ts'], changeKind: 'fixture', repairChildrenUsed: 4 } },
|
|
82
|
+
{ id: 'R2-no-partial-over-cap', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
83
|
+
sourceFiles: ['src/a.ts', 'src/b.ts', 'src/c.ts'], independentFiles: true, repairChildrenUsed: 2 } },
|
|
84
|
+
{ id: 'ninety-minute-cap', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
85
|
+
sourceFiles: ['src/a.ts'], changeKind: 'fixture', elapsedMs: 90 * 60_000 } },
|
|
86
|
+
{ id: 'step-would-overrun-cap', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
87
|
+
sourceFiles: ['src/a.ts'], changeKind: 'fixture', elapsedMs: 85 * 60_000, estimatedStepMs: 6 * 60_000 } },
|
|
88
|
+
{ id: 'cut-minus-thirty-restricts-to-R3-R4', expectedStep: 'R3-revert-proposal', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
89
|
+
sourceFiles: ['src/a.ts'], previousStep: 'R2-split-files', previousStepOutcome: 'failed', causePr: 123,
|
|
90
|
+
causePrFailureIds: ['test/a.test.ts > regression'], attributionConfidence: 'high', revertSafe: true,
|
|
91
|
+
attemptedSteps: ['R2-split-files'], attemptedStepsRunId: common.runId, attemptedFiles: ['src/a.ts'], minutesToCut: 30 } },
|
|
92
|
+
{ id: 'cut-minus-thirty-one-allows-R1', expectedStep: 'R1-single-file', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > stale expectation'],
|
|
93
|
+
sourceFiles: ['src/a.ts'], changeKind: 'expectation', minutesToCut: 31, estimatedStepMs: 30_000 } },
|
|
94
|
+
{ id: 'projected-step-crosses-cutoff', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > stale expectation'],
|
|
95
|
+
sourceFiles: ['src/a.ts'], changeKind: 'expectation', minutesToCut: 31, estimatedStepMs: 5 * 60_000 } },
|
|
96
|
+
{ id: 'cut-minus-thirty-blocks-R0', expectedStep: 'R4-hitl', input: { ...common, evidence: 'load-flaky', failureIds: ['test/a.test.ts > timeout'], minutesToCut: 30 } },
|
|
97
|
+
{ id: 'unknown-countdown-fails-closed', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
98
|
+
sourceFiles: ['src/a.ts'], changeKind: 'fixture', minutesToCut: null } },
|
|
99
|
+
{ id: 'R3-proposal-used-once', expectedStep: 'R4-hitl', input: { ...common, evidence: 'introduced', failureIds: ['test/a.test.ts > regression'],
|
|
100
|
+
sourceFiles: ['src/a.ts'], previousStep: 'R2-split-files', previousStepOutcome: 'failed', causePr: 123,
|
|
101
|
+
causePrFailureIds: ['test/a.test.ts > regression'], attributionConfidence: 'high', revertSafe: true,
|
|
102
|
+
r3ProposalUsed: true, attemptedSteps: ['R2-split-files', 'R3-revert-proposal'], attemptedStepsRunId: common.runId,
|
|
103
|
+
attemptedFiles: ['src/a.ts'] } },
|
|
104
|
+
];
|
|
105
|
+
let inputMutationCount = 0;
|
|
106
|
+
const decisions = cases.map(({ id, input, expectedStep }) => {
|
|
107
|
+
const before = structuredClone(input);
|
|
108
|
+
const result = planMacrophageRepairLadder(input);
|
|
109
|
+
const unchanged = JSON.stringify(input) === JSON.stringify(before);
|
|
110
|
+
if (!unchanged) inputMutationCount++;
|
|
111
|
+
return { id, expectedStep, decision: result, pass: result.step === expectedStep && unchanged };
|
|
112
|
+
});
|
|
113
|
+
const r1 = decisions.find(({ id }) => id === 'R1-one-file-fixture')!.decision;
|
|
114
|
+
const r2 = decisions.find(({ id }) => id === 'R2-independent-file-split')!.decision;
|
|
115
|
+
const r3 = decisions.find(({ id }) => id === 'R3-safe-revert-draft')!.decision;
|
|
116
|
+
const r4 = decisions.find(({ id }) => id === 'R4-human-decision')!.decision;
|
|
117
|
+
const checks = {
|
|
118
|
+
allFiveSteps: ['R0-remeasure', 'R1-single-file', 'R2-split-files', 'R3-revert-proposal', 'R4-hitl']
|
|
119
|
+
.every((step) => decisions.some(({ decision }) => decision.step === step)),
|
|
120
|
+
repairPlansTargetCutAppendOnly: [r1, r2].every((item) => item.repositoryWrite === 'cut-append-only'
|
|
121
|
+
&& item.repairUnits.every((unit) => unit.writeTarget === 'cut-append')),
|
|
122
|
+
r2ParallelismBounded: r2.childrenPlanned === 3 && r2.maxParallelChildren === 2,
|
|
123
|
+
exactFourChildrenAllowed: decisions.find(({ id }) => id === 'R2-exact-four-child-cap')?.decision.childrenPlanned === 4,
|
|
124
|
+
r3IsDraftOnly: r3.revertDraft?.draftOnly === true && r3.action === 'propose-revert-draft',
|
|
125
|
+
r4ProducesDecisionCard: r4.action === 'raise-decision' && r4.decisionCard !== undefined,
|
|
126
|
+
childLimitAndNoPartialSplit: decisions.find(({ id }) => id === 'four-children-exhausted')?.decision.childrenPlanned === 0
|
|
127
|
+
&& decisions.find(({ id }) => id === 'R2-no-partial-over-cap')?.decision.childrenPlanned === 0,
|
|
128
|
+
ninetyMinuteBudget: decisions.find(({ id }) => id === 'ninety-minute-cap')?.decision.step === 'R4-hitl'
|
|
129
|
+
&& decisions.find(({ id }) => id === 'step-would-overrun-cap')?.decision.step === 'R4-hitl',
|
|
130
|
+
cutoffBoundary: decisions.find(({ id }) => id === 'cut-minus-thirty-restricts-to-R3-R4')?.decision.step === 'R3-revert-proposal'
|
|
131
|
+
&& decisions.find(({ id }) => id === 'cut-minus-thirty-one-allows-R1')?.decision.step === 'R1-single-file'
|
|
132
|
+
&& decisions.find(({ id }) => id === 'projected-step-crosses-cutoff')?.decision.step === 'R4-hitl'
|
|
133
|
+
&& decisions.find(({ id }) => id === 'cut-minus-thirty-blocks-R0')?.decision.step === 'R4-hitl',
|
|
134
|
+
unknownCountdownFailsClosed: decisions.find(({ id }) => id === 'unknown-countdown-fails-closed')?.decision.step === 'R4-hitl',
|
|
135
|
+
r3ProposalOnePerRun: decisions.find(({ id }) => id === 'R3-proposal-used-once')?.decision.step === 'R4-hitl',
|
|
136
|
+
};
|
|
137
|
+
return { injector: 'macrophage-repair-ladder-five-step-cap-sim', pass: decisions.every((item) => item.pass)
|
|
138
|
+
&& inputMutationCount === 0 && Object.values(checks).every(Boolean), decisions, checks, inputMutationCount };
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface ReleaseMacrophageIncidentSimInput {
|
|
142
|
+
readonly runId: string;
|
|
143
|
+
readonly incidents: readonly MacrophageIncidentSignal[];
|
|
144
|
+
readonly repairLandedIds: readonly string[];
|
|
145
|
+
readonly hitlApprovedIds: readonly string[];
|
|
146
|
+
readonly version?: string;
|
|
147
|
+
readonly attributionContext?: { readonly repo: string; readonly previousTag: string; readonly cutCommit: string };
|
|
148
|
+
readonly graphDrivenIncidentIds?: readonly string[];
|
|
149
|
+
/** Start with an actual receipt-key mismatch, then surface the introduced failures through residual-run. */
|
|
150
|
+
readonly receiptAuditKeyMismatchFirst?: boolean;
|
|
151
|
+
readonly repairLandingFailure?: boolean;
|
|
152
|
+
readonly repairArtifactFailure?: boolean;
|
|
153
|
+
/** Fake child copies built fixture artifacts; host effects run only after the repair PR is verified landed. */
|
|
154
|
+
readonly onRepairLanded?: (files: readonly string[], artifacts: readonly { readonly sourceFile: string; readonly files: Readonly<Record<string, string>> }[]) => void;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface ReleaseMacrophageIncidentSimCase {
|
|
158
|
+
readonly signal: MacrophageIncidentSignal;
|
|
159
|
+
readonly plan: ReturnType<typeof planMacrophageIncident>;
|
|
160
|
+
readonly resumed: boolean;
|
|
161
|
+
readonly receipt?: ReturnType<typeof simulateMacrophageRecovery>['receipt'];
|
|
162
|
+
readonly receiptJsonl: string;
|
|
163
|
+
readonly eventNames: readonly string[];
|
|
164
|
+
readonly pass: boolean;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
const GRAPH_DRIVEN_MACROPHAGE_INCIDENT = 'c-three-file-regression';
|
|
168
|
+
|
|
169
|
+
const RELEASE_SIM_RIG_WORKTREE_MARKER = '.elanous-release-sim-rig';
|
|
170
|
+
|
|
171
|
+
/** Fake Git boundary used by the simulator's real PWA worktree creation and teardown path. */
|
|
172
|
+
export function createReleaseSimRigFakeGitScript(): string {
|
|
173
|
+
return [
|
|
174
|
+
'#!/bin/sh',
|
|
175
|
+
'if [ "$1" = "worktree" ] && [ "$2" = "add" ]; then',
|
|
176
|
+
' if ! mkdir "$4" 2>/dev/null; then echo "[release-sim-rig] refused existing worktree path: $4" >&2; printf "add-refused-existing\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; exit 1; fi',
|
|
177
|
+
' if ! mkdir -p "$4/apps/pwa"; then echo "[release-sim-rig] failed to prepare new worktree path: $4" >&2; printf "add-prepare-failed\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; exit 1; fi',
|
|
178
|
+
` if ! (set -C; printf 'release-sim-rig-worktree-v1\\n%s\\n' "$ELANOUS_SIM_RIG_RUN_ID" > "$4/${RELEASE_SIM_RIG_WORKTREE_MARKER}"); then echo "[release-sim-rig] could not create ownership marker: $4" >&2; printf "add-marker-create-failed\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; exit 1; fi`,
|
|
179
|
+
` if printf 'release-sim-rig-worktree-v1\\n%s\\n' "$ELANOUS_SIM_RIG_RUN_ID" | cmp -s - "$4/${RELEASE_SIM_RIG_WORKTREE_MARKER}"; then if [ -n "$ELANOUS_SIM_RIG_MARKER_SNAPSHOT" ]; then cp "$4/${RELEASE_SIM_RIG_WORKTREE_MARKER}" "$ELANOUS_SIM_RIG_MARKER_SNAPSHOT" || exit 1; printf '%s\\n' "$4" > "$ELANOUS_SIM_RIG_WORKTREE_PATH_SNAPSHOT" || exit 1; fi; printf "add-marker-verified\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; else echo "[release-sim-rig] marker verification failed: $4" >&2; exit 1; fi`,
|
|
180
|
+
' exit 0',
|
|
181
|
+
'fi',
|
|
182
|
+
'if [ "$1" = "worktree" ] && [ "$2" = "remove" ]; then',
|
|
183
|
+
` marker="$4/${RELEASE_SIM_RIG_WORKTREE_MARKER}"`,
|
|
184
|
+
` if [ ! -f "$marker" ] || ! printf 'release-sim-rig-worktree-v1\\n%s\\n' "$ELANOUS_SIM_RIG_RUN_ID" | cmp -s - "$marker"; then`,
|
|
185
|
+
' if [ -f "$marker" ]; then echo "[release-sim-rig] preserved worktree owned by another simulation run: $4" >&2; printf "remove-preserved-other-run\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; else echo "[release-sim-rig] preserved unmarked worktree: $4" >&2; printf "remove-preserved-unmarked\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; fi',
|
|
186
|
+
' exit 0',
|
|
187
|
+
' fi',
|
|
188
|
+
' quarantine="$4.release-sim-rig-teardown-$ELANOUS_SIM_RIG_RUN_ID-$$"',
|
|
189
|
+
' if ! mkdir "$quarantine" 2>/dev/null; then echo "[release-sim-rig] could not reserve teardown path for: $4" >&2; exit 1; fi',
|
|
190
|
+
' chmod 700 "$quarantine" || exit 1',
|
|
191
|
+
' if ! mv "$4" "$quarantine/worktree"; then rmdir "$quarantine" 2>/dev/null; echo "[release-sim-rig] worktree changed before teardown: $4" >&2; exit 1; fi',
|
|
192
|
+
` if [ -f "$quarantine/worktree/${RELEASE_SIM_RIG_WORKTREE_MARKER}" ] && printf 'release-sim-rig-worktree-v1\\n%s\\n' "$ELANOUS_SIM_RIG_RUN_ID" | cmp -s - "$quarantine/worktree/${RELEASE_SIM_RIG_WORKTREE_MARKER}"; then`,
|
|
193
|
+
' rm -rf "$quarantine/worktree"',
|
|
194
|
+
' if [ ! -e "$quarantine/worktree" ] && rmdir "$quarantine" 2>/dev/null && [ ! -e "$quarantine" ]; then printf "remove-marker-matched-path-absent\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; exit 0; fi',
|
|
195
|
+
' echo "[release-sim-rig] verified worktree remains in teardown quarantine: $4" >&2; exit 1',
|
|
196
|
+
' fi',
|
|
197
|
+
' if [ ! -e "$4" ]; then mv "$quarantine/worktree" "$4"; rmdir "$quarantine" 2>/dev/null; fi',
|
|
198
|
+
' echo "[release-sim-rig] preserved worktree after ownership changed: $4" >&2; printf "remove-preserved-changed-marker\\n" >> "$ELANOUS_SIM_RIG_WORKTREE_LOG"; exit 0',
|
|
199
|
+
'fi',
|
|
200
|
+
'echo "unexpected git boundary: $*" >&2',
|
|
201
|
+
'exit 97',
|
|
202
|
+
'',
|
|
203
|
+
].join('\n');
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/** Extends the existing release graph rig with fake incident/PR/owner boundaries and the production recovery decision core. */
|
|
207
|
+
export async function runReleaseMacrophageIncidentSim(input: ReleaseMacrophageIncidentSimInput): Promise<{
|
|
208
|
+
readonly pass: boolean;
|
|
209
|
+
readonly runId: string;
|
|
210
|
+
readonly graphState: GraphRunState;
|
|
211
|
+
readonly graphDrivenIncidentId: string;
|
|
212
|
+
readonly graphRepairFailureIds: readonly string[];
|
|
213
|
+
readonly graphRepairInputFailureIds: readonly string[];
|
|
214
|
+
readonly graphRepairInputGateExecutionId?: string;
|
|
215
|
+
readonly graphRepairInputFiles: readonly string[];
|
|
216
|
+
readonly graphRepairAttributions: readonly ReleaseFailureAttribution[];
|
|
217
|
+
readonly graphRepairMeasured: boolean;
|
|
218
|
+
readonly graphRepairChecks: Readonly<Record<string, boolean | number>>;
|
|
219
|
+
readonly productionTriageEvidence?: Readonly<Record<string, unknown>>;
|
|
220
|
+
readonly statePath: string;
|
|
221
|
+
readonly receiptPath: string;
|
|
222
|
+
readonly recoveryReceiptPath: string;
|
|
223
|
+
readonly cases: readonly ReleaseMacrophageIncidentSimCase[];
|
|
224
|
+
readonly eventTrace: readonly GraphEvent[];
|
|
225
|
+
readonly runtimeDecisions: readonly GraphEvent[];
|
|
226
|
+
readonly jsonl: string;
|
|
227
|
+
}> {
|
|
228
|
+
const bus = createGraphEventBus();
|
|
229
|
+
const injectedType = 'release.macrophage.incident.injected';
|
|
230
|
+
const outputTypes = ['release.macrophage.detected', 'release.macrophage.attributed', 'release.macrophage.classified',
|
|
231
|
+
'release.macrophage.repair-pr-landed', 'release.macrophage.hitl-approved', 'release.macrophage.run-resumed',
|
|
232
|
+
'release.macrophage.receipt-written'];
|
|
233
|
+
bus.registerType(injectedType);
|
|
234
|
+
for (const type of outputTypes) bus.registerType(type);
|
|
235
|
+
const root = getTestStateRoot();
|
|
236
|
+
if (!root) throw new Error('release macrophage incident simulation requires --test isolated mode');
|
|
237
|
+
const eventTrace: GraphEvent[] = [];
|
|
238
|
+
bus.subscribe((event) => { eventTrace.push(event); });
|
|
239
|
+
const runtimeDecisions: GraphEvent[] = [];
|
|
240
|
+
const macrophageRuntime = createMacrophageRuntime({ root, runId: input.runId, eventBus: bus, mode: 'simulation',
|
|
241
|
+
inventory: (event) => event.source.nodeId === 'pre-gate-join' ? [{ id: 'simulated-stale-output', kind: 'stale-generated-artifact',
|
|
242
|
+
evidence: { sourceFingerprint: 'cut-current', generatedFingerprint: 'stale' } }] : [] });
|
|
243
|
+
bus.subscribe((event) => { if (event.type === 'release.macrophage.decision') runtimeDecisions.push(event); }, { type: 'release.macrophage.decision' });
|
|
244
|
+
const jsonlRows: string[] = [];
|
|
245
|
+
const cases: ReleaseMacrophageIncidentSimCase[] = [];
|
|
246
|
+
const repairLanded = new Set(input.repairLandedIds);
|
|
247
|
+
const hitlApproved = new Set(input.hitlApprovedIds);
|
|
248
|
+
const graphDrivenIncidentIds = new Set(input.graphDrivenIncidentIds ?? [GRAPH_DRIVEN_MACROPHAGE_INCIDENT]);
|
|
249
|
+
bus.subscribe(async (event) => {
|
|
250
|
+
if (event.type !== injectedType) return;
|
|
251
|
+
const signal = event.data?.signal as MacrophageIncidentSignal;
|
|
252
|
+
const plan = planMacrophageIncident(signal);
|
|
253
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.detected', source: { kind: 'runner' }, data: { incidentId: signal.id } });
|
|
254
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.attributed', source: { kind: 'runner' },
|
|
255
|
+
data: { incidentId: signal.id, sourceFiles: plan.files, causePr: plan.causePr ?? null, method: signal.evidence } });
|
|
256
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.classified', source: { kind: 'runner' },
|
|
257
|
+
data: { incidentId: signal.id, label: plan.label, step: plan.step, reason: plan.reason } });
|
|
258
|
+
const graphDriven = graphDrivenIncidentIds.has(signal.id);
|
|
259
|
+
const recovery = graphDriven ? undefined : simulateMacrophageRecovery({ runId: event.runId, plan, changedShardId: `shard-${cases.length}`,
|
|
260
|
+
carriedShardIds: ['shard-0', 'shard-1', 'shard-2', 'shard-3'], repairLanded: repairLanded.has(signal.id),
|
|
261
|
+
hitlApproved: hitlApproved.has(signal.id) });
|
|
262
|
+
if (plan.label === 'fix' && repairLanded.has(signal.id) && !graphDriven) {
|
|
263
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.repair-pr-landed', source: { kind: 'runner' },
|
|
264
|
+
data: { incidentId: signal.id, files: plan.files } });
|
|
265
|
+
}
|
|
266
|
+
if (plan.label === 'hitl' && hitlApproved.has(signal.id)) {
|
|
267
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.hitl-approved', source: { kind: 'runner' }, data: { incidentId: signal.id } });
|
|
268
|
+
}
|
|
269
|
+
if (recovery?.resumed) {
|
|
270
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.run-resumed', source: { kind: 'runner' },
|
|
271
|
+
data: { incidentId: signal.id, disposition: recovery.receipt.disposition, gateVisit: recovery.receipt.gateVisit } });
|
|
272
|
+
jsonlRows.push(recovery.jsonl);
|
|
273
|
+
await bus.publish({ graphId: event.graphId, runId: event.runId, type: 'release.macrophage.receipt-written', source: { kind: 'runner' },
|
|
274
|
+
data: { incidentId: signal.id, schema: recovery.receipt.schema, jsonl: recovery.jsonl } });
|
|
275
|
+
}
|
|
276
|
+
const expectedResume = plan.label === 'noise' || (plan.label === 'fix' && repairLanded.has(signal.id))
|
|
277
|
+
|| (plan.label === 'hitl' && hitlApproved.has(signal.id));
|
|
278
|
+
cases.push({ signal, plan, resumed: recovery?.resumed ?? false, ...(recovery ? { receipt: recovery.receipt } : {}),
|
|
279
|
+
receiptJsonl: recovery?.jsonl ?? '', eventNames: [], pass: graphDriven ? false
|
|
280
|
+
: recovery!.resumed === expectedResume && (!recovery!.resumed || recovery!.receipt.runId === event.runId)
|
|
281
|
+
&& (plan.label !== 'fix' || !recovery!.resumed || recovery!.receipt.gateVisit === 2) });
|
|
282
|
+
}, { type: injectedType });
|
|
283
|
+
const version = input.version ?? '0.3.6';
|
|
284
|
+
let incidentsInjected = false;
|
|
285
|
+
let gateVisits = 0;
|
|
286
|
+
let receiptAuditVisits = 0;
|
|
287
|
+
let productionTriageEvidence: Record<string, unknown> | undefined;
|
|
288
|
+
let graphRepairInputFiles: string[] = [];
|
|
289
|
+
let graphRepairInputFailureIds: string[] = [];
|
|
290
|
+
let graphRepairInputGateExecutionId: string | undefined;
|
|
291
|
+
let graphState: GraphRunState;
|
|
292
|
+
try { graphState = await runGraph(RELEASE_GRAPH, { runId: input.runId,
|
|
293
|
+
input: { version, previousVersion: '0.3.5' }, eventBus: bus, pinChildUniverse: true, quiet: true,
|
|
294
|
+
deps: { root, runBash: async (_command: string, options: { env?: NodeJS.ProcessEnv }) => {
|
|
295
|
+
const { nodeId } = parseContext(options.env ?? process.env);
|
|
296
|
+
if (!incidentsInjected && nodeId === 'gate') {
|
|
297
|
+
incidentsInjected = true;
|
|
298
|
+
for (const incident of input.incidents) {
|
|
299
|
+
await bus.publish({ graphId: 'release-loop', runId: input.runId, type: injectedType, source: { kind: 'runner' }, data: { signal: incident } });
|
|
300
|
+
}
|
|
301
|
+
await bus.flush({ graphId: 'release-loop', runId: input.runId });
|
|
302
|
+
}
|
|
303
|
+
if (nodeId === 'gate') {
|
|
304
|
+
gateVisits++;
|
|
305
|
+
const graphDriven = cases.filter(({ signal }) => graphDrivenIncidentIds.has(signal.id));
|
|
306
|
+
if (graphDriven.length === 0 || graphDriven.some((item) => item.plan.label !== 'fix'
|
|
307
|
+
|| !repairLanded.has(item.signal.id) || (item.signal.id === GRAPH_DRIVEN_MACROPHAGE_INCIDENT
|
|
308
|
+
&& (item.plan.step !== 'R2-split-files' || item.plan.files.length < 2)))) {
|
|
309
|
+
throw new Error('graph-driven incidents must resolve to landed repair plans');
|
|
310
|
+
}
|
|
311
|
+
const commit = cutTip();
|
|
312
|
+
const introduced = graphDriven.flatMap(({ signal, plan }) => signal.failureIds?.length
|
|
313
|
+
? signal.failureIds : plan.files.map((file) => `${file}.test.ts > injected R2 regression in ${file}`));
|
|
314
|
+
const gate = gateVisits === 1 && !input.receiptAuditKeyMismatchFirst
|
|
315
|
+
? { outcome: 'fail', commit, introduced, preexisting: 0, fixed: null,
|
|
316
|
+
knownEnv: 0, knownEnvCleared: [], stalledEnv: [], rcNonzeroNoFailures: [], durationMs: 1 }
|
|
317
|
+
: { outcome: 'ok', commit, introduced: [], preexisting: 0, fixed: null,
|
|
318
|
+
knownEnv: 0, knownEnvCleared: [], stalledEnv: [], rcNonzeroNoFailures: [], durationMs: 1 };
|
|
319
|
+
return { exitCode: gate.outcome === 'fail' ? 1 : 0, stdout: `${JSON.stringify(gate)}\n`,
|
|
320
|
+
stderr: gate.outcome === 'fail' ? 'TypeScript TS2322: simulated gate regression' : '' };
|
|
321
|
+
}
|
|
322
|
+
if (nodeId === 'receipt-audit' && input.receiptAuditKeyMismatchFirst) {
|
|
323
|
+
receiptAuditVisits++;
|
|
324
|
+
const context = readGraphContext(options.env);
|
|
325
|
+
const file = 'scripts/release-loop/macro-chain-fixture.test.ts';
|
|
326
|
+
const source = "test('receipt fixture', () => {});\n";
|
|
327
|
+
const tree = { files: [file], read: (path: string) => path === file ? source : undefined, preload: [] as string[] };
|
|
328
|
+
const imageDigest = `sha256:${'a'.repeat(64)}`;
|
|
329
|
+
const identity = gateFileReceiptIdentityFromClosure(tree, file, imageDigest);
|
|
330
|
+
if (!identity) throw new Error('macro-chain receipt fixture has an opaque closure');
|
|
331
|
+
const repairCommit = Object.entries(context.outputs).filter(([id, output]) => /^gate-repair-[a-f0-9]{12}$/.test(id)
|
|
332
|
+
&& output.outcome === 'ok' && typeof output.commit === 'string').at(-1)?.[1]?.commit;
|
|
333
|
+
const commit = typeof repairCommit === 'string' ? repairCommit
|
|
334
|
+
: context.outputs.cutoff?.commit ?? context.outputs['version-release']?.commit;
|
|
335
|
+
if (typeof commit !== 'string' || !/^[a-f0-9]{40}$/i.test(commit)) throw new Error('macro-chain receipt audit has no pinned commit');
|
|
336
|
+
const receipt = makeGateFileReceiptSimulationReceipt(identity, commit, input.runId, 'cut');
|
|
337
|
+
const badKey = `${receipt.key[0] === '0' ? '1' : '0'}${receipt.key.slice(1)}`;
|
|
338
|
+
const selectedReceipt = receiptAuditVisits === 1 ? { ...receipt, key: badKey } : receipt;
|
|
339
|
+
const audit = auditGateFileReceipts(context, {
|
|
340
|
+
repo: root, roots: { instance: join(root, 'instance'), ledger: join(root, 'ledger') },
|
|
341
|
+
testsAtCommit: () => [file], closureTree: () => tree, pinnedImage: () => imageDigest,
|
|
342
|
+
readReceipt: () => ({ ...selectedReceipt, recordSha256: 'b'.repeat(64) }),
|
|
343
|
+
});
|
|
344
|
+
if (receiptAuditVisits === 1 && audit.summary.includes('identity mismatch') === false
|
|
345
|
+
&& audit.summary.includes('invalid content key') === false) {
|
|
346
|
+
throw new Error(`receipt-key fault did not reach the production audit: ${audit.summary}`);
|
|
347
|
+
}
|
|
348
|
+
return { exitCode: audit.outcome === 'ok' ? 0 : 1, stdout: `${JSON.stringify(audit)}\n`,
|
|
349
|
+
stderr: audit.outcome === 'ok' ? '' : audit.summary };
|
|
350
|
+
}
|
|
351
|
+
if (nodeId === 'residual-run' && input.receiptAuditKeyMismatchFirst) {
|
|
352
|
+
const graphDriven = cases.filter(({ signal }) => graphDrivenIncidentIds.has(signal.id));
|
|
353
|
+
const commit = cutTip();
|
|
354
|
+
const introduced = graphDriven.flatMap(({ signal, plan }) => signal.failureIds?.length
|
|
355
|
+
? signal.failureIds : plan.files.map((file) => `${file}.test.ts > injected R2 regression in ${file}`));
|
|
356
|
+
return { exitCode: 1, stdout: `${JSON.stringify({ outcome: 'fail', commit, introduced,
|
|
357
|
+
preexisting: 0, fixed: null, knownEnv: 0, knownEnvCleared: [], stalledEnv: [],
|
|
358
|
+
rcNonzeroNoFailures: [], durationMs: 1 })}\n`, stderr: 'TypeScript TS2322: simulated introduced regression after receipt-key mismatch' };
|
|
359
|
+
}
|
|
360
|
+
if (nodeId === 'gate-triage') {
|
|
361
|
+
const context = readGraphContext(options.env);
|
|
362
|
+
const latest = latestGateOutput(context);
|
|
363
|
+
if (!latest) throw new Error('gate-triage simulation did not receive the latest gate or residual-run output');
|
|
364
|
+
const child = spawnSync('bun', ['scripts/release-loop/gate-triage-node.ts'], {
|
|
365
|
+
cwd: REPOSITORY_ROOT, env: { ...process.env, ...options.env }, encoding: 'utf8', maxBuffer: 1024 * 1024,
|
|
366
|
+
});
|
|
367
|
+
let result: Record<string, unknown> = {};
|
|
368
|
+
try { result = record(JSON.parse((child.stdout ?? '').trim().split('\n').at(-1) ?? 'null'), 'production gate-triage output'); }
|
|
369
|
+
catch { /* Preserve child diagnostics in the graph node result. */ }
|
|
370
|
+
const latestExecutionId = typeof latest.executionId === 'string' ? latest.executionId : undefined;
|
|
371
|
+
const priorGate = [...(context.nodeHistory ?? [])].reverse().find((entry) => entry.nodeId === 'gate');
|
|
372
|
+
const priorGateExecutionId = typeof priorGate?.executionId === 'string' ? priorGate.executionId : undefined;
|
|
373
|
+
const triageFailureIds = Array.isArray(result.failureIds) ? result.failureIds.filter((id): id is string => typeof id === 'string') : [];
|
|
374
|
+
const latestFailureIds = Array.isArray(latest.introduced) ? latest.introduced.filter((id): id is string => typeof id === 'string') : [];
|
|
375
|
+
const latestNode = [...(context.nodeHistory ?? [])].reverse().find((entry) => entry.nodeId === 'gate' || entry.nodeId === 'residual-run')?.nodeId;
|
|
376
|
+
productionTriageEvidence = { exitCode: child.status, latestNode, priorGateExecutionId,
|
|
377
|
+
latestExecutionId, triageExecutionId: result.gateExecutionId, latestFailureIds, triageFailureIds,
|
|
378
|
+
matched: child.status === 0 && latestNode === 'residual-run' && !!latestExecutionId
|
|
379
|
+
&& !!priorGateExecutionId && priorGateExecutionId !== latestExecutionId && result.gateExecutionId === latestExecutionId
|
|
380
|
+
&& JSON.stringify([...triageFailureIds].sort()) === JSON.stringify([...latestFailureIds].sort()),
|
|
381
|
+
stderr: child.stderr ?? '' };
|
|
382
|
+
return { exitCode: child.status ?? 2, stdout: child.stdout ?? '', stderr: child.stderr ?? '' };
|
|
383
|
+
}
|
|
384
|
+
if (/^gate-repair-[a-f0-9]{12}$/.test(nodeId)) {
|
|
385
|
+
const graphDriven = cases.filter(({ signal }) => graphDrivenIncidentIds.has(signal.id));
|
|
386
|
+
if (graphDriven.length === 0 || graphDriven.some(({ signal }) => !repairLanded.has(signal.id))) throw new Error('repair PR landing was not supplied to the graph-driven incident');
|
|
387
|
+
const graphContext = readGraphContext(options.env);
|
|
388
|
+
const failureIds = graphContext.nodeInput?.failureIds;
|
|
389
|
+
graphRepairInputGateExecutionId = typeof graphContext.nodeInput?.gateExecutionId === 'string'
|
|
390
|
+
? graphContext.nodeInput.gateExecutionId : undefined;
|
|
391
|
+
const expectedFailureIds = graphDriven.flatMap(({ signal, plan }) => signal.failureIds?.length
|
|
392
|
+
? signal.failureIds : plan.files.map((file) => `${file}.test.ts > injected R2 regression in ${file}`));
|
|
393
|
+
if (!Array.isArray(failureIds) || expectedFailureIds.some((id) => !failureIds.includes(id))) {
|
|
394
|
+
throw new Error('adaptive repair input does not preserve the original gate failure IDs');
|
|
395
|
+
}
|
|
396
|
+
const attributions = input.attributionContext
|
|
397
|
+
? attributeReleaseFailures({ ...input.attributionContext, failureIds: failureIds as string[] })
|
|
398
|
+
: graphDriven.flatMap(({ signal, plan }) => (signal.failureIds?.length ? signal.failureIds : plan.files.map((file) => `${file}.test.ts > injected R2 regression in ${file}`))
|
|
399
|
+
.map((failureId) => {
|
|
400
|
+
const testFile = failureId.split(' > ')[0] ?? '';
|
|
401
|
+
const inferredSource = testFile.endsWith('.test.ts') ? testFile.slice(0, -8) : testFile;
|
|
402
|
+
const sourceFiles = plan.files.includes(inferredSource) ? [inferredSource] : plan.files.length === 1 ? [...plan.files] : [];
|
|
403
|
+
return { failureId, testFile, sourceFiles,
|
|
404
|
+
causePrs: signal.causePr ? [signal.causePr] : [], confidence: 'high' as const, method: 'first-parent-source-overlap' as const,
|
|
405
|
+
evidence: [], unresolvedImports: [] };
|
|
406
|
+
}));
|
|
407
|
+
for (const item of graphDriven) {
|
|
408
|
+
const itemAttributions = attributions.filter((row) => item.signal.failureIds?.includes(row.failureId)
|
|
409
|
+
|| (!item.signal.failureIds?.length && item.plan.files.some((file) => row.sourceFiles.includes(file))));
|
|
410
|
+
const attributedFiles = new Set(itemAttributions.flatMap((row) => row.sourceFiles));
|
|
411
|
+
if (itemAttributions.length === 0 || itemAttributions.some((row) => row.confidence === 'unmeasured')
|
|
412
|
+
|| !item.plan.files.every((file) => attributedFiles.has(file))) {
|
|
413
|
+
throw new Error(`adaptive repair input could not attribute original failures for ${item.signal.id}`);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
const attributedRepairFailureIds = [...new Set(attributions.flatMap((row) => row.sourceFiles
|
|
417
|
+
.map((file) => `${file} > ${row.failureId}`)))];
|
|
418
|
+
if (!attributedRepairFailureIds.length) throw new Error('production attribution produced no repairable source files');
|
|
419
|
+
const repairPrFiles = new Map<number, string>();
|
|
420
|
+
const repairArtifactDirs = new Map<number, string>();
|
|
421
|
+
let nextRepairPr = 90000;
|
|
422
|
+
const repairContext = { ...graphContext, nodeInput: { ...graphContext.nodeInput, failureIds: attributedRepairFailureIds,
|
|
423
|
+
independenceEvidence: attributions.map(({ failureId, sourceFiles, unresolvedImports }) => ({ failureId, sourceFiles, unresolvedImports })) } };
|
|
424
|
+
graphRepairInputFailureIds = [...attributedRepairFailureIds];
|
|
425
|
+
const repairResult = await runGateRepairNode(repairContext, {
|
|
426
|
+
root, repo: input.attributionContext?.repo,
|
|
427
|
+
attributeFailures: () => attributions,
|
|
428
|
+
startRepairChild: async (featurePath) => {
|
|
429
|
+
const body = readFileSync(featurePath, 'utf8');
|
|
430
|
+
const file = /^Attributed source file: (.+)$/m.exec(body)?.[1];
|
|
431
|
+
if (!file) throw new Error('production repair feature omitted its attributed source file');
|
|
432
|
+
const prNumber = nextRepairPr++;
|
|
433
|
+
repairPrFiles.set(prNumber, file);
|
|
434
|
+
const fixtureName = file === 'templates/next-app-lecture-scrap/app/page.jsx' ? 'home'
|
|
435
|
+
: file === 'templates/next-app-lecture-scrap/app/search/page.jsx' ? input.repairArtifactFailure ? 'bad-search' : 'search' : undefined;
|
|
436
|
+
if (fixtureName) {
|
|
437
|
+
const artifactName = fixtureName === 'home' ? 'index.html' : fixtureName === 'search' ? 'search/index.html' : 'search.html';
|
|
438
|
+
const artifactSource = join(REPOSITORY_ROOT, 'src/ux-sim/fixtures/kaist-child-artifacts', fixtureName, artifactName);
|
|
439
|
+
const artifactDir = join(root, 'release', 'repair-child-artifacts', input.runId, `pr-${prNumber}`, 'out');
|
|
440
|
+
const publishedName = fixtureName === 'bad-search' ? 'missing-search.html' : artifactName;
|
|
441
|
+
mkdirSync(dirname(join(artifactDir, publishedName)), { recursive: true });
|
|
442
|
+
writeFileSync(join(artifactDir, publishedName), readFileSync(artifactSource), { mode: 0o600 });
|
|
443
|
+
repairArtifactDirs.set(prNumber, artifactDir);
|
|
444
|
+
}
|
|
445
|
+
return { ok: true, prNumber, prUrl: `https://github.com/ElanvitalAI/elanous/pull/${prNumber}` };
|
|
446
|
+
},
|
|
447
|
+
inspectRepairPr: async (prNumber) => {
|
|
448
|
+
const file = repairPrFiles.get(prNumber);
|
|
449
|
+
if (!file) throw new Error(`unknown simulated repair PR ${prNumber}`);
|
|
450
|
+
return { isDraft: false, files: [file], headRefOid: createHash('sha1').update(file).digest('hex') };
|
|
451
|
+
},
|
|
452
|
+
waitForLanded: async (prNumber) => {
|
|
453
|
+
const file = repairPrFiles.get(prNumber);
|
|
454
|
+
if (!file) throw new Error(`unknown simulated landing PR ${prNumber}`);
|
|
455
|
+
if (input.repairLandingFailure) throw new Error(`simulated repair PR #${prNumber} did not land`);
|
|
456
|
+
return { schema: 1, prNumber, repairRunId: input.runId,
|
|
457
|
+
head: createHash('sha1').update(file).digest('hex'), mergeSha: 'f'.repeat(40), base: 'main', mergedAt: '2026-11-07T00:00:00.000Z' };
|
|
458
|
+
},
|
|
459
|
+
isAncestor: () => true,
|
|
460
|
+
refreshMainlineHead: () => 'f'.repeat(40),
|
|
461
|
+
});
|
|
462
|
+
if (repairResult.outcome !== 'ok') throw new Error(`production repair entrypoint did not land every attributed file: ${repairResult.summary}`);
|
|
463
|
+
graphRepairInputFiles = repairResult.repairs.map(({ file }) => file).sort();
|
|
464
|
+
const landedArtifacts = repairResult.repairs.filter((repair) => repair.status === 'repaired').map((repair) => {
|
|
465
|
+
const artifactDir = repairArtifactDirs.get(repair.prNumber);
|
|
466
|
+
const files = artifactDir ? Object.fromEntries((function walk(directory: string, prefix = ''): Array<[string, string]> {
|
|
467
|
+
return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => {
|
|
468
|
+
const relative = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
469
|
+
const fullPath = join(directory, entry.name);
|
|
470
|
+
return entry.isDirectory() ? walk(fullPath, relative)
|
|
471
|
+
: [[relative, readFileSync(fullPath, 'utf8')] as [string, string]];
|
|
472
|
+
});
|
|
473
|
+
})(artifactDir)) : {};
|
|
474
|
+
return { sourceFile: repair.file, files };
|
|
475
|
+
});
|
|
476
|
+
input.onRepairLanded?.(repairResult.repairedFiles, landedArtifacts);
|
|
477
|
+
for (const item of graphDriven) {
|
|
478
|
+
const itemAttributions = attributions.filter((row) => item.signal.failureIds?.includes(row.failureId)
|
|
479
|
+
|| (!item.signal.failureIds?.length && item.plan.files.some((file) => row.sourceFiles.includes(file))));
|
|
480
|
+
await bus.publish({ graphId: 'release-loop', runId: input.runId, type: 'release.macrophage.repair-pr-landed', source: { kind: 'runner' },
|
|
481
|
+
data: { incidentId: item.signal.id, files: item.plan.files, failureIds,
|
|
482
|
+
attribution: itemAttributions, adaptiveRepairInputFiles: graphRepairInputFiles, nodeId } });
|
|
483
|
+
}
|
|
484
|
+
return { exitCode: 0, stdout: `${JSON.stringify(repairResult)}\n`, stderr: '' };
|
|
485
|
+
}
|
|
486
|
+
return resultForNode(nodeId, undefined, version);
|
|
487
|
+
} } });
|
|
488
|
+
} finally { macrophageRuntime.dispose(); }
|
|
489
|
+
if (graphState.runId !== input.runId) throw new Error(`incident simulation run ${input.runId} does not match graph run ${graphState.runId}`);
|
|
490
|
+
await bus.flush({ graphId: 'release-loop', runId: input.runId });
|
|
491
|
+
const statePath = graphState.statePath;
|
|
492
|
+
if (!statePath) throw new Error('release graph simulation did not persist a run state path');
|
|
493
|
+
const receiptPath = `${statePath}.contexts/macrophage.jsonl`;
|
|
494
|
+
const recoveryReceiptPath = `${statePath}.contexts/macrophage-recovery.jsonl`;
|
|
495
|
+
const graphLifecycleMeasured = graphState.status === 'done'
|
|
496
|
+
&& graphState.path.filter((nodeId) => nodeId === 'gate').length === 2
|
|
497
|
+
&& graphState.path.some((nodeId) => /^gate-repair-[a-f0-9]{12}$/.test(nodeId));
|
|
498
|
+
const graphDriven = cases.filter(({ signal }) => graphDrivenIncidentIds.has(signal.id));
|
|
499
|
+
const graphRepairAppend = graphState.adaptiveGateNodeAppends?.find(({ request }) => request.rerunGateAt === 'gate'
|
|
500
|
+
&& request.node.recipe === 'cmd:gate-repair');
|
|
501
|
+
const graphRepairFailureIds = graphRepairAppend?.request.node.recipe === 'cmd:gate-repair'
|
|
502
|
+
? graphRepairAppend.request.node.input.failureIds : [];
|
|
503
|
+
const graphRepairAttributions = input.attributionContext && graphRepairFailureIds.length
|
|
504
|
+
? attributeReleaseFailures({ ...input.attributionContext, failureIds: graphRepairFailureIds }) : [];
|
|
505
|
+
const graphDrivenRepairMeasured = graphLifecycleMeasured && graphDriven.length > 0
|
|
506
|
+
&& graphDriven.every(({ plan }) => plan.files.every((file) => graphRepairInputFiles.includes(file)))
|
|
507
|
+
&& graphDriven.every(({ signal, plan }) => plan.files.every((file) => graphRepairInputFailureIds.some((id) =>
|
|
508
|
+
signal.failureIds?.includes(id) || id.startsWith(`${file} > `))))
|
|
509
|
+
&& (!input.attributionContext || graphDriven.every(({ signal, plan }) => {
|
|
510
|
+
const rows = graphRepairAttributions.filter((row) => signal.failureIds?.includes(row.failureId));
|
|
511
|
+
return rows.length > 0 && rows.every((row) => row.confidence !== 'unmeasured')
|
|
512
|
+
&& plan.files.every((file) => rows.some((row) => row.sourceFiles.includes(file)));
|
|
513
|
+
}));
|
|
514
|
+
const graphRepairChecks = { lifecycle: graphLifecycleMeasured, graphDrivenCount: graphDriven.length,
|
|
515
|
+
inputFiles: graphDriven.every(({ plan }) => plan.files.every((file) => graphRepairInputFiles.includes(file))),
|
|
516
|
+
failureMapping: graphDriven.every(({ signal, plan }) => plan.files.every((file) => graphRepairInputFailureIds.some((id) =>
|
|
517
|
+
signal.failureIds?.includes(id) || id.startsWith(`${file} > `)))), attribution: !input.attributionContext || graphDriven.every(({ signal, plan }) => {
|
|
518
|
+
const rows = graphRepairAttributions.filter((row) => signal.failureIds?.includes(row.failureId));
|
|
519
|
+
return rows.length > 0 && rows.every((row) => row.confidence !== 'unmeasured')
|
|
520
|
+
&& plan.files.every((file) => rows.some((row) => row.sourceFiles.includes(file)));
|
|
521
|
+
}) };
|
|
522
|
+
const graphDrivenRepairNodeId = graphRepairAppend?.request.node.nodeId;
|
|
523
|
+
if (graphDrivenRepairMeasured) {
|
|
524
|
+
for (const [index, item] of graphDriven.entries()) {
|
|
525
|
+
const itemFailureIds = item.signal.failureIds?.length ? item.signal.failureIds
|
|
526
|
+
: graphRepairInputFailureIds.filter((id) => item.plan.files.some((file) => id.startsWith(`${file} > `)));
|
|
527
|
+
const itemAttributions = input.attributionContext
|
|
528
|
+
? graphRepairAttributions.filter((row) => itemFailureIds.includes(row.failureId))
|
|
529
|
+
: itemFailureIds.map((failureId) => ({ failureId, sourceFiles: item.plan.files, confidence: 'high' as const }));
|
|
530
|
+
const recovery = recordMacrophageGraphRecovery({ runId: input.runId, plan: item.plan,
|
|
531
|
+
repairLanded: repairLanded.has(item.signal.id), repairNodeId: graphDrivenRepairNodeId,
|
|
532
|
+
gateVisits: graphState.path.filter((nodeId) => nodeId === 'gate').length, failureIds: itemFailureIds,
|
|
533
|
+
attributedFailures: itemAttributions,
|
|
534
|
+
changedShardId: item.signal.id === 'd-receipt-reuse-zero-of-81' ? 'shard-d-receipt-reuse-zero-of-81' : `shard-${index}`,
|
|
535
|
+
carriedShardIds: ['shard-0', 'shard-1', 'shard-2', 'shard-3'] });
|
|
536
|
+
await bus.publish({ graphId: 'release-loop', runId: input.runId, type: 'release.macrophage.run-resumed', source: { kind: 'runner' },
|
|
537
|
+
data: { incidentId: item.signal.id, disposition: recovery.receipt.disposition,
|
|
538
|
+
gateVisit: graphState.path.filter((nodeId) => nodeId === 'gate').length } });
|
|
539
|
+
jsonlRows.push(recovery.jsonl);
|
|
540
|
+
await bus.publish({ graphId: 'release-loop', runId: input.runId, type: 'release.macrophage.receipt-written', source: { kind: 'runner' },
|
|
541
|
+
data: { incidentId: item.signal.id, schema: recovery.receipt.schema, jsonl: recovery.jsonl } });
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
await bus.flush({ graphId: 'release-loop', runId: input.runId });
|
|
545
|
+
mkdirSync(dirname(receiptPath), { recursive: true });
|
|
546
|
+
writeFileSync(recoveryReceiptPath, jsonlRows.join(''), { mode: 0o600 });
|
|
547
|
+
const runtimeApplied = runtimeDecisions.some((event) => event.data?.id === 'simulated-stale-output'
|
|
548
|
+
&& event.data.action === 'regenerate' && event.data.applied === true);
|
|
549
|
+
const runtimeFailureDetected = runtimeDecisions.some((decision) => {
|
|
550
|
+
const sourceEventId = decision.data?.sourceEventId;
|
|
551
|
+
const sourceEvent = typeof sourceEventId === 'string' ? eventTrace.find((event) => event.eventId === sourceEventId) : undefined;
|
|
552
|
+
const expectedFailureNode = input.receiptAuditKeyMismatchFirst ? 'residual-run' : 'gate';
|
|
553
|
+
return decision.data?.sourceNodeId === expectedFailureNode && decision.data.action === 'attempt-repair'
|
|
554
|
+
&& decision.data.failureSignature === 'type-error' && decision.data.applied === false
|
|
555
|
+
&& sourceEvent?.type === 'node-end' && sourceEvent.data?.ok === false
|
|
556
|
+
&& sourceEvent.source.kind === 'node' && sourceEvent.source.nodeId === expectedFailureNode;
|
|
557
|
+
});
|
|
558
|
+
const finalized = cases.map((item) => {
|
|
559
|
+
if (graphDrivenIncidentIds.has(item.signal.id) && graphDrivenRepairMeasured) {
|
|
560
|
+
const receipt = JSON.parse(jsonlRows.find((line) => JSON.parse(line).incidentId === item.signal.id) ?? 'null') as NonNullable<typeof item.receipt>;
|
|
561
|
+
item = { ...item, resumed: true, receipt, receiptJsonl: `${JSON.stringify(receipt)}\n`, pass: true };
|
|
562
|
+
}
|
|
563
|
+
const eventNames = eventTrace.filter((row) => row.runId === input.runId && row.data?.incidentId === item.signal.id).map((row) => row.type);
|
|
564
|
+
const expectedPrefix = ['release.macrophage.incident.injected', 'release.macrophage.detected', 'release.macrophage.attributed',
|
|
565
|
+
'release.macrophage.classified'];
|
|
566
|
+
const expectedTail = item.resumed ? [
|
|
567
|
+
...(item.plan.label === 'fix' ? ['release.macrophage.repair-pr-landed'] : []),
|
|
568
|
+
...(item.plan.label === 'hitl' ? ['release.macrophage.hitl-approved'] : []),
|
|
569
|
+
'release.macrophage.run-resumed', 'release.macrophage.receipt-written',
|
|
570
|
+
] : [];
|
|
571
|
+
const relevantNames = eventNames.filter((name) => name !== 'release.macrophage.incident.injected');
|
|
572
|
+
const completeTrace = expectedPrefix.slice(1).every((name, index) => relevantNames[index] === name)
|
|
573
|
+
&& expectedTail.every((name, index) => relevantNames[index + 3] === name)
|
|
574
|
+
&& relevantNames.length === 3 + expectedTail.length;
|
|
575
|
+
return { ...item, eventNames, pass: item.pass && completeTrace };
|
|
576
|
+
});
|
|
577
|
+
return { pass: runtimeApplied && runtimeFailureDetected && graphDrivenRepairMeasured && graphState.runId === input.runId
|
|
578
|
+
&& finalized.length === input.incidents.length && finalized.every((item) => item.pass)
|
|
579
|
+
&& jsonlRows.length === finalized.filter((item) => item.resumed).length
|
|
580
|
+
&& readFileSync(recoveryReceiptPath, 'utf8') === jsonlRows.join(''),
|
|
581
|
+
runId: input.runId, graphState, graphDrivenIncidentId: [...graphDrivenIncidentIds][0] ?? GRAPH_DRIVEN_MACROPHAGE_INCIDENT,
|
|
582
|
+
graphRepairFailureIds, graphRepairInputFailureIds, graphRepairInputGateExecutionId, graphRepairInputFiles, graphRepairAttributions, graphRepairMeasured: graphDrivenRepairMeasured,
|
|
583
|
+
graphRepairChecks,
|
|
584
|
+
productionTriageEvidence,
|
|
585
|
+
statePath, receiptPath, recoveryReceiptPath, cases: finalized, eventTrace, runtimeDecisions, jsonl: jsonlRows.join('') };
|
|
586
|
+
}
|
|
35
587
|
|
|
36
588
|
const REPOSITORY_ROOT = join(import.meta.dir, '../..');
|
|
37
589
|
const RELEASE_GRAPH = join(REPOSITORY_ROOT, 'graphs/release/release-loop.yaml');
|
|
@@ -61,14 +613,29 @@ function cutTip(): string {
|
|
|
61
613
|
return cachedCutTip;
|
|
62
614
|
}
|
|
63
615
|
|
|
616
|
+
function createResumeCommandRoot(root: string): string {
|
|
617
|
+
const commandRoot = join(root, 'resume-command-root');
|
|
618
|
+
mkdirSync(join(commandRoot, 'node_modules'), { recursive: true });
|
|
619
|
+
mkdirSync(join(commandRoot, 'apps/pwa/node_modules'), { recursive: true });
|
|
620
|
+
mkdirSync(join(commandRoot, 'graphs/release'), { recursive: true });
|
|
621
|
+
for (const name of ['release-loop.yaml', 'recipes.yaml']) {
|
|
622
|
+
copyFileSync(join(REPOSITORY_ROOT, 'graphs/release', name), join(commandRoot, 'graphs/release', name));
|
|
623
|
+
}
|
|
624
|
+
return commandRoot;
|
|
625
|
+
}
|
|
626
|
+
|
|
64
627
|
|
|
65
628
|
export interface ReleaseSimRigCase {
|
|
66
629
|
id: string;
|
|
67
|
-
mode?: 'baseline' | 'cut-tip-moved-after-resume' | 'approval-graph-path-mismatch' | 'pwa-costly-opt-in-required' | 'cutoff-cli-notes-empty' | 'docs-node-cli-in-sim' | 'gate-waive-introduced-regression' | 'owner-waive-unmeasured-gate' | 'owner-waive-0246-fixture' | 'append-receipt-continuity' | 'macrophage-heal' | 'old-graph-measured-waiver' | 'appended-tip-regate-before-waiver';
|
|
630
|
+
mode?: 'baseline' | 'cut-tip-moved-after-resume' | 'approval-graph-path-mismatch' | 'pwa-costly-opt-in-required' | 'cutoff-cli-notes-empty' | 'docs-node-cli-in-sim' | 'gate-waive-introduced-regression' | 'owner-waive-unmeasured-gate' | 'owner-waive-missing-schema' | 'owner-waive-0246-fixture' | 'owner-waive-downstream-failure' | 'append-receipt-continuity' | 'resume-fanout-branch-refused' | 'macrophage-heal' | 'macro-chain-e2e' | 'kaist-selfheal-stage' | 'old-graph-measured-waiver' | 'appended-tip-regate-before-waiver' | 'prod-seat-launch-refused' | 'incident-policy-handler';
|
|
631
|
+
repairFault?: 'bad-artifact' | 'unlanded';
|
|
632
|
+
incidentEventType?: string;
|
|
633
|
+
incidentDescription?: string;
|
|
634
|
+
incidentRationale?: string;
|
|
68
635
|
unmeasuredGateShape?: 'stopped' | 'sweep-incomplete' | 'killed';
|
|
69
636
|
fault?: { node: string; outcome: 'fail' | 'error' | 'timeout'; evidence?: Record<string, unknown> };
|
|
70
|
-
nodeOutcomes?: Record<string, { outcome: 'ok' | 'fail' | 'error'; delayMs?: number }>;
|
|
71
|
-
expect: { status: 'done' | 'failed' | 'resume-refused'; mustVisit: string[]; mustNotVisit: string[]; overlap?: [string, string]; refusalIncludes?: string; events?: ReleaseEventExpectation[] };
|
|
637
|
+
nodeOutcomes?: Record<string, { outcome: 'ok' | 'fail' | 'error' | 'unknown'; delayMs?: number }>;
|
|
638
|
+
expect: { status: 'done' | 'failed' | 'resume-refused' | 'awaiting-approval'; mustVisit: string[]; mustNotVisit: string[]; overlap?: [string, string]; refusalIncludes?: string; events?: ReleaseEventExpectation[] };
|
|
72
639
|
}
|
|
73
640
|
|
|
74
641
|
export interface ReleaseSimGateReceiptStage {
|
|
@@ -82,6 +649,19 @@ export interface ReleaseSimGateReceiptStage {
|
|
|
82
649
|
formalGateRun?: { outcome: 'ok' | 'regression' | 'error'; formalReceiptDecision?: string; cutSweepCount: number; fullSweep: boolean; baselineVersion?: string };
|
|
83
650
|
gateOutcome: 'pass' | 'fail' | 'unmeasured';
|
|
84
651
|
publishDecision: 'eligible' | 'blocked';
|
|
652
|
+
requestedSweepConcurrency?: number;
|
|
653
|
+
observedSweepConcurrency?: number;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
function runSimulatedGateWorkerPool(files: readonly string[], workerCount: number): number {
|
|
657
|
+
if (!Number.isSafeInteger(workerCount) || workerCount < 1) throw new Error('invalid simulated gate worker count');
|
|
658
|
+
const workers = Array.from({ length: workerCount }, () => ({ completedFiles: [] as string[], run(file: string) { this.completedFiles.push(file); } }));
|
|
659
|
+
files.forEach((file, index) => workers[index % workerCount]!.run(file));
|
|
660
|
+
const completedFiles = workers.flatMap((worker) => worker.completedFiles);
|
|
661
|
+
if (completedFiles.length !== files.length || files.some((file) => !completedFiles.includes(file)))
|
|
662
|
+
throw new Error('simulated gate worker pool lost a file');
|
|
663
|
+
// The executor reports its allocated Pod worker profile after dispatching the selected work.
|
|
664
|
+
return workers.length;
|
|
85
665
|
}
|
|
86
666
|
|
|
87
667
|
/** Production receipt-radius planner seam. The optional final hook is reserved for p13's gate fault helper. */
|
|
@@ -91,6 +671,8 @@ export function runReleaseSimGateReceiptSeam(input: {
|
|
|
91
671
|
priorCommit: string;
|
|
92
672
|
commit: string;
|
|
93
673
|
selectedFiles: string[];
|
|
674
|
+
requestedSweepConcurrency?: number;
|
|
675
|
+
executorWorkerCount?: number;
|
|
94
676
|
stage: string;
|
|
95
677
|
formalReceiptInspection?: GateShardReceiptInspection;
|
|
96
678
|
formalGateRun?: ReleaseSimGateReceiptStage['formalGateRun'];
|
|
@@ -129,6 +711,9 @@ export function runReleaseSimGateReceiptSeam(input: {
|
|
|
129
711
|
: measuredOutcome === 'unmeasured' || formalGateOutcome === 'unmeasured' ? 'unmeasured' : 'pass';
|
|
130
712
|
const planned: ReleaseSimGateReceiptStage = { name: input.stage, commit: input.commit,
|
|
131
713
|
selectedFiles: [...input.selectedFiles], plan: { carriedShardIds, rerunShardIds, fullSweep },
|
|
714
|
+
...(input.requestedSweepConcurrency !== undefined ? { requestedSweepConcurrency: input.requestedSweepConcurrency } : {}),
|
|
715
|
+
...(input.executorWorkerCount !== undefined
|
|
716
|
+
? { observedSweepConcurrency: runSimulatedGateWorkerPool(input.selectedFiles, input.executorWorkerCount) } : {}),
|
|
132
717
|
receiptIds: reduction.status === 'complete' ? reduction.receipts.map((receipt) => receipt.id) : [],
|
|
133
718
|
...(input.formalGateRun ? { formalGateRun: input.formalGateRun } : {}),
|
|
134
719
|
...(input.formalGateRun?.formalReceiptDecision === 'formal-receipt-set-absent'
|
|
@@ -153,7 +738,7 @@ async function runProductionMissingReceiptGate(root: string, tests: string[], ve
|
|
|
153
738
|
writeFileSync(join(repo, 'apps/pwa/bun.lock'), 'lockfileVersion = 1\n');
|
|
154
739
|
writeFileSync(join(repo, 'docker/harness/Dockerfile'), 'FROM ubuntu:24.04\n');
|
|
155
740
|
writeFileSync(join(repo, 'graphs/release/release-loop.yaml'), " - { node_id: gate, kind: gate, recipe: 'cmd:gate', max_visits: 1 }\n");
|
|
156
|
-
writeFileSync(join(repo, 'graphs/release/recipes.yaml'), "gate:\n command: 'bun scripts/release-loop/gate-node.ts --json'\n timeout_ms: 14400000\n");
|
|
741
|
+
writeFileSync(join(repo, 'graphs/release/recipes.yaml'), "gate:\n command: 'bun scripts/release-loop/gate-node-cli.ts --json'\n timeout_ms: 14400000\n");
|
|
157
742
|
for (const file of tests) {
|
|
158
743
|
const path = join(repo, file);
|
|
159
744
|
mkdirSync(dirname(path), { recursive: true });
|
|
@@ -201,6 +786,10 @@ async function runProductionMissingReceiptGate(root: string, tests: string[], ve
|
|
|
201
786
|
const SIM_BASE_COMMIT = 'b'.repeat(40);
|
|
202
787
|
const SIM_IMAGE_DIGEST = `sha256:${'a'.repeat(64)}`;
|
|
203
788
|
const SIM_ENV_FINGERPRINT = 'c'.repeat(64);
|
|
789
|
+
// 출처: RFC-release-gate-file-receipts § dirty-ratio threshold is 0.1; two changed files must stay below it.
|
|
790
|
+
const SIM_FILE_CAS_SWEEP_FILE_COUNT = 40;
|
|
791
|
+
// 출처: RFC-release-gate-file-receipts § sweep and supplemental use the same fixed Pod profile.
|
|
792
|
+
const SIM_GATE_EXECUTOR_CONCURRENCY = 24;
|
|
204
793
|
const SIM_RUNTIME_IDENTITY = { bunVersion: '1.4.2', platform: 'linux', architecture: 'x64', envFingerprint: SIM_ENV_FINGERPRINT,
|
|
205
794
|
baseImageDigest: `sha256:${'d'.repeat(64)}` };
|
|
206
795
|
const SIM_LOCKFILE_BODY = 'lockfileVersion = 1\n';
|
|
@@ -284,7 +873,8 @@ async function simulatePersistedSameCommitCarry(root: string, version: string) {
|
|
|
284
873
|
carriedShardIds, rerunShardIds: podCalls > 0 ? shards.map((shard) => shard.id) : [], totalPods: podCalls, output: result.output, events };
|
|
285
874
|
}
|
|
286
875
|
|
|
287
|
-
async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string
|
|
876
|
+
async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string,
|
|
877
|
+
executorConcurrency = SIM_GATE_EXECUTOR_CONCURRENCY, supplementalFailureAt?: string): Promise<ReleaseSimRigCaseResult> {
|
|
288
878
|
const tests = Array.from({ length: 81 }, (_, index) => `test/shard-${String(index).padStart(2, '0')}.test.ts`);
|
|
289
879
|
const cut = 'a'.repeat(40), appendA = 'c'.repeat(40), appendB = 'd'.repeat(40);
|
|
290
880
|
const graphId = `release-sim-${scenario.id}-append-continuity`;
|
|
@@ -304,7 +894,8 @@ async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: Relea
|
|
|
304
894
|
const formalReceiptDir = join(root, 'release', scenario.input.version, 'gate-logs', 'cut', 'receipts');
|
|
305
895
|
mkdirSync(formalReceiptDir, { recursive: true });
|
|
306
896
|
const formalReceiptInspection = inspectGateShardReceipts(formalReceiptDir, { version: scenario.input.version, commit: cut,
|
|
307
|
-
base40: SIM_BASE_COMMIT, envFingerprint: SIM_ENV_FINGERPRINT,
|
|
897
|
+
base40: SIM_BASE_COMMIT, envFingerprint: SIM_ENV_FINGERPRINT, runtimeIdentity: SIM_RUNTIME_IDENTITY, lockHash: SIM_LOCKFILE_HASH,
|
|
898
|
+
graphPins: { graphSha: '0'.repeat(64), recipeSha: '1'.repeat(64) },
|
|
308
899
|
graphEntry: 'release-sim-gate', recipeCommand: 'simulated gate receipt', recipeTimeoutMs: 1000,
|
|
309
900
|
shards: tests.map((file, index) => ({ id: `pod-${index}`, files: [file] })), tests });
|
|
310
901
|
const formalGateRun = await runProductionMissingReceiptGate(root, tests, scenario.input.version, scenario.input.previousVersion);
|
|
@@ -313,6 +904,7 @@ async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: Relea
|
|
|
313
904
|
let selectedFiles: string[] = [];
|
|
314
905
|
let receipts: GateShardReceipt[] = [];
|
|
315
906
|
const stages: ReleaseSimGateReceiptStage[] = [];
|
|
907
|
+
const fileCasRuns: Array<{ nodeId: string; sourceRunId: string; changedIndex: number; observation: ReturnType<typeof simGateReceiptFileClosureCas> }> = [];
|
|
316
908
|
const runBash = async (_command: string, options: { env?: NodeJS.ProcessEnv }) => {
|
|
317
909
|
const { nodeId } = parseContext(options.env ?? process.env);
|
|
318
910
|
if (nodeId === 'append-a') { previousCommit = cut; currentCommit = appendA; selectedFiles = [tests[0]!]; }
|
|
@@ -321,9 +913,50 @@ async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: Relea
|
|
|
321
913
|
ledgerEvents.push({ event: 'resume', stage: nodeId, priorCommit: previousCommit, commit: currentCommit, selectedFiles: [...selectedFiles], radiusOnly: true });
|
|
322
914
|
}
|
|
323
915
|
if (nodeId.startsWith('gate-')) {
|
|
916
|
+
const changedIndex = nodeId === 'gate-cut' ? 0 : nodeId === 'gate-a' ? 1 : 2;
|
|
917
|
+
const sourceRunId = nodeId === 'gate-a' ? '1475eed8' : 'c159bb8d';
|
|
918
|
+
const priorFiles: GateFileReceiptIdentity[] = Array.from({ length: SIM_FILE_CAS_SWEEP_FILE_COUNT }, (_, index) => {
|
|
919
|
+
const file = `test/append-cas-${index}.test.ts`;
|
|
920
|
+
const closureFiles = [file, `apps/pwa/config-${index}.json`, `src/release/module-${index}.ts`].sort();
|
|
921
|
+
const contentHashes = Object.fromEntries(closureFiles.map((path) => [path, createHash('sha256').update(path).digest('hex')]));
|
|
922
|
+
return { file, closureFiles, contentHashes, imageDigest: SIM_IMAGE_DIGEST };
|
|
923
|
+
});
|
|
924
|
+
const appendedFiles = priorFiles.map((identity, index) => {
|
|
925
|
+
if (index !== changedIndex) return identity;
|
|
926
|
+
const changedPath = sourceRunId === 'c159bb8d' ? `apps/pwa/config-${index}.json` : `src/release/module-${index}.ts`;
|
|
927
|
+
return { ...identity, contentHashes: { ...identity.contentHashes,
|
|
928
|
+
[changedPath]: createHash('sha256').update(`${changedPath}:append`).digest('hex') } };
|
|
929
|
+
});
|
|
930
|
+
appendedFiles.push({ file: 'test/append-cas-new.test.ts', closureFiles: ['src/release/new.ts', 'test/append-cas-new.test.ts'],
|
|
931
|
+
contentHashes: { 'src/release/new.ts': createHash('sha256').update('src/release/new.ts').digest('hex'),
|
|
932
|
+
'test/append-cas-new.test.ts': createHash('sha256').update('test/append-cas-new.test.ts').digest('hex') }, imageDigest: SIM_IMAGE_DIGEST });
|
|
933
|
+
const neighborIndex = (changedIndex + 1) % priorFiles.length;
|
|
934
|
+
const receiptFileCas = simGateReceiptFileClosureCas({ sourceRunId, trainHead40: 'e'.repeat(40), cutHead40: currentCommit,
|
|
935
|
+
imageDigest: SIM_IMAGE_DIGEST, prior: priorFiles,
|
|
936
|
+
priorReceipts: priorFiles.map((identity) => makeGateFileReceiptSimulationReceipt(identity, 'e'.repeat(40), 'baseline-sweep')),
|
|
937
|
+
appended: appendedFiles, isolated: [appendedFiles[changedIndex]!, appendedFiles.at(-1)!],
|
|
938
|
+
interference: { [priorFiles[changedIndex]!.file]: [priorFiles[neighborIndex]!.file] },
|
|
939
|
+
...(nodeId === supplementalFailureAt ? { supplementalOutcome: 'fail' as const } : {}),
|
|
940
|
+
runSupplemental: (input, outcome) => {
|
|
941
|
+
const supplemental = runReleaseSimGateReceiptSeam({ stage: `${nodeId}-append-supplemental`, tests: input.tests,
|
|
942
|
+
receipts: [], priorCommit: input.priorCommit, commit: input.commit, selectedFiles: input.selectedFiles,
|
|
943
|
+
requestedSweepConcurrency: input.concurrency, executorWorkerCount: executorConcurrency },
|
|
944
|
+
() => ({ gateOutcome: outcome }));
|
|
945
|
+
return { aggregate: supplemental.aggregate === 'complete' ? 'complete' as const : 'incomplete' as const,
|
|
946
|
+
gateOutcome: supplemental.gateOutcome, publishDecision: supplemental.publishDecision,
|
|
947
|
+
executedConcurrency: supplemental.observedSweepConcurrency ?? 0,
|
|
948
|
+
plan: { fullSweep: supplemental.plan.fullSweep, rerunShardIds: supplemental.plan.rerunShardIds } };
|
|
949
|
+
} });
|
|
950
|
+
fileCasRuns.push({ nodeId, sourceRunId, changedIndex, observation: receiptFileCas });
|
|
951
|
+
ledgerEvents.push({ event: 'file-cas-replay', nodeId, sourceRunId, supplementalOutcome: receiptFileCas.supplementalGate.gateOutcome,
|
|
952
|
+
requestedConcurrency: receiptFileCas.appendInvalidation.supplementalConcurrency,
|
|
953
|
+
observedConcurrency: receiptFileCas.supplementalGate.executedConcurrency,
|
|
954
|
+
dirtyFiles: receiptFileCas.appendInvalidation.dirtyFiles, supplementalFiles: receiptFileCas.appendInvalidation.supplementalFiles,
|
|
955
|
+
certificateRefreshed: receiptFileCas.refreshedSweepCertificate !== undefined });
|
|
324
956
|
const stage = runReleaseSimGateReceiptSeam({ stage: nodeId, tests, receipts,
|
|
325
957
|
priorCommit: previousCommit, commit: currentCommit, selectedFiles,
|
|
326
|
-
...(nodeId === 'gate-cut' ? { formalReceiptInspection, formalGateRun } : {}) }
|
|
958
|
+
...(nodeId === 'gate-cut' ? { formalReceiptInspection, formalGateRun } : {}) },
|
|
959
|
+
() => ({ gateOutcome: receiptFileCas.supplementalGate.gateOutcome }));
|
|
327
960
|
stages.push(stage);
|
|
328
961
|
receipts = [...receipts.filter((receipt) => stage.plan.carriedShardIds.includes(receipt.id)).map((receipt) => ({ ...receipt, head40: currentCommit })),
|
|
329
962
|
...stage.plan.rerunShardIds.map((id) => simulatedReceipt(id, tests[Number(id.slice(4))]!, currentCommit))];
|
|
@@ -373,15 +1006,30 @@ async function runAppendReceiptCase(scenario: ReleaseSimRigScenario, item: Relea
|
|
|
373
1006
|
&& appendStageA.aggregate === 'complete' && appendStageA.receiptIds.length === 81
|
|
374
1007
|
&& appendStageB?.plan.carriedShardIds.length === 80 && appendStageB.plan.rerunShardIds.join() === 'pod-1'
|
|
375
1008
|
&& appendStageB.aggregate === 'complete' && appendStageB.receiptIds.length === 81;
|
|
1009
|
+
// 출처: 내부 문서 `RFC-release-gate-file-receipts-2026-11-08` §6 requires two replay events and one failed supplemental run.
|
|
1010
|
+
const fileCasReplayOk = fileCasRuns.length === 3
|
|
1011
|
+
&& fileCasRuns[0]?.sourceRunId === 'c159bb8d' && fileCasRuns[0].observation.supplementalGate.gateOutcome === 'pass'
|
|
1012
|
+
&& !fileCasRuns[0].observation.appendInvalidation.fullSweepRequired
|
|
1013
|
+
&& fileCasRuns[0].observation.appendInvalidation.supplementalFiles.join() === ['test/append-cas-0.test.ts', 'test/append-cas-1.test.ts', 'test/append-cas-new.test.ts'].sort().join()
|
|
1014
|
+
&& fileCasRuns[0].observation.refreshedSweepCertificate?.sourceHead40 === cut
|
|
1015
|
+
&& fileCasRuns[0].observation.measuredAfterAppend.every((receipt) => receipt.sourceHead40 === cut)
|
|
1016
|
+
&& fileCasRuns[1]?.sourceRunId === '1475eed8' && fileCasRuns[1].observation.supplementalGate.gateOutcome === 'pass'
|
|
1017
|
+
&& !fileCasRuns[1].observation.appendInvalidation.fullSweepRequired
|
|
1018
|
+
&& fileCasRuns[1].observation.refreshedSweepCertificate?.sourceHead40 === appendA
|
|
1019
|
+
&& fileCasRuns[1].observation.measuredAfterAppend.every((receipt) => receipt.sourceHead40 === appendA)
|
|
1020
|
+
&& fileCasRuns[0].observation.appendInvalidation.dirtyFiles.join() !== fileCasRuns[1].observation.appendInvalidation.dirtyFiles.join()
|
|
1021
|
+
&& fileCasRuns[2]?.observation.supplementalGate.gateOutcome === 'pass'
|
|
1022
|
+
&& !fileCasRuns[2].observation.certificateRefreshBlocked && fileCasRuns[2].observation.refreshedSweepCertificate !== undefined;
|
|
376
1023
|
const publishOk = stages.at(-1)?.publishDecision === 'eligible' && path.includes('publish');
|
|
377
1024
|
const ledgerOk = ledgerEvents.some((row) => row.event === 'node-start') && ledgerEvents.some((row) => row.event === 'node-end')
|
|
378
1025
|
&& ledgerEvents.some((row) => row.event === 'append') && ledgerEvents.filter((row) => row.event === 'resume').length === 2;
|
|
379
1026
|
const eventTrace = checkExpectedEvents(item.expect.events, ledgerEvents);
|
|
380
|
-
const pass = statusOk && visitOk && notVisitOk && receiptFlowOk &&
|
|
1027
|
+
const pass = statusOk && visitOk && notVisitOk && receiptFlowOk && fileCasReplayOk && sameCommitCarryOk && publishOk
|
|
1028
|
+
&& ledgerOk && (eventTrace?.pass ?? true) && edgeIssues.length === 0;
|
|
381
1029
|
return { id: item.id, pass, status: state.status, path, dispatchedNodes: path.filter((node) => nodeSequence.includes(node)),
|
|
382
1030
|
unexpectedEdges: edgeIssues, checks: { status: statusOk, mustVisit: visitOk, mustNotVisit: notVisitOk, overlap: true, ledgerEvents: ledgerOk, ...(eventTrace ? { events: eventTrace.pass } : {}) },
|
|
383
1031
|
injectedEvidence: { universe: 'test', releaseVersion: scenario.input.version, formalReceiptInspection, receiptCase, appendA: appendStageA, appendB: appendStageB,
|
|
384
|
-
sameCommitResume, sameCommitCarryOk, carryRegressionFixture, appendedOnlyChangedTestRadius: receiptFlowOk, fakePublish: stages.at(-1)?.publishDecision,
|
|
1032
|
+
sameCommitResume, sameCommitCarryOk, carryRegressionFixture, appendedOnlyChangedTestRadius: receiptFlowOk, fileCasReplayOk, fileCasRuns, fakePublish: stages.at(-1)?.publishDecision,
|
|
385
1033
|
executionStatePath: state.statePath, ...(eventTrace ? { eventTrace } : {}) }, fanOuts: state.fanOuts, ledgerEvents, statePath: state.statePath };
|
|
386
1034
|
}
|
|
387
1035
|
|
|
@@ -390,7 +1038,7 @@ export interface ReleaseSimRigScenario {
|
|
|
390
1038
|
kind: 'release-graph';
|
|
391
1039
|
id: string;
|
|
392
1040
|
isolation: 'test';
|
|
393
|
-
input: { version: string; previousVersion: string };
|
|
1041
|
+
input: { version: string; previousVersion: string; releaseGateFanout?: boolean; graphCutover?: 'legacy' | 'audit'; graphCutoverEvidenceId?: string };
|
|
394
1042
|
cases: ReleaseSimRigCase[];
|
|
395
1043
|
}
|
|
396
1044
|
|
|
@@ -401,7 +1049,9 @@ export interface ReleaseSimRigCaseResult {
|
|
|
401
1049
|
path: string[];
|
|
402
1050
|
dispatchedNodes: string[];
|
|
403
1051
|
unexpectedEdges: Array<{ from: string; to: string; outcome: string; expectedTo?: string }>;
|
|
404
|
-
checks: { status: boolean; mustVisit: boolean; mustNotVisit: boolean; overlap: boolean; ledgerEvents: boolean; events?: boolean; adaptiveRepair?: boolean
|
|
1052
|
+
checks: { status: boolean; mustVisit: boolean; mustNotVisit: boolean; overlap: boolean; ledgerEvents: boolean; events?: boolean; adaptiveRepair?: boolean;
|
|
1053
|
+
productionTriage?: boolean; repairInputMatchesResidualExecution?: boolean; receiptMismatchRoutedToResidual?: boolean;
|
|
1054
|
+
appBugDetected?: boolean; appRepairRoutesGreen?: boolean; oneSameRunReceipt?: boolean };
|
|
405
1055
|
fanOuts?: GraphRunState['fanOuts'];
|
|
406
1056
|
nodeTimings?: Record<string, { startedAtMs: number; endedAtMs: number }>;
|
|
407
1057
|
injectedEvidence: Record<string, unknown>;
|
|
@@ -411,23 +1061,28 @@ export interface ReleaseSimRigCaseResult {
|
|
|
411
1061
|
}
|
|
412
1062
|
|
|
413
1063
|
function unexpectedEdges(path: string[], state: GraphRunState, edges: Map<string, Record<string, unknown>>): ReleaseSimRigCaseResult['unexpectedEdges'] {
|
|
414
|
-
const nodes = new Map
|
|
1064
|
+
const nodes = new Map<string, typeof state.nodes[number][]>();
|
|
1065
|
+
for (const node of state.nodes) nodes.set(node.nodeId, [...(nodes.get(node.nodeId) ?? []), node]);
|
|
1066
|
+
const visits = new Map<string, number>();
|
|
415
1067
|
const issues: ReleaseSimRigCaseResult['unexpectedEdges'] = [];
|
|
416
1068
|
for (let index = 0; index + 1 < path.length; index++) {
|
|
417
1069
|
const from = path[index]!;
|
|
418
1070
|
const to = path[index + 1]!;
|
|
1071
|
+
const visit = visits.get(from) ?? 0;
|
|
1072
|
+
visits.set(from, visit + 1);
|
|
419
1073
|
const adaptiveAppend = state.adaptiveGateNodeAppends?.some(({ request }) =>
|
|
420
1074
|
(from === request.afterNodeId && to === request.node.nodeId)
|
|
421
1075
|
|| (from === request.node.nodeId && to === request.rerunGateAt));
|
|
422
1076
|
if (adaptiveAppend) continue;
|
|
423
1077
|
const edge = edges.get(from);
|
|
424
1078
|
if (edge?.branches && edge.join === to) continue; // The runner records a fan-out's barrier as the parent-path successor.
|
|
425
|
-
const
|
|
1079
|
+
const node = nodes.get(from)?.[visit] ?? nodes.get(from)?.at(-1);
|
|
1080
|
+
const output = node?.output;
|
|
426
1081
|
let parsed: Record<string, unknown> = {};
|
|
427
1082
|
if (typeof output === 'string') {
|
|
428
1083
|
try { parsed = record(JSON.parse(output.trim().split('\n').at(-1) ?? ''), `${from} output`); } catch { /* use runner fallback below */ }
|
|
429
1084
|
} else if (output && typeof output === 'object' && !Array.isArray(output)) parsed = output as Record<string, unknown>;
|
|
430
|
-
const named = typeof parsed.outcome === 'string' ? parsed.outcome :
|
|
1085
|
+
const named = typeof parsed.outcome === 'string' ? parsed.outcome : node?.ok ? 'ok' : 'fail';
|
|
431
1086
|
const map = edge?.map && typeof edge.map === 'object' ? edge.map as Record<string, unknown> : {};
|
|
432
1087
|
const mappedOutcome = named === 'pass(owner-waived)' ? 'ok' : named;
|
|
433
1088
|
const expectedTo = typeof map[mappedOutcome] === 'string' ? map[mappedOutcome] as string : typeof map[mappedOutcome === 'ok' ? 'ok' : 'fail'] === 'string'
|
|
@@ -458,6 +1113,74 @@ function createReleaseTraceBus(events: Array<Record<string, unknown>>): GraphEve
|
|
|
458
1113
|
return bus;
|
|
459
1114
|
}
|
|
460
1115
|
|
|
1116
|
+
async function runIncidentPolicyHandlerCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string): Promise<ReleaseSimRigCaseResult> {
|
|
1117
|
+
const eventType = item.incidentEventType;
|
|
1118
|
+
const description = item.incidentDescription;
|
|
1119
|
+
const rationale = item.incidentRationale;
|
|
1120
|
+
if (!eventType || !description || !rationale) throw new Error('incident-policy-handler case requires event type, description, and rationale');
|
|
1121
|
+
const graphDocument = parseYaml(readFileSync(RELEASE_GRAPH, 'utf8')) as Record<string, unknown> & { nodes: Array<Record<string, unknown>> };
|
|
1122
|
+
const gateTriage = graphDocument.nodes.find((node) => node.node_id === 'gate-triage');
|
|
1123
|
+
const expectedSubscription = { event: eventType, match: { nodeId: 'gate' }, action: 'reroute' };
|
|
1124
|
+
const subscriptions = Array.isArray(gateTriage?.subscribes) ? gateTriage.subscribes : [];
|
|
1125
|
+
const subscriptionOk = subscriptions.some((row) => {
|
|
1126
|
+
if (!row || typeof row !== 'object' || Array.isArray(row)) return false;
|
|
1127
|
+
const subscription = row as Record<string, unknown>;
|
|
1128
|
+
const match = subscription.match;
|
|
1129
|
+
return subscription.event === eventType && subscription.action === 'reroute'
|
|
1130
|
+
&& !!match && typeof match === 'object' && !Array.isArray(match)
|
|
1131
|
+
&& (match as Record<string, unknown>).nodeId === 'gate';
|
|
1132
|
+
});
|
|
1133
|
+
graphDocument.entry_node = 'gate';
|
|
1134
|
+
|
|
1135
|
+
const runId = `release-sim-${scenario.id}-${item.id}`;
|
|
1136
|
+
const ledgerEvents: Array<Record<string, unknown>> = [];
|
|
1137
|
+
const eventBus = createReleaseTraceBus(ledgerEvents);
|
|
1138
|
+
const incidentPolicy = createIncidentPolicyHandler(async (dispatch) => ({
|
|
1139
|
+
vocabularyLine: dispatch.event.type,
|
|
1140
|
+
repairSummary: description,
|
|
1141
|
+
rationale,
|
|
1142
|
+
}));
|
|
1143
|
+
const state = await runGraph(RELEASE_GRAPH, {
|
|
1144
|
+
graphSource: stringifyYaml(graphDocument), runId, input: scenario.input, pinChildUniverse: true, quiet: true, eventBus,
|
|
1145
|
+
deps: {
|
|
1146
|
+
root,
|
|
1147
|
+
runBash: async (_command, options) => {
|
|
1148
|
+
const { nodeId } = readGraphContext(options.env ?? process.env);
|
|
1149
|
+
if (nodeId === 'gate') {
|
|
1150
|
+
await eventBus.publish({ graphId: 'release-loop', runId, type: eventType,
|
|
1151
|
+
source: { kind: 'node', nodeId: 'gate' }, data: { incidentId: item.id, description } });
|
|
1152
|
+
await eventBus.flush({ graphId: 'release-loop', runId });
|
|
1153
|
+
}
|
|
1154
|
+
return { exitCode: 0, stdout: '{"outcome":"ok"}\n', stderr: '' };
|
|
1155
|
+
},
|
|
1156
|
+
dispatchGraphSubscription: async (dispatch) => incidentPolicy(dispatch),
|
|
1157
|
+
},
|
|
1158
|
+
});
|
|
1159
|
+
const persisted = listGraphRuns(root).runs.find((run) => run.graphId === 'release-loop' && run.runId === runId);
|
|
1160
|
+
const appendedNodeId = state.subscriptionGraphAppends?.[0]?.proposal.entryNodeId;
|
|
1161
|
+
const appendedReason = state.subscriptionGraphAppends?.[0]?.proposal.reason;
|
|
1162
|
+
const expectedPath = appendedNodeId ? ['gate', 'gate-triage', appendedNodeId, 'done'] : [];
|
|
1163
|
+
const mutationOk = state.adaptiveGraphVocabulary?.includes(eventType) === true
|
|
1164
|
+
&& state.adaptiveGraphEdges?.some((edge) => edge.from === 'gate' && edge.to === 'gate-triage' && edge.triggerEvent === eventType && edge.rationale === rationale) === true
|
|
1165
|
+
&& !!appendedNodeId && /^gate-repair-[a-f0-9]{12}$/.test(appendedNodeId)
|
|
1166
|
+
&& state.subscriptionGraphAppends?.length === 1 && appendedReason === `${description}: ${rationale}`;
|
|
1167
|
+
const persistenceOk = !!persisted
|
|
1168
|
+
&& JSON.stringify(persisted.adaptiveGraphVocabulary) === JSON.stringify(state.adaptiveGraphVocabulary)
|
|
1169
|
+
&& JSON.stringify(persisted.subscriptionGraphAppends) === JSON.stringify(state.subscriptionGraphAppends)
|
|
1170
|
+
&& JSON.stringify(persisted.adaptiveGraphEdges ?? []) === JSON.stringify(state.adaptiveGraphEdges ?? []);
|
|
1171
|
+
const pathOk = !!appendedNodeId && JSON.stringify(state.path) === JSON.stringify(expectedPath);
|
|
1172
|
+
const busEventOk = ledgerEvents.some((event) => event.event === eventType && event.runId === runId && event.observedBy === 'GraphEventBus');
|
|
1173
|
+
const statusOk = state.status === item.expect.status && state.status === 'done';
|
|
1174
|
+
const mustVisit = item.expect.mustVisit.every((nodeId) => state.path.includes(nodeId)) && pathOk;
|
|
1175
|
+
const mustNotVisit = item.expect.mustNotVisit.every((nodeId) => !state.path.includes(nodeId));
|
|
1176
|
+
recordObservedEdges(state.path, ledgerEvents);
|
|
1177
|
+
const pass = subscriptionOk && mutationOk && persistenceOk && statusOk && mustVisit && mustNotVisit && busEventOk;
|
|
1178
|
+
return { id: item.id, pass, status: state.status, path: state.path, dispatchedNodes: state.path, unexpectedEdges: [],
|
|
1179
|
+
checks: { status: statusOk, mustVisit, mustNotVisit, overlap: true, ledgerEvents: busEventOk && persistenceOk, events: subscriptionOk && mutationOk },
|
|
1180
|
+
injectedEvidence: { universe: 'test', eventType, subscriptionOk, mutationOk, persistenceOk, appendedNodeId, statePath: state.statePath },
|
|
1181
|
+
ledgerEvents, statePath: state.statePath };
|
|
1182
|
+
}
|
|
1183
|
+
|
|
461
1184
|
export interface ReleaseSimRigResult {
|
|
462
1185
|
id: string;
|
|
463
1186
|
pass: boolean;
|
|
@@ -491,8 +1214,9 @@ function stringList(value: unknown, where: string): string[] {
|
|
|
491
1214
|
return value as string[];
|
|
492
1215
|
}
|
|
493
1216
|
|
|
494
|
-
function releaseGraphShape(): { nodeIds: Set<string>; edges: Map<string, Record<string, unknown>> } {
|
|
495
|
-
const
|
|
1217
|
+
function releaseGraphShape(fanout = false): { nodeIds: Set<string>; edges: Map<string, Record<string, unknown>> } {
|
|
1218
|
+
const graphPath = fanout ? join(dirname(RELEASE_GRAPH), 'release-loop-fanout.yaml') : RELEASE_GRAPH;
|
|
1219
|
+
const parsed = parseGraphTemplateYaml(readFileSync(graphPath, 'utf8'));
|
|
496
1220
|
if (!parsed.template || parsed.errors.length) throw new Error(`release graph is invalid: ${parsed.errors.map((issue) => issue.message).join('; ')}`);
|
|
497
1221
|
const nodeIds = new Set(parsed.template.nodes.map((node) => node.nodeId));
|
|
498
1222
|
const edges = new Map<string, Record<string, unknown>>();
|
|
@@ -516,25 +1240,46 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
|
|
|
516
1240
|
}
|
|
517
1241
|
if (typeof root.id !== 'string' || !/^[a-z0-9][a-z0-9-]{0,63}$/.test(root.id)) throw new Error('scenario.id must be lowercase letters, digits, and hyphens');
|
|
518
1242
|
const input = record(root.input, 'scenario.input');
|
|
519
|
-
exactKeys(input, ['version', 'previousVersion'], 'scenario.input');
|
|
1243
|
+
exactKeys(input, ['version', 'previousVersion', 'releaseGateFanout', 'graphCutover', 'graphCutoverEvidenceId'], 'scenario.input');
|
|
1244
|
+
if (input.releaseGateFanout !== undefined && typeof input.releaseGateFanout !== 'boolean') {
|
|
1245
|
+
throw new Error('scenario.input.releaseGateFanout must be boolean');
|
|
1246
|
+
}
|
|
1247
|
+
if (input.graphCutover !== undefined && input.graphCutover !== 'legacy' && input.graphCutover !== 'audit') {
|
|
1248
|
+
throw new Error('scenario.input.graphCutover must be legacy or audit');
|
|
1249
|
+
}
|
|
1250
|
+
if (input.graphCutoverEvidenceId !== undefined && typeof input.graphCutoverEvidenceId !== 'string') {
|
|
1251
|
+
throw new Error('scenario.input.graphCutoverEvidenceId must be a string');
|
|
1252
|
+
}
|
|
520
1253
|
if (typeof input.version !== 'string' || !/^\d+\.\d+\.\d+$/.test(input.version)
|
|
521
1254
|
|| typeof input.previousVersion !== 'string' || !/^\d+\.\d+\.\d+$/.test(input.previousVersion)) {
|
|
522
1255
|
throw new Error('scenario.input requires release version and previousVersion');
|
|
523
1256
|
}
|
|
524
1257
|
const rawCases = root.cases;
|
|
525
1258
|
if (!Array.isArray(rawCases) || rawCases.length === 0 || rawCases.length > 32) throw new Error('scenario.cases must contain 1–32 cases');
|
|
526
|
-
const { nodeIds } = releaseGraphShape();
|
|
1259
|
+
const { nodeIds } = releaseGraphShape(input.releaseGateFanout === true);
|
|
527
1260
|
const ids = new Set<string>();
|
|
528
1261
|
const cases = rawCases.map((raw, index): ReleaseSimRigCase => {
|
|
529
1262
|
const row = record(raw, `scenario.cases[${index}]`);
|
|
530
|
-
exactKeys(row, ['id', 'mode', 'fault', 'nodeOutcomes', 'unmeasuredGateShape', 'expect'], `scenario.cases[${index}]`);
|
|
1263
|
+
exactKeys(row, ['id', 'mode', 'fault', 'repairFault', 'nodeOutcomes', 'unmeasuredGateShape', 'incidentEventType', 'incidentDescription', 'incidentRationale', 'expect'], `scenario.cases[${index}]`);
|
|
531
1264
|
if (typeof row.id !== 'string' || !/^[a-z0-9][a-z0-9-]{0,63}$/.test(row.id) || ids.has(row.id)) throw new Error(`scenario.cases[${index}].id must be unique lowercase text`);
|
|
532
1265
|
ids.add(row.id);
|
|
533
1266
|
let mode: ReleaseSimRigCase['mode'];
|
|
534
1267
|
if (row.mode !== undefined) {
|
|
535
|
-
if (row.mode !== 'baseline' && row.mode !== 'cut-tip-moved-after-resume' && row.mode !== 'approval-graph-path-mismatch' && row.mode !== 'pwa-costly-opt-in-required' && row.mode !== 'cutoff-cli-notes-empty' && row.mode !== 'docs-node-cli-in-sim' && row.mode !== 'gate-waive-introduced-regression' && row.mode !== 'owner-waive-unmeasured-gate' && row.mode !== 'owner-waive-0246-fixture' && row.mode !== 'append-receipt-continuity' && row.mode !== 'macrophage-heal' && row.mode !== 'old-graph-measured-waiver' && row.mode !== 'appended-tip-regate-before-waiver') throw new Error(`scenario.cases[${index}].mode is unregistered`);
|
|
1268
|
+
if (row.mode !== 'baseline' && row.mode !== 'cut-tip-moved-after-resume' && row.mode !== 'approval-graph-path-mismatch' && row.mode !== 'pwa-costly-opt-in-required' && row.mode !== 'cutoff-cli-notes-empty' && row.mode !== 'docs-node-cli-in-sim' && row.mode !== 'gate-waive-introduced-regression' && row.mode !== 'owner-waive-unmeasured-gate' && row.mode !== 'owner-waive-missing-schema' && row.mode !== 'owner-waive-0246-fixture' && row.mode !== 'owner-waive-downstream-failure' && row.mode !== 'append-receipt-continuity' && row.mode !== 'resume-fanout-branch-refused' && row.mode !== 'macrophage-heal' && row.mode !== 'macro-chain-e2e' && row.mode !== 'kaist-selfheal-stage' && row.mode !== 'old-graph-measured-waiver' && row.mode !== 'appended-tip-regate-before-waiver' && row.mode !== 'prod-seat-launch-refused' && row.mode !== 'incident-policy-handler') throw new Error(`scenario.cases[${index}].mode is unregistered`);
|
|
536
1269
|
mode = row.mode;
|
|
537
1270
|
}
|
|
1271
|
+
const incidentEventType = row.incidentEventType;
|
|
1272
|
+
const incidentDescription = row.incidentDescription;
|
|
1273
|
+
const incidentRationale = row.incidentRationale;
|
|
1274
|
+
if (mode === 'incident-policy-handler') {
|
|
1275
|
+
if (typeof incidentEventType !== 'string' || !/^release\.incident\.[a-z0-9][a-z0-9.-]{0,100}$/.test(incidentEventType)
|
|
1276
|
+
|| typeof incidentDescription !== 'string' || !incidentDescription.trim()
|
|
1277
|
+
|| typeof incidentRationale !== 'string' || !incidentRationale.trim()) {
|
|
1278
|
+
throw new Error(`scenario.cases[${index}] incident-policy-handler requires a release incident event, description, and rationale`);
|
|
1279
|
+
}
|
|
1280
|
+
} else if (incidentEventType !== undefined || incidentDescription !== undefined || incidentRationale !== undefined) {
|
|
1281
|
+
throw new Error(`scenario.cases[${index}] incident fields require incident-policy-handler mode`);
|
|
1282
|
+
}
|
|
538
1283
|
const unmeasuredGateShape = row.unmeasuredGateShape;
|
|
539
1284
|
if (unmeasuredGateShape !== undefined && unmeasuredGateShape !== 'stopped' && unmeasuredGateShape !== 'sweep-incomplete' && unmeasuredGateShape !== 'killed') {
|
|
540
1285
|
throw new Error(`scenario.cases[${index}].unmeasuredGateShape is unregistered`);
|
|
@@ -548,7 +1293,13 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
|
|
|
548
1293
|
if (parsed.outcome !== 'fail' && parsed.outcome !== 'error' && parsed.outcome !== 'timeout') throw new Error(`scenario.cases[${index}].fault.outcome is unregistered`);
|
|
549
1294
|
fault = { node: parsed.node, outcome: parsed.outcome, ...(parsed.evidence === undefined ? {} : { evidence: record(parsed.evidence, `scenario.cases[${index}].fault.evidence`) }) };
|
|
550
1295
|
}
|
|
1296
|
+
if (mode === 'incident-policy-handler' && fault !== undefined) throw new Error(`scenario.cases[${index}] incident-policy-handler does not accept fault`);
|
|
551
1297
|
if ((mode === undefined) === (fault === undefined)) throw new Error(`scenario.cases[${index}] requires exactly one of mode or fault`);
|
|
1298
|
+
const repairFault = row.repairFault;
|
|
1299
|
+
if (repairFault !== undefined && (mode !== 'kaist-selfheal-stage'
|
|
1300
|
+
|| (repairFault !== 'bad-artifact' && repairFault !== 'unlanded'))) {
|
|
1301
|
+
throw new Error(`scenario.cases[${index}].repairFault is only valid for KAIST self-heal and must be bad-artifact or unlanded`);
|
|
1302
|
+
}
|
|
552
1303
|
const nodeOutcomes: ReleaseSimRigCase['nodeOutcomes'] = {};
|
|
553
1304
|
if (row.nodeOutcomes !== undefined) {
|
|
554
1305
|
const rawOutcomes = record(row.nodeOutcomes, `scenario.cases[${index}].nodeOutcomes`);
|
|
@@ -556,14 +1307,17 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
|
|
|
556
1307
|
if (!nodeIds.has(node)) throw new Error(`scenario.cases[${index}].nodeOutcomes names unknown release node ${node}`);
|
|
557
1308
|
const injection = record(value, `scenario.cases[${index}].nodeOutcomes.${node}`);
|
|
558
1309
|
exactKeys(injection, ['outcome', 'delayMs'], `scenario.cases[${index}].nodeOutcomes.${node}`);
|
|
559
|
-
if (injection.outcome !== 'ok' && injection.outcome !== 'fail' && injection.outcome !== 'error') throw new Error(`scenario.cases[${index}].nodeOutcomes.${node}.outcome is invalid`);
|
|
1310
|
+
if (injection.outcome !== 'ok' && injection.outcome !== 'fail' && injection.outcome !== 'error' && injection.outcome !== 'unknown') throw new Error(`scenario.cases[${index}].nodeOutcomes.${node}.outcome is invalid`);
|
|
560
1311
|
if (injection.delayMs !== undefined && (!Number.isSafeInteger(injection.delayMs) || (injection.delayMs as number) < 0 || (injection.delayMs as number) > 60_000)) throw new Error(`scenario.cases[${index}].nodeOutcomes.${node}.delayMs must be 0–60000`);
|
|
561
1312
|
nodeOutcomes[node] = { outcome: injection.outcome, ...(injection.delayMs === undefined ? {} : { delayMs: injection.delayMs as number }) };
|
|
562
1313
|
}
|
|
563
1314
|
}
|
|
564
1315
|
const expected = record(row.expect, `scenario.cases[${index}].expect`);
|
|
565
1316
|
exactKeys(expected, ['status', 'mustVisit', 'mustNotVisit', 'overlap', 'refusalIncludes', 'events'], `scenario.cases[${index}].expect`);
|
|
566
|
-
if (
|
|
1317
|
+
if (mode === 'incident-policy-handler' && (row.nodeOutcomes !== undefined || expected.overlap !== undefined || expected.events !== undefined)) {
|
|
1318
|
+
throw new Error(`scenario.cases[${index}] incident-policy-handler does not accept nodeOutcomes, overlap, or events expectations`);
|
|
1319
|
+
}
|
|
1320
|
+
if (expected.status !== 'done' && expected.status !== 'failed' && expected.status !== 'resume-refused' && expected.status !== 'awaiting-approval') throw new Error(`scenario.cases[${index}].expect.status is invalid`);
|
|
567
1321
|
const mustVisit = stringList(expected.mustVisit, `scenario.cases[${index}].expect.mustVisit`);
|
|
568
1322
|
const mustNotVisit = stringList(expected.mustNotVisit, `scenario.cases[${index}].expect.mustNotVisit`);
|
|
569
1323
|
const refusalIncludes = expected.refusalIncludes;
|
|
@@ -595,12 +1349,17 @@ export function parseReleaseSimRigScenario(source: string): ReleaseSimRigScenari
|
|
|
595
1349
|
const expectedNodeIds = mode === 'append-receipt-continuity' ? new Set([...nodeIds, ...RECEIPT_SIM_NODE_IDS]) : nodeIds;
|
|
596
1350
|
for (const id of [...mustVisit, ...mustNotVisit]) if (!expectedNodeIds.has(id)) throw new Error(`scenario.cases[${index}] names unknown release node ${id}`);
|
|
597
1351
|
if (mustVisit.some((id) => mustNotVisit.includes(id))) throw new Error(`scenario.cases[${index}] visits and excludes the same node`);
|
|
598
|
-
return { id: row.id, ...(mode ? { mode } : {}), ...(fault ? { fault } : {}), ...(
|
|
1352
|
+
return { id: row.id, ...(mode ? { mode } : {}), ...(fault ? { fault } : {}), ...(repairFault ? { repairFault } : {}), ...(mode === 'incident-policy-handler' ? {
|
|
1353
|
+
incidentEventType: incidentEventType as string, incidentDescription: incidentDescription as string, incidentRationale: incidentRationale as string,
|
|
1354
|
+
} : {}), ...(Object.keys(nodeOutcomes).length ? { nodeOutcomes } : {}),
|
|
599
1355
|
...(unmeasuredGateShape ? { unmeasuredGateShape } : {}),
|
|
600
1356
|
expect: { status: expected.status, mustVisit, mustNotVisit, ...(overlap ? { overlap } : {}), ...(typeof refusalIncludes === 'string' ? { refusalIncludes } : {}), ...(events ? { events } : {}) } };
|
|
601
1357
|
});
|
|
602
1358
|
return { version: 1, kind: 'release-graph', id: root.id, isolation: 'test',
|
|
603
|
-
input: { version: input.version, previousVersion: input.previousVersion
|
|
1359
|
+
input: { version: input.version, previousVersion: input.previousVersion,
|
|
1360
|
+
...(input.releaseGateFanout === true ? { releaseGateFanout: true } : {}),
|
|
1361
|
+
...(input.graphCutover === undefined ? {} : { graphCutover: input.graphCutover as 'legacy' | 'audit' }),
|
|
1362
|
+
...(input.graphCutoverEvidenceId === undefined ? {} : { graphCutoverEvidenceId: input.graphCutoverEvidenceId as string }) }, cases };
|
|
604
1363
|
}
|
|
605
1364
|
|
|
606
1365
|
function parseContext(env: NodeJS.ProcessEnv): { nodeId: string; executionId: string } {
|
|
@@ -612,7 +1371,9 @@ function parseContext(env: NodeJS.ProcessEnv): { nodeId: string; executionId: st
|
|
|
612
1371
|
return { nodeId: context.nodeId, executionId: context.executionId };
|
|
613
1372
|
}
|
|
614
1373
|
|
|
615
|
-
|
|
1374
|
+
type SimulatedNodeFault = NonNullable<ReleaseSimRigCase['fault']> | { node: string; outcome: 'unknown'; evidence?: Record<string, unknown> };
|
|
1375
|
+
|
|
1376
|
+
function resultForNode(nodeId: string, fault: SimulatedNodeFault | undefined, version: string): { exitCode: number; stdout: string; stderr: string; evidence: Record<string, unknown> } {
|
|
616
1377
|
const triggeredFault = fault?.node === nodeId ? fault : undefined;
|
|
617
1378
|
const outcome = triggeredFault ? triggeredFault.outcome === 'timeout' ? 'error' : triggeredFault.outcome : 'ok';
|
|
618
1379
|
const evidence = triggeredFault?.evidence ?? {};
|
|
@@ -630,7 +1391,7 @@ function resultForNode(nodeId: string, fault: ReleaseSimRigCase['fault'], versio
|
|
|
630
1391
|
} : {};
|
|
631
1392
|
const payload = { outcome, verdict: outcome === 'ok' ? 'pass' : 'fail', summary: triggeredFault ? `simulated ${triggeredFault.outcome}` : `simulated ${nodeId} success`, ...commit, ...gateOutput,
|
|
632
1393
|
simulation: { injected: triggeredFault !== undefined, node: nodeId, evidence } };
|
|
633
|
-
return { exitCode: !triggeredFault ? 0 : triggeredFault.outcome === 'fail' ? 1 : triggeredFault.outcome === 'timeout' ? 124 : 2,
|
|
1394
|
+
return { exitCode: !triggeredFault || triggeredFault.outcome === 'unknown' ? 0 : triggeredFault.outcome === 'fail' ? 1 : triggeredFault.outcome === 'timeout' ? 124 : 2,
|
|
634
1395
|
stdout: `${JSON.stringify(payload)}\n`, stderr: triggeredFault ? `SIMULATED_${triggeredFault.outcome.toUpperCase()}` : '', evidence };
|
|
635
1396
|
}
|
|
636
1397
|
|
|
@@ -658,12 +1419,13 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
658
1419
|
root = join(root, runId);
|
|
659
1420
|
mkdirSync(root, { recursive: true });
|
|
660
1421
|
}
|
|
661
|
-
const
|
|
662
|
-
const
|
|
1422
|
+
const downstreamFailure = item.mode === 'owner-waive-downstream-failure';
|
|
1423
|
+
const ownerWaived = (item.mode === 'owner-waive-unmeasured-gate' && item.unmeasuredGateShape === undefined) || item.mode === 'owner-waive-0246-fixture' || downstreamFailure;
|
|
1424
|
+
const fixtureOwnerWaiver = item.mode === 'owner-waive-0246-fixture' || downstreamFailure;
|
|
663
1425
|
let input: { version: string; previousVersion: string; branchCut?: boolean; [key: string]: unknown } = fixtureOwnerWaiver ? { ...scenario.input, version: '0.2.46', previousVersion: '0.2.45', branchCut: true }
|
|
664
1426
|
: ownerWaived ? { ...scenario.input, version: '0.2.45', previousVersion: '0.2.44' }
|
|
665
1427
|
: item.unmeasuredGateShape ? { ...scenario.input, branchCut: true } : { ...scenario.input };
|
|
666
|
-
const gateFixture =
|
|
1428
|
+
const gateFixture = item.mode === 'owner-waive-0246-fixture'
|
|
667
1429
|
? JSON.parse(readFileSync(join(REPOSITORY_ROOT, 'scripts/release-loop/fixtures/gate-verdict-0.2.46.json'), 'utf8')) as Record<string, unknown>
|
|
668
1430
|
: undefined;
|
|
669
1431
|
const fixtureIntroducedIds = Array.isArray(gateFixture?.introduced) ? gateFixture.introduced as string[] : [];
|
|
@@ -690,6 +1452,11 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
690
1452
|
dispatchedNodes.push(nodeId);
|
|
691
1453
|
if (!resumedPhase) firstAttemptDispatchedNodes.push(nodeId);
|
|
692
1454
|
const startedAtMs = performance.now();
|
|
1455
|
+
if (resumedPhase && downstreamFailure && nodeId === 'pwa') {
|
|
1456
|
+
const failed = resultForNode(nodeId, { node: nodeId, outcome: 'fail', evidence: { source: 'owner-waive-downstream-failure' } }, input.version);
|
|
1457
|
+
nodeTimings[nodeId] = { startedAtMs, endedAtMs: performance.now() };
|
|
1458
|
+
return { exitCode: failed.exitCode, stdout: failed.stdout, stderr: failed.stderr };
|
|
1459
|
+
}
|
|
693
1460
|
if (nodeId === 'gate') {
|
|
694
1461
|
nodeTimings[nodeId] = { startedAtMs, endedAtMs: performance.now() };
|
|
695
1462
|
if (item.unmeasuredGateShape === 'killed' || (item.unmeasuredGateShape && shared && shared.initialRuns === 0)) {
|
|
@@ -707,7 +1474,7 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
707
1474
|
stalledEnv: [], stalledShards: [{ shard: 3, files: ['a.test.ts'], reason: 'no-output' }], durationMs: 1, error: 'pod sweep incomplete: stalled shards 3' }
|
|
708
1475
|
: { outcome: 'error', verdict: 'fail', commit: cutTip(), introduced: [], preexisting: 0, fixed: null,
|
|
709
1476
|
knownEnv: 0, knownEnvCleared: [], stalledEnv: [], durationMs: 1, error: 'failure attribution incomplete' };
|
|
710
|
-
return { exitCode: 1, stdout: `${JSON.stringify(item.unmeasuredGateShape ? unmeasuredGateResult : item.mode === 'owner-waive-unmeasured-gate' ? unmeasuredGateResult : { outcome: 'fail', verdict: 'fail', commit: cutTip(), introduced: [introducedId],
|
|
1477
|
+
return { exitCode: 1, stdout: `${JSON.stringify(item.unmeasuredGateShape ? unmeasuredGateResult : item.mode === 'owner-waive-unmeasured-gate' || downstreamFailure ? unmeasuredGateResult : { outcome: 'fail', verdict: 'fail', commit: cutTip(), introduced: [introducedId],
|
|
711
1478
|
preexisting: 0, knownEnv: 0, durationMs: 1, stalledEnv: [], stalledShards: [], unmeasuredRecheckFiles: [], unmeasuredErrors: [], rcNonzeroNoFailures: [], abortedShards: 0 })}
|
|
712
1479
|
`, stderr: '' };
|
|
713
1480
|
}
|
|
@@ -717,6 +1484,11 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
717
1484
|
return { exitCode: 0, stdout: `${JSON.stringify(value)}\n`, stderr: '' };
|
|
718
1485
|
}
|
|
719
1486
|
if (nodeId === 'gate-triage') {
|
|
1487
|
+
if (downstreamFailure) {
|
|
1488
|
+
const triage = resultForNode(nodeId, undefined, input.version);
|
|
1489
|
+
nodeTimings[nodeId] = { startedAtMs, endedAtMs: performance.now() };
|
|
1490
|
+
return { exitCode: triage.exitCode, stdout: triage.stdout, stderr: triage.stderr };
|
|
1491
|
+
}
|
|
720
1492
|
const child = spawnSync('bun', ['scripts/release-loop/gate-triage-node.ts'], {
|
|
721
1493
|
cwd: REPOSITORY_ROOT, env: { ...process.env, ...options.env }, encoding: 'utf8', maxBuffer: 1024 * 1024,
|
|
722
1494
|
});
|
|
@@ -949,7 +1721,7 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
949
1721
|
const resumed = fixtureOwnerWaiver || item.unmeasuredGateShape
|
|
950
1722
|
? (await resumeReleaseRun({ runId, from: 'gate', ...(fixtureOwnerWaiver ? { ownerWaive: 'gate' as const, acceptedRegressions: [] }
|
|
951
1723
|
: { waive: 'gate' as const, acceptedRegressions }), reason, approvedBy: 'OP',
|
|
952
|
-
partial: false, commandRoot: REPOSITORY_ROOT }, {
|
|
1724
|
+
partial: false, commandRoot: downstreamFailure ? createResumeCommandRoot(root) : REPOSITORY_ROOT }, {
|
|
953
1725
|
root, repo: REPOSITORY_ROOT, graphPath: RELEASE_GRAPH, runBash, trafficFile, ledgerRoot: root,
|
|
954
1726
|
eventBus,
|
|
955
1727
|
git, isAncestor: () => true,
|
|
@@ -968,9 +1740,9 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
968
1740
|
const edgeIssues = unexpectedEdges(path, resumed, edges);
|
|
969
1741
|
const gate = resumed.nodes.find((node) => node.nodeId === 'gate');
|
|
970
1742
|
const issueRows = Array.isArray(knownIssuesAccepted) ? knownIssuesAccepted as Array<{ id?: unknown; note?: unknown }> : [];
|
|
971
|
-
const knownIssueOk = (ownerWaived ? !issueRows.some((issue) => issue.id === introducedId) : issueRows.some((issue) => issue.id === introducedId))
|
|
972
|
-
&& issueRows.some((issue) => issue.id === 'waive:gate' && issue.note === reason);
|
|
973
|
-
const ownerNotes = ownerWaived ? readFileSync(join(root, 'owner-waive-docs', 'release/public/docs/releases', `${input.version}.md`), 'utf8') : '';
|
|
1743
|
+
const knownIssueOk = downstreamFailure || ((ownerWaived ? !issueRows.some((issue) => issue.id === introducedId) : issueRows.some((issue) => issue.id === introducedId))
|
|
1744
|
+
&& issueRows.some((issue) => issue.id === 'waive:gate' && issue.note === reason));
|
|
1745
|
+
const ownerNotes = ownerWaived && resumed.path.includes('docs') ? readFileSync(join(root, 'owner-waive-docs', 'release/public/docs/releases', `${input.version}.md`), 'utf8') : '';
|
|
974
1746
|
const docsOutput = resumed.nodes.find((node) => node.nodeId === 'docs')?.output;
|
|
975
1747
|
const docsWorktree = typeof docsOutput === 'string' ? record(JSON.parse(docsOutput), 'release docs output').worktree : undefined;
|
|
976
1748
|
const releaseNotes = item.unmeasuredGateShape && typeof docsWorktree === 'string'
|
|
@@ -990,10 +1762,12 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
990
1762
|
const expectedOwnerIds = fixtureOwnerWaiver ? fixtureIntroducedIds : [];
|
|
991
1763
|
const ownerRecordOk = !ownerWaived || (ownerLedgerHasApproval && ownerLedger?.ownerWaived === true && ownerLedger.approvedBy === 'OP'
|
|
992
1764
|
&& ownerLedger.reason === reason && JSON.stringify(ownerLedger.introducedIds ?? []) === JSON.stringify(expectedOwnerIds)
|
|
993
|
-
&& audit?.type === 'release-owner-waiver' && audit.approvedBy === 'OP' && audit.reason === reason
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
const
|
|
1765
|
+
&& (downstreamFailure || (audit?.type === 'release-owner-waiver' && audit.approvedBy === 'OP' && audit.reason === reason
|
|
1766
|
+
&& JSON.stringify(audit.introducedIds ?? []) === JSON.stringify(expectedOwnerIds)
|
|
1767
|
+
&& Array.isArray(knownIssuesResult.bullets) && knownIssuesResult.bullets.includes(reason))));
|
|
1768
|
+
const failedJoin = resumed.nodes.find((node) => node.nodeId === 'pre-prepare-join');
|
|
1769
|
+
const statusOk = resumed.status === item.expect.status
|
|
1770
|
+
&& (downstreamFailure ? failedJoin?.ok === false && !resumed.path.includes('prepare') : resumed.path.includes('publish'));
|
|
997
1771
|
const visitOk = item.expect.mustVisit.every((id) => visited.has(id));
|
|
998
1772
|
const notVisitOk = item.expect.mustNotVisit.every((id) => !visited.has(id));
|
|
999
1773
|
const ledgerOk = ledgerEvents.some((row) => row.event === 'node-start') && ledgerEvents.some((row) => row.event === 'node-end')
|
|
@@ -1018,7 +1792,8 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
1018
1792
|
&& JSON.stringify(gate.waiver.original) === JSON.stringify(originalWaiverRecord)
|
|
1019
1793
|
&& JSON.stringify(unmeasuredLedgerGate.waiver) === JSON.stringify(gate.waiver));
|
|
1020
1794
|
const gateNotRerun = !item.unmeasuredGateShape || !dispatchedNodes.includes('gate');
|
|
1021
|
-
const releaseTailOk =
|
|
1795
|
+
const releaseTailOk = downstreamFailure ? !dispatchedNodes.includes('prepare') && !dispatchedNodes.includes('publish') && !dispatchedNodes.includes('npm-publish')
|
|
1796
|
+
: !fixtureOwnerWaiver || (dispatchedNodes.includes('publish') && dispatchedNodes.includes('npm-publish') && dispatchedNodes.includes('verify')
|
|
1022
1797
|
&& (npmPublishEvidence?.publishNodeResult as { outcome?: string } | undefined)?.outcome === 'ok'
|
|
1023
1798
|
&& Array.isArray(npmPublishEvidence?.publishNodeExternalCalls)
|
|
1024
1799
|
&& npmPublishEvidence?.result !== undefined && (npmPublishEvidence.result as { outcome?: string; npm?: string }).outcome === 'ok'
|
|
@@ -1031,12 +1806,12 @@ async function runGateWaiveCase(scenario: ReleaseSimRigScenario, item: ReleaseSi
|
|
|
1031
1806
|
const result: ReleaseSimRigCaseResult = { id: item.id, pass, status: resumed.status, path, dispatchedNodes, unexpectedEdges: edgeIssues,
|
|
1032
1807
|
checks: { status: statusOk, mustVisit: visitOk && knownIssueOk && waiverOk && unmeasuredLedgerOk && ownerRecordOk, mustNotVisit: notVisitOk, overlap: true, ledgerEvents: ledgerOk,
|
|
1033
1808
|
...(item.unmeasuredGateShape ? { waiverOriginalPersisted: unmeasuredLedgerOk, gateNotRerun, missingReasonRejected, secondWaiverRejected } : {}),
|
|
1034
|
-
...(eventTrace ? { events: eventTrace.pass } : {}) },
|
|
1809
|
+
...(eventTrace ? { events: eventTrace.pass } : {}), ...(downstreamFailure ? { failedJoin: failedJoin?.ok === false } : {}) },
|
|
1035
1810
|
injectedEvidence: { introducedId, introducedIds: fixtureIntroducedIds, acceptedRegressions, reason, waived: waiverOk,
|
|
1036
1811
|
actualGateTriage, waiverResult: waiver, knownIssuesAccepted, initialStatus: first.status, initialPath: first.path,
|
|
1037
1812
|
...(item.unmeasuredGateShape ? { originalGateRecord, persistedWaiver: unmeasuredLedgerGate?.waiver,
|
|
1038
1813
|
sharedInitialGraphRuns: shared?.initialRuns, sharedRunId: shared?.runId, releaseNotes, releaseNotesOk } : {}),
|
|
1039
|
-
initialDispatchedNodes: firstAttemptDispatchedNodes, publishReached: path.includes('publish'), npmPublishEvidence,
|
|
1814
|
+
initialDispatchedNodes: firstAttemptDispatchedNodes, publishReached: path.includes('publish'), failedJoin: failedJoin ? { ok: failedJoin.ok, exit: failedJoin.exit, error: failedJoin.error } : undefined, npmPublishEvidence,
|
|
1040
1815
|
verifyEvidence, ownerNotes, ownerRecordOk, releaseTailOk, ownerLedgerPath: ownerWaived ? resumed.statePath : undefined,
|
|
1041
1816
|
...(eventTrace ? { eventTrace } : {}) },
|
|
1042
1817
|
fanOuts: resumed.fanOuts, nodeTimings, ledgerEvents, statePath: resumed.statePath };
|
|
@@ -1224,7 +1999,8 @@ async function runAppendedTipReGateCase(scenario: ReleaseSimRigScenario, item: R
|
|
|
1224
1999
|
const movedTipAttemptUnchanged = readFileSync(first.statePath, 'utf8') === stateBefore;
|
|
1225
2000
|
|
|
1226
2001
|
phase = 'regate';
|
|
1227
|
-
|
|
2002
|
+
// In the current graph the gate runs before export-check, so a gate failure cannot resume from export-check.
|
|
2003
|
+
const regated = await resumeReleaseRun({ runId, from: 'gate' }, deps);
|
|
1228
2004
|
const regatedState = readFileSync(first.statePath, 'utf8');
|
|
1229
2005
|
const reGateTip = regated.tip;
|
|
1230
2006
|
const regateFailed = regated.state.status === 'failed';
|
|
@@ -1267,8 +2043,45 @@ async function runAppendedTipReGateCase(scenario: ReleaseSimRigScenario, item: R
|
|
|
1267
2043
|
}
|
|
1268
2044
|
|
|
1269
2045
|
async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase, root: string,
|
|
1270
|
-
edges: Map<string, Record<string, unknown>>, sharedUnmeasuredGateFixture: SharedUnmeasuredGateFixture
|
|
1271
|
-
|
|
2046
|
+
edges: Map<string, Record<string, unknown>>, sharedUnmeasuredGateFixture: SharedUnmeasuredGateFixture,
|
|
2047
|
+
executorConcurrency: number, supplementalFailureAt?: string,
|
|
2048
|
+
): Promise<ReleaseSimRigCaseResult> {
|
|
2049
|
+
if (item.mode === 'incident-policy-handler') return runIncidentPolicyHandlerCase(scenario, item, root);
|
|
2050
|
+
if (item.mode === 'prod-seat-launch-refused') {
|
|
2051
|
+
const attempts = ['a8cdf30b', '28b034de', '443a89b8'];
|
|
2052
|
+
const home = join(root, `${scenario.id}-seat-launch-home`);
|
|
2053
|
+
mkdirSync(home, { recursive: true });
|
|
2054
|
+
const childEnv: NodeJS.ProcessEnv = { PATH: process.env.PATH ?? '', HOME: process.env.HOME ?? '',
|
|
2055
|
+
NODE_ENV: process.env.NODE_ENV ?? 'test', ELANOUS_TRACK: 'POD-REUSE-2' };
|
|
2056
|
+
if (process.env.TMPDIR) childEnv.TMPDIR = process.env.TMPDIR;
|
|
2057
|
+
const child = spawnSync(process.execPath, [join(import.meta.dir, 'release-sim-rig-seat-guard-child.ts'), join(home, '.elanous')], {
|
|
2058
|
+
cwd: process.cwd(), encoding: 'utf8', timeout: 60_000,
|
|
2059
|
+
env: childEnv,
|
|
2060
|
+
});
|
|
2061
|
+
let childEvidence: { graphStarts: number; results: Array<{ incidentRunId: string; seat: string; exitCode: number | null;
|
|
2062
|
+
output: Record<string, unknown>; stderr: string; error: string | null;
|
|
2063
|
+
debugEvents: Array<{ category: string; event: string; data: Record<string, unknown> }> }> } = { graphStarts: -1, results: [] };
|
|
2064
|
+
try { childEvidence = record(JSON.parse(child.stdout.trim().split('\n').at(-1) ?? ''), 'seat guard child result') as typeof childEvidence; }
|
|
2065
|
+
catch { /* the failed child output is retained in injected evidence below */ }
|
|
2066
|
+
const { graphStarts, results } = childEvidence;
|
|
2067
|
+
const path: string[] = [];
|
|
2068
|
+
const launchCount = graphStarts;
|
|
2069
|
+
const statusOk = item.expect.status === 'failed';
|
|
2070
|
+
const mustVisit = item.expect.mustVisit.length === 0;
|
|
2071
|
+
const mustNotVisit = launchCount === 0 && item.expect.mustNotVisit.every((nodeId) => !path.includes(nodeId));
|
|
2072
|
+
const denied = results.every(({ exitCode, output, debugEvents }) => exitCode === 1 && output.reason === 'seat-launch-refused'
|
|
2073
|
+
&& typeof output.error === 'string' && output.error.includes('--test') && debugEvents.length === 1
|
|
2074
|
+
&& debugEvents.every(({ category, event, data }) => category === 'release.run' && event === 'seat-launch-refused'
|
|
2075
|
+
&& data.seat === 'POD-REUSE-2' && typeof data.cwd === 'string'
|
|
2076
|
+
&& typeof data.reason === 'string' && data.reason.includes('--test')));
|
|
2077
|
+
const checks = { status: statusOk, mustVisit, mustNotVisit, overlap: true, ledgerEvents: launchCount === 0 };
|
|
2078
|
+
return { id: item.id, pass: child.status === 0 && statusOk && mustVisit && mustNotVisit && denied, status: launchCount ? 'done' : 'failed',
|
|
2079
|
+
path, dispatchedNodes: [], unexpectedEdges: [], checks,
|
|
2080
|
+
injectedEvidence: { universe: 'production', incidentRunIds: attempts, launchCount, cliResults: results,
|
|
2081
|
+
childExitCode: child.status, childError: child.error?.message ?? child.stderr ?? null },
|
|
2082
|
+
ledgerEvents: [], statePath: '' };
|
|
2083
|
+
}
|
|
2084
|
+
if (item.mode === 'append-receipt-continuity') return runAppendReceiptCase(scenario, item, root, executorConcurrency, supplementalFailureAt);
|
|
1272
2085
|
if (item.mode === 'old-graph-measured-waiver') return runOldGraphMeasuredWaiverCase(scenario, item, root, edges);
|
|
1273
2086
|
if (item.mode === 'appended-tip-regate-before-waiver') return runAppendedTipReGateCase(scenario, item, root, edges);
|
|
1274
2087
|
if (item.mode === 'macrophage-heal') {
|
|
@@ -1292,7 +2105,7 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1292
2105
|
const now = new Date('2026-11-06T00:00:00Z');
|
|
1293
2106
|
const active = runMacrophageHeal({ phase: 'active', mode: 'simulation', now, consecutiveFailureLimit: 3, inventory });
|
|
1294
2107
|
const simulation = runMacrophageHeal({ phase: 'idle', mode: 'simulation', now, consecutiveFailureLimit: 3, inventory });
|
|
1295
|
-
const expectedApplied = ['draft-stale', 'worktree-orphan', 'pod-orphan', 'job-orphan', 'hold-expired', 'receipt-stale', 'land-row-merged'];
|
|
2108
|
+
const expectedApplied = ['draft-stale', 'test-timeout', 'artifact-stale', 'worktree-orphan', 'pod-orphan', 'job-orphan', 'hold-expired', 'receipt-stale', 'land-row-merged'];
|
|
1296
2109
|
const appliedIds = simulation.events.filter((event) => event.applied).map((event) => event.id);
|
|
1297
2110
|
const runId = `release-sim-${scenario.id}-macrophage`;
|
|
1298
2111
|
const liveRuntime = createMacrophageRuntime({ runId, inventory: () => inventory, now: () => now });
|
|
@@ -1337,6 +2150,133 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1337
2150
|
overlap: { expected: expectedOverlap, actual: actualOverlap } }, ledgerEvents,
|
|
1338
2151
|
statePath: state.statePath };
|
|
1339
2152
|
}
|
|
2153
|
+
if (item.mode === 'macro-chain-e2e' || item.mode === 'kaist-selfheal-stage') {
|
|
2154
|
+
const kaist = item.mode === 'kaist-selfheal-stage';
|
|
2155
|
+
const sourceFiles = kaist ? ['templates/next-app-lecture-scrap/app/page.jsx', 'templates/next-app-lecture-scrap/app/search/page.jsx']
|
|
2156
|
+
: ['scripts/release-loop/gate-node.ts', 'scripts/release-loop/gate-partial.ts', 'scripts/release-loop/gate-repair-node.ts'];
|
|
2157
|
+
const incidentId = kaist ? 'kaist-lecture-scrap-search-route-regression' : 'receipt-audit-repair-resume';
|
|
2158
|
+
const draftManifest = `apiVersion: elanous.app/v0\nslug: lecture-scrap\ntitle: 강의 스크랩 노트\ntemplate: next-app-lecture-scrap\nfrontend: { kind: static-export, out: out/, routes: [/, /notes/new, /search] }\ntables:\n notes:\n columns:\n id: { type: text, primary: true }\n title: { type: text }\n body: { type: text }\nroles:\n owner: { via: nexus-session }\n`;
|
|
2159
|
+
const templateManifestPath = join(REPOSITORY_ROOT, 'templates/next-app-lecture-scrap/app.yaml');
|
|
2160
|
+
const manifestSource = kaist && existsSync(templateManifestPath) ? readFileSync(templateManifestPath, 'utf8') : draftManifest;
|
|
2161
|
+
const appManifest = kaist ? parseAppManifest(manifestSource) : undefined;
|
|
2162
|
+
const parsedAppManifest = appManifest?.ok ? appManifest.manifest : undefined;
|
|
2163
|
+
if (kaist && !parsedAppManifest) throw new Error('KAIST draft app.yaml is invalid');
|
|
2164
|
+
const appSlug = parsedAppManifest?.slug ?? 'lecture-scrap';
|
|
2165
|
+
const frontend = parsedAppManifest ? record(parsedAppManifest.frontend, 'KAIST app.yaml frontend') : undefined;
|
|
2166
|
+
const design = parsedAppManifest?.design ? record(parsedAppManifest.design, 'KAIST app.yaml design') : undefined;
|
|
2167
|
+
const appRoutes = Array.isArray(frontend?.routes)
|
|
2168
|
+
? frontend.routes.filter((route): route is string => typeof route === 'string')
|
|
2169
|
+
: Array.isArray(design?.screens) ? design.screens.map((screen) => record(screen, 'KAIST app.yaml screen').path).filter((route): route is string => typeof route === 'string') : undefined;
|
|
2170
|
+
const expectedAppRoutes = ['/', '/notes/new', '/search'];
|
|
2171
|
+
if (kaist && (appSlug !== 'lecture-scrap' || parsedAppManifest?.template !== 'next-app-lecture-scrap'
|
|
2172
|
+
|| frontend?.kind !== 'static-export' || frontend.out !== 'out/' || !Array.isArray(appRoutes)
|
|
2173
|
+
|| JSON.stringify([...appRoutes].sort()) !== JSON.stringify([...expectedAppRoutes].sort()))) {
|
|
2174
|
+
throw new Error('KAIST app.yaml must declare the lecture-scrap static export route contract');
|
|
2175
|
+
}
|
|
2176
|
+
const appInitialFiles = { 'index.html': '<main>스크랩 목록</main>', 'notes/new': '<main>노트 작성</main>' };
|
|
2177
|
+
const appHost = kaist ? createFakeAppHost([{ slug: appSlug, current: 'bug-injected', versions: [
|
|
2178
|
+
{ id: 'bug-injected', files: appInitialFiles },
|
|
2179
|
+
] }]) : undefined;
|
|
2180
|
+
const appHostName = `${appSlug}.app.sim.invalid`;
|
|
2181
|
+
const appUrl = kaist ? `https://${appHostName}` : undefined;
|
|
2182
|
+
const beforeSearch = kaist ? appHost!.fetch(appHostName, '/search') : undefined;
|
|
2183
|
+
const beforeHome = kaist ? appHost!.fetch(appHostName, '/') : undefined;
|
|
2184
|
+
const failureIds = kaist && beforeSearch?.status === 404 && !beforeHome?.body.includes('/search')
|
|
2185
|
+
? [`${sourceFiles[0]}.test.ts > /search navigation link is missing`, `${sourceFiles[1]}.test.ts > injected /search route returned 404`]
|
|
2186
|
+
: sourceFiles.map((file, index) => `${file}.test.ts > injected macro-chain failure ${index + 1}`);
|
|
2187
|
+
const incident: MacrophageIncidentSignal = { id: incidentId, source: 'release-graph',
|
|
2188
|
+
signature: kaist ? 'KAIST lecture-scrap injected missing search route detected by fake app-host probe'
|
|
2189
|
+
: 'receipt-audit key mismatch followed by complete introduced failure collection',
|
|
2190
|
+
evidence: kaist && beforeSearch?.status !== 404 ? 'unmeasured' : 'introduced',
|
|
2191
|
+
failureIds, sourceFiles, independentFiles: true, causePr: kaist ? 36051 : 36027 };
|
|
2192
|
+
const runId = `release-sim-${scenario.id}-${item.id}-${randomUUID()}`;
|
|
2193
|
+
let deployedRepairFiles: string[] = [];
|
|
2194
|
+
let deployedRepairArtifactPaths: string[] = [];
|
|
2195
|
+
const macro = await runReleaseMacrophageIncidentSim({ runId, incidents: [incident], repairLandedIds: [incidentId],
|
|
2196
|
+
hitlApprovedIds: [], version: scenario.input.version, graphDrivenIncidentIds: [incidentId], receiptAuditKeyMismatchFirst: true,
|
|
2197
|
+
repairLandingFailure: item.repairFault === 'unlanded',
|
|
2198
|
+
repairArtifactFailure: item.repairFault === 'bad-artifact',
|
|
2199
|
+
...(kaist ? {
|
|
2200
|
+
onRepairLanded: (files: readonly string[], artifacts: readonly { readonly sourceFile: string; readonly files: Readonly<Record<string, string>> }[]) => {
|
|
2201
|
+
if (!sourceFiles.every((file) => files.includes(file) && artifacts.some((artifact) => artifact.sourceFile === file
|
|
2202
|
+
&& Object.keys(artifact.files).length > 0))) return;
|
|
2203
|
+
const repairedFiles: Record<string, string> = { ...appInitialFiles };
|
|
2204
|
+
for (const artifact of artifacts) Object.assign(repairedFiles, artifact.files);
|
|
2205
|
+
appHost!.deployArtifact(appSlug, { id: 'repair-landed', files: repairedFiles });
|
|
2206
|
+
deployedRepairFiles = [...files];
|
|
2207
|
+
deployedRepairArtifactPaths = artifacts.flatMap((artifact) => Object.keys(artifact.files));
|
|
2208
|
+
},
|
|
2209
|
+
} : {}) });
|
|
2210
|
+
const appRouteChecks = kaist ? [
|
|
2211
|
+
['/', appHost!.fetch(appHostName, '/')],
|
|
2212
|
+
['/notes/new', appHost!.fetch(appHostName, '/notes/new')],
|
|
2213
|
+
['/search', appHost!.fetch(appHostName, '/search')],
|
|
2214
|
+
] as const : [];
|
|
2215
|
+
const appChecks = !kaist || (beforeSearch?.status === 404 && beforeHome?.status === 200 && !beforeHome.body.includes('/search') && appRouteChecks.length === 3
|
|
2216
|
+
&& appRouteChecks.every(([, response]) => response.status === 200)
|
|
2217
|
+
&& JSON.stringify(appRouteChecks.map(([route]) => route).sort()) === JSON.stringify([...(appRoutes as string[])].sort())
|
|
2218
|
+
&& appRouteChecks[0]?.[1].body.includes('/search') === true
|
|
2219
|
+
&& deployedRepairFiles.length === sourceFiles.length && sourceFiles.every((file) => deployedRepairFiles.includes(file))
|
|
2220
|
+
&& deployedRepairArtifactPaths.includes('index.html') && deployedRepairArtifactPaths.includes('search/index.html')
|
|
2221
|
+
&& appUrl === 'https://lecture-scrap.app.sim.invalid');
|
|
2222
|
+
const kaistReceipts = kaist ? macro.jsonl.trim().split('\n').filter(Boolean).map((line) => JSON.parse(line) as { runId?: string; incidentId?: string; disposition?: string }) : [];
|
|
2223
|
+
const oneSameRunReceipt = !kaist || (kaistReceipts.length === 1 && kaistReceipts[0]?.runId === macro.runId
|
|
2224
|
+
&& kaistReceipts[0]?.incidentId === incidentId && kaistReceipts[0]?.disposition === 'resumed-after-land'
|
|
2225
|
+
&& macro.cases.length === 1 && macro.cases[0]?.receipt?.runId === macro.runId
|
|
2226
|
+
&& macro.cases[0]?.receipt?.incidentId === incidentId && macro.cases[0]?.receipt?.disposition === 'resumed-after-land'
|
|
2227
|
+
&& macro.cases[0]?.receipt?.gateVisit === 2
|
|
2228
|
+
&& JSON.stringify(macro.cases[0]?.receipt?.rerunFiles) === JSON.stringify(sourceFiles));
|
|
2229
|
+
const path = macro.graphState.path;
|
|
2230
|
+
const gate = path.indexOf('gate');
|
|
2231
|
+
const firstAudit = path.indexOf('receipt-audit');
|
|
2232
|
+
const residual = path.indexOf('residual-run', firstAudit + 1);
|
|
2233
|
+
const triage = path.indexOf('gate-triage', residual + 1);
|
|
2234
|
+
const repair = path.findIndex((nodeId) => /^gate-repair-[a-f0-9]{12}$/.test(nodeId));
|
|
2235
|
+
const repairGate = path.indexOf('gate', repair + 1);
|
|
2236
|
+
const secondAudit = path.indexOf('receipt-audit', repairGate + 1);
|
|
2237
|
+
const pathOk = gate >= 0 && firstAudit > gate && residual > firstAudit && triage > residual && repair > triage
|
|
2238
|
+
&& repairGate > repair && secondAudit > repairGate && path.filter((nodeId) => nodeId === 'receipt-audit').length === 2;
|
|
2239
|
+
const statusOk = macro.graphState.status === item.expect.status;
|
|
2240
|
+
const mustVisit = item.expect.mustVisit.every((nodeId) => path.includes(nodeId));
|
|
2241
|
+
const mustNotVisit = item.expect.mustNotVisit.every((nodeId) => !path.includes(nodeId));
|
|
2242
|
+
const edgeIssues = unexpectedEdges(path, macro.graphState, edges);
|
|
2243
|
+
const firstReceiptAudit = outputRecord(macro.graphState.nodes.find((node) => node.nodeId === 'receipt-audit')?.output);
|
|
2244
|
+
const receiptAuditEdge = edges.get('receipt-audit')?.map;
|
|
2245
|
+
const receiptAuditFailTarget = receiptAuditEdge && typeof receiptAuditEdge === 'object' && !Array.isArray(receiptAuditEdge)
|
|
2246
|
+
? (receiptAuditEdge as Record<string, unknown>).fail : undefined;
|
|
2247
|
+
const injectedMismatchRoutedToResidual = firstReceiptAudit?.outcome === 'fail'
|
|
2248
|
+
&& receiptAuditFailTarget === 'residual-run' && path.indexOf('residual-run') > firstAudit && edgeIssues.length === 0;
|
|
2249
|
+
const sameRun = macro.runId === runId && macro.graphState.runId === runId
|
|
2250
|
+
&& macro.cases.every((entry) => entry.receipt?.runId === runId && entry.receipt.gateVisit === 2);
|
|
2251
|
+
const applied = macro.runtimeDecisions.some((event) => event.runId === runId && event.data?.applied === true);
|
|
2252
|
+
const triageMatched = macro.productionTriageEvidence?.matched === true;
|
|
2253
|
+
const repairInputMatchesResidualExecution = typeof macro.productionTriageEvidence?.latestExecutionId === 'string'
|
|
2254
|
+
&& macro.graphRepairInputGateExecutionId === macro.productionTriageEvidence.latestExecutionId;
|
|
2255
|
+
const pass = macro.pass && pathOk && statusOk && mustVisit && mustNotVisit && sameRun && applied && triageMatched
|
|
2256
|
+
&& repairInputMatchesResidualExecution
|
|
2257
|
+
&& injectedMismatchRoutedToResidual && edgeIssues.length === 0 && appChecks && oneSameRunReceipt;
|
|
2258
|
+
return { id: item.id, pass, status: macro.graphState.status, path,
|
|
2259
|
+
dispatchedNodes: macro.graphState.nodes.map((node) => node.nodeId), unexpectedEdges: edgeIssues,
|
|
2260
|
+
checks: { status: statusOk, mustVisit, mustNotVisit, overlap: true, ledgerEvents: macro.eventTrace.length > 0,
|
|
2261
|
+
adaptiveRepair: pathOk && sameRun && applied, productionTriage: triageMatched,
|
|
2262
|
+
repairInputMatchesResidualExecution,
|
|
2263
|
+
receiptMismatchRoutedToResidual: injectedMismatchRoutedToResidual, events: macro.pass,
|
|
2264
|
+
...(kaist ? { appBugDetected: beforeSearch?.status === 404 && !beforeHome?.body.includes('/search'), appRepairRoutesGreen: appChecks, oneSameRunReceipt } : {}) },
|
|
2265
|
+
injectedEvidence: { runId, receiptAuditKeyMismatchFirst: true, sourceFiles, failureIds,
|
|
2266
|
+
...(kaist ? { app: { slug: appSlug, source: existsSync(templateManifestPath) ? 'template app.yaml' : 'app.yaml draft fixture', manifestValid: appManifest?.ok === true,
|
|
2267
|
+
simulatedUrl: appUrl, externalNetworkAttempts: 0, injectedSearchResponse: beforeSearch?.status,
|
|
2268
|
+
injectedHomeHasSearchLink: beforeHome?.body.includes('/search') ?? false,
|
|
2269
|
+
deployedRepairFiles, deployedRepairArtifactPaths, repairedRouteStatuses: Object.fromEntries(appRouteChecks.map(([route, response]) => [route, response.status])), oneSameRunReceipt },
|
|
2270
|
+
incidentPlan: macro.cases.map(({ plan }) => ({ label: plan.label, step: plan.step, files: plan.files })) } : {}),
|
|
2271
|
+
receiptAuditFirstOutcome: firstReceiptAudit?.outcome, receiptAuditFailTarget,
|
|
2272
|
+
graphRepairChecks: macro.graphRepairChecks, graphRepairFailureIds: macro.graphRepairFailureIds,
|
|
2273
|
+
graphRepairInputFiles: macro.graphRepairInputFiles, graphRepairInputGateExecutionId: macro.graphRepairInputGateExecutionId,
|
|
2274
|
+
...(kaist ? { repairNodeResults: macro.graphState.nodes.filter((node) => /^gate-repair-[a-f0-9]{12}$/.test(node.nodeId))
|
|
2275
|
+
.map((node) => ({ nodeId: node.nodeId, output: outputRecord(node.output) })) } : {}),
|
|
2276
|
+
productionTriageEvidence: macro.productionTriageEvidence,
|
|
2277
|
+
graphPath: path, runtimeDecisions: macro.runtimeDecisions },
|
|
2278
|
+
ledgerEvents: macro.eventTrace as unknown as Array<Record<string, unknown>>, statePath: macro.graphState.statePath ?? '' };
|
|
2279
|
+
}
|
|
1340
2280
|
const runId = `release-sim-${scenario.id}-${item.id}`;
|
|
1341
2281
|
const ledgerEvents: Array<Record<string, unknown>> = [];
|
|
1342
2282
|
const eventBus = createReleaseTraceBus(ledgerEvents);
|
|
@@ -1518,12 +2458,14 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1518
2458
|
let nodeStdout = '';
|
|
1519
2459
|
const fakeBin = join(root, `${runId}-fake-bin`);
|
|
1520
2460
|
const fakeNexusServer = join(root, `${runId}-fake-nexus-server.cjs`);
|
|
2461
|
+
const worktreeLifecycleLog = join(root, `${runId}-worktree-lifecycle.log`);
|
|
1521
2462
|
mkdirSync(fakeBin, { recursive: true });
|
|
1522
2463
|
writeFileSync(fakeNexusServer, "const http=require('node:http'); const server=http.createServer((req,res)=>{res.statusCode=200;res.end('simulated nexus');}); server.listen(0,'127.0.0.1',()=>console.log('nexus :'+server.address().port+' pid '+process.pid));\n");
|
|
2464
|
+
writeFileSync(worktreeLifecycleLog, '');
|
|
1523
2465
|
const fakeBun = join(fakeBin, 'bun');
|
|
1524
2466
|
writeFileSync(fakeBun, '#!/bin/sh\nif [ "$1" = "-e" ]; then printf \'[{"id":"regular","costly":false},{"id":"C1","costly":true}]\\n\'; exit 0; fi\nif [ "$1" = "scripts/pwa-scenarios.ts" ]; then printf \'{"results":[{"id":"regular","pass":true}]}\\n\'; exit 0; fi\nif [ "$1" = "bin/elanous.mjs" ] && [ "$2" = "nexus" ] && [ "$3" = "build" ]; then exit 0; fi\nif [ "$1" = "bin/elanous.mjs" ] && [ "$2" = "--test" ] && [ "$3" = "nexus" ] && [ "$4" = "run" ]; then\n if [ "$5" = "--stop" ]; then exit 0; fi\n "$ELANOUS_SIM_NODE_EXECUTABLE" "$ELANOUS_SIM_NEXUS_SERVER" &\n exit 0\nfi\necho "unexpected bun boundary: $*" >&2\nexit 97\n');
|
|
1525
2467
|
const fakeGit = join(fakeBin, 'git');
|
|
1526
|
-
writeFileSync(fakeGit,
|
|
2468
|
+
writeFileSync(fakeGit, createReleaseSimRigFakeGitScript());
|
|
1527
2469
|
chmodSync(fakeBun, 0o755); chmodSync(fakeGit, 0o755);
|
|
1528
2470
|
const trafficPath = join(root, `${runId}-traffic.json`);
|
|
1529
2471
|
writeFileSync(trafficPath, `${JSON.stringify({ global: 'green', seats: { OP: {}, TC: {}, MK: {}, UX: {} } })}\n`);
|
|
@@ -1539,11 +2481,15 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1539
2481
|
if (!bunExecutable || !nodeExecutable) return { status: 97, stdout: '', stderr: 'bun/node executable unavailable for isolated PWA simulation' };
|
|
1540
2482
|
const child = spawnSync(bunExecutable, args, { cwd: REPOSITORY_ROOT, encoding: 'utf8', timeout: 120_000,
|
|
1541
2483
|
maxBuffer: 4 * 1024 * 1024, env: { ...process.env, ...options.env, PATH: [fakeBin, process.env.PATH ?? ''].join(delimiter),
|
|
1542
|
-
ELANOUS_SIM_NODE_EXECUTABLE: nodeExecutable, ELANOUS_SIM_NEXUS_SERVER: fakeNexusServer
|
|
2484
|
+
ELANOUS_SIM_NODE_EXECUTABLE: nodeExecutable, ELANOUS_SIM_NEXUS_SERVER: fakeNexusServer, ELANOUS_SIM_RIG_RUN_ID: runId,
|
|
2485
|
+
ELANOUS_SIM_RIG_WORKTREE_LOG: worktreeLifecycleLog,
|
|
2486
|
+
ELANOUS_SIM_RIG_MARKER_SNAPSHOT: join(root, `${runId}-worktree-marker.snapshot`),
|
|
2487
|
+
ELANOUS_SIM_RIG_WORKTREE_PATH_SNAPSHOT: join(root, `${runId}-worktree-path.snapshot`) } });
|
|
1543
2488
|
let externalResult: Record<string, unknown> | null = null;
|
|
1544
2489
|
try { externalResult = JSON.parse((child.stdout ?? '').trim().split('\n').at(-1) ?? 'null') as Record<string, unknown> | null; } catch { /* Preserve child diagnostics below. */ }
|
|
1545
2490
|
pwaNodeEvidence = { actualNode: 'runNodeVerdict(pwa)', actualCli: 'scripts/release-loop/pwa-scenarios-node.ts',
|
|
1546
|
-
externalBoundary: [program, ...args], costlyRequested: args.includes('--with-costly'), externalResult, stderr: child.stderr ?? ''
|
|
2491
|
+
externalBoundary: [program, ...args], costlyRequested: args.includes('--with-costly'), externalResult, stderr: child.stderr ?? '',
|
|
2492
|
+
worktreeLifecycle: readFileSync(worktreeLifecycleLog, 'utf8').trim().split('\n').filter(Boolean) };
|
|
1547
2493
|
return { status: child.status, stdout: child.stdout ?? '', stderr: child.stderr ?? '' };
|
|
1548
2494
|
});
|
|
1549
2495
|
pwaNodeEvidence = { ...pwaNodeEvidence, exitCode, capturedOutput: nodeStdout };
|
|
@@ -1559,6 +2505,13 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1559
2505
|
nodeTimings[nodeId] = { startedAtMs, endedAtMs: performance.now() };
|
|
1560
2506
|
return { exitCode: child.status ?? 2, stdout: child.stdout ?? '', stderr: child.stderr ?? '' };
|
|
1561
2507
|
}
|
|
2508
|
+
if (command.trim() === 'bun scripts/release-loop/gate-cutover-switch-node.ts') {
|
|
2509
|
+
const child = spawnSync('bun', ['scripts/release-loop/gate-cutover-switch-node.ts'], {
|
|
2510
|
+
cwd: REPOSITORY_ROOT, env: { ...process.env, ...options.env }, encoding: 'utf8', maxBuffer: 1024 * 1024,
|
|
2511
|
+
});
|
|
2512
|
+
nodeTimings[nodeId] = { startedAtMs, endedAtMs: performance.now() };
|
|
2513
|
+
return { exitCode: child.status ?? 2, stdout: child.stdout ?? '', stderr: child.stderr ?? '' };
|
|
2514
|
+
}
|
|
1562
2515
|
const injectedFault = item.mode === 'approval-graph-path-mismatch' && nodeId === 'auto-approve'
|
|
1563
2516
|
? { node: nodeId, outcome: 'error' as const, evidence: { approvalSnapshot: 'other graph path' } } : item.fault;
|
|
1564
2517
|
const result = injection ? resultForNode(nodeId, injection.outcome === 'ok' ? undefined : {
|
|
@@ -1570,7 +2523,7 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1570
2523
|
};
|
|
1571
2524
|
const capture = (event: string, data: Record<string, unknown>) => ledgerEvents.push({ event, ...data });
|
|
1572
2525
|
|
|
1573
|
-
if (item.mode === 'gate-waive-introduced-regression' || item.mode === 'owner-waive-unmeasured-gate' || item.mode === 'owner-waive-0246-fixture') return runGateWaiveCase(scenario, item, root, edges,
|
|
2526
|
+
if (item.mode === 'gate-waive-introduced-regression' || item.mode === 'owner-waive-unmeasured-gate' || item.mode === 'owner-waive-0246-fixture' || item.mode === 'owner-waive-downstream-failure') return runGateWaiveCase(scenario, item, root, edges,
|
|
1574
2527
|
item.unmeasuredGateShape ? sharedUnmeasuredGateFixture : undefined);
|
|
1575
2528
|
|
|
1576
2529
|
if (item.mode === 'approval-graph-path-mismatch') {
|
|
@@ -1652,6 +2605,27 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1652
2605
|
nodeTimings[overlapPair[1]]!.startedAtMs < nodeTimings[overlapPair[0]]!.endedAtMs);
|
|
1653
2606
|
const ledgerOk = ledgerEvents.some((row) => row.event === 'node-start') && ledgerEvents.some((row) => row.event === 'node-end')
|
|
1654
2607
|
&& ledgerEvents.filter((row) => row.event === 'edge-observed').length === Math.max(0, path.length - 1);
|
|
2608
|
+
if (item.mode === 'resume-fanout-branch-refused') {
|
|
2609
|
+
const beforeResume = JSON.parse(readFileSync(state.statePath, 'utf8')) as GraphRunState;
|
|
2610
|
+
const beforeFanouts = JSON.stringify(beforeResume.fanOuts ?? {});
|
|
2611
|
+
let refusal = '';
|
|
2612
|
+
try {
|
|
2613
|
+
await runGraph(RELEASE_GRAPH, { resumeRunId: runId, fromNodeId: 'pwa', input: scenario.input, pinChildUniverse: true, quiet: true,
|
|
2614
|
+
deps: { root, runBash, log: capture } });
|
|
2615
|
+
} catch (error) { refusal = error instanceof Error ? error.message : String(error); }
|
|
2616
|
+
const refused = item.expect.status === 'resume-refused'
|
|
2617
|
+
&& refusal.includes(item.expect.refusalIncludes ?? "--from cannot resume fan-out branch 'pwa'");
|
|
2618
|
+
const persisted = JSON.parse(readFileSync(state.statePath, 'utf8')) as GraphRunState;
|
|
2619
|
+
const persistedFanout = persisted.fanOuts?.['traffic-gate-passed:ok'];
|
|
2620
|
+
const branchFailed = persistedFanout?.branches.pwa?.status === 'failed';
|
|
2621
|
+
const sourceRetained = persistedFanout?.from === 'traffic-gate-passed';
|
|
2622
|
+
const completeFanoutRetained = JSON.stringify(persisted.fanOuts ?? {}) === beforeFanouts;
|
|
2623
|
+
const pass = refused && branchFailed && sourceRetained && completeFanoutRetained && visitOk && notVisitOk && ledgerOk && edgeIssues.length === 0;
|
|
2624
|
+
return { id: item.id, pass, status: 'resume-refused', path, dispatchedNodes, unexpectedEdges: edgeIssues,
|
|
2625
|
+
checks: { status: refused, mustVisit: visitOk && branchFailed && sourceRetained, mustNotVisit: notVisitOk, overlap: true, ledgerEvents: ledgerOk, completeFanoutRetained },
|
|
2626
|
+
injectedEvidence: { refusal, branchFailed, source: persistedFanout?.from, branchFailedAfter: branchFailed, sourceRetainedAfter: sourceRetained, completeFanoutRetained },
|
|
2627
|
+
fanOuts: state.fanOuts, nodeTimings, ledgerEvents, statePath: state.statePath };
|
|
2628
|
+
}
|
|
1655
2629
|
const eventTrace = checkExpectedEvents(item.expect.events, ledgerEvents);
|
|
1656
2630
|
const actualGateOutput = state.nodes.find((node) => node.nodeId === 'gate')?.output;
|
|
1657
2631
|
const actualTriageOutput = state.nodes.find((node) => node.nodeId === 'gate-triage')?.output;
|
|
@@ -1690,15 +2664,20 @@ async function runCase(scenario: ReleaseSimRigScenario, item: ReleaseSimRigCase,
|
|
|
1690
2664
|
}
|
|
1691
2665
|
|
|
1692
2666
|
export async function runReleaseSimRigScenario(source: string): Promise<ReleaseSimRigResult> {
|
|
2667
|
+
return runReleaseSimRigScenarioWithExecutor(source);
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
export async function runReleaseSimRigScenarioWithExecutor(source: string, options: { executorConcurrency?: number; supplementalFailureAt?: string } = {}): Promise<ReleaseSimRigResult> {
|
|
1693
2671
|
const scenario = parseReleaseSimRigScenario(source);
|
|
1694
2672
|
const root = getTestStateRoot();
|
|
1695
2673
|
if (!root) throw new Error('release simulation rig requires --test isolated mode');
|
|
1696
|
-
const { edges } = releaseGraphShape();
|
|
2674
|
+
const { edges } = releaseGraphShape(scenario.input.releaseGateFanout === true);
|
|
1697
2675
|
const cases = [];
|
|
1698
2676
|
const sharedUnmeasuredGateFixture: SharedUnmeasuredGateFixture = {
|
|
1699
2677
|
runId: `release-sim-${scenario.id}-unmeasured-gate-shared`, initialRuns: 0,
|
|
1700
2678
|
};
|
|
1701
|
-
for (const item of scenario.cases) cases.push(await runCase(scenario, item, root, edges, sharedUnmeasuredGateFixture
|
|
2679
|
+
for (const item of scenario.cases) cases.push(await runCase(scenario, item, root, edges, sharedUnmeasuredGateFixture,
|
|
2680
|
+
options.executorConcurrency ?? SIM_GATE_EXECUTOR_CONCURRENCY, options.supplementalFailureAt));
|
|
1702
2681
|
const result: ReleaseSimRigResult = { id: scenario.id, pass: cases.every((item) => item.pass), universe: root, cases,
|
|
1703
2682
|
table: cases.map((item) => ({ scenario: item.id, path: item.path.join(' → '), status: item.status,
|
|
1704
2683
|
unexpectedEdges: item.unexpectedEdges.length ? JSON.stringify(item.unexpectedEdges) : 'none' })),
|