@adhdev/mesh-shared 1.0.82-rc.96 → 1.0.82-rc.98
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/worker-protocol.ts +3 -3
package/package.json
CHANGED
package/src/worker-protocol.ts
CHANGED
|
@@ -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
|
-
+ '
|
|
237
|
-
+ '
|
|
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
|
: []),
|