@cobol-ts/cli-experiments 0.0.0-stage → 0.0.59
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 +11 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/src/experiments.command.spec.d.ts +1 -0
- package/dist/src/experiments.command.spec.js +33 -0
- package/dist/src/experiments.command.spec.js.map +1 -0
- package/dist/src/experiments.d.ts +10 -0
- package/dist/src/experiments.js +52 -0
- package/dist/src/experiments.js.map +1 -0
- package/index.ts +1 -0
- package/package.json +64 -3
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @cobol-ts/cli-experiments
|
|
2
|
+
|
|
3
|
+
Experiment command delivery adapter. Owns Commander registration, flags and output formatting. Delegates application operations to [discovery-experiments](../discovery-experiments/README.md); no execution or persistence implementation is owned here.
|
|
4
|
+
|
|
5
|
+
The `experiment` family creates, lists, runs and reads recorded messages. `compose-identification` previews explicit target=experiment-ID selections; `materialise-identification` is a separate operation. Both use recorded experiments rather than calling a provider.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
yarn cobolts -d modules/examples/init experiment list identification
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
See the [CLI reference](../cobolts/README.md) for the complete command options.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/experiments';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/experiments"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const commander_1 = require("commander");
|
|
4
|
+
const discovery_experiments_local_1 = require("@cobol-ts/discovery-experiments-local");
|
|
5
|
+
const experiments_1 = require("./experiments");
|
|
6
|
+
jest.mock('@cobol-ts/discovery-experiments-local', () => ({ projectExperiments: jest.fn() }));
|
|
7
|
+
const paths = { projectRoot: 'project', directory: 'project/.cobolts', catalogue: 'files.yaml',
|
|
8
|
+
policy: 'generation.yaml', data: 'data.yaml', accumulator: 'accumulator.yaml' };
|
|
9
|
+
function fixture() {
|
|
10
|
+
const services = { paths: jest.fn(async () => paths), read: jest.fn(async () => ''), output: jest.fn() };
|
|
11
|
+
const root = new commander_1.Command().exitOverride();
|
|
12
|
+
(0, experiments_1.addExperiments)(root, services, () => ({ directory: 'project' }));
|
|
13
|
+
return { root, services };
|
|
14
|
+
}
|
|
15
|
+
test.each(['10', '23'])('experiment create passes a numeric call budget of %s', async (count) => {
|
|
16
|
+
const created = { id: '2026-11-28-001' };
|
|
17
|
+
const create = jest.fn(async () => created);
|
|
18
|
+
jest.mocked(discovery_experiments_local_1.projectExperiments).mockReturnValueOnce({ create });
|
|
19
|
+
const { root, services } = fixture();
|
|
20
|
+
await root.parseAsync(['experiment', 'create', 'characteristic', 'C0010', '--runner', 'mock',
|
|
21
|
+
...(count === '10' ? [] : ['--max-messages', count])], { from: 'user' });
|
|
22
|
+
expect(discovery_experiments_local_1.projectExperiments).toHaveBeenLastCalledWith(paths.directory, services.read, { catalogue: paths.catalogue });
|
|
23
|
+
expect(create).toHaveBeenCalledWith({ scope: 'characteristic', subscope: 'C0010', runner: 'mock', maxMessages: Number(count) });
|
|
24
|
+
expect(services.output).toHaveBeenCalledWith(JSON.stringify(created, null, 2));
|
|
25
|
+
});
|
|
26
|
+
test('experiment run without an execution capability fails before resolving paths', async () => {
|
|
27
|
+
const { root, services } = fixture();
|
|
28
|
+
await expect(root.parseAsync(['experiment', 'run', 'characteristic', 'C0010', '2026-11-28-001'], { from: 'user' }))
|
|
29
|
+
.rejects.toThrow('Experiment execution is not configured');
|
|
30
|
+
expect(services.paths).not.toHaveBeenCalled();
|
|
31
|
+
expect(services.output).not.toHaveBeenCalled();
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=experiments.command.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiments.command.spec.js","sourceRoot":"","sources":["../../src/experiments.command.spec.ts"],"names":[],"mappings":";;AAAA,yCAAiC;AAEjC,uFAAwE;AACxE,+CAAqE;AAErE,IAAI,CAAC,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAC,kBAAkB,EAAE,IAAI,CAAC,EAAE,EAAE,EAAC,CAAC,CAAC,CAAA;AAE3F,MAAM,KAAK,GAAiB,EAAC,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,kBAAkB,EAAE,SAAS,EAAE,YAAY;IACvG,MAAM,E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liOptions } from '@cobol-ts/cli-common';
|
|
4
|
+
import { type ExecutionDependencies } from '@cobol-ts/discovery-experiments';
|
|
5
|
+
export declare function addExperiments(root: Command, services: ExperimentServices, options: () => CliOptions, execution?: ExecutionDependencies): void;
|
|
6
|
+
export interface ExperimentServices {
|
|
7
|
+
readonly paths: ResolveProjectPaths;
|
|
8
|
+
readonly read: Read;
|
|
9
|
+
readonly output: Output;
|
|
10
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addExperiments = addExperiments;
|
|
4
|
+
const discovery_experiments_1 = require("@cobol-ts/discovery-experiments");
|
|
5
|
+
const discovery_experiments_local_1 = require("@cobol-ts/discovery-experiments-local");
|
|
6
|
+
const discovery_experiments_local_2 = require("@cobol-ts/discovery-experiments-local");
|
|
7
|
+
const discovery_experiments_local_3 = require("@cobol-ts/discovery-experiments-local");
|
|
8
|
+
const discovery_experiments_local_4 = require("@cobol-ts/discovery-experiments-local");
|
|
9
|
+
function addExperiments(root, services, options, execution) {
|
|
10
|
+
const command = root.command('experiment').description('Create and inspect recorded AI experiments');
|
|
11
|
+
const repository = async () => {
|
|
12
|
+
const paths = await services.paths(options());
|
|
13
|
+
return (0, discovery_experiments_local_3.projectExperiments)(paths.directory, services.read, { catalogue: paths.catalogue });
|
|
14
|
+
};
|
|
15
|
+
const output = (value) => services.output(JSON.stringify(value, null, 2));
|
|
16
|
+
command.command('create').argument('<scope>').argument('<subscope>')
|
|
17
|
+
.requiredOption('--runner <name>').option('--max-messages <count>', 'Maximum generated conversation messages', '10')
|
|
18
|
+
.action(async (scope, subscope, flags) => {
|
|
19
|
+
output(await (await repository()).create({ scope, subscope, runner: flags.runner, maxMessages: Number(flags.maxMessages) }));
|
|
20
|
+
});
|
|
21
|
+
command.command('list').argument('[scope]').argument('[subscope]')
|
|
22
|
+
.action(async (scope, subscope) => output(await (await repository()).list(scope, subscope)));
|
|
23
|
+
command.command('inspect').argument('<scope>').argument('<subscope>').argument('<id>')
|
|
24
|
+
.action(async (scope, subscope, id) => output(await (await repository()).read({ scope, subscope, id })));
|
|
25
|
+
command.command('run').argument('<scope>').argument('<subscope>').argument('<id>')
|
|
26
|
+
.action(async (scope, subscope, id) => {
|
|
27
|
+
if (!execution)
|
|
28
|
+
throw new Error('Experiment execution is not configured');
|
|
29
|
+
const paths = await services.paths(options());
|
|
30
|
+
output(await (0, discovery_experiments_local_4.experimentExecution)(paths.directory, execution, undefined, paths.catalogue, paths).run({ scope, subscope, id }, options().debugAi ?? false));
|
|
31
|
+
});
|
|
32
|
+
command.command('compose-identification').argument('<selections...>', 'Explicit target=experiment-id selections')
|
|
33
|
+
.description('Reconstruct missing history: compile a graph pair from selected successful identification experiments')
|
|
34
|
+
.action(async (selections) => {
|
|
35
|
+
const selected = selections.map(discovery_experiments_1.parseIdentificationSelection);
|
|
36
|
+
const paths = await services.paths(options());
|
|
37
|
+
const project = (0, discovery_experiments_local_3.projectExperiments)(paths.directory, services.read, { catalogue: paths.catalogue });
|
|
38
|
+
const context = await (0, discovery_experiments_local_1.prepareIdentificationContext)(paths.directory, services.read, selected[0].target, { catalogue: paths.catalogue });
|
|
39
|
+
output(await (0, discovery_experiments_1.composeRecordedIdentification)(context, selected, await project.repository()));
|
|
40
|
+
});
|
|
41
|
+
command.command('materialise-identification').argument('<selections...>', 'Explicit target=experiment-id selections')
|
|
42
|
+
.requiredOption('--output <directory>', 'New protected directory for plaintext indexed state')
|
|
43
|
+
.option('--config <filename>', 'Compaction configuration', 'compaction.yaml')
|
|
44
|
+
.description('Reconstruct missing history: jointly validate and generate per-entity initial state without AI')
|
|
45
|
+
.action(async (selections, flags) => {
|
|
46
|
+
const paths = await services.paths(options());
|
|
47
|
+
output(await (0, discovery_experiments_local_2.materialiseProjectIdentification)(paths, services.read, selections.map(discovery_experiments_1.parseIdentificationSelection), flags.output, flags.config));
|
|
48
|
+
});
|
|
49
|
+
command.command('messages').argument('<scope>').argument('<subscope>').argument('<id>')
|
|
50
|
+
.action(async (scope, subscope, id) => output(await (await repository()).messages({ scope, subscope, id })));
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=experiments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experiments.js","sourceRoot":"","sources":["../../src/experiments.ts"],"names":[],"mappings":";;AAUA,wCAyCC;AAnDD,2EAA2G;AAC3G,uFAAkF;AAClF,uFAAsF;AAItF,uFAAwE;AACxE,uFAAyE;AAGzE,SAAgB,cAAc,CAAC,IAAa,EAAE,QAA4B,EAAE,OAAyB,EAAE,SAAiC;IACpI,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,4CAA4C,CAAC,CAAA;IACpG,MAAM,UAAU,GAAG,KAAK,IAAI,EAAE;QAC1B,MAAM,KAAK,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;QAC7C,OAAO,IAAA,gDAAkB,EAAC,KAAK,CAAC,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE,EAAC,SAAS,EAAE,KAAK,CAAC,SAAS,EAAC,CAAC,CAAA;IAC3F,CAAC,CAAA;IACD,MAAM,MAAM,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;IAClF,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;SAC/D,cAAc,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,wBAAwB,EAAE,yCAAyC,EAAE,IAAI,CAAC;SACnH,MAAM,CAAC,KAAK,EAAE,KAAa,EAAE,QAAgB,EAAE,KAA4C,EAAE,EAAE;QAC5F,MAAM,CAAC,MAAM,C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,EAAE,0BAA0B,EAAE,iBAAiB,CAAC;SAC5E,WAAW,CAAC,gGAAgG,CAAC;SAC7G,MAAM,CAAC,KAAK,EAAE,UAAoB,EAAE,KAAoC,EAAE,EAAE;QACzE,MAAM,KAAK,GAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;QAC3C,MAAM,CAAC,MAAM,IAAA,8DAAgC,EAAC,KAAK,EAAC,QAAQ,CAAC,IAAI,EAAC,UAAU,CAAC,GAAG,CAAC,oDAA4B,CAAC,EAAC,KAAK,CAAC,MAAM,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;IAC9I,CAAC,CAAC,CAAA;IACN,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;SAClF,MAAM,CAAC,KAAK,EAAE,KAAa,EAAE,QAAgB,EAAE,EAAU,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAC,CAAC,CAAC,CAAC,CAAA;AAC1I,CAAC"}
|
package/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/experiments'
|
package/package.json
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobol-ts/cli-experiments",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Experiment command delivery adapter",
|
|
4
|
+
"version": "0.0.59",
|
|
5
|
+
"main": "dist/index",
|
|
6
|
+
"types": "dist/index",
|
|
7
|
+
"browserslist": {
|
|
8
|
+
"development": [
|
|
9
|
+
"last 1 chrome version",
|
|
10
|
+
"last 1 firefox version",
|
|
11
|
+
"last 1 safari version"
|
|
12
|
+
],
|
|
13
|
+
"production": [
|
|
14
|
+
">0.2%",
|
|
15
|
+
"not dead",
|
|
16
|
+
"not op_mini all"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@cobol-ts/cli-common": "0.0.59",
|
|
21
|
+
"@cobol-ts/discovery-experiments": "0.0.59",
|
|
22
|
+
"@cobol-ts/discovery-experiments-local": "0.0.59",
|
|
23
|
+
"@cobol-ts/project-context": "0.0.59",
|
|
24
|
+
"commander": "^12.1.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
28
|
+
"@types/jest": "^29.0.0",
|
|
29
|
+
"@types/node": "^20.0.0",
|
|
30
|
+
"jest": "^29.0.0",
|
|
31
|
+
"ts-jest": "^29.0.0",
|
|
32
|
+
"typescript": "^5.2.2"
|
|
33
|
+
},
|
|
34
|
+
"eslintConfig": {
|
|
35
|
+
"extends": [
|
|
36
|
+
"react-app",
|
|
37
|
+
"react-app/jest"
|
|
38
|
+
],
|
|
39
|
+
"overrides": [
|
|
40
|
+
{
|
|
41
|
+
"files": [
|
|
42
|
+
"**/*.stories.*"
|
|
43
|
+
],
|
|
44
|
+
"rules": {
|
|
45
|
+
"import/no-anonymous-default-export": "off"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"files": [
|
|
51
|
+
"dist/index.js",
|
|
52
|
+
"dist/index.d.ts",
|
|
53
|
+
"dist/src/",
|
|
54
|
+
"dist/",
|
|
55
|
+
"dist/**/*"
|
|
56
|
+
],
|
|
57
|
+
"keywords": [
|
|
58
|
+
"indexing"
|
|
59
|
+
],
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"module": "./index.ts",
|
|
62
|
+
"repository": "git@github.com:intellimaintain/intellimaintain.git",
|
|
63
|
+
"scripts": {
|
|
64
|
+
"test": "jest --config jest.config.json --env node",
|
|
65
|
+
"test:watch": "npm run test -- --watch"
|
|
66
|
+
}
|
|
6
67
|
}
|