next-issue 17.2.13 → 17.2.15

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.
@@ -8,7 +8,7 @@ import { revertFailedFix } from './revert.mjs';
8
8
  import { logIssueError } from './skip.mjs';
9
9
  import { dropState, writeState } from './state.mjs';
10
10
  import { COMMENT_CUT, fitComment } from './text.mjs';
11
- import { UnsettledBase } from './unsettled.mjs';
11
+ import { blocksLanding, heldOnBase, UnsettledBase } from './unsettled.mjs';
12
12
  export async function escalateAndFinish(job, note, reason) {
13
13
  const reverted = await revertFailedFix(job);
14
14
  try {
@@ -68,6 +68,9 @@ export async function finishClosing(context, issue, log, state, started) {
68
68
  }
69
69
  export async function dropClosed(context, log, issue, saved) {
70
70
  log.event('issue.drop', { title: issue.title, reason: 'closed' });
71
+ if (saved !== undefined && blocksLanding(saved, context.base)) {
72
+ log.event('land.released', { held: heldOnBase(saved, context.base), reason: 'closed' });
73
+ }
71
74
  try {
72
75
  if (openedOwnWorktree(saved)) {
73
76
  await cleanUp(context, log, saved.branch);
@@ -54,7 +54,7 @@ function replyBlock(reply, questions = []) {
54
54
  ? 'The last run handed the issue to a person. A person with write access to the repository answered as below. Follow this guidance.'
55
55
  : 'The last run handed the issue to a person. No person with write access to the repository answered in a comment.',
56
56
  questions.length > 0
57
- ? `The implementer of the last run asked these questions:\n\n${numbered(questions)}`
57
+ ? `The implementer of the last run asked these questions:\n\n${untrusted(numbered(questions))}`
58
58
  : '',
59
59
  reply.join('\n\n'),
60
60
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-issue",
3
- "version": "17.2.13",
3
+ "version": "17.2.15",
4
4
  "description": "Autonomous issue harness driven by the Claude Agent SDK",
5
5
  "keywords": [
6
6
  "github",