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
|
@@ -1088,7 +1088,7 @@ terms:
|
|
|
1088
1088
|
korean_label: "소스 안전성 권한"
|
|
1089
1089
|
axis: "reconstruct_source"
|
|
1090
1090
|
term_status: "active"
|
|
1091
|
-
definition: "Runtime authority for lifecycle, authorization,
|
|
1091
|
+
definition: "Runtime authority for lifecycle, authorization, proof-sufficiency, replay, and consumption visibility of observed source records."
|
|
1092
1092
|
notes:
|
|
1093
1093
|
- "Consumption-specific rows distinguish prompt context, evidence support, public output, replay, and material claim use."
|
|
1094
1094
|
- term_id: "reconstruct_run_control"
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
# To add a model: run the benchmark, confirm a completed run, then add an entry
|
|
15
15
|
# citing the benchmark record under benchmark_evidence_refs. Curated by humans;
|
|
16
16
|
# the citation is the evidence, the entry is the authority.
|
|
17
|
+
#
|
|
18
|
+
# Optional model specification values are G4-protected and independently cite
|
|
19
|
+
# their published source: context_window_tokens scales reconstruct document
|
|
20
|
+
# projection; max_output_tokens bounds direct-API output headroom preflight.
|
|
17
21
|
schema_version: "1"
|
|
18
22
|
supported_models:
|
|
19
23
|
- provider: openai
|
|
@@ -25,6 +29,16 @@ supported_models:
|
|
|
25
29
|
Completed a full reconstruct pipeline run in the live medium baseline
|
|
26
30
|
(1 of 6 attempts completed end to end); support verified. Performance
|
|
27
31
|
evidence is PRELIMINARY in that record — support, not a performance claim.
|
|
32
|
+
context_window_tokens: 1050000
|
|
33
|
+
context_window_provenance: >-
|
|
34
|
+
OpenAI API model reference (developers.openai.com/api/docs/models/gpt-5.5,
|
|
35
|
+
retrieved 2026-06-17): 1,050,000-token context window, 128,000 max output
|
|
36
|
+
tokens. Cost note: inputs above 272,000 tokens incur 2x input / 1.5x
|
|
37
|
+
output pricing for the session.
|
|
38
|
+
max_output_tokens: 128000
|
|
39
|
+
max_output_tokens_provenance: >-
|
|
40
|
+
OpenAI API model reference (developers.openai.com/api/docs/models/gpt-5.5,
|
|
41
|
+
retrieved 2026-07-11): 128,000 maximum output tokens.
|
|
28
42
|
- provider: anthropic
|
|
29
43
|
model: claude-opus-4-8
|
|
30
44
|
verified_at: "2026-06-15"
|
|
@@ -41,3 +55,126 @@ supported_models:
|
|
|
41
55
|
(no unencoded env override required). Single-run completion proof
|
|
42
56
|
(PRELIMINARY for any performance claim, INV-BENCH-1 needs >=3 reps /
|
|
43
57
|
>=2 fixtures); support — model completes the pipeline — verified.
|
|
58
|
+
context_window_tokens: 1000000
|
|
59
|
+
context_window_provenance: >-
|
|
60
|
+
Anthropic model reference (platform.claude.com models overview): Claude
|
|
61
|
+
Opus 4.8 ships a 1,000,000-token (1M) context window.
|
|
62
|
+
- provider: anthropic
|
|
63
|
+
model: claude-sonnet-5
|
|
64
|
+
verified_at: "2026-07-08"
|
|
65
|
+
roles:
|
|
66
|
+
- semantic_map_synthesize
|
|
67
|
+
benchmark_evidence_refs:
|
|
68
|
+
- development-records/benchmark/synthesize-cert/20260708-sonnet5-live/synthesize-cert-record.json
|
|
69
|
+
- development-records/benchmark/synthesize-cert/20260708-sonnet5-live/rejudge-comparison.json
|
|
70
|
+
- development-records/benchmark/synthesize-cert/20260708-sonnet5-live/structured-grounding-comparison.json
|
|
71
|
+
notes: >-
|
|
72
|
+
Role-scoped certification for `semantic_map_synthesize` (INV-MODEL-1 B4).
|
|
73
|
+
Verified via the synthesize-cert/v1 live benchmark (3 reps x 2 fixtures =
|
|
74
|
+
90 rows/arm) run with extended thinking DISABLED — the exact config the
|
|
75
|
+
record certifies (thinking:{type:"disabled"}; see scripts/b4-cert-run.mts
|
|
76
|
+
CANDIDATE). Support: the candidate arm completed the synthesize pipeline
|
|
77
|
+
end to end (candidate_output_status=ok for all 90 rows) and the cited
|
|
78
|
+
record recomputes to zero validateSynthesizeCertRecord violations. Quality
|
|
79
|
+
gate — candidate>=baseline on BOTH gated metrics: the raw original judge
|
|
80
|
+
(gpt-5.5) showed candidate grounding 89/90 vs baseline 90/90, but that is a
|
|
81
|
+
same-family judge bias (judge model == baseline model); a neutral
|
|
82
|
+
cross-family opus rejudge flips it to 90/90
|
|
83
|
+
(rejudge-comparison.json: metric_regression_flip.grounding.flipped=true)
|
|
84
|
+
and the domain-agnostic deterministic structural grounding is candidate
|
|
85
|
+
89/89 = baseline (structured-grounding-comparison.json), with zero real
|
|
86
|
+
fabrications in the candidate arm. Boundary is candidate 90/90 = baseline,
|
|
87
|
+
including 30/30 on the merge stratum — the exact point where the earlier
|
|
88
|
+
claude-haiku-4-5 candidate fell short (3/90). Support and the
|
|
89
|
+
candidate>=baseline gate — verified; PRELIMINARY for any absolute
|
|
90
|
+
performance claim beyond the candidate>=baseline comparison.
|
|
91
|
+
- provider: anthropic
|
|
92
|
+
model: claude-fable-5
|
|
93
|
+
verified_at: "2026-07-13"
|
|
94
|
+
roles:
|
|
95
|
+
- review
|
|
96
|
+
benchmark_evidence_refs:
|
|
97
|
+
- development-records/benchmark/review-cert/20260712-215835/review-cert-record.json
|
|
98
|
+
notes: >-
|
|
99
|
+
Role-scoped certification for `review` (INV-MODEL-1 review-role
|
|
100
|
+
registration design §4; review-cert/v2 resubmit-enabled contract).
|
|
101
|
+
Verified via the two-arm live cert run 20260712-215835: contemporaneous
|
|
102
|
+
registry-anchored baseline gpt-5.5@medium vs candidate
|
|
103
|
+
claude-fable-5@medium on the claude OAuth CLI route, 3 reps × 2 fixtures
|
|
104
|
+
per arm, run_controls {salvage:false, resubmit:true} pinned in-record.
|
|
105
|
+
Support: all four arm×fixture keys at 3/3 completed reps; the cited
|
|
106
|
+
record recomputes to zero validateReviewCertRecord violations; the
|
|
107
|
+
arm-level dispatch witness held (declared == witnessed; 239 baseline /
|
|
108
|
+
603 candidate worker dispatches). Quality gate: quality_pass=true —
|
|
109
|
+
candidate >= baseline on all 24 fixture×check pass-rates (22 equal incl.
|
|
110
|
+
the decisive recall spine at 1.0; 2 above baseline:
|
|
111
|
+
review-pipeline-target-v1 false_materiality_guard and
|
|
112
|
+
boundary_uncertainty_preservation 0.667 -> 1.0; zero regressions).
|
|
113
|
+
resubmit_usage disclosure: candidate 12/218 units (5.5%) vs baseline
|
|
114
|
+
8/168 (4.8%) — symmetric, no disproportionate healing dependence. All 21
|
|
115
|
+
not_run rows in the run are environmental (codex 401 token revocation /
|
|
116
|
+
claude monthly spend limit), zero candidate capability failures — run
|
|
117
|
+
README carries the honest provenance. Support and the
|
|
118
|
+
candidate>=baseline gate — verified; PRELIMINARY for any absolute
|
|
119
|
+
performance claim beyond the candidate>=baseline comparison.
|
|
120
|
+
- provider: openai
|
|
121
|
+
model: gpt-5.6-sol
|
|
122
|
+
verified_at: "2026-07-13"
|
|
123
|
+
roles:
|
|
124
|
+
- review
|
|
125
|
+
benchmark_evidence_refs:
|
|
126
|
+
- development-records/benchmark/review-cert/20260713-095011/review-cert-record.json
|
|
127
|
+
notes: >-
|
|
128
|
+
Role-scoped certification for `review` (INV-MODEL-1 review-role
|
|
129
|
+
registration design §4; review-cert/v2 resubmit-enabled contract) at
|
|
130
|
+
reasoning_effort=medium via the codex OAuth route. Verified via the
|
|
131
|
+
two-arm live cert run 20260713-095011: contemporaneous registry-anchored
|
|
132
|
+
baseline gpt-5.5@medium vs candidate gpt-5.6-sol@medium, 3 reps × 2
|
|
133
|
+
fixtures per arm, run_controls {salvage:false, resubmit:true} pinned
|
|
134
|
+
in-record. Support: all four arm×fixture keys at 3/3 completed reps; the
|
|
135
|
+
cited record recomputes to zero validateReviewCertRecord violations; the
|
|
136
|
+
arm-level dispatch witness held (declared == witnessed at
|
|
137
|
+
reasoning_effort=medium; 130 baseline / 216 candidate worker dispatches).
|
|
138
|
+
Quality gate: quality_pass=true — candidate >= baseline on all 24
|
|
139
|
+
fixture×check pass-rates (20 equal incl. the decisive recall spine at 1.0;
|
|
140
|
+
4 above baseline: false_materiality_guard and
|
|
141
|
+
boundary_uncertainty_preservation on BOTH fixtures 0.667 -> 1.0; zero
|
|
142
|
+
regressions). This medium-effort config passes the guard axis that the
|
|
143
|
+
earlier gpt-5.6-sol@high attempt (../20260711-140727, a support-axis
|
|
144
|
+
FAILURE) could not reach. resubmit_usage disclosure: candidate 2/186
|
|
145
|
+
units (1.1%) vs baseline 3/138 (2.2%). One not_run row (a single
|
|
146
|
+
non-recurring deliberation-participant degradation, r2) — see run README.
|
|
147
|
+
Support and the candidate>=baseline gate — verified; PRELIMINARY for any
|
|
148
|
+
absolute performance claim beyond the candidate>=baseline comparison.
|
|
149
|
+
- provider: openai
|
|
150
|
+
model: gpt-5.6-luna
|
|
151
|
+
verified_at: "2026-07-11"
|
|
152
|
+
roles:
|
|
153
|
+
- semantic_map_synthesize
|
|
154
|
+
benchmark_evidence_refs:
|
|
155
|
+
- development-records/benchmark/synthesize-cert/20260711-010535/synthesize-cert-record.json
|
|
156
|
+
- development-records/benchmark/synthesize-cert/20260711-010535/rejudge-comparison.json
|
|
157
|
+
notes: >-
|
|
158
|
+
Role-scoped certification for `semantic_map_synthesize` (INV-MODEL-1 B4).
|
|
159
|
+
Verified via the synthesize-cert/v1 live benchmark (3 reps x 2 fixtures =
|
|
160
|
+
90 rows/arm; the SAME two fixture workbooks as the 20260708 sonnet-5 cert,
|
|
161
|
+
fixture ids match by content sha) with the candidate dispatched at
|
|
162
|
+
reasoning_effort=low via the codex OAuth route — and, first for this
|
|
163
|
+
registry, the certified dispatch is WITNESSED, not merely declared: the
|
|
164
|
+
record's arm_dispatch is projected from the run's live-call capture and a
|
|
165
|
+
declared-vs-witnessed guard held on both the fresh run and the rejudge
|
|
166
|
+
(effort-witness design 2026-07-10/11), so "low" is the dispatched effort,
|
|
167
|
+
not a host-TOML inherit. Support: the candidate arm completed the
|
|
168
|
+
synthesize pipeline (89/90 rows ok; 1 transport not_run, an honestly
|
|
169
|
+
recorded non-decisive loss) and the cited record recomputes to zero
|
|
170
|
+
validateSynthesizeCertRecord violations. Quality gate —
|
|
171
|
+
candidate>=baseline on BOTH gated metrics under BOTH judges: original
|
|
172
|
+
judge gpt-5.5 (same-family-as-candidate) grounding 89/89 vs baseline
|
|
173
|
+
88/89 and boundary 89/89 = baseline; neutral cross-family opus rejudge
|
|
174
|
+
grounding 1.0 = baseline and boundary 1.0 = baseline with NO
|
|
175
|
+
metric_regression_flip in either direction (rejudge-comparison.json),
|
|
176
|
+
including the merge stratum where the earlier claude-haiku-4-5 candidate
|
|
177
|
+
fell short. The negative-control arm degrades as designed (grounding
|
|
178
|
+
0.111 original / 0.578 opus) — the gated metrics are non-vacuous.
|
|
179
|
+
Support and the candidate>=baseline gate — verified; PRELIMINARY for any
|
|
180
|
+
absolute performance claim beyond the candidate>=baseline comparison.
|