memoryking 0.1.0__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 (179) hide show
  1. memoryking/__init__.py +3 -0
  2. memoryking/__main__.py +1328 -0
  3. memoryking/adapters/__init__.py +1 -0
  4. memoryking/adapters/adapter_state.py +242 -0
  5. memoryking/adapters/anchor_schema.sql +7 -0
  6. memoryking/adapters/atlas.py +441 -0
  7. memoryking/adapters/browser_commands.py +125 -0
  8. memoryking/adapters/dashboard.py +510 -0
  9. memoryking/adapters/dense_search.py +86 -0
  10. memoryking/adapters/egress_policy.py +244 -0
  11. memoryking/adapters/egress_schema.sql +13 -0
  12. memoryking/adapters/embedding.schema.json +302 -0
  13. memoryking/adapters/embedding_store.py +469 -0
  14. memoryking/adapters/execution.py +369 -0
  15. memoryking/adapters/experience.py +423 -0
  16. memoryking/adapters/experience.schema.json +1508 -0
  17. memoryking/adapters/experience_records.py +239 -0
  18. memoryking/adapters/experience_schema.sql +23 -0
  19. memoryking/adapters/handoff.py +494 -0
  20. memoryking/adapters/handoff.schema.json +299 -0
  21. memoryking/adapters/handoff_schema.sql +17 -0
  22. memoryking/adapters/index_schema.sql +11 -0
  23. memoryking/adapters/inference.py +454 -0
  24. memoryking/adapters/inference.schema.json +541 -0
  25. memoryking/adapters/inspection.py +1128 -0
  26. memoryking/adapters/inspection.schema.json +568 -0
  27. memoryking/adapters/knowledge.schema.json +633 -0
  28. memoryking/adapters/knowledge_schema.sql +37 -0
  29. memoryking/adapters/knowledge_store.py +800 -0
  30. memoryking/adapters/legacy_snapshot.py +358 -0
  31. memoryking/adapters/legacy_tables.py +49 -0
  32. memoryking/adapters/local_contract.py +45 -0
  33. memoryking/adapters/local_embeddings.py +189 -0
  34. memoryking/adapters/local_files.py +242 -0
  35. memoryking/adapters/local_ipc.py +258 -0
  36. memoryking/adapters/local_schema.sql +44 -0
  37. memoryking/adapters/local_store.py +632 -0
  38. memoryking/adapters/local_wire.schema.json +7672 -0
  39. memoryking/adapters/models/minilm-l6-v2-onnx.json +57 -0
  40. memoryking/adapters/models/ms-marco-minilm-l6-v2-onnx.json +57 -0
  41. memoryking/adapters/optional_schema.sql +43 -0
  42. memoryking/adapters/plan_dashboard.py +51 -0
  43. memoryking/adapters/plans.py +253 -0
  44. memoryking/adapters/postgres_admin.py +300 -0
  45. memoryking/adapters/postgres_anchor_schema.sql +9 -0
  46. memoryking/adapters/postgres_counter.sql +14 -0
  47. memoryking/adapters/postgres_egress_schema.sql +15 -0
  48. memoryking/adapters/postgres_experience_schema.sql +39 -0
  49. memoryking/adapters/postgres_index_schema.sql +7 -0
  50. memoryking/adapters/postgres_optional_schema.sql +71 -0
  51. memoryking/adapters/postgres_pool.py +77 -0
  52. memoryking/adapters/postgres_recovery.py +525 -0
  53. memoryking/adapters/postgres_schema.sql +365 -0
  54. memoryking/adapters/postgres_sql.py +102 -0
  55. memoryking/adapters/postgres_store.py +428 -0
  56. memoryking/adapters/postgres_summary_schema.sql +12 -0
  57. memoryking/adapters/postgres_trust_schema.sql +20 -0
  58. memoryking/adapters/processing.schema.json +471 -0
  59. memoryking/adapters/processing_store.py +346 -0
  60. memoryking/adapters/projects.py +83 -0
  61. memoryking/adapters/proposals.py +238 -0
  62. memoryking/adapters/ranking.py +315 -0
  63. memoryking/adapters/repository.schema.json +664 -0
  64. memoryking/adapters/repository_git.py +264 -0
  65. memoryking/adapters/repository_schema.sql +25 -0
  66. memoryking/adapters/repository_store.py +960 -0
  67. memoryking/adapters/retrieval.py +1285 -0
  68. memoryking/adapters/retrieval.schema.json +553 -0
  69. memoryking/adapters/retrieval_schema.sql +10 -0
  70. memoryking/adapters/shared_control.py +40 -0
  71. memoryking/adapters/shared_dashboard.py +636 -0
  72. memoryking/adapters/shared_gateway.py +63 -0
  73. memoryking/adapters/shared_http.py +216 -0
  74. memoryking/adapters/shared_mcp.py +159 -0
  75. memoryking/adapters/shared_service.py +124 -0
  76. memoryking/adapters/stdio.py +193 -0
  77. memoryking/adapters/stdio.tools.json +6776 -0
  78. memoryking/adapters/summary_schema.sql +10 -0
  79. memoryking/adapters/team.py +253 -0
  80. memoryking/adapters/timeline.py +80 -0
  81. memoryking/adapters/token_count.py +55 -0
  82. memoryking/adapters/tokenizers/LICENSE +21 -0
  83. memoryking/adapters/tokenizers/cl100k_base.tiktoken +100256 -0
  84. memoryking/adapters/trust.py +123 -0
  85. memoryking/adapters/trust_schema.sql +13 -0
  86. memoryking/adapters/web/app.css +1251 -0
  87. memoryking/adapters/web/app.js +907 -0
  88. memoryking/adapters/web/brand.js +44 -0
  89. memoryking/adapters/web/crown-mono.svg +1 -0
  90. memoryking/adapters/web/crown.svg +8 -0
  91. memoryking/adapters/web/elephant.png +0 -0
  92. memoryking/adapters/web/favicon.svg +8 -0
  93. memoryking/adapters/web/graph-layout.js +52 -0
  94. memoryking/adapters/web/graph-worker.js +10 -0
  95. memoryking/adapters/web/graph.js +570 -0
  96. memoryking/adapters/web/index.html +208 -0
  97. memoryking/adapters/web/observatory.js +1208 -0
  98. memoryking/adapters/web/team.js +151 -0
  99. memoryking/adapters/web/wordmark.svg +1 -0
  100. memoryking/adapters/working.py +971 -0
  101. memoryking/adapters/working.schema.json +1717 -0
  102. memoryking/adapters/working_schema.sql +24 -0
  103. memoryking/application/__init__.py +1 -0
  104. memoryking/application/conformance.py +50 -0
  105. memoryking/application/legacy_import.py +337 -0
  106. memoryking/application/local_port.py +9 -0
  107. memoryking/application/storage.py +117 -0
  108. memoryking/application/store_core.py +1292 -0
  109. memoryking/backups.py +131 -0
  110. memoryking/contracts/__init__.py +6 -0
  111. memoryking/contracts/__main__.py +20 -0
  112. memoryking/contracts/canonical.py +88 -0
  113. memoryking/contracts/embedding.schema.json +302 -0
  114. memoryking/contracts/embedding_generated.py +65 -0
  115. memoryking/contracts/experience.schema.json +1508 -0
  116. memoryking/contracts/experience_generated.py +239 -0
  117. memoryking/contracts/generated.py +122 -0
  118. memoryking/contracts/handoff.schema.json +299 -0
  119. memoryking/contracts/handoff_generated.py +69 -0
  120. memoryking/contracts/inference.schema.json +541 -0
  121. memoryking/contracts/inference_generated.py +106 -0
  122. memoryking/contracts/processing.schema.json +471 -0
  123. memoryking/contracts/processing_generated.py +82 -0
  124. memoryking/contracts/py.typed +0 -0
  125. memoryking/contracts/repository.schema.json +664 -0
  126. memoryking/contracts/repository_generated.py +144 -0
  127. memoryking/contracts/retrieval.schema.json +553 -0
  128. memoryking/contracts/retrieval_generated.py +110 -0
  129. memoryking/contracts/schema.json +696 -0
  130. memoryking/contracts/validation.py +92 -0
  131. memoryking/contracts/working.schema.json +1717 -0
  132. memoryking/contracts/working_generated.py +291 -0
  133. memoryking/domain/__init__.py +1 -0
  134. memoryking/domain/anchors.py +97 -0
  135. memoryking/domain/briefing.py +108 -0
  136. memoryking/domain/briefing_text.py +222 -0
  137. memoryking/domain/checkpoint.py +118 -0
  138. memoryking/domain/compression.py +64 -0
  139. memoryking/domain/delta.py +129 -0
  140. memoryking/domain/embeddings.py +90 -0
  141. memoryking/domain/hints.py +465 -0
  142. memoryking/domain/http_status.py +45 -0
  143. memoryking/domain/learning.py +62 -0
  144. memoryking/domain/local.py +65 -0
  145. memoryking/domain/plans.py +140 -0
  146. memoryking/domain/repository.py +118 -0
  147. memoryking/domain/selectors.py +356 -0
  148. memoryking/domain/summary.py +88 -0
  149. memoryking/domain/usage.py +163 -0
  150. memoryking/embedding_loop.py +98 -0
  151. memoryking/embedding_worker.py +131 -0
  152. memoryking/harness.py +882 -0
  153. memoryking/harness_context.py +376 -0
  154. memoryking/hooks.py +171 -0
  155. memoryking/host_hooks.py +454 -0
  156. memoryking/lean.py +352 -0
  157. memoryking/memory_tool.py +776 -0
  158. memoryking/migration.py +194 -0
  159. memoryking/model_install.py +78 -0
  160. memoryking/observability.py +101 -0
  161. memoryking/observability_metrics.py +100 -0
  162. memoryking/profiles.py +150 -0
  163. memoryking/providers.py +330 -0
  164. memoryking/py.typed +0 -0
  165. memoryking/pytest_plugin.py +69 -0
  166. memoryking/reference_agent.py +152 -0
  167. memoryking/repository_worker.py +57 -0
  168. memoryking/resume_adapter.py +154 -0
  169. memoryking/sdk.py +302 -0
  170. memoryking/shared.py +301 -0
  171. memoryking/shared_sdk.py +101 -0
  172. memoryking/vault.py +176 -0
  173. memoryking-0.1.0.dist-info/METADATA +157 -0
  174. memoryking-0.1.0.dist-info/RECORD +179 -0
  175. memoryking-0.1.0.dist-info/WHEEL +5 -0
  176. memoryking-0.1.0.dist-info/entry_points.txt +7 -0
  177. memoryking-0.1.0.dist-info/licenses/LICENSE +202 -0
  178. memoryking-0.1.0.dist-info/licenses/NOTICE +12 -0
  179. memoryking-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1251 @@
