@sechroom/cli 2026.7.1-rc.2c16fefa → 2026.7.2-rc.61703375

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/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2550,7 +2550,7 @@ function registerClose(program2) {
2550
2550
  "Managed-run selector \u2014 the sug_ decomposition the task belongs to. Locates the parked run so its matchTags/verdict contract are read from state, not assembled from args."
2551
2551
  ).option(
2552
2552
  "--no-status-flip",
2553
- "Skip the source status flip (for tasks whose status is managed elsewhere)"
2553
+ "Skip the status flip on a BARE task. (Managed runs never flip here \u2014 the run engine reflects the verdict onto the task on resume.)"
2554
2554
  ).option("--source <source>", "Source / lane stamp", "cli").addHelpText(
2555
2555
  "after",
2556
2556
  `
@@ -2635,14 +2635,14 @@ Examples:
2635
2635
  })
2636
2636
  );
2637
2637
  let taskStatus;
2638
- if (opts.statusFlip !== false) {
2638
+ if (opts.statusFlip !== false && !opts.decomposition) {
2639
2639
  const current = await runApi(
2640
2640
  "Reading task tags",
2641
2641
  async () => client.GET("/memories/{memoryId}", {
2642
2642
  params: { path: { memoryId: opts.task } }
2643
2643
  })
2644
2644
  );
2645
- const currentTags = current.item?.tags ?? current.tags ?? [];
2645
+ const currentTags = current?.item?.tags ?? current?.tags ?? [];
2646
2646
  const target = verdict === "blocked" ? "status:blocked" : "status:done";
2647
2647
  const nextTags = [
2648
2648
  ...new Set(currentTags.filter((t) => !t.startsWith("status:")))
@@ -2851,12 +2851,12 @@ Examples:
2851
2851
  $ sechroom decomposition reject sug_XXXX --reason "wrong shape"`
2852
2852
  );
2853
2853
  decomposition.command("decompose <briefId>").description(
2854
- "Decompose a governed brief into a candidate Task graph (POST /governed-briefs/{id}/decompose)"
2854
+ "Decompose a work brief into a candidate Task graph (POST /work-briefs/{id}/decompose)"
2855
2855
  ).action(async (briefId, _opts, cmd) => {
2856
2856
  const cfg = resolveConfig(cmd.optsWithGlobals());
2857
2857
  const data = await runApi("Queueing decomposition", async () => {
2858
2858
  const client = await makeClient(cfg);
2859
- return client.POST("/governed-briefs/{id}/decompose", {
2859
+ return client.POST("/work-briefs/{id}/decompose", {
2860
2860
  params: { path: { id: briefId } },
2861
2861
  body: { id: briefId }
2862
2862
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sechroom/cli",
3
- "version": "2026.7.1-rc.2c16fefa",
3
+ "version": "2026.7.2-rc.61703375",
4
4
  "description": "Sechroom CLI — a thin, generated client over the Sechroom HTTP API. An agent/human surface alongside MCP.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",