@link-assistant/hive-mind 2.5.0 → 2.5.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 +6 -0
- package/package.json +1 -1
- package/src/development-log.lib.mjs +3 -0
- package/src/solve.mjs +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 2.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4054bcf: Commit the `--development-log` artifacts before signalling pull request readiness (issue #2048), so the development-log commit is part of the diff that CI and `--auto-restart-until-mergeable` evaluate. Previously the log commit landed after the "Ready to merge" signal and could break CI (e.g. a missing changeset) with no readiness re-evaluation.
|
|
8
|
+
|
|
3
9
|
## 2.5.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -234,6 +234,9 @@ export const collectAndCommitDevelopmentLogArtifacts = async ({ enabled, reposit
|
|
|
234
234
|
return { skipped: 'missing-repository-path' };
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
+
// Issue #2048: verbose trace so the commit timing (relative to PR readiness signals) is diagnosable from logs.
|
|
238
|
+
await log?.(`🔍 Development log finalize: issue #${issueNumber ?? '?'}, PR #${prNumber ?? 'pending'}, branch ${branchName ?? 'none'}, session ${sessionId ?? 'none'}`, { verbose: true });
|
|
239
|
+
|
|
237
240
|
try {
|
|
238
241
|
const artifacts = await writeDevelopmentLogArtifacts({
|
|
239
242
|
repositoryPath,
|
package/src/solve.mjs
CHANGED
|
@@ -1227,6 +1227,8 @@ try {
|
|
|
1227
1227
|
|
|
1228
1228
|
await enforceRequestedBaseBranch();
|
|
1229
1229
|
|
|
1230
|
+
// Issue #2048: commit+push dev log BEFORE any PR readiness signal so its CI gates readiness (was last, breaking CI post-signal; PR #2046, docs/case-studies/issue-2048). Idempotent: trailing call is a no-op. prettier-ignore
|
|
1231
|
+
await finalizeDevelopmentLog();
|
|
1230
1232
|
// Issue #1263 / #1728: Working session summary attachment.
|
|
1231
1233
|
// Routed through the shared maybeAttachWorkingSessionSummary helper so that
|
|
1232
1234
|
// top-level solve, auto-restart-until-mergeable, and watch-mode iterations
|
|
@@ -1466,7 +1468,7 @@ try {
|
|
|
1466
1468
|
// Issue #1516: Cleanup after all signals (was before verifyResults, caused premature commits)
|
|
1467
1469
|
await cleanupClaudeFile(tempDir, branchName, claudeCommitHash, argv);
|
|
1468
1470
|
|
|
1469
|
-
await finalizeDevelopmentLog(); // Issue #1596:
|
|
1471
|
+
await finalizeDevelopmentLog(); // Issue #1596/#2048: idempotent no-op on the success path (already committed before readiness signal); still preserves late/error work.
|
|
1470
1472
|
await endWorkSession({ isContinueMode, prNumber, argv, log, formatAligned, $, logsAttached });
|
|
1471
1473
|
} catch (error) {
|
|
1472
1474
|
await finalizeDevelopmentLog(); // Preserve failed/interrupted sessions too.
|