@aryasaatvik/scratchpad 0.3.3 → 0.3.5

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## @aryasaatvik/scratchpad@0.3.5
2
+
3
+ ### `feedback list` shows review dispositions
4
+
5
+ The text output of `scratchpad feedback list` and `scratchpad feedback review` now starts each line with the occurrence's review disposition (`installed`, `deferred`, and so on) when `feedback resolve` has recorded one, and with its triage status (`new`, `review`, `classified`) otherwise. Before, every line showed the status, which `resolve` leaves unchanged, so reviewed reports still read as `new`. `--json` is unchanged and still reports both fields.
6
+
7
+ ## @aryasaatvik/scratchpad@0.3.4
8
+
9
+ ### Clearer `depends_on` errors in `backlog validate`
10
+
11
+ `scratchpad backlog validate` now tells a missing `depends_on` target apart from one that exists but is not a backlog record of the same kind. A milestone that names a handoff note reports `depends_on target is not a backlog milestone`, not `does not exist`. The backlog contract now says that an issue's `depends_on` names issues, a milestone's names milestones, and any other prerequisite is linked from the body.
12
+
1
13
  ## @aryasaatvik/scratchpad@0.3.3
2
14
 
3
15
  ### Install from a private repository's releases
@@ -48408,7 +48408,7 @@ var bundleHtml = async (options) => {
48408
48408
  // package.json
48409
48409
  var package_default = {
48410
48410
  name: "@aryasaatvik/scratchpad",
48411
- version: "0.3.3",
48411
+ version: "0.3.5",
48412
48412
  description: "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
48413
48413
  keywords: [
48414
48414
  "bun",
@@ -49031,6 +49031,7 @@ var loadBacklog = fn2("cli.backlog.loadBacklog")(function* () {
49031
49031
  });
49032
49032
  var validateBacklog = fn2("cli.backlog.validateBacklog")(function* () {
49033
49033
  const project = yield* Project;
49034
+ const fs = yield* FileSystem;
49034
49035
  const path = yield* Path;
49035
49036
  const loaded = yield* loadBacklog();
49036
49037
  const issues = loaded.records.filter((record) => record.kind === "issue");
@@ -49044,9 +49045,10 @@ var validateBacklog = fn2("cli.backlog.validateBacklog")(function* () {
49044
49045
  dependencyPaths.set(record.absolutePath, dependencies);
49045
49046
  for (const [index, target] of dependencies.entries()) {
49046
49047
  if (recordByPath.get(target)?.kind !== record.kind) {
49048
+ const reason = (yield* fs.exists(target)) ? `is not a backlog ${record.kind}` : "does not exist";
49047
49049
  problems.push({
49048
49050
  file: record.file,
49049
- problem: `depends_on target does not exist: ${record.dependsOn?.[index]}`
49051
+ problem: `depends_on target ${reason}: ${record.dependsOn?.[index]}`
49050
49052
  });
49051
49053
  }
49052
49054
  }
@@ -50820,7 +50822,7 @@ var printListing = (listing, json, empty) => gen2(function* () {
50820
50822
  skipped: listing.skipped
50821
50823
  });
50822
50824
  }
50823
- yield* log2(listing.entries.length === 0 ? empty : listing.entries.map((entry) => `${entry.status} ${entry.path}`).join(`
50825
+ yield* log2(listing.entries.length === 0 ? empty : listing.entries.map((entry) => `${entry.disposition ?? entry.status} ${entry.path}`).join(`
50824
50826
  `));
50825
50827
  if (listing.skipped.length > 0) {
50826
50828
  yield* error([
@@ -51228,11 +51230,13 @@ depends_on:
51228
51230
  Omit \`milestone\` or \`depends_on\` when inapplicable. Keep status vocabulary repository-defined. Use
51229
51231
  resolvable relative Markdown paths and explain dependency reasons in the body.
51230
51232
 
51231
- Every \`milestone\` and \`depends_on\` path is relative to the file that contains it. Issues and
51232
- milestones may be nested in subfolders at any depth under \`backlog/issues/\` and
51233
- \`backlog/milestones/\`; a nested issue climbs one more \`../\` per level (\`backlog/issues/sub/i1.md\`
51234
- names \`../../milestones/m1.md\`). \`scratchpad backlog new\` creates flat files, and validation, the
51235
- graph, and GitHub sync all resolve nested files the same way.
51233
+ Every \`milestone\` and \`depends_on\` path is relative to the file that contains it. An issue's
51234
+ \`depends_on\` names other issues and a milestone's names other milestones; link any other
51235
+ prerequisite, such as a handoff or research note, from the body instead. Issues and milestones may
51236
+ be nested in subfolders at any depth under \`backlog/issues/\` and \`backlog/milestones/\`; a nested
51237
+ issue climbs one more \`../\` per level (\`backlog/issues/sub/i1.md\` names \`../../milestones/m1.md\`).
51238
+ \`scratchpad backlog new\` creates flat files, and validation, the graph, and GitHub sync all resolve
51239
+ nested files the same way.
51236
51240
 
51237
51241
  ## Materialize and update
51238
51242
 
@@ -51445,9 +51449,12 @@ An explicitly requested \`agent-rules\` feedback review owns diagnosis and fix p
51445
51449
  storage contract. Capture itself neither schedules review nor launches a remediation task.
51446
51450
 
51447
51451
  \`scratchpad feedback list [--global] [--status <s>] [--disposition <d>]... [--all] [--json]\` lists
51448
- occurrences; files without a \`status\` read as \`new\`, and files whose front matter does not decode
51449
- (older free-form notes, or a missing \`occurred_at\`) are reported as skipped with the reason, on
51450
- stderr or under \`skipped\` with \`--json\`, rather than silently dropped.
51452
+ occurrences, hiding \`dismissed\` and \`verified\` ones unless \`--all\` or \`--disposition\` asks for them.
51453
+ Each text line starts with the occurrence's review disposition, or its triage \`status\` when no
51454
+ disposition is recorded yet (\`resolve\` leaves \`status\` unchanged; \`--json\` reports both). Files
51455
+ without a \`status\` read as \`new\`, and files whose front matter does not decode (older free-form
51456
+ notes, or a missing \`occurred_at\`) are reported as skipped with the reason, on stderr or under
51457
+ \`skipped\` with \`--json\`, rather than silently dropped.
51451
51458
  \`scratchpad feedback review [--global] [--classify] [--json]\` lists the \`new\` and \`review\` queue,
51452
51459
  and \`--classify\` first classifies entries that have no classification yet.
51453
51460
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aryasaatvik/scratchpad",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
5
5
  "keywords": [
6
6
  "bun",