mindly-agents 0.0.0-stage → 0.1.0

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 (68) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +86 -0
  3. package/README.md +112 -2
  4. package/dashboard/assets/index-BKICVMpx.css +1 -0
  5. package/dashboard/assets/index-DvBJU0UA.js +13 -0
  6. package/dashboard/favicon.svg +1 -0
  7. package/dashboard/index.html +16 -0
  8. package/dist/chunk-25ELLEN7.js +154 -0
  9. package/dist/chunk-25ELLEN7.js.map +7 -0
  10. package/dist/chunk-3PKJJ7VZ.js +837 -0
  11. package/dist/chunk-3PKJJ7VZ.js.map +7 -0
  12. package/dist/chunk-42YWWYZZ.js +284 -0
  13. package/dist/chunk-42YWWYZZ.js.map +7 -0
  14. package/dist/chunk-4LPQSYJA.js +76 -0
  15. package/dist/chunk-4LPQSYJA.js.map +7 -0
  16. package/dist/chunk-4XUDSTTU.js +112 -0
  17. package/dist/chunk-4XUDSTTU.js.map +7 -0
  18. package/dist/chunk-55OT4HJN.js +230 -0
  19. package/dist/chunk-55OT4HJN.js.map +7 -0
  20. package/dist/chunk-6A4J76SC.js +257 -0
  21. package/dist/chunk-6A4J76SC.js.map +7 -0
  22. package/dist/chunk-6AIMYMT5.js +307 -0
  23. package/dist/chunk-6AIMYMT5.js.map +7 -0
  24. package/dist/chunk-7JBB4W4K.js +1282 -0
  25. package/dist/chunk-7JBB4W4K.js.map +7 -0
  26. package/dist/chunk-CSJDJNUP.js +131 -0
  27. package/dist/chunk-CSJDJNUP.js.map +7 -0
  28. package/dist/chunk-E3RUE5VE.js +176 -0
  29. package/dist/chunk-E3RUE5VE.js.map +7 -0
  30. package/dist/chunk-HJPU2D6P.js +131 -0
  31. package/dist/chunk-HJPU2D6P.js.map +7 -0
  32. package/dist/chunk-K75C6RDA.js +52 -0
  33. package/dist/chunk-K75C6RDA.js.map +7 -0
  34. package/dist/chunk-KVK356QS.js +6543 -0
  35. package/dist/chunk-KVK356QS.js.map +7 -0
  36. package/dist/chunk-NT7IWQHF.js +304 -0
  37. package/dist/chunk-NT7IWQHF.js.map +7 -0
  38. package/dist/chunk-OABHXVPF.js +31 -0
  39. package/dist/chunk-OABHXVPF.js.map +7 -0
  40. package/dist/chunk-OMHI4PML.js +59 -0
  41. package/dist/chunk-OMHI4PML.js.map +7 -0
  42. package/dist/chunk-OQZNRHUJ.js +30 -0
  43. package/dist/chunk-OQZNRHUJ.js.map +7 -0
  44. package/dist/chunk-OTQRKEUM.js +897 -0
  45. package/dist/chunk-OTQRKEUM.js.map +7 -0
  46. package/dist/chunk-PD22WJ27.js +128 -0
  47. package/dist/chunk-PD22WJ27.js.map +7 -0
  48. package/dist/chunk-PMXS3PTK.js +902 -0
  49. package/dist/chunk-PMXS3PTK.js.map +7 -0
  50. package/dist/chunk-QRYQICOI.js +12 -0
  51. package/dist/chunk-QRYQICOI.js.map +7 -0
  52. package/dist/chunk-RDMNWXS2.js +201 -0
  53. package/dist/chunk-RDMNWXS2.js.map +7 -0
  54. package/dist/chunk-RH5W4GPA.js +32 -0
  55. package/dist/chunk-RH5W4GPA.js.map +7 -0
  56. package/dist/chunk-RVLUSCY6.js +1944 -0
  57. package/dist/chunk-RVLUSCY6.js.map +7 -0
  58. package/dist/chunk-UEU5WD47.js +2180 -0
  59. package/dist/chunk-UEU5WD47.js.map +7 -0
  60. package/dist/chunk-VBUW5IJ2.js +218 -0
  61. package/dist/chunk-VBUW5IJ2.js.map +7 -0
  62. package/dist/chunk-VR3DTZAL.js +86 -0
  63. package/dist/chunk-VR3DTZAL.js.map +7 -0
  64. package/dist/daemon.js +56 -0
  65. package/dist/daemon.js.map +7 -0
  66. package/dist/main.js +24 -0
  67. package/dist/main.js.map +7 -0
  68. package/package.json +45 -4
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 The Mindly Authors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
package/NOTICE ADDED
@@ -0,0 +1,86 @@
1
+ Mindly
2
+ Copyright The Mindly Authors
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ The Mission Control dashboard in dashboard/ bundles the following third-party software,
7
+ each under its own licence, reproduced below. Runtime dependencies listed in package.json
8
+ are installed separately by npm and carry their own licences.
9
+
10
+ ------------------------------------------------------------------------------
11
+ react 19.3.1 (MIT)
12
+ ------------------------------------------------------------------------------
13
+
14
+ MIT License
15
+
16
+ Copyright (c) Meta Platforms, Inc. and affiliates.
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in all
26
+ copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
+ SOFTWARE.
35
+
36
+ ------------------------------------------------------------------------------
37
+ react-dom 19.3.1 (MIT)
38
+ ------------------------------------------------------------------------------
39
+
40
+ MIT License
41
+
42
+ Copyright (c) Meta Platforms, Inc. and affiliates.
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ of this software and associated documentation files (the "Software"), to deal
46
+ in the Software without restriction, including without limitation the rights
47
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ copies of the Software, and to permit persons to whom the Software is
49
+ furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in all
52
+ copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60
+ SOFTWARE.
61
+
62
+ ------------------------------------------------------------------------------
63
+ scheduler 0.28.0 (MIT)
64
+ ------------------------------------------------------------------------------
65
+
66
+ MIT License
67
+
68
+ Copyright (c) Meta Platforms, Inc. and affiliates.
69
+
70
+ Permission is hereby granted, free of charge, to any person obtaining a copy
71
+ of this software and associated documentation files (the "Software"), to deal
72
+ in the Software without restriction, including without limitation the rights
73
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
74
+ copies of the Software, and to permit persons to whom the Software is
75
+ furnished to do so, subject to the following conditions:
76
+
77
+ The above copyright notice and this permission notice shall be included in all
78
+ copies or substantial portions of the Software.
79
+
80
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
81
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
82
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
83
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
84
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
85
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
86
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,113 @@
1
- # Temporary Holding Version
1
+ # Mindly
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **One shared brain for every coding agent you run.**
4
+
5
+ Mindly keeps Claude Code, Codex, Cursor and any MCP-capable agent in sync: what the project knows,
6
+ what each agent is doing right now, and what just changed that the others need to know. It runs
7
+ entirely on your machine. No account, no server, no telemetry.
8
+
9
+ > Status: pre-release. APIs and storage format may change before 1.0.
10
+
11
+ ## Why
12
+
13
+ Running several agents in parallel saves time until they step on each other: one renames an API
14
+ while another builds against the old shape, you repeat "we use pnpm" to every new session, and
15
+ when one agent hits its usage limit you re-explain the whole task to the next. Mindly removes
16
+ that overhead.
17
+
18
+ ## What it does
19
+
20
+ **Shared memory**
21
+
22
+ - **Zero-prompt context** – new sessions start knowing your conventions, active work and recent
23
+ decisions.
24
+ - **Say it once** – correct one agent ("no, use pnpm") and every agent follows the rule from then on.
25
+ - **Trust layer** – every memory is labelled `verified`, `approved`, `proposed` or `stale`, with its
26
+ source, so one agent's guess never becomes everyone's fact.
27
+ - **Self-healing memory** – memories are tied to evidence in the code and flagged when it changes.
28
+ - **Executable memory** – turn a decision into a check ("login returns `user.role`") that is
29
+ re-verified on every edit.
30
+ - **Mistake memory** – failed approaches are remembered and surfaced before an agent repeats them.
31
+ - **Memory branches** and **time travel** – memories follow git branches; every change is versioned.
32
+
33
+ **Live coordination**
34
+
35
+ - **Intent ledger** – agents declare what they are about to change; clashes are caught before any
36
+ code is written.
37
+ - **Agent telepathy** – when one agent changes something another depends on, the other learns about
38
+ it at its next step.
39
+ - **Impact radar** – export-surface diffs and the import graph tell you exactly who is affected.
40
+ - **Shadow merge** – every agent's work is merged and type-checked in the background, continuously.
41
+ - **Rate-limit failover** – when one agent hits its limit, another resumes at the same step.
42
+ - **Handoffs** – move an unfinished task between agents with plan, progress and blockers.
43
+
44
+ **Insight**
45
+
46
+ - **Mission Control** – a live local dashboard of every agent, task, intent and conflict.
47
+ - **Code provenance** – `mindly why src/auth.ts:42` shows which agent wrote a line and why.
48
+ - **Context X-Ray** – see exactly what context an agent received, and what it missed.
49
+ - **Cross-agent review** – one agent reviews another's diff automatically.
50
+ - **A/B replay** – rerun a task with a different agent from the same commit and compare.
51
+ - **Time machine** – snapshot code + memory + task state together; branch or rewind safely.
52
+ - **Morning standup** – a two-minute digest of what your agents did and what needs you.
53
+ - **Phone pager** – optional push notification when an agent is blocked or needs approval.
54
+
55
+ ## Quick start
56
+
57
+ Requires Node.js 22.13 or newer and git.
58
+
59
+ ```bash
60
+ npx mindly-agents init
61
+ ```
62
+
63
+ `init` detects installed agents (or take `--agents claude-code,codex,cursor`), shows every file
64
+ and line it will change, asks for confirmation, and initialises local storage in `~/.mindly`. Use
65
+ `--project` to configure only the current repository and `--dry-run` to preview. Codex asks you to
66
+ approve new hooks once with `/hooks`. Then open your agents in the same project as usual.
67
+ `mindly doctor` checks the setup; `mindly uninstall` removes it again.
68
+
69
+ ## Commands
70
+
71
+ Run inside a project; every read command takes `--json`.
72
+
73
+ ```bash
74
+ mindly status # live agents, tasks, intents, conflicts, what needs you
75
+ mindly dashboard # open Mission Control (starts the daemon if needed)
76
+ mindly memory list|search <q>|show <id>
77
+ mindly memory add --kind rule --title "Use pnpm" [--scope 'src/**'] [--enforce] [--pin]
78
+ mindly memory approve|reject|archive|forget <id>
79
+ mindly rules [--approve <id>] # approved and proposed rules
80
+ mindly why <file>:<line> # which agent wrote a line, and why
81
+ mindly xray [--session <id>] [--query <q>] # what context an agent got, or missed
82
+ mindly standup [--since 24h] # what happened and what needs you
83
+ mindly handoff --summary "..." [--to codex] # and: mindly handoffs
84
+ mindly snapshot create <label>|list|diff <id>|restore <id> [--branch <name>]
85
+ mindly conflicts [--all] # and: mindly conflict <id> resolve|dismiss|ack
86
+ mindly trust [--show|--revoke] # review and trust .mindly/config.json checks
87
+ mindly contract add <memoryId> --kind pattern_present --path src/x.ts --pattern 'role'
88
+ mindly review --session <id> --reviewer codex
89
+ mindly replay --prompt "..." --agents claude-code,codex
90
+ mindly export [--out file] # JSON, mode 0600; mindly forget --project deletes
91
+ mindly daemon start|stop|status # optional background daemon
92
+ mindly config get|set|path # ~/.mindly/config.json, validated
93
+ ```
94
+
95
+ Exit codes: 0 ok, 1 error, 2 usage. Output is plain text without colour when not on a terminal or
96
+ when `NO_COLOR` is set. Agents call `mindly hook <agent> <event>` and `mindly mcp --agent <agent>`
97
+ themselves; hooks fail open and never block an agent.
98
+
99
+ ## Security and privacy
100
+
101
+ Everything stays in `~/.mindly` on your machine. Memory is always treated as data, never as
102
+ instructions. Secrets are redacted before storage. A freshly cloned repository cannot make Mindly
103
+ run commands until you explicitly trust it. Read the full [security model](docs/security.md).
104
+
105
+ ## Documentation
106
+
107
+ - [Architecture](docs/architecture.md)
108
+ - [Security model](docs/security.md)
109
+ - [Contributing](CONTRIBUTING.md)
110
+
111
+ ## License
112
+
113
+ [Apache-2.0](LICENSE)
@@ -0,0 +1 @@
1
+ :root{--font-sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;--radius:6px;--radius-sm:4px;--gap:14px;--fs-xs:11px;--fs-sm:12px;--fs:13px;--fs-md:14px;--fs-lg:17px;--bg:#eceef3;--surface:#fff;--surface-2:#f5f6f9;--surface-3:#e8eaf0;--border:#d8dce5;--border-strong:#c3c8d4;--text:#191c25;--text-2:#3c4252;--muted:#646c7e;--accent:#5a43dc;--accent-soft:#ece8ff;--accent-text:#4a34c4;--focus:#5a43dc;--good:#1b7a50;--good-bg:#e2f4ea;--info:#1f5fc7;--info-bg:#e3edfc;--warn:#8f5c00;--warn-bg:#fbf0d9;--bad:#bf2d38;--bad-bg:#fbe5e6;--stale:#7a5c45;--stale-bg:#efe8e2;--neutral:#4c5466;--neutral-bg:#eceef2;--agent-claude:#c0613f;--agent-codex:#0f8a6c;--agent-cursor:#4c5466;--shadow:0 1px 2px #1418280f, 0 0 0 1px #14182805;--shadow-lg:0 18px 50px #0f121e38;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101219;--surface:#171a23;--surface-2:#1d212c;--surface-3:#252a37;--border:#272c39;--border-strong:#363c4c;--text:#e2e5ee;--text-2:#c2c7d4;--muted:#8a92a7;--accent:#a594ff;--accent-soft:#272144;--accent-text:#b9abff;--focus:#b3a5ff;--good:#4fc58f;--good-bg:#15291f;--info:#6aa8ff;--info-bg:#142238;--warn:#e9b04c;--warn-bg:#2d2412;--bad:#ff6b74;--bad-bg:#331a1d;--stale:#c3a183;--stale-bg:#2a231d;--neutral:#a3abbd;--neutral-bg:#222633;--agent-claude:#e58a68;--agent-codex:#3fc9a3;--agent-cursor:#a3abbd;--shadow:0 0 0 1px #0003;--shadow-lg:0 18px 60px #0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#101219;--surface:#171a23;--surface-2:#1d212c;--surface-3:#252a37;--border:#272c39;--border-strong:#363c4c;--text:#e2e5ee;--text-2:#c2c7d4;--muted:#8a92a7;--accent:#a594ff;--accent-soft:#272144;--accent-text:#b9abff;--focus:#b3a5ff;--good:#4fc58f;--good-bg:#15291f;--info:#6aa8ff;--info-bg:#142238;--warn:#e9b04c;--warn-bg:#2d2412;--bad:#ff6b74;--bad-bg:#331a1d;--stale:#c3a183;--stale-bg:#2a231d;--neutral:#a3abbd;--neutral-bg:#222633;--agent-claude:#e58a68;--agent-codex:#3fc9a3;--agent-cursor:#a3abbd;--shadow:0 0 0 1px #0003;--shadow-lg:0 18px 60px #0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font-sans);font-size:var(--fs);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;line-height:1.45}body{min-width:320px;overflow-x:hidden}h1,h2,h3,h4,h5,p{margin:0}ul,ol{margin:0;padding:0}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}::selection{background:var(--accent-soft)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.skip{z-index:100;border-radius:var(--radius-sm);background:var(--accent);color:#fff;border:0;padding:6px 10px;position:absolute;top:-40px;left:8px}.skip:focus{top:8px}.mono,code{font-family:var(--font-mono);font-size:.92em}code.mono{border-radius:var(--radius-sm);background:var(--surface-3);color:var(--text-2);overflow-wrap:anywhere;white-space:normal;padding:1px 5px}.muted{color:var(--muted)}.small{font-size:var(--fs-sm)}.grow{flex:auto;min-width:0}.add{color:var(--good);font-family:var(--font-mono)}.del{color:var(--bad);font-family:var(--font-mono)}.chg{color:var(--warn);font-family:var(--font-mono)}.splash{max-width:520px;font-size:var(--fs-md);flex-direction:column;gap:14px;margin:12vh auto 0;padding:32px;display:flex}.splash h1{letter-spacing:-.01em;font-size:22px;font-weight:650}.splash-cmd{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);font-family:var(--font-mono);margin:0;padding:14px 16px;font-size:15px}.splash-cmd:before{content:"$ ";color:var(--muted)}.splash-warn{border-radius:var(--radius);background:var(--warn-bg);color:var(--warn);padding:10px 12px}.logo{color:var(--accent);font-family:var(--font-mono);font-weight:600;font-size:var(--fs-md);letter-spacing:-.02em;align-items:center;gap:7px;display:inline-flex}.logo span{color:var(--text)}.topbar{z-index:10;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);position:sticky;top:0}.topbar-row{align-items:center;gap:10px;min-width:0;padding:10px 20px 6px;display:flex}.crumb-sep{color:var(--border-strong);font-size:18px}.project-picker select{appearance:none;font-weight:650;font-size:var(--fs-md);border-radius:var(--radius-sm);cursor:pointer;background:0 0;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 11px) 55%,calc(100% - 7px) 55%;background-repeat:no-repeat;background-size:4px 4px;border:1px solid #0000;padding:3px 22px 3px 6px}.project-picker select:hover{border-color:var(--border);background-color:var(--surface)}.root-path{text-overflow:ellipsis;max-width:34ch;overflow:hidden;white-space:nowrap!important;color:var(--muted)!important;background:0 0!important}.topbar-spacer{flex:1}.topbar-tabs{scrollbar-width:none;padding:0 14px;overflow-x:auto}.live-pill{border:1px solid var(--border);font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:2px 9px 2px 8px;display:inline-flex}.live-dot{background:var(--muted);border-radius:50%;width:7px;height:7px}.live-live{color:var(--good)}.live-live .live-dot{background:var(--good);box-shadow:0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent);animation:2.4s ease-out infinite beat}.live-reconnecting,.live-connecting{color:var(--warn)}.live-reconnecting .live-dot,.live-connecting .live-dot{background:var(--warn)}.live-offline{color:var(--bad)}.live-offline .live-dot{background:var(--bad)}@keyframes beat{0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent)}70%{box-shadow:0 0 0 6px #0000}to{box-shadow:0 0 #0000}}.theme-toggle{font-family:var(--font-mono);font-size:var(--fs-xs);min-width:52px}.tabs{gap:2px;display:flex}.tab{color:var(--muted);cursor:pointer;white-space:nowrap;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:0 0;border:0;padding:8px 12px 10px;font-weight:550;position:relative}.tab:hover,.tab[aria-selected=true]{color:var(--text)}.tab[aria-selected=true]:after{content:"";background:var(--accent);border-radius:2px;height:2px;position:absolute;bottom:-1px;left:10px;right:10px}.subnav{border-bottom:1px solid var(--border)}.main{outline:none;max-width:1560px;margin:0 auto;padding:16px 20px 48px}.view,.overview{gap:var(--gap);flex-direction:column;display:flex}.grid-main{gap:var(--gap);grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;display:grid}.grid-2{gap:var(--gap);grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.col{gap:var(--gap);flex-direction:column;min-width:0;display:flex}.stack{flex-direction:column;gap:10px;display:flex}.stack-lg{flex-direction:column;gap:18px;display:flex}.row-line{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-head{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;display:flex}.panel-head h2{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--text-2);align-items:center;gap:8px;font-weight:600;display:flex}.count{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);background:var(--surface-3);letter-spacing:0;border-radius:999px;padding:0 7px;font-weight:500}.panel-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel-body{min-width:0;padding:12px 14px}.empty{color:var(--muted);padding:10px 0}.loading{color:var(--muted);align-items:center;gap:8px;padding:10px 0;display:flex}.pulse{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate fade}@keyframes fade{0%{opacity:.25}to{opacity:1}}.error-note{border-radius:var(--radius-sm);background:var(--bad-bg);color:var(--bad);justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.notice{border-radius:var(--radius-sm);background:var(--good-bg);color:var(--good);margin:8px 0;padding:8px 10px}.help{color:var(--muted);font-size:var(--fs-sm);margin-bottom:8px}.warn-text{color:var(--warn)}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:5px 11px;font-weight:550;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2);border-color:var(--muted)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-small{font-size:var(--fs-sm);padding:3px 9px}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}:root[data-theme=dark] .btn-primary{color:#120f24}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .btn-primary{color:#120f24}}.btn-primary:hover:not(:disabled){background:color-mix(in srgb, var(--accent) 88%, var(--text));border-color:color-mix(in srgb, var(--accent) 88%, var(--text))}.btn-danger{color:var(--bad);border-color:color-mix(in srgb, var(--bad) 50%, var(--border))}.btn-danger:hover:not(:disabled){background:var(--bad-bg);border-color:var(--bad)}.btn-ghost{background:0 0;border-color:#0000}.btn-row{flex-wrap:wrap;gap:6px;display:flex}.link{color:var(--accent-text);cursor:pointer;text-underline-offset:2px;font-size:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.badge,.tag{border-radius:var(--radius-sm);height:19px;font-family:var(--font-mono);font-size:var(--fs-xs);white-space:nowrap;background:var(--neutral-bg);color:var(--neutral);align-items:center;gap:4px;padding:0 7px;font-weight:550;line-height:1;display:inline-flex}.badge{border:1px solid color-mix(in srgb, currentColor 28%, transparent)}.badge-glyph{font-weight:700}.trust-verified,.tone-good{background:var(--good-bg);color:var(--good)}.trust-approved,.tone-info,.sev-info{background:var(--info-bg);color:var(--info)}.trust-proposed,.tone-warn,.sev-warning{background:var(--warn-bg);color:var(--warn)}.trust-stale{background:var(--stale-bg);color:var(--stale);border-style:dashed}.trust-rejected,.tone-bad,.sev-critical{background:var(--bad-bg);color:var(--bad)}.trust-rejected{text-decoration:line-through}.tone-accent{background:var(--accent-soft);color:var(--accent-text)}.tone-neutral{background:var(--neutral-bg);color:var(--neutral)}.needs{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--warn);box-shadow:var(--shadow);flex-wrap:wrap;align-items:stretch;gap:12px;padding:10px 12px;display:flex}.needs-clear{border-left-color:var(--good)}.needs-title{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--text-2);align-self:center;min-width:96px}.needs-items{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;list-style:none;display:grid}.needs-item{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);text-align:left;cursor:pointer;width:100%;color:var(--muted);align-items:baseline;gap:8px;padding:6px 10px;display:flex}.needs-item:disabled{cursor:default;opacity:.7}.needs-item:hover:not(:disabled){border-color:var(--border-strong)}.needs-count{font-family:var(--font-mono);font-size:20px;font-weight:600;line-height:1}.needs-label{font-size:var(--fs-sm)}.needs-warn{color:var(--warn);background:var(--warn-bg);border-color:color-mix(in srgb, var(--warn) 30%, transparent)}.needs-bad{color:var(--bad);background:var(--bad-bg);border-color:color-mix(in srgb, var(--bad) 35%, transparent)}.agents{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;list-style:none;display:grid}.agent{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);min-width:0;padding:10px 12px;position:relative;overflow:hidden}.agent:before{content:"";background:var(--border-strong);width:3px;position:absolute;inset:0 auto 0 0}.agent-status-active:before{background:var(--good)}.agent-status-rate_limited:before{background:var(--bad)}.agent-status-idle:before{background:var(--warn)}.agent-head{align-items:center;gap:9px;margin-bottom:8px;display:flex}.agent-mark{width:26px;height:26px;font-family:var(--font-mono);color:var(--surface);background:var(--agent-cursor);border-radius:6px;flex:none;place-items:center;font-size:10px;font-weight:700;display:inline-grid}.agent-claude-code{background:var(--agent-claude)}.agent-codex{background:var(--agent-codex)}.agent-id{flex-direction:column;flex:1;min-width:0;display:flex}.agent-kind{font-weight:650}.agent-label{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.agent-meta{gap:4px;margin:0;display:grid}.agent-meta>div{grid-template-columns:56px minmax(0,1fr);align-items:baseline;gap:8px;display:grid}.agent-meta dt{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);text-transform:lowercase}.agent-meta dd{min-width:0;margin:0}.file-list{flex-wrap:wrap;gap:4px;min-width:0;display:flex}.conflicts{outline:none;flex-direction:column;gap:10px;list-style:none;display:flex}.conflict{border:1px solid var(--border);border-left:3px solid var(--info);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:6px;padding:10px 12px;display:flex}.sev-row-critical{border-left-color:var(--bad)}.sev-row-warning{border-left-color:var(--warn)}.conflict-head{align-items:flex-start;gap:8px;display:flex}.conflict-title{flex:1;min-width:0;font-weight:600}.conflict-detail{color:var(--text-2)}.conflict-meta{font-size:var(--fs-sm);flex-wrap:wrap;align-items:center;gap:6px;display:flex}.panel-activity .panel-body{padding:0}.log{font-size:var(--fs-sm);max-height:560px;list-style:none;overflow-y:auto}.log-row{border-bottom:1px solid color-mix(in srgb, var(--border) 60%, transparent);grid-template-columns:38px 62px minmax(0,1fr) auto;align-items:baseline;gap:8px;padding:5px 14px 5px 0;display:grid;position:relative}.log-row:first-child{animation:.6s ease-out arrive}@keyframes arrive{0%{background:var(--accent-soft)}to{background:0 0}}.log-seq{text-align:right;font-family:var(--font-mono);font-size:var(--fs-xs);color:color-mix(in srgb, var(--muted) 70%, transparent);border-right:1px solid var(--border);padding-right:6px}.log-time{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted)}.log-text{overflow-wrap:anywhere;min-width:0}.log-actor{font-weight:650}.log-type{font-family:var(--font-mono);color:var(--muted);opacity:.8;font-size:10px}.log-row.tone-good .log-text:before,.log-row.tone-bad .log-text:before,.log-row.tone-warn .log-text:before,.log-row.tone-info .log-text:before,.log-row.tone-accent .log-text:before{content:"";vertical-align:1px;background:currentColor;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.log-row.tone-good,.log-row.tone-bad,.log-row.tone-warn,.log-row.tone-info,.log-row.tone-accent,.log-row.tone-neutral{background:0 0}.log-row.tone-good .log-text:before{color:var(--good)}.log-row.tone-bad .log-text:before{color:var(--bad)}.log-row.tone-warn .log-text:before{color:var(--warn)}.log-row.tone-info .log-text:before{color:var(--info)}.log-row.tone-accent .log-text:before{color:var(--accent)}.log-row.tone-bad .log-text{color:var(--bad)}.log-row.tone-accent .log-text{color:var(--accent-text)}.trust-counts{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;list-style:none;display:grid}.trust-counts li{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.trust-count{font-family:var(--font-mono);padding-left:2px;font-size:20px;font-weight:600}.kv-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.kv-label{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);min-width:48px}.checks{flex-direction:column;gap:6px;list-style:none;display:flex}.check-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pre{background:var(--surface-3);border:1px solid var(--border);border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:var(--fs-sm);white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;color:var(--text-2);margin:6px 0 0;padding:10px 12px;line-height:1.5;overflow:auto}.pre-tail{color:#c9cfdc;background:#0c0e14;border-color:#0c0e14}.pre-inline{width:100%;margin-top:2px}.split{gap:var(--gap);grid-template-columns:minmax(220px,320px) minmax(0,1fr);align-items:start;display:grid}.run-list{flex-direction:column;gap:4px;max-height:72vh;list-style:none;display:flex;overflow-y:auto}.run-row,.mem-row{text-align:left;border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:1px solid #0000;flex-direction:column;gap:4px;width:100%;padding:7px 9px;display:flex}.run-row:hover,.mem-row:hover{background:var(--surface-2);border-color:var(--border)}.run-row.is-open,.mem-row.is-open{background:var(--accent-soft);border-color:color-mix(in srgb, var(--accent) 40%, transparent)}.run-row-top{font-size:var(--fs-xs);color:var(--muted);align-items:center;gap:6px;display:flex}.run-title{font-weight:550}.run-detail{border-left:1px solid var(--border);min-width:0;padding-left:var(--gap)}.detail-title{font-size:var(--fs-lg);letter-spacing:-.01em;margin-bottom:4px;font-weight:650}.findings{flex-direction:column;gap:6px;list-style:none;display:flex}.finding{border-left:3px solid var(--info);background:var(--surface-2);border-radius:var(--radius-sm);flex-wrap:wrap;align-items:baseline;gap:8px;padding:8px 10px;display:flex}.finding.sev-row-critical{border-left-color:var(--bad)}.finding.sev-row-warning{border-left-color:var(--warn)}.finding-msg{flex:100%}.table-wrap{max-width:100%;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:var(--fs-sm)}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:6px 10px}.table thead th{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}.table .num{text-align:right;font-family:var(--font-mono);white-space:nowrap}.table tbody th{font-weight:550}.table-compact th,.table-compact td{padding:4px 8px}.table-caption{text-align:left;font-weight:600;font-size:var(--fs-sm);padding:4px 0}.table-omitted tbody tr{color:var(--muted)}.best{color:var(--good);font-weight:650}.filters{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:12px;display:flex}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field>span{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted)}.field-grow{flex:260px}.field-inline{flex-direction:row;align-items:center;gap:8px}.field-end{justify-content:flex-end}input:not([type=checkbox]),select,textarea{border:1px solid var(--border-strong);background:var(--surface);border-radius:var(--radius-sm);min-width:0;max-width:100%;padding:5px 8px}textarea{resize:vertical;line-height:1.45}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:0;border-color:var(--focus)}input:user-invalid{border-color:var(--bad)}.input-narrow{width:90px}.mem-list{flex-direction:column;gap:2px;list-style:none;display:flex}.mem-row{border-bottom:1px solid var(--border);border-radius:0;grid-template-columns:170px minmax(0,1fr) minmax(140px,220px);align-items:start;gap:12px;display:grid}.mem-badges{flex-wrap:wrap;gap:4px;display:flex}.mem-main{flex-direction:column;gap:2px;min-width:0;display:flex}.mem-title{flex-wrap:wrap;align-items:baseline;gap:6px;font-weight:600;display:flex}.mem-body{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mem-side{font-size:var(--fs-xs);text-align:right;flex-direction:column;align-items:flex-end;gap:3px;min-width:0;display:flex}.pin,.enforced{font-family:var(--font-mono);text-transform:uppercase;letter-spacing:.06em;border-radius:3px;padding:1px 5px;font-size:10px;font-weight:600}.pin{color:var(--accent-text);background:var(--accent-soft)}.enforced{color:var(--warn);background:var(--warn-bg)}.detail-head{flex-direction:column;gap:6px;display:flex}.body-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--fs-md);border-radius:var(--radius);background:var(--surface-2);border:1px solid var(--border);padding:12px 14px;line-height:1.55}.time-travel{border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent-text);font-size:var(--fs-sm);padding:8px 10px}.kv{grid-template-columns:110px minmax(0,1fr);gap:6px 12px;margin:0;display:grid}.kv dt{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);padding-top:2px}.kv dd{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin:0;display:flex}.sub{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:8px;font-weight:600}.timeline{border-left:2px solid var(--border);margin-left:6px;list-style:none}.tl-item{padding-left:12px;position:relative}.tl-item:before{content:"";background:var(--surface);border:2px solid var(--border-strong);border-radius:50%;width:10px;height:10px;position:absolute;top:12px;left:-6px}.tl-current:before{border-color:var(--accent);background:var(--accent)}.tl-btn{border-radius:var(--radius-sm);text-align:left;cursor:pointer;width:100%;font-size:var(--fs-sm);background:0 0;border:1px solid #0000;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px;display:flex}.tl-btn:hover{background:var(--surface-2)}.tl-btn[aria-pressed=true]{border-color:var(--border);background:var(--surface-2)}.tl-ver{font-family:var(--font-mono);font-weight:650}.tl-reason{flex:1;min-width:120px}.evidence{flex-direction:column;gap:6px;list-style:none;display:flex}.evidence>li{border-bottom:1px dashed var(--border);flex-wrap:wrap;align-items:center;gap:6px;padding:6px 0;display:flex}.form{flex-direction:column;gap:12px;display:flex}.check-field{grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;display:grid}.check-field .help{grid-column:2;margin:0}.check-field input{accent-color:var(--accent);width:15px;height:15px;margin:0}.fieldset{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:8px;margin:0;padding:10px 12px;display:flex}.fieldset legend{font-family:var(--font-mono);font-size:var(--fs-xs);color:var(--muted);padding:0 4px}.segmented{border:1px solid var(--border-strong);border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.seg{background:var(--surface);font-size:var(--fs-sm);cursor:pointer;color:var(--muted);white-space:nowrap;border:0;padding:3px 9px}.seg+.seg{border-left:1px solid var(--border-strong)}.seg[aria-checked=true]{background:var(--accent-soft);color:var(--accent-text);font-weight:600}dialog{color:var(--text);background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-lg);padding:0}dialog::backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#080a1273}.drawer{border-width:0 0 0 1px;border-radius:0;width:min(560px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0 0 0 auto}.drawer-wide{width:min(760px,100vw)}.drawer[open]{animation:.18s ease-out slide}@keyframes slide{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:none}}.drawer-inner{flex-direction:column;height:100%;display:flex}.drawer-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.drawer-head h2{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--text-2)}.drawer-head .btn{font-family:var(--font-mono);font-size:var(--fs-xs);border-color:var(--border)}.drawer-body{flex:1;padding:16px;overflow-y:auto}.confirm{border-radius:var(--radius);width:min(460px,100vw - 32px);padding:18px}.confirm h2{font-size:var(--fs-md);margin-bottom:10px;font-weight:650}.confirm-body{color:var(--text-2);flex-direction:column;gap:10px;display:flex}.confirm-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.board-col{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:8px}.board-head{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.07em;color:var(--text-2);align-items:center;gap:6px;padding:2px 4px 8px;display:flex}.col-in_progress .board-head{color:var(--info)}.col-blocked .board-head{color:var(--bad)}.col-done .board-head{color:var(--good)}.board-items{flex-direction:column;gap:6px;list-style:none;display:flex}.task{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);flex-direction:column;gap:6px;padding:8px 10px;display:flex}.task-title{font-weight:600}.plan{font-size:var(--fs-sm);color:var(--text-2);flex-direction:column;gap:2px;list-style:none;display:flex}.plan-done{color:var(--muted);text-decoration:line-through}.blockers{font-size:var(--fs-sm);color:var(--bad);list-style:none}.task-foot{font-size:var(--fs-xs);justify-content:space-between;gap:8px;display:flex}.intent-groups{flex-direction:column;gap:14px;list-style:none;display:flex}.intent-session{font-size:var(--fs);align-items:center;gap:8px;margin-bottom:6px;font-weight:650;display:flex}.intents{flex-direction:column;gap:8px;padding-left:34px;list-style:none;display:flex}.intents>li{flex-direction:column;gap:4px;display:flex}.deliveries,.handoffs,.snapshots,.diff-files{flex-direction:column;gap:10px;list-style:none;display:flex}.deliveries>li{border-bottom:1px solid var(--border);padding-bottom:8px}.handoff{border:1px solid var(--border);border-left:3px solid var(--warn);border-radius:var(--radius);background:var(--surface-2);flex-direction:column;gap:8px;padding:10px 12px;display:flex}.handoff-title{font-weight:600}.handoff-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.bullets{flex-direction:column;gap:2px;padding-left:18px;display:flex}.packets{flex-direction:column;gap:14px;list-style:none;display:flex}.packet{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:10px;padding:10px 12px;display:flex}.packet-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.packet-query{font-family:var(--font-mono);font-size:var(--fs-sm);color:var(--text-2);overflow-wrap:anywhere}.packet-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.budget{align-items:center;gap:10px;display:flex}.budget-label{font-size:var(--fs-xs);color:var(--muted);white-space:nowrap}.meter{background:var(--surface-3);border-radius:999px;flex:1;height:8px;overflow:hidden}.meter-fill{background:var(--accent);border-radius:999px;height:100%}.meter-hot{background:var(--warn)}.score{z-index:0;min-width:52px;padding:0 4px;display:inline-block;position:relative}.score-bar{background:var(--accent-soft);z-index:-1;border-radius:2px;position:absolute;inset:2px auto 2px 0}.md{max-width:76ch;font-size:var(--fs-md);flex-direction:column;gap:8px;display:flex}.md h3{font-size:var(--fs-lg);font-weight:650}.md h4{font-family:var(--font-mono);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.08em;color:var(--accent-text);margin-top:8px}.md ul,.md ol{flex-direction:column;gap:3px;padding-left:20px;display:flex}.snapshot{border-bottom:1px solid var(--border);padding-bottom:10px}.snapshot-label{font-weight:600}.snapshot-diff{border-radius:var(--radius-sm);background:var(--surface-2);margin-top:8px;padding:10px 12px}.diff-files{gap:4px}.diff-files li{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trust-state{border-radius:var(--radius);align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.trust-ok{background:var(--good-bg);color:var(--good)}.trust-no{background:var(--warn-bg);color:var(--warn)}.trust-state-mark{border:2px solid;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-weight:700;display:grid}.trust-state-title{font-weight:650;font-size:var(--fs-md)}.argv{flex-wrap:wrap;gap:4px;display:inline-flex}.warn-box{border:1px solid color-mix(in srgb, var(--bad) 40%, var(--border));background:var(--bad-bg);border-radius:var(--radius);flex-direction:column;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.toasts{z-index:50;flex-direction:column;gap:8px;max-width:min(420px,100vw - 32px);display:flex;position:fixed;bottom:16px;right:16px}.toast{border-radius:var(--radius);background:var(--text);color:var(--surface);box-shadow:var(--shadow-lg);font-size:var(--fs-sm);overflow-wrap:anywhere;padding:9px 12px}.toast-bad{background:var(--bad);color:#fff}@media (width<=1180px){.grid-main{grid-template-columns:minmax(0,1fr)}.needs-items{grid-template-columns:repeat(2,minmax(0,1fr))}.packet-cols{grid-template-columns:minmax(0,1fr)}}@media (width<=1000px){.grid-2{grid-template-columns:minmax(0,1fr)}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.mem-row{grid-template-columns:minmax(0,1fr);gap:6px}.mem-side{text-align:left;flex-flow:wrap;justify-content:flex-start;align-items:center}.root-path{display:none}}@media (width<=760px){.split{grid-template-columns:minmax(0,1fr)}.run-detail{border-left:0;border-top:1px solid var(--border);padding-left:0;padding-top:var(--gap)}.trust-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.main{padding:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}