@funnelsgrove/cli 0.1.347 → 0.1.348
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/cli.js +9 -3
- package/dist/supportCommands.d.ts +14 -4
- package/dist/supportCommands.js +60 -10
- package/funnel-contract-compatibility.json +28 -28
- package/package.json +1 -1
- package/template_docs/.funnelsgrove-docs.json +3 -3
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +3 -3
- package/template_scaffold/.funnelsgrove-scaffold.json +5 -5
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/funnel-docs.config.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -24,7 +24,7 @@ import { createSetupSecretLink, formatSetupStatus, formatStepDocs, readSetupGuid
|
|
|
24
24
|
import { buildAlertStatisticsReport, fetchAlertStatistics, fetchPreventSummary, formatAlertRows, formatAlertStatistics, formatPreventRows, formatPreventSummary, listAlerts, listPreventSearches, parseAlertMonth, toAlertJsonRow, } from './alertCommands.js';
|
|
25
25
|
import { cancelUserSubscription, findUser, formatUserCancellation, formatUserFind, formatUserLookup, formatUserRefunds, formatRefundPreview, lookupUser, parseUserSelector, previewRefund, refundUserPayments, } from './userCommands.js';
|
|
26
26
|
import { buildBugReport, formatBugReportPreview, resolveBugReportContext, submitBugReport, } from './bugReportCommands.js';
|
|
27
|
-
import { assignSupportTicketProject, cancelSupportSubscription, closeSupportTicket, escalateSupportTicket, formatSupportProjects, formatSupportWorkflowHistory, formatSupportWorkflowLoaded, formatSupportWorkflowPulled, formatSupportWorkflowPushed, getSupportWorkflowEditView, getSupportWorkflowVersionFiles, pullSupportWorkflowForEditing, readSupportWorkflowEdit, recordSupportWorkflowPush, saveSupportWorkflowFiles, formatTicketDetail, formatTicketLine, formatSupportRatings, getSupportRatings, getSupportWorkflow, initSupportFolder, listCustomerTickets, listSupportProjects, lookupSupportBilling, openSupportTicket, parseBillingTarget, parseTicketNumber, getSupportCancelLink, refundSupportPayments, replyToSupportTicket, resolveSupportProject, setSupportInstructions, SUPPORT_ROUTINE_PROMPT, takeSupportQueue, writeSupportWorkflow, } from './supportCommands.js';
|
|
27
|
+
import { assignSupportTicketProject, cancelSupportSubscription, closeSupportTicket, escalateSupportTicket, formatSupportProjects, formatSupportWorkflowHistory, formatSupportWorkflowLoaded, formatSupportWorkflowPulled, formatSupportWorkflowPushed, getSupportWorkflowEditView, getSupportWorkflowVersionFiles, pullSupportWorkflowForEditing, readSupportWorkflowEdit, recordSupportWorkflowPush, saveSupportWorkflowFiles, formatTicketDetail, formatTicketLine, formatSupportRatings, getSupportRatings, getSupportWorkflow, initSupportFolder, refreshSupportFolder, listCustomerTickets, listSupportProjects, lookupSupportBilling, openSupportTicket, parseBillingTarget, parseTicketNumber, getSupportCancelLink, refundSupportPayments, replyToSupportTicket, resolveSupportProject, setSupportInstructions, SUPPORT_ROUTINE_PROMPT, takeSupportQueue, writeSupportWorkflow, } from './supportCommands.js';
|
|
28
28
|
import { executeOfferSetPrices, executeOfferSetPublish, executeOfferSetPull, formatOfferSetPriceCatalogs, } from './offerSetCommands.js';
|
|
29
29
|
import { executeEmailPull, executeEmailPush, executeEmailSend, executeEmailUpdateVariables, executeEmailSequenceAddStep, executeEmailSequenceCancel, executeEmailSequenceCreate, executeEmailSequencePublish, executeEmailSequenceSetActive, executeEmailLibraryAdd, executeEmailLibraryList, executeEmailTemplatePublish, executeEmailValidate, parseEmailVariablesJson, } from './emailCommands.js';
|
|
30
30
|
import { formatGitHubConnectRows, formatGitHubJobRows, formatGitHubStatusRows, } from './githubOutput.js';
|
|
@@ -2509,8 +2509,13 @@ supportCommand
|
|
|
2509
2509
|
console.log(JSON.stringify({ projectId: project.id, projectName: project.name, ...workflow }, null, 2));
|
|
2510
2510
|
return;
|
|
2511
2511
|
}
|
|
2512
|
-
const entryPath = await writeSupportWorkflow(options.out ?? path.join(process.cwd(), 'fgrove-support', project.id), workflow);
|
|
2513
|
-
|
|
2512
|
+
const { entryPath, previous } = await writeSupportWorkflow(options.out ?? path.join(process.cwd(), 'fgrove-support', project.id), workflow);
|
|
2513
|
+
// The support folder holds fgrove-support/<project-id>; its CLAUDE.md follows this CLI's version.
|
|
2514
|
+
const refreshed = await refreshSupportFolder(options.out ? path.dirname(path.dirname(path.resolve(options.out))) : process.cwd());
|
|
2515
|
+
console.log([
|
|
2516
|
+
...formatSupportWorkflowLoaded(project, workflow, entryPath, previous),
|
|
2517
|
+
...(refreshed ? [`Updated ${refreshed} to this fgrove version: read it again before going on.`] : []),
|
|
2518
|
+
].join('\n'));
|
|
2514
2519
|
});
|
|
2515
2520
|
/** A project to edit by ID in any workspace (the server checks the rights), or by name or slug in a workspace. */
|
|
2516
2521
|
const resolveSupportEditProject = async (options) => {
|
|
@@ -2591,6 +2596,7 @@ supportCommand
|
|
|
2591
2596
|
console.log([
|
|
2592
2597
|
`Wrote ${target}.`,
|
|
2593
2598
|
'Start Claude Code in this folder and ask it to work the support tickets.',
|
|
2599
|
+
'To keep it running every hour in one chat, ask Claude Code there to start the hourly loop.',
|
|
2594
2600
|
`For a Support Routine, schedule a task in this folder with the prompt: ${SUPPORT_ROUTINE_PROMPT}`,
|
|
2595
2601
|
].join('\n'));
|
|
2596
2602
|
});
|
|
@@ -87,13 +87,23 @@ export declare const assignSupportTicketProject: (scope: SupportScope, number: n
|
|
|
87
87
|
export declare const formatSupportProjects: (projects: SupportProject[]) => string[];
|
|
88
88
|
export declare const formatTicketLine: (ticket: SupportTicketSummary) => string;
|
|
89
89
|
export declare const formatTicketDetail: ({ ticket, customerTickets }: SupportTicketDetail) => string[];
|
|
90
|
-
/**
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
/** The versions a folder was last loaded with, so the next load can say what changed. */
|
|
91
|
+
type LoadedVersions = {
|
|
92
|
+
templateVersion: string;
|
|
93
|
+
projectVersion: number | null;
|
|
94
|
+
};
|
|
95
|
+
/** Replaces `dir` with the workflow's files and PERSONAL.md. Returns the entry file's path and the versions it held before. */
|
|
96
|
+
export declare const writeSupportWorkflow: (dir: string, workflow: SupportWorkflow) => Promise<{
|
|
97
|
+
entryPath: string;
|
|
98
|
+
previous: LoadedVersions | null;
|
|
99
|
+
}>;
|
|
100
|
+
export declare const formatSupportWorkflowLoaded: (project: SupportProject, workflow: SupportWorkflow, entryPath: string, previous?: LoadedVersions | null) => string[];
|
|
93
101
|
/** The support folder's CLAUDE.md: the same for every agent, reviewed with the CLI, never edited per project. */
|
|
94
|
-
export declare const SUPPORT_FOLDER_INSTRUCTIONS = "# FunnelsGrove support folder\n\nThis folder is for working FunnelsGrove Support Tickets with the `fgrove support` CLI. Each project has its own Support Workflow, which `fgrove` writes to `fgrove-support/<project-id>/`.\n\nWhen the person asks to work, check or decide support tickets, in any wording or language, or a task prompt starts with `Support Routine run`:\n\n1. `fgrove support projects` lists the projects you may work and whether support is on for each.\n2. Work the projects the person or the prompt names; otherwise every project with support on, one at a time.\n3. For each project, run `fgrove support workflow --project <id>`, read the WORKFLOW.md it names in full, and follow it for that project's tickets only.\n4. Finish one project before loading the next. Never apply one project's workflow to another project's ticket. A ticket that is clearly about another product of the same organization moves there with `fgrove support assign-project TCK-N --project <id>`; load that project's workflow before working it.\n\nUnassigned Tickets have no project and so no workflow. Work them only when the person or the prompt asks: `fgrove support queue --take 5` without `--project`. A ticket that has a project: load its workflow first (step 3). An Unassigned one: assign it only when its Support Address alias or the product it names points to exactly one of your projects, and `fgrove support billing --project <id> --email <customer> --json` finds the customer there. Then run `fgrove support assign-project TCK-N --project <id>` and follow that project's workflow. Otherwise escalate it with the note \"Project unclear:\" and the candidates and evidence. Never reply to an Unassigned Ticket.\n\nTalk to the person in their language. Files under `fgrove-support/` are replaced on every load: don't edit them. A project's Support Workflow changes through `fgrove support workflow-pull` and `workflow-push`, which the project's organization owners and admins and Super Admins run; when a ticket shows the workflow should change, say so in your summary.\n";
|
|
102
|
+
export declare const SUPPORT_FOLDER_INSTRUCTIONS = "# FunnelsGrove support folder\n\nThis folder is for working FunnelsGrove Support Tickets with the `fgrove support` CLI. Each project has its own Support Workflow, which `fgrove` writes to `fgrove-support/<project-id>/`.\n\nWhen the person asks to work, check or decide support tickets, in any wording or language, or a task prompt starts with `Support Routine run` or `Support loop tick`:\n\n1. `fgrove support projects` lists the projects you may work and whether support is on for each.\n2. Work the projects the person or the prompt names; otherwise every project with support on, one at a time.\n3. For each project, run `fgrove support workflow --project <id>`, read the WORKFLOW.md it names in full, and follow it for that project's tickets only.\n4. Finish one project before loading the next. Never apply one project's workflow to another project's ticket. A ticket that is clearly about another product of the same organization moves there with `fgrove support assign-project TCK-N --project <id>`; load that project's workflow before working it.\n\nUnassigned Tickets have no project and so no workflow. Work them only when the person or the prompt asks: `fgrove support queue --take 5` without `--project`. A ticket that has a project: load its workflow first (step 3). An Unassigned one: assign it only when its Support Address alias or the product it names points to exactly one of your projects, and `fgrove support billing --project <id> --email <customer> --json` finds the customer there. Then run `fgrove support assign-project TCK-N --project <id>` and follow that project's workflow. Otherwise escalate it with the note \"Project unclear:\" and the candidates and evidence. Never reply to an Unassigned Ticket.\n\n## Hourly loop\n\nWhen the person asks to keep support running in this chat (every hour, a loop), schedule it here with CronCreate:\n\n- Recurring, at a minute other than :00 and :30, with the prompt `Support loop tick. Read <this folder's absolute path>/CLAUDE.md again and follow it, running fgrove from that folder.` Add `Projects: <names>.` when the person named projects.\n- One-shot, six days later: `Support loop: the hourly timer expires in about a day. Tell the person in one line and ask them to write \"renew\"; on that answer, schedule the hourly job and this reminder again.`\n\nTell the person, in a few lines, that the loop runs only while this chat is open and the computer is awake, that it stops after seven days unless renewed, and that they answer its ticket cards here, in their own words, whenever they can. Then run the first tick.\n\n## Updates\n\n`fgrove` updates the rest on its own: `fgrove support workflow` loads the latest Support Workflow every time, says when it changed, and replaces this file when a newer version ships. When it says this file was updated, read it again before going on. When `fgrove` prints `fgrove update` in a warning or an error, or rejects a command the workflow names, run `fgrove update` once in this session and continue: update it yourself, never ask the person. This file is written by `fgrove support init`; don't edit it: your own instructions go to `fgrove support instructions`.\n\nTalk to the person in their language. Files under `fgrove-support/` are replaced on every load: don't edit them. A project's Support Workflow changes through `fgrove support workflow-pull` and `workflow-push`, which the project's organization owners and admins and Super Admins run; when a ticket shows the workflow should change, say so in your summary.\n";
|
|
95
103
|
/** The prompt of a Support Routine's scheduled task. */
|
|
96
104
|
export declare const SUPPORT_ROUTINE_PROMPT = "Support Routine run. Work the support queue of every project in my Support Access that has support on, following each project's Support Workflow. Nobody is present to answer questions.";
|
|
105
|
+
/** Replaces a support folder's CLAUDE.md written by an older `fgrove`; any other CLAUDE.md stays. Returns the path when replaced. */
|
|
106
|
+
export declare const refreshSupportFolder: (dir: string) => Promise<string | null>;
|
|
97
107
|
/** Writes the support folder's CLAUDE.md; an existing one stays unless `force`. Returns its path. */
|
|
98
108
|
export declare const initSupportFolder: (dir: string, force?: boolean) => Promise<string>;
|
|
99
109
|
export type SupportWorkflowIssue = {
|
package/dist/supportCommands.js
CHANGED
|
@@ -111,25 +111,52 @@ const replaceFolder = async (target, files) => {
|
|
|
111
111
|
await rm(previous, { recursive: true, force: true });
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
|
-
|
|
114
|
+
const LOADED_STATE_FILE = '.fgrove-loaded.json';
|
|
115
|
+
const readLoadedVersions = async (dir) => {
|
|
116
|
+
try {
|
|
117
|
+
const state = JSON.parse(await readFile(path.join(dir, LOADED_STATE_FILE), 'utf8'));
|
|
118
|
+
return typeof state.templateVersion === 'string' ? { templateVersion: state.templateVersion, projectVersion: state.projectVersion ?? null } : null;
|
|
119
|
+
}
|
|
120
|
+
catch {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
/** Replaces `dir` with the workflow's files and PERSONAL.md. Returns the entry file's path and the versions it held before. */
|
|
115
125
|
export const writeSupportWorkflow = async (dir, workflow) => {
|
|
116
126
|
workflow.files.forEach((file) => assertSafeWorkflowPath(file.path));
|
|
117
127
|
const target = path.resolve(dir);
|
|
118
|
-
|
|
119
|
-
|
|
128
|
+
const previous = await readLoadedVersions(target);
|
|
129
|
+
const loaded = { templateVersion: workflow.templateVersion, projectVersion: workflow.projectVersion };
|
|
130
|
+
await replaceFolder(target, [
|
|
131
|
+
...workflow.files,
|
|
132
|
+
{ path: SUPPORT_WORKFLOW_PERSONAL, content: workflow.personalInstructions.trim() || '(none)\n' },
|
|
133
|
+
{ path: LOADED_STATE_FILE, content: `${JSON.stringify(loaded)}\n` },
|
|
134
|
+
]);
|
|
135
|
+
return { entryPath: path.join(target, SUPPORT_WORKFLOW_ENTRY), previous };
|
|
136
|
+
};
|
|
137
|
+
const describeVersionChange = (previous, workflow) => {
|
|
138
|
+
const changes = [
|
|
139
|
+
previous.templateVersion !== workflow.templateVersion ? `template ${previous.templateVersion} → ${workflow.templateVersion}` : null,
|
|
140
|
+
previous.projectVersion !== workflow.projectVersion ? `project ${previous.projectVersion ? `v${previous.projectVersion}` : 'none'} → ${workflow.projectVersion ? `v${workflow.projectVersion}` : 'none'}` : null,
|
|
141
|
+
].filter((change) => change !== null);
|
|
142
|
+
return changes.length ? `Changed since the last load here: ${changes.join(', ')}.` : null;
|
|
143
|
+
};
|
|
144
|
+
export const formatSupportWorkflowLoaded = (project, workflow, entryPath, previous = null) => {
|
|
145
|
+
const change = previous ? describeVersionChange(previous, workflow) : null;
|
|
146
|
+
return [
|
|
147
|
+
`Support Workflow for ${project.name} (project ${project.id}): template ${workflow.templateVersion}`
|
|
148
|
+
+ `${workflow.projectVersion ? ` + project v${workflow.projectVersion}` : ', no project files yet'}. `
|
|
149
|
+
+ (workflow.supportEnabled ? 'Support is on.' : 'Support is off: every reply and action for this project will fail.'),
|
|
150
|
+
...(change ? [change] : []),
|
|
151
|
+
`Read ${entryPath} in full and follow it for this project's tickets.`,
|
|
152
|
+
];
|
|
120
153
|
};
|
|
121
|
-
export const formatSupportWorkflowLoaded = (project, workflow, entryPath) => [
|
|
122
|
-
`Support Workflow for ${project.name} (project ${project.id}): template ${workflow.templateVersion}`
|
|
123
|
-
+ `${workflow.projectVersion ? ` + project v${workflow.projectVersion}` : ', no project files yet'}. `
|
|
124
|
-
+ (workflow.supportEnabled ? 'Support is on.' : 'Support is off: every reply and action for this project will fail.'),
|
|
125
|
-
`Read ${entryPath} in full and follow it for this project's tickets.`,
|
|
126
|
-
];
|
|
127
154
|
/** The support folder's CLAUDE.md: the same for every agent, reviewed with the CLI, never edited per project. */
|
|
128
155
|
export const SUPPORT_FOLDER_INSTRUCTIONS = `# FunnelsGrove support folder
|
|
129
156
|
|
|
130
157
|
This folder is for working FunnelsGrove Support Tickets with the \`fgrove support\` CLI. Each project has its own Support Workflow, which \`fgrove\` writes to \`fgrove-support/<project-id>/\`.
|
|
131
158
|
|
|
132
|
-
When the person asks to work, check or decide support tickets, in any wording or language, or a task prompt starts with \`Support Routine run\`:
|
|
159
|
+
When the person asks to work, check or decide support tickets, in any wording or language, or a task prompt starts with \`Support Routine run\` or \`Support loop tick\`:
|
|
133
160
|
|
|
134
161
|
1. \`fgrove support projects\` lists the projects you may work and whether support is on for each.
|
|
135
162
|
2. Work the projects the person or the prompt names; otherwise every project with support on, one at a time.
|
|
@@ -138,10 +165,33 @@ When the person asks to work, check or decide support tickets, in any wording or
|
|
|
138
165
|
|
|
139
166
|
Unassigned Tickets have no project and so no workflow. Work them only when the person or the prompt asks: \`fgrove support queue --take 5\` without \`--project\`. A ticket that has a project: load its workflow first (step 3). An Unassigned one: assign it only when its Support Address alias or the product it names points to exactly one of your projects, and \`fgrove support billing --project <id> --email <customer> --json\` finds the customer there. Then run \`fgrove support assign-project TCK-N --project <id>\` and follow that project's workflow. Otherwise escalate it with the note "Project unclear:" and the candidates and evidence. Never reply to an Unassigned Ticket.
|
|
140
167
|
|
|
168
|
+
## Hourly loop
|
|
169
|
+
|
|
170
|
+
When the person asks to keep support running in this chat (every hour, a loop), schedule it here with CronCreate:
|
|
171
|
+
|
|
172
|
+
- Recurring, at a minute other than :00 and :30, with the prompt \`Support loop tick. Read <this folder's absolute path>/CLAUDE.md again and follow it, running fgrove from that folder.\` Add \`Projects: <names>.\` when the person named projects.
|
|
173
|
+
- One-shot, six days later: \`Support loop: the hourly timer expires in about a day. Tell the person in one line and ask them to write "renew"; on that answer, schedule the hourly job and this reminder again.\`
|
|
174
|
+
|
|
175
|
+
Tell the person, in a few lines, that the loop runs only while this chat is open and the computer is awake, that it stops after seven days unless renewed, and that they answer its ticket cards here, in their own words, whenever they can. Then run the first tick.
|
|
176
|
+
|
|
177
|
+
## Updates
|
|
178
|
+
|
|
179
|
+
\`fgrove\` updates the rest on its own: \`fgrove support workflow\` loads the latest Support Workflow every time, says when it changed, and replaces this file when a newer version ships. When it says this file was updated, read it again before going on. When \`fgrove\` prints \`fgrove update\` in a warning or an error, or rejects a command the workflow names, run \`fgrove update\` once in this session and continue: update it yourself, never ask the person. This file is written by \`fgrove support init\`; don't edit it: your own instructions go to \`fgrove support instructions\`.
|
|
180
|
+
|
|
141
181
|
Talk to the person in their language. Files under \`fgrove-support/\` are replaced on every load: don't edit them. A project's Support Workflow changes through \`fgrove support workflow-pull\` and \`workflow-push\`, which the project's organization owners and admins and Super Admins run; when a ticket shows the workflow should change, say so in your summary.
|
|
142
182
|
`;
|
|
143
183
|
/** The prompt of a Support Routine's scheduled task. */
|
|
144
184
|
export const SUPPORT_ROUTINE_PROMPT = "Support Routine run. Work the support queue of every project in my Support Access that has support on, following each project's Support Workflow. Nobody is present to answer questions.";
|
|
185
|
+
const SUPPORT_FOLDER_HEADING = '# FunnelsGrove support folder\n';
|
|
186
|
+
/** Replaces a support folder's CLAUDE.md written by an older `fgrove`; any other CLAUDE.md stays. Returns the path when replaced. */
|
|
187
|
+
export const refreshSupportFolder = async (dir) => {
|
|
188
|
+
const target = path.join(path.resolve(dir), 'CLAUDE.md');
|
|
189
|
+
const current = await readFile(target, 'utf8').catch(() => null);
|
|
190
|
+
if (current === null || !current.startsWith(SUPPORT_FOLDER_HEADING) || current === SUPPORT_FOLDER_INSTRUCTIONS)
|
|
191
|
+
return null;
|
|
192
|
+
await writeFile(target, SUPPORT_FOLDER_INSTRUCTIONS, { mode: 0o644 });
|
|
193
|
+
return target;
|
|
194
|
+
};
|
|
145
195
|
/** Writes the support folder's CLAUDE.md; an existing one stays unless `force`. Returns its path. */
|
|
146
196
|
export const initSupportFolder = async (dir, force = false) => {
|
|
147
197
|
const target = path.join(path.resolve(dir), 'CLAUDE.md');
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.348",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.341",
|
|
11
11
|
"stepContractVersion": 3,
|
|
12
12
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
13
13
|
"managedFiles": [
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "3bf19c149e0c203b4958a9476d561e1ebd25deb7f0592b7b3190029c2d307a21"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"path": "funnel-docs.config.json",
|
|
148
|
-
"sha256": "
|
|
148
|
+
"sha256": "d8d48c6b6b11c9ab8031f1d48da083125856a0362571263d53c828399d27d64f"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.347",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.340",
|
|
158
158
|
"stepContractVersion": 3,
|
|
159
159
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
160
160
|
"managedFiles": [
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
195
|
-
"sha256": "
|
|
195
|
+
"sha256": "22881ce507f392cb400365d2c7fffc741a62b2709584047ce1e438da9e8c194a"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -292,16 +292,16 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"path": "funnel-docs.config.json",
|
|
295
|
-
"sha256": "
|
|
295
|
+
"sha256": "7019f60385a97377bc21204f3ee4fdbbc9a89b3891db7be77797f3bbe3fdf797"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.346",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.339",
|
|
305
305
|
"stepContractVersion": 3,
|
|
306
306
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
307
307
|
"managedFiles": [
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
342
|
-
"sha256": "
|
|
342
|
+
"sha256": "a4e723239213aed01bf4715f2de2204eb1fdce0dd7f06e46ff659beadbe1659f"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
345
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -439,16 +439,16 @@
|
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
441
|
"path": "funnel-docs.config.json",
|
|
442
|
-
"sha256": "
|
|
442
|
+
"sha256": "d2d6da173d99ed4070db31af9905e939273db47f0be6628176b72b3b1e841ca9"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.345",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.338",
|
|
452
452
|
"stepContractVersion": 3,
|
|
453
453
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
454
454
|
"managedFiles": [
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
489
|
-
"sha256": "
|
|
489
|
+
"sha256": "4af92ed1a9d3c634f7efee9022c34e0e6d6021e5892b8cf3f0c6f42a1fe50b3c"
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -586,16 +586,16 @@
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
"path": "funnel-docs.config.json",
|
|
589
|
-
"sha256": "
|
|
589
|
+
"sha256": "e3f0a3852cebce3d841623380a3a373bca52c66261d77c004ed3fccc2d2ab00f"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.344",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.337",
|
|
599
599
|
"stepContractVersion": 3,
|
|
600
600
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
601
601
|
"managedFiles": [
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
636
|
-
"sha256": "
|
|
636
|
+
"sha256": "ad13739dda77829c110be98f552de1719875e35b99c86d46000da75d039b176d"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
639
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -733,16 +733,16 @@
|
|
|
733
733
|
},
|
|
734
734
|
{
|
|
735
735
|
"path": "funnel-docs.config.json",
|
|
736
|
-
"sha256": "
|
|
736
|
+
"sha256": "cf971e106f872653c8275bc3713967c7dbf37747035707dc7abfbda684e92f82"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.343",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.336",
|
|
746
746
|
"stepContractVersion": 3,
|
|
747
747
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
748
748
|
"managedFiles": [
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
782
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
783
|
-
"sha256": "
|
|
783
|
+
"sha256": "c57f35ee4c5a7c211f1dc6d6eac08bfc5ac992290618af674f6091d8f8f254dd"
|
|
784
784
|
},
|
|
785
785
|
{
|
|
786
786
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -880,16 +880,16 @@
|
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
882
|
"path": "funnel-docs.config.json",
|
|
883
|
-
"sha256": "
|
|
883
|
+
"sha256": "5e40b90ef5e3273c4b6ada17fbffe4bde68bbc1ba28dc66cc0cf93e7b4b6e913"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.342",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.335",
|
|
893
893
|
"stepContractVersion": 3,
|
|
894
894
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
895
895
|
"managedFiles": [
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
},
|
|
928
928
|
{
|
|
929
929
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
930
|
-
"sha256": "
|
|
930
|
+
"sha256": "e2e46708c34d80d83c3c1d27751a6cb5fe0498e3f40c68df5add7ff62f8f62f2"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
1029
|
"path": "funnel-docs.config.json",
|
|
1030
|
-
"sha256": "
|
|
1030
|
+
"sha256": "9916aad17947b27580833f6d2c324cc181a3aad137eb316814f246f34843318e"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.341",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "3bf19c149e0c203b4958a9476d561e1ebd25deb7f0592b7b3190029c2d307a21"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "d8d48c6b6b11c9ab8031f1d48da083125856a0362571263d53c828399d27d64f"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.70.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.70.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.348`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.341",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
5
|
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
6
6
|
"managedFiles": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "3bf19c149e0c203b4958a9476d561e1ebd25deb7f0592b7b3190029c2d307a21"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"path": "docs/funnelsgrove/qa/analytics.md",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"path": "funnel-docs.config.json",
|
|
141
|
-
"sha256": "
|
|
141
|
+
"sha256": "d8d48c6b6b11c9ab8031f1d48da083125856a0362571263d53c828399d27d64f"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "5f5cbc2b4bf5104cf0088abba9b83b768f82bef17c884e5b7b8eb66f28b22e68",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.341",
|
|
6
6
|
"files": [
|
|
7
7
|
{
|
|
8
8
|
"path": ".env.example",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"path": ".funnelsgrove-docs.json",
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "5d0483b01c719ec9c5993c91f53e0e172c8c4437021ec37a2378efd91ce3194f",
|
|
20
20
|
"mode": "100644"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "3bf19c149e0c203b4958a9476d561e1ebd25deb7f0592b7b3190029c2d307a21",
|
|
80
80
|
"mode": "100644"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"path": "funnel-docs.config.json",
|
|
209
|
-
"sha256": "
|
|
209
|
+
"sha256": "d8d48c6b6b11c9ab8031f1d48da083125856a0362571263d53c828399d27d64f",
|
|
210
210
|
"mode": "100644"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
|
|
|
17
17
|
|
|
18
18
|
### Package release order
|
|
19
19
|
|
|
20
|
-
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.70.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.44.0`, then `@funnelsgrove/analytics` `0.27.0`, then `@funnelsgrove/payments` `0.70.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.348`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
|
|
21
21
|
<!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
|
|
22
22
|
|
|
23
23
|
## Version-last policy
|