@open-agent-toolkit/cli 0.2.65 → 0.2.67
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/assets/bundle-metadata.json +1 -1
- package/assets/docs/cli-utilities/configuration.md +33 -2
- package/assets/docs/cli-utilities/index.md +3 -0
- package/assets/docs/cli-utilities/project-log.md +63 -4
- package/assets/docs/cli-utilities/remote-project-management.md +191 -0
- package/assets/docs/contributing/code.md +8 -4
- package/assets/docs/contributing/skills.md +29 -17
- package/assets/docs/docs-tooling/commands.md +3 -1
- package/assets/docs/provider-sync/manifest-and-drift.md +2 -18
- package/assets/docs/reference/cli-reference.md +12 -1
- package/assets/docs/reference/file-locations.md +22 -0
- package/assets/docs/reference/oat-directory-structure.md +30 -17
- package/assets/docs/reference/troubleshooting.md +44 -0
- package/assets/docs/workflows/projects/lifecycle.md +17 -0
- package/assets/docs/workflows/projects/picking-up-projects.md +18 -0
- package/assets/docs/workflows/skills/index.md +33 -0
- package/assets/docs/workflows/skills/repo-improve.md +7 -3
- package/assets/public-package-versions.json +4 -4
- package/assets/skills/create-agnostic-skill/SKILL.md +19 -37
- package/assets/skills/create-agnostic-skill/references/docs/skills-guide.md +58 -15
- package/assets/skills/create-agnostic-skill/references/skill-template.md +17 -15
- package/assets/skills/oat-agent-instructions-apply/SKILL.md +1 -1
- package/assets/skills/oat-agent-instructions-apply/references/instruction-file-templates/glob-scoped-rule.md +1 -4
- package/assets/skills/oat-doctor/SKILL.md +3 -6
- package/assets/skills/oat-pjm-remote/SKILL.md +101 -0
- package/assets/skills/oat-pjm-remote/references/external-action-protocol.md +43 -0
- package/assets/skills/oat-project-autonomous/references/gate-inventory.md +1 -1
- package/assets/skills/oat-project-complete/SKILL.md +158 -30
- package/assets/skills/oat-project-complete/scripts/finalize-synced-archive.mjs +26 -7
- package/assets/skills/oat-project-complete/scripts/validate-durable-archive-receipt.mjs +183 -0
- package/assets/skills/oat-project-document/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-implement/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-lite/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-pr-final/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-quick-start/references/docs/autonomy-contract.md +1 -1
- package/assets/skills/oat-project-retro/SKILL.md +1 -1
- package/assets/skills/oat-project-retro/references/apply-procedure.md +11 -0
- package/assets/skills/oat-project-review-provide/SKILL.md +4 -4
- package/assets/skills/oat-project-summary/SKILL.md +24 -2
- package/assets/skills/oat-repo-improve/SKILL.md +9 -2
- package/assets/skills/oat-repo-improve/references/plan-template.md +4 -6
- package/assets/skills/oat-repo-knowledge-index/SKILL.md +11 -9
- package/assets/skills/oat-wave-execute/SKILL.md +20 -6
- package/assets/skills/oat-wave-program/SKILL.md +9 -4
- package/dist/commands/backlog/new.d.ts +1 -0
- package/dist/commands/backlog/new.d.ts.map +1 -1
- package/dist/commands/backlog/new.js +3 -1
- package/dist/commands/config/index.d.ts +3 -1
- package/dist/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +362 -36
- package/dist/commands/docs/index-generate/index.d.ts.map +1 -1
- package/dist/commands/docs/index-generate/index.js +68 -12
- package/dist/commands/docs/init/index.d.ts +11 -0
- package/dist/commands/docs/init/index.d.ts.map +1 -1
- package/dist/commands/docs/init/index.js +19 -1
- package/dist/commands/gate/index.d.ts.map +1 -1
- package/dist/commands/gate/index.js +10 -2
- package/dist/commands/instructions/instructions.utils.d.ts.map +1 -1
- package/dist/commands/instructions/instructions.utils.js +42 -9
- package/dist/commands/internal/validate-skill-version-bumps.d.ts.map +1 -1
- package/dist/commands/internal/validate-skill-version-bumps.js +5 -5
- package/dist/commands/pjm/doctor.d.ts +2 -0
- package/dist/commands/pjm/doctor.d.ts.map +1 -1
- package/dist/commands/pjm/doctor.js +71 -1
- package/dist/commands/pjm/index.d.ts +2 -0
- package/dist/commands/pjm/index.d.ts.map +1 -1
- package/dist/commands/pjm/index.js +3 -0
- package/dist/commands/pjm/remote/__integration__/lifecycle-harness.d.ts +60 -0
- package/dist/commands/pjm/remote/__integration__/lifecycle-harness.d.ts.map +1 -0
- package/dist/commands/pjm/remote/__integration__/lifecycle-harness.js +151 -0
- package/dist/commands/pjm/remote/association.d.ts +27 -0
- package/dist/commands/pjm/remote/association.d.ts.map +1 -0
- package/dist/commands/pjm/remote/association.js +68 -0
- package/dist/commands/pjm/remote/authority.d.ts +210 -0
- package/dist/commands/pjm/remote/authority.d.ts.map +1 -0
- package/dist/commands/pjm/remote/authority.js +341 -0
- package/dist/commands/pjm/remote/batch.d.ts +15 -0
- package/dist/commands/pjm/remote/batch.d.ts.map +1 -0
- package/dist/commands/pjm/remote/batch.js +126 -0
- package/dist/commands/pjm/remote/closeout.d.ts +69 -0
- package/dist/commands/pjm/remote/closeout.d.ts.map +1 -0
- package/dist/commands/pjm/remote/closeout.js +208 -0
- package/dist/commands/pjm/remote/create-binding.d.ts +62 -0
- package/dist/commands/pjm/remote/create-binding.d.ts.map +1 -0
- package/dist/commands/pjm/remote/create-binding.js +126 -0
- package/dist/commands/pjm/remote/credential-safety.d.ts +7 -0
- package/dist/commands/pjm/remote/credential-safety.d.ts.map +1 -0
- package/dist/commands/pjm/remote/credential-safety.js +21 -0
- package/dist/commands/pjm/remote/discussion.d.ts +49 -0
- package/dist/commands/pjm/remote/discussion.d.ts.map +1 -0
- package/dist/commands/pjm/remote/discussion.js +124 -0
- package/dist/commands/pjm/remote/doctor.d.ts +22 -0
- package/dist/commands/pjm/remote/doctor.d.ts.map +1 -0
- package/dist/commands/pjm/remote/doctor.js +380 -0
- package/dist/commands/pjm/remote/external-action.d.ts +208 -0
- package/dist/commands/pjm/remote/external-action.d.ts.map +1 -0
- package/dist/commands/pjm/remote/external-action.js +367 -0
- package/dist/commands/pjm/remote/host-execution.d.ts +28 -0
- package/dist/commands/pjm/remote/host-execution.d.ts.map +1 -0
- package/dist/commands/pjm/remote/host-execution.js +63 -0
- package/dist/commands/pjm/remote/index.d.ts +41 -0
- package/dist/commands/pjm/remote/index.d.ts.map +1 -0
- package/dist/commands/pjm/remote/index.js +280 -0
- package/dist/commands/pjm/remote/jira-adf.d.ts +35 -0
- package/dist/commands/pjm/remote/jira-adf.d.ts.map +1 -0
- package/dist/commands/pjm/remote/jira-adf.js +169 -0
- package/dist/commands/pjm/remote/lifecycle.d.ts +163 -0
- package/dist/commands/pjm/remote/lifecycle.d.ts.map +1 -0
- package/dist/commands/pjm/remote/lifecycle.js +224 -0
- package/dist/commands/pjm/remote/local-projection.d.ts +30 -0
- package/dist/commands/pjm/remote/local-projection.d.ts.map +1 -0
- package/dist/commands/pjm/remote/local-projection.js +95 -0
- package/dist/commands/pjm/remote/managed-markdown.d.ts +30 -0
- package/dist/commands/pjm/remote/managed-markdown.d.ts.map +1 -0
- package/dist/commands/pjm/remote/managed-markdown.js +128 -0
- package/dist/commands/pjm/remote/migrate.d.ts +14 -0
- package/dist/commands/pjm/remote/migrate.d.ts.map +1 -0
- package/dist/commands/pjm/remote/migrate.js +32 -0
- package/dist/commands/pjm/remote/operation-state.d.ts +15 -0
- package/dist/commands/pjm/remote/operation-state.d.ts.map +1 -0
- package/dist/commands/pjm/remote/operation-state.js +143 -0
- package/dist/commands/pjm/remote/outbound-projection-safety.d.ts +25 -0
- package/dist/commands/pjm/remote/outbound-projection-safety.d.ts.map +1 -0
- package/dist/commands/pjm/remote/outbound-projection-safety.js +99 -0
- package/dist/commands/pjm/remote/output.d.ts +60 -0
- package/dist/commands/pjm/remote/output.d.ts.map +1 -0
- package/dist/commands/pjm/remote/output.js +48 -0
- package/dist/commands/pjm/remote/preview.d.ts +88 -0
- package/dist/commands/pjm/remote/preview.d.ts.map +1 -0
- package/dist/commands/pjm/remote/preview.js +154 -0
- package/dist/commands/pjm/remote/provider-conformance.d.ts +13 -0
- package/dist/commands/pjm/remote/provider-conformance.d.ts.map +1 -0
- package/dist/commands/pjm/remote/provider-conformance.js +37 -0
- package/dist/commands/pjm/remote/provider.d.ts +57 -0
- package/dist/commands/pjm/remote/provider.d.ts.map +1 -0
- package/dist/commands/pjm/remote/provider.js +28 -0
- package/dist/commands/pjm/remote/providers/github-publication-safety.d.ts +46 -0
- package/dist/commands/pjm/remote/providers/github-publication-safety.d.ts.map +1 -0
- package/dist/commands/pjm/remote/providers/github-publication-safety.js +126 -0
- package/dist/commands/pjm/remote/providers/github.d.ts +207 -0
- package/dist/commands/pjm/remote/providers/github.d.ts.map +1 -0
- package/dist/commands/pjm/remote/providers/github.js +1456 -0
- package/dist/commands/pjm/remote/providers/jira.d.ts +245 -0
- package/dist/commands/pjm/remote/providers/jira.d.ts.map +1 -0
- package/dist/commands/pjm/remote/providers/jira.js +1650 -0
- package/dist/commands/pjm/remote/providers/linear.d.ts +182 -0
- package/dist/commands/pjm/remote/providers/linear.d.ts.map +1 -0
- package/dist/commands/pjm/remote/providers/linear.js +1289 -0
- package/dist/commands/pjm/remote/purpose-policy.d.ts +29 -0
- package/dist/commands/pjm/remote/purpose-policy.d.ts.map +1 -0
- package/dist/commands/pjm/remote/purpose-policy.js +118 -0
- package/dist/commands/pjm/remote/reconcile.d.ts +42 -0
- package/dist/commands/pjm/remote/reconcile.d.ts.map +1 -0
- package/dist/commands/pjm/remote/reconcile.js +101 -0
- package/dist/commands/pjm/remote/resolution.d.ts +122 -0
- package/dist/commands/pjm/remote/resolution.d.ts.map +1 -0
- package/dist/commands/pjm/remote/resolution.js +243 -0
- package/dist/commands/pjm/remote/schema.d.ts +9309 -0
- package/dist/commands/pjm/remote/schema.d.ts.map +1 -0
- package/dist/commands/pjm/remote/schema.js +1503 -0
- package/dist/commands/pjm/remote/service.d.ts +20 -0
- package/dist/commands/pjm/remote/service.d.ts.map +1 -0
- package/dist/commands/pjm/remote/service.js +5121 -0
- package/dist/commands/pjm/remote/shared-storage.d.ts +36 -0
- package/dist/commands/pjm/remote/shared-storage.d.ts.map +1 -0
- package/dist/commands/pjm/remote/shared-storage.js +110 -0
- package/dist/commands/pjm/remote/snapshot.d.ts +32 -0
- package/dist/commands/pjm/remote/snapshot.d.ts.map +1 -0
- package/dist/commands/pjm/remote/snapshot.js +140 -0
- package/dist/commands/pjm/remote/storage-locator.d.ts +29 -0
- package/dist/commands/pjm/remote/storage-locator.d.ts.map +1 -0
- package/dist/commands/pjm/remote/storage-locator.js +62 -0
- package/dist/commands/pjm/remote/store.d.ts +85 -0
- package/dist/commands/pjm/remote/store.d.ts.map +1 -0
- package/dist/commands/pjm/remote/store.js +553 -0
- package/dist/commands/pjm/remote/verification.d.ts +40 -0
- package/dist/commands/pjm/remote/verification.d.ts.map +1 -0
- package/dist/commands/pjm/remote/verification.js +100 -0
- package/dist/commands/project/dispatch-ceiling/index.d.ts.map +1 -1
- package/dist/commands/project/dispatch-ceiling/index.js +32 -18
- package/dist/commands/project/log/append.d.ts +48 -0
- package/dist/commands/project/log/append.d.ts.map +1 -1
- package/dist/commands/project/log/append.js +207 -30
- package/dist/commands/project/log/check.d.ts +87 -1
- package/dist/commands/project/log/check.d.ts.map +1 -1
- package/dist/commands/project/log/check.js +139 -5
- package/dist/commands/project/log/grammar.d.ts +165 -0
- package/dist/commands/project/log/grammar.d.ts.map +1 -1
- package/dist/commands/project/log/grammar.js +219 -1
- package/dist/commands/project/log/rollup.d.ts +16 -1
- package/dist/commands/project/log/rollup.d.ts.map +1 -1
- package/dist/commands/project/log/rollup.js +22 -2
- package/dist/commands/project/log/synthesize.d.ts +16 -0
- package/dist/commands/project/log/synthesize.d.ts.map +1 -1
- package/dist/commands/project/log/synthesize.js +85 -9
- package/dist/commands/status/index.d.ts.map +1 -1
- package/dist/commands/status/index.js +24 -2
- package/dist/commands/sync/apply.d.ts.map +1 -1
- package/dist/commands/sync/apply.js +6 -4
- package/dist/commands/tools/shared/pack-manifest.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-manifest.js +1 -0
- package/dist/config/dispatch-matrix.d.ts.map +1 -1
- package/dist/config/dispatch-matrix.js +13 -5
- package/dist/config/oat-config.d.ts +41 -0
- package/dist/config/oat-config.d.ts.map +1 -1
- package/dist/config/oat-config.js +247 -9
- package/dist/config/own-keys.d.ts +22 -0
- package/dist/config/own-keys.d.ts.map +1 -0
- package/dist/config/own-keys.js +32 -0
- package/dist/config/resolve.d.ts +11 -0
- package/dist/config/resolve.d.ts.map +1 -1
- package/dist/config/resolve.js +35 -11
- package/dist/config/sync-config.d.ts.map +1 -1
- package/dist/config/sync-config.js +16 -0
- package/dist/drift/detector.d.ts.map +1 -1
- package/dist/drift/detector.js +52 -1
- package/dist/drift/skill-view-diagnostic.d.ts.map +1 -1
- package/dist/drift/skill-view-diagnostic.js +2 -23
- package/dist/engine/compute-plan.d.ts.map +1 -1
- package/dist/engine/compute-plan.js +22 -72
- package/dist/engine/managed-copy-hash.d.ts +69 -0
- package/dist/engine/managed-copy-hash.d.ts.map +1 -0
- package/dist/engine/managed-copy-hash.js +175 -0
- package/dist/fs/assets.d.ts +11 -0
- package/dist/fs/assets.d.ts.map +1 -1
- package/dist/fs/assets.js +1 -1
- package/dist/manifest/hash.d.ts +110 -0
- package/dist/manifest/hash.d.ts.map +1 -1
- package/dist/manifest/hash.js +111 -13
- package/dist/providers/ceiling/registry.d.ts.map +1 -1
- package/dist/providers/ceiling/registry.js +6 -1
- package/dist/providers/identity/dispatch-report.d.ts.map +1 -1
- package/dist/providers/identity/dispatch-report.js +4 -1
- package/dist/release/public-package-contract.d.ts.map +1 -1
- package/dist/release/public-package-contract.js +21 -0
- package/dist/validation/skills.d.ts.map +1 -1
- package/dist/validation/skills.js +305 -40
- package/package.json +2 -2
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { buildExternalAction, } from '../external-action.js';
|
|
2
|
+
import { assessOutboundProjectionSafety, } from '../outbound-projection-safety.js';
|
|
3
|
+
export class FakeLifecycleStore {
|
|
4
|
+
operations = new Map();
|
|
5
|
+
}
|
|
6
|
+
export class GenericHostExecutor {
|
|
7
|
+
result;
|
|
8
|
+
calls = 0;
|
|
9
|
+
constructor(result = {
|
|
10
|
+
classification: 'committed',
|
|
11
|
+
observationDigest: 'sha256:observation',
|
|
12
|
+
}) {
|
|
13
|
+
this.result = result;
|
|
14
|
+
}
|
|
15
|
+
async execute(_action) {
|
|
16
|
+
this.calls += 1;
|
|
17
|
+
return this.result;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export class LifecycleHarness {
|
|
21
|
+
store;
|
|
22
|
+
executor;
|
|
23
|
+
now;
|
|
24
|
+
id;
|
|
25
|
+
readback;
|
|
26
|
+
constructor(options = {}) {
|
|
27
|
+
this.store = options.store ?? new FakeLifecycleStore();
|
|
28
|
+
this.executor = options.executor ?? new GenericHostExecutor();
|
|
29
|
+
this.now = options.now ?? (() => '2026-08-31T12:00:00.000Z');
|
|
30
|
+
this.id = options.id ?? (() => 'op_harness_001');
|
|
31
|
+
this.readback =
|
|
32
|
+
options.readback ?? (async () => ({ title: 'Published title' }));
|
|
33
|
+
}
|
|
34
|
+
async publish(input) {
|
|
35
|
+
const operationId = input.operationId ?? this.id();
|
|
36
|
+
let operation = this.store.operations.get(operationId);
|
|
37
|
+
if (operation?.state === 'verified' ||
|
|
38
|
+
operation?.state === 'blocked' ||
|
|
39
|
+
operation?.state === 'uncertain') {
|
|
40
|
+
return operation;
|
|
41
|
+
}
|
|
42
|
+
if (!operation) {
|
|
43
|
+
if (input.approvalDigest !== input.previewDigest) {
|
|
44
|
+
operation = {
|
|
45
|
+
operationId,
|
|
46
|
+
bindingId: input.bindingId,
|
|
47
|
+
state: 'blocked',
|
|
48
|
+
previewDigest: input.previewDigest,
|
|
49
|
+
approvalDigest: input.approvalDigest,
|
|
50
|
+
capabilityEvidenceDigest: input.capabilityEvidenceDigest,
|
|
51
|
+
action: null,
|
|
52
|
+
observationDigest: null,
|
|
53
|
+
materializationSteps: [],
|
|
54
|
+
};
|
|
55
|
+
this.store.operations.set(operationId, operation);
|
|
56
|
+
return operation;
|
|
57
|
+
}
|
|
58
|
+
operation = {
|
|
59
|
+
operationId,
|
|
60
|
+
bindingId: input.bindingId,
|
|
61
|
+
state: 'planned',
|
|
62
|
+
previewDigest: input.previewDigest,
|
|
63
|
+
approvalDigest: input.approvalDigest,
|
|
64
|
+
capabilityEvidenceDigest: input.capabilityEvidenceDigest,
|
|
65
|
+
action: null,
|
|
66
|
+
observationDigest: null,
|
|
67
|
+
materializationSteps: [],
|
|
68
|
+
};
|
|
69
|
+
this.store.operations.set(operationId, operation);
|
|
70
|
+
this.crash(input.crashAt, 'after-planned');
|
|
71
|
+
}
|
|
72
|
+
if (operation.capabilityEvidenceDigest !== input.capabilityEvidenceDigest) {
|
|
73
|
+
operation.state = 'blocked';
|
|
74
|
+
return operation;
|
|
75
|
+
}
|
|
76
|
+
if (operation.state === 'attempt-started') {
|
|
77
|
+
operation.state = 'uncertain';
|
|
78
|
+
return operation;
|
|
79
|
+
}
|
|
80
|
+
if (operation.state === 'planned') {
|
|
81
|
+
const safety = assessOutboundProjectionSafety(input.projection, {
|
|
82
|
+
assessedAt: this.now(),
|
|
83
|
+
});
|
|
84
|
+
operation.action = buildExternalAction({
|
|
85
|
+
operationId,
|
|
86
|
+
stepId: 'step_harness_001',
|
|
87
|
+
provider: input.provider,
|
|
88
|
+
semanticOperation: 'update',
|
|
89
|
+
context: input.context,
|
|
90
|
+
intent: { fields: input.projection },
|
|
91
|
+
expectedObservation: {
|
|
92
|
+
fields: Object.keys(input.projection),
|
|
93
|
+
requireIdentity: true,
|
|
94
|
+
stableId: null,
|
|
95
|
+
capabilityEvidenceDigest: input.capabilityEvidenceDigest,
|
|
96
|
+
},
|
|
97
|
+
persistedPreview: {
|
|
98
|
+
projectionDigest: safety.projectionDigest,
|
|
99
|
+
safetyResultDigest: safety.resultDigest,
|
|
100
|
+
},
|
|
101
|
+
projection: input.projection,
|
|
102
|
+
outboundSafety: safety,
|
|
103
|
+
});
|
|
104
|
+
operation.state = 'attempt-started';
|
|
105
|
+
this.crash(input.crashAt, 'after-attempt-started');
|
|
106
|
+
const observation = await this.executor.execute(operation.action);
|
|
107
|
+
operation.observationDigest = observation.observationDigest;
|
|
108
|
+
if (observation.classification === 'unknown') {
|
|
109
|
+
operation.state = 'uncertain';
|
|
110
|
+
return operation;
|
|
111
|
+
}
|
|
112
|
+
operation.state = 'verification-pending';
|
|
113
|
+
this.crash(input.crashAt, 'after-observation');
|
|
114
|
+
}
|
|
115
|
+
if (operation.state === 'verification-pending') {
|
|
116
|
+
try {
|
|
117
|
+
const observed = await this.readback();
|
|
118
|
+
if (!Object.entries(input.projection).every(([field, value]) => observed[field] === value)) {
|
|
119
|
+
operation.state = 'uncertain';
|
|
120
|
+
return operation;
|
|
121
|
+
}
|
|
122
|
+
operation.state = 'materializing';
|
|
123
|
+
}
|
|
124
|
+
catch {
|
|
125
|
+
operation.state = 'uncertain';
|
|
126
|
+
return operation;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
if (operation.state === 'materializing') {
|
|
130
|
+
for (const step of [
|
|
131
|
+
'metadata',
|
|
132
|
+
'state',
|
|
133
|
+
'snapshot',
|
|
134
|
+
'baseline',
|
|
135
|
+
'association',
|
|
136
|
+
]) {
|
|
137
|
+
if (operation.materializationSteps.includes(step))
|
|
138
|
+
continue;
|
|
139
|
+
operation.materializationSteps.push(step);
|
|
140
|
+
this.crash(input.crashAt, `after-${step}`);
|
|
141
|
+
}
|
|
142
|
+
operation.state = 'verified';
|
|
143
|
+
this.crash(input.crashAt, 'after-terminal');
|
|
144
|
+
}
|
|
145
|
+
return operation;
|
|
146
|
+
}
|
|
147
|
+
crash(configured, actual) {
|
|
148
|
+
if (configured === actual)
|
|
149
|
+
throw new Error(`crash:${actual}`);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type AssociatedIssueRef = {
|
|
2
|
+
kind: 'legacy-scalar';
|
|
3
|
+
ref: string;
|
|
4
|
+
} | {
|
|
5
|
+
kind: 'reference';
|
|
6
|
+
type: string;
|
|
7
|
+
ref: string;
|
|
8
|
+
bindingId?: string;
|
|
9
|
+
} | {
|
|
10
|
+
kind: 'preserved';
|
|
11
|
+
value: unknown;
|
|
12
|
+
};
|
|
13
|
+
export type SerializedAssociatedIssue = string | {
|
|
14
|
+
type: string;
|
|
15
|
+
ref: string;
|
|
16
|
+
binding?: string;
|
|
17
|
+
} | unknown;
|
|
18
|
+
export declare function parseAssociatedIssues(value: unknown): AssociatedIssueRef[];
|
|
19
|
+
export declare function serializeAssociatedIssues(refs: readonly AssociatedIssueRef[]): SerializedAssociatedIssue[];
|
|
20
|
+
export declare function findDanglingAssociatedIssueBindings(refs: readonly AssociatedIssueRef[], knownBindingIds: ReadonlySet<string>): string[];
|
|
21
|
+
export declare function isAssociationAuthorizing(_ref: AssociatedIssueRef): false;
|
|
22
|
+
export declare function materializeBoundAssociation(existing: readonly AssociatedIssueRef[], input: {
|
|
23
|
+
type: string;
|
|
24
|
+
ref: string;
|
|
25
|
+
bindingId: string;
|
|
26
|
+
}): AssociatedIssueRef[];
|
|
27
|
+
//# sourceMappingURL=association.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"association.d.ts","sourceRoot":"","sources":["../../../../src/commands/pjm/remote/association.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAC1B;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GACtC;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAE1C,MAAM,MAAM,yBAAyB,GACjC,MAAM,GACN;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,OAAO,CAAC;AAEZ,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,EAAE,CA0B1E;AAED,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,SAAS,kBAAkB,EAAE,GAClC,yBAAyB,EAAE,CAU7B;AAED,wBAAgB,mCAAmC,CACjD,IAAI,EAAE,SAAS,kBAAkB,EAAE,EACnC,eAAe,EAAE,WAAW,CAAC,MAAM,CAAC,GACnC,MAAM,EAAE,CAYV;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,GAAG,KAAK,CAExE;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,SAAS,kBAAkB,EAAE,EACvC,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GACtD,kBAAkB,EAAE,CAoBtB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export function parseAssociatedIssues(value) {
|
|
2
|
+
if (!Array.isArray(value))
|
|
3
|
+
return [];
|
|
4
|
+
return value.map((entry) => {
|
|
5
|
+
if (typeof entry === 'string') {
|
|
6
|
+
return { kind: 'legacy-scalar', ref: entry };
|
|
7
|
+
}
|
|
8
|
+
if (isRecord(entry) &&
|
|
9
|
+
typeof entry.type === 'string' &&
|
|
10
|
+
entry.type.length > 0 &&
|
|
11
|
+
typeof entry.ref === 'string' &&
|
|
12
|
+
entry.ref.length > 0 &&
|
|
13
|
+
(entry.binding === undefined ||
|
|
14
|
+
(typeof entry.binding === 'string' && entry.binding.length > 0))) {
|
|
15
|
+
return {
|
|
16
|
+
kind: 'reference',
|
|
17
|
+
type: entry.type,
|
|
18
|
+
ref: entry.ref,
|
|
19
|
+
...(typeof entry.binding === 'string'
|
|
20
|
+
? { bindingId: entry.binding }
|
|
21
|
+
: {}),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
return { kind: 'preserved', value: entry };
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export function serializeAssociatedIssues(refs) {
|
|
28
|
+
return refs.map((ref) => {
|
|
29
|
+
if (ref.kind === 'legacy-scalar')
|
|
30
|
+
return ref.ref;
|
|
31
|
+
if (ref.kind === 'preserved')
|
|
32
|
+
return ref.value;
|
|
33
|
+
return {
|
|
34
|
+
type: ref.type,
|
|
35
|
+
ref: ref.ref,
|
|
36
|
+
...(ref.bindingId ? { binding: ref.bindingId } : {}),
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
export function findDanglingAssociatedIssueBindings(refs, knownBindingIds) {
|
|
41
|
+
return [
|
|
42
|
+
...new Set(refs.flatMap((ref) => ref.kind === 'reference' &&
|
|
43
|
+
ref.bindingId &&
|
|
44
|
+
!knownBindingIds.has(ref.bindingId)
|
|
45
|
+
? [ref.bindingId]
|
|
46
|
+
: [])),
|
|
47
|
+
];
|
|
48
|
+
}
|
|
49
|
+
export function isAssociationAuthorizing(_ref) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
export function materializeBoundAssociation(existing, input) {
|
|
53
|
+
if (existing.some((entry) => entry.kind === 'reference' && entry.bindingId === input.bindingId)) {
|
|
54
|
+
throw new Error(`Association for binding '${input.bindingId}' already exists.`);
|
|
55
|
+
}
|
|
56
|
+
return [
|
|
57
|
+
...existing,
|
|
58
|
+
{
|
|
59
|
+
kind: 'reference',
|
|
60
|
+
type: input.type,
|
|
61
|
+
ref: input.ref,
|
|
62
|
+
bindingId: input.bindingId,
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
}
|
|
66
|
+
function isRecord(value) {
|
|
67
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
68
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import type { OatPjmRemoteDescriptionMode, OatPjmRemoteMutationAuthority, OatPjmRemoteOperationClass } from '../../../config/oat-config.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { type BindingPreview, type PreviewApproval } from './preview.js';
|
|
4
|
+
interface AuthorityLayerInput {
|
|
5
|
+
default?: unknown;
|
|
6
|
+
operations?: Partial<Record<OatPjmRemoteOperationClass, unknown>>;
|
|
7
|
+
}
|
|
8
|
+
interface PolicyLayerInput {
|
|
9
|
+
description?: unknown;
|
|
10
|
+
authority?: AuthorityLayerInput;
|
|
11
|
+
}
|
|
12
|
+
export interface ResolveEffectiveRemotePolicyInput {
|
|
13
|
+
repository: PolicyLayerInput;
|
|
14
|
+
provider?: PolicyLayerInput;
|
|
15
|
+
binding?: PolicyLayerInput;
|
|
16
|
+
completeDescriptionReplacement?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface AuthorityResolutionTrace {
|
|
19
|
+
builtIn: 'read-only';
|
|
20
|
+
repository: {
|
|
21
|
+
value: OatPjmRemoteMutationAuthority;
|
|
22
|
+
source: 'built-in' | 'default' | 'operation';
|
|
23
|
+
};
|
|
24
|
+
provider: {
|
|
25
|
+
value: OatPjmRemoteMutationAuthority | null;
|
|
26
|
+
source: 'inherit' | 'default' | 'operation';
|
|
27
|
+
};
|
|
28
|
+
bindingDefault: OatPjmRemoteMutationAuthority | null;
|
|
29
|
+
bindingOperation: OatPjmRemoteMutationAuthority | null;
|
|
30
|
+
hardFloor: 'user-approved' | null;
|
|
31
|
+
final: OatPjmRemoteMutationAuthority;
|
|
32
|
+
}
|
|
33
|
+
export interface EffectiveRemotePolicy {
|
|
34
|
+
description: OatPjmRemoteDescriptionMode;
|
|
35
|
+
descriptionTrace: {
|
|
36
|
+
builtIn: 'none';
|
|
37
|
+
repository: OatPjmRemoteDescriptionMode;
|
|
38
|
+
provider: OatPjmRemoteDescriptionMode | null;
|
|
39
|
+
binding: OatPjmRemoteDescriptionMode | null;
|
|
40
|
+
final: OatPjmRemoteDescriptionMode;
|
|
41
|
+
};
|
|
42
|
+
authority: Record<OatPjmRemoteOperationClass, OatPjmRemoteMutationAuthority>;
|
|
43
|
+
authorityTrace: Record<OatPjmRemoteOperationClass, AuthorityResolutionTrace>;
|
|
44
|
+
hardFloors: Array<'replace-description' | 'destructive' | 'identity-resolution'>;
|
|
45
|
+
findings: string[];
|
|
46
|
+
}
|
|
47
|
+
export declare const ProductionMutationInvocationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
48
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
49
|
+
kind: z.ZodLiteral<"interactive">;
|
|
50
|
+
sourceId: z.ZodString;
|
|
51
|
+
invocationId: z.ZodString;
|
|
52
|
+
issuedAt: z.ZodString;
|
|
53
|
+
expiresAt: z.ZodString;
|
|
54
|
+
instruction: z.ZodObject<{
|
|
55
|
+
operationClass: z.ZodEnum<["create", "update-fields", "transition", "annotate", "delete", "relink", "detach", "recreate"]>;
|
|
56
|
+
targetId: z.ZodString;
|
|
57
|
+
} & {
|
|
58
|
+
evidenceDigest: z.ZodString;
|
|
59
|
+
}, "strict", z.ZodTypeAny, {
|
|
60
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
61
|
+
targetId: string;
|
|
62
|
+
evidenceDigest: string;
|
|
63
|
+
}, {
|
|
64
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
65
|
+
targetId: string;
|
|
66
|
+
evidenceDigest: string;
|
|
67
|
+
}>;
|
|
68
|
+
approval: z.ZodNullable<z.ZodObject<{
|
|
69
|
+
previewDigest: z.ZodString;
|
|
70
|
+
operationClass: z.ZodEnum<["create", "update-fields", "transition", "annotate", "delete", "relink", "detach", "recreate"]>;
|
|
71
|
+
approvedAt: z.ZodString;
|
|
72
|
+
actor: z.ZodString;
|
|
73
|
+
source: z.ZodString;
|
|
74
|
+
}, "strict", z.ZodTypeAny, {
|
|
75
|
+
previewDigest: string;
|
|
76
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
77
|
+
approvedAt: string;
|
|
78
|
+
actor: string;
|
|
79
|
+
source: string;
|
|
80
|
+
}, {
|
|
81
|
+
previewDigest: string;
|
|
82
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
83
|
+
approvedAt: string;
|
|
84
|
+
actor: string;
|
|
85
|
+
source: string;
|
|
86
|
+
}>>;
|
|
87
|
+
}, "strict", z.ZodTypeAny, {
|
|
88
|
+
schemaVersion: 1;
|
|
89
|
+
kind: "interactive";
|
|
90
|
+
sourceId: string;
|
|
91
|
+
invocationId: string;
|
|
92
|
+
issuedAt: string;
|
|
93
|
+
expiresAt: string;
|
|
94
|
+
instruction: {
|
|
95
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
96
|
+
targetId: string;
|
|
97
|
+
evidenceDigest: string;
|
|
98
|
+
};
|
|
99
|
+
approval: {
|
|
100
|
+
previewDigest: string;
|
|
101
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
102
|
+
approvedAt: string;
|
|
103
|
+
actor: string;
|
|
104
|
+
source: string;
|
|
105
|
+
} | null;
|
|
106
|
+
}, {
|
|
107
|
+
schemaVersion: 1;
|
|
108
|
+
kind: "interactive";
|
|
109
|
+
sourceId: string;
|
|
110
|
+
invocationId: string;
|
|
111
|
+
issuedAt: string;
|
|
112
|
+
expiresAt: string;
|
|
113
|
+
instruction: {
|
|
114
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
115
|
+
targetId: string;
|
|
116
|
+
evidenceDigest: string;
|
|
117
|
+
};
|
|
118
|
+
approval: {
|
|
119
|
+
previewDigest: string;
|
|
120
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
121
|
+
approvedAt: string;
|
|
122
|
+
actor: string;
|
|
123
|
+
source: string;
|
|
124
|
+
} | null;
|
|
125
|
+
}>, z.ZodObject<{
|
|
126
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
127
|
+
kind: z.ZodLiteral<"workflow">;
|
|
128
|
+
sourceId: z.ZodString;
|
|
129
|
+
invocationId: z.ZodString;
|
|
130
|
+
issuedAt: z.ZodString;
|
|
131
|
+
expiresAt: z.ZodString;
|
|
132
|
+
operationClass: z.ZodEnum<["create", "update-fields", "transition", "annotate", "delete", "relink", "detach", "recreate"]>;
|
|
133
|
+
targetId: z.ZodString;
|
|
134
|
+
workflowId: z.ZodString;
|
|
135
|
+
revision: z.ZodString;
|
|
136
|
+
}, "strict", z.ZodTypeAny, {
|
|
137
|
+
schemaVersion: 1;
|
|
138
|
+
kind: "workflow";
|
|
139
|
+
sourceId: string;
|
|
140
|
+
invocationId: string;
|
|
141
|
+
issuedAt: string;
|
|
142
|
+
expiresAt: string;
|
|
143
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
144
|
+
targetId: string;
|
|
145
|
+
workflowId: string;
|
|
146
|
+
revision: string;
|
|
147
|
+
}, {
|
|
148
|
+
schemaVersion: 1;
|
|
149
|
+
kind: "workflow";
|
|
150
|
+
sourceId: string;
|
|
151
|
+
invocationId: string;
|
|
152
|
+
issuedAt: string;
|
|
153
|
+
expiresAt: string;
|
|
154
|
+
operationClass: "annotate" | "create" | "delete" | "detach" | "recreate" | "relink" | "transition" | "update-fields";
|
|
155
|
+
targetId: string;
|
|
156
|
+
workflowId: string;
|
|
157
|
+
revision: string;
|
|
158
|
+
}>]>;
|
|
159
|
+
export type ProductionMutationInvocation = z.infer<typeof ProductionMutationInvocationSchema>;
|
|
160
|
+
export declare function parseProductionMutationInvocation(value: unknown): ProductionMutationInvocation;
|
|
161
|
+
export declare function validateProductionMutationAuthority(input: {
|
|
162
|
+
effective: OatPjmRemoteMutationAuthority;
|
|
163
|
+
invocation: ProductionMutationInvocation | null;
|
|
164
|
+
preview: BindingPreview;
|
|
165
|
+
expected: {
|
|
166
|
+
operationClass: OatPjmRemoteOperationClass;
|
|
167
|
+
targetId: string;
|
|
168
|
+
workflowId: string;
|
|
169
|
+
workflowRevision: string;
|
|
170
|
+
};
|
|
171
|
+
now: string;
|
|
172
|
+
approvalMaxAgeMs: number;
|
|
173
|
+
}): {
|
|
174
|
+
authority: {
|
|
175
|
+
effective: OatPjmRemoteMutationAuthority;
|
|
176
|
+
sourceDigest: string;
|
|
177
|
+
};
|
|
178
|
+
approval: PreviewApproval | null;
|
|
179
|
+
};
|
|
180
|
+
export declare function assessProductionMutationAuthority(input: {
|
|
181
|
+
effective: OatPjmRemoteMutationAuthority;
|
|
182
|
+
invocation: ProductionMutationInvocation | null;
|
|
183
|
+
preview: BindingPreview;
|
|
184
|
+
expected: {
|
|
185
|
+
operationClass: OatPjmRemoteOperationClass;
|
|
186
|
+
targetId: string;
|
|
187
|
+
workflowId: string;
|
|
188
|
+
workflowRevision: string;
|
|
189
|
+
};
|
|
190
|
+
now: string;
|
|
191
|
+
approvalMaxAgeMs: number;
|
|
192
|
+
}): {
|
|
193
|
+
status: 'ready';
|
|
194
|
+
authority: {
|
|
195
|
+
effective: OatPjmRemoteMutationAuthority;
|
|
196
|
+
sourceDigest: string;
|
|
197
|
+
};
|
|
198
|
+
approval: PreviewApproval | null;
|
|
199
|
+
} | {
|
|
200
|
+
status: 'needs-review';
|
|
201
|
+
authority: {
|
|
202
|
+
effective: 'user-approved';
|
|
203
|
+
sourceDigest: string;
|
|
204
|
+
};
|
|
205
|
+
approval: null;
|
|
206
|
+
previewDigest: string;
|
|
207
|
+
};
|
|
208
|
+
export declare function resolveEffectiveRemotePolicy(input: ResolveEffectiveRemotePolicyInput): EffectiveRemotePolicy;
|
|
209
|
+
export {};
|
|
210
|
+
//# sourceMappingURL=authority.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authority.d.ts","sourceRoot":"","sources":["../../../../src/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