lnfnt-a2a 0.1.0__tar.gz
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.
- lnfnt_a2a-0.1.0/.gitattributes +3 -0
- lnfnt_a2a-0.1.0/.gitignore +8 -0
- lnfnt_a2a-0.1.0/LICENSE +202 -0
- lnfnt_a2a-0.1.0/LIMITATIONS.md +23 -0
- lnfnt_a2a-0.1.0/NOTES.md +32 -0
- lnfnt_a2a-0.1.0/NOTICE +1 -0
- lnfnt_a2a-0.1.0/PKG-INFO +103 -0
- lnfnt_a2a-0.1.0/README.md +89 -0
- lnfnt_a2a-0.1.0/README.ru.md +59 -0
- lnfnt_a2a-0.1.0/SCHEMA.md +122 -0
- lnfnt_a2a-0.1.0/SECURITY.md +4 -0
- lnfnt_a2a-0.1.0/SPEC.md +282 -0
- lnfnt_a2a-0.1.0/a2a/__init__.py +5 -0
- lnfnt_a2a-0.1.0/a2a/access.py +143 -0
- lnfnt_a2a-0.1.0/a2a/alerts.py +155 -0
- lnfnt_a2a-0.1.0/a2a/auditlog.py +44 -0
- lnfnt_a2a-0.1.0/a2a/backup.py +193 -0
- lnfnt_a2a-0.1.0/a2a/cards.py +58 -0
- lnfnt_a2a-0.1.0/a2a/cli.py +1024 -0
- lnfnt_a2a-0.1.0/a2a/cookbook.py +143 -0
- lnfnt_a2a-0.1.0/a2a/digest.py +161 -0
- lnfnt_a2a-0.1.0/a2a/dnd_policy.py +52 -0
- lnfnt_a2a-0.1.0/a2a/doctor.py +644 -0
- lnfnt_a2a-0.1.0/a2a/export.py +194 -0
- lnfnt_a2a-0.1.0/a2a/feed_rules.py +273 -0
- lnfnt_a2a-0.1.0/a2a/handoff.py +105 -0
- lnfnt_a2a-0.1.0/a2a/idempotency.py +153 -0
- lnfnt_a2a-0.1.0/a2a/index.py +185 -0
- lnfnt_a2a-0.1.0/a2a/journal.py +393 -0
- lnfnt_a2a-0.1.0/a2a/locks.py +288 -0
- lnfnt_a2a-0.1.0/a2a/mail.py +739 -0
- lnfnt_a2a-0.1.0/a2a/metrics.py +103 -0
- lnfnt_a2a-0.1.0/a2a/migrate.py +146 -0
- lnfnt_a2a-0.1.0/a2a/owner.py +305 -0
- lnfnt_a2a-0.1.0/a2a/prune.py +238 -0
- lnfnt_a2a-0.1.0/a2a/quarantine.py +191 -0
- lnfnt_a2a-0.1.0/a2a/rpc.py +106 -0
- lnfnt_a2a-0.1.0/a2a/schema.py +211 -0
- lnfnt_a2a-0.1.0/a2a/scrub_config.py +99 -0
- lnfnt_a2a-0.1.0/a2a/scrubber.py +124 -0
- lnfnt_a2a-0.1.0/a2a/secrets.py +164 -0
- lnfnt_a2a-0.1.0/a2a/segments.py +297 -0
- lnfnt_a2a-0.1.0/a2a/sessions.py +161 -0
- lnfnt_a2a-0.1.0/a2a/snapshot.py +123 -0
- lnfnt_a2a-0.1.0/a2a/status.py +404 -0
- lnfnt_a2a-0.1.0/a2a/tasks.py +1026 -0
- lnfnt_a2a-0.1.0/a2a/thoughts.py +48 -0
- lnfnt_a2a-0.1.0/a2a/userfeed.py +110 -0
- lnfnt_a2a-0.1.0/a2a/util.py +429 -0
- lnfnt_a2a-0.1.0/assets/flags/gb.svg +1 -0
- lnfnt_a2a-0.1.0/assets/flags/ru.svg +1 -0
- lnfnt_a2a-0.1.0/assets/poster.jpg +0 -0
- lnfnt_a2a-0.1.0/pyproject.toml +31 -0
- lnfnt_a2a-0.1.0/tests/conftest.py +74 -0
- lnfnt_a2a-0.1.0/tests/smoke_v070.sh +35 -0
- lnfnt_a2a-0.1.0/tests/smoke_v080.sh +44 -0
- lnfnt_a2a-0.1.0/tests/smoke_v090.sh +75 -0
- lnfnt_a2a-0.1.0/tests/smoke_v100.sh +43 -0
- lnfnt_a2a-0.1.0/tests/test_a2a.py +1386 -0
- lnfnt_a2a-0.1.0/tests/test_home_resolution.py +80 -0
- lnfnt_a2a-0.1.0/tests/test_v030_features.py +177 -0
- lnfnt_a2a-0.1.0/tests/test_v040_wake_ask.py +214 -0
- lnfnt_a2a-0.1.0/tests/test_v0410_panel.py +57 -0
- lnfnt_a2a-0.1.0/tests/test_v041_features.py +93 -0
- lnfnt_a2a-0.1.0/tests/test_v047_numbers_poka_yoke.py +43 -0
- lnfnt_a2a-0.1.0/tests/test_v048_dir_artifact.py +29 -0
- lnfnt_a2a-0.1.0/tests/test_v049_hotfix.py +79 -0
- lnfnt_a2a-0.1.0/tests/test_v050_acl.py +203 -0
- lnfnt_a2a-0.1.0/tests/test_v050_bundle.py +175 -0
- lnfnt_a2a-0.1.0/tests/test_v050_idem.py +71 -0
- lnfnt_a2a-0.1.0/tests/test_v050_tasks.py +357 -0
- lnfnt_a2a-0.1.0/tests/test_v060_backup.py +111 -0
- lnfnt_a2a-0.1.0/tests/test_v060_cas.py +59 -0
- lnfnt_a2a-0.1.0/tests/test_v060_hashtree.py +108 -0
- lnfnt_a2a-0.1.0/tests/test_v060_mail_pokayout.py +95 -0
- lnfnt_a2a-0.1.0/tests/test_v060_operaudit.py +91 -0
- lnfnt_a2a-0.1.0/tests/test_v060_scrubber.py +218 -0
- lnfnt_a2a-0.1.0/tests/test_v060_tamper.py +119 -0
- lnfnt_a2a-0.1.0/tests/test_v060_writescope.py +93 -0
- lnfnt_a2a-0.1.0/tests/test_v070_feedalerts.py +71 -0
- lnfnt_a2a-0.1.0/tests/test_v070_helping_errors.py +56 -0
- lnfnt_a2a-0.1.0/tests/test_v070_locks.py +54 -0
- lnfnt_a2a-0.1.0/tests/test_v070_secrets.py +72 -0
- lnfnt_a2a-0.1.0/tests/test_v080_attachments.py +52 -0
- lnfnt_a2a-0.1.0/tests/test_v080_digest.py +42 -0
- lnfnt_a2a-0.1.0/tests/test_v080_read_receipts.py +50 -0
- lnfnt_a2a-0.1.0/tests/test_v080_scrubconfig.py +57 -0
- lnfnt_a2a-0.1.0/tests/test_v080_tags_search.py +72 -0
- lnfnt_a2a-0.1.0/tests/test_v080_threads.py +75 -0
- lnfnt_a2a-0.1.0/tests/test_v090_g09_migrations.py +52 -0
- lnfnt_a2a-0.1.0/tests/test_v090_j03_escalation.py +64 -0
- lnfnt_a2a-0.1.0/tests/test_v090_j09_owner_watch.py +51 -0
- lnfnt_a2a-0.1.0/tests/test_v090_tails.py +115 -0
- lnfnt_a2a-0.1.0/tests/test_v100_a05_private.py +42 -0
- lnfnt_a2a-0.1.0/tests/test_v100_i02_onboard.py +28 -0
- lnfnt_a2a-0.1.0/tests/test_v100_i03_cookbook.py +50 -0
- lnfnt_a2a-0.1.0/tests/test_verify_supersede.py +77 -0
lnfnt_a2a-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# LIMITATIONS.md — a2a-cli
|
|
2
|
+
|
|
3
|
+
- `a2a mail check` lists unread messages without changing their status. `--include-body` is intended for the Hermes pre-LLM hook and returns full bodies in local JSON; consumers must treat bodies as untrusted peer content and cap/avoid forwarding them to other recipients.
|
|
4
|
+
|
|
5
|
+
Inherited from SPEC §11:
|
|
6
|
+
|
|
7
|
+
- **L1 is not cryptographic isolation**: all profiles run under the same unix UID in MVP. Isolation is contract + index filtering + audit logging.
|
|
8
|
+
- **verify-run исполняет команду**: `a2a log --verify "<cmd>" --verify-run` ЗАПУСКАЕТ <cmd> через shell от имени вызывающего (лимит 30 с), exit-код и усечённый вывод пишутся в запись (v0.4.x). Без `--verify-run` — только сохранение команды.
|
|
9
|
+
- **DND is a contract, not a the messenger interceptor**: agents and cron jobs must call `a2a dnd check` before notifying; the messenger/the notes app pushes are not automatically rerouted.
|
|
10
|
+
- **The A2A mailbox is durable but not a live wake-up channel.** `a2a mail send` writes the recipient inbox immediately; the Hermes `pre_llm_call` hook is startup/first-turn discovery, so an already-idle gateway agent will not wake just because an inbox file appeared. For immediate agent-to-agent delivery use Hermes Bot Mode `message_agent` / `hermes peer`; these create a recipient turn and return an explicit delivery acknowledgement. Do not describe A2A mail alone as real-time.
|
|
11
|
+
- **support is not required to use thoughts/L3**: existing channels remain.
|
|
12
|
+
- **Security depends on the scrubber**: secret detection is regex-based and will be extended as new leak patterns are discovered.
|
|
13
|
+
- **Derived SQLite index**: `.state/index.sqlite3` can be deleted and rebuilt with `a2a index --rebuild`.
|
|
14
|
+
- **Mail storage duplication**: every sent mail is stored twice (recipient inbox + sender outbox) for simplicity; the index sees only the inbox copy.
|
|
15
|
+
|
|
16
|
+
## A-02/A-03/A-04: profile authentication — out of scope (single-UID design)
|
|
17
|
+
Design decision (accepted): в экосистеме единого
|
|
18
|
+
POSIX UID криптографическая аутентификация процессов-агентов без изоляции ядра
|
|
19
|
+
создаёт лишь фикцию безопасности (любой процесс с доступом к ФС читал бы чужой
|
|
20
|
+
ключ). Границы обеспечиваются слоями, которые реально работают: манифест
|
|
21
|
+
profiles.json (A-01), write-scope (F-01), CAS (J-06), tamper-baseline (G-04),
|
|
22
|
+
audit.log + read-гейт ACL (J-05). При переносе профилей на разные хосты решение
|
|
23
|
+
пересматривается (тогда токены появляются физически где прятать).
|
lnfnt_a2a-0.1.0/NOTES.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# NOTES.md — a2a-cli
|
|
2
|
+
|
|
3
|
+
## ID generation
|
|
4
|
+
|
|
5
|
+
ULID-like, offline, monotonic:
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
<integer_ms_since_epoch in hex, 13 chars><uuid4 hex suffix, 19 chars>
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Example: `synthetic-id` (32 hex chars total).
|
|
12
|
+
|
|
13
|
+
Properties:
|
|
14
|
+
- Sortable by creation time.
|
|
15
|
+
- No network or external dependency.
|
|
16
|
+
- Collision probability is UUID4-level for the suffix.
|
|
17
|
+
|
|
18
|
+
## Deviations / clarifications from SPEC.md
|
|
19
|
+
|
|
20
|
+
1. **Mail physical layout**: SPEC §5.2 says "Доставка = атомарный move". For MVP we keep a physical copy in the recipient `inbox/` and a separate copy in the sender `outbox/` (atomic `os.replace`). The derived SQLite index indexes only the canonical `inbox/` (and `archive/`) copies; `outbox/` is treated as a non-indexed sender mirror.
|
|
21
|
+
2. **DND representation**: SPEC §6 shows DND as a `status` record with `state: dnd`. Implemented exactly that way; `a2a dnd set|clear|check` are convenience wrappers around the status file.
|
|
22
|
+
3. **Alert CLI**: `a2a alert set` and `a2a alert list` are exposed as explicit commands. SPEC §7 does not list them, but the MVP scope requires `alerts.py` and the type is defined in SPEC §5.6.
|
|
23
|
+
4. **User note type name**: Stored with `type: user-note` (SPEC §5.8). CLI command is `a2a user post`.
|
|
24
|
+
5. **Orphan definition**: In `a2a doctor`, an orphan is any `.md` file under the storage tree that `util.read_record()` cannot parse as front-matter YAML.
|
|
25
|
+
6. **Verify exit code**: Schema violations detected by `a2a verify` return exit code `3` (`INVALID_RECORD`), matching SPEC §8.
|
|
26
|
+
7. **Index backend**: SQLite `fts5` virtual table is used for full-text search; the `.state/index.sqlite3` file is derived and rebuildable.
|
|
27
|
+
|
|
28
|
+
## Open questions
|
|
29
|
+
|
|
30
|
+
- Should `mail send` use a single canonical file with symlinks instead of two copies? Current copy approach is simpler and avoids symlink edge cases but doubles storage for mail.
|
|
31
|
+
- Should `a2a read --unread` also filter non-mail records? Currently it only filters `type: mail` records by `msg_status`; other record types are always included.
|
|
32
|
+
- Should `verify` validate that every indexed record path actually exists on disk? Currently it walks the filesystem.
|
lnfnt_a2a-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a2a — Copyright (C) 2026 lnfnt <lnfnt@proton.me>. License: Apache-2.0.
|
lnfnt_a2a-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: lnfnt-a2a
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Agent-to-agent file-bus CLI for AI agent teams: mail, journal, tasks, locks, alerts, RPC over shared storage
|
|
5
|
+
Author-email: lnfnt <lnfnt@proton.me>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
License-File: NOTICE
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Requires-Dist: pyyaml>=6.0
|
|
11
|
+
Provides-Extra: dev
|
|
12
|
+
Requires-Dist: pytest>=7.0; extra == 'dev'
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# a2a-cli
|
|
16
|
+
|
|
17
|
+
    
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<p align="center"><img src="assets/poster.jpg" width="820" alt="a2a-cli poster"></p>
|
|
21
|
+
|
|
22
|
+
File-based agent bus: mail, journal, thoughts, task board, locks, alerts, handoffs,
|
|
23
|
+
presence (status/DND), synchronous RPC. Records are Markdown with YAML front matter on a
|
|
24
|
+
shared POSIX filesystem; every command emits one JSON envelope. No daemon, no broker, no
|
|
25
|
+
network.
|
|
26
|
+
|
|
27
|
+
[<img src="assets/flags/ru.svg" height="16" align="top" alt="RU"> Русский](README.ru.md) · **English**
|
|
28
|
+
|
|
29
|
+
## Install
|
|
30
|
+
|
|
31
|
+
> The PyPI project named `a2a-cli` is unrelated. Install from this repository only.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install git+https://github.com/lnfnt/a2a-cli.git
|
|
35
|
+
a2a --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Dev checkout: `git clone https://github.com/lnfnt/a2a-cli.git && cd a2a-cli
|
|
39
|
+
&& python -m venv .venv && .venv/bin/pip install -e .`
|
|
40
|
+
Python >= 3.10, PyYAML.
|
|
41
|
+
|
|
42
|
+
## Quickstart: two profiles on one bus
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
export A2A_HOME=/tmp/a2a-demo
|
|
46
|
+
a2a onboard --profile alice
|
|
47
|
+
a2a onboard --profile bob
|
|
48
|
+
|
|
49
|
+
a2a --profile alice mail send --to bob --subject "ship it" --body "task 42 is ready"
|
|
50
|
+
a2a --profile bob mail check # read-only unread peek (cron-safe)
|
|
51
|
+
a2a --profile bob mail list --inbox --unread
|
|
52
|
+
a2a --profile bob mail answer <id> "done, artifacts attached"
|
|
53
|
+
|
|
54
|
+
a2a --profile alice log "implemented bus schema" --artifacts ./SPEC.md
|
|
55
|
+
a2a --profile alice think "hypothesis: file bus beats a queue for 10 agents"
|
|
56
|
+
|
|
57
|
+
a2a --profile alice task new "release v1" --to bob
|
|
58
|
+
a2a --profile bob task claim <id>
|
|
59
|
+
a2a --profile bob task submit <id> --evidence ./build.log
|
|
60
|
+
a2a --profile alice task accept <id>
|
|
61
|
+
|
|
62
|
+
a2a --profile bob status set --state idle
|
|
63
|
+
a2a --profile alice fleet
|
|
64
|
+
a2a --profile alice ask --to bob --timeout 30 "where is v1?"
|
|
65
|
+
|
|
66
|
+
a2a doctor # orphans, ACL drift, secret spikes, tamper baseline, version parity
|
|
67
|
+
a2a verify # schema validation of every record
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
One JSON envelope per command: `{"ok":…, "status":…, "reason":…, "data":…, "metadata":…}`;
|
|
71
|
+
rejections carry `hint` + `example`. Exit codes: 0 ok, 1 error, 2 degraded, 3 invalid record,
|
|
72
|
+
4 usage, 124 timeout.
|
|
73
|
+
|
|
74
|
+
## Storage model
|
|
75
|
+
|
|
76
|
+
One directory tree, append-only records. Default store `~/.a2a`, override `A2A_HOME`.
|
|
77
|
+
Profile resolution: `--profile` > `A2A_PROFILE` > `HERMES_PROFILE` > `HERMES_HOME` dir name >
|
|
78
|
+
`~/.hermes/active_profile` > `default`. ACL per record: `L1` private, `L2` team, `L3` public;
|
|
79
|
+
fail-closed — invalid access is rejected or downgraded to the type default.
|
|
80
|
+
|
|
81
|
+
## Integrity
|
|
82
|
+
|
|
83
|
+
- Scrubber: secret shapes (`sk-…`, `Bearer …`, PEM, `api_key=…`, hex-32+) are redacted or
|
|
84
|
+
hard-rejected with `secret_detected`; quarantine + `a2a secrets report` + doctor warnings.
|
|
85
|
+
- Tamper detection: `a2a snapshot --save` records sha256; `a2a doctor` diffs (`tamper_suspects`).
|
|
86
|
+
- Atomic writes (mkstemp + fsync + rename); interrupted bundles forward-recover via doctor.
|
|
87
|
+
- Scope locks, DND policy, idempotency dedup, audit log (actions only, never content).
|
|
88
|
+
- SQLite FTS5 search index — derived, rebuildable (`a2a index --rebuild`).
|
|
89
|
+
|
|
90
|
+
## Limits
|
|
91
|
+
|
|
92
|
+
- Single-UID trust model: anyone with write access to the directory can post as their own
|
|
93
|
+
profile; the bus detects tampering, not identity fraud.
|
|
94
|
+
- For more than ~dozens of agents or multiple machines, use a real message broker.
|
|
95
|
+
- `ask` is bounded synchronous coordination (timeout + answer file), not chat.
|
|
96
|
+
|
|
97
|
+
## Docs & tests
|
|
98
|
+
|
|
99
|
+
`SPEC.md`, `SCHEMA.md`, `LIMITATIONS.md`, `NOTES.md`, `a2a cookbook`.
|
|
100
|
+
`python -m pytest -q` — 405 tests against temp `A2A_HOME` dirs.
|
|
101
|
+
Apache-2.0 (`LICENSE`). Verify artifacts: `sha256sum -c SHA256SUMS`, `gpg --verify *.asc`.
|
|
102
|
+
|
|
103
|
+
Author and copyright holder: [lnfnt](mailto:lnfnt@proton.me).
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# a2a-cli
|
|
2
|
+
|
|
3
|
+
    
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<p align="center"><img src="assets/poster.jpg" width="820" alt="a2a-cli poster"></p>
|
|
7
|
+
|
|
8
|
+
File-based agent bus: mail, journal, thoughts, task board, locks, alerts, handoffs,
|
|
9
|
+
presence (status/DND), synchronous RPC. Records are Markdown with YAML front matter on a
|
|
10
|
+
shared POSIX filesystem; every command emits one JSON envelope. No daemon, no broker, no
|
|
11
|
+
network.
|
|
12
|
+
|
|
13
|
+
[<img src="assets/flags/ru.svg" height="16" align="top" alt="RU"> Русский](README.ru.md) · **English**
|
|
14
|
+
|
|
15
|
+
## Install
|
|
16
|
+
|
|
17
|
+
> The PyPI project named `a2a-cli` is unrelated. Install from this repository only.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install git+https://github.com/lnfnt/a2a-cli.git
|
|
21
|
+
a2a --help
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Dev checkout: `git clone https://github.com/lnfnt/a2a-cli.git && cd a2a-cli
|
|
25
|
+
&& python -m venv .venv && .venv/bin/pip install -e .`
|
|
26
|
+
Python >= 3.10, PyYAML.
|
|
27
|
+
|
|
28
|
+
## Quickstart: two profiles on one bus
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
export A2A_HOME=/tmp/a2a-demo
|
|
32
|
+
a2a onboard --profile alice
|
|
33
|
+
a2a onboard --profile bob
|
|
34
|
+
|
|
35
|
+
a2a --profile alice mail send --to bob --subject "ship it" --body "task 42 is ready"
|
|
36
|
+
a2a --profile bob mail check # read-only unread peek (cron-safe)
|
|
37
|
+
a2a --profile bob mail list --inbox --unread
|
|
38
|
+
a2a --profile bob mail answer <id> "done, artifacts attached"
|
|
39
|
+
|
|
40
|
+
a2a --profile alice log "implemented bus schema" --artifacts ./SPEC.md
|
|
41
|
+
a2a --profile alice think "hypothesis: file bus beats a queue for 10 agents"
|
|
42
|
+
|
|
43
|
+
a2a --profile alice task new "release v1" --to bob
|
|
44
|
+
a2a --profile bob task claim <id>
|
|
45
|
+
a2a --profile bob task submit <id> --evidence ./build.log
|
|
46
|
+
a2a --profile alice task accept <id>
|
|
47
|
+
|
|
48
|
+
a2a --profile bob status set --state idle
|
|
49
|
+
a2a --profile alice fleet
|
|
50
|
+
a2a --profile alice ask --to bob --timeout 30 "where is v1?"
|
|
51
|
+
|
|
52
|
+
a2a doctor # orphans, ACL drift, secret spikes, tamper baseline, version parity
|
|
53
|
+
a2a verify # schema validation of every record
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
One JSON envelope per command: `{"ok":…, "status":…, "reason":…, "data":…, "metadata":…}`;
|
|
57
|
+
rejections carry `hint` + `example`. Exit codes: 0 ok, 1 error, 2 degraded, 3 invalid record,
|
|
58
|
+
4 usage, 124 timeout.
|
|
59
|
+
|
|
60
|
+
## Storage model
|
|
61
|
+
|
|
62
|
+
One directory tree, append-only records. Default store `~/.a2a`, override `A2A_HOME`.
|
|
63
|
+
Profile resolution: `--profile` > `A2A_PROFILE` > `HERMES_PROFILE` > `HERMES_HOME` dir name >
|
|
64
|
+
`~/.hermes/active_profile` > `default`. ACL per record: `L1` private, `L2` team, `L3` public;
|
|
65
|
+
fail-closed — invalid access is rejected or downgraded to the type default.
|
|
66
|
+
|
|
67
|
+
## Integrity
|
|
68
|
+
|
|
69
|
+
- Scrubber: secret shapes (`sk-…`, `Bearer …`, PEM, `api_key=…`, hex-32+) are redacted or
|
|
70
|
+
hard-rejected with `secret_detected`; quarantine + `a2a secrets report` + doctor warnings.
|
|
71
|
+
- Tamper detection: `a2a snapshot --save` records sha256; `a2a doctor` diffs (`tamper_suspects`).
|
|
72
|
+
- Atomic writes (mkstemp + fsync + rename); interrupted bundles forward-recover via doctor.
|
|
73
|
+
- Scope locks, DND policy, idempotency dedup, audit log (actions only, never content).
|
|
74
|
+
- SQLite FTS5 search index — derived, rebuildable (`a2a index --rebuild`).
|
|
75
|
+
|
|
76
|
+
## Limits
|
|
77
|
+
|
|
78
|
+
- Single-UID trust model: anyone with write access to the directory can post as their own
|
|
79
|
+
profile; the bus detects tampering, not identity fraud.
|
|
80
|
+
- For more than ~dozens of agents or multiple machines, use a real message broker.
|
|
81
|
+
- `ask` is bounded synchronous coordination (timeout + answer file), not chat.
|
|
82
|
+
|
|
83
|
+
## Docs & tests
|
|
84
|
+
|
|
85
|
+
`SPEC.md`, `SCHEMA.md`, `LIMITATIONS.md`, `NOTES.md`, `a2a cookbook`.
|
|
86
|
+
`python -m pytest -q` — 405 tests against temp `A2A_HOME` dirs.
|
|
87
|
+
Apache-2.0 (`LICENSE`). Verify artifacts: `sha256sum -c SHA256SUMS`, `gpg --verify *.asc`.
|
|
88
|
+
|
|
89
|
+
Author and copyright holder: [lnfnt](mailto:lnfnt@proton.me).
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# a2a-cli
|
|
2
|
+
|
|
3
|
+
   
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<p align="center"><img src="assets/poster.jpg" width="820" alt="a2a-cli poster"></p>
|
|
7
|
+
|
|
8
|
+
**Русский** · [<img src="assets/flags/gb.svg" height="16" align="top" alt="EN"> English](README.md)
|
|
9
|
+
|
|
10
|
+
Файловая шина «агент-агент»: почта, журнал, общие мысли, доска задач, блокировки, алерты,
|
|
11
|
+
передачи, присутствие (status/DND), синхронный RPC. Записи — Markdown с YAML front matter на
|
|
12
|
+
общей POSIX-файловой системе; каждая команда — один JSON-конверт. Без демона, брокера и сети.
|
|
13
|
+
|
|
14
|
+
## Установка
|
|
15
|
+
|
|
16
|
+
> Пакет `a2a-cli` на PyPI — посторонний проект. Установка только из этого репозитория.
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install git+https://github.com/lnfnt/a2a-cli.git
|
|
20
|
+
a2a --help
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Python >= 3.10, PyYAML. Из checkout: `python -m venv .venv && .venv/bin/pip install -e .`
|
|
24
|
+
|
|
25
|
+
## Быстрый старт
|
|
26
|
+
|
|
27
|
+
Полный сценарий на два профиля — в основном README (Quickstart); команды идентичны.
|
|
28
|
+
Один JSON-конверт на команду; коды выхода: 0 ok, 1 error, 2 degraded, 3 invalid record,
|
|
29
|
+
4 usage, 124 timeout; отказы содержат `hint` + `example`.
|
|
30
|
+
|
|
31
|
+
## Модель хранения
|
|
32
|
+
|
|
33
|
+
Одно дерево каталогов, append-only. Хранилище `~/.a2a`, переопределение `A2A_HOME`.
|
|
34
|
+
Профиль: `--profile` > `A2A_PROFILE` > `HERMES_PROFILE` > имя `HERMES_HOME` >
|
|
35
|
+
`~/.hermes/active_profile` > `default`. Доступ на запись: `L1` приватно, `L2` команда,
|
|
36
|
+
`L3` публично; fail-closed.
|
|
37
|
+
|
|
38
|
+
## Целостность
|
|
39
|
+
|
|
40
|
+
- Скраббер: шаблоны секретов редактируются или отклоняются с `secret_detected`, карантин +
|
|
41
|
+
`a2a secrets report`.
|
|
42
|
+
- Детектор подмены: `a2a snapshot --save` (sha256) + сверка в `a2a doctor`.
|
|
43
|
+
- Атомарные записи, транзакции пакетов, восстановление через doctor.
|
|
44
|
+
- Блокировки, DND, дедупликация, audit-лог (действия, не содержимое).
|
|
45
|
+
- Индекс SQLite FTS5, пересобираемый.
|
|
46
|
+
|
|
47
|
+
## Ограничения
|
|
48
|
+
|
|
49
|
+
- Модель доверия single-UID: доступ к записи в каталог = возможность писать от своего
|
|
50
|
+
профиля; подделка записей детектируется, подмена личности — нет.
|
|
51
|
+
- Сотни агентов или несколько машин — нужен настоящий брокер.
|
|
52
|
+
- `ask` — синхронная координация с таймаутом, не чат.
|
|
53
|
+
|
|
54
|
+
## Документация и тесты
|
|
55
|
+
|
|
56
|
+
`SPEC.md`, `SCHEMA.md`, `LIMITATIONS.md`, `NOTES.md`, `a2a cookbook`. 405 тестов на временных
|
|
57
|
+
`A2A_HOME`. Apache-2.0. Проверка артефактов: `sha256sum -c SHA256SUMS`, `gpg --verify *.asc`.
|
|
58
|
+
|
|
59
|
+
Автор и правообладатель: [lnfnt](mailto:lnfnt@proton.me).
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# SCHEMA.md — a2a record front matter
|
|
2
|
+
|
|
3
|
+
All records are Markdown files with a YAML front matter block. The body is free text (limit 2000 characters for `thought` records by convention).
|
|
4
|
+
|
|
5
|
+
## Base schema
|
|
6
|
+
|
|
7
|
+
Every record MUST contain:
|
|
8
|
+
|
|
9
|
+
```yaml
|
|
10
|
+
---
|
|
11
|
+
id: <ulid-like-32-hex> # generated by a2a
|
|
12
|
+
type: journal|mail|status|thought|lock|alert|handoff|user-note
|
|
13
|
+
author: <profile> # caller profile
|
|
14
|
+
access: L1|L2|L3 # missing access defaults to type-specific level
|
|
15
|
+
created_at: <UTC ISO8601> # e.g. 2026-09-25T20:46:48Z
|
|
16
|
+
status: <type-specific> # see below
|
|
17
|
+
refs: [<paths>] # optional references
|
|
18
|
+
---
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Fail-closed: missing `access` → `L1`. Invalid `access` → record rejected.
|
|
22
|
+
|
|
23
|
+
### §4.4 downgrade rule
|
|
24
|
+
|
|
25
|
+
`access` is set at creation time and is immutable for a given record. Records are append-only; editing a file to change `access` from `L2` to `L1` (or any mutation) is forbidden. Creating a new record at a different access level is allowed — each record is independent. Verification (`a2a verify` and `a2a doctor`) checks that a record's storage path matches its declared `access` so that in-place tampering is detected.
|
|
26
|
+
|
|
27
|
+
## Type-specific fields
|
|
28
|
+
|
|
29
|
+
### `journal`
|
|
30
|
+
|
|
31
|
+
```yaml
|
|
32
|
+
what_done: <string>
|
|
33
|
+
what_left: <string|null>
|
|
34
|
+
deadline: <YYYY-MM-DD|null>
|
|
35
|
+
artifacts: [<paths>] # required when status is "done"
|
|
36
|
+
verify: <command|null> # command to verify artifacts (v0.2 stores only)
|
|
37
|
+
status: ok|UNVERIFIED_CLAIM # auto-set if artifact missing
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### `mail`
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
to: <profile>
|
|
44
|
+
subject: <string>
|
|
45
|
+
msg_status: unread|read|answered|resolved
|
|
46
|
+
reply_to: <id|null>
|
|
47
|
+
priority: today|fyi
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### `status`
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
state: busy|idle|blocked|rest_mode|low_battery|dnd
|
|
54
|
+
note: <string|null>
|
|
55
|
+
until: <UTC|null>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### `thought`
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
topic: <tag>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### `lock`
|
|
65
|
+
|
|
66
|
+
```yaml
|
|
67
|
+
target: <host/service/path>
|
|
68
|
+
reason: <string>
|
|
69
|
+
expires: <UTC>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### `alert`
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
target: <host/service>
|
|
76
|
+
severity: info|warn|critical
|
|
77
|
+
active_until: <UTC>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### `handoff`
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
to: <profile>
|
|
84
|
+
task: <string>
|
|
85
|
+
acceptance: <string>
|
|
86
|
+
payload: <path|null>
|
|
87
|
+
h_status: pending|in_progress|done|blocked
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### `user-note`
|
|
91
|
+
|
|
92
|
+
```yaml
|
|
93
|
+
kind: decision-needed|weekly|fyi
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Default access levels
|
|
97
|
+
|
|
98
|
+
| Type | Default access |
|
|
99
|
+
|-------------|----------------|
|
|
100
|
+
| thought | L1 |
|
|
101
|
+
| journal | L2 |
|
|
102
|
+
| mail | L2 |
|
|
103
|
+
| handoff | L2 |
|
|
104
|
+
| lock | L2 |
|
|
105
|
+
| alert | L2 |
|
|
106
|
+
| status | L2 |
|
|
107
|
+
| user-note | L3 |
|
|
108
|
+
|
|
109
|
+
Explicit `--access` always overrides the default.
|
|
110
|
+
|
|
111
|
+
## Storage paths
|
|
112
|
+
|
|
113
|
+
- `journal/YYYY/MM/YYYY-MM-DD_<profile>_<id>.md`
|
|
114
|
+
- `thoughts/<profile>/l1|l2/YYYY-MM-DD_<id>.md`
|
|
115
|
+
- `mail/<profile>/inbox/`, `mail/<profile>/outbox/`, `mail/archive/`
|
|
116
|
+
- `status/<profile>.md`
|
|
117
|
+
- `locks/<profile>_<id>.md`
|
|
118
|
+
- `alerts/YYYY-MM-DD_<profile>_<id>.md`
|
|
119
|
+
- `records/handoffs/YYYY-MM-DD_<profile>_<id>.md`
|
|
120
|
+
- `user-feed/YYYY-MM-DD_<profile>_<id>.md`
|
|
121
|
+
- `.state/index.sqlite3` (derived)
|
|
122
|
+
- `.state/audit.log` (append-only)
|