@mastra/factory 0.17.3-alpha.1 → 0.17.3-alpha.2

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.
@@ -147,6 +147,8 @@ First, compose the **re-review handoff** — don't send it to the conversation y
147
147
 
148
148
  End the handoff with `Review runtime: <model>, reasoning setting: <reasoning>.`, copying both values verbatim from the current `factory-phase` signal.
149
149
 
150
+ **The head must not have moved.** Immediately before publishing, run `gh pr view <number> --json headRefOid --jq .headRefOid` and compare it with the SHA your verification ran on (`git rev-parse HEAD`). A push can land while you verify or wait on bots, and a verdict on a superseded head misleads the author. If the head moved, do not publish: refresh the checkout to the new head, review the new commits and re-run the verification they affect, revise the handoff, then check again. Name the reviewed head SHA in the handoff.
151
+
150
152
  Next, publish the re-review on the PR itself — this is part of every pass, not something to wait to be asked for. Write the handoff body to `.artifacts/factory-rereview/pr-<number>.md` and submit a PR review matching the verdict:
151
153
 
152
154
  - approve → `gh pr review <number> --approve --body-file <file>`
@@ -139,6 +139,8 @@ First, compose the **review handoff** — don't send it to the conversation yet;
139
139
 
140
140
  End the handoff with `Review runtime: <model>, reasoning setting: <reasoning>.`, copying both values verbatim from the current `factory-phase` signal.
141
141
 
142
+ **The head must not have moved.** Immediately before publishing, run `gh pr view <number> --json headRefOid --jq .headRefOid` and compare it with the SHA your verification ran on (`git rev-parse HEAD`). A push can land while you verify or wait on bots, and a verdict on a superseded head misleads the author. If the head moved, do not publish: refresh the checkout to the new head, review the new commits and re-run the verification they affect, revise the handoff, then check again. Name the reviewed head SHA in the handoff.
143
+
142
144
  Next, publish the review on the PR itself — this is part of every pass, not something to wait to be asked for. Write the handoff body to `.artifacts/factory-review/pr-<number>.md` and submit a PR review matching the verdict:
143
145
 
144
146
  - approve → `gh pr review <number> --approve --body-file <file>`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/factory",
3
- "version": "0.17.3-alpha.1",
3
+ "version": "0.17.3-alpha.2",
4
4
  "description": "Mastra Software Factory module: the server core behind the Mastra Software Factory — storage domains, integrations, and surfaces for agent-powered software delivery",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -59,9 +59,9 @@
59
59
  "zod": "^4.6.4",
60
60
  "@mastra/auth-studio": "1.3.7",
61
61
  "@mastra/auth-workos": "1.6.5",
62
- "@mastra/code-sdk": "1.8.4-alpha.1",
63
- "@mastra/core": "1.72.0-alpha.1",
64
- "@mastra/slack": "1.6.4"
62
+ "@mastra/core": "1.72.0-alpha.2",
63
+ "@mastra/slack": "1.7.0-alpha.0",
64
+ "@mastra/code-sdk": "1.8.4-alpha.2"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/node": "22.20.1",
@@ -70,11 +70,11 @@
70
70
  "typescript": "^6.0.3",
71
71
  "typescript-eslint": "^8.57.0",
72
72
  "vitest": "4.1.11",
73
+ "@mastra/libsql": "1.23.4-alpha.0",
74
+ "@mastra/pg": "1.27.2-alpha.1",
73
75
  "@internal/lint": "0.0.137",
74
- "@mastra/libsql": "1.23.3",
75
76
  "@internal/types-builder": "0.0.112",
76
- "@internal/workspace": "0.0.9",
77
- "@mastra/pg": "1.27.2-alpha.0"
77
+ "@internal/workspace": "0.0.9"
78
78
  },
79
79
  "engines": {
80
80
  "node": ">=22.19.0"