luca 3.0.2 → 3.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.
- package/bun.lock +45 -0
- package/commands/social.ts +137 -0
- package/datasets/lora/agentic-loop-session-candidates.jsonl +91 -0
- package/datasets/lora/agentic-loop-session-curation-summary.json +123 -0
- package/datasets/lora/luca-session-candidates.jsonl +29 -0
- package/datasets/lora/luca-session-curation-summary.json +121 -0
- package/datasets/lora/review-batch-1.jsonl +30 -0
- package/datasets/lora/review-manifest.json +41 -0
- package/datasets/lora/review-queue.jsonl +120 -0
- package/datasets/lora/review-schema.json +134 -0
- package/datasets/lora/review-template.jsonl +2 -0
- package/datasets/lora/review-ui.html +725 -0
- package/features/cipher-social.ts +493 -0
- package/package.json +6 -1
- package/scripts/curate-claude-sessions.ts +561 -0
- package/src/cli/build-info.ts +2 -2
- package/src/introspection/generated.agi.ts +13140 -12190
- package/src/introspection/generated.node.ts +3087 -2137
- package/src/node/container.ts +8 -0
- package/src/node/features/helpers.ts +12 -0
- package/src/node/features/socket-repl.ts +336 -0
- package/src/node/features/telnyx-assistant-connector.ts +1206 -0
- package/src/node/features/vm.ts +17 -0
- package/index.ts +0 -1
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://luca.local/datasets/lora/review-schema.json",
|
|
4
|
+
"title": "Luca Author Review Record",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"session_id",
|
|
8
|
+
"source_repo",
|
|
9
|
+
"candidate_path",
|
|
10
|
+
"reviewer",
|
|
11
|
+
"canonicality",
|
|
12
|
+
"policy_value",
|
|
13
|
+
"code_taste",
|
|
14
|
+
"verification_quality",
|
|
15
|
+
"disposition"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"session_id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Session UUID or agent session identifier."
|
|
21
|
+
},
|
|
22
|
+
"source_repo": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": ["luca", "agentic-loop", "other"]
|
|
25
|
+
},
|
|
26
|
+
"candidate_path": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Path to the source Claude session JSONL or normalized candidate record."
|
|
29
|
+
},
|
|
30
|
+
"reviewer": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Human reviewer identity."
|
|
33
|
+
},
|
|
34
|
+
"reviewed_at": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "date-time"
|
|
37
|
+
},
|
|
38
|
+
"first_instruction": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"task_type": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"architecture",
|
|
45
|
+
"bugfix",
|
|
46
|
+
"feature-add",
|
|
47
|
+
"refactor",
|
|
48
|
+
"docs",
|
|
49
|
+
"test-fix",
|
|
50
|
+
"investigation",
|
|
51
|
+
"workflow",
|
|
52
|
+
"migration",
|
|
53
|
+
"other"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"canonicality": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["canonical", "acceptable", "off-policy"]
|
|
59
|
+
},
|
|
60
|
+
"policy_value": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": ["high", "medium", "low"]
|
|
63
|
+
},
|
|
64
|
+
"code_taste": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"enum": ["strong", "mixed", "weak"]
|
|
67
|
+
},
|
|
68
|
+
"verification_quality": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": ["strong", "weak", "none"]
|
|
71
|
+
},
|
|
72
|
+
"disposition": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"enum": ["keep", "rewrite", "reject"]
|
|
75
|
+
},
|
|
76
|
+
"bucket": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"enum": ["canonical-policy", "strong-implementation", "planning", "rejects"]
|
|
79
|
+
},
|
|
80
|
+
"positive_signals": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"items": { "type": "string" }
|
|
83
|
+
},
|
|
84
|
+
"negative_signals": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"items": { "type": "string" }
|
|
87
|
+
},
|
|
88
|
+
"commands_run": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": { "type": "string" }
|
|
91
|
+
},
|
|
92
|
+
"relevant_helpers": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": { "type": "string" }
|
|
95
|
+
},
|
|
96
|
+
"changed_files": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": { "type": "string" }
|
|
99
|
+
},
|
|
100
|
+
"why_keep": {
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
"why_reject": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"rewrite_brief": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "If disposition is rewrite, describe the clean exemplar to produce."
|
|
109
|
+
},
|
|
110
|
+
"notes": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"allOf": [
|
|
115
|
+
{
|
|
116
|
+
"if": {
|
|
117
|
+
"properties": { "disposition": { "const": "rewrite" } },
|
|
118
|
+
"required": ["disposition"]
|
|
119
|
+
},
|
|
120
|
+
"then": {
|
|
121
|
+
"required": ["rewrite_brief"]
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"if": {
|
|
126
|
+
"properties": { "disposition": { "const": "reject" } },
|
|
127
|
+
"required": ["disposition"]
|
|
128
|
+
},
|
|
129
|
+
"then": {
|
|
130
|
+
"required": ["why_reject"]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
{"session_id":"7f10cc84-4231-41c1-8e79-af78d529d5e5","source_repo":"agentic-loop","candidate_path":"/Users/jonathansoeder/.claude/projects/-Users-jonathansoeder--agentic-loop/7f10cc84-4231-41c1-8e79-af78d529d5e5.jsonl","reviewer":"jon","canonicality":"canonical","policy_value":"high","code_taste":"strong","verification_quality":"weak","disposition":"rewrite","bucket":"canonical-policy","positive_signals":["uses luca describe","uses luca eval","works at the right Luca abstraction level"],"negative_signals":["verification is incomplete in transcript"],"why_keep":"Good example of inspecting and improving Luca command behavior instead of guessing.","rewrite_brief":"Rewrite as a clean task where the assistant improves command feedback by first inspecting the existing Luca command/runtime behavior, then making a small edit, then validating the result.","notes":"Use as a calibration example for canonical command-level behavior."}
|
|
2
|
+
{"session_id":"placeholder-reject-example","source_repo":"other","candidate_path":"/abs/path/to/candidate.jsonl","reviewer":"jon","canonicality":"off-policy","policy_value":"low","code_taste":"weak","verification_quality":"none","disposition":"reject","bucket":"rejects","negative_signals":["bypasses container abstractions","dependency-heavy detour"],"why_reject":"Successful output but not representative of intended Luca style.","notes":"Keep only as an anti-pattern reference."}
|