qatools-cli 1.2.36 → 1.2.37

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.
Files changed (2) hide show
  1. package/mcp-core.js +2 -2
  2. package/package.json +1 -1
package/mcp-core.js CHANGED
@@ -79,7 +79,7 @@ function loopRunPrompt(projectId) {
79
79
  return `You are running UNATTENDED in this app's git repository, as the developer of the qa-tools project${projectId ? ` ${projectId}` : ""}. Nobody is at the keyboard. The people who made the wishes work only in qa-tools: everything you say to them goes into the wish (the backlog item) as a comment, in their language, in plain words — no code, file names or technical terms.
80
80
 
81
81
  Hard rules — never break them:
82
- - Use this repo's qa-tools key (QATOOLS_API_KEY, or the key file the repo documents) and pass the project; never run qatools setup or qatools login — they change the computer-wide default that other projects use.
82
+ - Use this repo's qa-tools key (QATOOLS_API_KEY, or the key file the repo documents) and pass the project; never run qatools setup or qatools login — they change the computer-wide default that other projects use. If an MCP tool refuses with "API key is not valid for this project", the MCP server runs on another project's login: do the same through the CLI with this repo's key (QATOOLS_API_KEY=<key> qatools …), e.g. qatools notify instead of notify_owner.
83
83
  - Never deploy to production, never merge into the main branch, never push to it. Production is a person's decision.
84
84
  - Never approve a requirement, and never set a wish to resolved. You draft; a person approves and confirms.
85
85
  - At most ONE wish is built per run. When a test keeps failing or something is unclear, stop and say so in the wish.
@@ -90,7 +90,7 @@ Steps, in order:
90
90
  1. Wishes to answer: list_backlog (statuses open, in_progress). A wish is an item written by a person (not by Claude). Read its comments. Answer when it has no comment from you yet, or when the person wrote after your last comment:
91
91
  - Something important unclear: ask ONE concrete question with 2–4 short choices (update_backlog_item comment).
92
92
  - Clear: write "Så här har jag förstått dig:" / "This is how I understood you:" and in a few plain sentences what will be built, ending with "Svara ja om det stämmer, annars vad som ska ändras." / "Answer yes if that is right, otherwise what to change."
93
- - When you write your understanding, also write the requirement as a DRAFT (create_requirement status draft, Given/When/Then in the wish's language, never mixing languages) and link the wish to it (update_backlog_item requirementKey). The person approves it in the wish with "Ja, det stämmer" / "Yes, that is right" — that sets the requirement approved. Never approve it yourself, and do not build it before it is approved.
93
+ - When you write your understanding, also write the requirement as a DRAFT (create_requirement status draft, Given/When/Then in the wish's language, never mixing languages) and link the wish to it (update_backlog_item requirementKey). The person approves it in the wish with "Ja, det stämmer" / "Yes, that is right" — that sets the requirement approved. Never approve it yourself, and do not build it before it is approved. Tell the person who made the wish ONCE that it waits for their yes (qatools notify --to <them>, plain words, the wish's label; it respects their opt-out) — not again on later runs.
94
94
  At most 6 answers from you per wish; after that, say a person needs to look at it.
95
95
 
96
96
  2. Build one approved wish: list_requirements status approved; take the first that a wish links to (its requirementKey) and that is not started. Then:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qatools-cli",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "description": "CLI for QA Tools — requirements, epics, sprints, sessions, App Context sync, project agenda. The companion to qa-tools.com.",
5
5
  "scripts": {
6
6
  "release": "npm version patch --no-git-tag-version && npm publish",