@odla-ai/cli 0.7.0 → 0.8.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/dist/index.d.cts CHANGED
@@ -1,31 +1,26 @@
1
1
  import { SecurityReport, PlatformSecurityRun } from '@odla-ai/security';
2
2
 
3
+ /** Injectable side-effect boundaries used to run and test the command dispatcher. */
4
+ interface CliDependencies {
5
+ fetch?: typeof fetch;
6
+ openUrl?: (url: string) => Promise<void>;
7
+ pollWait?: (milliseconds: number, signal?: AbortSignal) => Promise<void>;
8
+ readGitOrigin?: (cwd: string) => Promise<string>;
9
+ confirm?: (message: string) => Promise<boolean>;
10
+ stdout?: Pick<typeof console, "log" | "error">;
11
+ }
3
12
  /**
4
- * Parse CLI arguments and dispatch to the matching command — the entry point
5
- * `bin.ts` invokes. `argv` defaults to `process.argv.slice(2)`; the first
6
- * positional selects the command and the rest are parsed into flags (supporting
7
- * `--flag value`, `--flag=value`, boolean `--flag`, `--no-flag`, and repeated
8
- * flags collected into arrays).
13
+ * Parse CLI arguments and dispatch the matching odla command.
9
14
  *
10
- * Recognized commands: `version`/`-v`/`--version` and `help`/`-h`/`--help` print
11
- * and return; `init` scaffolds a project (requires `--app-id` and `--name`);
12
- * `doctor` validates config offline; `capabilities` prints the responsibility
13
- * boundary; `admin ai` reads/updates purpose-specific platform AI policies,
14
- * transfers write-only credentials, and reads metadata-only attributed usage
15
- * through separate short-lived exact-scope device grants;
16
- * `security run` performs an explicitly acknowledged, app-attributed hosted
17
- * reasoning pass; `provision` runs the full provision (including optional secret
18
- * rotation, local vars, and deployed secret push); `smoke` checks a live env;
19
- * `setup` and `skill install` install the bundled offline runbooks for Claude
20
- * Code, Codex, Cursor, Copilot, Gemini, and `AGENTS.md`-aware agents; and
21
- * `secrets push` pipes the env's configured db/o11y secrets into the Worker via
22
- * Wrangler (requires `--env`). Throws on an unknown command/subcommand, unsupported option, extra
23
- * positional argument, missing required value, or a dispatched command error.
15
+ * The dispatcher covers project setup, platform AI administration, hosted and
16
+ * local security, provisioning, smoke checks, skill installation, and secret
17
+ * pushes. It rejects unknown commands, unsupported options, extra positionals,
18
+ * missing values, and errors returned by the selected command.
24
19
  *
25
- * @param argv Argument vector without the node/script prefix (default
26
- * `process.argv.slice(2)`).
20
+ * @param argv Argument vector without the node/script prefix.
21
+ * @param dependencies Optional side-effect overrides for embedding and tests.
27
22
  */
28
- declare function runCli(argv?: string[]): Promise<void>;
23
+ declare function runCli(argv?: string[], dependencies?: CliDependencies): Promise<void>;
29
24
 
30
25
  /** One exact platform scope obtainable through the admin device flow. */
31
26
  type ScopedPlatformScope = "platform:ai:policy:read" | "platform:ai:policy:write" | "platform:ai:credential:read" | "platform:ai:credential:write" | "platform:ai:usage:read" | "platform:ai:audit:read" | "platform:security:self";
@@ -94,10 +89,10 @@ declare function adminAi(options: AdminAiOptions): Promise<void>;
94
89
  /** Stable, machine-readable division of work between the CLI, coding agent,
95
90
  * human operator, and Studio. Printed by `odla-ai capabilities --json`. */
