@farmslot/review-dispatch 0.1.1 → 0.2.0
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 +9 -7
- package/dist/publication-gate.d.ts +46 -9
- package/dist/publication-gate.d.ts.map +1 -1
- package/dist/publication-gate.js +150 -30
- package/dist/publication-gate.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Active-development baseline; add user-facing changes here before release or package publication.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 0.2.0 - 2026-10-17
|
|
8
8
|
|
|
9
|
+
- Make Send back to agent the gate's one primary action when offered, with recovery status and earlier-proof row details.
|
|
10
|
+
- Withhold publication approval while review findings or a fix remain unresolved, and show the shared review status until the fixed head passes review.
|
|
11
|
+
- Share the gateway no-code-review warning without disabling publication approval.
|
|
12
|
+
- Share declared gate criteria across client loading layouts.
|
|
13
|
+
- Share publication decision status, AC judgment rows and attestation availability across operator clients.
|
|
14
|
+
- Use gateway device-session expiry in clients instead of the temporary local sign-in lifetime.
|
|
9
15
|
- Document modelPickerState as the renderer API and remove the unused modelChoices method.
|
|
10
|
-
|
|
11
16
|
- Share model filtering and custom-model detection between the web and native execution pickers.
|
|
12
|
-
|
|
13
17
|
- Share compact checklist-progress presentation across operator views.
|
|
14
|
-
|
|
15
18
|
- Share client sign-in expiry and sign-out confirmation across operator apps.
|
|
16
|
-
|
|
17
19
|
- Resolve review mode once across explicit selections, recorded run/PR options and project defaults.
|
|
18
|
-
|
|
19
20
|
- Keep project review policy fields out of review selections while preserving configured defaults.
|
|
20
21
|
- Add shared review and dispatch selection state, capability defaults, strict validators and ordered request serialization for web, mobile, CLI and gateway consumers, preserving 20-row PR execution profiles and explicit saved defaults.
|
|
22
|
+
- Share AC row state and judgment controls across publication, preview and evidence views in both clients, with qualified pipeline verification for every visual AC.
|
|
21
23
|
|
|
22
24
|
## 0.1.1 - 2026-10-16
|
|
23
25
|
|
|
@@ -1,38 +1,75 @@
|
|
|
1
|
-
import type { EvidenceReviewJudgmentRow } from '@farmslot/adapter-sdk/evidence';
|
|
2
|
-
import { type AcceptanceCriterionView, type DecisionAction, type RunGateReadiness } from '@farmslot/protocol';
|
|
1
|
+
import type { EvidenceReviewClaim, EvidenceReviewJudgmentRow } from '@farmslot/adapter-sdk/evidence';
|
|
2
|
+
import { type AcceptanceCriterionRef, type AcceptanceCriterionView, type DecisionAction, type ReadyGatePayload, type ReadyGatePrPackage, type ReviewSummary, type Run, type RunGateReadiness } from '@farmslot/protocol';
|
|
3
3
|
export interface PublicationGateAction extends DecisionAction {
|
|
4
4
|
disabledReason?: string | null;
|
|
5
5
|
}
|
|
6
6
|
export interface PublicationGateClaim extends AcceptanceCriterionView {
|
|
7
7
|
reviewLabels?: readonly string[];
|
|
8
|
+
proofKinds?: EvidenceReviewClaim['proofKinds'];
|
|
9
|
+
evidenceLinked?: boolean;
|
|
10
|
+
retained?: EvidenceReviewClaim['retained'];
|
|
8
11
|
}
|
|
9
12
|
export interface PublicationGateInput {
|
|
13
|
+
run?: Pick<Run, 'status' | 'agentContexts' | 'engineState'> | null;
|
|
10
14
|
actions: readonly PublicationGateAction[];
|
|
11
15
|
claims?: readonly PublicationGateClaim[];
|
|
12
16
|
judgmentRows?: readonly EvidenceReviewJudgmentRow[];
|
|
13
17
|
pendingVisualClaimIds?: readonly string[];
|
|
14
18
|
readiness?: RunGateReadiness;
|
|
19
|
+
reviewSummary?: ReviewSummary;
|
|
15
20
|
blockedReason?: string;
|
|
16
21
|
attestationReason?: string;
|
|
17
22
|
resolved?: boolean;
|
|
18
23
|
attesting?: boolean;
|
|
19
24
|
}
|
|
25
|
+
/** Declared labels size both clients; older gates retain their recorded criterion rows. */
|
|
26
|
+
export declare function publicationGateCriteria(payload: Pick<ReadyGatePayload, 'acceptanceCriteria' | 'acceptanceStatus'> | undefined): readonly AcceptanceCriterionRef[];
|
|
27
|
+
export type AcceptanceClaimTone = 'proven' | 'verified' | 'checked' | 'issue' | 'pending' | 'untestable';
|
|
28
|
+
export interface VisualJudgmentFeedback {
|
|
29
|
+
claimId: string;
|
|
30
|
+
phase: 'saving' | 'refreshing' | 'error';
|
|
31
|
+
message?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface AcceptanceClaimRow {
|
|
34
|
+
id: string;
|
|
35
|
+
text: string;
|
|
36
|
+
state: string;
|
|
37
|
+
tone: AcceptanceClaimTone;
|
|
38
|
+
detail: string;
|
|
39
|
+
pending: boolean;
|
|
40
|
+
source?: PublicationGateClaim;
|
|
41
|
+
judgment?: EvidenceReviewJudgmentRow;
|
|
42
|
+
}
|
|
43
|
+
/** One AC presentation for publication gates, previews and evidence panels. */
|
|
44
|
+
export declare function acceptanceClaimRows(input: Pick<PublicationGateInput, 'claims' | 'judgmentRows' | 'pendingVisualClaimIds'>): AcceptanceClaimRow[];
|
|
45
|
+
/** An optional review policy never waives findings from a review that actually ran. */
|
|
46
|
+
export declare function publicationReviewBlockingReason(run: Pick<Run, 'status' | 'agentContexts' | 'engineState'>, prepared?: Pick<ReadyGatePrPackage, 'headSha'> | null): string | undefined;
|
|
20
47
|
/** Presentation only: action availability and evidence judgments remain gateway-owned. */
|
|
21
48
|
export declare function publicationGateView(input: PublicationGateInput): {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
id: string;
|
|
25
|
-
text: string;
|
|
26
|
-
state: string;
|
|
27
|
-
pending: boolean;
|
|
28
|
-
}[];
|
|
49
|
+
warnings: string[];
|
|
50
|
+
claims: AcceptanceClaimRow[];
|
|
29
51
|
status: string;
|
|
30
52
|
blockedReason: string;
|
|
31
53
|
approval: PublicationGateAction | null;
|
|
54
|
+
sendBack: PublicationGateAction | null;
|
|
32
55
|
attestation: PublicationGateAction | null;
|
|
33
56
|
refreshRequired: boolean;
|
|
34
57
|
secondaryActions: PublicationGateAction[];
|
|
35
58
|
};
|
|
36
59
|
export type PublicationGateView = ReturnType<typeof publicationGateView>;
|
|
37
60
|
export declare function visualPrevalidationLabel(row?: Pick<EvidenceReviewJudgmentRow, 'prevalidation'>): string;
|
|
61
|
+
/** The same evidence-first navigation on desktop and Companion. */
|
|
62
|
+
export declare const PUBLICATION_GATE_TABS: readonly [{
|
|
63
|
+
readonly id: "evidence";
|
|
64
|
+
readonly label: "Evidence";
|
|
65
|
+
}, {
|
|
66
|
+
readonly id: "criteria";
|
|
67
|
+
readonly label: "Criteria";
|
|
68
|
+
}, {
|
|
69
|
+
readonly id: "pr-preview";
|
|
70
|
+
readonly label: "Package";
|
|
71
|
+
}, {
|
|
72
|
+
readonly id: "quality";
|
|
73
|
+
readonly label: "Checks & history";
|
|
74
|
+
}];
|
|
38
75
|
//# sourceMappingURL=publication-gate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication-gate.d.ts","sourceRoot":"","sources":["../src/publication-gate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"publication-gate.d.ts","sourceRoot":"","sources":["../src/publication-gate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAE5B,KAAK,cAAc,EAKnB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,GAAG,EACR,KAAK,gBAAgB,EAEtB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED,MAAM,WAAW,oBAAqB,SAAQ,uBAAuB;IACnE,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,UAAU,CAAC,EAAE,mBAAm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AAmB,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC;AAED,+EAA+E;AAC/E,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,cAAc,GAAG,uBAAuB,CAAC,GACrF,kBAAkB,EAAE,CAqEtB;AAED,uFAAuF;AACvF,wBAAgB,+BAA+B,CAC7C,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,QAAQ,GAAG,eAAe,GAAG,aAAa,CAAC,EAC1D,QAAQ,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,IAAI,GACpD,MAAM,GAAG,SAAS,CA2CpB;AAED,0FAA0F;AAC1F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,oBAAoB;;;;;;;;;;EA0F9D;AAED,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,wBAAgB,wBAAwB,CACtC,GAAG,CAAC,EAAE,IAAI,CAAC,yBAAyB,EAAE,eAAe,CAAC,GACrD,MAAM,CAER;AAED,mEAAmE;AACnE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAKxB,CAAC"}
|
package/dist/publication-gate.js
CHANGED
|
@@ -1,33 +1,130 @@
|
|
|
1
|
-
import { APPROVE_PUBLISH_EVIDENCE_ATTESTED_ACTION, evidenceAttestationAvailable, isValidEvidenceAttestationReason, } from '@farmslot/protocol';
|
|
2
|
-
/**
|
|
3
|
-
export function
|
|
1
|
+
import { acceptanceCriterionId, APPROVE_PUBLISH_EVIDENCE_ATTESTED_ACTION, evidenceAttestationAvailable, isPublishApprovalAction, isValidEvidenceAttestationReason, latestReview, SEND_BACK_TO_AGENT_ACTION, } from '@farmslot/protocol';
|
|
2
|
+
/** Declared labels size both clients; older gates retain their recorded criterion rows. */
|
|
3
|
+
export function publicationGateCriteria(payload) {
|
|
4
|
+
if (payload?.acceptanceCriteria?.length)
|
|
5
|
+
return payload.acceptanceCriteria.map((text, index) => ({
|
|
6
|
+
id: acceptanceCriterionId(index),
|
|
7
|
+
text,
|
|
8
|
+
}));
|
|
9
|
+
return payload?.acceptanceStatus?.criteria ?? [];
|
|
10
|
+
}
|
|
11
|
+
/** One AC presentation for publication gates, previews and evidence panels. */
|
|
12
|
+
export function acceptanceClaimRows(input) {
|
|
4
13
|
const pending = new Set(input.pendingVisualClaimIds ?? []);
|
|
5
|
-
const claims = (input.claims ??
|
|
14
|
+
const claims = (input.claims ??
|
|
15
|
+
input.judgmentRows?.map((row) => row.claim) ??
|
|
16
|
+
[]).map((claim) => ({
|
|
17
|
+
source: claim,
|
|
6
18
|
judgment: input.judgmentRows?.find((row) => row.claim.id === claim.id),
|
|
7
19
|
id: claim.id,
|
|
8
20
|
text: claim.text,
|
|
9
|
-
state: claim.status?.verdict === 'failed'
|
|
21
|
+
state: claim.status?.verdict === 'failed'
|
|
10
22
|
? 'Issue'
|
|
11
|
-
: pending.has(claim.id)
|
|
12
|
-
? 'Needs
|
|
13
|
-
: claim.
|
|
14
|
-
? '
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
: pending.has(claim.id) || claim.status?.verdict === 'awaiting-review'
|
|
24
|
+
? 'Needs a check'
|
|
25
|
+
: claim.status?.verdict === 'proven'
|
|
26
|
+
? claim.proofKinds?.includes('person-reviewed')
|
|
27
|
+
? 'Checked'
|
|
28
|
+
: claim.proofKinds?.includes('agent-reviewed')
|
|
29
|
+
? 'Verified by agent'
|
|
30
|
+
: 'Proven'
|
|
31
|
+
: (claim.status?.verdict ??
|
|
32
|
+
('evidenceLinked' in claim && claim.evidenceLinked
|
|
33
|
+
? 'Evidence linked'
|
|
34
|
+
: 'Not assessed')),
|
|
35
|
+
tone: 'pending',
|
|
36
|
+
detail: '',
|
|
18
37
|
pending: pending.has(claim.id),
|
|
19
38
|
}));
|
|
39
|
+
for (const row of claims) {
|
|
40
|
+
row.tone =
|
|
41
|
+
row.state === 'Issue'
|
|
42
|
+
? 'issue'
|
|
43
|
+
: row.state === 'Checked'
|
|
44
|
+
? 'checked'
|
|
45
|
+
: row.state === 'Verified by agent'
|
|
46
|
+
? 'verified'
|
|
47
|
+
: row.state === 'Proven'
|
|
48
|
+
? 'proven'
|
|
49
|
+
: row.state === 'untestable'
|
|
50
|
+
? 'untestable'
|
|
51
|
+
: 'pending';
|
|
52
|
+
if (row.tone === 'untestable')
|
|
53
|
+
row.state = 'Untestable';
|
|
54
|
+
const retained = row.source?.retained ?? row.judgment?.claim.retained;
|
|
55
|
+
row.detail = [
|
|
56
|
+
retained
|
|
57
|
+
? `Earlier proof${retained.revision ? ` · ${retained.revision.slice(0, 7)}` : ''}`
|
|
58
|
+
: undefined,
|
|
59
|
+
row.source?.reviewLabels?.join(' · '),
|
|
60
|
+
row.judgment?.prevalidation?.reason,
|
|
61
|
+
]
|
|
62
|
+
.filter(Boolean)
|
|
63
|
+
.join(' · ');
|
|
64
|
+
}
|
|
20
65
|
for (const id of pending) {
|
|
21
66
|
if (!claims.some((claim) => claim.id === id))
|
|
22
67
|
claims.push({
|
|
23
68
|
id,
|
|
69
|
+
source: undefined,
|
|
24
70
|
judgment: undefined,
|
|
25
71
|
text: 'Review the recorded criterion.',
|
|
26
|
-
state: 'Needs
|
|
72
|
+
state: 'Needs a check',
|
|
73
|
+
tone: 'pending',
|
|
74
|
+
detail: '',
|
|
27
75
|
pending: true,
|
|
28
76
|
});
|
|
29
77
|
}
|
|
30
|
-
|
|
78
|
+
return claims;
|
|
79
|
+
}
|
|
80
|
+
/** An optional review policy never waives findings from a review that actually ran. */
|
|
81
|
+
export function publicationReviewBlockingReason(run, prepared) {
|
|
82
|
+
const reviews = run.engineState?.publishGate?.reviews ?? [];
|
|
83
|
+
// Continuations replace the same row. Its attempts retain the findings even
|
|
84
|
+
// when a blocked fix changes the aggregate verdict to failed.
|
|
85
|
+
const latest = latestReview(reviews);
|
|
86
|
+
const head = prepared?.headSha ?? latest?.reviewedHeadSha ?? latest?.reviewSnapshot?.headSha;
|
|
87
|
+
let currentHeadFindings = 0;
|
|
88
|
+
let count = 0;
|
|
89
|
+
for (const review of reviews) {
|
|
90
|
+
for (const entry of [...(review.attempts ?? []), review]) {
|
|
91
|
+
const findings = Math.max(entry.unresolvedCount ?? 0, entry.issues?.length ?? 0);
|
|
92
|
+
if (entry.verdict === 'issues' && findings > 0) {
|
|
93
|
+
count = findings;
|
|
94
|
+
const issueHead = entry === review
|
|
95
|
+
? (review.reviewedHeadSha ?? review.reviewSnapshot?.headSha)
|
|
96
|
+
: entry.reviewSnapshot?.headSha;
|
|
97
|
+
if (head && issueHead === head)
|
|
98
|
+
currentHeadFindings = Math.max(currentHeadFindings, findings);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
if (review.verdict === 'pass' &&
|
|
102
|
+
(!prepared || (review.reviewedHeadSha ?? review.reviewSnapshot?.headSha) === prepared.headSha))
|
|
103
|
+
count = 0;
|
|
104
|
+
}
|
|
105
|
+
// A different verdict on unchanged code does not prove the reported fix.
|
|
106
|
+
count = Math.max(count, currentHeadFindings);
|
|
107
|
+
const fixing = run.status === 'fixing' ||
|
|
108
|
+
run.agentContexts?.some((context) => context.role === 'review-fix' &&
|
|
109
|
+
['launching', 'working', 'waiting'].includes(context.status));
|
|
110
|
+
if (fixing)
|
|
111
|
+
return count
|
|
112
|
+
? `Review found ${count} issue${count === 1 ? '' : 's'}, fix in progress.`
|
|
113
|
+
: 'Review fix in progress.';
|
|
114
|
+
if (count)
|
|
115
|
+
return `Review found ${count} issue${count === 1 ? '' : 's'}. Fix and pass review before publishing.`;
|
|
116
|
+
return undefined;
|
|
117
|
+
}
|
|
118
|
+
/** Presentation only: action availability and evidence judgments remain gateway-owned. */
|
|
119
|
+
export function publicationGateView(input) {
|
|
120
|
+
const pending = new Set(input.pendingVisualClaimIds ?? []);
|
|
121
|
+
const claims = acceptanceClaimRows(input);
|
|
122
|
+
const reviewBlock = (input.run && publicationReviewBlockingReason(input.run)) ||
|
|
123
|
+
input.readiness?.reasons.find((reason) => reason.code === 'review-fix-required')?.message;
|
|
124
|
+
const actions = reviewBlock || input.resolved
|
|
125
|
+
? input.actions.filter((action) => !isPublishApprovalAction(action.id))
|
|
126
|
+
: input.actions;
|
|
127
|
+
const offeredNormal = actions.find((action) => ['approve-publish', 'approve-publish-evidence-refresh', 'ready'].includes(action.id));
|
|
31
128
|
const normal = offeredNormal &&
|
|
32
129
|
input.readiness?.state === 'not-ready' &&
|
|
33
130
|
offeredNormal.id !== 'approve-publish-evidence-refresh'
|
|
@@ -39,7 +136,13 @@ export function publicationGateView(input) {
|
|
|
39
136
|
'Publication prerequisites are not satisfied.',
|
|
40
137
|
}
|
|
41
138
|
: offeredNormal;
|
|
42
|
-
const offeredAttestation =
|
|
139
|
+
const offeredAttestation = actions.find((action) => action.id === APPROVE_PUBLISH_EVIDENCE_ATTESTED_ACTION);
|
|
140
|
+
// An Issue blocks publication; returning it to the agent is the gate's one primary action.
|
|
141
|
+
const sendBack = input.resolved
|
|
142
|
+
? undefined
|
|
143
|
+
: actions.find((action) => action.id === SEND_BACK_TO_AGENT_ACTION);
|
|
144
|
+
const repair = input.run?.engineState?.publishGate?.visualRepairs?.at(-1);
|
|
145
|
+
const sendBackRecovery = sendBack && repair && repair.status !== 'completed' ? repair.reason : undefined;
|
|
43
146
|
const attestation = !input.resolved &&
|
|
44
147
|
!pending.size &&
|
|
45
148
|
offeredAttestation &&
|
|
@@ -47,37 +150,54 @@ export function publicationGateView(input) {
|
|
|
47
150
|
evidenceAttestationAvailable(input.readiness)
|
|
48
151
|
? offeredAttestation
|
|
49
152
|
: null;
|
|
50
|
-
const approval =
|
|
51
|
-
?
|
|
52
|
-
:
|
|
153
|
+
const approval = sendBack
|
|
154
|
+
? null
|
|
155
|
+
: normal && !normal.disabledReason
|
|
156
|
+
? normal
|
|
157
|
+
: ((input.attesting ? attestation : null) ?? normal ?? null);
|
|
53
158
|
const refreshRequired = input.readiness?.reasons.some((reason) => reason.code === 'evidence-override-refresh-required') ?? false;
|
|
54
159
|
const blockedReason = input.resolved
|
|
55
160
|
? 'This decision is resolved.'
|
|
56
|
-
:
|
|
57
|
-
?
|
|
58
|
-
:
|
|
59
|
-
?
|
|
60
|
-
:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
161
|
+
: reviewBlock
|
|
162
|
+
? reviewBlock
|
|
163
|
+
: refreshRequired
|
|
164
|
+
? 'Refresh package'
|
|
165
|
+
: pending.size
|
|
166
|
+
? `${pending.size} ${pending.size === 1 ? 'criterion needs' : 'criteria need'} a check`
|
|
167
|
+
: approval?.disabledReason ||
|
|
168
|
+
(!approval
|
|
169
|
+
? attestation
|
|
170
|
+
? 'Choose evidence attestation.'
|
|
171
|
+
: input.blockedReason || 'Publication prerequisites are not satisfied.'
|
|
172
|
+
: '');
|
|
66
173
|
const reasonRequired = approval?.id === APPROVE_PUBLISH_EVIDENCE_ATTESTED_ACTION;
|
|
67
174
|
return {
|
|
175
|
+
warnings: input.reviewSummary?.noCodeReview ? ['No code review ran'] : [],
|
|
68
176
|
claims,
|
|
69
|
-
status:
|
|
177
|
+
status: sendBack
|
|
178
|
+
? (sendBackRecovery ?? 'Issues found')
|
|
179
|
+
: blockedReason || (attestation ? 'Evidence attestation is available.' : 'Ready to publish'),
|
|
70
180
|
blockedReason: blockedReason ||
|
|
71
181
|
(reasonRequired && !isValidEvidenceAttestationReason(input.attestationReason)
|
|
72
182
|
? 'Enter an attestation reason before approving.'
|
|
73
183
|
: ''),
|
|
74
184
|
approval,
|
|
185
|
+
sendBack: sendBack ?? null,
|
|
75
186
|
attestation,
|
|
76
187
|
refreshRequired,
|
|
77
|
-
secondaryActions:
|
|
188
|
+
secondaryActions: actions.filter((action) => action.id !== normal?.id &&
|
|
189
|
+
action.id !== offeredAttestation?.id &&
|
|
190
|
+
action.id !== sendBack?.id),
|
|
78
191
|
};
|
|
79
192
|
}
|
|
80
193
|
export function visualPrevalidationLabel(row) {
|
|
81
194
|
return `Agent review · ${row?.prevalidation ? (row.prevalidation.verdict === 'confirmed' ? 'Looks right' : 'Issue') : 'Not recorded'}`;
|
|
82
195
|
}
|
|
196
|
+
/** The same evidence-first navigation on desktop and Companion. */
|
|
197
|
+
export const PUBLICATION_GATE_TABS = [
|
|
198
|
+
{ id: 'evidence', label: 'Evidence' },
|
|
199
|
+
{ id: 'criteria', label: 'Criteria' },
|
|
200
|
+
{ id: 'pr-preview', label: 'Package' },
|
|
201
|
+
{ id: 'quality', label: 'Checks & history' },
|
|
202
|
+
];
|
|
83
203
|
//# sourceMappingURL=publication-gate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publication-gate.js","sourceRoot":"","sources":["../src/publication-gate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"publication-gate.js","sourceRoot":"","sources":["../src/publication-gate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,qBAAqB,EAGrB,wCAAwC,EAExC,4BAA4B,EAC5B,uBAAuB,EACvB,gCAAgC,EAChC,YAAY,EAMZ,yBAAyB,GAC1B,MAAM,oBAAoB,CAAC;AA4B5B,2FAA2F;AAC3F,MAAM,UAAU,uBAAuB,CACrC,OAAsF;IAEtF,IAAI,OAAO,EAAE,kBAAkB,EAAE,MAAM;QACrC,OAAO,OAAO,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;YACtD,EAAE,EAAE,qBAAqB,CAAC,KAAK,CAAC;YAChC,IAAI;SACL,CAAC,CAAC,CAAC;IACN,OAAO,OAAO,EAAE,gBAAgB,EAAE,QAAQ,IAAI,EAAE,CAAC;AACnD,CAAC;AA0BD,+EAA+E;AAC/E,MAAM,UAAU,mBAAmB,CACjC,KAAsF;IAE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,CACT,MAAM,CAAC,EAAE,KAAK,MAAM,EAAE,EAAE;YACxB,MAAM,CAAC,EAAE,KAAK,kBAAkB,EAAE,EAAE;YACpC,MAAM,CAAC,EAAE,KAAK,QAAQ,EAAE,EAAE,CAC7B;KACF,CAAC;AACJ,CAAC;AAID,MAAM,UAAU,wBAAwB,CACtC,GAAsD;IAEtD,OAAO,kBAAkB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;AACzI,CAAC;AAED,mEAAmE;AACnE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACrC,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACrC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE;IACtC,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,EAAE;CACpC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farmslot/review-dispatch",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Shared review and dispatch selection, validation, and view model",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"prepublishOnly": "node ../../scripts/quality/check-farmslot-package-readiness.mjs --publish --packages @farmslot/review-dispatch"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@farmslot/adapter-sdk": "0.
|
|
36
|
-
"@farmslot/protocol": "0.
|
|
35
|
+
"@farmslot/adapter-sdk": "0.18.0",
|
|
36
|
+
"@farmslot/protocol": "0.54.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.0.0",
|