onto-mcp 0.4.12 → 0.4.13
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/.onto/authority/core-lexicon.yaml +1 -1
- package/.onto/authority/supported-models.yaml +137 -0
- package/.onto/domains/accounting-kr/competency_qs.md +153 -153
- package/.onto/processes/reconstruct/obligation-coverage-ledger.yaml +842 -0
- package/.onto/processes/reconstruct/obligation-coverage-recorded.yaml +225 -0
- package/.onto/processes/reconstruct/ontology-seeding-and-maturation-design.md +93 -54
- package/.onto/processes/reconstruct/reconstruct-contract-registry.yaml +169 -8
- package/.onto/processes/reconstruct/reconstruct-execution-ux-contract.md +72 -1
- package/.onto/processes/reconstruct/source-profiles/spreadsheet.md +35 -0
- package/.onto/processes/review/productized-live-path.md +9 -5
- package/.onto/processes/review/prompt-execution-runner-contract.md +32 -8
- package/.onto/processes/review/review-target-profile-contract.md +47 -4
- package/.onto/processes/shared/pipeline-execution-ledger-contract.md +11 -0
- package/.onto/processes/shared/target-material-kind-contract.md +1 -1
- package/README.md +64 -1
- package/dist/cli.js +11 -1
- package/dist/core-api/reconstruct-api.js +575 -24
- package/dist/core-api/review-api.js +70 -5
- package/dist/core-api/review-progress.js +7 -0
- package/dist/core-api/runtime-observation.js +7 -0
- package/dist/core-runtime/artifact-io.js +75 -3
- package/dist/core-runtime/cli/claude-code-review-unit-executor.js +19 -8
- package/dist/core-runtime/cli/materialize-review-prompt-packets.js +68 -14
- package/dist/core-runtime/cli/prepare-review-session.js +34 -1
- package/dist/core-runtime/cli/render-review-final-output.js +2 -1
- package/dist/core-runtime/cli/run-review-prompt-execution.js +758 -48
- package/dist/core-runtime/cli/run-seats.js +18 -0
- package/dist/core-runtime/cli/runtime-submit-context.js +10 -2
- package/dist/core-runtime/cli/unit-resubmit.js +269 -0
- package/dist/core-runtime/cli/worker-structured-output.js +80 -2
- package/dist/core-runtime/discovery/host-detection.js +71 -22
- package/dist/core-runtime/discovery/review-cert-assemble.js +208 -0
- package/dist/core-runtime/discovery/review-cert-record.js +442 -0
- package/dist/core-runtime/discovery/review-execution-units.js +22 -0
- package/dist/core-runtime/discovery/seat-inventory.js +167 -0
- package/dist/core-runtime/discovery/settings-chain.js +311 -52
- package/dist/core-runtime/discovery/supported-models.js +282 -29
- package/dist/core-runtime/discovery/synthesize-cert-assemble.js +197 -0
- package/dist/core-runtime/discovery/synthesize-cert-capsule.js +399 -0
- package/dist/core-runtime/discovery/synthesize-cert-judge.js +340 -0
- package/dist/core-runtime/discovery/synthesize-cert-loop.js +234 -0
- package/dist/core-runtime/discovery/synthesize-cert-mutation.js +117 -0
- package/dist/core-runtime/discovery/synthesize-cert-packet.js +182 -0
- package/dist/core-runtime/discovery/synthesize-cert-record.js +831 -0
- package/dist/core-runtime/discovery/synthesize-cert-sampler.js +336 -0
- package/dist/core-runtime/effort-calibration-ingest.js +135 -0
- package/dist/core-runtime/llm/dispatch-breaker.js +412 -0
- package/dist/core-runtime/llm/dispatch-fallback-adapter-capabilities.js +33 -0
- package/dist/core-runtime/llm/llm-caller.js +188 -47
- package/dist/core-runtime/llm/mock-llm-realization.js +35 -4
- package/dist/core-runtime/llm/model-switcher.js +1 -1
- package/dist/core-runtime/llm/openai-responses-incomplete-error.js +46 -0
- package/dist/core-runtime/llm/sealed-dispatch-capability.js +359 -0
- package/dist/core-runtime/llm/structured-dispatch-error.js +15 -0
- package/dist/core-runtime/onboard/claude-profile-scan.js +65 -0
- package/dist/core-runtime/onboard/cli-host.js +5 -2
- package/dist/core-runtime/onboard/configure-provider.js +33 -1
- package/dist/core-runtime/onboard/host-target.js +28 -3
- package/dist/core-runtime/onboard/register.js +54 -12
- package/dist/core-runtime/pipeline-execution-ledger.js +10 -0
- package/dist/core-runtime/reconstruct/artifact-types.js +35 -0
- package/dist/core-runtime/reconstruct/claim-projection-validation.js +17 -0
- package/dist/core-runtime/reconstruct/competency-projection-contract.js +63 -0
- package/dist/core-runtime/reconstruct/comprehension-artifact.js +321 -0
- package/dist/core-runtime/reconstruct/comprehension-reduce.js +367 -0
- package/dist/core-runtime/reconstruct/comprehension-semantic-map.js +771 -0
- package/dist/core-runtime/reconstruct/contract-registry.js +20 -0
- package/dist/core-runtime/reconstruct/dispatch-fallback-artifacts.js +640 -0
- package/dist/core-runtime/reconstruct/execution-telemetry.js +83 -9
- package/dist/core-runtime/reconstruct/final-output-sections.js +89 -0
- package/dist/core-runtime/reconstruct/governing-snapshot.js +36 -1
- package/dist/core-runtime/reconstruct/leaf-reader.js +305 -0
- package/dist/core-runtime/reconstruct/llm-dispatch-failure.js +270 -0
- package/dist/core-runtime/reconstruct/llm-touch-fingerprint.js +94 -0
- package/dist/core-runtime/reconstruct/material-admission-validation.js +18 -0
- package/dist/core-runtime/reconstruct/material-profile-validation.js +14 -0
- package/dist/core-runtime/reconstruct/materialize-preparation.js +304 -18
- package/dist/core-runtime/reconstruct/maturation-validation.js +1231 -53
- package/dist/core-runtime/reconstruct/mock-llm-realization.js +107 -3
- package/dist/core-runtime/reconstruct/obligation-assertion.js +18 -0
- package/dist/core-runtime/reconstruct/ontology-seed-validation.js +27 -0
- package/dist/core-runtime/reconstruct/output-budget.js +6 -0
- package/dist/core-runtime/reconstruct/pipeline-execution-ledger.js +87 -3
- package/dist/core-runtime/reconstruct/post-seed-validation.js +118 -5
- package/dist/core-runtime/reconstruct/purpose-authority-validation.js +117 -2
- package/dist/core-runtime/reconstruct/record.js +42 -0
- package/dist/core-runtime/reconstruct/registry-verification-validation.js +16 -0
- package/dist/core-runtime/reconstruct/run-control-validation.js +1011 -34
- package/dist/core-runtime/reconstruct/run.js +5198 -536
- package/dist/core-runtime/reconstruct/seed-authoring-readiness-validation.js +54 -3
- package/dist/core-runtime/reconstruct/semantic-quality-gate.js +105 -2
- package/dist/core-runtime/reconstruct/source-observation-delta-validation.js +41 -0
- package/dist/core-runtime/reconstruct/source-observations.js +166 -0
- package/dist/core-runtime/reconstruct/source-safety-validation.js +71 -183
- package/dist/core-runtime/reconstruct/source-scout-pack-validation.js +37 -1
- package/dist/core-runtime/reconstruct/terminal-validation.js +132 -2
- package/dist/core-runtime/review/continuation-plan.js +12 -5
- package/dist/core-runtime/review/issue-artifact-runtime.js +4 -1
- package/dist/core-runtime/review/materializers.js +100 -11
- package/dist/core-runtime/review/nesting-batch.js +6 -2
- package/dist/core-runtime/review/obligation-shardability.js +138 -0
- package/dist/core-runtime/review/pipeline-execution-ledger.js +42 -2
- package/dist/core-runtime/review/review-artifact-utils.js +217 -5
- package/dist/core-runtime/review/review-execution-steps.js +32 -8
- package/dist/core-runtime/review/review-progress-contract.js +8 -0
- package/dist/core-runtime/review/review-prompt-budget.js +97 -0
- package/dist/core-runtime/review/semantic-quality-gate.js +33 -7
- package/dist/core-runtime/review/spreadsheet-review-disposition.js +94 -0
- package/dist/core-runtime/route-identity.js +182 -0
- package/dist/core-runtime/spreadsheet-header-escalation.js +204 -0
- package/dist/core-runtime/spreadsheet-structure-observer.js +2689 -0
- package/dist/core-runtime/target-material-kind.js +58 -0
- package/dist/mcp/server.js +12 -5
- package/dist/tui/app.js +167 -0
- package/dist/tui/data/event-follower.js +116 -0
- package/dist/tui/data/node-detail.js +42 -0
- package/dist/tui/data/projection-poll.js +26 -0
- package/dist/tui/data/session-discovery.js +65 -0
- package/dist/tui/index.js +108 -0
- package/dist/tui/screens/log.js +25 -0
- package/dist/tui/screens/node-detail.js +17 -0
- package/dist/tui/screens/session-selector.js +26 -0
- package/dist/tui/screens/workflow-tree.js +90 -0
- package/dist/tui/view-model/reconstruct-adapter.js +162 -0
- package/dist/tui/view-model/review-adapter.js +270 -0
- package/dist/tui/view-model/tree-view-model.js +19 -0
- package/package.json +18 -3
- package/settings.example.json +77 -16
package/settings.example.json
CHANGED
|
@@ -47,6 +47,19 @@
|
|
|
47
47
|
|
|
48
48
|
# actors는 review 안에서 역할별로 실제 모델 설정을 소유합니다.
|
|
49
49
|
# 즉 teamlead, lens, synthesize를 서로 독립적으로 바꿀 수 있습니다.
|
|
50
|
+
#
|
|
51
|
+
# ── provider 전환 ───────────────────────────────────────────────
|
|
52
|
+
# 손으로 고치는 대신 `onto configure-provider`가 아래 actor 블록을 검증 후
|
|
53
|
+
# 기록합니다(units 등 다른 설정은 보존). 예:
|
|
54
|
+
# onto configure-provider --provider openai --model gpt-5.5 --auth oauth --effort medium --service-tier fast
|
|
55
|
+
# onto configure-provider --provider anthropic --model claude-opus-4-8 --auth oauth --effort high
|
|
56
|
+
# anthropic(Claude Code)로 손수 바꿀 때: 각 llm에서 provider를 "anthropic",
|
|
57
|
+
# model을 "claude-opus-4-8"로 바꾸고 "service_tier" 줄을 삭제합니다
|
|
58
|
+
# (service_tier는 openai+oauth 전용 — anthropic에 주면 거부됨).
|
|
59
|
+
# configure-provider는 actor만 기록하므로, 아래 units[].llm.model도 같은
|
|
60
|
+
# model로 바꾸거나 그 "model" 키를 지워 actor 값을 상속하게 하세요.
|
|
61
|
+
# 지원 model id: .onto/authority/supported-models.yaml
|
|
62
|
+
# ────────────────────────────────────────────────────────────────
|
|
50
63
|
"actors": {
|
|
51
64
|
# teamlead는 review 전체 진행과 숙의 조율을 담당합니다.
|
|
52
65
|
"teamlead": {
|
|
@@ -60,7 +73,7 @@
|
|
|
60
73
|
# provider는 사용할 모델 제공자입니다.
|
|
61
74
|
"provider": "openai",
|
|
62
75
|
# model은 사용할 모델 이름입니다.
|
|
63
|
-
"model": "gpt-5.
|
|
76
|
+
"model": "gpt-5.6-sol",
|
|
64
77
|
# effort는 추론 강도입니다. 보통 medium이면 충분합니다.
|
|
65
78
|
"effort": "medium",
|
|
66
79
|
# service_tier는 Codex OAuth 경로에서 사용할 응답 속도 계층입니다.
|
|
@@ -80,7 +93,7 @@
|
|
|
80
93
|
# provider는 사용할 모델 제공자입니다.
|
|
81
94
|
"provider": "openai",
|
|
82
95
|
# model은 사용할 모델 이름입니다.
|
|
83
|
-
"model": "gpt-5.
|
|
96
|
+
"model": "gpt-5.6-sol",
|
|
84
97
|
# effort는 추론 강도입니다. 보통 medium이면 충분합니다.
|
|
85
98
|
"effort": "medium",
|
|
86
99
|
# service_tier는 Codex OAuth 경로에서 사용할 응답 속도 계층입니다.
|
|
@@ -100,7 +113,7 @@
|
|
|
100
113
|
# provider는 사용할 모델 제공자입니다.
|
|
101
114
|
"provider": "openai",
|
|
102
115
|
# model은 사용할 모델 이름입니다.
|
|
103
|
-
"model": "gpt-5.
|
|
116
|
+
"model": "gpt-5.6-sol",
|
|
104
117
|
# effort는 추론 강도입니다. xhigh는 더 깊게 검토하지만 비용과 시간이 늘 수 있습니다.
|
|
105
118
|
"effort": "xhigh",
|
|
106
119
|
# service_tier는 Codex OAuth 경로에서 사용할 응답 속도 계층입니다.
|
|
@@ -120,11 +133,11 @@
|
|
|
120
133
|
# max_tokens/tool_mode은 direct_call/inline HTTP executor에서만 강제 가능합니다.
|
|
121
134
|
# 기본 Codex OAuth worker 경로는 해당 knob를 강제할 수 없으므로 설정 시 fail-loud합니다.
|
|
122
135
|
"units": {
|
|
123
|
-
# lens는 9개 관점별 독립 검토입니다. 아래 값들은
|
|
124
|
-
#
|
|
136
|
+
# lens는 9개 관점별 독립 검토입니다. 아래 값들은 decision-grade unit-sweep 결과입니다.
|
|
137
|
+
# 기준: development-records/benchmark/review-unit-effort-all-units-low-medium-high-decision-rerun2-20260610-winner-selection-merged.json
|
|
125
138
|
"lens": {
|
|
126
139
|
"llm": {
|
|
127
|
-
"model": "gpt-5.
|
|
140
|
+
"model": "gpt-5.6-sol",
|
|
128
141
|
"effort": "medium"
|
|
129
142
|
},
|
|
130
143
|
"timeout_ms": 240000,
|
|
@@ -134,7 +147,7 @@
|
|
|
134
147
|
},
|
|
135
148
|
"finding_ledger": {
|
|
136
149
|
"llm": {
|
|
137
|
-
"model": "gpt-5.
|
|
150
|
+
"model": "gpt-5.6-sol",
|
|
138
151
|
"effort": "medium"
|
|
139
152
|
},
|
|
140
153
|
"timeout_ms": 240000,
|
|
@@ -144,7 +157,7 @@
|
|
|
144
157
|
},
|
|
145
158
|
"finding_relation_graph": {
|
|
146
159
|
"llm": {
|
|
147
|
-
"model": "gpt-5.
|
|
160
|
+
"model": "gpt-5.6-sol",
|
|
148
161
|
"effort": "medium"
|
|
149
162
|
},
|
|
150
163
|
"timeout_ms": 240000,
|
|
@@ -154,7 +167,7 @@
|
|
|
154
167
|
},
|
|
155
168
|
"issue_ledger": {
|
|
156
169
|
"llm": {
|
|
157
|
-
"model": "gpt-5.
|
|
170
|
+
"model": "gpt-5.6-sol",
|
|
158
171
|
"effort": "medium"
|
|
159
172
|
},
|
|
160
173
|
"timeout_ms": 240000,
|
|
@@ -164,7 +177,7 @@
|
|
|
164
177
|
},
|
|
165
178
|
"deliberation_plan": {
|
|
166
179
|
"llm": {
|
|
167
|
-
"model": "gpt-5.
|
|
180
|
+
"model": "gpt-5.6-sol",
|
|
168
181
|
"effort": "medium"
|
|
169
182
|
},
|
|
170
183
|
"timeout_ms": 240000,
|
|
@@ -174,7 +187,7 @@
|
|
|
174
187
|
},
|
|
175
188
|
"problem_framing": {
|
|
176
189
|
"llm": {
|
|
177
|
-
"model": "gpt-5.
|
|
190
|
+
"model": "gpt-5.6-sol",
|
|
178
191
|
"effort": "medium"
|
|
179
192
|
},
|
|
180
193
|
"timeout_ms": 240000,
|
|
@@ -191,7 +204,7 @@
|
|
|
191
204
|
|
|
192
205
|
"issue_stance_response": {
|
|
193
206
|
"llm": {
|
|
194
|
-
"model": "gpt-5.
|
|
207
|
+
"model": "gpt-5.6-sol",
|
|
195
208
|
"effort": "medium"
|
|
196
209
|
},
|
|
197
210
|
"timeout_ms": 180000,
|
|
@@ -201,7 +214,7 @@
|
|
|
201
214
|
},
|
|
202
215
|
"deliberation_response": {
|
|
203
216
|
"llm": {
|
|
204
|
-
"model": "gpt-5.
|
|
217
|
+
"model": "gpt-5.6-sol",
|
|
205
218
|
"effort": "medium"
|
|
206
219
|
},
|
|
207
220
|
"timeout_ms": 180000,
|
|
@@ -211,8 +224,8 @@
|
|
|
211
224
|
},
|
|
212
225
|
"deliberation_resolution": {
|
|
213
226
|
"llm": {
|
|
214
|
-
"model": "gpt-5.
|
|
215
|
-
"effort": "
|
|
227
|
+
"model": "gpt-5.6-sol",
|
|
228
|
+
"effort": "low"
|
|
216
229
|
},
|
|
217
230
|
"timeout_ms": 240000,
|
|
218
231
|
"max_retries": 2,
|
|
@@ -221,7 +234,7 @@
|
|
|
221
234
|
},
|
|
222
235
|
"synthesis_response": {
|
|
223
236
|
"llm": {
|
|
224
|
-
"model": "gpt-5.
|
|
237
|
+
"model": "gpt-5.6-sol",
|
|
225
238
|
"effort": "medium"
|
|
226
239
|
},
|
|
227
240
|
"timeout_ms": 180000,
|
|
@@ -231,5 +244,53 @@
|
|
|
231
244
|
}
|
|
232
245
|
}
|
|
233
246
|
}
|
|
247
|
+
},
|
|
248
|
+
|
|
249
|
+
# reconstruct의 breaker-trip provider fallback은 기본적으로 꺼져 있습니다.
|
|
250
|
+
# 활성화할 때는 enabled만 바꾸지 말고 strict enabled 형식의 trigger/limit/llm
|
|
251
|
+
# 필드를 모두 명시해야 합니다. api_key 값 자체는 파일에 쓰지 않습니다.
|
|
252
|
+
# enabled 형식:
|
|
253
|
+
# "dispatch_fallback": {
|
|
254
|
+
# "enabled": true,
|
|
255
|
+
# "trigger": "rate_limit",
|
|
256
|
+
# "max_fallback_passes": 1,
|
|
257
|
+
# "per_dispatch_max_provider_attempts": 1,
|
|
258
|
+
# "systemic_failure_threshold": 1,
|
|
259
|
+
# "llm": {
|
|
260
|
+
# "provider": "anthropic", "auth": "api_key",
|
|
261
|
+
# "model": "<supported-model>", "effort": "medium",
|
|
262
|
+
# "api_key_env": "ANTHROPIC_API_KEY"
|
|
263
|
+
# }
|
|
264
|
+
# }
|
|
265
|
+
"reconstruct": {
|
|
266
|
+
"execution": {
|
|
267
|
+
# reconstruct actor도 역할별 독립 설정을 사용합니다.
|
|
268
|
+
# semantic_author를 openai + api_key direct API 경로로 명시 전환한 경우에만
|
|
269
|
+
# actor의 llm sibling인 llm_runtime.openai_responses_output_headroom_tokens를
|
|
270
|
+
# 양의 정수로 추가할 수 있습니다. 생략하면 기존 stage output ceiling을 그대로 씁니다.
|
|
271
|
+
"actors": {
|
|
272
|
+
"semantic_author": {
|
|
273
|
+
"llm": {
|
|
274
|
+
"auth": "oauth",
|
|
275
|
+
"provider": "openai",
|
|
276
|
+
"model": "gpt-5.5",
|
|
277
|
+
"effort": "medium",
|
|
278
|
+
"service_tier": "fast"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"confirmation_provider": {
|
|
282
|
+
"llm": {
|
|
283
|
+
"auth": "oauth",
|
|
284
|
+
"provider": "openai",
|
|
285
|
+
"model": "gpt-5.5",
|
|
286
|
+
"effort": "medium",
|
|
287
|
+
"service_tier": "fast"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"dispatch_fallback": {
|
|
292
|
+
"enabled": false
|
|
293
|
+
}
|
|
294
|
+
}
|
|
234
295
|
}
|
|
235
296
|
}
|