96
91
  declare const CAPABILITIES: {
97
- readonly cli: readonly ["register the app and enable configured services per environment", "issue, persist, and explicitly rotate configured service credentials", "write local Worker values and push deployed Worker secrets through Wrangler stdin", "push db schema/rules and configure platform AI, auth, and deployment links", "validate config offline and smoke-test a provisioned db environment", "run app-attributed hosted security discovery and independent validation without provider keys", "let admins manage system AI policy and credentials, inspect attributed usage, and read immutable admin changes through separate short-lived capability-only approvals"];
92
+ readonly cli: readonly ["register the app and enable configured services per environment", "issue, persist, and explicitly rotate configured service credentials", "write local Worker values and push deployed Worker secrets through Wrangler stdin", "push db schema/rules and configure platform AI, auth, and deployment links", "validate config offline and smoke-test a provisioned db environment", "run app-attributed hosted security discovery and independent validation without provider keys", "connect/revoke source-read-only GitHub sources and drive commit-pinned hosted security jobs without PATs or provider keys", "let admins manage system AI policy and credentials, inspect attributed usage, and read immutable admin changes through separate short-lived capability-only approvals"];
98
93
  readonly agent: readonly ["install and import the selected odla SDKs", "wrap the Worker with withObservability and choose useful telemetry", "make application-specific schema, rules, auth, UI, and migration decisions"];
99
- readonly human: readonly ["approve the odla device code and one-off third-party logins", "consent to production changes with --yes", "request destructive credential rotation explicitly", "review application semantics, security findings, releases, and merges", "approve redacted-source disclosure before hosted security reasoning"];
100
- readonly studio: readonly ["view telemetry and environment state", "perform manual credential recovery when the CLI's local shown-once copy is unavailable", "configure system AI purposes and view app/environment/run-attributed usage"];
94
+ readonly human: readonly ["approve the odla device code and one-off third-party logins", "consent to production changes with --yes", "request destructive credential rotation explicitly", "review application semantics, security findings, releases, and merges", "approve redacted-source disclosure before hosted security reasoning", "approve GitHub App repository access separately from redacted-snippet disclosure"];
95
+ readonly studio: readonly ["view telemetry and environment state", "perform manual credential recovery when the CLI's local shown-once copy is unavailable", "configure system AI purposes and view app/environment/run-attributed usage", "connect/revoke GitHub security sources and inspect ref-to-SHA jobs, routes, retention, coverage, and normalized reports"];
101
96
  };
102
97
  type Output = Pick<typeof console, "log">;
103
98
  /** Print the stable responsibility boundary for humans or agent tooling. */
