cohorte 3.0.0-dev.8 → 3.1.0
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/CHANGELOG.md +1637 -0
- package/README.md +322 -62
- package/bin/cli.js +213 -0
- package/bin/report.js +141 -0
- package/core/agents/cohorte-profile-reader.md +40 -0
- package/core/agents/cohorte-release.md +61 -0
- package/core/agents/cohorte-review.md +200 -0
- package/core/agents/implementer.template.md +154 -0
- package/core/commands/cohorte-align-ds.md +33 -0
- package/core/commands/cohorte-audit.md +74 -0
- package/core/commands/cohorte-brainstorm.md +73 -0
- package/core/commands/cohorte-build.md +248 -0
- package/core/commands/cohorte-doctor.md +135 -0
- package/core/commands/cohorte-fix.md +80 -0
- package/core/commands/cohorte-fleet.md +111 -0
- package/core/commands/cohorte-init-pipeline.md +30 -0
- package/core/commands/cohorte-intake.md +92 -0
- package/core/commands/cohorte-patch.md +118 -0
- package/core/commands/cohorte-refactor.md +122 -0
- package/core/commands/cohorte-retro.md +85 -0
- package/core/commands/cohorte-revert.md +104 -0
- package/core/commands/cohorte-review.md +239 -0
- package/core/commands/cohorte-ship.md +167 -0
- package/core/commands/cohorte-spec.md +114 -0
- package/core/commands/cohorte-update-pipeline.md +119 -0
- package/core/commands/cohorte-verify.md +106 -0
- package/core/hooks/gate.py +3236 -0
- package/core/templates/agent-handoff.md +34 -0
- package/core/templates/brainstorm-return.md +42 -0
- package/core/templates/decisions.template.md +42 -0
- package/core/templates/design-brief.md +37 -0
- package/core/templates/patch.template.md +95 -0
- package/core/templates/pr-body.md +25 -0
- package/core/templates/review-feedback.md +46 -0
- package/core/templates/spec.template.md +109 -0
- package/core/templates/steps/init-pipeline/01-detect-stack.md +53 -0
- package/core/templates/steps/init-pipeline/02-interview-gaps.md +78 -0
- package/core/templates/steps/init-pipeline/03-draft-profile.md +10 -0
- package/core/templates/steps/init-pipeline/04-write-render.md +95 -0
- package/core/templates/steps/init-pipeline/05-report.md +11 -0
- package/core/templates/steps/review-pr/01-pr-mode.md +54 -0
- package/core/workflows/audit.js +311 -0
- package/core/workflows/loop.js +692 -0
- package/core/workflows/refactor.js +398 -0
- package/core/workflows/review.js +505 -0
- package/install.ps1 +72 -0
- package/install.sh +69 -0
- package/lib/doctor.js +506 -0
- package/lib/install.js +386 -0
- package/lib/project.js +359 -0
- package/lib/render.js +121 -0
- package/lib/versions.js +145 -0
- package/lib/yaml.js +183 -0
- package/package.json +36 -17
- package/profile/PIPELINE.template.md +288 -0
- package/profile/SCHEMA.md +30 -0
- package/profile/cohorte.config.template.yaml +43 -0
- package/profile/schema/dead-agents.md +29 -0
- package/profile/schema/decisions.md +23 -0
- package/profile/schema/deferred.md +22 -0
- package/profile/schema/feature-diff.md +20 -0
- package/profile/schema/kanban.md +95 -0
- package/profile/schema/metrics.md +23 -0
- package/profile/schema/output-discipline.md +21 -0
- package/profile/schema/preflight.md +81 -0
- package/profile/schema/profile-block.md +103 -0
- package/profile/schema/project-kinds.md +89 -0
- package/profile/schema/readiness.md +17 -0
- package/profile/schema/reconcile.md +64 -0
- package/profile/schema/release-notes.md +29 -0
- package/profile/schema/rendering.md +48 -0
- package/profile/schema/retrieval.md +58 -0
- package/profile/schema/spec-status.md +79 -0
- package/profile/schema/specialization.md +41 -0
- package/profile/schema/verify.md +115 -0
- package/profile/schema/workflows.md +78 -0
- package/scripts/feature-diff.sh +118 -0
- package/scripts/kanban-move.sh +349 -0
- package/scripts/metrics/collect.mjs +542 -0
- package/scripts/metrics/prices.json +42 -0
- package/scripts/new-feature.sh.template +122 -0
- package/scripts/preflight.sh +114 -0
- package/scripts/remove-feature.sh.template +56 -0
- package/scripts/verify-run.sh +509 -0
- package/assets/manifest.json +0 -203
- package/assets/migrations/config/README.md +0 -12
- package/assets/migrations/state/0001_init.sql +0 -154
- package/assets/prompts/README.md +0 -11
- package/assets/prompts/agents/brainstormer.md +0 -3
- package/assets/prompts/agents/fixer.md +0 -7
- package/assets/prompts/agents/implementer.md +0 -12
- package/assets/prompts/agents/reviewer.md +0 -8
- package/assets/prompts/agents/security-reviewer.md +0 -7
- package/assets/prompts/agents/spec-author.md +0 -3
- package/assets/prompts/phases/build.md +0 -5
- package/assets/prompts/phases/review.md +0 -5
- package/assets/prompts/phases/test.md +0 -5
- package/assets/prompts/system.md +0 -11
- package/assets/schemas/agent-output.schema.json +0 -225
- package/assets/schemas/auth-status.schema.json +0 -87
- package/assets/schemas/command-result.schema.json +0 -192
- package/assets/schemas/commands.schema.json +0 -959
- package/assets/schemas/config.schema.json +0 -2281
- package/assets/schemas/doctor-report.schema.json +0 -104
- package/assets/schemas/events.schema.json +0 -8514
- package/assets/schemas/fake-script.schema.json +0 -549
- package/assets/schemas/inspect.schema.json +0 -3133
- package/assets/schemas/manifest.schema.json +0 -79
- package/assets/schemas/ownership.schema.json +0 -52
- package/assets/schemas/policy-verdict.schema.json +0 -282
- package/assets/schemas/project-model.schema.json +0 -783
- package/assets/schemas/project-status.schema.json +0 -217
- package/assets/schemas/reconcile-plan.schema.json +0 -154
- package/assets/schemas/run-diff.schema.json +0 -177
- package/assets/schemas/run-snapshot-manifest.schema.json +0 -2104
- package/assets/schemas/run-state.schema.json +0 -1755
- package/assets/schemas/runtime-capabilities.schema.json +0 -1545
- package/assets/schemas/sandbox-capabilities.schema.json +0 -116
- package/assets/schemas/skill.schema.json +0 -87
- package/assets/schemas/spec.schema.json +0 -202
- package/assets/schemas/tool-catalogue.schema.json +0 -655
- package/assets/schemas/trust-record.schema.json +0 -38
- package/assets/skills/README.md +0 -9
- package/assets/skills/inspect-surface.md +0 -4
- package/dist/agent-host.mjs +0 -2187
- package/dist/agent-host.mjs.map +0 -1
- package/dist/bundle-manifest.json +0 -128
- package/dist/chunks/__host-DgGPyco9.mjs +0 -18
- package/dist/chunks/__host-DgGPyco9.mjs.map +0 -1
- package/dist/chunks/align-ds-r_X_1aQ_.mjs +0 -93
- package/dist/chunks/align-ds-r_X_1aQ_.mjs.map +0 -1
- package/dist/chunks/approve-Cv135UqI.mjs +0 -19
- package/dist/chunks/approve-Cv135UqI.mjs.map +0 -1
- package/dist/chunks/audit-B4ZWQ_DI.mjs +0 -179
- package/dist/chunks/audit-B4ZWQ_DI.mjs.map +0 -1
- package/dist/chunks/auth-BT5oVp76.mjs +0 -132
- package/dist/chunks/auth-BT5oVp76.mjs.map +0 -1
- package/dist/chunks/auth-Dnlksuo5.mjs +0 -141
- package/dist/chunks/auth-Dnlksuo5.mjs.map +0 -1
- package/dist/chunks/brainstorm-SJwOIEif.mjs +0 -123
- package/dist/chunks/brainstorm-SJwOIEif.mjs.map +0 -1
- package/dist/chunks/build-C_-mbZfD.mjs +0 -19
- package/dist/chunks/build-C_-mbZfD.mjs.map +0 -1
- package/dist/chunks/cancel-KV_cpsqS.mjs +0 -15
- package/dist/chunks/cancel-KV_cpsqS.mjs.map +0 -1
- package/dist/chunks/canonical-C8UxeEmB.mjs +0 -57
- package/dist/chunks/canonical-C8UxeEmB.mjs.map +0 -1
- package/dist/chunks/catalogue-IaCJdfB8.mjs +0 -1549
- package/dist/chunks/catalogue-IaCJdfB8.mjs.map +0 -1
- package/dist/chunks/compose-DRKjQcn0.mjs +0 -7333
- package/dist/chunks/compose-DRKjQcn0.mjs.map +0 -1
- package/dist/chunks/config-Cqu5XQoP.mjs +0 -96
- package/dist/chunks/config-Cqu5XQoP.mjs.map +0 -1
- package/dist/chunks/contract-DjssDPpS.mjs +0 -335
- package/dist/chunks/contract-DjssDPpS.mjs.map +0 -1
- package/dist/chunks/contract-bQ9FJl4N.mjs +0 -123
- package/dist/chunks/contract-bQ9FJl4N.mjs.map +0 -1
- package/dist/chunks/deny-ClTxSvHJ.mjs +0 -15
- package/dist/chunks/deny-ClTxSvHJ.mjs.map +0 -1
- package/dist/chunks/diff-Qw0II0sj.mjs +0 -101
- package/dist/chunks/diff-Qw0II0sj.mjs.map +0 -1
- package/dist/chunks/discover-BZPolSZG.mjs +0 -21
- package/dist/chunks/discover-BZPolSZG.mjs.map +0 -1
- package/dist/chunks/doctor-DcDFPvQM.mjs +0 -222
- package/dist/chunks/doctor-DcDFPvQM.mjs.map +0 -1
- package/dist/chunks/fix-C9roGiQz.mjs +0 -82
- package/dist/chunks/fix-C9roGiQz.mjs.map +0 -1
- package/dist/chunks/fleet-yWHQY2ya.mjs +0 -297
- package/dist/chunks/fleet-yWHQY2ya.mjs.map +0 -1
- package/dist/chunks/gc-BBXlBF5w.mjs +0 -161
- package/dist/chunks/gc-BBXlBF5w.mjs.map +0 -1
- package/dist/chunks/init--FxxkrcT.mjs +0 -63
- package/dist/chunks/init--FxxkrcT.mjs.map +0 -1
- package/dist/chunks/inspect-Buby4cQD.mjs +0 -22
- package/dist/chunks/inspect-Buby4cQD.mjs.map +0 -1
- package/dist/chunks/intake-C1pesxCJ.mjs +0 -12
- package/dist/chunks/intake-C1pesxCJ.mjs.map +0 -1
- package/dist/chunks/logs-Giq5sUau.mjs +0 -25
- package/dist/chunks/logs-Giq5sUau.mjs.map +0 -1
- package/dist/chunks/loop-BWsUpyus.mjs +0 -212
- package/dist/chunks/loop-BWsUpyus.mjs.map +0 -1
- package/dist/chunks/migrate-DuYCAbE3.mjs +0 -33
- package/dist/chunks/migrate-DuYCAbE3.mjs.map +0 -1
- package/dist/chunks/models-Btp6X2YZ.mjs +0 -24
- package/dist/chunks/models-Btp6X2YZ.mjs.map +0 -1
- package/dist/chunks/obsidian-BHLkXx_H.mjs +0 -235
- package/dist/chunks/obsidian-BHLkXx_H.mjs.map +0 -1
- package/dist/chunks/patch-sAgVqjpx.mjs +0 -50
- package/dist/chunks/patch-sAgVqjpx.mjs.map +0 -1
- package/dist/chunks/pause-BASBfKLO.mjs +0 -16
- package/dist/chunks/pause-BASBfKLO.mjs.map +0 -1
- package/dist/chunks/policy-Du7WVBFX.mjs +0 -139
- package/dist/chunks/policy-Du7WVBFX.mjs.map +0 -1
- package/dist/chunks/providers-Dx78imKj.mjs +0 -19
- package/dist/chunks/providers-Dx78imKj.mjs.map +0 -1
- package/dist/chunks/reconcile-BHn66X3C.mjs +0 -50
- package/dist/chunks/reconcile-BHn66X3C.mjs.map +0 -1
- package/dist/chunks/refactor-DV3RfGjk.mjs +0 -153
- package/dist/chunks/refactor-DV3RfGjk.mjs.map +0 -1
- package/dist/chunks/render-DyZr5Lgi.mjs +0 -53
- package/dist/chunks/render-DyZr5Lgi.mjs.map +0 -1
- package/dist/chunks/resume-GJQRb2Eb.mjs +0 -15
- package/dist/chunks/resume-GJQRb2Eb.mjs.map +0 -1
- package/dist/chunks/retro-Dr-2RTNN.mjs +0 -78
- package/dist/chunks/retro-Dr-2RTNN.mjs.map +0 -1
- package/dist/chunks/retry-CLrUem1H.mjs +0 -15
- package/dist/chunks/retry-CLrUem1H.mjs.map +0 -1
- package/dist/chunks/review-ZsBqp3vZ.mjs +0 -35
- package/dist/chunks/review-ZsBqp3vZ.mjs.map +0 -1
- package/dist/chunks/run-BGabwbDL.mjs +0 -109
- package/dist/chunks/run-BGabwbDL.mjs.map +0 -1
- package/dist/chunks/run-tool-C3rAv4XF.mjs +0 -26
- package/dist/chunks/run-tool-C3rAv4XF.mjs.map +0 -1
- package/dist/chunks/scan-C5uDr7Yq.mjs +0 -167
- package/dist/chunks/scan-C5uDr7Yq.mjs.map +0 -1
- package/dist/chunks/schema-Bq9qtgsd.mjs +0 -583
- package/dist/chunks/schema-Bq9qtgsd.mjs.map +0 -1
- package/dist/chunks/send-BdnJ85Nz.mjs +0 -19
- package/dist/chunks/send-BdnJ85Nz.mjs.map +0 -1
- package/dist/chunks/ship-BizfUe62.mjs +0 -140
- package/dist/chunks/ship-BizfUe62.mjs.map +0 -1
- package/dist/chunks/shutdown-BM92Iyv2.mjs +0 -15
- package/dist/chunks/shutdown-BM92Iyv2.mjs.map +0 -1
- package/dist/chunks/skip-DZG5kpcH.mjs +0 -18
- package/dist/chunks/skip-DZG5kpcH.mjs.map +0 -1
- package/dist/chunks/spec-C2h3U64g.mjs +0 -65
- package/dist/chunks/spec-C2h3U64g.mjs.map +0 -1
- package/dist/chunks/spec-path-tptqR7W8.mjs +0 -10
- package/dist/chunks/spec-path-tptqR7W8.mjs.map +0 -1
- package/dist/chunks/src-Bfr1yzsn.mjs +0 -1689
- package/dist/chunks/src-Bfr1yzsn.mjs.map +0 -1
- package/dist/chunks/src-CPW2_Ons.mjs +0 -5487
- package/dist/chunks/src-CPW2_Ons.mjs.map +0 -1
- package/dist/chunks/src-Cu3TxNob.mjs +0 -783
- package/dist/chunks/src-Cu3TxNob.mjs.map +0 -1
- package/dist/chunks/src-DNsLSxgm.mjs +0 -928
- package/dist/chunks/src-DNsLSxgm.mjs.map +0 -1
- package/dist/chunks/src-DbS9gkJy.mjs +0 -117
- package/dist/chunks/src-DbS9gkJy.mjs.map +0 -1
- package/dist/chunks/src-yi5whv3n.mjs +0 -2118
- package/dist/chunks/src-yi5whv3n.mjs.map +0 -1
- package/dist/chunks/status-SMjiOMYy.mjs +0 -29
- package/dist/chunks/status-SMjiOMYy.mjs.map +0 -1
- package/dist/chunks/tail-BuhT-2PH.mjs +0 -25
- package/dist/chunks/tail-BuhT-2PH.mjs.map +0 -1
- package/dist/chunks/update-BXIppsbi.mjs +0 -16
- package/dist/chunks/update-BXIppsbi.mjs.map +0 -1
- package/dist/chunks/update-pipeline-Du-Gu1Pl.mjs +0 -56
- package/dist/chunks/update-pipeline-Du-Gu1Pl.mjs.map +0 -1
- package/dist/cli.mjs +0 -186
- package/dist/cli.mjs.map +0 -1
|
@@ -1,583 +0,0 @@
|
|
|
1
|
-
import { n as sha256Hex, t as canonicalJson } from "./canonical-C8UxeEmB.mjs";
|
|
2
|
-
import { S as IsoInstant, T as Sha256, d as ModelRef, l as AuthMode, p as ThinkingLevel, t as BudgetCounters, u as ModelCapability, x as ID_PATTERN } from "./src-Cu3TxNob.mjs";
|
|
3
|
-
import { d as ActivePipelineState, f as EscalationPolicy } from "./src-yi5whv3n.mjs";
|
|
4
|
-
import { Type } from "typebox";
|
|
5
|
-
//#region ../../packages/config/src/schema/policy.ts
|
|
6
|
-
const closed$5 = { additionalProperties: false };
|
|
7
|
-
const tokens = () => Type.Array(Type.String({ minLength: 1 }));
|
|
8
|
-
const max = () => Type.Integer({ minimum: 0 });
|
|
9
|
-
const CommandRuleSchema = Type.Object({
|
|
10
|
-
id: Type.String({ minLength: 1 }),
|
|
11
|
-
program: Type.String({ pattern: "^[^/\\\\\\s]+$" }),
|
|
12
|
-
subcommand: Type.Optional(tokens()),
|
|
13
|
-
flags: Type.Optional(Type.Object({
|
|
14
|
-
allow: tokens(),
|
|
15
|
-
deny: Type.Optional(tokens())
|
|
16
|
-
}, closed$5)),
|
|
17
|
-
positionals: Type.Optional(Type.Union([
|
|
18
|
-
Type.Object({ kind: Type.Literal("none") }, closed$5),
|
|
19
|
-
Type.Object({
|
|
20
|
-
kind: Type.Literal("paths-in-worktree"),
|
|
21
|
-
max: max()
|
|
22
|
-
}, closed$5),
|
|
23
|
-
Type.Object({
|
|
24
|
-
kind: Type.Literal("enum"),
|
|
25
|
-
values: tokens(),
|
|
26
|
-
max: max()
|
|
27
|
-
}, closed$5),
|
|
28
|
-
Type.Object({
|
|
29
|
-
kind: Type.Literal("exact"),
|
|
30
|
-
values: Type.Array(Type.String())
|
|
31
|
-
}, closed$5)
|
|
32
|
-
])),
|
|
33
|
-
decision: Type.Union([
|
|
34
|
-
Type.Literal("allow"),
|
|
35
|
-
Type.Literal("ask"),
|
|
36
|
-
Type.Literal("deny")
|
|
37
|
-
]),
|
|
38
|
-
when: Type.Optional(Type.Object({
|
|
39
|
-
branch: Type.Optional(Type.Union([Type.Literal("any"), Type.Literal("unprotected-only")])),
|
|
40
|
-
roles: Type.Optional(tokens()),
|
|
41
|
-
phases: Type.Optional(tokens())
|
|
42
|
-
}, closed$5)),
|
|
43
|
-
replay: Type.Union([Type.Literal("idempotent"), Type.Literal("at-most-once")]),
|
|
44
|
-
network: Type.Boolean(),
|
|
45
|
-
origin: Type.Union([
|
|
46
|
-
Type.Literal("builtin"),
|
|
47
|
-
Type.Literal("project-config"),
|
|
48
|
-
Type.Literal("project-checks")
|
|
49
|
-
])
|
|
50
|
-
}, closed$5);
|
|
51
|
-
/** [S]. The explicit annotation keeps Biome's type inference out of the union (docs/v3/requests/U0.02.md R1). */
|
|
52
|
-
const CommandRule = Type.Unsafe(CommandRuleSchema);
|
|
53
|
-
/** [S] DESIGN 2.6.3. Default: deny-outgoing + deny. */
|
|
54
|
-
const SymlinkPolicy = Type.Object({
|
|
55
|
-
mode: Type.Union([
|
|
56
|
-
Type.Literal("deny-outgoing"),
|
|
57
|
-
Type.Literal("deny-all"),
|
|
58
|
-
Type.Literal("allow")
|
|
59
|
-
]),
|
|
60
|
-
hardlinksOnWrite: Type.Union([Type.Literal("deny"), Type.Literal("allow")])
|
|
61
|
-
}, closed$5);
|
|
62
|
-
Type.Object({ default: Type.Literal("deny") }, closed$5);
|
|
63
|
-
const DEFAULT_SYMLINK_POLICY = Object.freeze({
|
|
64
|
-
mode: "deny-outgoing",
|
|
65
|
-
hardlinksOnWrite: "deny"
|
|
66
|
-
});
|
|
67
|
-
const DEFAULT_NETWORK_POLICY = Object.freeze({ default: "deny" });
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region ../../packages/config/src/schema/config.ts
|
|
70
|
-
const closed$4 = { additionalProperties: false };
|
|
71
|
-
const oneOf = (values) => Type.Unsafe({
|
|
72
|
-
type: "string",
|
|
73
|
-
enum: [...values]
|
|
74
|
-
});
|
|
75
|
-
const count = (minimum = 0) => Type.Integer({ minimum });
|
|
76
|
-
const argv = () => Type.Array(Type.String(), { minItems: 1 });
|
|
77
|
-
const strings = () => Type.Array(Type.String({ minLength: 1 }));
|
|
78
|
-
const rules = () => Type.Array(CommandRule);
|
|
79
|
-
const budgetMap = () => Type.Unsafe(Type.Record(Type.String(), BudgetCounters));
|
|
80
|
-
const roleDefaults = () => Type.Unsafe(Type.Record(Type.String(), ModelCapability));
|
|
81
|
-
const tier = () => Type.Optional(Type.Object({
|
|
82
|
-
ref: ModelRef,
|
|
83
|
-
thinking: ThinkingLevel
|
|
84
|
-
}, closed$4));
|
|
85
|
-
const envValue = () => Type.Optional(Type.String({ minLength: 1 }));
|
|
86
|
-
const leftover = () => oneOf([
|
|
87
|
-
"fix",
|
|
88
|
-
"park",
|
|
89
|
-
"ask"
|
|
90
|
-
]);
|
|
91
|
-
const CohorteConfigSchema = Type.Object({
|
|
92
|
-
schemaVersion: Type.Literal(1),
|
|
93
|
-
project: Type.Object({
|
|
94
|
-
id: Type.String({ pattern: ID_PATTERN }),
|
|
95
|
-
defaultBranch: Type.String({ minLength: 1 }),
|
|
96
|
-
protectedBranches: strings()
|
|
97
|
-
}, closed$4),
|
|
98
|
-
runtime: Type.Object({
|
|
99
|
-
id: Type.String({ minLength: 1 }),
|
|
100
|
-
pi: Type.Optional(Type.Object({ loadFrom: oneOf(["package", "bundle"]) }, closed$4))
|
|
101
|
-
}, closed$4),
|
|
102
|
-
authentication: Type.Object({
|
|
103
|
-
mode: AuthMode,
|
|
104
|
-
allowApiKeys: Type.Boolean(),
|
|
105
|
-
anthropicSubscriptionViaPi: Type.Optional(Type.Object({
|
|
106
|
-
enabled: Type.Boolean(),
|
|
107
|
-
acknowledgePerTokenBilling: Type.Boolean(),
|
|
108
|
-
acknowledgeProviderTermsRisk: Type.Boolean()
|
|
109
|
-
}, closed$4))
|
|
110
|
-
}, closed$4),
|
|
111
|
-
routing: Type.Object({
|
|
112
|
-
allowedProviders: strings(),
|
|
113
|
-
defaults: roleDefaults(),
|
|
114
|
-
tiers: Type.Object({
|
|
115
|
-
fast: tier(),
|
|
116
|
-
coding: tier(),
|
|
117
|
-
reasoning: tier(),
|
|
118
|
-
vision: tier(),
|
|
119
|
-
cheap: tier()
|
|
120
|
-
}, closed$4),
|
|
121
|
-
escalation: EscalationPolicy,
|
|
122
|
-
fallback: Type.Object({ enabled: Type.Boolean() }, closed$4)
|
|
123
|
-
}, closed$4),
|
|
124
|
-
budgets: Type.Object({
|
|
125
|
-
run: BudgetCounters,
|
|
126
|
-
phase: BudgetCounters,
|
|
127
|
-
agent: BudgetCounters,
|
|
128
|
-
provider: budgetMap(),
|
|
129
|
-
tool: budgetMap(),
|
|
130
|
-
concurrency: count(1),
|
|
131
|
-
maxIncarnations: count(1)
|
|
132
|
-
}, closed$4),
|
|
133
|
-
loop: Type.Object({
|
|
134
|
-
maxFixRounds: count(),
|
|
135
|
-
noProgressWindow: count(1),
|
|
136
|
-
maxDeniedCallsPerAgent: count(),
|
|
137
|
-
leftovers: Type.Object({
|
|
138
|
-
major: leftover(),
|
|
139
|
-
minor: leftover(),
|
|
140
|
-
info: leftover()
|
|
141
|
-
}, closed$4)
|
|
142
|
-
}, closed$4),
|
|
143
|
-
checks: Type.Object({
|
|
144
|
-
typecheck: Type.Optional(argv()),
|
|
145
|
-
lint: Type.Optional(argv()),
|
|
146
|
-
test: Type.Optional(argv()),
|
|
147
|
-
timeoutMs: count(1)
|
|
148
|
-
}, closed$4),
|
|
149
|
-
provision: Type.Object({
|
|
150
|
-
argv: Type.Optional(argv()),
|
|
151
|
-
network: Type.Boolean(),
|
|
152
|
-
cacheDirs: strings(),
|
|
153
|
-
lockfiles: strings(),
|
|
154
|
-
env: Type.Object({
|
|
155
|
-
npm_config_store_dir: envValue(),
|
|
156
|
-
npm_config_cache: envValue(),
|
|
157
|
-
YARN_CACHE_FOLDER: envValue(),
|
|
158
|
-
COREPACK_HOME: envValue()
|
|
159
|
-
}, closed$4),
|
|
160
|
-
dependencyDirs: strings(),
|
|
161
|
-
writableCaches: strings()
|
|
162
|
-
}, closed$4),
|
|
163
|
-
policy: Type.Object({
|
|
164
|
-
commands: Type.Object({
|
|
165
|
-
allow: rules(),
|
|
166
|
-
ask: rules(),
|
|
167
|
-
deny: rules()
|
|
168
|
-
}, closed$4),
|
|
169
|
-
dangerousCommands: rules(),
|
|
170
|
-
symlinks: SymlinkPolicy,
|
|
171
|
-
approvals: Type.Object({
|
|
172
|
-
unattended: oneOf(["deny", "wait"]),
|
|
173
|
-
expiryMinutes: Type.Optional(count(1)),
|
|
174
|
-
parkAfterMinutes: count(),
|
|
175
|
-
ship: oneOf(["human", "auto"]),
|
|
176
|
-
notify: Type.Boolean(),
|
|
177
|
-
autoResume: Type.Boolean()
|
|
178
|
-
}, closed$4),
|
|
179
|
-
inDoubt: oneOf(["ask", "continue"]),
|
|
180
|
-
skip: Type.Array(ActivePipelineState),
|
|
181
|
-
steer: Type.Object({ enabled: Type.Boolean() }, closed$4),
|
|
182
|
-
admin: Type.Object({ runTool: Type.Boolean() }, closed$4),
|
|
183
|
-
quota: Type.Object({ autoResume: Type.Boolean() }, closed$4)
|
|
184
|
-
}, closed$4),
|
|
185
|
-
host: Type.Object({
|
|
186
|
-
idleExitMinutes: count(),
|
|
187
|
-
pauseKeepAliveMinutes: count(),
|
|
188
|
-
pollMs: count(1)
|
|
189
|
-
}, closed$4),
|
|
190
|
-
network: Type.Object({ proxyEnv: Type.Boolean() }, closed$4),
|
|
191
|
-
sandbox: Type.Object({
|
|
192
|
-
require: Type.Optional(oneOf(["native", "best-effort"])),
|
|
193
|
-
brain: oneOf([
|
|
194
|
-
"os-if-available",
|
|
195
|
-
"os",
|
|
196
|
-
"process"
|
|
197
|
-
])
|
|
198
|
-
}, closed$4),
|
|
199
|
-
git: Type.Object({
|
|
200
|
-
worktreeRoot: Type.Optional(Type.String({ minLength: 1 })),
|
|
201
|
-
branchPrefix: Type.String({ minLength: 1 }),
|
|
202
|
-
commitIdentity: oneOf(["user", "cohorte"]),
|
|
203
|
-
keepWorktrees: oneOf([
|
|
204
|
-
"on-failure",
|
|
205
|
-
"always",
|
|
206
|
-
"never"
|
|
207
|
-
])
|
|
208
|
-
}, closed$4),
|
|
209
|
-
retention: Type.Object({
|
|
210
|
-
transcriptsDays: count(),
|
|
211
|
-
eventsDays: Type.Union([count(), Type.Literal("forever")]),
|
|
212
|
-
artifactsDays: count(),
|
|
213
|
-
compressAfterDays: count()
|
|
214
|
-
}, closed$4),
|
|
215
|
-
telemetry: Type.Object({ remote: Type.Boolean() }, closed$4),
|
|
216
|
-
integrations: Type.Optional(Type.Object({ obsidian: Type.Optional(Type.Object({
|
|
217
|
-
vaultPath: Type.String({ minLength: 1 }),
|
|
218
|
-
board: Type.String({ minLength: 1 })
|
|
219
|
-
}, closed$4)) }, closed$4))
|
|
220
|
-
}, closed$4);
|
|
221
|
-
/** [S]. Annotated on purpose: Biome must not infer this type (docs/v3/requests/U0.02.md R1, U0.05.md R1). */
|
|
222
|
-
const CohorteConfig = Type.Unsafe(CohorteConfigSchema);
|
|
223
|
-
function deepFreeze(value) {
|
|
224
|
-
if (typeof value === "object" && value !== null && !Object.isFrozen(value)) {
|
|
225
|
-
Object.freeze(value);
|
|
226
|
-
for (const member of Object.values(value)) deepFreeze(member);
|
|
227
|
-
}
|
|
228
|
-
return value;
|
|
229
|
-
}
|
|
230
|
-
const MINUTE = 6e4;
|
|
231
|
-
/**
|
|
232
|
-
* The lowest layer of the load order (DESIGN 2.10): shipped defaults < user file < project file < CLI flags.
|
|
233
|
-
* `project.id` is a placeholder that `cohorte init` always replaces. DESIGN gives the numbers it cares about
|
|
234
|
-
* (concurrency 3, maxIncarnations 5, loop 5/3/5, host 30/30/250, parkAfterMinutes 10); the budget and retention
|
|
235
|
-
* figures are provisional defaults of this file.
|
|
236
|
-
*/
|
|
237
|
-
const DEFAULT_CONFIG = deepFreeze({
|
|
238
|
-
schemaVersion: 1,
|
|
239
|
-
project: {
|
|
240
|
-
id: "project",
|
|
241
|
-
defaultBranch: "main",
|
|
242
|
-
protectedBranches: ["main", "master"]
|
|
243
|
-
},
|
|
244
|
-
runtime: {
|
|
245
|
-
id: "pi",
|
|
246
|
-
pi: { loadFrom: "package" }
|
|
247
|
-
},
|
|
248
|
-
authentication: {
|
|
249
|
-
mode: "subscription",
|
|
250
|
-
allowApiKeys: false
|
|
251
|
-
},
|
|
252
|
-
routing: {
|
|
253
|
-
allowedProviders: ["openai-codex"],
|
|
254
|
-
defaults: {
|
|
255
|
-
implementer: "coding",
|
|
256
|
-
fixer: "coding",
|
|
257
|
-
reviewer: "reasoning",
|
|
258
|
-
"security-reviewer": "reasoning"
|
|
259
|
-
},
|
|
260
|
-
tiers: {
|
|
261
|
-
coding: {
|
|
262
|
-
ref: {
|
|
263
|
-
provider: "openai-codex",
|
|
264
|
-
model: "gpt-5.5",
|
|
265
|
-
capability: "coding"
|
|
266
|
-
},
|
|
267
|
-
thinking: "medium"
|
|
268
|
-
},
|
|
269
|
-
reasoning: {
|
|
270
|
-
ref: {
|
|
271
|
-
provider: "openai-codex",
|
|
272
|
-
model: "gpt-5.5",
|
|
273
|
-
capability: "reasoning"
|
|
274
|
-
},
|
|
275
|
-
thinking: "high"
|
|
276
|
-
},
|
|
277
|
-
fast: {
|
|
278
|
-
ref: {
|
|
279
|
-
provider: "openai-codex",
|
|
280
|
-
model: "gpt-5.4-mini",
|
|
281
|
-
capability: "fast"
|
|
282
|
-
},
|
|
283
|
-
thinking: "low"
|
|
284
|
-
},
|
|
285
|
-
cheap: {
|
|
286
|
-
ref: {
|
|
287
|
-
provider: "openai-codex",
|
|
288
|
-
model: "gpt-5.4-mini",
|
|
289
|
-
capability: "cheap"
|
|
290
|
-
},
|
|
291
|
-
thinking: "low"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
escalation: {
|
|
295
|
-
sameFailureCount: 2,
|
|
296
|
-
ladder: [{ kind: "human" }],
|
|
297
|
-
maxPerRun: 2
|
|
298
|
-
},
|
|
299
|
-
fallback: { enabled: false }
|
|
300
|
-
},
|
|
301
|
-
budgets: {
|
|
302
|
-
run: {
|
|
303
|
-
modelRequests: 2e3,
|
|
304
|
-
toolCalls: 1e4,
|
|
305
|
-
wallClockMs: 360 * MINUTE
|
|
306
|
-
},
|
|
307
|
-
phase: { wallClockMs: 120 * MINUTE },
|
|
308
|
-
agent: {
|
|
309
|
-
modelRequests: 200,
|
|
310
|
-
toolCalls: 400,
|
|
311
|
-
wallClockMs: 45 * MINUTE,
|
|
312
|
-
contextTokens: 2e5
|
|
313
|
-
},
|
|
314
|
-
provider: {},
|
|
315
|
-
tool: {},
|
|
316
|
-
concurrency: 3,
|
|
317
|
-
maxIncarnations: 5
|
|
318
|
-
},
|
|
319
|
-
loop: {
|
|
320
|
-
maxFixRounds: 5,
|
|
321
|
-
noProgressWindow: 3,
|
|
322
|
-
maxDeniedCallsPerAgent: 5,
|
|
323
|
-
leftovers: {
|
|
324
|
-
major: "fix",
|
|
325
|
-
minor: "park",
|
|
326
|
-
info: "park"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
checks: { timeoutMs: 10 * MINUTE },
|
|
330
|
-
provision: {
|
|
331
|
-
network: false,
|
|
332
|
-
cacheDirs: [],
|
|
333
|
-
lockfiles: [
|
|
334
|
-
"pnpm-lock.yaml",
|
|
335
|
-
"package-lock.json",
|
|
336
|
-
"yarn.lock"
|
|
337
|
-
],
|
|
338
|
-
env: {},
|
|
339
|
-
dependencyDirs: ["**/node_modules"],
|
|
340
|
-
writableCaches: [
|
|
341
|
-
"node_modules/.cache",
|
|
342
|
-
"node_modules/.vite",
|
|
343
|
-
"node_modules/.vitest",
|
|
344
|
-
"node_modules/.vite-temp"
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
policy: {
|
|
348
|
-
commands: {
|
|
349
|
-
allow: [],
|
|
350
|
-
ask: [],
|
|
351
|
-
deny: []
|
|
352
|
-
},
|
|
353
|
-
dangerousCommands: [],
|
|
354
|
-
symlinks: { ...DEFAULT_SYMLINK_POLICY },
|
|
355
|
-
approvals: {
|
|
356
|
-
unattended: "deny",
|
|
357
|
-
parkAfterMinutes: 10,
|
|
358
|
-
ship: "human",
|
|
359
|
-
notify: false,
|
|
360
|
-
autoResume: false
|
|
361
|
-
},
|
|
362
|
-
inDoubt: "ask",
|
|
363
|
-
skip: [],
|
|
364
|
-
steer: { enabled: false },
|
|
365
|
-
admin: { runTool: false },
|
|
366
|
-
quota: { autoResume: false }
|
|
367
|
-
},
|
|
368
|
-
host: {
|
|
369
|
-
idleExitMinutes: 30,
|
|
370
|
-
pauseKeepAliveMinutes: 30,
|
|
371
|
-
pollMs: 250
|
|
372
|
-
},
|
|
373
|
-
network: { proxyEnv: false },
|
|
374
|
-
sandbox: { brain: "os-if-available" },
|
|
375
|
-
git: {
|
|
376
|
-
branchPrefix: "cohorte/",
|
|
377
|
-
commitIdentity: "user",
|
|
378
|
-
keepWorktrees: "on-failure"
|
|
379
|
-
},
|
|
380
|
-
retention: {
|
|
381
|
-
transcriptsDays: 30,
|
|
382
|
-
eventsDays: "forever",
|
|
383
|
-
artifactsDays: 90,
|
|
384
|
-
compressAfterDays: 7
|
|
385
|
-
},
|
|
386
|
-
telemetry: { remote: false }
|
|
387
|
-
});
|
|
388
|
-
//#endregion
|
|
389
|
-
//#region ../../packages/config/src/schema/manifest.ts
|
|
390
|
-
const closed$3 = { additionalProperties: false };
|
|
391
|
-
const GeneratedFile = Type.Object({
|
|
392
|
-
/** `.cohorte`-relative POSIX path */
|
|
393
|
-
path: Type.String({ minLength: 1 }),
|
|
394
|
-
templateId: Type.String({ minLength: 1 }),
|
|
395
|
-
templateSha256: Sha256,
|
|
396
|
-
/** a generated file is replaced only if its CURRENT hash equals this one */
|
|
397
|
-
renderedSha256: Sha256
|
|
398
|
-
}, closed$3);
|
|
399
|
-
Type.Object({
|
|
400
|
-
schemaVersion: Type.Literal(1),
|
|
401
|
-
cohorteVersion: Type.String({ minLength: 1 }),
|
|
402
|
-
createdWith: Type.String({ minLength: 1 }),
|
|
403
|
-
protocol: Type.Object({
|
|
404
|
-
min: Type.String({ minLength: 1 }),
|
|
405
|
-
max: Type.String({ minLength: 1 })
|
|
406
|
-
}, closed$3),
|
|
407
|
-
stateSchemaVersion: Type.Integer({ minimum: 0 }),
|
|
408
|
-
generated: Type.Array(GeneratedFile)
|
|
409
|
-
}, closed$3);
|
|
410
|
-
//#endregion
|
|
411
|
-
//#region ../../packages/config/src/schema/ownership.ts
|
|
412
|
-
const closed$2 = { additionalProperties: false };
|
|
413
|
-
const names$1 = () => Type.Array(Type.String({ minLength: 1 }));
|
|
414
|
-
const SurfaceSchema = Type.Object({
|
|
415
|
-
paths: Type.Array(Type.String({ minLength: 1 }), { minItems: 1 }),
|
|
416
|
-
owners: names$1(),
|
|
417
|
-
reviewers: names$1(),
|
|
418
|
-
approval: Type.Optional(Type.Literal("human"))
|
|
419
|
-
}, closed$2);
|
|
420
|
-
const OwnershipSchema = Type.Object({ surfaces: Type.Record(Type.String({ pattern: ID_PATTERN }), SurfaceSchema) }, closed$2);
|
|
421
|
-
/** [S]. Annotated: a `Static<TRecord>` inferred by Biome overflows its stack (docs/v3/requests/U0.03.md R1). */
|
|
422
|
-
const Ownership = Type.Unsafe(OwnershipSchema);
|
|
423
|
-
const GLOB_META = /[*?[\]{}()!]/;
|
|
424
|
-
/** The literal prefix of a glob, by path SEGMENT: the segments before the first one holding a glob metacharacter (DESIGN 5.6). */
|
|
425
|
-
function literalPrefixOf(pattern) {
|
|
426
|
-
const prefix = [];
|
|
427
|
-
for (const segment of pattern.split("/")) {
|
|
428
|
-
if (segment === "" || segment === ".") continue;
|
|
429
|
-
if (GLOB_META.test(segment)) break;
|
|
430
|
-
prefix.push(segment);
|
|
431
|
-
}
|
|
432
|
-
return prefix;
|
|
433
|
-
}
|
|
434
|
-
//#endregion
|
|
435
|
-
//#region ../../packages/config/src/schema/skill.ts
|
|
436
|
-
const closed$1 = { additionalProperties: false };
|
|
437
|
-
const names = () => Type.Optional(Type.Array(Type.String({ minLength: 1 })));
|
|
438
|
-
Type.Object({
|
|
439
|
-
id: Type.String({ pattern: ID_PATTERN }),
|
|
440
|
-
version: Type.String({ minLength: 1 }),
|
|
441
|
-
/** matched against the Project Model, deterministically */
|
|
442
|
-
appliesWhen: Type.Object({
|
|
443
|
-
languages: names(),
|
|
444
|
-
frameworks: names(),
|
|
445
|
-
packageManagers: names(),
|
|
446
|
-
roles: names()
|
|
447
|
-
}, closed$1),
|
|
448
|
-
/** relative path of the Markdown, inside the skill directory */
|
|
449
|
-
prompt: Type.String({ minLength: 1 }),
|
|
450
|
-
checks: Type.Optional(Type.Array(Type.Object({
|
|
451
|
-
name: Type.Optional(Type.String({ minLength: 1 })),
|
|
452
|
-
argv: Type.Array(Type.String(), { minItems: 1 })
|
|
453
|
-
}, closed$1))),
|
|
454
|
-
/** reserved (ADR-0011): no signature is verified in V3.0 */
|
|
455
|
-
signature: Type.Optional(Type.String()),
|
|
456
|
-
/** reserved (ADR-0011) */
|
|
457
|
-
source: Type.Optional(Type.String())
|
|
458
|
-
}, closed$1);
|
|
459
|
-
//#endregion
|
|
460
|
-
//#region ../../packages/config/src/schema/spec.ts
|
|
461
|
-
const closed = { additionalProperties: false };
|
|
462
|
-
const texts = () => Type.Array(Type.String({ minLength: 1 }));
|
|
463
|
-
const body = {
|
|
464
|
-
id: Type.String({ pattern: ID_PATTERN }),
|
|
465
|
-
kind: Type.Union([Type.Literal("feature"), Type.Literal("patch")]),
|
|
466
|
-
title: Type.String({ minLength: 1 }),
|
|
467
|
-
acceptance: texts(),
|
|
468
|
-
surfaces: Type.Record(Type.String({ pattern: ID_PATTERN }), Type.Object({ tasks: texts() }, closed)),
|
|
469
|
-
contract: Type.Optional(Type.String({ minLength: 1 })),
|
|
470
|
-
openQuestions: texts(),
|
|
471
|
-
patch: Type.Optional(Type.Object({
|
|
472
|
-
repro: Type.String(),
|
|
473
|
-
regressionTest: Type.String(),
|
|
474
|
-
causeConfirmed: Type.Boolean()
|
|
475
|
-
}, closed))
|
|
476
|
-
};
|
|
477
|
-
const SpecSchema = Type.Union([Type.Object({
|
|
478
|
-
...body,
|
|
479
|
-
status: Type.Literal("draft")
|
|
480
|
-
}, closed), Type.Object({
|
|
481
|
-
...body,
|
|
482
|
-
status: Type.Literal("frozen"),
|
|
483
|
-
sha256: Sha256
|
|
484
|
-
}, closed)]);
|
|
485
|
-
/** [S]. A frozen spec WITHOUT a sha256, and a draft WITH one, are both invalid. */
|
|
486
|
-
const Spec = Type.Unsafe(SpecSchema);
|
|
487
|
-
/** What freezing signs: everything a human wrote, nothing the freeze itself adds. */
|
|
488
|
-
function specContentSha256(spec) {
|
|
489
|
-
const content = {};
|
|
490
|
-
for (const [key, value] of Object.entries(spec)) if (key !== "status" && key !== "sha256" && value !== void 0) content[key] = value;
|
|
491
|
-
return sha256Hex(canonicalJson(content));
|
|
492
|
-
}
|
|
493
|
-
/** A frozen spec rejects edits: its content must still hash to the sha256 it was frozen with. A draft has nothing to prove. */
|
|
494
|
-
function frozenSpecProblems(spec) {
|
|
495
|
-
if (spec.status !== "frozen") return [];
|
|
496
|
-
const actual = specContentSha256(spec);
|
|
497
|
-
if (actual === spec.sha256) return [];
|
|
498
|
-
return [{
|
|
499
|
-
path: "/sha256",
|
|
500
|
-
message: `spec "${spec.id}" is frozen and was edited: content hashes to ${actual}, frozen as ${spec.sha256}. Revert the edit, or write a new spec`
|
|
501
|
-
}];
|
|
502
|
-
}
|
|
503
|
-
//#endregion
|
|
504
|
-
//#region ../../packages/config/src/schema/trust.ts
|
|
505
|
-
const tighten = (pointer) => Object.freeze({
|
|
506
|
-
pointer,
|
|
507
|
-
class: "tighten-only"
|
|
508
|
-
});
|
|
509
|
-
const neutral = (pointer) => Object.freeze({
|
|
510
|
-
pointer,
|
|
511
|
-
class: "neutral"
|
|
512
|
-
});
|
|
513
|
-
const loosen = (pointer, ...loosenOnly) => Object.freeze(loosenOnly.length === 0 ? {
|
|
514
|
-
pointer,
|
|
515
|
-
class: "loosen"
|
|
516
|
-
} : {
|
|
517
|
-
pointer,
|
|
518
|
-
class: "loosen",
|
|
519
|
-
loosenOnly: Object.freeze(loosenOnly)
|
|
520
|
-
});
|
|
521
|
-
Object.freeze([
|
|
522
|
-
neutral("/schemaVersion"),
|
|
523
|
-
neutral("/project"),
|
|
524
|
-
neutral("/runtime/id"),
|
|
525
|
-
loosen("/runtime/pi"),
|
|
526
|
-
neutral("/authentication/mode"),
|
|
527
|
-
loosen("/authentication/allowApiKeys"),
|
|
528
|
-
loosen("/authentication/anthropicSubscriptionViaPi"),
|
|
529
|
-
loosen("/routing/allowedProviders"),
|
|
530
|
-
neutral("/routing/defaults"),
|
|
531
|
-
neutral("/routing/tiers"),
|
|
532
|
-
neutral("/routing/escalation"),
|
|
533
|
-
loosen("/routing/fallback"),
|
|
534
|
-
tighten("/budgets"),
|
|
535
|
-
tighten("/loop"),
|
|
536
|
-
loosen("/checks"),
|
|
537
|
-
loosen("/provision/argv"),
|
|
538
|
-
loosen("/provision/network"),
|
|
539
|
-
loosen("/provision/cacheDirs"),
|
|
540
|
-
neutral("/provision/lockfiles"),
|
|
541
|
-
loosen("/provision/env"),
|
|
542
|
-
loosen("/provision/dependencyDirs"),
|
|
543
|
-
loosen("/provision/writableCaches"),
|
|
544
|
-
loosen("/policy/commands/allow"),
|
|
545
|
-
tighten("/policy/commands/ask"),
|
|
546
|
-
tighten("/policy/commands/deny"),
|
|
547
|
-
loosen("/policy/dangerousCommands"),
|
|
548
|
-
loosen("/policy/symlinks/mode", "allow"),
|
|
549
|
-
loosen("/policy/symlinks/hardlinksOnWrite", "allow"),
|
|
550
|
-
loosen("/policy/approvals/unattended", "wait"),
|
|
551
|
-
tighten("/policy/approvals/expiryMinutes"),
|
|
552
|
-
tighten("/policy/approvals/parkAfterMinutes"),
|
|
553
|
-
loosen("/policy/approvals/ship", "auto"),
|
|
554
|
-
neutral("/policy/approvals/notify"),
|
|
555
|
-
loosen("/policy/approvals/autoResume"),
|
|
556
|
-
loosen("/policy/inDoubt", "continue"),
|
|
557
|
-
loosen("/policy/skip"),
|
|
558
|
-
loosen("/policy/steer"),
|
|
559
|
-
loosen("/policy/admin"),
|
|
560
|
-
neutral("/policy/quota"),
|
|
561
|
-
neutral("/host"),
|
|
562
|
-
loosen("/network/proxyEnv"),
|
|
563
|
-
loosen("/sandbox/require", "best-effort"),
|
|
564
|
-
loosen("/sandbox/brain", "process"),
|
|
565
|
-
loosen("/git/worktreeRoot"),
|
|
566
|
-
neutral("/git/branchPrefix"),
|
|
567
|
-
neutral("/git/commitIdentity"),
|
|
568
|
-
neutral("/git/keepWorktrees"),
|
|
569
|
-
tighten("/retention"),
|
|
570
|
-
neutral("/telemetry"),
|
|
571
|
-
neutral("/integrations")
|
|
572
|
-
]);
|
|
573
|
-
Type.Unsafe(Type.Object({
|
|
574
|
-
policySha256: Sha256,
|
|
575
|
-
loosenedKeys: Type.Array(Type.String()),
|
|
576
|
-
grantedAt: IsoInstant,
|
|
577
|
-
grantedBy: Type.String({ minLength: 1 }),
|
|
578
|
-
mac: Type.String({ minLength: 1 })
|
|
579
|
-
}, { additionalProperties: false }));
|
|
580
|
-
//#endregion
|
|
581
|
-
export { literalPrefixOf as a, CommandRule as c, Ownership as i, DEFAULT_NETWORK_POLICY as l, frozenSpecProblems as n, CohorteConfig as o, specContentSha256 as r, DEFAULT_CONFIG as s, Spec as t };
|
|
582
|
-
|
|
583
|
-
//# sourceMappingURL=schema-Bq9qtgsd.mjs.map
|