@whaaaley/crush 0.2.7 → 0.3.0-next.11

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 (77) hide show
  1. package/README.md +54 -14
  2. package/SKILL.md +4 -19
  3. package/dist/crush.tables.d.ts +26 -122
  4. package/dist/crush.tables.js +8 -21
  5. package/dist/instrument/instrument.operations.js +1 -1
  6. package/dist/judge/counters.d.ts +6 -0
  7. package/dist/judge/counters.js +89 -1
  8. package/dist/judge/edges/api.d.ts +24 -4
  9. package/dist/judge/edges/api.js +20 -6
  10. package/dist/judge/edges/hints.reporter.js +2 -2
  11. package/dist/judge/edges/judge.edges.d.ts +2 -3
  12. package/dist/judge/edges/judge.edges.js +1 -2
  13. package/dist/judge/edges/plugin.d.ts +12 -9
  14. package/dist/judge/edges/plugin.js +34 -49
  15. package/dist/judge/edges/plugin.npm.d.ts +2 -0
  16. package/dist/judge/edges/plugin.npm.js +2 -0
  17. package/dist/judge/edges/vitest.d.ts +1 -3
  18. package/dist/judge/edges/vitest.js +2 -3
  19. package/dist/judge/hints.d.ts +1 -1
  20. package/dist/judge/hints.js +0 -3
  21. package/dist/judge/judge.schema.d.ts +10 -1
  22. package/dist/judge/judge.schema.js +0 -2
  23. package/dist/judge/provided.d.ts +31 -0
  24. package/dist/judge/provided.js +2 -0
  25. package/dist/judge/refusals.d.ts +2 -2
  26. package/dist/judge/refusals.js +2 -2
  27. package/dist/judge/report.test.js +11 -12
  28. package/dist/judge/runner.js +35 -58
  29. package/dist/judge/task-meta.d.ts +0 -6
  30. package/dist/questions/questions.operations.d.ts +4 -3
  31. package/dist/questions/questions.operations.js +11 -11
  32. package/dist/questions/questions.schema.d.ts +3 -3
  33. package/dist/questions/questions.schema.js +2 -2
  34. package/dist/record/edges/findings.db.d.ts +16 -0
  35. package/dist/record/edges/findings.db.js +25 -0
  36. package/dist/record/edges/parts.db.d.ts +1 -1
  37. package/dist/record/edges/parts.db.js +3 -15
  38. package/dist/record/edges/plan.db.d.ts +1 -0
  39. package/dist/record/edges/plan.db.js +5 -0
  40. package/dist/record/edges/record.db.d.ts +1 -1
  41. package/dist/record/edges/record.db.js +1 -1
  42. package/dist/record/parts.operations.d.ts +2 -3
  43. package/dist/record/parts.operations.js +1 -2
  44. package/migrations/main/20261206094906_plugin_findings/migration.sql +20 -0
  45. package/migrations/main/20261206094906_plugin_findings/snapshot.json +3652 -0
  46. package/migrations/main/20261206102548_drop_explore/migration.sql +17 -0
  47. package/migrations/main/20261206102548_drop_explore/snapshot.json +3550 -0
  48. package/package.json +3 -5
  49. package/references/consumer-setup.md +0 -1
  50. package/dist/explore/edges/explore.d.ts +0 -60
  51. package/dist/explore/edges/explore.db.d.ts +0 -22
  52. package/dist/explore/edges/explore.db.js +0 -55
  53. package/dist/explore/edges/explore.js +0 -305
  54. package/dist/explore/edges/random.d.ts +0 -2
  55. package/dist/explore/edges/random.js +0 -32
  56. package/dist/explore/explore.operations.d.ts +0 -30
  57. package/dist/explore/explore.operations.js +0 -117
  58. package/dist/explore/limits.operations.d.ts +0 -14
  59. package/dist/explore/limits.operations.js +0 -20
  60. package/dist/explore/targets.operations.d.ts +0 -36
  61. package/dist/explore/targets.operations.js +0 -32
  62. package/dist/explore/utils/draws.d.ts +0 -6
  63. package/dist/explore/utils/draws.js +0 -2
  64. package/dist/explore/utils/edits.d.ts +0 -15
  65. package/dist/explore/utils/edits.js +0 -151
  66. package/dist/explore/utils/guide.d.ts +0 -23
  67. package/dist/explore/utils/guide.js +0 -35
  68. package/dist/explore/utils/keep.d.ts +0 -10
  69. package/dist/explore/utils/keep.js +0 -61
  70. package/dist/explore/utils/pools.d.ts +0 -17
  71. package/dist/explore/utils/pools.js +0 -121
  72. package/dist/explore/utils/reads.d.ts +0 -19
  73. package/dist/explore/utils/reads.js +0 -118
  74. package/dist/explore/utils/twin.d.ts +0 -21
  75. package/dist/explore/utils/twin.js +0 -55
  76. package/dist/judge/explore.test.d.ts +0 -1
  77. package/dist/judge/explore.test.js +0 -101
@@ -0,0 +1,17 @@
1
+ CREATE TABLE `plugin_findings` (
2
+ `finding_key` text NOT NULL,
3
+ `kind` text NOT NULL,
4
+ `file` text NOT NULL,
5
+ `line` integer NOT NULL,
6
+ `function` text NOT NULL,
7
+ `input` text NOT NULL,
8
+ `target` text NOT NULL,
9
+ `source_hash` text NOT NULL,
10
+ `plugin` text NOT NULL,
11
+ CONSTRAINT `plugin_findings_pk` PRIMARY KEY(`plugin`, `target`, `finding_key`),
12
+ CONSTRAINT "plugin_findings_kind_check" CHECK("kind" in ('throw', 'property'))
13
+ );
14
+ --> statement-breakpoint
15
+ DROP TABLE `explore_findings`;--> statement-breakpoint
16
+ DROP TABLE `explore_runs`;--> statement-breakpoint
17
+ DROP TABLE `test_file_properties`;