lastlight-core 0.34.1 → 0.35.1

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 (96) hide show
  1. package/config/default.yaml +114 -138
  2. package/dist/config/config.d.ts +11 -0
  3. package/dist/config/config.js +100 -30
  4. package/dist/config/config.js.map +1 -1
  5. package/dist/engine/dispatcher.d.ts +5 -0
  6. package/dist/engine/dispatcher.js +13 -1
  7. package/dist/engine/dispatcher.js.map +1 -1
  8. package/dist/engine/github/github.d.ts +49 -0
  9. package/dist/engine/github/github.js +53 -1
  10. package/dist/engine/github/github.js.map +1 -1
  11. package/dist/engine/github/review-poster.d.ts +16 -3
  12. package/dist/engine/github/review-poster.js +3 -3
  13. package/dist/engine/github/review-poster.js.map +1 -1
  14. package/dist/engine/github/review-summary.d.ts +2 -2
  15. package/dist/engine/github/review-summary.js +1 -1
  16. package/dist/engine/github/review-summary.js.map +1 -1
  17. package/dist/engine/pr-decisions.d.ts +29 -0
  18. package/dist/engine/pr-decisions.js +145 -100
  19. package/dist/engine/pr-decisions.js.map +1 -1
  20. package/dist/engine/pr-discussion.d.ts +23 -0
  21. package/dist/engine/pr-discussion.js +55 -0
  22. package/dist/engine/pr-discussion.js.map +1 -0
  23. package/dist/engine/pr-intent.d.ts +32 -0
  24. package/dist/engine/pr-intent.js +55 -0
  25. package/dist/engine/pr-intent.js.map +1 -0
  26. package/dist/engine/pr-state.d.ts +23 -2
  27. package/dist/engine/pr-state.js +24 -3
  28. package/dist/engine/pr-state.js.map +1 -1
  29. package/dist/engine/review-check.d.ts +2 -0
  30. package/dist/engine/review-check.js +6 -0
  31. package/dist/engine/review-check.js.map +1 -1
  32. package/dist/engine/review-spec.d.ts +2 -87
  33. package/dist/engine/review-spec.js +2 -445
  34. package/dist/engine/review-spec.js.map +1 -1
  35. package/dist/engine/review-triage.d.ts +27 -9
  36. package/dist/engine/review-triage.js +20 -7
  37. package/dist/engine/review-triage.js.map +1 -1
  38. package/dist/engine/supersede.d.ts +42 -0
  39. package/dist/engine/supersede.js +72 -0
  40. package/dist/engine/supersede.js.map +1 -0
  41. package/dist/evals-api.d.ts +7 -0
  42. package/dist/evals-api.js +21 -0
  43. package/dist/evals-api.js.map +1 -1
  44. package/dist/sandbox/index.d.ts +9 -0
  45. package/dist/sandbox/index.js +24 -0
  46. package/dist/sandbox/index.js.map +1 -1
  47. package/dist/sandbox/sandbox.d.ts +25 -0
  48. package/dist/sandbox/sandbox.js +97 -14
  49. package/dist/sandbox/sandbox.js.map +1 -1
  50. package/dist/state/client.d.ts +8 -3
  51. package/dist/state/client.js.map +1 -1
  52. package/dist/state/db.js +7 -6
  53. package/dist/state/db.js.map +1 -1
  54. package/dist/state/sqlite-write-lock.d.ts +46 -0
  55. package/dist/state/sqlite-write-lock.js +145 -0
  56. package/dist/state/sqlite-write-lock.js.map +1 -0
  57. package/dist/state/workflow-run-store.d.ts +4 -1
  58. package/dist/state/workflow-run-store.js.map +1 -1
  59. package/dist/workflows/handlers/fanout.d.ts +17 -4
  60. package/dist/workflows/handlers/fanout.js +68 -31
  61. package/dist/workflows/handlers/fanout.js.map +1 -1
  62. package/dist/workflows/handlers/host-repo-dir.d.ts +38 -0
  63. package/dist/workflows/handlers/host-repo-dir.js +55 -0
  64. package/dist/workflows/handlers/host-repo-dir.js.map +1 -0
  65. package/dist/workflows/handlers/post-review.d.ts +9 -1
  66. package/dist/workflows/handlers/post-review.js +39 -16
  67. package/dist/workflows/handlers/post-review.js.map +1 -1
  68. package/dist/workflows/handlers/survey-units.d.ts +323 -0
  69. package/dist/workflows/handlers/survey-units.js +1211 -0
  70. package/dist/workflows/handlers/survey-units.js.map +1 -0
  71. package/dist/workflows/live-runs.d.ts +36 -0
  72. package/dist/workflows/live-runs.js +69 -0
  73. package/dist/workflows/live-runs.js.map +1 -0
  74. package/dist/workflows/runner.js +55 -15
  75. package/dist/workflows/runner.js.map +1 -1
  76. package/dist/workflows/simple.js +10 -3
  77. package/dist/workflows/simple.js.map +1 -1
  78. package/package.json +8 -8
  79. package/skills/code-review/SKILL.md +2 -3
  80. package/skills/pr-review/references/findings-schema.md +4 -4
  81. package/workflows/pr-review.yaml +491 -271
  82. package/workflows/prompts/review-falsify.md +17 -9
  83. package/workflows/prompts/review-select.md +113 -0
  84. package/workflows/prompts/review-site-summary.md +48 -0
  85. package/workflows/prompts/review-site.md +305 -0
  86. package/workflows/prompts/review.md +0 -60
  87. package/workflows/prompts/survey-unit.md +60 -0
  88. package/skills/adjudicate-pass/SKILL.md +0 -149
  89. package/skills/survey-pass/SKILL.md +0 -139
  90. package/workflows/prompts/review-adjudicate.md +0 -498
  91. package/workflows/prompts/survey-contract.md +0 -121
  92. package/workflows/prompts/survey-enforcement.md +0 -105
  93. package/workflows/prompts/survey-security.md +0 -162
  94. package/workflows/prompts/survey-spec.md +0 -131
  95. package/workflows/prompts/survey-state.md +0 -152
  96. package/workflows/prompts/survey-tests.md +0 -99
@@ -19,10 +19,10 @@ You never call `github_create_pull_request_review` yourself; writing this file i
19
19
  how you submit.
20
20
 
21
21
  > **Analysis mode writes a superset.** When the review evidence pipeline is on,
22
- > the adjudicate phase owns this file and adds `tier` / `family` / `hypotheses` /
23
- > `confidence` per finding and a `dropped[]` list. That contract lives in the
24
- > adjudicate prompt (`workflows/prompts/review-adjudicate.md`); everything below
25
- > is the shape both modes share.
22
+ > no agent writes this file: `site-finalize` (`lastlight-facts sites
23
+ > --finalize`, `packages/code-facts/src/site-review.ts`) builds it from the
24
+ > sites engine's selection and adds pipeline fields such as `tier` and an
25
+ > `internal[]` list; everything below is the shape both modes share.
26
26
 
27
27
  ## Top-level object
28
28