plumbbob 0.13.4 → 0.13.6

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.
@@ -18,10 +18,10 @@ import { buildScope, checkpointsPath, clearTick, hasSession, intentPath, readSta
18
18
  import { conventionalSubject, withMarker } from "../lib/commitmsg.js";
19
19
  import { parseBuildScope } from "../lib/intent.js";
20
20
  import { advisory, ending, notice, printEnding, transition } from "../lib/notice.js";
21
- // The pointer finish leaves the turn on. Every other one is `handoff`'s, but a
22
- // finished session has no state left to render from, and past a closed build
23
- // the only move is framing the next goal.
24
- const NEXT_UP = '**Next Up**: Nothing planned - /plumbbob:plan';
21
+ // The pointer finish leaves the turn on, as its state table's one row. Every
22
+ // other one is `handoff`'s, but a finished session has no state left to render
23
+ // from, and past a closed build the only move is framing the next goal.
24
+ const NEXT_UP = 'Nothing planned - /plumbbob:plan';
25
25
  /**
26
26
  * Close out the active build: report tail, final commit, control-state cleanup.
27
27
  *
@@ -80,8 +80,8 @@ export function finish(cwd, args = []) {
80
80
  rmSync(join(sidecarDir(root), 'STATE'), { force: true });
81
81
  // The whole ending in the fixed order: the lead line, the advisory that
82
82
  // qualifies it (finishing without a report is guidance, never a gate; the
83
- // session is already closed by the time it prints), and the pointer, which is
84
- // the turn's last text. finish renders that pointer itself: it just cleared
83
+ // session is already closed by the time it prints), and the state table's
84
+ // pointer, which is the turn's last text. finish renders that pointer itself: it just cleared
85
85
  // the session `handoff` would read one from.
86
86
  const where = slug === null ? '.plumbbob/' : `.plumbbob/builds/${slug}/`;
87
87
  printEnding(root, {
@@ -102,7 +102,7 @@ export function finish(cwd, args = []) {
102
102
  remedy: '/plumbbob:finish normally writes the report first',
103
103
  }),
104
104
  ],
105
- pointer: NEXT_UP,
105
+ state: [{ label: 'Next Up', value: NEXT_UP }],
106
106
  }),
107
107
  });
108
108
  return 0;