dsh-solution-ledger 0.2.1 → 0.2.3

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/lib/index.js +8 -9
  2. package/package.json +2 -1
package/lib/index.js CHANGED
@@ -209,14 +209,13 @@ export async function apply(ctx, config) {
209
209
  name: 'solution_log',
210
210
  description:
211
211
  'Record a problem whose root cause was not obvious, or a route you chose after genuinely rejecting a '
212
- + 'workable alternative, so a later session can skip the same search.\n\n'
213
- + 'Do NOT record how something was implemented, what a file contains, or a decision where no alternative '
214
- + 'was seriously considered. If a note would never appear in a failure message and would not change '
215
- + "anyone's next decision, it is a log line, not a ledger entry.\n\n"
216
- + 'Before calling, all three must be true: (1) a future session is likely to hit the same situation; '
217
- + '(2) the answer is not obvious from one glance at the code or docs; (3) skipping this entry would '
218
- + 'cost that session real time.\n\n'
219
- + 'New entries start as drafts and are not surfaced automatically until the user confirms them.',
212
+ + 'workable alternative, so a later session can skip the same search. Do NOT record how something was '
213
+ + 'implemented, what a file contains, or a decision where no alternative was seriously considered. If a '
214
+ + "note would never appear in a failure message and would not change anyone's next decision, it is a log "
215
+ + 'line, not a ledger entry. Before calling, all three must be true: (1) a future session is likely to '
216
+ + 'hit the same situation; (2) the answer is not obvious from one glance at the code or docs; (3) '
217
+ + 'skipping this entry would cost that session real time. New entries start as drafts and are not '
218
+ + 'surfaced automatically until the user confirms them.',
220
219
  parameters: {
221
220
  kind: {
222
221
  type: 'string',
@@ -233,7 +232,7 @@ export async function apply(ctx, config) {
233
232
  title: {
234
233
  type: 'string',
235
234
  required: true,
236
- description: 'One-line conclusion that reads as a finding. A statement like "we use X to do Y" is an implementation note, not a finding.',
235
+ description: 'One-line conclusion that reads as a finding. A statement like `we use X to do Y` is an implementation note, not a finding.',
237
236
  },
238
237
  problem: {
239
238
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-solution-ledger",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,6 +12,7 @@
12
12
  "exports": {
13
13
  ".": "./lib/index.js",
14
14
  "./client": "./lib/client.js",
15
+ "./cordis.patch.yml": "./cordis.patch.yml",
15
16
  "./locale/*.json": "./locale/*.json",
16
17
  "./icon": "./icon.svg",
17
18
  "./package.json": "./package.json"