@testchimp/cli 0.1.11 → 0.1.12
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/core/tools.js +15 -8
- package/package.json +1 -1
package/dist/core/tools.js
CHANGED
|
@@ -125,9 +125,11 @@ export const TOOL_DEFINITIONS = [
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
kebab: "create-user-story",
|
|
128
|
-
description: "Create a user story on the TestChimp project and
|
|
129
|
-
"
|
|
130
|
-
"
|
|
128
|
+
description: "Create a user story on the TestChimp project and allocate a real US-<ordinalId>. " +
|
|
129
|
+
"Response includes content: canonical stub markdown already containing id: US-<ordinalId>. " +
|
|
130
|
+
"BLOCKING workflow: call this FIRST → Write the returned content to the repo plans/stories path " +
|
|
131
|
+
"(edit body as needed but keep id:) → call update-user-story with the full markdown. " +
|
|
132
|
+
"Never write story markdown that omits id. platformFilePath must be under plans/stories/ and end with .md.",
|
|
131
133
|
inputSchema: S.createUserStoryInput,
|
|
132
134
|
execute: async (args, { postMcp }) => {
|
|
133
135
|
const a = args;
|
|
@@ -139,7 +141,12 @@ export const TOOL_DEFINITIONS = [
|
|
|
139
141
|
},
|
|
140
142
|
{
|
|
141
143
|
kebab: "create-test-scenario",
|
|
142
|
-
description: "Create a test scenario linked to a user story
|
|
144
|
+
description: "Create a test scenario linked to a user story and allocate a real TS-<ordinalId>. " +
|
|
145
|
+
"Response includes content: canonical stub markdown already containing id: TS-<ordinalId> and story: US-<n>. " +
|
|
146
|
+
"BLOCKING workflow: call this FIRST → Write the returned content to the repo plans/scenarios path " +
|
|
147
|
+
"(edit body as needed but keep id: and story:) → call update-test-scenario with the full markdown. " +
|
|
148
|
+
"Never write scenario markdown that omits id. update-test-scenario rejects missing id/story with a clear error. " +
|
|
149
|
+
"platformFilePath must be under plans/scenarios/ and end with .md. " +
|
|
143
150
|
"userStoryOrdinalId is the numeric part of the parent US-<n> id.",
|
|
144
151
|
inputSchema: S.createTestScenarioInput,
|
|
145
152
|
execute: async (args, { postMcp }) => {
|
|
@@ -154,8 +161,8 @@ export const TOOL_DEFINITIONS = [
|
|
|
154
161
|
{
|
|
155
162
|
kebab: "update-user-story",
|
|
156
163
|
description: "Sync a user story markdown file to the platform after local edits. " +
|
|
157
|
-
"
|
|
158
|
-
"
|
|
164
|
+
"Requires frontmatter id: US-<n> (platform-issued). Missing id returns an error telling you to call create-user-story first. " +
|
|
165
|
+
"Parses frontmatter (id, title, priority) and updates the linked support file and entity.",
|
|
159
166
|
inputSchema: S.updatePlanMarkdownInput,
|
|
160
167
|
execute: async (args, { postMcp }) => {
|
|
161
168
|
const a = args;
|
|
@@ -165,8 +172,8 @@ export const TOOL_DEFINITIONS = [
|
|
|
165
172
|
{
|
|
166
173
|
kebab: "update-test-scenario",
|
|
167
174
|
description: "Sync a test scenario markdown file to the platform after local edits. " +
|
|
168
|
-
"
|
|
169
|
-
"
|
|
175
|
+
"Requires frontmatter id: TS-<n> and story: US-<n>. Missing either returns an error telling you to call create-test-scenario first. " +
|
|
176
|
+
"Parses frontmatter and updates linking if story changes.",
|
|
170
177
|
inputSchema: S.updatePlanMarkdownInput,
|
|
171
178
|
execute: async (args, { postMcp }) => {
|
|
172
179
|
const a = args;
|