robert-github-agent 0.1.0b1__py3-none-any.whl

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.
Files changed (111) hide show
  1. robert_agent/__init__.py +1 -0
  2. robert_agent/acceptance.py +394 -0
  3. robert_agent/acceptance_suite.py +287 -0
  4. robert_agent/audit_result.py +501 -0
  5. robert_agent/authorize.py +117 -0
  6. robert_agent/board.py +538 -0
  7. robert_agent/chat_status.py +338 -0
  8. robert_agent/cli/__init__.py +1 -0
  9. robert_agent/cli/exit_codes.py +5 -0
  10. robert_agent/cli/main.py +535 -0
  11. robert_agent/cli/output.py +20 -0
  12. robert_agent/common.py +6 -0
  13. robert_agent/controlled_e2e_acceptance.py +394 -0
  14. robert_agent/daemon.py +607 -0
  15. robert_agent/daemon_state.py +319 -0
  16. robert_agent/diagnostics.py +119 -0
  17. robert_agent/discover.py +775 -0
  18. robert_agent/dispatch.py +217 -0
  19. robert_agent/doctor.py +94 -0
  20. robert_agent/github_api.py +12 -0
  21. robert_agent/init_config.py +126 -0
  22. robert_agent/integrations/__init__.py +1 -0
  23. robert_agent/integrations/openclaw.py +285 -0
  24. robert_agent/live_discovery_acceptance.py +70 -0
  25. robert_agent/live_worker_acceptance.py +363 -0
  26. robert_agent/live_worktree_acceptance.py +344 -0
  27. robert_agent/loop_engine.py +285 -0
  28. robert_agent/memory_curator.py +105 -0
  29. robert_agent/migrate.py +157 -0
  30. robert_agent/notify.py +74 -0
  31. robert_agent/paths.py +16 -0
  32. robert_agent/production_write_canary.py +254 -0
  33. robert_agent/project_memory.py +503 -0
  34. robert_agent/publish.py +743 -0
  35. robert_agent/publish_dedupe_acceptance.py +270 -0
  36. robert_agent/redaction.py +41 -0
  37. robert_agent/render_prompt.py +544 -0
  38. robert_agent/resource_files.py +8 -0
  39. robert_agent/resources/__init__.py +1 -0
  40. robert_agent/resources/acceptance-matrix.md +120 -0
  41. robert_agent/resources/classifier.md +19 -0
  42. robert_agent/resources/command-matrix.md +38 -0
  43. robert_agent/resources/config.example.yml +20 -0
  44. robert_agent/resources/db/migrations/001_legacy_dd_to_robert.sql +14 -0
  45. robert_agent/resources/db/schema.sql +479 -0
  46. robert_agent/resources/failure-modes.md +36 -0
  47. robert_agent/resources/fixtures/actor-permission.json +1 -0
  48. robert_agent/resources/fixtures/discovery.json +1 -0
  49. robert_agent/resources/fixtures/redaction.json +1 -0
  50. robert_agent/resources/fixtures/review-followup.json +1 -0
  51. robert_agent/resources/fixtures/worker-results.json +1 -0
  52. robert_agent/resources/fixtures/workstreams.json +1 -0
  53. robert_agent/resources/github-events.md +77 -0
  54. robert_agent/resources/kanban-control.md +165 -0
  55. robert_agent/resources/redaction.md +29 -0
  56. robert_agent/resources/result-contract.md +56 -0
  57. robert_agent/resources/routes.yml +82 -0
  58. robert_agent/resources/schemas/config.schema.json +123 -0
  59. robert_agent/resources/schemas/event.schema.json +18 -0
  60. robert_agent/resources/schemas/result.schema.json +99 -0
  61. robert_agent/resources/schemas/route.schema.json +23 -0
  62. robert_agent/resources/schemas/snapshot.schema.json +17 -0
  63. robert_agent/resources/schemas/task.schema.json +15 -0
  64. robert_agent/resources/trust-model.md +16 -0
  65. robert_agent/resources/worker-prompt.md +121 -0
  66. robert_agent/resources/worker-protocol.md +47 -0
  67. robert_agent/resources/workflow.yml +50 -0
  68. robert_agent/resources/workstream-model.md +17 -0
  69. robert_agent/route.py +232 -0
  70. robert_agent/route_config.py +64 -0
  71. robert_agent/run_once.py +5375 -0
  72. robert_agent/runtime_knowledge.py +392 -0
  73. robert_agent/service.py +161 -0
  74. robert_agent/skills.py +28 -0
  75. robert_agent/status.py +1051 -0
  76. robert_agent/storage.py +376 -0
  77. robert_agent/summarize.py +100 -0
  78. robert_agent/supervise.py +72 -0
  79. robert_agent/usage.py +192 -0
  80. robert_agent/validate_config.py +616 -0
  81. robert_agent/wakeup.py +261 -0
  82. robert_agent/web.py +2893 -0
  83. robert_agent/web_assets/board.css +255 -0
  84. robert_agent/web_assets/board.html +165 -0
  85. robert_agent/web_assets/board.js +660 -0
  86. robert_agent/web_assets/github-shell.css +122 -0
  87. robert_agent/web_assets/index.html +103 -0
  88. robert_agent/web_assets/operations.css +168 -0
  89. robert_agent/web_assets/workbench.css +131 -0
  90. robert_agent/web_assets/workbench.js +581 -0
  91. robert_agent/work_items.py +1016 -0
  92. robert_agent/workbench.py +701 -0
  93. robert_agent/worker/__init__.py +1 -0
  94. robert_agent/worker/heartbeat.py +190 -0
  95. robert_agent/worker/result.py +321 -0
  96. robert_agent/worker/snapshot.py +98 -0
  97. robert_agent/worker_adapters/__init__.py +138 -0
  98. robert_agent/worker_adapters/cbc.py +68 -0
  99. robert_agent/worker_adapters/codex.py +56 -0
  100. robert_agent/worker_adapters/command.py +33 -0
  101. robert_agent/worker_adapters/tcodex.py +56 -0
  102. robert_agent/worker_heartbeat.py +6 -0
  103. robert_agent/worker_result.py +6 -0
  104. robert_agent/worker_snapshot.py +6 -0
  105. robert_agent/workstream.py +55 -0
  106. robert_agent/worktree.py +297 -0
  107. robert_github_agent-0.1.0b1.dist-info/METADATA +217 -0
  108. robert_github_agent-0.1.0b1.dist-info/RECORD +111 -0
  109. robert_github_agent-0.1.0b1.dist-info/WHEEL +4 -0
  110. robert_github_agent-0.1.0b1.dist-info/entry_points.txt +2 -0
  111. robert_github_agent-0.1.0b1.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,122 @@
