feat(shipping-process-gates): 落地全门禁中断恢复并消除双真相

纳入 Execution/Gate/Attempt 模型与迁移、Worker/API/前端恢复卡片与 Admin 诊断,
Gate 阻断时清零旧 action_buttons,异常摘要统一脱敏,并为运维筛选与 Attempt Diff 补齐入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-08-01 13:08:32 +08:00
1 parent b352c281d5
commit 323928626b
92 files changed
+11930 -458

No files matched your search

@@ -2,7 +2,8 @@
* features/admin/views/AdminLayout.vue
* 管理后台壳层:顶栏 + 左侧导航 + 子路由出口。
* 依赖:AdminNav、vue-router、admin-nav.store。
* 逻辑:AdminNav 统一承担模块和二级目录导航,内容区保持全宽展示当前页面。
* 逻辑:AdminNav 统一承担模块和二级目录导航;lg 起侧栏与内容并排,
* 小于 lg(含 768px)上下堆叠,避免运维诊断页主区被侧栏挤窄。
*/
<script setup lang="ts">
import { onMounted } from 'vue';
@@ -27,7 +28,7 @@ onMounted(() => {
<div class="page-shell min-h-screen font-sans flex flex-col">
<header class="app-header px-6">
<div class="flex items-center gap-4">
<button type="button" class="btn-icon-ds md:block hidden" @click="navStore.toggleSidebar()">
<button type="button" class="btn-icon-ds lg:block hidden" @click="navStore.toggleSidebar()">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg>
</button>
<button type="button" class="btn-icon-ds" @click="router.push('/workspace')">
@@ -43,7 +44,8 @@ onMounted(() => {
<AppHeaderTools />
</header>
<main class="flex-1 w-full mx-auto px-4 md:px-8 py-6 md:py-8 flex flex-col md:flex-row gap-8 items-start">
<!-- lg 起才并排侧栏;768px 平板保持上下堆叠,避免诊断等运维页主内容被挤窄 -->
<main class="flex-1 w-full mx-auto px-4 md:px-8 py-6 md:py-8 flex flex-col lg:flex-row gap-6 lg:gap-8 items-start">
<AdminNav />
<section class="flex-1 min-w-0 w-full space-y-8">
<router-view />