@aryasaatvik/scratchpad 0.3.4 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## @aryasaatvik/scratchpad@0.3.6
2
+
3
+ ### `feedback list` hides installed fixes by default
4
+
5
+ `scratchpad feedback list` and `scratchpad feedback review` now leave out occurrences whose disposition is `installed`, as they already did for `dismissed` and `verified`. An installed fix is in place and waits only on a behavioral check, so it no longer fills the default listing. Pass `--all` to include them, or `--disposition installed` to list only them.
6
+
7
+ ## @aryasaatvik/scratchpad@0.3.5
8
+
9
+ ### `feedback list` shows review dispositions
10
+
11
+ 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.
12
+
1
13
  ## @aryasaatvik/scratchpad@0.3.4
2
14
 
3
15
  ### Clearer `depends_on` errors in `backlog validate`
@@ -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.4",
48411
+ version: "0.3.6",
48412
48412
  description: "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
48413
48413
  keywords: [
48414
48414
  "bun",
@@ -50392,6 +50392,11 @@ var dispositions = [
50392
50392
  "installed",
50393
50393
  "verified"
50394
50394
  ];
50395
+ var hiddenByDefault = [
50396
+ "dismissed",
50397
+ "installed",
50398
+ "verified"
50399
+ ];
50395
50400
  var FeedbackClassification = Struct({
50396
50401
  scope: Literals(scopes),
50397
50402
  kind: Literals(kinds),
@@ -50799,7 +50804,7 @@ var listFeedback = (input) => gen2(function* () {
50799
50804
  continue;
50800
50805
  if (input.dispositions !== undefined && !input.dispositions.includes(disposition))
50801
50806
  continue;
50802
- if (input.dispositions === undefined && !input.all && (disposition === "dismissed" || disposition === "verified"))
50807
+ if (input.dispositions === undefined && !input.all && disposition !== undefined && hiddenByDefault.includes(disposition))
50803
50808
  continue;
50804
50809
  entries.push({
50805
50810
  path: file,
@@ -50822,7 +50827,7 @@ var printListing = (listing, json, empty) => gen2(function* () {
50822
50827
  skipped: listing.skipped
50823
50828
  });
50824
50829
  }
50825
- yield* log2(listing.entries.length === 0 ? empty : listing.entries.map((entry) => `${entry.status} ${entry.path}`).join(`
50830
+ yield* log2(listing.entries.length === 0 ? empty : listing.entries.map((entry) => `${entry.disposition ?? entry.status} ${entry.path}`).join(`
50826
50831
  `));
50827
50832
  if (listing.skipped.length > 0) {
50828
50833
  yield* error([
@@ -50870,7 +50875,7 @@ var listCommand = make36("list", {
50870
50875
  global: Boolean6("global").pipe(withDefault4(false), withDescription3("Use the host-wide ~/.scratchpad instead of the project notes root")),
50871
50876
  status: optional4(String9("status")).pipe(withDescription3("Only list feedback with this status (new, review, classified)")),
50872
50877
  disposition: atLeast2(Literals4("disposition", dispositions).pipe(withDescription3("Only list occurrences with this disposition; repeatable")), 0),
50873
- all: Boolean6("all").pipe(withDefault4(false), withDescription3("Include dismissed and verified occurrences")),
50878
+ all: Boolean6("all").pipe(withDefault4(false), withDescription3("Include dismissed, installed, and verified occurrences")),
50874
50879
  json: jsonFlag
50875
50880
  }, ({ global: global2, status, disposition, all, json }) => gen2(function* () {
50876
50881
  const listing = yield* listFeedback({
@@ -51449,9 +51454,12 @@ An explicitly requested \`agent-rules\` feedback review owns diagnosis and fix p
51449
51454
  storage contract. Capture itself neither schedules review nor launches a remediation task.
51450
51455
 
51451
51456
  \`scratchpad feedback list [--global] [--status <s>] [--disposition <d>]... [--all] [--json]\` lists
51452
- occurrences; files without a \`status\` read as \`new\`, and files whose front matter does not decode
51453
- (older free-form notes, or a missing \`occurred_at\`) are reported as skipped with the reason, on
51454
- stderr or under \`skipped\` with \`--json\`, rather than silently dropped.
51457
+ occurrences, hiding \`dismissed\`, \`installed\`, and \`verified\` ones unless \`--all\` or \`--disposition\`
51458
+ asks for them. Each text line starts with the occurrence's review disposition, or its triage
51459
+ \`status\` when no disposition is recorded yet (\`resolve\` leaves \`status\` unchanged; \`--json\` reports
51460
+ both). Files without a \`status\` read as \`new\`, and files whose front matter does not decode (older
51461
+ free-form notes, or a missing \`occurred_at\`) are reported as skipped with the reason, on stderr or
51462
+ under \`skipped\` with \`--json\`, rather than silently dropped.
51455
51463
  \`scratchpad feedback review [--global] [--classify] [--json]\` lists the \`new\` and \`review\` queue,
51456
51464
  and \`--classify\` first classifies entries that have no classification yet.
51457
51465
 
@@ -51487,9 +51495,11 @@ and leaves the body and every other key unchanged; resolving again replaces them
51487
51495
  \`disposition_review\` is relative to the occurrence's feedback folder when the record sits under it
51488
51496
  (\`reviews/<name>.md\`), otherwise \`~/\`-relative when it is under the home directory, else absolute.
51489
51497
  The review record stays the authority for the reasoning; the front matter only keeps settled items
51490
- out of the queue. \`feedback list\` and \`feedback review\` hide \`dismissed\` and \`verified\` occurrences
51491
- unless \`--all\` or a matching \`--disposition\` is passed. Occurrences whose front matter does not
51492
- decode cannot be resolved (the error names why); record their disposition in the review record only.
51498
+ out of the queue. \`feedback list\` and \`feedback review\` hide \`dismissed\`, \`installed\`, and
51499
+ \`verified\` occurrences unless \`--all\` or a matching \`--disposition\` is passed; list installed fixes
51500
+ awaiting a behavioral check with \`feedback list --disposition installed\`. Occurrences whose front
51501
+ matter does not decode cannot be resolved (the error names why); record their disposition in the
51502
+ review record only.
51493
51503
 
51494
51504
  Report recurrence by distinct incident/session, affected instruction, host, harness, and known
51495
51505
  model. Count unknown metadata separately. Multiple worker reports of the same incident count once.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aryasaatvik/scratchpad",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
5
5
  "keywords": [
6
6
  "bun",