@besales/ops-framework 0.1.26 → 0.1.27
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/CHANGELOG.md +6 -0
- package/bin/lib/check-context-utils.mjs +3 -0
- package/bin/run-verify.mjs +16 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.27
|
|
4
|
+
|
|
5
|
+
- Updated internal Verify closeout behavior so `status.md` moves to retrospective/learning closeout instead of continuing to ask for external Verify.
|
|
6
|
+
- Removed the default non-blocking "no independent verifier" finding from internal Verify for bounded local slices; external Verify remains an explicit escalation choice.
|
|
7
|
+
- Added status updater support for latest Verify verdict/result and expected outcome sections.
|
|
8
|
+
|
|
3
9
|
## 0.1.26
|
|
4
10
|
|
|
5
11
|
- Raised `standard_plus` context cap to 36k so compact Verify packs around 29-31k estimated tokens stay out of strict mode after safety margin.
|
|
@@ -431,7 +431,10 @@ export function updateStatus(taskDir, updates) {
|
|
|
431
431
|
['humanGateSummary', 'Human Gate summary'],
|
|
432
432
|
['feedbackIntake', 'Feedback intake'],
|
|
433
433
|
['executionFeedback', 'Execution feedback intake'],
|
|
434
|
+
['verifyVerdict', 'Latest verify verdict'],
|
|
435
|
+
['verifyResult', 'Latest verify result'],
|
|
434
436
|
['supervisorAction', 'Последнее действие supervisor'],
|
|
437
|
+
['expectedOutcome', 'Что ожидается на выходе текущего этапа'],
|
|
435
438
|
['nextStep', 'Следующий шаг'],
|
|
436
439
|
['humanApproval', 'Нужен ли сейчас human approval'],
|
|
437
440
|
]);
|
package/bin/run-verify.mjs
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
resolveConfigValue,
|
|
13
13
|
resolveTaskDir,
|
|
14
14
|
sha256,
|
|
15
|
+
updateStatus,
|
|
15
16
|
validateExecutionEvidenceForPlan,
|
|
16
17
|
writeTaskFile,
|
|
17
18
|
} from './lib/check-context-utils.mjs';
|
|
@@ -532,29 +533,27 @@ function writeInternalSupervisorVerify({
|
|
|
532
533
|
readyForRetrospective: true,
|
|
533
534
|
counts: {
|
|
534
535
|
blockingFindings: 0,
|
|
535
|
-
nonBlockingFindings:
|
|
536
|
+
nonBlockingFindings: 0,
|
|
536
537
|
questions: 0,
|
|
537
538
|
},
|
|
538
|
-
findings: [
|
|
539
|
-
{
|
|
540
|
-
id: 'V-001',
|
|
541
|
-
severity: 'non_blocking',
|
|
542
|
-
claimCategory: 'insufficient_evidence',
|
|
543
|
-
affectedArtifacts: ['verify.md', 'verify.result.json'],
|
|
544
|
-
claim: 'Verify used internal supervisor mode, so no independent fresh-context verifier reviewed this execution.',
|
|
545
|
-
evidenceRefs: [
|
|
546
|
-
{
|
|
547
|
-
type: 'config',
|
|
548
|
-
ref: `verifier.mode=${verifierConfig.mode}`,
|
|
549
|
-
},
|
|
550
|
-
],
|
|
551
|
-
expectedCorrection: 'Run `corepack yarn agent:run-verify <TASK> --verify-mode external_cli` if the task risk or human decision requires independent verification.',
|
|
552
|
-
},
|
|
553
|
-
],
|
|
539
|
+
findings: [],
|
|
554
540
|
};
|
|
555
541
|
|
|
556
542
|
writeTaskFile(taskDir, 'verify.md', verifyMarkdown);
|
|
557
543
|
writeTaskFile(taskDir, 'verify.result.json', JSON.stringify(result, null, 2));
|
|
544
|
+
updateStatus(taskDir, {
|
|
545
|
+
stage: 'Verify complete',
|
|
546
|
+
verifyVerdict: '`pass_with_notes`',
|
|
547
|
+
verifyResult: [
|
|
548
|
+
'- `verify.result.json`: `pass_with_notes`',
|
|
549
|
+
'- Verification mode: `internal_supervisor`',
|
|
550
|
+
'- Ready for retrospective: `true`',
|
|
551
|
+
].join('\n'),
|
|
552
|
+
supervisorAction: 'Internal Verify completed with sufficient local evidence for this bounded slice.',
|
|
553
|
+
expectedOutcome: 'Retrospective, learning closeout, then task closeout.',
|
|
554
|
+
humanApproval: 'no',
|
|
555
|
+
nextStep: 'Run learning closeout / retrospective. Do not run external Verify unless R4/R5, production/real-data/destructive/security/financial/broad-risk work, or explicit human request applies.',
|
|
556
|
+
});
|
|
558
557
|
appendOrchestrationLog(taskDir, `internal supervisor verifier completed; verdict=${result.verdict}; runId=${verifierRunId}`);
|
|
559
558
|
}
|
|
560
559
|
|