-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.json
More file actions
354 lines (354 loc) · 9.92 KB
/
Copy pathstack.json
File metadata and controls
354 lines (354 loc) · 9.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
{
"manifest_version": 1,
"name": "Iris Stack",
"purpose": "Permissionless identity, communication, connectivity, storage, social trust, and money for independent participants.",
"principles": [
"Products remain standalone and own their explicit outbound links.",
"Capability cores never depend on product repositories.",
"Cross-capability joins live in adapters.",
"Compatibility carriers and gateways are not authorities.",
"One versioned wire contract has shared fixtures across implementations.",
"Shared extraction removes duplicate implementations and fallback forks."
],
"components": [
{
"id": "nostr",
"kind": "foundation",
"repository": "https://github.com/nostr-protocol/nips",
"owns": [
"signed events",
"portable public-key identity"
]
},
{
"id": "fips",
"kind": "capability-core",
"repositories": {
"rust": "https://github.com/mmalmi/fips",
"typescript": "https://github.com/mmalmi/fips-ts"
},
"owns": [
"authenticated public-key-addressed datagrams",
"Noise links",
"transports",
"discovery and routing",
"admission",
"encrypted capability exchange"
]
},
{
"id": "fips-tcp",
"kind": "capability-core",
"repository": "https://github.com/mmalmi/fips-tcp",
"depends_on": [
"fips"
],
"owns": [
"reliable ordered delivery over FIPS"
]
},
{
"id": "nostr-pubsub",
"kind": "capability-core",
"repository": "https://github.com/mmalmi/nostr-pubsub",
"depends_on": [
"nostr"
],
"owns": [
"event filters",
"inventory and want",
"deduplication",
"real-time event policy"
],
"optional_integrations": [
"fips",
"nostr-social-graph"
]
},
{
"id": "nostr-double-ratchet",
"kind": "capability-core",
"repositories": {
"canonical": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/nostr-double-ratchet",
"github": "https://github.com/irislib/nostr-double-ratchet"
},
"depends_on": [
"nostr"
],
"owns": [
"end-to-end encrypted 1:1 Nostr events",
"group sender-key encryption",
"multi-device session and key management"
],
"optional_integrations": [
"nostr-pubsub"
]
},
{
"id": "hashtree",
"kind": "capability-core",
"repository": "https://github.com/mmalmi/hashtree",
"owns": [
"content hashes",
"files and directories",
"content-addressed B-tree and collection indexes",
"web app and release directories",
"Hashtree-authenticated application updates",
"history and Git data",
"verification and caching",
"adaptive read routing over content routes",
"application-owned pooled file storage",
"peer selection and HTL routing"
],
"optional_integrations": [
"fips-tcp",
"nostr-pubsub",
"cashu-service"
]
},
{
"id": "nostr-social-graph",
"kind": "capability-core",
"repository": "https://github.com/mmalmi/nostr-social-graph",
"depends_on": [
"nostr"
],
"owns": [
"signed fact events",
"graph traversal",
"contextual naming over public keys and UUID identities",
"local trust and reputation policy",
"graph-derived inputs for event, peer, and resource prioritization"
],
"optional_integrations": [
"nostr-pubsub",
"fips",
"hashtree"
]
},
{
"id": "cashu-service",
"kind": "capability-core",
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/cashu-service",
"owns": [
"bounded service credit",
"Cashu token transfer",
"useful-service receipts",
"settlement adapters"
],
"settlement_foundation": [
"Cashu",
"Lightning",
"Bitcoin"
]
},
{
"id": "iris-kit",
"kind": "shared-integration",
"repository": "https://github.com/mmalmi/iris-kit",
"owns": [
"shared web integration and UI packages"
]
},
{
"id": "iris-stack-lab",
"kind": "consumer-only-integration-lab",
"repositories": {
"canonical": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-stack",
"github": "https://github.com/irislib/iris-stack"
},
"depends_on": [
"fips",
"fips-tcp",
"hashtree",
"cashu-service"
],
"owns": [
"black-box cross-repository process tests",
"forced-death and replacement tests",
"released-artifact compatibility gates"
],
"must_not_be_dependency_of": [
"capability cores",
"products"
]
}
],
"products": [
{
"id": "iris-drive",
"repository": "https://github.com/mmalmi/iris-drive",
"intended_capabilities": [
"fips",
"fips-tcp",
"hashtree"
]
},
{
"id": "iris-chat",
"repositories": [
"https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-chat",
"https://github.com/irislib/iris-chat-rs"
],
"intended_capabilities": [
"nostr",
"fips",
"fips-tcp",
"nostr-pubsub",
"nostr-double-ratchet",
"hashtree",
"nostr-social-graph"
]
},
{
"id": "nostr-vpn",
"repository": "https://github.com/mmalmi/nostr-vpn",
"intended_capabilities": [
"fips",
"nostr-pubsub",
"nostr-social-graph",
"cashu-service"
]
},
{
"id": "iris-git",
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-git",
"intended_capabilities": [
"nostr",
"fips",
"hashtree"
]
},
{
"id": "iris-contacts",
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-contacts",
"intended_capabilities": [
"nostr",
"nostr-social-graph",
"hashtree"
]
},
{
"id": "iris-audio",
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-audio",
"intended_capabilities": [
"hashtree"
]
},
{
"id": "iris-sites",
"repository": "https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/iris-sites",
"intended_capabilities": [
"nostr",
"hashtree"
]
}
],
"contracts": [
{
"id": "fsp",
"owner": "fips",
"purpose": "Authenticated encrypted capability exchange and application traffic."
},
{
"id": "fips-tcp",
"owner": "fips-tcp",
"purpose": "Reliable ordered streams over authenticated FIPS links."
},
{
"id": "nostr.pubsub/1",
"owner": "nostr-pubsub",
"carrier": "fips adapter",
"purpose": "Real-time decentralized Nostr event pub/sub."
},
{
"id": "hashtree.blob/1",
"owner": "hashtree",
"carrier": "fips-tcp adapter",
"request": {
"type": "BlobRequest",
"fields": [
"hash",
"htl"
]
},
"reply_variants": [
"Data(bytes)",
"NoResult"
],
"semantics": [
"NoResult is route-local and is never global absence.",
"All returned bytes are hash-verified centrally.",
"Only Hashtree mesh forwarding decrements HTL.",
"Terminal adapters and FIPS routing hops do not decrement HTL.",
"Failure of a same-host route does not suppress standalone lookup.",
"Nostr pub/sub is not part of blob routing."
]
},
{
"id": "signed-fact-events",
"owner": "nostr-social-graph",
"carrier": "nostr",
"purpose": "Portable signed claims interpreted by local graph and reputation policy."
},
{
"id": "hashtree.update.v1",
"owner": "hashtree",
"carriers": [
"nostr-pubsub announcement",
"Hashtree blob routes"
],
"purpose": "Resolve a signed release root, select a platform artifact, and verify its manifest and bytes transitively by CID."
}
],
"same_host": {
"transport": "ordinary FIPS UDP",
"rendezvous": "127.0.0.1:21211",
"bind": "exclusive",
"plaintext_hint": [
"version",
"random nonce",
"same nonce in response",
"owner public key"
],
"authentication": "ordinary Noise IK with identity ACLs",
"capability_exchange": "authenticated FSP only",
"capability_discovery_crosses_product_scopes": true,
"anchor_roles_excluded": [
"trust root",
"mandatory daemon",
"external gateway",
"shared-egress owner"
],
"standalone_required": true
},
"testing_ownership": {
"capability_repositories": [
"protocol invariants",
"codecs and fuzzing",
"resource and failure bounds",
"cross-language interoperability"
],
"product_repositories": [
"startup and platform integration",
"authorization and durable effects",
"product economics",
"application-owned outbound links",
"standalone mode"
],
"iris-stack-lab": [
"cross-repository black-box processes",
"graceful and forced process death",
"provider replacement",
"released-artifact compatibility",
"product-owned outbound link preservation"
]
},
"compatibility_policy": {
"wire_contracts_versioned": true,
"shared_cross_language_fixtures": true,
"consumer_lockfile_gate_for_releases": true,
"simulators_use_production_state_machines": true,
"unreleased_version_tuple_recorded_here": false
}
}