coding-agent-harness 1.0.1 → 1.0.4

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 (262) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/CONTRIBUTING.md +98 -0
  3. package/README.en-US.md +14 -0
  4. package/README.md +230 -80
  5. package/README.zh-CN.md +290 -0
  6. package/SKILL.md +132 -198
  7. package/docs-release/README.md +80 -9
  8. package/docs-release/architecture/overview.md +298 -28
  9. package/docs-release/architecture/overview.zh-CN.md +292 -0
  10. package/docs-release/assets/dashboard-overview.png +0 -0
  11. package/docs-release/assets/harness-architecture.svg +163 -0
  12. package/docs-release/assets/harness-workflow.svg +64 -0
  13. package/docs-release/guides/agent-installation.en-US.md +237 -0
  14. package/docs-release/guides/agent-installation.md +149 -27
  15. package/docs-release/guides/contributing.md +100 -0
  16. package/docs-release/guides/contributing.zh-CN.md +99 -0
  17. package/docs-release/guides/document-audience-and-surfaces.en-US.md +113 -0
  18. package/docs-release/guides/document-audience-and-surfaces.md +113 -0
  19. package/docs-release/guides/full-legacy-migration-subagent-strategy.md +334 -0
  20. package/docs-release/guides/full-legacy-migration-subagent-strategy.zh-CN.md +334 -0
  21. package/docs-release/guides/legacy-migration-agent-prompt.md +373 -0
  22. package/docs-release/guides/legacy-migration-agent-prompt.zh-CN.md +350 -0
  23. package/docs-release/guides/migration-playbook.en-US.md +324 -0
  24. package/docs-release/guides/migration-playbook.md +328 -0
  25. package/docs-release/guides/parent-control-repository-pattern.en-US.md +254 -0
  26. package/docs-release/guides/parent-control-repository-pattern.md +254 -0
  27. package/docs-release/guides/preset-development.md +214 -0
  28. package/docs-release/guides/repository-operating-models.en-US.md +197 -0
  29. package/docs-release/guides/repository-operating-models.md +197 -0
  30. package/docs-release/guides/task-state-machine.en-US.md +207 -0
  31. package/docs-release/guides/task-state-machine.md +214 -0
  32. package/docs-release/intl/README.md +15 -0
  33. package/docs-release/intl/de-DE.md +18 -0
  34. package/docs-release/intl/en-US.md +18 -0
  35. package/docs-release/intl/es-ES.md +18 -0
  36. package/docs-release/intl/fr-FR.md +18 -0
  37. package/docs-release/intl/ja-JP.md +18 -0
  38. package/docs-release/intl/ko-KR.md +18 -0
  39. package/docs-release/intl/zh-CN.md +18 -0
  40. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/brief.md +13 -0
  41. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/findings.md +7 -0
  42. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/lesson_candidates.md +24 -0
  43. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/progress.md +1 -1
  44. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/task_plan.md +4 -2
  45. package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/{visual_roadmap.md → visual_map.md} +9 -1
  46. package/package.json +10 -3
  47. package/presets/legacy-migration/checks/preset-check.mjs +3 -0
  48. package/presets/legacy-migration/preset.yaml +134 -0
  49. package/presets/legacy-migration/scripts/plan-work-queue.mjs +4 -0
  50. package/presets/legacy-migration/scripts/scaffold-task-contracts.mjs +4 -0
  51. package/presets/legacy-migration/templates/execution_strategy.append.md +18 -0
  52. package/presets/legacy-migration/templates/findings.seed.md +17 -0
  53. package/presets/legacy-migration/templates/review.seed.md +12 -0
  54. package/presets/legacy-migration/templates/task_plan.append.md +9 -0
  55. package/presets/legacy-migration/templates/visual_map.append.md +12 -0
  56. package/presets/legacy-migration/workbench/dashboard-panels.yaml +2 -0
  57. package/presets/legacy-migration/workbench/migration-queue.schema.json +23 -0
  58. package/presets/lesson-sedimentation/preset.yaml +23 -0
  59. package/presets/lesson-sedimentation/templates/prompt.md +23 -0
  60. package/presets/module/preset.yaml +25 -0
  61. package/presets/module/templates/execution_strategy.append.md +8 -0
  62. package/presets/module/templates/task_plan.append.md +17 -0
  63. package/presets/standard-task/preset.yaml +31 -0
  64. package/presets/standard-task/templates/task_plan.append.md +7 -0
  65. package/references/adversarial-review-standard.md +2 -2
  66. package/references/agents-md-pattern.md +5 -5
  67. package/references/delivery-operating-model-standard.md +3 -3
  68. package/references/docs-directory-standard.md +53 -10
  69. package/references/external-source-intake-standard.md +75 -0
  70. package/references/harness-ledger.md +53 -94
  71. package/references/legacy-12-phase-bootstrap.md +41 -0
  72. package/references/lessons-governance.md +100 -88
  73. package/references/module-parallel-standard.md +14 -14
  74. package/references/planning-loop.md +51 -7
  75. package/references/project-onboarding-audit.md +10 -0
  76. package/references/pull-request-standard.md +118 -0
  77. package/references/repo-governance-standard.md +12 -1
  78. package/references/review-routing-standard.md +7 -1
  79. package/references/ssot-governance.md +67 -59
  80. package/references/taskr-gap-analysis.md +600 -0
  81. package/references/testing-standard.md +50 -0
  82. package/references/walkthrough-closeout.md +10 -9
  83. package/scripts/check-harness.mjs +111 -331
  84. package/scripts/commands/dashboard-command.mjs +67 -0
  85. package/scripts/commands/migration-command.mjs +96 -0
  86. package/scripts/commands/preset-command.mjs +73 -0
  87. package/scripts/commands/task-command.mjs +327 -0
  88. package/scripts/harness.mjs +106 -20
  89. package/scripts/lib/capability-registry.mjs +591 -0
  90. package/scripts/lib/check-module-parallel.mjs +237 -0
  91. package/scripts/lib/check-profiles.mjs +418 -0
  92. package/scripts/lib/check-task-contracts.mjs +47 -0
  93. package/scripts/lib/core-shared.mjs +196 -0
  94. package/scripts/lib/dashboard-data.mjs +412 -0
  95. package/scripts/lib/dashboard-workbench.mjs +257 -0
  96. package/scripts/lib/dashboard-writer.mjs +107 -4
  97. package/scripts/lib/git-status-summary.mjs +46 -0
  98. package/scripts/lib/governance-index-generator.mjs +174 -0
  99. package/scripts/lib/governance-sync.mjs +514 -0
  100. package/scripts/lib/governance-table-boundary.mjs +175 -0
  101. package/scripts/lib/harness-core.mjs +15 -1318
  102. package/scripts/lib/lesson-maintenance.mjs +152 -0
  103. package/scripts/lib/markdown-utils.mjs +158 -0
  104. package/scripts/lib/migration-planner.mjs +478 -0
  105. package/scripts/lib/migration-support.mjs +312 -0
  106. package/scripts/lib/preset-audit-contracts.mjs +37 -0
  107. package/scripts/lib/preset-engine.mjs +497 -0
  108. package/scripts/lib/preset-registry.mjs +627 -0
  109. package/scripts/lib/preset-resource-contracts.mjs +83 -0
  110. package/scripts/lib/review-confirm-git-gate.mjs +248 -0
  111. package/scripts/lib/status-dashboard-renderer.mjs +102 -0
  112. package/scripts/lib/subagent-authorization-audit.mjs +196 -0
  113. package/scripts/lib/task-completion-consistency.mjs +16 -0
  114. package/scripts/lib/task-index.mjs +93 -0
  115. package/scripts/lib/task-lesson-candidates.mjs +242 -0
  116. package/scripts/lib/task-lesson-sedimentation.mjs +326 -0
  117. package/scripts/lib/task-lifecycle/review-confirm.mjs +101 -0
  118. package/scripts/lib/task-lifecycle/review-gates.mjs +70 -0
  119. package/scripts/lib/task-lifecycle/text-utils.mjs +24 -0
  120. package/scripts/lib/task-lifecycle.mjs +649 -0
  121. package/scripts/lib/task-review-model.mjs +469 -0
  122. package/scripts/lib/task-scanner.mjs +576 -0
  123. package/scripts/lib/task-tombstone-commands.mjs +140 -0
  124. package/scripts/postinstall.mjs +14 -0
  125. package/skills/preset-creator/SKILL.md +179 -0
  126. package/skills/preset-creator/references/complex-task-skeleton/README.md +31 -0
  127. package/skills/preset-creator/references/complex-task-skeleton/artifacts/INDEX.md +12 -0
  128. package/skills/preset-creator/references/complex-task-skeleton/brief.md +32 -0
  129. package/skills/preset-creator/references/complex-task-skeleton/execution_strategy.md +71 -0
  130. package/skills/preset-creator/references/complex-task-skeleton/findings.md +24 -0
  131. package/skills/preset-creator/references/complex-task-skeleton/lesson_candidates.md +70 -0
  132. package/skills/preset-creator/references/complex-task-skeleton/long-running-task-contract.md +76 -0
  133. package/skills/preset-creator/references/complex-task-skeleton/progress.md +33 -0
  134. package/skills/preset-creator/references/complex-task-skeleton/references/INDEX.md +13 -0
  135. package/skills/preset-creator/references/complex-task-skeleton/review.md +107 -0
  136. package/skills/preset-creator/references/complex-task-skeleton/task_plan.md +111 -0
  137. package/{templates/planning/visual_roadmap.md → skills/preset-creator/references/complex-task-skeleton/visual_map.md} +24 -2
  138. package/skills/preset-creator/references/preset-package-skeleton.md +296 -0
  139. package/templates/AGENTS.md.template +51 -36
  140. package/templates/architecture/Architecture-SSoT.md +21 -0
  141. package/templates/architecture/README.md +49 -0
  142. package/templates/architecture/critical-flows.md +22 -0
  143. package/templates/architecture/local-repo-context.md +20 -0
  144. package/templates/architecture/service-catalog.md +17 -0
  145. package/templates/architecture/services/service-template.md +31 -0
  146. package/templates/architecture/system-map.md +22 -0
  147. package/templates/dashboard/assets/app-src/00-state.js +42 -0
  148. package/templates/dashboard/assets/app-src/10-router.js +77 -0
  149. package/templates/dashboard/assets/app-src/20-overview.js +241 -0
  150. package/templates/dashboard/assets/app-src/30-tasks.js +409 -0
  151. package/templates/dashboard/assets/app-src/35-task-detail.js +246 -0
  152. package/templates/dashboard/assets/app-src/40-modules.js +58 -0
  153. package/templates/dashboard/assets/app-src/45-review.js +347 -0
  154. package/templates/dashboard/assets/app-src/50-migration.js +183 -0
  155. package/templates/dashboard/assets/app-src/60-shared.js +61 -0
  156. package/templates/dashboard/assets/app-src/90-bindings.js +524 -0
  157. package/templates/dashboard/assets/app.css +3107 -300
  158. package/templates/dashboard/assets/app.css.manifest.json +9 -0
  159. package/templates/dashboard/assets/app.js +2068 -306
  160. package/templates/dashboard/assets/app.manifest.json +12 -0
  161. package/templates/dashboard/assets/css-src/00-foundation.css +342 -0
  162. package/templates/dashboard/assets/css-src/10-panels-flow.css +236 -0
  163. package/templates/dashboard/assets/css-src/20-briefs-controls.css +398 -0
  164. package/templates/dashboard/assets/css-src/30-task-index.css +739 -0
  165. package/templates/dashboard/assets/css-src/35-review-workspace.css +507 -0
  166. package/templates/dashboard/assets/css-src/40-detail-modules-migration.css +427 -0
  167. package/templates/dashboard/assets/css-src/50-responsive-overrides.css +551 -0
  168. package/templates/dashboard/assets/i18n.js +531 -44
  169. package/templates/dashboard/assets/mermaid-renderer.js +58 -8
  170. package/templates/development/README.md +52 -0
  171. package/templates/development/codebase-map.md +11 -0
  172. package/templates/development/cross-repo-debugging.md +18 -0
  173. package/templates/development/external-context/service-template.md +33 -0
  174. package/templates/development/external-source-packs/README.md +24 -0
  175. package/templates/development/external-source-packs/digest-template.md +28 -0
  176. package/templates/development/local-setup.md +16 -0
  177. package/templates/development/stubs-and-mocks.md +11 -0
  178. package/templates/integrations/README.md +40 -0
  179. package/templates/integrations/api-contract.md +42 -0
  180. package/templates/integrations/event-contract.md +46 -0
  181. package/templates/integrations/third-party/vendor-template.md +42 -0
  182. package/templates/integrations/webhook-contract.md +41 -0
  183. package/templates/ledger/Harness-Ledger.md +13 -25
  184. package/templates/lessons/lesson-arch-process-change.md +1 -1
  185. package/templates/lessons/lesson-new-doc.md +1 -1
  186. package/templates/lessons/lesson-ref-change.md +1 -1
  187. package/templates/planning/brief.md +32 -0
  188. package/templates/planning/execution_strategy.md +31 -0
  189. package/templates/planning/lesson_candidates.md +70 -0
  190. package/templates/planning/long-running-task-contract.md +7 -0
  191. package/templates/planning/module_brief.md +25 -0
  192. package/templates/planning/module_session_prompt.md +6 -0
  193. package/templates/planning/optional/artifacts/INDEX.md +3 -3
  194. package/templates/planning/optional/references/INDEX.md +3 -3
  195. package/templates/planning/review.md +59 -0
  196. package/templates/planning/task_plan.md +40 -15
  197. package/templates/planning/visual_map.md +50 -0
  198. package/templates/reference/docs-library-standard.md +31 -0
  199. package/templates/reference/execution-workflow-standard.md +5 -2
  200. package/templates/reference/external-source-intake-standard.md +82 -0
  201. package/templates/reference/harness-ledger-standard.md +1 -0
  202. package/templates/reference/pull-request-standard.md +80 -0
  203. package/templates/reference/repo-governance-standard.md +8 -5
  204. package/templates/reference/review-routing-standard.md +6 -0
  205. package/templates/reference/walkthrough-standard.md +3 -1
  206. package/templates/verifier/verifier-output.md +1 -1
  207. package/templates/walkthrough/walkthrough-template.md +2 -2
  208. package/templates-zh-CN/AGENTS.md.template +73 -70
  209. package/templates-zh-CN/architecture/Architecture-SSoT.md +21 -0
  210. package/templates-zh-CN/architecture/README.md +51 -0
  211. package/templates-zh-CN/architecture/critical-flows.md +24 -0
  212. package/templates-zh-CN/architecture/local-repo-context.md +20 -0
  213. package/templates-zh-CN/architecture/service-catalog.md +17 -0
  214. package/templates-zh-CN/architecture/services/service-template.md +31 -0
  215. package/templates-zh-CN/architecture/system-map.md +22 -0
  216. package/templates-zh-CN/development/README.md +54 -0
  217. package/templates-zh-CN/development/codebase-map.md +11 -0
  218. package/templates-zh-CN/development/cross-repo-debugging.md +18 -0
  219. package/templates-zh-CN/development/external-context/service-template.md +33 -0
  220. package/templates-zh-CN/development/external-source-packs/README.md +24 -0
  221. package/templates-zh-CN/development/external-source-packs/digest-template.md +28 -0
  222. package/templates-zh-CN/development/local-setup.md +16 -0
  223. package/templates-zh-CN/development/stubs-and-mocks.md +11 -0
  224. package/templates-zh-CN/integrations/README.md +42 -0
  225. package/templates-zh-CN/integrations/api-contract.md +42 -0
  226. package/templates-zh-CN/integrations/event-contract.md +46 -0
  227. package/templates-zh-CN/integrations/third-party/vendor-template.md +42 -0
  228. package/templates-zh-CN/integrations/webhook-contract.md +41 -0
  229. package/templates-zh-CN/ledger/Harness-Ledger.md +17 -40
  230. package/templates-zh-CN/planning/brief.md +32 -0
  231. package/templates-zh-CN/planning/execution_strategy.md +30 -0
  232. package/templates-zh-CN/planning/lesson_candidates.md +70 -0
  233. package/templates-zh-CN/planning/long-running-task-contract.md +1 -1
  234. package/templates-zh-CN/planning/module_brief.md +25 -0
  235. package/templates-zh-CN/planning/module_plan.md +2 -2
  236. package/templates-zh-CN/planning/module_session_prompt.md +4 -3
  237. package/templates-zh-CN/planning/review.md +59 -1
  238. package/templates-zh-CN/planning/task_plan.md +37 -11
  239. package/templates-zh-CN/planning/{visual_roadmap.md → visual_map.md} +21 -2
  240. package/templates-zh-CN/reference/adversarial-review-standard.md +1 -1
  241. package/templates-zh-CN/reference/docs-library-standard.md +36 -1
  242. package/templates-zh-CN/reference/execution-workflow-standard.md +10 -2
  243. package/templates-zh-CN/reference/external-source-intake-standard.md +82 -0
  244. package/templates-zh-CN/reference/harness-ledger-standard.md +7 -4
  245. package/templates-zh-CN/reference/pull-request-standard.md +106 -0
  246. package/templates-zh-CN/reference/repo-governance-standard.md +4 -1
  247. package/templates-zh-CN/reference/review-routing-standard.md +8 -1
  248. package/templates-zh-CN/reference/walkthrough-standard.md +6 -5
  249. package/templates-zh-CN/walkthrough/Closeout-SSoT.md +2 -2
  250. package/templates-zh-CN/walkthrough/walkthrough-template.md +2 -2
  251. package/scripts/smoke-dashboard.mjs +0 -70
  252. package/scripts/test-harness.mjs +0 -483
  253. package/templates/ssot/Feature-SSoT.md +0 -43
  254. package/templates/ssot/Lessons-SSoT.md +0 -44
  255. package/templates-zh-CN/dashboard/assets/app.css +0 -399
  256. package/templates-zh-CN/dashboard/assets/app.js +0 -435
  257. package/templates-zh-CN/dashboard/assets/i18n.js +0 -47
  258. package/templates-zh-CN/dashboard/assets/markdown-reader.js +0 -116
  259. package/templates-zh-CN/dashboard/assets/mermaid-renderer.js +0 -59
  260. package/templates-zh-CN/dashboard/index.html +0 -18
  261. package/templates-zh-CN/ssot/Feature-SSoT.md +0 -49
  262. package/templates-zh-CN/ssot/Lessons-SSoT.md +0 -49
