fix(team): checkpoint follow-up delivery edits

This commit is contained in:
777genius 2026-05-09 12:22:06 +03:00
parent eebf1c0b1b
commit a9e7c59845
2 changed files with 12 additions and 1 deletions

View file

@ -1192,6 +1192,8 @@ File:
```txt
test/main/services/team/OpenCodeRuntimeDeliveryAdvisoryPolicy.test.ts
test/main/services/team/opencode/OpenCodeRuntimeDeliveryProofMatching.test.ts
test/main/services/team/opencode/OpenCodeRuntimeDeliveryProofReader.test.ts
```
Cases:
@ -1214,6 +1216,14 @@ it('suppresses when a newer terminal success exists', () => {});
it('treats payload mismatch as immediate hard error', () => {});
```
Add extraction-preservation tests around existing delivery recovery if they are not already covered:
```ts
it('keeps visible reply recovery by observed message id behavior unchanged after helper extraction', async () => {});
it('keeps visible reply recovery by taskRefs behavior unchanged after helper extraction', async () => {});
it('keeps lead-recipient user fallback candidate behavior unchanged after helper extraction', async () => {});
```
### Member advisory service tests
Update:

View file

@ -47,6 +47,7 @@ import type {
AgentChangeSet,
ChangeStats,
TaskChangeSetV2,
TeamConfig,
TeamTaskChangeSummariesResponse,
TeamTaskChangeSummaryItem,
TeamTaskChangeSummaryRequest,
@ -132,7 +133,7 @@ export class ChangeExtractorService {
this.taskChangeComputer = new TaskChangeComputer(logsFinder, boundaryParser);
}
private readConfigForObservation(teamName: string) {
private readConfigForObservation(teamName: string): Promise<TeamConfig | null> {
return typeof this.configReader.getConfigSnapshot === 'function'
? this.configReader.getConfigSnapshot(teamName)
: this.configReader.getConfig(teamName);