1
+ :root {
2
+ color-scheme: light;
3
+ --bgColor-default: #ffffff;
4
+ --bgColor-muted: #f6f8fa;
5
+ --bgColor-inset: #eff2f5;
6
+ --fgColor-default: #1f2328;
7
+ --fgColor-muted: #656d76;
8
+ --fgColor-onEmphasis: #ffffff;
9
+ --borderColor-default: #d0d7de;
10
+ --borderColor-muted: #d8dee4;
11
+ --fgColor-accent: #0969da;
12
+ --bgColor-accent-muted: #ddf4ff;
13
+ --fgColor-success: #1a7f37;
14
+ --bgColor-success-muted: #dafbe1;
15
+ --fgColor-attention: #9a6700;
16
+ --bgColor-attention-muted: #fff8c5;
17
+ --fgColor-danger: #cf222e;
18
+ --bgColor-danger-muted: #ffebe9;
19
+ --shadow-resting-small: 0 1px 0 rgba(31, 35, 40, 0.04);
20
+ --shadow-floating-small: 0 8px 24px rgba(140, 149, 159, 0.2);
21
+ }
22
+
23
+ html[data-color-mode="dark"],
24
+ html[data-theme="dark"] {
25
+ color-scheme: dark;
26
+ --bgColor-default: #0d1117;
27
+ --bgColor-muted: #161b22;
28
+ --bgColor-inset: #010409;
29
+ --fgColor-default: #e6edf3;
30
+ --fgColor-muted: #8b949e;
31
+ --fgColor-onEmphasis: #ffffff;
32
+ --borderColor-default: #30363d;
33
+ --borderColor-muted: #21262d;
34
+ --fgColor-accent: #58a6ff;
35
+ --bgColor-accent-muted: #102a43;
36
+ --fgColor-success: #3fb950;
37
+ --bgColor-success-muted: #14321f;
38
+ --fgColor-attention: #d29922;
39
+ --bgColor-attention-muted: #342a14;
40
+ --fgColor-danger: #f85149;
41
+ --bgColor-danger-muted: #3d1e20;
42
+ --shadow-resting-small: 0 1px 0 rgba(0, 0, 0, 0.18);
43
+ --shadow-floating-small: 0 8px 24px rgba(0, 0, 0, 0.38);
44
+ }
45
+
46
+ * { box-sizing: border-box; }
47
+ [hidden] { display: none !important; }
48
+ html { min-width: 320px; }
49
+ body {
50
+ margin: 0;
51
+ min-height: 100dvh;
52
+ color: var(--fgColor-default);
53
+ background: var(--bgColor-default);
54
+ font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
55
+ }
56
+ button, input, select, textarea { font: inherit; }
57
+ a { color: var(--fgColor-accent); text-decoration: none; }
58
+ a:hover { text-decoration: underline; }
59
+ button, select { cursor: pointer; }
60
+ button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
61
+ outline: 2px solid var(--fgColor-accent);
62
+ outline-offset: 2px;
63
+ }
64
+ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
65
+
66
+ .global-bar {
67
+ display: flex;
68
+ align-items: center;
69
+ gap: 14px;
70
+ min-height: 64px;
71
+ padding: 12px 16px;
72
+ color: #f0f6fc;
73
+ background: #24292f;
74
+ }
75
+ html[data-color-mode="dark"] .global-bar,
76
+ html[data-theme="dark"] .global-bar { background: #010409; }
77
+ .brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; white-space: nowrap; }
78
+ .brand:hover { text-decoration: none; }
79
+ .brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #57606a; border-radius: 50%; font-size: 11px; font-weight: 700; }
80
+ .global-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
81
+ .live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #c9d1d9; font-size: 12px; white-space: nowrap; }
82
+ .live-indicator i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #3fb950; }
83
+ .theme-control select, .shell-select select { min-height: 30px; border: 1px solid #57606a; border-radius: 6px; color: #f0f6fc; background: #24292f; padding: 4px 7px; font-size: 12px; }
84
+ html[data-color-mode="dark"] .theme-control select,
85
+ html[data-theme="dark"] .theme-control select,
86
+ html[data-color-mode="dark"] .shell-select select,
87
+ html[data-theme="dark"] .shell-select select { background: #010409; }
88
+ .shell-button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 4px 9px; border: 1px solid #57606a; border-radius: 6px; color: #f0f6fc; background: transparent; font-size: 12px; font-weight: 600; }
89
+ .shell-button:hover { border-color: #8c959f; background: rgba(240, 246, 252, 0.08); }
90
+ .shell-button.primary { border-color: rgba(240, 246, 252, 0.15); background: #1f883d; }
91
+ .shell-button.primary:hover { background: #2c974b; }
92
+ .shell-button:disabled { color: #8c959f; border-color: #57606a; background: transparent; cursor: not-allowed; }
93
+ .shell-settings { position: relative; }
94
+ .shell-settings summary { list-style: none; }
95
+ .shell-settings summary::-webkit-details-marker { display: none; }
96
+ .shell-settings:not([open]) > .shell-settings-panel { display: none; }
97
+ .shell-settings-panel { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: grid; gap: 9px; width: 280px; padding: 12px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-default); box-shadow: var(--shadow-floating-small); }
98
+ .shell-settings-panel label { display: grid; gap: 5px; color: var(--fgColor-muted); font-size: 12px; }
99
+ .shell-settings-panel select { width: 100%; min-height: 32px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); padding: 5px 8px; }
100
+
101
+ .repo-header { padding: 14px 20px 0; border-bottom: 1px solid var(--borderColor-muted); background: var(--bgColor-muted); }
102
+ .repo-context { display: flex; align-items: center; gap: 6px; color: var(--fgColor-muted); }
103
+ .repo-context strong { color: var(--fgColor-accent); font-weight: 600; }
104
+ .counter-label, .counter { display: inline-block; padding: 0 7px; border: 1px solid var(--borderColor-default); border-radius: 999px; color: var(--fgColor-muted); background: transparent; font-size: 11px; font-weight: 500; line-height: 18px; }
105
+ .counter { border: 0; background: color-mix(in srgb, var(--fgColor-muted) 16%, transparent); line-height: 18px; }
106
+ .underline-nav { display: flex; gap: 4px; margin-top: 12px; overflow-x: auto; }
107
+ .underline-nav-item { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 10px 9px; border-bottom: 2px solid transparent; color: var(--fgColor-default); white-space: nowrap; }
108
+ .underline-nav-item:hover { background: color-mix(in srgb, var(--fgColor-muted) 7%, transparent); text-decoration: none; }
109
+ .underline-nav-item.selected { border-bottom-color: #fd8c73; font-weight: 600; }
110
+
111
+ @media (max-width: 900px) {
112
+ .repo-header { padding-inline: 12px; }
113
+ }
114
+
115
+ @media (max-width: 620px) {
116
+ .global-bar { min-height: 56px; padding: 9px 12px; }
117
+ .brand span:last-child { display: none; }
118
+ .live-indicator .responsive-label, .shell-select.language-control { display: none; }
119
+ .repo-context { font-size: 12px; }
120
+ .underline-nav-item { padding-inline: 8px; font-size: 12px; }
121
+ .shell-settings-panel { position: fixed; top: 56px; right: 8px; width: min(280px, calc(100vw - 16px)); }
122
+ }
@@ -0,0 +1,103 @@
1
+ <!doctype html>
2
+ <html lang="en" data-color-mode="light">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Robert Workbench</title>
7
+ <link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' fill='%2324292f'/%3E%3Ctext x='32' y='40' text-anchor='middle' font-family='ui-sans-serif' font-size='24' font-weight='700' fill='%23f0f6fc'%3ER%3C/text%3E%3C/svg%3E">
8
+ <script>
9
+ (() => {
10
+ const choice = localStorage.getItem('robertWorkbenchTheme') || 'system';
11
+ const dark = matchMedia('(prefers-color-scheme: dark)').matches;
12
+ document.documentElement.dataset.themeChoice = choice;
13
+ document.documentElement.dataset.colorMode = choice === 'system' ? (dark ? 'dark' : 'light') : choice;
14
+ })();
15
+ </script>
16
+ <link rel="stylesheet" href="/assets/github-shell.css">
17
+ <link rel="stylesheet" href="/assets/workbench.css">
18
+ <script src="/assets/workbench.js" defer></script>
19
+ </head>
20
+ <body>
21
+ <header class="global-bar">
22
+ <a class="brand" href="/" aria-label="Robert Workbench">
23
+ <span class="brand-mark" aria-hidden="true">R</span>
24
+ <span>GitHub Agent</span>
25
+ </a>
26
+ <div class="global-actions" aria-label="Workbench controls" data-i18n-aria="workbenchControls">
27
+ <span class="live-indicator"><i aria-hidden="true"></i><span class="responsive-label" id="refresh-label" data-i18n="live">Live</span></span>
28
+ <label class="theme-control"><span class="sr-only" data-i18n="theme">Theme</span><select id="theme-select" aria-label="Theme" data-i18n-aria="theme">
29
+ <option value="system" data-i18n="themeSystem">System</option><option value="light" data-i18n="themeLight">Light</option><option value="dark" data-i18n="themeDark">Dark</option>
30
+ </select></label>
31
+ <label class="shell-select language-control"><span class="sr-only" data-i18n="language">Language</span><select id="language-select" aria-label="Language" data-i18n-aria="language">
32
+ <option value="en" data-i18n="languageEnglish">English</option><option value="zh" data-i18n="languageChinese">中文</option>
33
+ </select></label>
34
+ </div>
35
+ </header>
36
+
37
+ <header class="repo-header">
38
+ <div class="repo-context"><a href="/">Robert</a><span>/</span><strong>workbench</strong><span class="counter-label">Private</span></div>
39
+ <nav class="underline-nav" aria-label="Workbench" data-i18n-aria="primaryNavigation">
40
+ <a class="underline-nav-item selected" data-nav="work" href="/"><span aria-hidden="true">⌁</span> <span data-i18n="navWork">Work</span> <span class="counter" id="nav-work-count">0</span></a>
41
+ <a class="underline-nav-item" href="/board"><span aria-hidden="true">▦</span> <span data-i18n="navBoard">Board</span></a>
42
+ <a class="underline-nav-item" data-nav="history" href="/?bucket=history"><span aria-hidden="true">◷</span> <span data-i18n="navHistory">History</span> <span class="counter" id="nav-history-count">0</span></a>
43
+ <a class="underline-nav-item" href="/operations"><span aria-hidden="true">▣</span> <span data-i18n="navOperations">Operations</span></a>
44
+ <a class="underline-nav-item" href="/operations#knowledge"><span aria-hidden="true">◇</span> <span data-i18n="navKnowledge">Knowledge</span></a>
45
+ </nav>
46
+ </header>
47
+
48
+ <main id="workbench-app" class="workbench-shell" aria-busy="true">
49
+ <section class="work-column" aria-labelledby="work-title">
50
+ <div class="page-header">
51
+ <div><h1 id="work-title" data-i18n="workTitle">Work queue</h1><p id="work-subtitle" data-i18n="workSubtitle">Active GitHub work that still needs attention</p></div>
52
+ <div class="summary-counts" aria-label="Work summary" data-i18n-aria="workSummary">
53
+ <span><strong class="danger-text" id="count-attention">0</strong> <span data-i18n="needsYou">needs you</span></span>
54
+ <span><strong id="count-working">0</strong> <span data-i18n="working">working</span></span>
55
+ <span><strong id="count-waiting">0</strong> <span data-i18n="waiting">waiting</span></span>
56
+ </div>
57
+ </div>
58
+
59
+ <form id="filter-form" class="filter-bar" role="search">
60
+ <label class="search-field"><span class="sr-only" data-i18n="searchWork">Search work</span><input id="work-search" name="q" type="search" autocomplete="off" placeholder="Search title, #number or task ID" data-i18n-placeholder="workSearchPlaceholder" data-i18n-aria="searchWork"></label>
61
+ <label><span class="sr-only" data-i18n="repository">Repository</span><select id="repo-filter" name="repo" aria-label="Repository" data-i18n-aria="repository"><option value="" data-i18n="allRepositories">All repositories</option></select></label>
62
+ <label><span class="sr-only" data-i18n="actor">Actor</span><select id="actor-filter" name="actor" aria-label="Actor" data-i18n-aria="actor"><option value="" data-i18n="anyActor">Any actor</option></select></label>
63
+ <label><span class="sr-only" data-i18n="status">Status</span><select id="bucket-filter" name="bucket" aria-label="Status" data-i18n-aria="status">
64
+ <option value="" data-i18n="activeWork">Active work</option>
65
+ <option value="needs_attention" data-i18n="needsAttention">Needs attention</option>
66
+ <option value="working" data-i18n="agentWorking">Agent working</option>
67
+ <option value="waiting" data-i18n="waiting">Waiting</option>
68
+ <option value="history" data-i18n="navHistory">History</option>
69
+ </select></label>
70
+ <label><span class="sr-only" data-i18n="sort">Sort</span><select id="sort-filter" name="sort" aria-label="Sort" data-i18n-aria="sort">
71
+ <option value="priority" data-i18n="priority">Priority</option>
72
+ <option value="updated-desc" data-i18n="newest">Newest</option>
73
+ <option value="updated-asc" data-i18n="oldest">Oldest</option>
74
+ </select></label>
75
+ </form>
76
+
77
+ <div id="refresh-notice" class="flash flash-danger" hidden><span id="refresh-error"></span><button id="retry-button" type="button" data-i18n="retry">Retry</button></div>
78
+ <div id="list-status" class="sr-only" aria-live="polite"></div>
79
+ <div id="work-list" class="work-list" aria-label="GitHub work items" data-i18n-aria="githubWorkItems"></div>
80
+ <div id="pagination" class="pagination" hidden><button id="load-more" class="button" type="button" data-i18n="loadMore">Load more</button></div>
81
+ </section>
82
+
83
+ <aside id="detail-panel" class="detail-panel" aria-labelledby="detail-title">
84
+ <div id="detail-content" class="detail-empty"><h2 id="detail-title" data-i18n="selectWorkItem">Select a PR or issue</h2><p data-i18n="selectWorkItemHelp">Choose a work item to inspect its current Agent state.</p></div>
85
+ </aside>
86
+ </main>
87
+
88
+ <div id="drawer-scrim" class="drawer-scrim" hidden></div>
89
+ <aside id="detail-drawer" class="detail-drawer" role="dialog" aria-modal="true" aria-labelledby="drawer-title" aria-hidden="true">
90
+ <header><h2 id="drawer-title" data-i18n="workItemDetail">Work item detail</h2><button id="drawer-close" class="icon-button" type="button" aria-label="Close detail" data-i18n-aria="closeDetail">×</button></header>
91
+ <div id="drawer-content"></div>
92
+ </aside>
93
+
94
+ <template id="skeleton-template">
95
+ <div class="box skeleton-box" aria-hidden="true">
96
+ <div class="box-header"><span class="skeleton short"></span></div>
97
+ <div class="skeleton-row"><span class="skeleton icon"></span><span class="skeleton wide"></span></div>
98
+ <div class="skeleton-row"><span class="skeleton icon"></span><span class="skeleton medium"></span></div>
99
+ <div class="skeleton-row"><span class="skeleton icon"></span><span class="skeleton wide"></span></div>
100
+ </div>
101
+ </template>
102
+ </body>
103
+ </html>
@@ -0,0 +1,168 @@
1
+ :root {
2
+ --page: var(--bgColor-muted);
3
+ --surface: var(--bgColor-default);
4
+ --surface-raised: var(--bgColor-muted);
5
+ --surface-muted: var(--bgColor-inset);
6
+ --text: var(--fgColor-default);
7
+ --muted: var(--fgColor-muted);
8
+ --line: var(--borderColor-default);
9
+ --line-soft: var(--borderColor-muted);
10
+ --accent: var(--fgColor-accent);
11
+ --accent-strong: var(--fgColor-accent);
12
+ --critical: var(--fgColor-danger);
13
+ --critical-soft: var(--bgColor-danger-muted);
14
+ --warning: var(--fgColor-attention);
15
+ --warning-soft: var(--bgColor-attention-muted);
16
+ --info: var(--fgColor-accent);
17
+ --info-soft: var(--bgColor-accent-muted);
18
+ --ok: var(--fgColor-success);
19
+ --ok-soft: var(--bgColor-success-muted);
20
+ --shadow: var(--shadow-floating-small);
21
+ }
22
+
23
+ body { background: var(--bgColor-default); }
24
+
25
+ .mission-shell {
26
+ grid-template-columns: 218px minmax(0, 1fr);
27
+ grid-template-rows: auto auto minmax(0, 1fr);
28
+ width: 100%;
29
+ max-width: 100vw;
30
+ background: var(--bgColor-default);
31
+ }
32
+ .mission-shell > * { min-width: 0; }
33
+ .mission-shell > .global-bar,
34
+ .mission-shell > .repo-header { grid-column: 1 / -1; }
35
+ .mission-nav {
36
+ grid-column: 1;
37
+ grid-row: 3;
38
+ top: 0;
39
+ height: calc(100dvh - 126px);
40
+ padding: 12px 10px;
41
+ border-color: var(--borderColor-muted);
42
+ background: var(--bgColor-muted);
43
+ }
44
+ .mission-workspace {
45
+ grid-column: 2;
46
+ grid-row: 3;
47
+ padding: 20px 20px 40px;
48
+ background: var(--bgColor-default);
49
+ }
50
+ .nav-button {
51
+ min-height: 34px;
52
+ border-radius: 6px;
53
+ color: var(--fgColor-muted);
54
+ font-size: 12px;
55
+ font-weight: 600;
56
+ }
57
+ .nav-button:hover { color: var(--fgColor-default); background: var(--bgColor-default); }
58
+ .nav-button.active {
59
+ border-color: color-mix(in srgb, var(--fgColor-accent) 24%, var(--borderColor-muted));
60
+ color: var(--fgColor-accent);
61
+ background: var(--bgColor-accent-muted);
62
+ box-shadow: none;
63
+ }
64
+ .nav-icon { border-radius: 4px; background: transparent; }
65
+ .nav-count { border-color: var(--borderColor-default); border-radius: 999px; color: var(--fgColor-default); background: var(--bgColor-muted); }
66
+ .nav-button.active .nav-count { border-color: color-mix(in srgb, var(--fgColor-accent) 32%, var(--borderColor-default)); color: var(--fgColor-accent); background: var(--bgColor-accent-muted); }
67
+
68
+ .command-header { padding: 2px 0 4px; }
69
+ .command-title h1 { font-size: 22px; font-weight: 400; }
70
+ .command-title p { color: var(--fgColor-muted); }
71
+ .panel,
72
+ .health-grid {
73
+ border: 1px solid var(--borderColor-default);
74
+ border-radius: 6px;
75
+ background: var(--bgColor-default);
76
+ box-shadow: var(--shadow-resting-small);
77
+ }
78
+ .panel-head {
79
+ min-height: 42px;
80
+ padding: 9px 12px;
81
+ border-color: var(--borderColor-default);
82
+ background: var(--bgColor-muted);
83
+ }
84
+ .panel-head h2,
85
+ .system-card h2 { font-size: 13px; font-weight: 600; }
86
+ .health-card { padding: 11px 12px; border-color: var(--borderColor-muted); background: var(--bgColor-default); }
87
+ .health-card strong { font-size: 16px; }
88
+ .row-card,
89
+ .task-card,
90
+ .timeline-row,
91
+ .notification-card,
92
+ .artifact-row { padding: 11px 12px; border-color: var(--borderColor-muted); background: var(--bgColor-default); }
93
+ .task-card:hover,
94
+ .task-card.active { background: var(--bgColor-accent-muted); box-shadow: inset 3px 0 0 var(--fgColor-accent); }
95
+ .item-title { font-weight: 600; }
96
+ .state-icon { border-color: currentColor; border-radius: 50%; }
97
+ .badge { border-radius: 999px; font-size: 11px; line-height: 18px; }
98
+ .field { border-color: var(--borderColor-muted); border-radius: 6px; background: var(--bgColor-muted); }
99
+ .json-chip { border-radius: 999px; background: var(--bgColor-muted); }
100
+ .boundary-note,
101
+ .error { border-radius: 6px; }
102
+
103
+ .control-select,
104
+ .button,
105
+ .control-pill,
106
+ .inline-button,
107
+ .primary-button,
108
+ .danger-button {
109
+ min-height: 32px;
110
+ border: 1px solid var(--borderColor-default);
111
+ border-radius: 6px;
112
+ color: var(--fgColor-default);
113
+ background: var(--bgColor-muted);
114
+ box-shadow: var(--shadow-resting-small);
115
+ font-size: 12px;
116
+ }
117
+ .button.primary,
118
+ .primary-button { color: var(--fgColor-onEmphasis); border-color: rgba(27, 31, 36, 0.15); background: var(--fgColor-success); }
119
+ .button:hover,
120
+ .control-select:hover,
121
+ .inline-button:hover,
122
+ .primary-button:hover,
123
+ .danger-button:hover { border-color: var(--fgColor-accent); }
124
+ .button:active,
125
+ .nav-button:active,
126
+ .inline-button:active,
127
+ .primary-button:active,
128
+ .danger-button:active { transform: none; }
129
+ .form-grid input,
130
+ .form-grid select,
131
+ .form-grid textarea,
132
+ .proposal-box select,
133
+ .search-input { border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); }
134
+ .proposal-box { border: 1px solid var(--borderColor-muted); border-radius: 6px; background: var(--bgColor-muted); }
135
+
136
+ .artifact-drawer {
137
+ border-color: var(--borderColor-default);
138
+ background: var(--bgColor-default);
139
+ box-shadow: var(--shadow-floating-small);
140
+ }
141
+ .artifact-drawer-head { min-height: 52px; border-color: var(--borderColor-default); background: var(--bgColor-default); }
142
+ .artifact-drawer-head h2 { font-size: 15px; }
143
+ .artifact-preview { border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); }
144
+
145
+ @media (max-width: 1120px) {
146
+ .mission-shell {
147
+ grid-template-columns: minmax(0, 1fr);
148
+ grid-template-rows: auto auto auto minmax(0, 1fr);
149
+ }
150
+ .mission-nav {
151
+ grid-column: 1;
152
+ grid-row: 3;
153
+ top: 0;
154
+ height: auto;
155
+ border-right: 0;
156
+ border-bottom: 1px solid var(--borderColor-muted);
157
+ }
158
+ .mission-workspace { grid-column: 1; grid-row: 4; }
159
+ }
160
+
161
+ @media (max-width: 760px) {
162
+ .mission-workspace { padding: 14px 12px 32px; }
163
+ .mission-nav { position: static; }
164
+ }
165
+
166
+ @media (prefers-reduced-motion: reduce) {
167
+ *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
168
+ }
@@ -0,0 +1,131 @@
1
+ .workbench-shell { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.72fr); min-height: calc(100dvh - 126px); }
2
+ .work-column { min-width: 0; padding: 22px 20px 40px; }
3
+ .page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
4
+ .page-header h1 { margin: 0; font-size: 22px; font-weight: 400; line-height: 1.25; }
5
+ .page-header p { margin: 4px 0 0; color: var(--fgColor-muted); }
6
+ .summary-counts { display: flex; border: 1px solid var(--borderColor-default); border-radius: 6px; overflow: hidden; white-space: nowrap; }
7
+ .summary-counts span { padding: 6px 9px; border-right: 1px solid var(--borderColor-default); color: var(--fgColor-muted); font-size: 12px; }
8
+ .summary-counts span:last-child { border-right: 0; }
9
+ .summary-counts strong { color: var(--fgColor-default); }
10
+ .summary-counts .danger-text { color: var(--fgColor-danger); }
11
+
12
+ .filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(150px, 210px) 140px 150px 118px; margin-bottom: 12px; }
13
+ .filter-bar input, .filter-bar select { width: 100%; min-height: 34px; border: 1px solid var(--borderColor-default); border-left: 0; color: var(--fgColor-default); background: var(--bgColor-muted); padding: 6px 9px; }
14
+ .filter-bar .search-field input { border-left: 1px solid var(--borderColor-default); border-radius: 6px 0 0 6px; }
15
+ .filter-bar label:last-child select { border-radius: 0 6px 6px 0; }
16
+ .filter-bar input::placeholder { color: var(--fgColor-muted); }
17
+
18
+ .flash { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--borderColor-default); border-radius: 6px; }
19
+ .flash-danger { border-color: color-mix(in srgb, var(--fgColor-danger) 55%, var(--borderColor-default)); color: var(--fgColor-danger); background: var(--bgColor-danger-muted); }
20
+ .flash button { border: 0; color: inherit; background: transparent; font-weight: 600; text-decoration: underline; }
21
+
22
+ .work-list { display: grid; gap: 16px; }
23
+ .box { overflow: hidden; border: 1px solid var(--borderColor-default); border-radius: 6px; background: var(--bgColor-default); box-shadow: var(--shadow-resting-small); }
24
+ .box-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 9px 14px; border-bottom: 1px solid var(--borderColor-default); background: var(--bgColor-muted); }
25
+ .box-header strong { font-size: 13px; }
26
+ .box-header span { color: var(--fgColor-muted); font-size: 12px; }
27
+ .work-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; width: 100%; min-height: 70px; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--borderColor-muted); color: inherit; background: var(--bgColor-default); text-align: left; }
28
+ .work-row:last-child { border-bottom: 0; }
29
+ .work-row:hover { background: var(--bgColor-muted); }
30
+ .work-row.selected { background: var(--bgColor-accent-muted); box-shadow: inset 3px 0 0 var(--fgColor-accent); }
31
+ .state-icon { width: 18px; height: 18px; margin-top: 1px; color: var(--fgColor-success); }
32
+ .state-icon.attention { color: var(--fgColor-danger); }
33
+ .state-icon.waiting { color: var(--fgColor-attention); }
34
+ .work-copy { min-width: 0; }
35
+ .work-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
36
+ .work-title-line strong { overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
37
+ .label { display: inline-block; padding: 0 7px; border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 18px; }
38
+ .label.attention { color: var(--fgColor-danger); border-color: color-mix(in srgb, var(--fgColor-danger) 36%, transparent); background: var(--bgColor-danger-muted); }
39
+ .label.working { color: var(--fgColor-accent); border-color: color-mix(in srgb, var(--fgColor-accent) 36%, transparent); background: var(--bgColor-accent-muted); }
40
+ .label.waiting { color: var(--fgColor-attention); border-color: color-mix(in srgb, var(--fgColor-attention) 36%, transparent); background: var(--bgColor-attention-muted); }
41
+ .label.history { color: var(--fgColor-muted); border-color: var(--borderColor-default); background: var(--bgColor-muted); }
42
+ .work-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 5px; color: var(--fgColor-muted); font-size: 12px; }
43
+ .work-meta code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
44
+ .work-signals { display: flex; align-items: flex-start; gap: 8px; padding-top: 2px; color: var(--fgColor-muted); font-size: 12px; white-space: nowrap; }
45
+ .signal { display: inline-flex; align-items: center; gap: 4px; }
46
+ .signal i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
47
+ .signal.success { color: var(--fgColor-success); }
48
+ .signal.attention { color: var(--fgColor-attention); }
49
+ .empty-state { padding: 44px 20px; border: 1px dashed var(--borderColor-default); border-radius: 6px; color: var(--fgColor-muted); background: var(--bgColor-muted); text-align: center; }
50
+ .empty-state h2 { margin: 0 0 5px; color: var(--fgColor-default); font-size: 16px; }
51
+ .pagination { display: flex; justify-content: center; margin-top: 16px; }
52
+ .button { min-height: 32px; padding: 5px 12px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); box-shadow: var(--shadow-resting-small); font-weight: 600; }
53
+
54
+ .detail-panel { min-width: 0; border-left: 1px solid var(--borderColor-default); background: var(--bgColor-default); }
55
+ .detail-empty { display: grid; place-content: center; min-height: 420px; padding: 28px; color: var(--fgColor-muted); text-align: center; }
56
+ .detail-empty h2 { margin: 0; color: var(--fgColor-default); font-size: 18px; }
57
+ .detail-empty p { margin: 6px 0 0; }
58
+ .detail-head { padding: 20px 18px 16px; border-bottom: 1px solid var(--borderColor-muted); }
59
+ .detail-kicker { display: flex; align-items: center; gap: 6px; color: var(--fgColor-muted); font-size: 12px; font-weight: 600; }
60
+ .detail-kicker.needs_attention { color: var(--fgColor-danger); }
61
+ .detail-kicker.working { color: var(--fgColor-accent); }
62
+ .detail-kicker.waiting { color: var(--fgColor-attention); }
63
+ .detail-head h2 { margin: 7px 0 5px; font-size: 18px; line-height: 1.35; }
64
+ .detail-head p { margin: 0; color: var(--fgColor-muted); font-size: 12px; }
65
+ .detail-section { padding: 16px 18px; border-bottom: 1px solid var(--borderColor-muted); }
66
+ .detail-section h3 { margin: 0 0 10px; font-size: 13px; }
67
+ .reason-flash { padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--fgColor-danger) 55%, var(--borderColor-default)); border-radius: 6px; color: var(--fgColor-danger); background: var(--bgColor-danger-muted); line-height: 1.45; }
68
+ .reason-flash.working { border-color: color-mix(in srgb, var(--fgColor-accent) 45%, var(--borderColor-default)); color: var(--fgColor-accent); background: var(--bgColor-accent-muted); }
69
+ .reason-flash.waiting { border-color: color-mix(in srgb, var(--fgColor-attention) 45%, var(--borderColor-default)); color: var(--fgColor-attention); background: var(--bgColor-attention-muted); }
70
+ .reason-flash.history { border-color: var(--borderColor-default); color: var(--fgColor-muted); background: var(--bgColor-muted); }
71
+ .timeline { position: relative; display: grid; }
72
+ .timeline::before { content: ""; position: absolute; top: 12px; bottom: 14px; left: 11px; width: 2px; background: var(--borderColor-muted); }
73
+ .timeline-row { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; min-height: 40px; align-items: start; font-size: 12px; }
74
+ .timeline-icon { z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--bgColor-default); border-radius: 50%; color: var(--fgColor-onEmphasis); background: var(--fgColor-muted); font-size: 10px; font-weight: 700; }
75
+ .timeline-row.done .timeline-icon { background: var(--fgColor-success); }
76
+ .timeline-row.failed .timeline-icon { background: var(--fgColor-danger); }
77
+ .timeline-row.current .timeline-icon { background: var(--fgColor-accent); }
78
+ .timeline-row span, .timeline-row time { padding-top: 4px; }
79
+ .timeline-row time { color: var(--fgColor-muted); font-size: 11px; }
80
+ .detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
81
+ .action-button { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); font-size: 12px; font-weight: 600; }
82
+ .action-button:hover { text-decoration: none; }
83
+ .action-button.primary { color: var(--fgColor-onEmphasis); border-color: rgba(27, 31, 36, 0.15); background: var(--fgColor-success); }
84
+ .artifact-list { display: grid; gap: 6px; }
85
+ .artifact-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); }
86
+ .artifact-link:hover { text-decoration: none; border-color: var(--fgColor-accent); }
87
+ .artifact-link small { color: var(--fgColor-muted); }
88
+
89
+ .drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(31, 35, 40, 0.45); }
90
+ .detail-drawer { position: fixed; inset: 0 0 0 auto; z-index: 90; display: none; width: min(92vw, 520px); overflow-y: auto; border-left: 1px solid var(--borderColor-default); background: var(--bgColor-default); box-shadow: var(--shadow-floating-small); transform: translateX(100%); }
91
+ .detail-drawer.open { transform: translateX(0); }
92
+ .detail-drawer > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 14px; border-bottom: 1px solid var(--borderColor-default); background: var(--bgColor-default); }
93
+ .detail-drawer > header h2 { margin: 0; font-size: 15px; }
94
+ .icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--borderColor-default); border-radius: 6px; color: var(--fgColor-default); background: var(--bgColor-muted); font-size: 20px; }
95
+ body.drawer-open { overflow: hidden; }
96
+
97
+ .skeleton-box { opacity: .75; }
98
+ .skeleton-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 14px; border-bottom: 1px solid var(--borderColor-muted); }
99
+ .skeleton-row:last-child { border-bottom: 0; }
100
+ .skeleton { display: inline-block; height: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--bgColor-inset), var(--borderColor-muted), var(--bgColor-inset)); background-size: 200% 100%; animation: skeleton 1.3s ease-in-out infinite; }
101
+ .skeleton.short { width: 120px; }.skeleton.wide { width: 74%; }.skeleton.medium { width: 52%; }.skeleton.icon { width: 18px; height: 18px; border-radius: 50%; }
102
+ @keyframes skeleton { to { background-position: -200% 0; } }
103
+
104
+ @media (max-width: 1040px) {
105
+ .filter-bar { grid-template-columns: minmax(200px, 1fr) 170px 130px 140px; }
106
+ .filter-bar label:last-child { display: none; }
107
+ .filter-bar label:nth-last-child(2) select { border-radius: 0 6px 6px 0; }
108
+ .workbench-shell { grid-template-columns: minmax(0, 1fr) 340px; }
109
+ }
110
+
111
+ @media (max-width: 900px) {
112
+ .workbench-shell { display: block; min-height: 0; }
113
+ .work-column { padding: 18px 12px 32px; }
114
+ .detail-panel { display: none; }
115
+ .detail-drawer { display: block; }
116
+ .page-header { display: grid; }
117
+ .summary-counts { width: max-content; max-width: 100%; overflow-x: auto; }
118
+ }
119
+
120
+ @media (max-width: 620px) {
121
+ .filter-bar { grid-template-columns: 1fr 130px; gap: 8px; }
122
+ .filter-bar input, .filter-bar select { border: 1px solid var(--borderColor-default); border-radius: 6px !important; }
123
+ .filter-bar label:nth-child(n+3) { display: none; }
124
+ .work-row { grid-template-columns: 22px minmax(0, 1fr); }
125
+ .work-signals { grid-column: 2; padding-top: 0; }
126
+ .detail-drawer { width: 100vw; }
127
+ }
128
+
129
+ @media (prefers-reduced-motion: reduce) {
130
+ *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
131
+ }