@adhdev/mesh-shared 1.0.82-rc.97 → 1.0.82-rc.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/mesh-shared",
3
- "version": "1.0.82-rc.97",
3
+ "version": "1.0.82-rc.99",
4
4
  "description": "ADHDev mesh-shared — pure mesh/git status normalizers shared by daemon-core and web-core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -233,15 +233,15 @@ export function renderStageProtocolLines(stage: NonNullable<WorkerProtocolFooter
233
233
  return [
234
234
  `STAGE: you are the independent reviewer (round ${stage.round} of at most ${stage.maxRevisions + 1}). Read the input artifacts first (diff, self-check log, previous verdict).`
235
235
  + (stage.workspace ? ` Your workspace ${stage.workspace} is pinned to the round head — you may run tests, but nothing you change lands; do not fix, record findings instead.` : ' Do not modify the workspace: read it, and record findings instead of fixing.')
236
- + ' Never write files inside the reviewed checkout, not even a review report: any new or changed file there fails the review as reviewer_mutated_source. '
237
- + 'Put a report in your system temp directory, register it with `artifact_register`, and cite its id in `report_completion` `artifact_ids`.',
236
+ + ' Do not write any file for the review, not even a report: a new or changed file in the reviewed checkout fails the review as reviewer_mutated_source, '
237
+ + 'and `artifact_register` refuses files outside the workspace. Put every finding in the `review` field of `report_completion` — that is the review record.',
238
238
  'Your `report_completion` MUST carry `review`: {verdict: approve | approve_with_nits | changes_requested | reject_approach, findings[{id, severity, category, claim, evidence, suggested_fix?}], checked[], not_checked[], tests_run?[]}. '
239
239
  + '`changes_requested` needs at least one blocking/major finding; `approve` allows none. From round 2 also give `prior_findings[{id, status}]` for every earlier blocking/major finding. '
240
240
  + '`reject_approach` is only for a wrong approach, not for fixable defects.',
241
241
  ]
242
242
  }
243
243
  return [
244
- `STAGE: your \`report_completion\` is a stage report (${stage.role}, round ${stage.round}). An independent reviewer reads your diff next, so commit your work and leave the workspace clean before you report. You may receive review findings as a follow-up memo in this same session.`,
244
+ `STAGE: your \`report_completion\` is a stage report (${stage.role}, round ${stage.round}). An independent reviewer reads your diff next, so commit your work and leave the workspace clean before you report. When your change is committed, report outcome \`completed\` — the review starts only after that report, so never report \`blocked\` because the review has not run yet. You may receive review findings as a follow-up memo in this same session.`,
245
245
  ...(stage.role === 'revise'
246
246
  ? ['For every open blocking/major finding in the memo, fill `finding_responses[{id, response: fixed | disputed, note}]` — `disputed` needs your reasoning; the reviewer judges it next round.']
247
247
  : []),