A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.discussion.state",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "description": "A state change event for a discussion (close, reopen, merge)",
11 "record": {
12 "type": "object",
13 "required": ["discussion", "state", "createdAt"],
14 "properties": {
15 "discussion": {
16 "type": "string",
17 "format": "at-uri",
18 "description": "The discussion this state change applies to"
19 },
20 "state": {
21 "type": "string",
22 "knownValues": ["open", "closed", "merged"],
23 "description": "The new state of the discussion"
24 },
25 "createdAt": {
26 "type": "string",
27 "format": "datetime"
28 }
29 }
30 }
31 }
32 }
33}