1
+ :root {
2
+ color-scheme: dark;
3
+ --bg: #080e13;
4
+ --panel: #111c24;
5
+ --panel2: #192a34;
6
+ --text: #edf5f8;
7
+ --muted: #a7bdc9;
8
+ --line: #324955;
9
+ --accent: #8bdcea;
10
+ --cyan: #70c6ed;
11
+ --good: #8fddaf;
12
+ --amber: #f0c481;
13
+ --bad: #ef8a86;
14
+ --violet: #c7aef5;
15
+ --steel: #9fb3bf;
16
+ }
17
+ * {
18
+ box-sizing: border-box;
19
+ }
20
+ body {
21
+ margin: 0;
22
+ background-color: var(--bg);
23
+ background-image:
24
+ linear-gradient(#8bdcea05 1px, transparent 1px),
25
+ linear-gradient(90deg, #8bdcea05 1px, transparent 1px),
26
+ radial-gradient(ellipse at 80% 0, #1c59652b, transparent 55%);
27
+ background-size:
28
+ 48px 48px,
29
+ 48px 48px,
30
+ 100% 100%;
31
+ color: var(--text);
32
+ font-family:
33
+ ui-sans-serif,
34
+ -apple-system,
35
+ BlinkMacSystemFont,
36
+ "Segoe UI",
37
+ sans-serif;
38
+ font-size: 14px;
39
+ line-height: 1.6;
40
+ }
41
+ body.light {
42
+ color-scheme: light;
43
+ --bg: #eaf0f3;
44
+ --panel: #fff;
45
+ --panel2: #e2ebef;
46
+ --text: #172d38;
47
+ --muted: #4c6470;
48
+ --line: #b8cbd3;
49
+ --accent: #006b7c;
50
+ --cyan: #185d8b;
51
+ --good: #236840;
52
+ --amber: #875d17;
53
+ --bad: #a3302b;
54
+ --violet: #5a3d9c;
55
+ --steel: #55707e;
56
+ }
57
+ button,
58
+ input {
59
+ font: inherit;
60
+ }
61
+ button,
62
+ a {
63
+ touch-action: manipulation;
64
+ }
65
+ button {
66
+ cursor: pointer;
67
+ background: var(--panel2);
68
+ color: var(--text);
69
+ border: 1px solid var(--line);
70
+ border-radius: 5px;
71
+ padding: 9px 14px;
72
+ }
73
+ button:hover {
74
+ border-color: var(--accent);
75
+ }
76
+ button:focus-visible,
77
+ a:focus-visible,
78
+ input:focus-visible {
79
+ outline: 3px solid var(--cyan);
80
+ outline-offset: 3px;
81
+ }
82
+ a {
83
+ color: var(--accent);
84
+ text-decoration: none;
85
+ }
86
+ a:hover {
87
+ text-decoration: underline;
88
+ }
89
+ .shell {
90
+ display: grid;
91
+ grid-template-columns: 232px minmax(0, 1fr);
92
+ min-height: 100vh;
93
+ }
94
+ aside {
95
+ border-right: 1px solid var(--line);
96
+ padding: 32px 20px;
97
+ position: sticky;
98
+ top: 0;
99
+ height: 100vh;
100
+ display: flex;
101
+ flex-direction: column;
102
+ background:
103
+ linear-gradient(90deg, #ffffff03, transparent 30%, #00000018),
104
+ repeating-linear-gradient(0deg, #ffffff02 0 1px, transparent 1px 4px),
105
+ var(--panel);
106
+ box-shadow:
107
+ inset 0 3px #b9564b,
108
+ 6px 0 32px #00000016;
109
+ }
110
+ .brand {
111
+ display: flex;
112
+ gap: 10px;
113
+ align-items: center;
114
+ color: var(--text);
115
+ font-size: 20px;
116
+ font-weight: 700;
117
+ letter-spacing: -0.8px;
118
+ }
119
+ .brand img {
120
+ object-fit: contain;
121
+ flex-shrink: 0;
122
+ filter: drop-shadow(0 5px 12px #68c6df29);
123
+ }
124
+ .brand small {
125
+ display: block;
126
+ letter-spacing: 0.2px;
127
+ font-size: 11px;
128
+ color: var(--muted);
129
+ margin-top: 3px;
130
+ }
131
+ .nav-title,
132
+ .eyebrow {
133
+ font-size: 11px;
134
+ font-weight: 600;
135
+ letter-spacing: 0.2px;
136
+ color: var(--muted);
137
+ }
138
+ .nav-title {
139
+ margin: 32px 12px 12px;
140
+ }
141
+ .nav {
142
+ text-align: left;
143
+ padding: 12px 10px;
144
+ margin-bottom: 8px;
145
+ border-radius: 5px;
146
+ }
147
+ .nav.selected {
148
+ color: var(--accent);
149
+ background: linear-gradient(90deg, #61cbdc19, transparent), var(--panel2);
150
+ box-shadow: inset 2px 0 var(--accent);
151
+ }
152
+ .nav small {
153
+ display: block;
154
+ padding-left: 27px;
155
+ font-size: 10px;
156
+ }
157
+ .muted {
158
+ color: var(--muted);
159
+ }
160
+ .side-note {
161
+ margin-top: auto;
162
+ padding: 24px 8px;
163
+ font-size: 12px;
164
+ font-weight: 600;
165
+ color: var(--muted);
166
+ }
167
+ .side-note p {
168
+ font-size: 12px;
169
+ font-weight: 400;
170
+ letter-spacing: 0;
171
+ color: var(--muted);
172
+ }
173
+ .dot {
174
+ display: inline-block;
175
+ width: 6px;
176
+ height: 6px;
177
+ background: var(--cyan);
178
+ border-radius: 50%;
179
+ margin-right: 6px;
180
+ }
181
+ .quiet {
182
+ font-size: 12px;
183
+ }
184
+ main {
185
+ max-width: 1520px;
186
+ width: 100%;
187
+ padding: 38px 38px 24px;
188
+ margin: auto;
189
+ }
190
+ header {
191
+ display: flex;
192
+ justify-content: space-between;
193
+ align-items: flex-start;
194
+ gap: 24px;
195
+ margin-bottom: 24px;
196
+ padding-bottom: 22px;
197
+ border-bottom: 1px solid var(--line);
198
+ }
199
+ h1 {
200
+ font-size: 26px;
201
+ line-height: 1.3;
202
+ letter-spacing: -0.4px;
203
+ margin: 0;
204
+ }
205
+ h2 {
206
+ font-size: 19px;
207
+ line-height: 1.4;
208
+ letter-spacing: -0.4px;
209
+ margin: 8px 0 18px;
210
+ }
211
+ h3 {
212
+ margin: 0;
213
+ font-size: 15px;
214
+ }
215
+ p {
216
+ color: var(--muted);
217
+ }
218
+ .subtitle {
219
+ max-width: 620px;
220
+ margin: 10px 0;
221
+ }
222
+ .controls {
223
+ display: flex;
224
+ flex-wrap: wrap;
225
+ gap: 8px;
226
+ justify-content: flex-end;
227
+ font-size: 11px;
228
+ }
229
+ .controls span {
230
+ flex-basis: 100%;
231
+ text-align: right;
232
+ color: var(--cyan);
233
+ padding: 5px;
234
+ }
235
+ .controls button {
236
+ font-size: 11px;
237
+ padding: 6px 10px;
238
+ }
239
+ .card {
240
+ border: 1px solid var(--line);
241
+ border-radius: 8px;
242
+ background: linear-gradient(135deg, #ffffff06, transparent 32%), var(--panel);
243
+ box-shadow:
244
+ inset 0 1px #ffffff08,
245
+ 0 10px 30px #00000012;
246
+ padding: 24px;
247
+ }
248
+ .metrics {
249
+ display: grid;
250
+ grid-template-columns: repeat(4, minmax(0, 1fr));
251
+ gap: 16px;
252
+ margin-bottom: 22px;
253
+ }
254
+ .metric {
255
+ padding: 20px 22px;
256
+ }
257
+ .metric strong {
258
+ font-size: 31px;
259
+ letter-spacing: -1px;
260
+ display: block;
261
+ margin: 6px 0;
262
+ color: var(--text);
263
+ }
264
+ .metric p {
265
+ font-size: 11px;
266
+ margin: 0;
267
+ }
268
+ .metric .eyebrow {
269
+ letter-spacing: 1px;
270
+ }
271
+ .comparison {
272
+ border: 1px solid var(--line);
273
+ border-radius: 6px;
274
+ padding: 12px 14px;
275
+ margin-top: 12px;
276
+ }
277
+ .comparison h4,
278
+ .comparison h5 {
279
+ margin: 0 0 6px;
280
+ }
281
+ .capacity {
282
+ margin-bottom: 22px;
283
+ }
284
+ .capacity-list {
285
+ display: grid;
286
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
287
+ gap: 12px;
288
+ margin-top: 16px;
289
+ }
290
+ .capacity-item {
291
+ border: 1px solid var(--line);
292
+ border-radius: 6px;
293
+ padding: 12px 14px;
294
+ }
295
+ .capacity-item strong {
296
+ display: block;
297
+ font-size: 20px;
298
+ letter-spacing: -0.5px;
299
+ margin: 4px 0;
300
+ color: var(--text);
301
+ }
302
+ .capacity-item p {
303
+ font-size: 11px;
304
+ margin: 0;
305
+ }
306
+ .capacity-item.warning {
307
+ border-color: #d9822b;
308
+ }
309
+ .capacity-meter {
310
+ height: 4px;
311
+ border-radius: 2px;
312
+ background: var(--line);
313
+ margin-top: 8px;
314
+ overflow: hidden;
315
+ }
316
+ .capacity-meter span {
317
+ display: block;
318
+ height: 100%;
319
+ background: currentColor;
320
+ }
321
+ .section-head {
322
+ display: flex;
323
+ justify-content: space-between;
324
+ gap: 16px;
325
+ align-items: flex-start;
326
+ }
327
+ .tag {
328
+ border: 1px solid var(--line);
329
+ border-radius: 5px;
330
+ padding: 3px 7px;
331
+ font-size: 10px;
332
+ color: var(--muted);
333
+ white-space: nowrap;
334
+ }
335
+ .caption {
336
+ font-size: 10px;
337
+ color: var(--muted);
338
+ margin-bottom: 0;
339
+ }
340
+ .workspace {
341
+ display: grid;
342
+ grid-template-columns: minmax(260px, 0.9fr) minmax(350px, 1.6fr);
343
+ gap: 22px;
344
+ }
345
+ .actions {
346
+ display: flex;
347
+ flex-wrap: wrap;
348
+ gap: 10px;
349
+ margin-top: 20px;
350
+ }
351
+ .actions a {
352
+ border: 1px solid var(--line);
353
+ border-radius: 8px;
354
+ padding: 8px 12px;
355
+ font-size: 12px;
356
+ }
357
+ .integrity {
358
+ border-left: 2px solid var(--cyan);
359
+ padding-left: 13px;
360
+ margin-top: 22px;
361
+ }
362
+ .login {
363
+ display: grid;
364
+ grid-template-columns: 1fr 1fr;
365
+ gap: 36px;
366
+ }
367
+ .login code {
368
+ font-size: 11px;
369
+ overflow-wrap: anywhere;
370
+ }
371
+ .login form {
372
+ display: flex;
373
+ flex-direction: column;
374
+ gap: 10px;
375
+ justify-content: center;
376
+ }
377
+ .login label {
378
+ font-size: 12px;
379
+ color: var(--muted);
380
+ }
381
+ input {
382
+ padding: 12px;
383
+ border: 1px solid var(--line);
384
+ border-radius: 7px;
385
+ background: var(--bg);
386
+ color: var(--text);
387
+ width: 100%;
388
+ }
389
+ .primary {
390
+ background: var(--accent);
391
+ color: var(--bg);
392
+ font-weight: 650;
393
+ }
394
+ #notice {
395
+ color: var(--amber);
396
+ }
397
+ footer {
398
+ margin-top: 26px;
399
+ color: var(--muted);
400
+ font-size: 10px;
401
+ overflow-wrap: anywhere;
402
+ }
403
+ .skip {
404
+ position: fixed;
405
+ top: -100px;
406
+ z-index: 10;
407
+ background: var(--panel);
408
+ padding: 10px;
409
+ }
410
+ .skip:focus {
411
+ top: 10px;
412
+ }
413
+ [hidden] {
414
+ display: none !important;
415
+ }
416
+ @media (max-width: 1100px) {
417
+ .shell {
418
+ grid-template-columns: 190px minmax(0, 1fr);
419
+ }
420
+ aside {
421
+ padding: 26px 12px;
422
+ }
423
+ main {
424
+ padding: 28px 22px;
425
+ }
426
+ .brand {
427
+ font-size: 18px;
428
+ }
429
+ .metrics {
430
+ grid-template-columns: repeat(2, 1fr);
431
+ }
432
+ .workspace {
433
+ grid-template-columns: 1fr;
434
+ }
435
+ header {
436
+ flex-direction: column;
437
+ }
438
+ .controls {
439
+ justify-content: flex-start;
440
+ }
441
+ .controls span {
442
+ text-align: left;
443
+ flex-basis: auto;
444
+ }
445
+ }
446
+ @media (max-width: 650px) {
447
+ main {
448
+ padding: 18px 14px;
449
+ }
450
+ h1 {
451
+ font-size: 24px;
452
+ }
453
+ .card {
454
+ padding: 18px;
455
+ }
456
+ .metrics {
457
+ gap: 10px;
458
+ }
459
+ .metric {
460
+ padding: 14px;
461
+ }
462
+ .metric strong {
463
+ font-size: 25px;
464
+ }
465
+ .login {
466
+ grid-template-columns: 1fr;
467
+ }
468
+ .workspace {
469
+ display: block;
470
+ }
471
+ .tag {
472
+ white-space: normal;
473
+ }
474
+ .section-head {
475
+ gap: 8px;
476
+ }
477
+ }
478
+
479
+ .retrieval-lab {
480
+ margin-top: 24px;
481
+ }
482
+ .receipt-form {
483
+ display: flex;
484
+ align-items: center;
485
+ gap: 12px;
486
+ flex-wrap: wrap;
487
+ margin: 24px 0;
488
+ }
489
+ .receipt-form input {
490
+ max-width: 280px;
491
+ }
492
+ .receipt-workspace {
493
+ display: grid;
494
+ grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
495
+ gap: 24px;
496
+ }
497
+ .receipt-row {
498
+ display: flex;
499
+ flex-direction: column;
500
+ align-items: flex-start;
501
+ gap: 8px;
502
+ width: 100%;
503
+ margin-bottom: 10px;
504
+ padding: 16px;
505
+ text-align: left;
506
+ }
507
+ .receipt-row small {
508
+ opacity: 0.75;
509
+ }
510
+ #receipt-detail code {
511
+ display: block;
512
+ white-space: pre-wrap;
513
+ overflow-wrap: anywhere;
514
+ font-size: 0.8rem;
515
+ }
516
+ #receipt-detail meter {
517
+ width: 100%;
518
+ height: 24px;
519
+ accent-color: #63dcc7;
520
+ }
521
+ .trace-stage {
522
+ border-left: 2px solid var(--accent);
523
+ padding: 12px 16px;
524
+ margin: 12px 0;
525
+ }
526
+ @media (max-width: 760px) {
527
+ .receipt-workspace {
528
+ grid-template-columns: 1fr;
529
+ }
530
+ }
531
+ .trace-facts {
532
+ display: flex;
533
+ flex-wrap: wrap;
534
+ gap: 8px 18px;
535
+ margin-top: 8px;
536
+ font-size: 0.84rem;
537
+ opacity: 0.85;
538
+ }
539
+ #receipt-detail meter.budget-failed::-webkit-meter-optimum-value {
540
+ background: #d46c76;
541
+ }
542
+
543
+ .execution-panel,
544
+ .team-panel {
545
+ margin-top: 24px;
546
+ }
547
+ .projects {
548
+ margin-bottom: 22px;
549
+ }
550
+ .project-grid {
551
+ display: grid;
552
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
553
+ gap: 12px;
554
+ margin-top: 16px;
555
+ }
556
+ .project-card {
557
+ text-align: left;
558
+ display: flex;
559
+ flex-direction: column;
560
+ gap: 4px;
561
+ padding: 14px;
562
+ border-radius: 8px;
563
+ }
564
+ .project-card strong {
565
+ font-size: 16px;
566
+ }
567
+ .project-card small {
568
+ color: var(--muted);
569
+ }
570
+ .project-card.selected {
571
+ border-color: var(--accent);
572
+ box-shadow: inset 2px 0 var(--accent);
573
+ }
574
+ .execution-workspace {
575
+ display: grid;
576
+ grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
577
+ gap: 28px;
578
+ margin-top: 24px;
579
+ }
580
+ .task-card {
581
+ box-shadow: inset 2px 0 var(--accent);
582
+ border: 1px solid var(--line);
583
+ border-radius: 12px;
584
+ padding: 22px;
585
+ margin-bottom: 18px;
586
+ background: var(--panel2);
587
+ overflow-wrap: anywhere;
588
+ }
589
+ .task-card h3 {
590
+ font-size: 20px;
591
+ margin: 8px 0;
592
+ }
593
+ .task-summary {
594
+ color: var(--text);
595
+ border-left: 2px solid var(--good);
596
+ padding-left: 12px;
597
+ margin: 6px 0;
598
+ }
599
+ .task-card h4 {
600
+ margin-bottom: 4px;
601
+ }
602
+ .criteria-bar {
603
+ display: flex;
604
+ gap: 4px;
605
+ height: 12px;
606
+ border-radius: 6px;
607
+ overflow: hidden;
608
+ margin-top: 20px;
609
+ }
610
+ .criterion-segment {
611
+ flex: 1;
612
+ background: var(--muted);
613
+ }
614
+ .criterion-segment.passed {
615
+ background: var(--good);
616
+ }
617
+ .criterion-segment.failed {
618
+ background: var(--amber);
619
+ }
620
+ .criterion-segment.pending {
621
+ background: var(--accent);
622
+ }
623
+ .criterion-segment.unknown {
624
+ background: repeating-linear-gradient(
625
+ 45deg,
626
+ var(--muted),
627
+ var(--muted) 3px,
628
+ var(--panel) 3px,
629
+ var(--panel) 6px
630
+ );
631
+ }
632
+ .criterion-segment.waived {
633
+ background: var(--cyan);
634
+ }
635
+ .criterion-summary {
636
+ font-size: 12px;
637
+ color: var(--muted);
638
+ }
639
+ .heartbeat {
640
+ border-left: 3px solid var(--muted);
641
+ padding-left: 10px;
642
+ color: var(--muted);
643
+ }
644
+ .heartbeat.recent {
645
+ border-color: var(--cyan);
646
+ }
647
+ .blocker-list {
648
+ padding-left: 20px;
649
+ }
650
+ .task-card details {
651
+ margin-top: 16px;
652
+ border-top: 1px solid var(--line);
653
+ padding-top: 12px;
654
+ }
655
+ .task-card summary {
656
+ cursor: pointer;
657
+ color: var(--accent);
658
+ }
659
+ .task-card code {
660
+ display: block;
661
+ font-size: 11px;
662
+ overflow-wrap: anywhere;
663
+ white-space: normal;
664
+ margin: 6px 0;
665
+ }
666
+ .criterion-row {
667
+ padding: 14px 0;
668
+ border-bottom: 1px solid var(--line);
669
+ }
670
+ .criterion-row p {
671
+ margin: 4px 0;
672
+ }
673
+ .activity-trail {
674
+ list-style: none;
675
+ padding: 0 0 0 16px;
676
+ border-left: 1px solid var(--line);
677
+ }
678
+ .activity-trail li {
679
+ position: relative;
680
+ margin: 0 0 24px;
681
+ }
682
+ .activity-trail li::before {
683
+ content: "";
684
+ width: 7px;
685
+ height: 7px;
686
+ border-radius: 50%;
687
+ background: var(--cyan);
688
+ position: absolute;
689
+ left: -20px;
690
+ top: 8px;
691
+ }
692
+ .activity-trail p {
693
+ margin: 3px 0;
694
+ overflow-wrap: anywhere;
695
+ }
696
+ @media (max-width: 900px) {
697
+ .execution-workspace {
698
+ grid-template-columns: 1fr;
699
+ }
700
+ }
701
+ /* P10 interactive workspaces use the same contrast tokens as the report views. */
702
+ select,
703
+ textarea {
704
+ font: inherit;
705
+ color: var(--text);
706
+ background: var(--panel2);
707
+ border: 1px solid var(--line);
708
+ border-radius: 8px;
709
+ padding: 9px;
710
+ max-width: 100%;
711
+ }
712
+ select:focus-visible,
713
+ textarea:focus-visible,
714
+ summary:focus-visible,
715
+ [tabindex]:focus-visible {
716
+ outline: 3px solid var(--cyan);
717
+ outline-offset: 3px;
718
+ }
719
+ [hidden] {
720
+ display: none !important;
721
+ }
722
+ .observatory {
723
+ margin-top: 24px;
724
+ min-width: 0;
725
+ }
726
+ .observatory-form {
727
+ display: flex;
728
+ align-items: end;
729
+ gap: 14px;
730
+ flex-wrap: wrap;
731
+ padding: 20px 0;
732
+ }
733
+ .observatory-form label,
734
+ .review-confirm label {
735
+ display: flex;
736
+ flex-direction: column;
737
+ gap: 5px;
738
+ min-width: 0;
739
+ flex: 1 1 190px;
740
+ }
741
+ .observatory-form details {
742
+ flex: 1 1 100%;
743
+ }
744
+ .observatory textarea {
745
+ width: 100%;
746
+ }
747
+ .observatory-output {
748
+ min-width: 0;
749
+ }
750
+ .observatory-output > section {
751
+ margin: 24px 0;
752
+ }
753
+ .observatory-output pre {
754
+ white-space: pre-wrap;
755
+ overflow-wrap: anywhere;
756
+ max-height: 420px;
757
+ overflow: auto;
758
+ background: var(--bg);
759
+ border: 1px solid var(--line);
760
+ border-radius: 10px;
761
+ padding: 16px;
762
+ }
763
+ .observatory-output details {
764
+ padding: 12px 0;
765
+ }
766
+ .observatory-output summary {
767
+ cursor: pointer;
768
+ color: var(--accent);
769
+ }
770
+ .observatory-output button {
771
+ margin: 4px 4px 4px 0;
772
+ }
773
+ .observatory-output .metric {
774
+ padding: 18px;
775
+ border: 1px solid var(--line);
776
+ border-radius: 12px;
777
+ }
778
+ .observatory-output .metric strong {
779
+ display: block;
780
+ font-size: 24px;
781
+ }
782
+ .table-scroll {
783
+ max-width: 100%;
784
+ overflow: auto;
785
+ }
786
+ .table-scroll table {
787
+ width: 100%;
788
+ text-align: left;
789
+ border-collapse: collapse;
790
+ }
791
+ .table-scroll th {
792
+ color: var(--muted);
793
+ font-size: 11px;
794
+ text-transform: uppercase;
795
+ letter-spacing: 0.7px;
796
+ }
797
+ .table-scroll td,
798
+ .table-scroll th {
799
+ border-bottom: 1px solid var(--line);
800
+ padding: 12px 8px;
801
+ overflow-wrap: anywhere;
802
+ min-width: 90px;
803
+ }
804
+ .graph-panes {
805
+ display: grid;
806
+ grid-template-columns: minmax(0, 1fr) 280px;
807
+ gap: 16px;
808
+ }
809
+ .graph-panes > svg {
810
+ width: 100%;
811
+ min-height: 360px;
812
+ max-height: 650px;
813
+ border: 1px solid var(--line);
814
+ border-radius: 16px;
815
+ background: radial-gradient(ellipse at center, var(--panel2), var(--bg));
816
+ touch-action: none;
817
+ }
818
+ .graph-controls {
819
+ display: flex;
820
+ flex-wrap: wrap;
821
+ gap: 6px;
822
+ }
823
+ .graph-controls input {
824
+ min-width: 0;
825
+ }
826
+ .graph-details {
827
+ min-width: 0;
828
+ }
829
+ .graph-list {
830
+ max-height: 280px;
831
+ overflow: auto;
832
+ display: flex;
833
+ flex-direction: column;
834
+ }
835
+ .graph-list button {
836
+ text-align: left;
837
+ overflow-wrap: anywhere;
838
+ }
839
+ .atlas-edge {
840
+ stroke: var(--cyan);
841
+ stroke-opacity: 0.55;
842
+ stroke-width: 1.5;
843
+ cursor: pointer;
844
+ }
845
+ .atlas-edge:hover,
846
+ .atlas-edge:focus {
847
+ stroke: var(--amber);
848
+ stroke-opacity: 1;
849
+ stroke-width: 4;
850
+ }
851
+ .atlas-node {
852
+ cursor: grab;
853
+ }
854
+ .atlas-node circle {
855
+ fill: var(--accent);
856
+ stroke: var(--bg);
857
+ stroke-width: 2;
858
+ }
859
+ /* Colour is recorded authority. The same tokens drive the legend and the list. */
860
+ [data-authority="observation"] {
861
+ --authority: var(--cyan);
862
+ }
863
+ [data-authority="accepted"] {
864
+ --authority: var(--good);
865
+ }
866
+ [data-authority="proposed"] {
867
+ --authority: var(--amber);
868
+ }
869
+ [data-authority="quarantined"] {
870
+ --authority: var(--bad);
871
+ }
872
+ [data-authority="retired"] {
873
+ --authority: var(--muted);
874
+ }
875
+ [data-authority="constraint"] {
876
+ --authority: var(--violet);
877
+ }
878
+ [data-authority="attestation"] {
879
+ --authority: var(--good);
880
+ }
881
+ [data-authority="procedure"] {
882
+ --authority: var(--violet);
883
+ }
884
+ [data-authority="plan"] {
885
+ --authority: var(--amber);
886
+ }
887
+ [data-authority="working"] {
888
+ --authority: var(--steel);
889
+ }
890
+ .atlas-node[data-authority] circle {
891
+ fill: var(--authority);
892
+ }
893
+ .atlas-node[data-authority="attestation"] circle,
894
+ .atlas-node[data-authority="procedure"] circle,
895
+ .atlas-node[data-authority="plan"] circle,
896
+ .atlas-node[data-authority="proposed"] circle {
897
+ fill: var(--panel);
898
+ stroke: var(--authority);
899
+ stroke-width: 3;
900
+ }
901
+ .atlas-node[data-authority="quarantined"] circle,
902
+ .atlas-node[data-authority="retired"] circle {
903
+ stroke: var(--authority);
904
+ stroke-dasharray: 3 2;
905
+ }
906
+ .graph-legend {
907
+ list-style: none;
908
+ display: flex;
909
+ flex-wrap: wrap;
910
+ gap: 4px 14px;
911
+ padding: 0;
912
+ margin: 10px 0 4px;
913
+ font-size: 11px;
914
+ color: var(--muted);
915
+ }
916
+ .graph-legend li::before {
917
+ content: "";
918
+ display: inline-block;
919
+ width: 10px;
920
+ height: 10px;
921
+ border-radius: 50%;
922
+ margin-right: 6px;
923
+ vertical-align: -1px;
924
+ background: var(--authority);
925
+ border: 2px solid var(--authority);
926
+ }
927
+ .graph-legend li[data-authority="proposed"]::before,
928
+ .graph-legend li[data-authority="procedure"]::before,
929
+ .graph-legend li[data-authority="attestation"]::before {
930
+ background: var(--panel);
931
+ }
932
+ .graph-legend li[data-authority="quarantined"]::before,
933
+ .graph-legend li[data-authority="retired"]::before {
934
+ border-style: dashed;
935
+ }
936
+ .atlas-edge.declares,
937
+ .atlas-edge.cites {
938
+ stroke-dasharray: 5 4;
939
+ }
940
+ .graph-panes > svg {
941
+ touch-action: none;
942
+ cursor: grab;
943
+ }
944
+ .graph-list button[data-authority] {
945
+ box-shadow: inset 3px 0 var(--authority);
946
+ }
947
+ .graph-trail {
948
+ border-top: 1px solid var(--line);
949
+ margin-top: 10px;
950
+ padding-top: 8px;
951
+ }
952
+ .graph-trail-list {
953
+ display: flex;
954
+ flex-direction: column;
955
+ gap: 6px;
956
+ }
957
+ .graph-trail-item {
958
+ text-align: left;
959
+ overflow-wrap: anywhere;
960
+ }
961
+ .graph-drawing-toggle {
962
+ display: none;
963
+ }
964
+ .atlas-node text {
965
+ fill: var(--text);
966
+ font-size: 12px;
967
+ paint-order: stroke;
968
+ stroke: var(--bg);
969
+ stroke-width: 4;
970
+ stroke-linejoin: round;
971
+ }
972
+ .atlas-node:focus circle {
973
+ stroke: var(--cyan);
974
+ stroke-width: 4;
975
+ }
976
+ .review-card,
977
+ .review-confirm {
978
+ padding: 18px;
979
+ margin: 16px 0;
980
+ border: 1px solid var(--line);
981
+ border-radius: 12px;
982
+ background: var(--panel2);
983
+ overflow-wrap: anywhere;
984
+ }
985
+ .review-card h4 {
986
+ margin: 0 0 8px;
987
+ font-size: 17px;
988
+ }
989
+ .review-confirm {
990
+ border-color: var(--amber);
991
+ }
992
+ .history-controls {
993
+ display: flex;
994
+ gap: 8px;
995
+ flex-wrap: wrap;
996
+ align-items: center;
997
+ }
998
+ .observatory input[type="range"] {
999
+ width: 100%;
1000
+ accent-color: var(--accent);
1001
+ }
1002
+ .cost-bars > div {
1003
+ margin: 18px 0;
1004
+ }
1005
+ .health-signals {
1006
+ list-style: none;
1007
+ padding: 0;
1008
+ margin: 12px 0 18px;
1009
+ display: grid;
1010
+ gap: 8px;
1011
+ }
1012
+ .health-signals li {
1013
+ border-left: 2px solid var(--steel);
1014
+ padding-left: 13px;
1015
+ }
1016
+ .health-signals li[data-level="ok"] {
1017
+ border-color: var(--good);
1018
+ }
1019
+ .health-signals li[data-level="watch"] {
1020
+ border-color: var(--amber);
1021
+ }
1022
+ .health-signals li[data-level="attention"] {
1023
+ border-color: var(--bad);
1024
+ }
1025
+ .health-signals strong {
1026
+ text-transform: capitalize;
1027
+ margin-right: 6px;
1028
+ }
1029
+ .cost-bars meter {
1030
+ display: block;
1031
+ width: 100%;
1032
+ height: 18px;
1033
+ accent-color: var(--cyan);
1034
+ }
1035
+ .danger {
1036
+ border-color: var(--amber);
1037
+ color: var(--amber);
1038
+ }
1039
+ .emblem-reveal {
1040
+ display: flex;
1041
+ flex-direction: column;
1042
+ align-items: center;
1043
+ justify-content: center;
1044
+ margin: 12px auto 16px;
1045
+ padding: 14px 8px;
1046
+ border: 1px solid var(--line);
1047
+ border-radius: 8px;
1048
+ background:
1049
+ linear-gradient(0deg, transparent 49.5%, #73d5e810 50%, transparent 50.5%),
1050
+ linear-gradient(90deg, transparent 49.5%, #73d5e810 50%, transparent 50.5%),
1051
+ radial-gradient(ellipse, #50c8e01a, transparent 70%);
1052
+ width: 100%;
1053
+ }
1054
+ .emblem-reveal img {
1055
+ width: 160px;
1056
+ height: 160px;
1057
+ max-width: 100%;
1058
+ object-fit: contain;
1059
+ filter: drop-shadow(0 7px 10px #00000055);
1060
+ }
1061
+ .tag,
1062
+ .controls,
1063
+ .nav-title,
1064
+ .metric strong,
1065
+ .task-card code {
1066
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
1067
+ }
1068
+ body.light {
1069
+ background-image:
1070
+ linear-gradient(#335d6a08 1px, transparent 1px),
1071
+ linear-gradient(90deg, #335d6a08 1px, transparent 1px);
1072
+ }
1073
+ @media (max-width: 1100px) {
1074
+ .graph-panes {
1075
+ grid-template-columns: 1fr;
1076
+ }
1077
+ .graph-details {
1078
+ display: grid;
1079
+ grid-template-columns: 1fr 1fr;
1080
+ gap: 15px;
1081
+ }
1082
+ aside {
1083
+ overflow-y: auto;
1084
+ }
1085
+ }
1086
+ @media (max-width: 600px) {
1087
+ .observatory-form {
1088
+ display: block;
1089
+ }
1090
+ .observatory-form label {
1091
+ margin: 12px 0;
1092
+ }
1093
+ .graph-details {
1094
+ display: block;
1095
+ }
1096
+ .graph-panes > svg {
1097
+ min-height: 240px;
1098
+ }
1099
+ .history-controls select {
1100
+ width: 100%;
1101
+ }
1102
+ .emblem-reveal {
1103
+ width: 100px;
1104
+ }
1105
+ .observatory-output .metrics {
1106
+ grid-template-columns: 1fr;
1107
+ }
1108
+ .graph-controls button {
1109
+ font-size: 12px;
1110
+ padding: 7px;
1111
+ }
1112
+ }
1113
+ @media (prefers-reduced-motion: reduce) {
1114
+ *,
1115
+ *::before,
1116
+ *::after {
1117
+ scroll-behavior: auto !important;
1118
+ animation: none !important;
1119
+ transition: none !important;
1120
+ }
1121
+ }
1122
+ /* Long immutable identifiers must never widen a 320px page. */
1123
+ main,
1124
+ .card,
1125
+ footer {
1126
+ overflow-wrap: anywhere;
1127
+ }
1128
+ aside {
1129
+ overflow-y: auto;
1130
+ }
1131
+
1132
+ /* Phones: the sidebar becomes a sticky bar with the views in a row, cards stack,
1133
+ and the memory graph shows its list unless the drawing is asked for. */
1134
+ @media (max-width: 650px) {
1135
+ .shell {
1136
+ display: block;
1137
+ }
1138
+ aside {
1139
+ position: sticky;
1140
+ top: 0;
1141
+ z-index: 5;
1142
+ height: auto;
1143
+ overflow-x: auto;
1144
+ overflow-y: hidden;
1145
+ flex-direction: row;
1146
+ align-items: center;
1147
+ gap: 6px;
1148
+ padding: 8px 12px;
1149
+ border-right: 0;
1150
+ border-bottom: 1px solid var(--line);
1151
+ scrollbar-width: none;
1152
+ }
1153
+ aside::-webkit-scrollbar {
1154
+ display: none;
1155
+ }
1156
+ .brand {
1157
+ font-size: 15px;
1158
+ gap: 6px;
1159
+ margin-right: 6px;
1160
+ flex-shrink: 0;
1161
+ }
1162
+ .brand img {
1163
+ width: 32px;
1164
+ height: 32px;
1165
+ }
1166
+ .brand small {
1167
+ display: none;
1168
+ }
1169
+ .nav-title,
1170
+ .side-note,
1171
+ aside .emblem-reveal {
1172
+ display: none;
1173
+ }
1174
+ aside .nav {
1175
+ display: inline-flex;
1176
+ flex-shrink: 0;
1177
+ white-space: nowrap;
1178
+ font-size: 11px;
1179
+ margin: 0;
1180
+ padding: 7px 9px;
1181
+ }
1182
+ aside > .quiet {
1183
+ flex-shrink: 0;
1184
+ white-space: nowrap;
1185
+ margin: 0 0 0 auto;
1186
+ font-size: 11px;
1187
+ padding: 7px 9px;
1188
+ }
1189
+ header {
1190
+ margin-bottom: 16px;
1191
+ padding-bottom: 14px;
1192
+ }
1193
+ .section-head {
1194
+ flex-wrap: wrap;
1195
+ }
1196
+ .receipt-workspace,
1197
+ .execution-workspace,
1198
+ .capacity-list,
1199
+ .graph-details {
1200
+ grid-template-columns: 1fr;
1201
+ display: grid;
1202
+ }
1203
+ .receipt-form,
1204
+ .execution-form {
1205
+ flex-direction: column;
1206
+ align-items: stretch;
1207
+ }
1208
+ .graph-drawing-toggle {
1209
+ display: inline-block;
1210
+ }
1211
+ .atlas-workspace:not(.graph-shown) .graph-panes > svg {
1212
+ display: none;
1213
+ }
1214
+ .graph-list {
1215
+ max-height: 60vh;
1216
+ }
1217
+ .graph-controls button {
1218
+ font-size: 12px;
1219
+ padding: 7px;
1220
+ }
1221
+ .graph-legend {
1222
+ gap: 2px 10px;
1223
+ }
1224
+ }
1225
+
1226
+ .structured-plan-progress {
1227
+ display: grid;
1228
+ gap: 0.6rem;
1229
+ margin: 1rem 0;
1230
+ }
1231
+ .structured-plan-progress progress {
1232
+ width: 100%;
1233
+ height: 0.65rem;
1234
+ accent-color: #5fe5cf;
1235
+ }
1236
+ .structured-plan .plan-phase {
1237
+ border: 1px solid #304153;
1238
+ border-radius: 0.65rem;
1239
+ padding: 1rem;
1240
+ margin-top: 1rem;
1241
+ }
1242
+ .structured-plan .plan-step {
1243
+ border-top: 1px solid #304153;
1244
+ padding: 1rem 0;
1245
+ overflow-wrap: anywhere;
1246
+ }
1247
+ .source-evidence {
1248
+ display: block;
1249
+ overflow-wrap: anywhere;
1250
+ margin: 0.5rem 0;
1251
+ }