@cobol-ts/cobolts 0.0.16 → 0.0.18
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/README.md +301 -19
- package/dist/src/benchmark.composed.runner.js +1 -1
- package/dist/src/benchmark.composed.runner.js.map +1 -1
- package/dist/src/cli.js +4 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/commands/ai.d.ts +12 -0
- package/dist/src/commands/ai.demo.spec.d.ts +1 -0
- package/dist/src/commands/ai.demo.spec.js +242 -0
- package/dist/src/commands/ai.demo.spec.js.map +1 -0
- package/dist/src/commands/ai.js +125 -0
- package/dist/src/commands/ai.js.map +1 -0
- package/dist/src/commands/ai.spec.d.ts +1 -0
- package/dist/src/commands/ai.spec.js +170 -0
- package/dist/src/commands/ai.spec.js.map +1 -0
- package/dist/src/commands/characteristics.js +70 -20
- package/dist/src/commands/characteristics.js.map +1 -1
- package/dist/src/commands/characteristics.spec.js +157 -24
- package/dist/src/commands/characteristics.spec.js.map +1 -1
- package/dist/src/commands/extract.spec.js +54 -54
- package/dist/src/commands/graph.d.ts +9 -0
- package/dist/src/commands/graph.js +98 -0
- package/dist/src/commands/graph.js.map +1 -0
- package/dist/src/commands/graph.report.d.ts +26 -0
- package/dist/src/commands/graph.report.js +75 -0
- package/dist/src/commands/graph.report.js.map +1 -0
- package/dist/src/commands/graph.spec.d.ts +1 -0
- package/dist/src/commands/graph.spec.js +215 -0
- package/dist/src/commands/graph.spec.js.map +1 -0
- package/dist/src/context.d.ts +3 -0
- package/dist/src/context.js +12 -4
- package/dist/src/context.js.map +1 -1
- package/dist/src/indexed.accumulator.d.ts +2 -2
- package/dist/src/indexed.accumulator.js +6 -1
- package/dist/src/indexed.accumulator.js.map +1 -1
- package/dist/src/indexed.accumulator.spec.js +9 -2
- package/dist/src/indexed.accumulator.spec.js.map +1 -1
- package/package.json +26 -23
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @cobol-ts/cobolts
|
|
2
2
|
|
|
3
|
-
Commander-based CLI for inspecting configured files, generating TypeScript contracts, displaying physical data, and compiling or executing CEL dependency graphs. Code generation uses `@cobol-ts/codegen`; neither `display` nor `cel execute` requires or executes generated TypeScript.
|
|
3
|
+
Commander-based CLI for inspecting configured files and input/output characteristic metadata, extracting Excel characteristics, serving read-only characteristic APIs, generating TypeScript contracts, displaying physical data, and compiling or executing CEL dependency graphs, and generating AI-assisted graph experiments. Code generation uses `@cobol-ts/codegen`; neither `display` nor `cel execute` requires or executes generated TypeScript.
|
|
4
4
|
|
|
5
5
|
## Quick orientation
|
|
6
6
|
|
|
7
|
-
**In this README:** [Layout](#layout) · [Commands](#commands) · [Display data (no generated TypeScript)](#display-data-no-generated-typescript) · [CEL dependency graphs](#cel-dependency-graphs) · [Benchmark allocation diagnostics](#benchmark-allocation-diagnostics)
|
|
7
|
+
**In this README:** [Layout](#layout) · [Excel → AI experiment → graph walkthrough](#excel--ai-experiment--graph-walkthrough) · [Commands](#commands) · [Characteristic metadata repository](#characteristic-metadata-repository) · [Characteristic metadata HTTP API](#characteristic-metadata-http-api) · [Display data (no generated TypeScript)](#display-data-no-generated-typescript) · [CEL dependency graphs](#cel-dependency-graphs) · [Benchmark allocation diagnostics](#benchmark-allocation-diagnostics)
|
|
8
8
|
|
|
9
9
|
**Responsibility.** Provide the Commander CLI for configuration inspection, validation, generation, data display, graph execution and benchmarks.
|
|
10
10
|
|
|
@@ -16,6 +16,204 @@ Commander-based CLI for inspecting configured files, generating TypeScript contr
|
|
|
16
16
|
|
|
17
17
|
**Related packages.** [@cobol-ts/file-catalogue](../../config/file-catalogue/README.md) · [@cobol-ts/cel-graph-runtime](../../cel/graph-runtime/README.md).
|
|
18
18
|
|
|
19
|
+
## Excel → AI experiment → graph walkthrough
|
|
20
|
+
|
|
21
|
+
This is the complete **mock-AI demonstration sequence**, from characteristic
|
|
22
|
+
metadata in a workbook to a reviewable experiment report and an ordinary
|
|
23
|
+
`graph.yaml`-format authoring graph. Run all commands **from the repository root**.
|
|
24
|
+
The demo uses 27 output characteristics, including `C7030` (six-month
|
|
25
|
+
order-line count spread) and `C7200` (six-month order-unit spread). The order-count input uses `input.customers.orderCount`; graph
|
|
26
|
+
building does not execute or compare the equations against legacy data.
|
|
27
|
+
|
|
28
|
+
### 1. Configure the Excel source
|
|
29
|
+
|
|
30
|
+
Save **`Demo characteristics.xlsx`** in `modules/examples/example/definitions/`
|
|
31
|
+
(the workbook has `Basic` and `Sheet2` worksheets with characteristic IDs in
|
|
32
|
+
column A, descriptions in `Basic!B`, optional short business names in `Basic!C`,
|
|
33
|
+
and types in `Sheet2!B`). The checked-in file
|
|
34
|
+
[`modules/examples/example/definitions/.cobolts/extractions.yaml`](../../examples/example/definitions/.cobolts/extractions.yaml)
|
|
35
|
+
contains the following mapping. Configure this **before** running `extract`:
|
|
36
|
+
|
|
37
|
+
```yaml
|
|
38
|
+
extractions:
|
|
39
|
+
demo-characteristics:
|
|
40
|
+
type: excel
|
|
41
|
+
file: ../Demo characteristics.xlsx # relative to .cobolts
|
|
42
|
+
join: left
|
|
43
|
+
sheets:
|
|
44
|
+
- name: Basic
|
|
45
|
+
idColumn: A
|
|
46
|
+
firstDataRow: 2
|
|
47
|
+
columns:
|
|
48
|
+
description: B
|
|
49
|
+
name: C
|
|
50
|
+
- name: Sheet2
|
|
51
|
+
idColumn: A
|
|
52
|
+
firstDataRow: 2
|
|
53
|
+
columns:
|
|
54
|
+
type: B
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
The checked-in
|
|
58
|
+
[`characteristics.yaml`](../../examples/example/definitions/.cobolts/characteristics.yaml)
|
|
59
|
+
then configures **where extracted output and hand-authored input metadata are
|
|
60
|
+
loaded from**:
|
|
61
|
+
|
|
62
|
+
```yaml
|
|
63
|
+
files: .
|
|
64
|
+
input:
|
|
65
|
+
sources:
|
|
66
|
+
demo:
|
|
67
|
+
type: yaml
|
|
68
|
+
file: input-characteristics.yaml
|
|
69
|
+
path: characteristics
|
|
70
|
+
output:
|
|
71
|
+
sources:
|
|
72
|
+
demo:
|
|
73
|
+
type: yaml
|
|
74
|
+
file: demo-characteristics.yaml
|
|
75
|
+
path: characteristics
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Both filenames resolve from `.cobolts` via `files: .`; the `path` selects the
|
|
79
|
+
`characteristics` key inside each YAML document. The output catalogue is
|
|
80
|
+
regenerated from Excel; the illustrative input catalogue is maintained
|
|
81
|
+
separately. If you change the configuration, check the filenames, sheet names,
|
|
82
|
+
columns and mapping path before continuing.
|
|
83
|
+
|
|
84
|
+
### 2. Extract and inspect metadata
|
|
85
|
+
|
|
86
|
+
```powershell
|
|
87
|
+
yarn cobolts -d modules/examples/example/definitions extract demo-characteristics --raw --noSources --output modules/examples/example/definitions/.cobolts/demo-characteristics.yaml
|
|
88
|
+
yarn cobolts -d modules/examples/example/definitions characteristics list
|
|
89
|
+
yarn cobolts -d modules/examples/example/definitions characteristics show C7200
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`extract` **overwrites** the output metadata YAML, not the Excel workbook or
|
|
93
|
+
input metadata. It reads `.cobolts/extractions.yaml`; `characteristics list/show`
|
|
94
|
+
read `.cobolts/characteristics.yaml` and the two configured sources. The
|
|
95
|
+
`--noSources` flag omits worksheet provenance in the generated file; omit it
|
|
96
|
+
if you want to retain Excel source rows in the characteristic metadata.
|
|
97
|
+
|
|
98
|
+
### 3. Configure the mock AI and inspect a hypothesis
|
|
99
|
+
|
|
100
|
+
The checked-in [`.cobolts/ai.yaml`](../../examples/example/definitions/.cobolts/ai.yaml)
|
|
101
|
+
specifies the mock implementation of the OpenAI-shaped chat port, its response
|
|
102
|
+
lookup file and **external prompt templates**:
|
|
103
|
+
|
|
104
|
+
```yaml
|
|
105
|
+
provider: mock
|
|
106
|
+
model: mock-characteristic-graph
|
|
107
|
+
responses: mock.ai.yaml
|
|
108
|
+
prompts:
|
|
109
|
+
system: prompts/generate-system.md
|
|
110
|
+
inputs: prompts/available-inputs.md
|
|
111
|
+
target: prompts/target-characteristic.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
`mock.ai.yaml` maps each **output** ID to one authoring subgraph. For `C7030`
|
|
115
|
+
it supplies a six-month rolling order-line count, native `min` and `max` aggregates,
|
|
116
|
+
and a final CEL subtraction. For `C7200` the mock uses the physical
|
|
117
|
+
`input.customers.orders` path and the same monthly min/max/spread pattern.
|
|
118
|
+
There are also mock experiments for daily aggregates, window collection
|
|
119
|
+
calculations, accumulated totals and initially empty monthly histories.
|
|
120
|
+
The first two prompt messages are identical for
|
|
121
|
+
all targets (system and input catalogue); only the last target message varies.
|
|
122
|
+
|
|
123
|
+
```powershell
|
|
124
|
+
yarn cobolts -d modules/examples/example/definitions ai prompt C7200
|
|
125
|
+
yarn cobolts -d modules/examples/example/definitions ai exchange C7200
|
|
126
|
+
yarn cobolts -d modules/examples/example/definitions ai response C7200
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
These commands show respectively the full request, the request and model
|
|
130
|
+
response, and just the graph fragment. They do **not** write experiment files.
|
|
131
|
+
|
|
132
|
+
### 4. Generate and review experiments
|
|
133
|
+
|
|
134
|
+
```powershell
|
|
135
|
+
# Single experiment for inspection (stdout)
|
|
136
|
+
yarn cobolts -d modules/examples/example/definitions ai do C7200
|
|
137
|
+
|
|
138
|
+
# All output characteristics as one versioned, reviewable YAML report
|
|
139
|
+
yarn cobolts -d modules/examples/example/definitions ai all --file experiments.yaml
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
`experiments.yaml` is written in the repository root by `--file`. Each record
|
|
143
|
+
contains `characteristic`, its original **output metadata**, derived **findings**
|
|
144
|
+
(input paths, matched input characteristics, windows, aggregates and final
|
|
145
|
+
calculation), `generation`, the complete proposed `graph` fragment and
|
|
146
|
+
`history: []`. Findings are derived from graph structure and CEL dependencies,
|
|
147
|
+
not independent claims by the model. The file is a **hypothesis report**, not
|
|
148
|
+
an executable graph or evidence of correctness. A missing match to input
|
|
149
|
+
metadata does not mean an expression has no input dependencies.
|
|
150
|
+
|
|
151
|
+
### 5. Build a normal graph.yaml from the experiments
|
|
152
|
+
|
|
153
|
+
```powershell
|
|
154
|
+
# Build only the AI-generated fragments; stdout is plain graph YAML
|
|
155
|
+
yarn cobolts -d modules/examples/example/definitions graph build experiments.yaml
|
|
156
|
+
|
|
157
|
+
# Save the assembled graph and report coverage against the output catalogue
|
|
158
|
+
yarn cobolts -d modules/examples/example/definitions graph build experiments.yaml --file modules/examples/example/definitions/.cobolts/generated-graph.yaml --report
|
|
159
|
+
|
|
160
|
+
# Show which outputs came from experiments, existing graphs or are missing,
|
|
161
|
+
# including every characteristic ID and node counts by contributing source
|
|
162
|
+
yarn cobolts -d modules/examples/example/definitions graph build experiments.yaml --file modules/examples/example/definitions/.cobolts/generated-graph.yaml --detailed
|
|
163
|
+
|
|
164
|
+
# Optional: mix generated nodes with a separately authored graph
|
|
165
|
+
# (repeat --with for multiple inputs; duplicate names fail)
|
|
166
|
+
yarn cobolts -d modules/examples/example/definitions graph build experiments.yaml --with modules/examples/example/definitions/.cobolts/graph.yaml --file modules/examples/example/definitions/.cobolts/combined-graph.yaml
|
|
167
|
+
|
|
168
|
+
# Check the assembled authoring graph before execution
|
|
169
|
+
yarn cobolts -d modules/examples/example/definitions --accumulator accumulator.generated.yaml cel validate --graph generated-graph.yaml
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
`graph build` accepts a version-1 experiment dossier and optional existing
|
|
173
|
+
`graph.yaml` files, composes their node mappings **without copying report
|
|
174
|
+
metadata, findings or history**, checks for duplicate node names and validates
|
|
175
|
+
the complete graph's CEL dependencies. The graph inputs and `--file` path are
|
|
176
|
+
relative to the **current working directory**; `cel --graph`, by contrast, is
|
|
177
|
+
relative to the discovered `.cobolts` directory. The command can later accept
|
|
178
|
+
other source types without coupling graph composition to the AI provider.
|
|
179
|
+
|
|
180
|
+
`--report` writes a concise **build report to stderr** and leaves stdout (or
|
|
181
|
+
`--file`) as pure `graph.yaml` YAML. With all 27 mock experiments,
|
|
182
|
+
the graph contains 54 nodes and the coverage report should show zero lost
|
|
183
|
+
characteristics. It counts experiment fragments, existing
|
|
184
|
+
sources, CEL and aggregate nodes and registered **output** characteristics
|
|
185
|
+
included in the graph. The three outcome groups are **from experiments**,
|
|
186
|
+
**from existing graphs**, and **lost**. Here *lost* means a catalogued output
|
|
187
|
+
whose named output node is **absent from the composed graph** (for example,
|
|
188
|
+
because only one characteristic was generated), not a node silently discarded
|
|
189
|
+
by the build. Duplicate nodes or invalid dependencies fail the build instead
|
|
190
|
+
of being lost. An experiment targeting an ID absent from the current output
|
|
191
|
+
catalogue is counted separately as **uncatalogued**. `--detailed` implies
|
|
192
|
+
`--report` and prints each group’s characteristic IDs plus per-source node
|
|
193
|
+
counts. Reporting uses `.cobolts/characteristics.yaml`, so rerun the Excel
|
|
194
|
+
extraction first when the workbook changes. Neither option changes the graph.
|
|
195
|
+
|
|
196
|
+
The generated graph's accumulator seeds are in
|
|
197
|
+
[`accumulator.generated.yaml`](../../examples/example/definitions/.cobolts/accumulator.generated.yaml).
|
|
198
|
+
It retains the sample daily and monthly histories under new, characteristic-prefixed
|
|
199
|
+
window names, and seeds `C7240` with the previous customer lifetime volume. For
|
|
200
|
+
an eventual evaluation, select the matching seed using the **root-level** option:
|
|
201
|
+
|
|
202
|
+
```powershell
|
|
203
|
+
yarn cobolts -d modules/examples/example/definitions --accumulator accumulator.generated.yaml cel evaluate 1001 --graph generated-graph.yaml --periodicity monthly
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
The customer order-count field is already in the example projection. Do not
|
|
207
|
+
replace `graph.yaml` independently of its accumulator configuration: use the
|
|
208
|
+
matching `accumulator.generated.yaml` seed as shown. The generated experiments intentionally repeat some rolling windows
|
|
209
|
+
across different output characteristics; graph deduplication comes later.
|
|
210
|
+
|
|
211
|
+
Input `I7000` now describes the existing `input.customers.orderCount` physical
|
|
212
|
+
projection. Its six monthly seed values are synthetic demonstration history;
|
|
213
|
+
advancing `--periodicity monthly` inserts the current record's `orderCount`.
|
|
214
|
+
See the [example `.cobolts` walkthrough](../../examples/example/definitions/.cobolts/README.md)
|
|
215
|
+
for complete executable commands and the required spreadsheet rows.
|
|
216
|
+
|
|
19
217
|
## Layout
|
|
20
218
|
|
|
21
219
|
```text
|
|
@@ -27,13 +225,21 @@ example/
|
|
|
27
225
|
data.yaml
|
|
28
226
|
graph.yaml
|
|
29
227
|
accumulator.yaml
|
|
228
|
+
accumulator.generated.yaml
|
|
229
|
+
extractions.yaml
|
|
230
|
+
characteristics.yaml
|
|
231
|
+
ai.yaml
|
|
232
|
+
mock.ai.yaml
|
|
233
|
+
prompts/
|
|
234
|
+
input-characteristics.yaml
|
|
235
|
+
demo-characteristics.yaml
|
|
30
236
|
copybooks/
|
|
31
237
|
CUSTOMER.cpy
|
|
32
238
|
application/
|
|
33
239
|
src/generated/
|
|
34
240
|
```
|
|
35
241
|
|
|
36
|
-
The closest `.cobolts` directory found by walking upwards from the current working directory is the **configuration directory**. It is discovered, not configured. `files.yaml` contains a `root` and `files` map; `generation.yaml` contains a separate `root`, filename templates, optional manual overrides, and code-generation naming. Relative roots are interpreted from `.cobolts` and may point into separate workspace packages; absolute roots are also permitted.
|
|
242
|
+
The example above shows the main configuration files and metadata examples (not every graph fixture). The closest `.cobolts` directory found by walking upwards from the current working directory is the **configuration directory**. It is discovered, not configured. `files.yaml` contains a `root` and `files` map; `generation.yaml` contains a separate `root`, filename templates, optional manual overrides, and code-generation naming. Relative roots are interpreted from `.cobolts` and may point into separate workspace packages; absolute roots are also permitted.
|
|
37
243
|
|
|
38
244
|
Source filenames are relative to `files.root`; generated filenames are relative to `generation.root`. Manual override paths are interpreted relative to `.cobolts`.
|
|
39
245
|
|
|
@@ -69,11 +275,15 @@ Commands (`[ ]` marks optional arguments):
|
|
|
69
275
|
cobolts config files|list|names|view|validate
|
|
70
276
|
cobolts generate all|copybook|projectionDefn|projection [logical-name]
|
|
71
277
|
cobolts display <logical-name> [--count N | --all] [--skip N] [--raw] [--input file]
|
|
278
|
+
cobolts graph build <experiments.yaml> [--with existing-graph.yaml] [--file graph.yaml] [--report] [--detailed]
|
|
72
279
|
cobolts cel graph|canonical|sorted|planned [--graph file] [--short]
|
|
73
280
|
cobolts cel validate [logical-name] [--graph file]
|
|
74
281
|
cobolts cel execute [logical-name] [--count N | --all] [--skip N] [--raw] [--on-error throw|continue]
|
|
75
282
|
cobolts cel evaluate <entity-id> [logical-name] [--debug] [--debug-node name]
|
|
76
283
|
cobolts validate all
|
|
284
|
+
cobolts ai prompt|exchange|response <output-id>
|
|
285
|
+
cobolts ai do <output-id> [--file file]
|
|
286
|
+
cobolts ai all [--file file]
|
|
77
287
|
```
|
|
78
288
|
|
|
79
289
|
For composed projects, omit `[logical-name]` and the CLI uses `files.yaml` composition. The optional logical-name form supports the legacy single-file route. `--on-error continue` is **not supported for composed execution** until rollback semantics are implemented; `throw` remains the default. `cel evaluate` selects the configured entity key, whereas `cel execute --count 1` executes the first available record.
|
|
@@ -172,6 +382,7 @@ extractions:
|
|
|
172
382
|
firstDataRow: 2
|
|
173
383
|
columns:
|
|
174
384
|
description: B
|
|
385
|
+
name: C
|
|
175
386
|
- name: Sheet2
|
|
176
387
|
idColumn: A
|
|
177
388
|
firstDataRow: 2
|
|
@@ -203,35 +414,106 @@ sheet and row for each matched record. Extraction does not mutate experiment dos
|
|
|
203
414
|
|
|
204
415
|
## Characteristic metadata repository
|
|
205
416
|
|
|
206
|
-
`.cobolts/characteristics.yaml` declares a global `files` directory prefix and named
|
|
207
|
-
`type: yaml` metadata sources. Each source selects a dotted `path` to either a map
|
|
208
|
-
of characteristic IDs to unstructured metadata, or the `characteristics` list
|
|
209
|
-
produced by `cobolts extract`. Sources join by characteristic ID, independently of
|
|
210
|
-
worksheet order. Distinct metadata fields compose; conflicting values fail clearly.
|
|
417
|
+
`.cobolts/characteristics.yaml` declares a global `files` directory prefix and independent `input` and `output` sets of named `type: yaml` metadata sources. Each source selects a dotted `path` to a map of characteristic IDs or the list emitted by `cobolts extract`. Sources within each kind join by characteristic ID. An ID may appear in both kinds with different metadata.
|
|
211
418
|
|
|
212
419
|
```yaml
|
|
213
420
|
files: .
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
421
|
+
input:
|
|
422
|
+
sources:
|
|
423
|
+
incoming:
|
|
424
|
+
type: yaml
|
|
425
|
+
file: input-characteristics.yaml
|
|
426
|
+
path: characteristics
|
|
427
|
+
output:
|
|
428
|
+
sources:
|
|
429
|
+
demo:
|
|
430
|
+
type: yaml
|
|
431
|
+
file: demo-characteristics.yaml
|
|
432
|
+
path: characteristics
|
|
219
433
|
```
|
|
220
434
|
|
|
221
435
|
```sh
|
|
436
|
+
# By default display both input and output, in separate named sections
|
|
222
437
|
cobolts -d modules/examples/example/definitions characteristics list
|
|
223
|
-
cobolts -d modules/examples/example/definitions characteristics list --ids
|
|
224
438
|
cobolts -d modules/examples/example/definitions characteristics show C0010
|
|
225
|
-
cobolts -d modules/examples/example/definitions characteristics
|
|
439
|
+
cobolts -d modules/examples/example/definitions characteristics list --ids
|
|
440
|
+
|
|
441
|
+
# Explicit input/output selection
|
|
442
|
+
cobolts -d modules/examples/example/definitions characteristics list --kind input
|
|
443
|
+
cobolts -d modules/examples/example/definitions characteristics show C0010 --kind input
|
|
444
|
+
cobolts -d modules/examples/example/definitions characteristics list --kind output --ids
|
|
226
445
|
```
|
|
227
446
|
|
|
228
|
-
Regenerate the example metadata
|
|
447
|
+
Regenerate the output example metadata from Excel with:
|
|
229
448
|
|
|
230
449
|
```sh
|
|
231
450
|
cobolts -d modules/examples/example/definitions extract demo-characteristics \
|
|
232
451
|
--raw --noSources --output modules/examples/example/definitions/.cobolts/demo-characteristics.yaml
|
|
233
452
|
```
|
|
234
453
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
454
|
+
Use `--format json` for JSON. Without `--kind`, `list` produces separate `input` and `output` arrays; `show` produces both records with an explicit `null` for a kind where the ID is absent. `list --ids` prefixes each ID with its kind (`input:C0010`, `output:C0010`) so repeated identifiers remain unambiguous. `--kind input` or `--kind output` limits output to that catalogue and preserves the single-catalogue response shape. Both inspection commands accept `--config`. The internal metadata query port remains `list()`/`get(id)` for each kind.
|
|
455
|
+
|
|
456
|
+
## Characteristic metadata HTTP API
|
|
457
|
+
|
|
458
|
+
Read-only metadata is available over localhost without an MCP server:
|
|
459
|
+
|
|
460
|
+
```powershell
|
|
461
|
+
cobolts -d modules/examples/example/definitions characteristics serve --port 3000
|
|
462
|
+
cobolts -d modules/examples/example/definitions characteristics serve --port 3000 --quiet
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
By default the server prints its base URL and the API endpoints to stderr. `--quiet` suppresses only this startup information; errors remain visible.
|
|
466
|
+
|
|
467
|
+
`GET /api` links to `/api/characteristics`, whose sitemap links to the input and output collections. Those collections each provide self-links for every characteristic, with detail endpoints under `/api/characteristics/input/:id` and `/api/characteristics/output/:id`. All links are root-relative and characteristic IDs are URL-encoded. There is no authentication: do not expose the server outside the trusted developer machine. Restart it to load edits to the source YAML files.
|
|
468
|
+
|
|
469
|
+
## AI characteristic experiment loop (mock provider)
|
|
470
|
+
|
|
471
|
+
`.cobolts/ai.yaml` selects the provider (`mock` for now), the model identifier,
|
|
472
|
+
`mock.ai.yaml`, and the three **external prompt files**. The first two messages of
|
|
473
|
+
the OpenAI Chat Completions request contain unchanged system instructions and a
|
|
474
|
+
sorted, recursively canonicalised snapshot of **all input characteristic metadata**.
|
|
475
|
+
The third message contains the selected output characteristic in a
|
|
476
|
+
`<target-characteristic>` JSON block. All targets therefore share an identical,
|
|
477
|
+
cacheable prefix.
|
|
478
|
+
|
|
479
|
+
The mock is an implementation of `@cobol-ts/ai` and uses the last user message
|
|
480
|
+
to select `responses.<output-id>.graph` from `mock.ai.yaml`. A real provider will
|
|
481
|
+
use the same `chat.completions.create({model, messages})` port. Responses are
|
|
482
|
+
parsed with the existing `parseAuthoringGraph()` validator before they become
|
|
483
|
+
experiments. Every fragment must declare an output node whose name is its target
|
|
484
|
+
characteristic ID; `ai all` also rejects node-name collisions across fragments.
|
|
485
|
+
The example hypotheses are **illustrative, not verified equations**.
|
|
486
|
+
|
|
487
|
+
```powershell
|
|
488
|
+
# Inspect actual request, request+OpenAI-shaped reply, or just the raw graph reply
|
|
489
|
+
yarn cobolts -d modules/examples/example/definitions ai prompt C0010
|
|
490
|
+
yarn cobolts -d modules/examples/example/definitions ai exchange C0010
|
|
491
|
+
yarn cobolts -d modules/examples/example/definitions ai response C0010
|
|
492
|
+
|
|
493
|
+
# Generate a versioned experiment document (stdout unless --file is given)
|
|
494
|
+
yarn cobolts -d modules/examples/example/definitions ai do C0010
|
|
495
|
+
yarn cobolts -d modules/examples/example/definitions ai all --file experiments.yaml
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
The result is `version: 1` with an `experiments` array of
|
|
499
|
+
`{characteristic, metadata, findings, generation, graph, history: []}` records. No execution,
|
|
500
|
+
legacy-oracle comparison, history persistence or AI credentials are involved yet.
|
|
501
|
+
Use `graph build experiments.yaml [--with existing.yaml] [--file output.yaml] [--report] [--detailed]`
|
|
502
|
+
to assemble graph fragments into executable authoring YAML; see the
|
|
503
|
+
[complete walkthrough](#excel--ai-experiment--graph-walkthrough).
|
|
504
|
+
See [`@cobol-ts/ai-experiments`](../../ai/ai-experiments/README.md) for the
|
|
505
|
+
application boundary and [`@cobol-ts/ai`](../../ai/ai/README.md) for the provider port.
|
|
506
|
+
|
|
507
|
+
## Characteristic metadata HTTP API
|
|
508
|
+
|
|
509
|
+
Read-only metadata is available over localhost without introducing an MCP server:
|
|
510
|
+
|
|
511
|
+
```powershell
|
|
512
|
+
# Load .cobolts/characteristics.yaml once and serve a snapshot
|
|
513
|
+
cobolts -d modules/examples/example/definitions characteristics serve --port 3000
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
`GET http://127.0.0.1:3000/api/characteristics` returns `{ "characteristics": [...] }`.
|
|
517
|
+
`GET http://127.0.0.1:3000/api/characteristics/C0010` returns one characteristic, or a JSON 404 when absent.
|
|
518
|
+
|
|
519
|
+
The CLI `characteristics list` and `characteristics show` use the same internal `CharacteristicQueries` port. The server deliberately binds only to `127.0.0.1` and has no authentication; do not expose it to other machines. Restart it to load edited source YAML files.
|
|
@@ -108,7 +108,7 @@ async function pass(directory, limit, strategy, verify) {
|
|
|
108
108
|
throw new Error('Composed benchmark requires graph nodes');
|
|
109
109
|
const canonical = (0, errors_1.valueOrThrow)((0, cel_graph_runtime_1.canonicaliseCelGraph)(authored));
|
|
110
110
|
const validatedInitial = (0, errors_1.valueOrThrow)((0, cel_graph_runtime_1.validateInitialAccumulator)(document.initial, authored, canonical));
|
|
111
|
-
const initial = (0, indexed_accumulator_1.indexedSeedValues)(validatedInitial);
|
|
111
|
+
const initial = (0, indexed_accumulator_1.indexedSeedValues)(validatedInitial, schema);
|
|
112
112
|
let digest = 0n;
|
|
113
113
|
let count = 0;
|
|
114
114
|
let relatedRows = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"benchmark.composed.runner.js","sourceRoot":"","sources":["../../src/benchmark.composed.runner.ts"],"names":[],"mappings":";;AAuLA,0DAOC;AAED,oDAiBC;AAjND,iEAA2D;AAC3D,+CAA0C;AAC1C,qDAAwD;AACxD,yCAAuC;AACvC,qDAA4C;AAC5C,6EAAwG;AACxG,yEAA2E;AAC3E,mGAAmF;AACnF,mEAAgK;AAChK,6CAA8C;AAC9C,uDAAmD;AACnD,yEAAqD;AACrD,uEAAqE;AACrE,+DAAsG;AActG;6EAC6E;AAC7E,KAAK,UAAU,cAAc,CAAC,SAAiB,EAAE,KAAa,EAAE,QAA6B;IACzF,MAAM,eAAe,GAAG,IAAA,gBAAI,EAAC,IAAA,mBAAO,EAAC,SAAS,CAAC,EAAE,UAAU,CAAC,CAAA;IAC5D,MAAM,UAAU,GAAG,IAAA,qBAAY,EAAC,MAAM,IAAA,kDA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
|
@@ -18,6 +18,8 @@ const benchmark_1 = require("./commands/benchmark");
|
|
|
18
18
|
const validate_all_1 = require("./commands/validate.all");
|
|
19
19
|
const extract_1 = require("./commands/extract");
|
|
20
20
|
const characteristics_1 = require("./commands/characteristics");
|
|
21
|
+
const ai_1 = require("./commands/ai");
|
|
22
|
+
const graph_1 = require("./commands/graph");
|
|
21
23
|
function createCoboltsCommand(services = context_1.nodeCliServices) {
|
|
22
24
|
const root = new commander_1.Command('cobolts')
|
|
23
25
|
.description('COBOL, CSV and JSONL file catalogue and TypeScript code generation')
|
|
@@ -45,6 +47,8 @@ function createCoboltsCommand(services = context_1.nodeCliServices) {
|
|
|
45
47
|
(0, benchmark_1.addBenchmark)(root, services, options);
|
|
46
48
|
(0, extract_1.addExtract)(root, services, options);
|
|
47
49
|
(0, characteristics_1.addCharacteristics)(root, services, options);
|
|
50
|
+
(0, ai_1.addAi)(root, services, options);
|
|
51
|
+
(0, graph_1.addGraph)(root, services, options);
|
|
48
52
|
return root;
|
|
49
53
|
}
|
|
50
54
|
//# sourceMappingURL=cli.js.map
|
package/dist/src/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":";;AAoBA,oDA8BC;AAlDD,yCAAiC;AACjC,uCAA4E;AAC5E,0DAAsD;AACtD,wDAAoD;AACpD,0DAAsD;AACtD,wDAAoD;AACpD,gEAA4D;AAC5D,0DAAsD;AACtD,oEAAgE;AAChE,gFAA4E;AAC5E,wEAAoE;AACpE,gDAA6C;AAC7C,wCAAqC;AACrC,oDAAiD;AACjD,0DAAsD;AACtD,gDAA6C;AAC7C,gEAA6D;AAC7D,sCAAmC;AACnC,4CAAyC;AAEzC,SAAgB,oBAAoB,CAAC,WAAwB,yBAAe;IACxE,MAAM,IAAI,GAAG,I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AE,OAAO,CAAC,CAAA;IAClD,IAAA,oBAAU,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IACnC,IAAA,YAAM,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC/B,IAAA,6BAAc,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IACvC,IAAA,wBAAY,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IACrC,IAAA,oBAAU,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IACnC,IAAA,oCAAkB,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC3C,IAAA,UAAK,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IAC9B,IAAA,gBAAQ,EAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IACjC,OAAO,IAAI,CAAA;AACf,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Command } from 'commander';
|
|
2
|
+
import { type PromptTemplates } from '@cobol-ts/ai-experiments';
|
|
3
|
+
import type { CliOptions, CliServices } from '../context';
|
|
4
|
+
interface AiConfiguration {
|
|
5
|
+
readonly provider: 'mock';
|
|
6
|
+
readonly model: string;
|
|
7
|
+
readonly responses: string;
|
|
8
|
+
readonly prompts: Readonly<Record<keyof PromptTemplates, string>>;
|
|
9
|
+
}
|
|
10
|
+
export declare function parseAiConfiguration(document: unknown): AiConfiguration;
|
|
11
|
+
export declare function addAi(root: Command, services: CliServices, options: () => CliOptions): void;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|