@@ -425,6 +420,338 @@ interface HostedSecurityResult {
425
420
  */
426
421
  declare function runHostedSecurity(options: RunHostedSecurityOptions): Promise<HostedSecurityResult>;
427
422
 
423
+ /** GitHub repository connection persisted by odla.ai. GitHub credentials and
424
+ * installation identifiers are deliberately absent from this client view. */
425
+ interface GitHubSecuritySource {
426
+ sourceId: string;
427
+ repository: string;
428
+ installationAccount: string;
429
+ defaultBranch: string;
430
+ env: string;
431
+ status: "active" | "disabled" | "deleted";
432
+ connectedAt: string;
433
+ }
434
+ /** One browser-mediated GitHub App installation attempt. */
435
+ interface GitHubConnectionAttempt {
436
+ attemptId: string;
437
+ installUrl: string;
438
+ expiresAt: string;
439
+ }
440
+ /** Poll-safe state for a GitHub App installation attempt. */
441
+ interface GitHubConnectionStatus {
442
+ attemptId: string;
443
+ status: "pending" | "connected" | "expired" | "failed";
444
+ connectionId?: string;
445
+ sourceId?: string;
446
+ repository?: string;
447
+ installationAccount?: string;
448
+ failureCode?: string;
449
+ }
450
+ /** Model identity selected by platform policy. No provider credential is
451
+ * returned to the CLI. */
452
+ interface HostedSecurityRoute {
453
+ provider: string;
454
+ model: string;
455
+ policyVersion?: number;
456
+ }
457
+ /** One purpose-specific System AI route disclosed before a hosted review. */
458
+ interface HostedSecurityPlanRoute extends HostedSecurityRoute {
459
+ purpose: "security.discovery" | "security.validation";
460
+ policyVersion: number;
461
+ enabled: boolean;
462
+ credentialReady: boolean;
463
+ maxCallsPerRun: number;
464
+ maxInputBytes: number;
465
+ maxOutputTokens: number;
466
+ }
467
+ /** Owner-readable, versioned disclosure preflight. Provider/model identities
468
+ * and bounds are non-secret; the full plan digest binds subsequent consent so
469
+ * an admin edit or processing-contract release cannot silently change it. */
470
+ interface HostedSecurityPlan {
471
+ env: string;
472
+ /** Versioned disclosure and processing contract covered by `planDigest`. */
473
+ consentContract: "odla.hosted-security-consent.v1";
474
+ /** Versioned private report projection covered by `planDigest`. */
475
+ reportProjection: "odla.hosted-security-report.v1";
476
+ /** Best-effort credential-pattern redaction contract covered by `planDigest`. */
477
+ redactionContract: "odla.best-effort-credential-pattern-redaction.v1";
478
+ /** Server-owned prompt bundle covered by `planDigest`. */
479
+ promptBundle: string;
480
+ /** Digest binding this exact disclosure plan to a later enqueue request. */
481
+ planDigest: `sha256:${string}`;
482
+ ready: boolean;
483
+ independent: boolean;
484
+ sourceDisclosure: "redacted";
485
+ targetExecution: false;
486
+ reportRetentionDays: number;
487
+ routes: {
488
+ discovery: HostedSecurityPlanRoute;
489
+ validation: HostedSecurityPlanRoute;
490
+ };
491
+ }
492
+ /** Server-authored preview of the exact source/ref/profile execution choice. */
493
+ interface HostedSecurityIntent {
494
+ executionContract: "odla.hosted-security-execution-consent.v1";
495
+ executionDigest: `sha256:${string}`;
496
+ appId: string;
497
+ env: string;
498
+ sourceId: string;
499
+ repository: string;
500
+ defaultBranch: string;
501
+ /** Explicit requested ref; omitted requests are canonicalized to the source's current default branch. */
502
+ requestedRef: string;
503
+ profile: "odla" | "cloudflare-app" | "generic";
504
+ sourceDisclosure: "redacted";
505
+ planDigest: `sha256:${string}`;
506
+ }
507
+ /** Atomic server response used to review both the processing plan and execution intent. */
508
+ interface HostedSecurityIntentResponse {
509
+ plan: HostedSecurityPlan;
510
+ intent: HostedSecurityIntent;
511
+ }
512
+ /** Lifecycle state reported for a hosted repository security job. */
513
+ type HostedSecurityJobStatus = "queued" | "acquiring" | "analyzing" | "completed" | "failed" | "cancelled";
514
+ /** Finding totals summarized on hosted job metadata. */
515
+ interface HostedSecurityCounts {
516
+ confirmed: number;
517
+ needsReproduction: number;
518
+ candidates: number;
519
+ }
520
+ /** Coverage-cell totals summarized on hosted job metadata. */
521
+ interface HostedSecurityCoverage {
522
+ completeCells?: number;
523
+ totalCells?: number;
524
+ shallowCells?: number;
525
+ blockedCells?: number;
526
+ unscheduledCells?: number;
527
+ budgetExhaustedCells?: number;
528
+ }
529
+ /** Bounded job metadata returned by odla.ai; it has no archive, file-body, or
530
+ * explicit source-excerpt field. */
531
+ interface HostedSecurityJob {
532
+ jobId: string;
533
+ env: string;
534
+ sourceId: string;
535
+ repository: string;
536
+ requestedRef?: string;
537
+ commitSha?: string;
538
+ status: HostedSecurityJobStatus;
539
+ runId?: string;
540
+ profile: string;
541
+ routes?: {
542
+ discovery: HostedSecurityRoute;
543
+ validation: HostedSecurityRoute;
544
+ };
545
+ sourceDisclosure: "redacted";
546
+ planDigest: `sha256:${string}`;
547
+ executionContract: "odla.hosted-security-execution-consent.v1";
548
+ executionDigest: `sha256:${string}`;
549
+ retentionDays: number;
550
+ snapshotDigest?: `sha256:${string}`;
551
+ fileCount?: number;
552
+ inputBytes?: number;
553
+ reportDigest?: `sha256:${string}`;
554
+ coverageStatus?: "not_run" | "complete" | "incomplete";
555
+ coverage?: HostedSecurityCoverage;
556
+ counts?: HostedSecurityCounts;
557
+ errorCode?: string;
558
+ createdAt: string;
559
+ updatedAt: string;
560
+ startedAt?: string;
561
+ completedAt?: string;
562
+ }
563
+ /** One normalized, bounded finding in a hosted security report. */
564
+ interface HostedSecurityReportFinding {
565
+ fingerprint: string;
566
+ kind: string;
567
+ attackClass: string;
568
+ title: string;
569
+ summary: string;
570
+ impact: string;
571
+ remediation?: string;
572
+ validationRationale?: string;
573
+ validationStatus?: string;
574
+ confidence: "low" | "medium" | "high";
575
+ severity: "critical" | "high" | "medium" | "low" | "informational";
576
+ disposition: string;
577
+ locations: Array<{
578
+ path: string;
579
+ line: number;
580
+ column?: number;
581
+ }>;
582
+ }
583
+ /** Bounded report projection with normalized model-derived prose and paths.
584
+ * Its schema has no dedicated raw-source, archive, source-excerpt, context
585
+ * packet, raw-provider-response, credential, execution-trace, or reproduction
586
+ * output field. Model prose may reveal or echo source semantics, so the report
587
+ * must remain private. */
588
+ interface HostedSecurityReport {
589
+ schemaVersion: 1;
590
+ jobId: string;
591
+ runId: string;
592
+ repository: string;
593
+ revision: string;
594
+ snapshotDigest: string;
595
+ reportDigest: string;
596
+ startedAt: string;
597
+ completedAt: string;
598
+ mode: "passive" | "autonomous";
599
+ coverageStatus: "not_run" | "complete" | "incomplete";
600
+ findingsReturned: number;
601
+ findingsTotal: number;
602
+ coverageReturned: number;
603
+ coverageTotal: number;
604
+ metrics: HostedSecurityCounts & {
605
+ rejected: number;
606
+ suppressed: number;
607
+ coverageCells: number;
608
+ shallowCells: number;
609
+ blockedCells: number;
610
+ unscheduledCells: number;
611
+ budgetExhaustedCells: number;
612
+ };
613
+ provenance: {
614
+ harnessVersion: string;
615
+ promptBundle: string;
616
+ profile: {
617
+ id: string;
618
+ version: string;
619
+ };
620
+ independentValidation: boolean;
621
+ discovery?: {
622
+ provider?: string;
623
+ model?: string;
624
+ };
625
+ validation?: {
626
+ provider?: string;
627
+ model?: string;
628
+ };
629
+ };
630
+ coverage: Array<{
631
+ area: string;
632
+ attackClass: string;
633
+ attempts: number;
634
+ candidateCount: number;
635
+ state: string;
636
+ }>;
637
+ limitations: string[];
638
+ findings: HostedSecurityReportFinding[];
639
+ }
640
+ /** Common authenticated transport controls for hosted-security requests. */
641
+ interface HostedSecurityRequestOptions {
642
+ platform: string;
643
+ token: string;
644
+ fetch?: typeof fetch;
645
+ signal?: AbortSignal;
646
+ }
647
+ /** Options for browser-mediated connection of one exact GitHub repository. */
648
+ interface ConnectGitHubSecuritySourceOptions extends HostedSecurityRequestOptions {
649
+ appId: string;
650
+ env: string;
651
+ /** Exact owner/name repository requested before GitHub approval. */
652
+ repository: string;
653
+ /** false prints but does not launch the install URL. Defaults to true. */
654
+ open?: boolean;
655
+ openInstallUrl?: (url: string) => Promise<void>;
656
+ /** Poll interval. The server attempt expiry remains authoritative. */
657
+ pollIntervalMs?: number;
658
+ pollTimeoutMs?: number;
659
+ wait?: (milliseconds: number, signal?: AbortSignal) => Promise<void>;
660
+ now?: () => number;
661
+ stdout?: Pick<typeof console, "log">;
662
+ }
663
+ /** Options for listing GitHub sources or reading the plan for one app environment. */
664
+ interface ListGitHubSecuritySourcesOptions extends HostedSecurityRequestOptions {
665
+ appId: string;
666
+ env: string;
667
+ }
668
+ /** Inputs for fetching the server-authored execution preview before enqueue. */
669
+ interface GetHostedSecurityIntentOptions extends HostedSecurityRequestOptions {
670
+ appId: string;
671
+ env: string;
672
+ sourceId: string;
673
+ ref?: string;
674
+ profile?: "odla" | "cloudflare-app" | "generic";
675
+ }
676
+ /** Options for revoking odla access to one saved GitHub source. */
677
+ interface DisconnectGitHubSecuritySourceOptions extends HostedSecurityRequestOptions {
678
+ appId: string;
679
+ sourceId: string;
680
+ }
681
+ /** Options for enqueueing a commit-pinned hosted security review. */
682
+ interface StartHostedSecurityJobOptions extends HostedSecurityRequestOptions {
683
+ appId: string;
684
+ env: string;
685
+ sourceId: string;
686
+ ref?: string;
687
+ profile?: "odla" | "cloudflare-app" | "generic";
688
+ clientRequestId?: string;
689
+ /** Versions shown in the disclosure preflight. The server rejects stale consent. */
690
+ expectedPolicyVersions: {
691
+ discovery: number;
692
+ validation: number;
693
+ };
694
+ /** Digest copied from the plan the app owner explicitly reviewed. */
695
+ expectedPlanDigest: `sha256:${string}`;
696
+ /** Digest copied from the exact server-authored source/ref/profile preview. */
697
+ expectedExecutionDigest: `sha256:${string}`;
698
+ /** Explicit disclosure acknowledgement; GitHub read access alone is not consent. */
699
+ sourceDisclosureAck?: "redacted";
700
+ }
701
+ /** Options for reading one hosted security job or its report. */
702
+ interface GetHostedSecurityJobOptions extends HostedSecurityRequestOptions {
703
+ appId: string;
704
+ jobId: string;
705
+ }
706
+ /** Options for listing hosted security jobs in one app environment. */
707
+ interface ListHostedSecurityJobsOptions extends HostedSecurityRequestOptions {
708
+ appId: string;
709
+ env: string;
710
+ }
711
+ /** Polling controls for following one hosted job to a terminal state. */
712
+ interface FollowHostedSecurityJobOptions extends GetHostedSecurityJobOptions {
713
+ pollIntervalMs?: number;
714
+ pollTimeoutMs?: number;
715
+ wait?: (milliseconds: number, signal?: AbortSignal) => Promise<void>;
716
+ now?: () => number;
717
+ onUpdate?: (job: Readonly<HostedSecurityJob>) => void;
718
+ }
719
+
720
+ /** Begin GitHub App installation, launch its server-issued GitHub URL, and
721
+ * poll the exact attempt until the callback has connected a source. */
722
+ declare function connectGitHubSecuritySource(options: ConnectGitHubSecuritySourceOptions): Promise<GitHubConnectionStatus>;
723
+ /** List repository sources the current app owner connected for one environment. */
724
+ declare function listGitHubSecuritySources(options: ListGitHubSecuritySourcesOptions): Promise<GitHubSecuritySource[]>;
725
+ /** Revoke odla's use of one saved source without requiring a GitHub-side App
726
+ * uninstall. The server marks the source deleted and rejects new jobs. */
727
+ declare function disconnectGitHubSecuritySource(options: DisconnectGitHubSecuritySourceOptions): Promise<void>;
728
+ /** Parse an HTTPS, ssh://, or git@github.com origin without retaining embedded
729
+ * credentials. Only github.com owner/name remotes are accepted. */
730
+ declare function repositoryFromGitRemote(remoteInput: string): string;
731
+ /** Read the current repository's origin without invoking a shell. */
732
+ declare function inferGitHubRepository(cwd?: string, readOrigin?: (cwd: string) => Promise<string>): Promise<string>;
733
+
734
+ /** Fetch the atomic processing-plan and source/ref/profile execution preview. */
735
+ declare function getHostedSecurityIntent(options: GetHostedSecurityIntentOptions): Promise<HostedSecurityIntentResponse>;
736
+
737
+ /** Read the admin-selected routes, budgets, readiness, disclosure boundary,
738
+ * and digest that must be acknowledged when a hosted review is enqueued. */
739
+ declare function getHostedSecurityPlan(options: ListGitHubSecuritySourcesOptions): Promise<HostedSecurityPlan>;
740
+ /** Enqueue a commit-pinned server-side review. The server resolves sourceId to
741
+ * its saved GitHub App installation; clients cannot choose an installation or
742
+ * pass a PAT. */
743
+ declare function startHostedSecurityJob(options: StartHostedSecurityJobOptions): Promise<HostedSecurityJob>;
744
+ /** Read one bounded hosted job status without an archive or explicit source excerpt. */
745
+ declare function getHostedSecurityJob(options: GetHostedSecurityJobOptions): Promise<HostedSecurityJob>;
746
+ /** List bounded, newest-first job metadata for an app environment. */
747
+ declare function listHostedSecurityJobs(options: ListHostedSecurityJobsOptions): Promise<HostedSecurityJob[]>;
748
+ /** Poll one exact job until it reaches a terminal state. */
749
+ declare function followHostedSecurityJob(options: FollowHostedSecurityJobOptions): Promise<HostedSecurityJob>;
750
+ /** Fetch the bounded normalized report projection for a completed hosted job. */
751
+ declare function getHostedSecurityReport(options: GetHostedSecurityJobOptions): Promise<HostedSecurityReport>;
752
+ /** Return whether a hosted job status can no longer transition. */
753
+ declare function isTerminalHostedSecurityStatus(status: HostedSecurityJobStatus): boolean;
754
+
428
755
  /** Agent harnesses with a first-class local adapter. */
429
756
  declare const AGENT_HARNESSES: readonly ["claude", "codex", "cursor", "copilot", "gemini", "agents"];
430
757
  /** A supported coding-agent harness. `agents` is the portable `AGENTS.md` adapter. */
@@ -504,4 +831,4 @@ declare function installSkill(options?: SkillInstallOptions): SkillInstallResult
504
831
  */
505
832
  declare function smoke(options: SmokeOptions): Promise<void>;
506
833
 
507
- export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, CAPABILITIES, type HarnessInstallResult, type HostedSecurityProfile, type HostedSecurityResult, type HostedSecurityTokenRequest, type LoadedProjectConfig, type LocalCredentials, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type SystemAiPurpose, adminAi, doctor, getScopedPlatformToken, initProject, installSkill, printCapabilities, provision, redactSecrets, runCli, runHostedSecurity, secretsPush, smoke };
834
+ export { AGENT_HARNESSES, type AdminAiOptions, type AgentHarness, type AgentHarnessSelector, CAPABILITIES, type CliDependencies, type ConnectGitHubSecuritySourceOptions, type DisconnectGitHubSecuritySourceOptions, type FollowHostedSecurityJobOptions, type GetHostedSecurityIntentOptions, type GetHostedSecurityJobOptions, type GitHubConnectionAttempt, type GitHubConnectionStatus, type GitHubSecuritySource, type HarnessInstallResult, type HostedSecurityCounts, type HostedSecurityCoverage, type HostedSecurityIntent, type HostedSecurityIntentResponse, type HostedSecurityJob, type HostedSecurityJobStatus, type HostedSecurityPlan, type HostedSecurityPlanRoute, type HostedSecurityProfile, type HostedSecurityReport, type HostedSecurityReportFinding, type HostedSecurityResult, type HostedSecurityRoute, type HostedSecurityTokenRequest, type ListGitHubSecuritySourcesOptions, type ListHostedSecurityJobsOptions, type LoadedProjectConfig, type LocalCredentials, type OdlaProjectConfig, type ProvisionOptions, type ProvisionPlan, type RunHostedSecurityOptions, SYSTEM_AI_PURPOSES, type ScopedPlatformTokenOptions, type SecretsPushOptions, type SkillInstallOptions, type SkillInstallResult, type SmokeOptions, type StartHostedSecurityJobOptions, type SystemAiPurpose, adminAi, connectGitHubSecuritySource, disconnectGitHubSecuritySource, doctor, followHostedSecurityJob, getHostedSecurityIntent, getHostedSecurityJob, getHostedSecurityPlan, getHostedSecurityReport, getScopedPlatformToken, inferGitHubRepository, initProject, installSkill, isTerminalHostedSecurityStatus, listGitHubSecuritySources, listHostedSecurityJobs, printCapabilities, provision, redactSecrets, repositoryFromGitRemote, runCli, runHostedSecurity, secretsPush, smoke, startHostedSecurityJob };