@@ -0,0 +1,398 @@
1
+ /* Active Task Briefs */
2
+ .task-briefs {
3
+ display: grid;
4
+ gap: 16px;
5
+ }
6
+
7
+ .brief-grid {
8
+ display: grid;
9
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
10
+ gap: 16px;
11
+ }
12
+
13
+ .brief-scroll {
14
+ max-height: min(58vh, 620px);
15
+ overflow-y: auto;
16
+ padding: 2px 8px 2px 2px;
17
+ scrollbar-gutter: stable;
18
+ }
19
+
20
+ .brief-card {
21
+ background: var(--paper);
22
+ border: 1px solid var(--line);
23
+ border-radius: 12px;
24
+ box-shadow: var(--shadow);
25
+ padding: 20px;
26
+ overflow: hidden;
27
+ transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
28
+ }
29
+
30
+ .brief-card:hover {
31
+ transform: translateY(-3px);
32
+ box-shadow: var(--shadow-hover);
33
+ border-color: var(--accent);
34
+ }
35
+
36
+ .brief-card.compact {
37
+ box-shadow: none;
38
+ background: transparent;
39
+ border-color: var(--line);
40
+ padding: 16px 0;
41
+ }
42
+
43
+ .brief-card.compact:hover {
44
+ transform: none;
45
+ box-shadow: none;
46
+ border-color: var(--line);
47
+ }
48
+
49
+ .copy-task-name {
50
+ border: 1px solid var(--line);
51
+ background: var(--paper-2);
52
+ color: var(--muted);
53
+ border-radius: 6px;
54
+ padding: 5px 8px;
55
+ font-size: 11px;
56
+ font-weight: 800;
57
+ line-height: 1.2;
58
+ cursor: pointer;
59
+ white-space: nowrap;
60
+ }
61
+
62
+ .copy-task-name:hover {
63
+ color: var(--accent);
64
+ border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
65
+ }
66
+
67
+ .copy-task-name.compact,
68
+ .copy-task-name.row-copy {
69
+ padding: 4px 7px;
70
+ }
71
+
72
+ .copy-task-name.row-copy {
73
+ margin-top: 8px;
74
+ width: fit-content;
75
+ }
76
+
77
+ .copy-task-name.detail-copy {
78
+ margin-top: 10px;
79
+ }
80
+
81
+ .card-head {
82
+ display: flex;
83
+ justify-content: space-between;
84
+ gap: 14px;
85
+ margin-bottom: 14px;
86
+ }
87
+
88
+ .card-head a {
89
+ font-size: 15px;
90
+ font-weight: 800;
91
+ color: var(--ink);
92
+ }
93
+
94
+ .card-head a:hover {
95
+ color: var(--accent);
96
+ }
97
+
98
+ .card-head p {
99
+ margin: 4px 0 0;
100
+ font-family: var(--font-mono);
101
+ font-size: 11px;
102
+ }
103
+
104
+ /* Beautiful Shimmering Progress Bar */
105
+ .progress {
106
+ height: 8px;
107
+ border-radius: 999px;
108
+ background: var(--paper-2);
109
+ overflow: hidden;
110
+ margin: 14px 0;
111
+ }
112
+
113
+ .progress i {
114
+ display: block;
115
+ height: 100%;
116
+ border-radius: 999px;
117
+ background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
118
+ background-size: 200% 100%;
119
+ animation: shimmer-flow 3s infinite linear;
120
+ }
121
+
122
+ /* Translucent Tags & Status Pills */
123
+ .tag {
124
+ display: inline-flex;
125
+ align-items: center;
126
+ justify-content: center;
127
+ height: fit-content;
128
+ border-radius: 999px; /* Pill */
129
+ padding: 4px 10px;
130
+ font-size: 11px;
131
+ font-weight: 700;
132
+ letter-spacing: 0.02em;
133
+ background: var(--paper-2);
134
+ color: var(--muted);
135
+ white-space: nowrap;
136
+ border: 1px solid transparent;
137
+ transition: all 0.2s ease;
138
+ }
139
+
140
+ .tag.pass {
141
+ color: var(--ok);
142
+ background: rgba(22, 163, 74, 0.08);
143
+ border-color: rgba(22, 163, 74, 0.2);
144
+ }
145
+
146
+ .tag.warn {
147
+ color: var(--warn);
148
+ background: rgba(217, 119, 6, 0.08);
149
+ border-color: rgba(217, 119, 6, 0.2);
150
+ }
151
+
152
+ .tag.fail {
153
+ color: var(--danger);
154
+ background: rgba(225, 29, 72, 0.08);
155
+ border-color: rgba(225, 29, 72, 0.2);
156
+ }
157
+
158
+ /* Premium Typography & Markdown Rendering */
159
+ .markdown {
160
+ min-width: 0;
161
+ max-width: 100%;
162
+ line-height: 1.6;
163
+ overflow-wrap: anywhere;
164
+ font-size: 14px;
165
+ }
166
+
167
+ .markdown h1 {
168
+ font-size: 24px;
169
+ font-weight: 800;
170
+ letter-spacing: -0.02em;
171
+ margin-bottom: 16px;
172
+ }
173
+
174
+ .markdown h2 {
175
+ font-size: 18px;
176
+ font-weight: 800;
177
+ letter-spacing: -0.015em;
178
+ margin-top: 24px;
179
+ margin-bottom: 12px;
180
+ border-bottom: 1px solid var(--line);
181
+ padding-bottom: 6px;
182
+ }
183
+
184
+ .markdown h3 {
185
+ font-size: 15px;
186
+ font-weight: 700;
187
+ margin-top: 18px;
188
+ margin-bottom: 8px;
189
+ }
190
+
191
+ .markdown p, .markdown ul, .markdown ol {
192
+ margin-bottom: 16px;
193
+ }
194
+
195
+ .markdown pre {
196
+ max-width: 100%;
197
+ overflow: auto;
198
+ background: var(--paper-2);
199
+ border: 1px solid var(--line);
200
+ border-radius: 8px;
201
+ padding: 14px;
202
+ font-family: var(--font-mono);
203
+ font-size: 13px;
204
+ }
205
+
206
+ .markdown code {
207
+ font-family: var(--font-mono);
208
+ background: var(--paper-2);
209
+ border: 1px solid var(--line);
210
+ border-radius: 4px;
211
+ padding: 2px 5px;
212
+ font-size: 12px;
213
+ }
214
+
215
+ .markdown blockquote {
216
+ border-left: 4px solid var(--accent);
217
+ padding: 8px 16px;
218
+ margin: 0 0 16px;
219
+ background: var(--paper-2);
220
+ border-radius: 0 8px 8px 0;
221
+ color: var(--muted);
222
+ }
223
+
224
+ .rendered-table-wrap {
225
+ max-width: 100%;
226
+ overflow: auto;
227
+ border: 1px solid var(--line);
228
+ border-radius: 8px;
229
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
230
+ margin-bottom: 16px;
231
+ }
232
+
233
+ .rendered-table {
234
+ width: 100%;
235
+ border-collapse: collapse;
236
+ font-size: 13px;
237
+ }
238
+
239
+ .rendered-table th {
240
+ background: var(--paper-2);
241
+ font-weight: 700;
242
+ color: var(--ink);
243
+ border-bottom: 2px solid var(--line);
244
+ padding: 10px 12px;
245
+ }
246
+
247
+ .rendered-table td {
248
+ border-bottom: 1px solid var(--line);
249
+ padding: 10px 12px;
250
+ vertical-align: top;
251
+ }
252
+
253
+ .rendered-table tr:last-child td {
254
+ border-bottom: none;
255
+ }
256
+
257
+ .rendered-table tr:hover {
258
+ background: var(--paper-2);
259
+ }
260
+
261
+ .missing-brief {
262
+ border-left: 3px solid var(--warn);
263
+ padding: 12px 16px;
264
+ background: rgba(217, 119, 6, 0.04);
265
+ border-radius: 0 8px 8px 0;
266
+ color: var(--muted);
267
+ }
268
+
269
+ /* Linear-style Form Controls & Search bar */
270
+ .index-toolbar {
271
+ display: grid;
272
+ grid-template-columns: minmax(220px, 1.8fr) 170px 170px auto;
273
+ gap: 12px;
274
+ align-items: center;
275
+ padding: 16px;
276
+ box-shadow: var(--shadow);
277
+ }
278
+
279
+ .index-toolbar input,
280
+ .index-toolbar select,
281
+ .warning-toolbar select {
282
+ border: 1px solid var(--line);
283
+ background: var(--paper);
284
+ color: var(--ink);
285
+ border-radius: 8px;
286
+ padding: 10px 14px;
287
+ font-size: 13px;
288
+ font-weight: 600;
289
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
290
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
291
+ }
292
+
293
+ .index-toolbar input:focus,
294
+ .index-toolbar select:focus,
295
+ .warning-toolbar select:focus {
296
+ border-color: var(--accent);
297
+ box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
298
+ outline: none;
299
+ }
300
+
301
+ .task-group {
302
+ overflow: hidden;
303
+ }
304
+
305
+ .task-group .section-head {
306
+ display: flex;
307
+ justify-content: space-between;
308
+ align-items: center;
309
+ padding: 16px 20px;
310
+ border-bottom: 1px solid var(--line);
311
+ border-left: 4px solid var(--accent);
312
+ margin: 0;
313
+ background: var(--paper-2);
314
+ }
315
+
316
+ .task-group .section-head h2 {
317
+ font-size: 15px;
318
+ font-weight: 800;
319
+ }
320
+
321
+ .task-group .section-head .group-actions {
322
+ display: flex;
323
+ align-items: center;
324
+ gap: 16px;
325
+ }
326
+
327
+ .task-group .section-head .group-progress {
328
+ display: flex;
329
+ align-items: center;
330
+ gap: 8px;
331
+ font-size: 12px;
332
+ font-weight: 700;
333
+ color: var(--muted);
334
+ }
335
+
336
+ .task-group .section-head .group-progress-track {
337
+ width: 80px;
338
+ height: 6px;
339
+ background: var(--paper);
340
+ border-radius: 3px;
341
+ overflow: hidden;
342
+ border: 1px solid var(--line);
343
+ }
344
+
345
+ .task-group .section-head .group-progress-fill {
346
+ height: 100%;
347
+ border-radius: 3px;
348
+ background: linear-gradient(90deg, var(--accent), var(--accent-2));
349
+ transition: width 0.4s ease;
350
+ }
351
+
352
+ .task-list {
353
+ display: grid;
354
+ }
355
+
356
+ /* Legacy task-row (kept for compatibility) */
357
+ .task-row {
358
+ display: grid;
359
+ grid-template-columns: minmax(0, 1.8fr) 130px 100px 140px;
360
+ gap: 12px;
361
+ align-items: center;
362
+ padding: 14px 20px;
363
+ border-bottom: 1px solid var(--line);
364
+ text-decoration: none;
365
+ background: var(--paper);
366
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
367
+ }
368
+
369
+ .task-row-head {
370
+ color: var(--muted);
371
+ font-size: 11px;
372
+ font-weight: 800;
373
+ text-transform: uppercase;
374
+ letter-spacing: 0.08em;
375
+ background: var(--paper-2);
376
+ }
377
+
378
+ .task-row:hover:not(.task-row-head) {
379
+ background: var(--paper-2);
380
+ transform: translateX(4px);
381
+ }
382
+
383
+ .task-row span:first-child {
384
+ min-width: 0;
385
+ }
386
+
387
+ .task-row strong {
388
+ font-size: 14px;
389
+ font-weight: 700;
390
+ color: var(--ink);
391
+ }
392
+
393
+ .task-row small {
394
+ display: block;
395
+ font-family: var(--font-mono);
396
+ font-size: 11px;
397
+ margin-top: 4px;
398
+ }