agl 42.2.2 → 43.0.1
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 +24 -0
- package/dist_serve/bundle.js +6697 -5287
- package/dist_serve/bundle.js.map +2 -2
- package/dist_serve/bundle.js.third-party-notices.json +29 -29
- package/dist_serve/bundle.js.third-party-notices.txt +29 -29
- package/dist_serve/third-party-notices.md +597 -8
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/aglapi/aglapisurface.document.js +114 -16
- package/dist_ts/aglapi/interfaces.d.ts +30 -0
- package/dist_ts/aglapi/interfaces.js +7 -1
- package/dist_ts/classes.authstore.d.ts +7 -0
- package/dist_ts/classes.authstore.js +12 -1
- package/dist_ts/classes.browserpainttransport.d.ts +2 -2
- package/dist_ts/classes.browserpainttransport.js +9 -8
- package/dist_ts/classes.browserresourcehost.js +30 -20
- package/dist_ts/classes.cli.js +10 -1
- package/dist_ts/classes.controller.d.ts +41 -11
- package/dist_ts/classes.controller.js +232 -52
- package/dist_ts/classes.harnessoperationmanager.d.ts +44 -0
- package/dist_ts/classes.harnessoperationmanager.js +15 -10
- package/dist_ts/classes.mcpclient.d.ts +5 -0
- package/dist_ts/classes.mcpclient.js +15 -3
- package/dist_ts/classes.mcpcontrollerhost.d.ts +3 -0
- package/dist_ts/classes.mcpcontrollerhost.js +17 -3
- package/dist_ts/classes.mcptools.d.ts +4 -3
- package/dist_ts/classes.mcptools.js +20 -1
- package/dist_ts/classes.mcpvalidation.js +4 -1
- package/dist_ts/classes.ticketstore.d.ts +71 -3
- package/dist_ts/classes.ticketstore.js +299 -12
- package/dist_ts/classes.validation.d.ts +2 -0
- package/dist_ts/classes.validation.js +27 -5
- package/dist_ts/driver/classes.directreports.d.ts +23 -3
- package/dist_ts/driver/classes.directreports.js +59 -2
- package/dist_ts/driver/classes.drivereventrelay.js +3 -2
- package/dist_ts/driver/functions.driverinstructions.d.ts +1 -1
- package/dist_ts/driver/functions.driverinstructions.js +12 -3
- package/dist_ts/driver/functions.drivertools.d.ts +4 -0
- package/dist_ts/driver/functions.drivertools.js +8 -2
- package/dist_ts/fleet/classes.boardpump.d.ts +53 -3
- package/dist_ts/fleet/classes.boardpump.js +237 -32
- package/dist_ts/fleet/classes.claudeworkers.d.ts +10 -3
- package/dist_ts/fleet/classes.claudeworkers.js +43 -19
- package/dist_ts/fleet/classes.codexworkers.d.ts +5 -3
- package/dist_ts/fleet/classes.codexworkers.js +26 -9
- package/dist_ts/fleet/classes.deploymonitor.d.ts +253 -0
- package/dist_ts/fleet/classes.deploymonitor.js +821 -0
- package/dist_ts/fleet/classes.gitfacts.d.ts +61 -0
- package/dist_ts/fleet/classes.gitfacts.js +125 -0
- package/dist_ts/fleet/classes.releasereconciler.d.ts +51 -0
- package/dist_ts/fleet/classes.releasereconciler.js +101 -0
- package/dist_ts/fleet/classes.service.d.ts +13 -1
- package/dist_ts/fleet/classes.service.js +76 -7
- package/dist_ts/fleet/classes.ticketeffects.d.ts +13 -0
- package/dist_ts/fleet/classes.ticketeffects.js +42 -8
- package/dist_ts/fleet/classes.workers.d.ts +10 -3
- package/dist_ts/fleet/classes.workers.js +18 -3
- package/dist_ts/fleet/functions.controllerbuild.d.ts +23 -0
- package/dist_ts/fleet/functions.controllerbuild.js +75 -0
- package/dist_ts/fleet/functions.deployprobes.d.ts +39 -0
- package/dist_ts/fleet/functions.deployprobes.js +82 -0
- package/dist_ts/fleet/functions.deployvalidation.d.ts +27 -0
- package/dist_ts/fleet/functions.deployvalidation.js +43 -0
- package/dist_ts/fleet/functions.release.d.ts +2 -1
- package/dist_ts/fleet/functions.release.js +32 -5
- package/dist_ts/fleet/functions.releasefacts.d.ts +42 -0
- package/dist_ts/fleet/functions.releasefacts.js +46 -0
- package/dist_ts/fleet/functions.validation.d.ts +3 -3
- package/dist_ts/fleet/functions.validation.js +4 -7
- package/dist_ts/fleet/functions.watchprobes.js +7 -9
- package/dist_ts/fleet/functions.workervalidation.js +4 -3
- package/dist_ts/fleet/interfaces.workers.d.ts +30 -3
- package/dist_ts/fleet/interfaces.workers.js +14 -1
- package/dist_ts/functions.deploycli.d.ts +36 -0
- package/dist_ts/functions.deploycli.js +157 -0
- package/dist_ts/functions.mcpdeploytools.d.ts +13 -0
- package/dist_ts/functions.mcpdeploytools.js +16 -0
- package/dist_ts/functions.mcptickettools.d.ts +54 -0
- package/dist_ts/functions.mcptickettools.js +8 -7
- package/dist_ts/functions.ticketautolabels.d.ts +2 -0
- package/dist_ts/functions.ticketautolabels.js +9 -3
- package/dist_ts/functions.ticketcli.d.ts +16 -2
- package/dist_ts/functions.ticketcli.js +105 -27
- package/dist_ts/functions.ticketvalidation.d.ts +55 -0
- package/dist_ts/functions.ticketvalidation.js +26 -8
- package/dist_ts_interfaces/deployments.d.ts +241 -0
- package/dist_ts_interfaces/deployments.js +5 -6
- package/dist_ts_interfaces/fleet.d.ts +12 -0
- package/dist_ts_interfaces/fleetworkers.d.ts +21 -1
- package/dist_ts_interfaces/functions.fleetversion.d.ts +4 -0
- package/dist_ts_interfaces/functions.fleetversion.js +25 -0
- package/dist_ts_interfaces/interfaces.d.ts +4 -2
- package/dist_ts_interfaces/interfaces.js +4 -2
- package/dist_ts_interfaces/mcprequests.d.ts +3 -2
- package/dist_ts_interfaces/mcprequests.js +3 -1
- package/dist_ts_interfaces/requests.d.ts +3 -2
- package/dist_ts_interfaces/requests.directreports.d.ts +58 -6
- package/dist_ts_interfaces/requests.js +1 -1
- package/dist_ts_interfaces/requests.tickets.d.ts +25 -5
- package/dist_ts_interfaces/requests.tickets.js +2 -2
- package/dist_ts_interfaces/tickets.d.ts +71 -6
- package/dist_ts_interfaces/tickets.js +34 -6
- package/dist_ts_migration/classes.documentmigrationrunner.d.ts +7 -0
- package/dist_ts_migration/classes.documentmigrationrunner.js +14 -1
- package/dist_ts_migration/index.d.ts +2 -0
- package/dist_ts_migration/index.js +3 -1
- package/dist_ts_migration/v41_ticketclosedcolumn.d.ts +20 -0
- package/dist_ts_migration/v41_ticketclosedcolumn.js +118 -0
- package/dist_ts_migration/v41_ticketlinkrepos.d.ts +24 -0
- package/dist_ts_migration/v41_ticketlinkrepos.js +101 -0
- package/package.json +6 -2
- package/readme.md +308 -36
- package/third-party-notices.md +597 -8
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/aglapi/aglapisurface.document.ts +113 -15
- package/ts/aglapi/interfaces.ts +6 -0
- package/ts/classes.authstore.ts +13 -0
- package/ts/classes.browserpainttransport.ts +8 -7
- package/ts/classes.browserresourcehost.ts +38 -14
- package/ts/classes.cli.ts +9 -0
- package/ts/classes.controller.ts +244 -61
- package/ts/classes.harnessoperationmanager.ts +20 -14
- package/ts/classes.mcpclient.ts +17 -2
- package/ts/classes.mcpcontrollerhost.ts +18 -2
- package/ts/classes.mcptools.ts +21 -2
- package/ts/classes.mcpvalidation.ts +2 -0
- package/ts/classes.ticketstore.ts +312 -13
- package/ts/classes.validation.ts +28 -4
- package/ts/driver/classes.directreports.ts +58 -3
- package/ts/driver/classes.drivereventrelay.ts +2 -1
- package/ts/driver/functions.driverinstructions.ts +11 -2
- package/ts/driver/functions.drivertools.ts +10 -2
- package/ts/fleet/classes.boardpump.ts +235 -28
- package/ts/fleet/classes.claudeworkers.ts +36 -15
- package/ts/fleet/classes.codexworkers.ts +24 -7
- package/ts/fleet/classes.deploymonitor.ts +854 -0
- package/ts/fleet/classes.gitfacts.ts +135 -0
- package/ts/fleet/classes.releasereconciler.ts +103 -0
- package/ts/fleet/classes.service.ts +81 -8
- package/ts/fleet/classes.ticketeffects.ts +38 -6
- package/ts/fleet/classes.workers.ts +19 -5
- package/ts/fleet/functions.controllerbuild.ts +84 -0
- package/ts/fleet/functions.deployprobes.ts +84 -0
- package/ts/fleet/functions.deployvalidation.ts +50 -0
- package/ts/fleet/functions.release.ts +32 -3
- package/ts/fleet/functions.releasefacts.ts +74 -0
- package/ts/fleet/functions.validation.ts +3 -6
- package/ts/fleet/functions.watchprobes.ts +6 -8
- package/ts/fleet/functions.workervalidation.ts +3 -2
- package/ts/fleet/interfaces.workers.ts +23 -3
- package/ts/functions.deploycli.ts +156 -0
- package/ts/functions.mcpdeploytools.ts +18 -0
- package/ts/functions.mcptickettools.ts +7 -6
- package/ts/functions.ticketautolabels.ts +10 -2
- package/ts/functions.ticketcli.ts +100 -24
- package/ts/functions.ticketvalidation.ts +26 -7
- package/ts_interfaces/deployments.ts +194 -0
- package/ts_interfaces/fleet.ts +17 -2
- package/ts_interfaces/fleetworkers.ts +20 -0
- package/ts_interfaces/functions.fleetversion.ts +20 -0
- package/ts_interfaces/interfaces.ts +3 -1
- package/ts_interfaces/mcprequests.ts +3 -0
- package/ts_interfaces/requests.directreports.ts +52 -8
- package/ts_interfaces/requests.tickets.ts +20 -4
- package/ts_interfaces/requests.ts +6 -1
- package/ts_interfaces/tickets.ts +53 -6
- package/ts_migration/classes.documentmigrationrunner.ts +15 -0
- package/ts_migration/index.ts +2 -0
- package/ts_migration/v41_ticketclosedcolumn.ts +106 -0
- package/ts_migration/v41_ticketlinkrepos.ts +91 -0
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements.deployments.ts +1066 -0
- package/ts_web/elements.directreport.ts +2 -2
- package/ts_web/elements.directreportsession.ts +5 -5
- package/ts_web/elements.harnesscontrollerapp.ts +179 -13
- package/ts_web/elements.makedirectreport.ts +444 -0
- package/ts_web/elements.nativesession.ts +29 -1
- package/ts_web/elements.ticketboard.ts +74 -18
- package/ts_web/functions.deployments.ts +231 -0
- package/ts_web/functions.sessionchat.ts +2 -0
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import type * as plugins from './plugins.js';
|
|
2
2
|
import type { IDirectReport, IDirectReportView } from './directreports.js';
|
|
3
|
-
import type { IFleetWorkerJob, TFleetWorkerHarness } from './fleetworkers.js';
|
|
3
|
+
import type { IFleetRelaunchBlocker, IFleetWorkerJob, TFleetWorkerHarness } from './fleetworkers.js';
|
|
4
4
|
import type { IControllerDraftAttachment, IControllerMessageBundle, IControllerRuntimeId, TControllerPromptDelivery } from './interfaces.js';
|
|
5
|
+
import type { IControllerNativeSession, IControllerNativeSessionRef } from './nativesessions.js';
|
|
5
6
|
import type { IReq_ControllerFleetWorkerRead } from './requests.fleetworkers.js';
|
|
6
7
|
/** The owner's direct reports, active ones unless `retired` asks for all. */
|
|
8
|
+
/**
|
|
9
|
+
* Whom a direct report reports to. Every report reports to the host's driver, the owner of the Driver view; the
|
|
10
|
+
* request names it so that other superiors can follow.
|
|
11
|
+
*/
|
|
12
|
+
export type TDirectReportSuperior = {
|
|
13
|
+
kind: 'driver';
|
|
14
|
+
};
|
|
7
15
|
export interface IReq_ControllerDirectReportList extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ControllerDirectReportList> {
|
|
8
16
|
method: 'controller.directreport.list';
|
|
9
17
|
request: {
|
|
@@ -23,6 +31,7 @@ export interface IReq_ControllerDirectReportAppoint extends plugins.typedrequest
|
|
|
23
31
|
name: string;
|
|
24
32
|
workerName: string;
|
|
25
33
|
projects?: string[];
|
|
34
|
+
reportsTo?: TDirectReportSuperior;
|
|
26
35
|
};
|
|
27
36
|
response: {
|
|
28
37
|
report: IDirectReportView;
|
|
@@ -56,11 +65,54 @@ export interface IReq_ControllerDirectReportAdopt extends plugins.typedrequestIn
|
|
|
56
65
|
driverTicketKey: string;
|
|
57
66
|
projects?: string[];
|
|
58
67
|
relaunch?: IDirectReportRelaunch;
|
|
68
|
+
reportsTo?: TDirectReportSuperior;
|
|
59
69
|
};
|
|
60
70
|
response: {
|
|
61
71
|
report: IDirectReportView;
|
|
62
72
|
};
|
|
63
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Why a session cannot become a direct report now, beside the relaunch's own refusals: `notListed`, no source the
|
|
76
|
+
* session feed reads lists it; `alreadyReport`, an active report holds it; `workerNoTicket`, the fleet worker bound to
|
|
77
|
+
* it has no ticket to steer it through; `projectConversation`, an AGL project conversation records the Claude Code
|
|
78
|
+
* session, and that project writes to it; `directoryMissing`, its directory is gone; `noProfile`, no Claude fleet
|
|
79
|
+
* profile uses the Claude Code home that holds it; `profileHome`, the chosen profile uses another home.
|
|
80
|
+
*/
|
|
81
|
+
export interface IDirectReportBlocker {
|
|
82
|
+
code: 'notListed' | 'alreadyReport' | 'workerNoTicket' | 'projectConversation' | 'directoryMissing' | 'noProfile' | 'profileHome' | IFleetRelaunchBlocker['code'];
|
|
83
|
+
message: string;
|
|
84
|
+
pid?: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* How the session `session` would become a direct report, and what refuses that now, read-only. The path follows the
|
|
88
|
+
* session: a session a fleet worker of the owner is bound to is appointed (`appoint`, that worker's `workerName`), a
|
|
89
|
+
* Codex thread is adopted by reference (`reference`), and a Claude Code session is relaunched under the fleet's control
|
|
90
|
+
* (`relaunch`) with a Claude profile of `profiles`, those whose Claude Code home holds it: `profile` (the first by
|
|
91
|
+
* default) in `cwd` (the session's own by default), through the relaunch's own checks. `reportsTo` lists whom the
|
|
92
|
+
* report can report to. Nothing is written; an adopt or appoint checks again.
|
|
93
|
+
*/
|
|
94
|
+
export interface IReq_ControllerDirectReportPreflight extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ControllerDirectReportPreflight> {
|
|
95
|
+
method: 'controller.directreport.preflight';
|
|
96
|
+
request: {
|
|
97
|
+
session: IControllerNativeSessionRef;
|
|
98
|
+
profile?: string;
|
|
99
|
+
cwd?: string;
|
|
100
|
+
};
|
|
101
|
+
response: {
|
|
102
|
+
path: 'appoint' | 'reference' | 'relaunch';
|
|
103
|
+
/** The session as the session feed lists it; absent when no source lists it. */
|
|
104
|
+
session?: IControllerNativeSession;
|
|
105
|
+
workerName?: string;
|
|
106
|
+
profiles: string[];
|
|
107
|
+
profile?: string;
|
|
108
|
+
cwd?: string;
|
|
109
|
+
reportsTo: Array<{
|
|
110
|
+
superior: TDirectReportSuperior;
|
|
111
|
+
label: string;
|
|
112
|
+
}>;
|
|
113
|
+
blockers: IDirectReportBlocker[];
|
|
114
|
+
};
|
|
115
|
+
}
|
|
64
116
|
/** Retires a direct report. Its session is left as it is, and its name stays taken. */
|
|
65
117
|
export interface IReq_ControllerDirectReportRetire extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ControllerDirectReportRetire> {
|
|
66
118
|
method: 'controller.directreport.retire';
|
|
@@ -72,21 +124,21 @@ export interface IReq_ControllerDirectReportRetire extends plugins.typedrequestI
|
|
|
72
124
|
};
|
|
73
125
|
}
|
|
74
126
|
/**
|
|
75
|
-
* The newest turns of a direct report that is a Codex thread, read
|
|
76
|
-
* `
|
|
77
|
-
* another Codex client runs names as its `expectedTurnId`.
|
|
127
|
+
* The newest turns of a direct report that is a Codex thread, read through the shared Codex server that owns it,
|
|
128
|
+
* outside every project. `cwd` is the directory the thread works in. `turnId` is the turn the thread runs now, which a
|
|
129
|
+
* message to a turn another Codex client runs names as its `expectedTurnId`.
|
|
78
130
|
*/
|
|
79
131
|
export interface IDirectReportSessionPage {
|
|
80
132
|
kind: 'session';
|
|
81
133
|
report: string;
|
|
82
|
-
projectId: string;
|
|
83
134
|
sessionId: IControllerRuntimeId;
|
|
135
|
+
cwd: string;
|
|
84
136
|
bundles: IControllerMessageBundle[];
|
|
85
137
|
/** The transcript holds turns before the first returned bundle. */
|
|
86
138
|
earlier: boolean;
|
|
87
139
|
turnId?: string;
|
|
88
140
|
}
|
|
89
|
-
/** A direct report's newest turns: its fleet worker's transcript, or
|
|
141
|
+
/** A direct report's newest turns: its fleet worker's transcript, or its Codex thread's. */
|
|
90
142
|
export type TDirectReportPage = ({
|
|
91
143
|
kind: 'fleet-worker';
|
|
92
144
|
report: string;
|
|
@@ -18,4 +18,4 @@ export * from './requests.browser.js';
|
|
|
18
18
|
export * from './requests.terminal.js';
|
|
19
19
|
export * from './requests.workspace.js';
|
|
20
20
|
export * from './requests.events.js';
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWVzdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90c19pbnRlcmZhY2VzL3JlcXVlc3RzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVOQSxvRkFBb0Y7QUFDcEYsbUVBQW1FO0FBQ25FLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDIn0=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as plugins from './plugins.js';
|
|
2
2
|
import type { ITicket, ITicketAnswer, ITicketAsk, ITicketBoard, ITicketChanges, ITicketComment, ITicketCreate, ITicketDetail, ITicketFilters, ITicketGet, ITicketMove, ITicketQuestion, TTicketLink, TTicketOperation, TTicketReferenceContent, TTicketRequest, TTicketResponse } from './tickets.js';
|
|
3
|
-
export declare const controllerMcpTicketMethods: readonly ['agl.mcp.ticket.list', 'agl.mcp.ticket.board', 'agl.mcp.ticket.search', 'agl.mcp.ticket.get', 'agl.mcp.ticket.comments', 'agl.mcp.ticket.create', 'agl.mcp.ticket.update', 'agl.mcp.ticket.move', 'agl.mcp.ticket.comment', 'agl.mcp.ticket.link', 'agl.mcp.ticket.ask', 'agl.mcp.ticket.answer'];
|
|
3
|
+
export declare const controllerMcpTicketMethods: readonly ['agl.mcp.ticket.list', 'agl.mcp.ticket.board', 'agl.mcp.ticket.search', 'agl.mcp.ticket.get', 'agl.mcp.ticket.comments', 'agl.mcp.ticket.create', 'agl.mcp.ticket.update', 'agl.mcp.ticket.move', 'agl.mcp.ticket.comment', 'agl.mcp.ticket.link', 'agl.mcp.ticket.unlink', 'agl.mcp.ticket.ask', 'agl.mcp.ticket.answer'];
|
|
4
4
|
export type TControllerMcpTicketMethod = (typeof controllerMcpTicketMethods)[number];
|
|
5
5
|
export type TControllerTicketRequest<TMethod extends TTicketOperation> = {
|
|
6
6
|
method: `controller.ticket.${TMethod}`;
|
|
@@ -21,7 +21,8 @@ export type TControllerMcpTicketRequest<TMethod extends TTicketOperation> = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Lists the shared board's tickets across all projects, filtered by `mine`, `project`, `status`,
|
|
23
23
|
* `label` or `text`. `mine` means the caller's verified session. `label` also matches AutoLabels,
|
|
24
|
-
* which AGL computes and nobody sets: `openQuestion` marks a ticket with an unanswered question
|
|
24
|
+
* which AGL computes and nobody sets: `openQuestion` marks a ticket with an unanswered question,
|
|
25
|
+
* `planned` a ticket with a release plan that is not yet released.
|
|
25
26
|
*/
|
|
26
27
|
export interface IReq_ControllerMcpTicketList extends plugins.typedrequestInterfaces.implementsTR<TControllerMcpTicketRequest<'list'>, IReq_ControllerMcpTicketList> {
|
|
27
28
|
method: 'agl.mcp.ticket.list';
|
|
@@ -97,7 +98,8 @@ export interface IReq_ControllerMcpTicketCreate extends plugins.typedrequestInte
|
|
|
97
98
|
* Changes the title, Markdown description, priority, labels, project or parent of a ticket assigned
|
|
98
99
|
* to the caller, while `expectedRevision` still names the ticket's revision; a stale edit is
|
|
99
100
|
* refused as `TICKET_REVISION_CONFLICT` with `currentRevision`, so read it again first. The status
|
|
100
|
-
* changes only by a move, and only the driver or the owner assigns.
|
|
101
|
+
* changes only by a move, and only the driver or the owner assigns. Only the driver or the owner
|
|
102
|
+
* sets `releasePlan` (a fleet repository as `org/name` and an optional version; `null` clears it).
|
|
101
103
|
*/
|
|
102
104
|
export interface IReq_ControllerMcpTicketUpdate extends plugins.typedrequestInterfaces.implementsTR<TControllerMcpTicketRequest<'update'>, IReq_ControllerMcpTicketUpdate> {
|
|
103
105
|
method: 'agl.mcp.ticket.update';
|
|
@@ -143,7 +145,8 @@ export interface IReq_ControllerMcpTicketComment extends plugins.typedrequestInt
|
|
|
143
145
|
};
|
|
144
146
|
}
|
|
145
147
|
/**
|
|
146
|
-
* Links a branch (repo, branch, full sha), a commit (repo, sha)
|
|
148
|
+
* Links a branch (repo, branch, full sha), a commit (repo, sha), a release (package, version) or the
|
|
149
|
+
* version a bug was found in (`affects`: repo as org/name of a fleet repository, version) to a
|
|
147
150
|
* ticket assigned to the caller. Link the review branch before moving the ticket to review.
|
|
148
151
|
*/
|
|
149
152
|
export interface IReq_ControllerMcpTicketLink extends plugins.typedrequestInterfaces.implementsTR<TControllerMcpTicketRequest<'link'>, IReq_ControllerMcpTicketLink> {
|
|
@@ -158,6 +161,23 @@ export interface IReq_ControllerMcpTicketLink extends plugins.typedrequestInterf
|
|
|
158
161
|
ticket: ITicket;
|
|
159
162
|
};
|
|
160
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* Removes one link from a ticket, exactly as the ticket holds it. Only the driver or the owner
|
|
166
|
+
* unlinks, and never the evidence the ticket's column requires (a review branch, a landed branch
|
|
167
|
+
* or commit, a release's release link).
|
|
168
|
+
*/
|
|
169
|
+
export interface IReq_ControllerMcpTicketUnlink extends plugins.typedrequestInterfaces.implementsTR<TControllerMcpTicketRequest<'unlink'>, IReq_ControllerMcpTicketUnlink> {
|
|
170
|
+
method: 'agl.mcp.ticket.unlink';
|
|
171
|
+
request: {
|
|
172
|
+
ticketId: string;
|
|
173
|
+
link: TTicketLink;
|
|
174
|
+
} & {
|
|
175
|
+
ownerToken?: string;
|
|
176
|
+
};
|
|
177
|
+
response: {
|
|
178
|
+
ticket: ITicket;
|
|
179
|
+
};
|
|
180
|
+
}
|
|
161
181
|
/**
|
|
162
182
|
* Asks the owner a question on a ticket assigned to the caller: Markdown, with up to 20 options
|
|
163
183
|
* (label, optional description); `multiSelect` allows several, `allowCustom` (default true) a free
|
|
@@ -185,4 +205,4 @@ export interface IReq_ControllerMcpTicketAnswer extends plugins.typedrequestInte
|
|
|
185
205
|
ticket: ITicket;
|
|
186
206
|
};
|
|
187
207
|
}
|
|
188
|
-
export type TControllerMcpTicketTypedRequest = IReq_ControllerMcpTicketList | IReq_ControllerMcpTicketBoard | IReq_ControllerMcpTicketSearch | IReq_ControllerMcpTicketGet | IReq_ControllerMcpTicketComments | IReq_ControllerMcpTicketCreate | IReq_ControllerMcpTicketUpdate | IReq_ControllerMcpTicketMove | IReq_ControllerMcpTicketComment | IReq_ControllerMcpTicketLink | IReq_ControllerMcpTicketAsk | IReq_ControllerMcpTicketAnswer;
|
|
208
|
+
export type TControllerMcpTicketTypedRequest = IReq_ControllerMcpTicketList | IReq_ControllerMcpTicketBoard | IReq_ControllerMcpTicketSearch | IReq_ControllerMcpTicketGet | IReq_ControllerMcpTicketComments | IReq_ControllerMcpTicketCreate | IReq_ControllerMcpTicketUpdate | IReq_ControllerMcpTicketMove | IReq_ControllerMcpTicketComment | IReq_ControllerMcpTicketLink | IReq_ControllerMcpTicketUnlink | IReq_ControllerMcpTicketAsk | IReq_ControllerMcpTicketAnswer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const controllerMcpTicketMethods = [
|
|
2
2
|
'agl.mcp.ticket.list', 'agl.mcp.ticket.board', 'agl.mcp.ticket.search', 'agl.mcp.ticket.get',
|
|
3
3
|
'agl.mcp.ticket.comments', 'agl.mcp.ticket.create', 'agl.mcp.ticket.update',
|
|
4
|
-
'agl.mcp.ticket.move', 'agl.mcp.ticket.comment', 'agl.mcp.ticket.link',
|
|
4
|
+
'agl.mcp.ticket.move', 'agl.mcp.ticket.comment', 'agl.mcp.ticket.link', 'agl.mcp.ticket.unlink',
|
|
5
5
|
'agl.mcp.ticket.ask', 'agl.mcp.ticket.answer',
|
|
6
6
|
];
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWVzdHMudGlja2V0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX2ludGVyZmFjZXMvcmVxdWVzdHMudGlja2V0cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxNQUFNLENBQUMsTUFBTSwwQkFBMEIsR0FBRztJQUN4QyxxQkFBcUIsRUFBRSxzQkFBc0IsRUFBRSx1QkFBdUIsRUFBRSxvQkFBb0I7SUFDNUYseUJBQXlCLEVBQUUsdUJBQXVCLEVBQUUsdUJBQXVCO0lBQzNFLHFCQUFxQixFQUFFLHdCQUF3QixFQUFFLHFCQUFxQixFQUFFLHVCQUF1QjtJQUMvRixvQkFBb0IsRUFBRSx1QkFBdUI7Q0FDckMsQ0FBQyJ9
|
|
@@ -61,13 +61,33 @@ export interface ITicketMaintenanceWindow {
|
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* A planned deploy: the deploy target should run `version`, a release of its repository, or a newer one. Setting it
|
|
64
|
-
* asks the owner `questionId` on the ticket; the answer is the owner's go.
|
|
64
|
+
* asks the owner `questionId` on the ticket; the answer is the owner's go. Its ticket is a deploy ticket, which holds no
|
|
65
|
+
* code or release, so no release ends it before its target runs the version.
|
|
65
66
|
*/
|
|
66
67
|
export interface ITicketDeployPlan {
|
|
67
68
|
target: string;
|
|
68
69
|
version: string;
|
|
69
70
|
questionId: string;
|
|
70
71
|
}
|
|
72
|
+
/** What a caller plans: the deploy target and the release it should run; AGL asks the owner and records the question. */
|
|
73
|
+
export interface ITicketDeployPlanInput {
|
|
74
|
+
target: string;
|
|
75
|
+
version: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The owner's question a deploy plan asks, by option id: `1` deploy now, `2` in the next maintenance window (for the
|
|
79
|
+
* AGL controller: when no session is busy), `3` hold.
|
|
80
|
+
*/
|
|
81
|
+
export declare const ticketDeployPlanOptions: {
|
|
82
|
+
readonly now: '1';
|
|
83
|
+
readonly later: '2';
|
|
84
|
+
readonly hold: '3';
|
|
85
|
+
};
|
|
86
|
+
/** The owner's question a maintenance window the driver proposed asks, by option id: `1` approve it, `2` decline it. */
|
|
87
|
+
export declare const ticketWindowOptions: {
|
|
88
|
+
readonly approve: '1';
|
|
89
|
+
readonly decline: '2';
|
|
90
|
+
};
|
|
71
91
|
export interface ITicketAttachment {
|
|
72
92
|
name: string;
|
|
73
93
|
url: string;
|
|
@@ -115,8 +135,13 @@ export interface ITicket {
|
|
|
115
135
|
export type TTicketData = Omit<ITicket, 'revision' | 'permissions' | 'autoLabels'> & {
|
|
116
136
|
revision?: number;
|
|
117
137
|
};
|
|
118
|
-
/**
|
|
119
|
-
|
|
138
|
+
/**
|
|
139
|
+
* Labels AGL computes from a ticket's state. Hand labels may not use these names. `openQuestion`: an unanswered
|
|
140
|
+
* question on a ticket that is not done; `planned`: a release plan, a deploy plan or a maintenance window on a ticket
|
|
141
|
+
* that is not done; `undeployed`: released in a version that some deploy target of one of its repositories does not run
|
|
142
|
+
* yet, which holds for a target that never answered its probe, until every target is seen running it.
|
|
143
|
+
*/
|
|
144
|
+
export declare const ticketAutoLabels: readonly ['openQuestion', 'planned', 'undeployed'];
|
|
120
145
|
export type TTicketAutoLabel = (typeof ticketAutoLabels)[number];
|
|
121
146
|
export declare const isTicketAutoLabel: (valueArg: string) => valueArg is TTicketAutoLabel;
|
|
122
147
|
export interface ITicketRevisionConflict {
|
|
@@ -245,6 +270,17 @@ export interface ITicketChanges {
|
|
|
245
270
|
parentId?: string | null;
|
|
246
271
|
project?: string;
|
|
247
272
|
labels?: string[];
|
|
273
|
+
/** `null` clears the plan. Only the driver or owner plans releases. */
|
|
274
|
+
releasePlan?: ITicketReleasePlan | null;
|
|
275
|
+
/** `null` cancels the window. Only the driver or owner plans windows. */
|
|
276
|
+
maintenanceWindow?: ITicketMaintenanceWindow | null;
|
|
277
|
+
/**
|
|
278
|
+
* A deploy plan asks the owner when it is set. Once asked it keeps its target and version: the same plan set again
|
|
279
|
+
* asks anew once the owner answered, and closing the ticket drops it. A deploy ticket holds no code or release: a
|
|
280
|
+
* ticket that does, or that is done, plans none, and one with a plan takes no branch, commit or release link. Only the
|
|
281
|
+
* driver or owner plans deploys.
|
|
282
|
+
*/
|
|
283
|
+
deployPlan?: ITicketDeployPlanInput;
|
|
248
284
|
}
|
|
249
285
|
export interface ITicketCreate {
|
|
250
286
|
project: string;
|
|
@@ -256,6 +292,9 @@ export interface ITicketCreate {
|
|
|
256
292
|
priority?: TTicketPriority;
|
|
257
293
|
assignee?: ITicketPerson;
|
|
258
294
|
labels?: string[];
|
|
295
|
+
releasePlan?: ITicketReleasePlan;
|
|
296
|
+
maintenanceWindow?: ITicketMaintenanceWindow;
|
|
297
|
+
deployPlan?: ITicketDeployPlanInput;
|
|
259
298
|
sourceText?: string;
|
|
260
299
|
attachments?: ITicketAttachment[];
|
|
261
300
|
}
|
|
@@ -381,6 +420,16 @@ export interface ITicketOperations {
|
|
|
381
420
|
ticket: ITicket;
|
|
382
421
|
};
|
|
383
422
|
};
|
|
423
|
+
/** Removes one link exactly as it is held. Only the driver or owner unlinks, and never the evidence a ticket's column requires. */
|
|
424
|
+
unlink: {
|
|
425
|
+
request: {
|
|
426
|
+
ticketId: string;
|
|
427
|
+
link: TTicketLink;
|
|
428
|
+
};
|
|
429
|
+
response: {
|
|
430
|
+
ticket: ITicket;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
384
433
|
ask: {
|
|
385
434
|
request: ITicketAsk;
|
|
386
435
|
response: {
|
|
@@ -433,17 +482,33 @@ export declare const ticketErrorMessages: {
|
|
|
433
482
|
readonly ticket_identity_required: 'A verified MCP caller is required for this ticket operation. Unidentified callers may only list or get tickets.';
|
|
434
483
|
readonly ticket_not_found: 'The requested ticket does not exist.';
|
|
435
484
|
readonly ticket_not_assigned: 'Workers may update or move only tickets assigned to their verified session.';
|
|
436
|
-
readonly ticket_worker_column: 'Workers may update or move only within ready, in_progress, needs_input and review; only driver or owner may land or
|
|
485
|
+
readonly ticket_worker_column: 'Workers may update or move only within ready, in_progress, needs_input and review; only driver or owner may land, release or close.';
|
|
437
486
|
readonly ticket_worker_create_backlog: 'Worker-created tickets must start in backlog.';
|
|
438
487
|
readonly ticket_assignment_forbidden: 'Only the driver or owner may assign tickets.';
|
|
439
488
|
readonly ticket_review_branch_required: 'Review requires a linked branch with its full commit sha.';
|
|
489
|
+
readonly ticket_landed_evidence_required: 'Landed requires a linked branch or commit with its full sha; fleet land links it. Work that ships no code goes to closed.';
|
|
490
|
+
readonly ticket_released_evidence_required: 'Released requires a release link; fleet release links it. Work that ships no code goes to closed.';
|
|
491
|
+
readonly ticket_closed_landed: 'A landed ticket is released by the tag that ships its code, not closed: closing it would drop the landed code from release and deploy tracking. Move it back first if the code is not to ship.';
|
|
440
492
|
readonly ticket_parent_required: 'A subtask requires a task parent.';
|
|
441
493
|
readonly ticket_parent_invalid: 'Parents must be an epic for a task or a task for a subtask, in the same project.';
|
|
442
494
|
readonly ticket_move_anchor_invalid: 'The before-ticket must be another ticket in the destination column.';
|
|
443
|
-
readonly ticket_label_reserved: 'AutoLabels such as openQuestion are computed by AGL and cannot be set by hand.';
|
|
495
|
+
readonly ticket_label_reserved: 'AutoLabels such as openQuestion, planned and undeployed are computed by AGL and cannot be set by hand.';
|
|
496
|
+
readonly ticket_release_plan_forbidden: 'Only the driver or owner may plan a release.';
|
|
497
|
+
readonly ticket_unlink_forbidden: 'The driver may remove an affects link; code and release links only the owner may remove, and workers none.';
|
|
498
|
+
readonly ticket_release_link_forbidden: 'A release is the remote\'s tag: fleet links it to the tickets the tag ships, and only the owner links a release by hand.';
|
|
499
|
+
readonly ticket_link_not_found: 'The ticket holds no such link.';
|
|
500
|
+
readonly ticket_affects_invalid: 'An affects link names a repository fleet discovery knows (org/name) and the version a bug was found in, such as 0.5.0.';
|
|
501
|
+
readonly ticket_release_plan_invalid: 'A release plan names a repository fleet discovery knows (org/name) and optionally a version such as 41.0.0.';
|
|
502
|
+
readonly ticket_window_forbidden: 'Only the driver or owner may plan a maintenance window.';
|
|
503
|
+
readonly ticket_window_invalid: 'A maintenance window runs from one time to a later one that has not passed, at most 7 days, for deploy targets the Configuration master names; the AGL controller needs none.';
|
|
504
|
+
readonly ticket_deploy_plan_forbidden: 'Only the driver or owner may plan a deploy.';
|
|
505
|
+
readonly ticket_deploy_plan_invalid: 'A deploy plan names a deploy target and a release version such as 3.1.0.';
|
|
506
|
+
readonly ticket_deploy_plan_link_forbidden: 'A deploy ticket holds no code or release: link it to the code ticket. A deploy ticket ends when its target runs the release, or by closing it.';
|
|
507
|
+
readonly ticket_deploy_plan_fixed: 'A deploy plan keeps the target and version it asked the owner about: set the same plan again to ask anew once the owner answered, or close the ticket to drop it; another target or version is a ticket of its own.';
|
|
508
|
+
readonly ticket_window_waiting: 'The maintenance window waits for the owner\'s answer to its question; it changes once the owner has answered.';
|
|
509
|
+
readonly ticket_go_owner_only: 'Only the owner answers the question of a deploy plan or a maintenance window: the answer is the owner\'s go.';
|
|
444
510
|
readonly ticket_ask_forbidden: 'Workers may ask questions only on tickets assigned to their verified session.';
|
|
445
511
|
readonly ticket_answer_forbidden: 'Only the owner or the driver may answer ticket questions.';
|
|
446
|
-
readonly ticket_go_owner_only: 'Only the owner answers the question of a deploy plan or a maintenance window: the answer is the owner\'s go.';
|
|
447
512
|
readonly ticket_question_not_found: 'The requested question does not exist on this ticket.';
|
|
448
513
|
readonly ticket_comment_not_found: 'The requested comment does not exist on this ticket.';
|
|
449
514
|
readonly ticket_question_answered: 'The question already has a different answer; a second answer is refused. Ask a new question instead.';
|
|
@@ -4,8 +4,20 @@ export const ticketColumns = [
|
|
|
4
4
|
];
|
|
5
5
|
/** The columns of finished work; the board folds them. */
|
|
6
6
|
export const ticketDoneColumns = ['released', 'closed'];
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* The owner's question a deploy plan asks, by option id: `1` deploy now, `2` in the next maintenance window (for the
|
|
9
|
+
* AGL controller: when no session is busy), `3` hold.
|
|
10
|
+
*/
|
|
11
|
+
export const ticketDeployPlanOptions = { now: '1', later: '2', hold: '3' };
|
|
12
|
+
/** The owner's question a maintenance window the driver proposed asks, by option id: `1` approve it, `2` decline it. */
|
|
13
|
+
export const ticketWindowOptions = { approve: '1', decline: '2' };
|
|
14
|
+
/**
|
|
15
|
+
* Labels AGL computes from a ticket's state. Hand labels may not use these names. `openQuestion`: an unanswered
|
|
16
|
+
* question on a ticket that is not done; `planned`: a release plan, a deploy plan or a maintenance window on a ticket
|
|
17
|
+
* that is not done; `undeployed`: released in a version that some deploy target of one of its repositories does not run
|
|
18
|
+
* yet, which holds for a target that never answered its probe, until every target is seen running it.
|
|
19
|
+
*/
|
|
20
|
+
export const ticketAutoLabels = ['openQuestion', 'planned', 'undeployed'];
|
|
9
21
|
export const isTicketAutoLabel = (valueArg) => (ticketAutoLabels.includes(valueArg));
|
|
10
22
|
export const readTicketRevisionConflict = (valueArg) => {
|
|
11
23
|
if (typeof valueArg !== 'object' || valueArg === null)
|
|
@@ -56,17 +68,33 @@ export const ticketErrorMessages = {
|
|
|
56
68
|
ticket_identity_required: 'A verified MCP caller is required for this ticket operation. Unidentified callers may only list or get tickets.',
|
|
57
69
|
ticket_not_found: 'The requested ticket does not exist.',
|
|
58
70
|
ticket_not_assigned: 'Workers may update or move only tickets assigned to their verified session.',
|
|
59
|
-
ticket_worker_column: 'Workers may update or move only within ready, in_progress, needs_input and review; only driver or owner may land or
|
|
71
|
+
ticket_worker_column: 'Workers may update or move only within ready, in_progress, needs_input and review; only driver or owner may land, release or close.',
|
|
60
72
|
ticket_worker_create_backlog: 'Worker-created tickets must start in backlog.',
|
|
61
73
|
ticket_assignment_forbidden: 'Only the driver or owner may assign tickets.',
|
|
62
74
|
ticket_review_branch_required: 'Review requires a linked branch with its full commit sha.',
|
|
75
|
+
ticket_landed_evidence_required: 'Landed requires a linked branch or commit with its full sha; fleet land links it. Work that ships no code goes to closed.',
|
|
76
|
+
ticket_released_evidence_required: 'Released requires a release link; fleet release links it. Work that ships no code goes to closed.',
|
|
77
|
+
ticket_closed_landed: 'A landed ticket is released by the tag that ships its code, not closed: closing it would drop the landed code from release and deploy tracking. Move it back first if the code is not to ship.',
|
|
63
78
|
ticket_parent_required: 'A subtask requires a task parent.',
|
|
64
79
|
ticket_parent_invalid: 'Parents must be an epic for a task or a task for a subtask, in the same project.',
|
|
65
80
|
ticket_move_anchor_invalid: 'The before-ticket must be another ticket in the destination column.',
|
|
66
|
-
ticket_label_reserved: 'AutoLabels such as openQuestion are computed by AGL and cannot be set by hand.',
|
|
81
|
+
ticket_label_reserved: 'AutoLabels such as openQuestion, planned and undeployed are computed by AGL and cannot be set by hand.',
|
|
82
|
+
ticket_release_plan_forbidden: 'Only the driver or owner may plan a release.',
|
|
83
|
+
ticket_unlink_forbidden: 'The driver may remove an affects link; code and release links only the owner may remove, and workers none.',
|
|
84
|
+
ticket_release_link_forbidden: 'A release is the remote\'s tag: fleet links it to the tickets the tag ships, and only the owner links a release by hand.',
|
|
85
|
+
ticket_link_not_found: 'The ticket holds no such link.',
|
|
86
|
+
ticket_affects_invalid: 'An affects link names a repository fleet discovery knows (org/name) and the version a bug was found in, such as 0.5.0.',
|
|
87
|
+
ticket_release_plan_invalid: 'A release plan names a repository fleet discovery knows (org/name) and optionally a version such as 41.0.0.',
|
|
88
|
+
ticket_window_forbidden: 'Only the driver or owner may plan a maintenance window.',
|
|
89
|
+
ticket_window_invalid: 'A maintenance window runs from one time to a later one that has not passed, at most 7 days, for deploy targets the Configuration master names; the AGL controller needs none.',
|
|
90
|
+
ticket_deploy_plan_forbidden: 'Only the driver or owner may plan a deploy.',
|
|
91
|
+
ticket_deploy_plan_invalid: 'A deploy plan names a deploy target and a release version such as 3.1.0.',
|
|
92
|
+
ticket_deploy_plan_link_forbidden: 'A deploy ticket holds no code or release: link it to the code ticket. A deploy ticket ends when its target runs the release, or by closing it.',
|
|
93
|
+
ticket_deploy_plan_fixed: 'A deploy plan keeps the target and version it asked the owner about: set the same plan again to ask anew once the owner answered, or close the ticket to drop it; another target or version is a ticket of its own.',
|
|
94
|
+
ticket_window_waiting: 'The maintenance window waits for the owner\'s answer to its question; it changes once the owner has answered.',
|
|
95
|
+
ticket_go_owner_only: 'Only the owner answers the question of a deploy plan or a maintenance window: the answer is the owner\'s go.',
|
|
67
96
|
ticket_ask_forbidden: 'Workers may ask questions only on tickets assigned to their verified session.',
|
|
68
97
|
ticket_answer_forbidden: 'Only the owner or the driver may answer ticket questions.',
|
|
69
|
-
ticket_go_owner_only: 'Only the owner answers the question of a deploy plan or a maintenance window: the answer is the owner\'s go.',
|
|
70
98
|
ticket_question_not_found: 'The requested question does not exist on this ticket.',
|
|
71
99
|
ticket_comment_not_found: 'The requested comment does not exist on this ticket.',
|
|
72
100
|
ticket_question_answered: 'The question already has a different answer; a second answer is refused. Ask a new question instead.',
|
|
@@ -74,4 +102,4 @@ export const ticketErrorMessages = {
|
|
|
74
102
|
};
|
|
75
103
|
export const ticketClientErrorMessages = Object.fromEntries(Object.entries(ticketErrorMessages)
|
|
76
104
|
.map(([codeArg, messageArg]) => [codeArg.toUpperCase(), messageArg]));
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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NoSSxxQkFBcUIsRUFBRSxxSEFBcUg7Q0FDcEksQ0FBQztBQUVYLE1BQU0sQ0FBQyxNQUFNLHlCQUF5QixHQUFHLE1BQU0sQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQztLQUM1RixHQUFHLENBQUMsQ0FBQyxDQUFDLE9BQU8sRUFBRSxVQUFVLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsV0FBVyxFQUFFLEVBQUUsVUFBVSxDQUFDLENBQUMsQ0FBMkMsQ0FBQyJ9
|
|
@@ -7,5 +7,12 @@ export declare class PostDatabaseDocumentMigrationRunner {
|
|
|
7
7
|
run(): Promise<void>;
|
|
8
8
|
runProjectFilesystemIdentity(controllerIdArg: string): Promise<void>;
|
|
9
9
|
runTicketOwnerPrincipal(principalIdArg: string): Promise<void>;
|
|
10
|
+
/** AGL-916: tickets released by hand without a release link move to closed; answers the keys it moved. */
|
|
11
|
+
runTicketClosedColumn(): Promise<string[]>;
|
|
12
|
+
/**
|
|
13
|
+
* AGL-909: once, links and release plans name each repository `resolveArg` resolves as `org/name`; answers the keys it
|
|
14
|
+
* changed. With no repository discovered (`discoveredArg` 0) it waits for a later start.
|
|
15
|
+
*/
|
|
16
|
+
runTicketLinkRepos(resolveArg: (nameArg: string) => string | undefined, discoveredArg: number): Promise<string[]>;
|
|
10
17
|
runControllerIssuerIdentity(dataRootDirectoryArg: string): Promise<IControllerIssuerIdentity>;
|
|
11
18
|
}
|
|
@@ -12,6 +12,8 @@ import { ControllerLayoutV32Migration } from './v32_controllerlayoutmigration.js
|
|
|
12
12
|
import { InferenceCollectionsV37Migration } from './v37_inferencecollections.js';
|
|
13
13
|
import { ClaudeGatewayRetirementV38Migration } from './v38_claudegatewayretirement.js';
|
|
14
14
|
import { TicketOwnerPrincipalV38Migration } from './v38_ticketownerprincipal.js';
|
|
15
|
+
import { TicketClosedColumnV41Migration } from './v41_ticketclosedcolumn.js';
|
|
16
|
+
import { TicketLinkReposV41Migration } from './v41_ticketlinkrepos.js';
|
|
15
17
|
export class PostDatabaseDocumentMigrationRunner {
|
|
16
18
|
database;
|
|
17
19
|
migrations;
|
|
@@ -44,8 +46,19 @@ export class PostDatabaseDocumentMigrationRunner {
|
|
|
44
46
|
async runTicketOwnerPrincipal(principalIdArg) {
|
|
45
47
|
await new TicketOwnerPrincipalV38Migration(this.database, principalIdArg).run();
|
|
46
48
|
}
|
|
49
|
+
/** AGL-916: tickets released by hand without a release link move to closed; answers the keys it moved. */
|
|
50
|
+
async runTicketClosedColumn() {
|
|
51
|
+
return await new TicketClosedColumnV41Migration(this.database).run();
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* AGL-909: once, links and release plans name each repository `resolveArg` resolves as `org/name`; answers the keys it
|
|
55
|
+
* changed. With no repository discovered (`discoveredArg` 0) it waits for a later start.
|
|
56
|
+
*/
|
|
57
|
+
async runTicketLinkRepos(resolveArg, discoveredArg) {
|
|
58
|
+
return await new TicketLinkReposV41Migration(this.database, resolveArg, discoveredArg).run();
|
|
59
|
+
}
|
|
47
60
|
async runControllerIssuerIdentity(dataRootDirectoryArg) {
|
|
48
61
|
return new ControllerIssuerIdentityV25Migration(this.database).run(dataRootDirectoryArg);
|
|
49
62
|
}
|
|
50
63
|
}
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3Nlcy5kb2N1bWVudG1pZ3JhdGlvbnJ1bm5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX21pZ3JhdGlvbi9jbGFzc2VzLmRvY3VtZW50bWlncmF0aW9ucnVubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sY0FBYyxDQUFDO0FBQ3hDLE9B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0FBQyxjQUFzQjtRQUN6RCxNQUFNLElBQUksZ0NBQWdDLENBQUMsSUFBSSxDQUFDLFFBQVEsRUFBRSxjQUFjLENBQUMsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUNsRixDQUFDO0lBRUQsMEdBQTBHO0lBQ25HLEtBQUssQ0FBQyxxQkFBcUI7UUFDaEMsT0FBTyxNQUFNLElBQUksOEJBQThCLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ3ZFLENBQUM7SUFFRDs7O09BR0c7SUFDSSxLQUFLLENBQUMsa0JBQWtCLENBQUMsVUFBbUQsRUFBRSxhQUFxQjtRQUN4RyxPQUFPLE1BQU0sSUFBSSwyQkFBMkIsQ0FBQyxJQUFJLENBQUMsUUFBUSxFQUFFLFVBQVUsRUFBRSxhQUFhLENBQUMsQ0FBQyxHQUFHLEVBQUUsQ0FBQztJQUMvRixDQUFDO0lBRU0sS0FBSyxDQUFDLDJCQUEyQixDQUN0QyxvQkFBNEI7UUFFNUIsT0FBTyxJQUFJLG9DQUFvQyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQyxHQUFHLENBQUMsb0JBQW9CLENBQUMsQ0FBQztJQUMzRixDQUFDO0NBQ0YifQ==
|
|
@@ -28,3 +28,5 @@ export * from './v39_fleetrepositorydiscovery.js';
|
|
|
28
28
|
export * from './v39_flexcompaction.js';
|
|
29
29
|
export * from './v39_flexpublicheadpointers.js';
|
|
30
30
|
export * from './v41_ticketmigrationmarkers.js';
|
|
31
|
+
export * from './v41_ticketclosedcolumn.js';
|
|
32
|
+
export * from './v41_ticketlinkrepos.js';
|
|
@@ -28,4 +28,6 @@ export * from './v39_fleetrepositorydiscovery.js';
|
|
|
28
28
|
export * from './v39_flexcompaction.js';
|
|
29
29
|
export * from './v39_flexpublicheadpointers.js';
|
|
30
30
|
export * from './v41_ticketmigrationmarkers.js';
|
|
31
|
-
|
|
31
|
+
export *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1DLENBQUM7QUFDbEQsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDBCQUEwQixDQUFDIn0=
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as plugins from './plugins.js';
|
|
2
|
+
import type { ITicketActor } from '../dist_ts_interfaces/tickets.js';
|
|
3
|
+
export declare const ticketClosedColumnMigrationId = "v41_ticketclosedcolumn";
|
|
4
|
+
/** What the migration says on each ticket it moves. */
|
|
5
|
+
export declare const ticketClosedColumnMigrationNote: string;
|
|
6
|
+
/** Who the migration's history entries name. */
|
|
7
|
+
export declare const ticketClosedColumnMigrationActor: ITicketActor;
|
|
8
|
+
/**
|
|
9
|
+
* AGL-916: released requires a release link now. A ticket released by hand without one and without any code link
|
|
10
|
+
* shipped no release AGL knows of: it moves to `closed`, the column for work that ships no code, after the tickets
|
|
11
|
+
* already there, in its released order, with a `moved` entry in its history and a comment saying why. A ticket that
|
|
12
|
+
* links code stays: the release reconciler links it from the remote tag that holds its landing. It runs once: its
|
|
13
|
+
* marker is written in the same transaction, and a later start does nothing whatever the board holds.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TicketClosedColumnV41Migration {
|
|
16
|
+
private readonly database;
|
|
17
|
+
constructor(database: plugins.nosqldb.SmartdataDb | undefined);
|
|
18
|
+
run(): Promise<string[]>;
|
|
19
|
+
private page;
|
|
20
|
+
}
|