@dansyuqri/spark-joy 0.2.2 → 0.3.0

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/README.md CHANGED
@@ -37,6 +37,7 @@ spark-joy serve → review app choose an order, review chunk by chunk, e
37
37
  - **Mechanical changes are separated.** Lockfiles, generated files, binaries, renames and whitespace-only changes go into a collapsed *skim* section.
38
38
  - **Chunks stay small.** The target is 100–300 changed lines and validation warns above 400. Large hunks are split at function boundaries so they can go into different chunks.
39
39
  - **Progress survives new commits.** Review state is stored by hunk content, so after a push you re-extract and only new or changed hunks need another look.
40
+ - **Risk is agreed, not guessed.** Before labelling anything, the agent proposes what counts as high and medium risk for your repo and waits for you to confirm. The rubric is saved in `.spark-joy.md` at the repo root; commit it to share it with your team. Risky chunks show a label and a one-line reason.
40
41
  - **Map.** Chunks as a graph. Click one to see how its files' diffs link; click a file to review it.
41
42
  - **Summary.** A *What this PR does* list ties each feature to the chunks that implement it and shows how much of each has been reviewed.
42
43
 
@@ -82,6 +83,7 @@ In the app:
82
83
  | `spark-joy outline` | Compact list of every file and hunk with sizes and flags |
83
84
  | `spark-joy show <ids…> \| --file <path>` | Print hunks in full; accepts ranges like `h003..h010` |
84
85
  | `spark-joy links` | Cross-file links: which hunk uses a name another defines |
86
+ | `spark-joy rubric` | Print the agreed risk rubric from `.spark-joy.md` |
85
87
  | `spark-joy validate [--json]` | Check `plan.json` against the hunks |
86
88
  | `spark-joy serve [--port n]` | Start the review app |
87
89
  | `spark-joy export [--stdout]` | Write `review.md` |