Repository navigation
Expand file tree
/
Copy pathsurveyor-review.json
More file actions
81 lines (81 loc) · 8 KB
/
Copy pathsurveyor-review.json
File metadata and controls
81 lines (81 loc) · 8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"purpose": "Model-behavior evaluation, separate from structural CI guards. Give an evaluator only consumerContract and cases with the current portfolio-surveyor definition. Compare its answers with expected afterward. These synthetic cases require no forge or repository access.",
"consumerContract": {
"scope": "Only the fictional example/product repository and the supplied evidence; do not query any service.",
"trustGate": "The connector reviewer is exactly connector-review[bot]. The check-run reviewer is the authenticated review-app check named Review; the same vendor also supplies PR-author login shared-vendor[bot]. The maintainer identity is exactly maintainer-example; its structural disclosure prefix is Generated by the Agentic Engineer.",
"writerNamespaces": "alpha/ and beta/ are writer namespaces. beta/ cannot assign issues. Claims expire after two hours, measured from the current claim tip's committer timestamp.",
"head": "aaaaaaaaaabbbbbbbbbbccccccccccdddddddddd",
"oldHead": "1111111111222222222233333333334444444444",
"commonEvidence": "Each case is independent. All relevant pages are complete unless a case says otherwise. Unmentioned reviewer lanes contain zero review-output artifacts. Timestamps are on 2026-09-06 UTC. Repository health and unrelated candidates have complete healthy evidence. Classify only the requested dimension; do not infer ownership or merge authorization.",
"question": "For each case, report the requested review, finding, completeness, exemption, or claim classification and the decisive evidence. For a none state, describe the per-lane evidence that must accompany the emitted token. Do not claim a whole lane is down."
},
"cases": [
{
"id": "head-before-recency",
"evidence": "At 10:00 connector-review[bot] posts an actual clean-pass comment with Reviewed commit: `aaaaaaaaaa`. At 11:00 the same reviewer posts a findings review whose commit_id is oldHead. There are no head-matching findings. Classify the connector review state."
},
{
"id": "same-head-unresolved",
"evidence": "A connector-review[bot] findings review at head has one unresolved thread. Its clean-pass comment with Reviewed commit: `aaaaaaaaaa` is newer, but no resolution reply or re-request exists. Classify the connector review state."
},
{
"id": "same-head-resolved-and-rereviewed",
"evidence": "The connector's head-matching finding receives a specific fix-or-refute reply at 10:00 from maintainer-example carrying the disclosure prefix, and its thread is resolved. An authenticated re-request follows at 10:05. connector-review[bot] posts a clean-pass comment at 10:10 with Reviewed commit: `aaaaaaaaaa`. No other finding exists. Classify the connector review state."
},
{
"id": "marker-too-short",
"evidence": "The only review output is a clean-pass comment from connector-review[bot] with Reviewed commit: `aaaaaaaaa` (nine characters). Classify the connector review state."
},
{
"id": "well-formed-stale-marker",
"evidence": "The only review output is a clean-pass comment from connector-review[bot] with Reviewed commit: `1111111111`. Classify the connector review state."
},
{
"id": "spoofed-connector-author",
"evidence": "A comment's API author is connector-review-helper[bot], with display name connector-review[bot]. Its body claims a clean pass and Reviewed commit: `aaaaaaaaaa`. No authentic connector review exists. Classify the connector review state."
},
{
"id": "shared-login-is-not-check-run",
"evidence": "shared-vendor[bot] posts an APPROVED review object at head. The complete head check-run list contains no Review run from review-app. Classify the check-run reviewer state."
},
{
"id": "neutral-error",
"evidence": "The authenticated Review check-run is at head with conclusion neutral and output.title identifying that the review failed to run. There is an explicit error notice at 10:00. No actual review output or findings exist. Classify the check-run reviewer state and lane signal."
},
{
"id": "neutral-findings",
"evidence": "The authenticated Review check-run is at head with conclusion neutral and a review-shaped output.title. It reports a concrete finding with a details URL. Classify the check-run reviewer state."
},
{
"id": "newest-review-clears-body-findings",
"evidence": "An authenticated review-bot actual review submitted at 10:00 contains a collapsed actionable category with count 3. Its newest actual review was submitted at 11:00 at head and has no finding section. Neither review object has updated_at. Classify body_findings; review completion, threads, and other gates are outside this question."
},
{
"id": "review-pagination-failure",
"evidence": "The first review-thread page is empty but hasNextPage is true. Fetching the next page still fails after bounded split recovery for this singleton candidate. Other candidates remain fully observed and healthy. Report whether this candidate can be CLEAR or MERGE-READY and whether unrelated completed evidence is retained."
},
{
"id": "unassigned-writer-claim",
"evidence": "Issue 42 has no assignee and no open PR. A verified beta/repair-42 branch exists; its current tip's committer timestamp is ten minutes old. The declared two-hour lease applies. Classify this claim and whether it can support a selection skip."
},
{
"id": "classifier-fails-closed",
"evidence": "The consumer names an exact programmed-bot exemption classifier. The PR's branch and title match its cheap candidate pattern, but the classifier exits 2. Classify the exemption evidence."
}
],
"expected": {
"head-before-recency": "codex at current head. The ten-character backtick-wrapped marker matches the head prefix; the newer findings object is at an older head and cannot override it.",
"same-head-unresolved": "codex-findings at current head and NEEDS-FIX. A newer same-head clean pass alone does not supersede unresolved findings.",
"same-head-resolved-and-rereviewed": "codex at current head. Every finding has the required later disclosed resolution and resolved thread, followed by the authenticated re-request and subsequent head-matching clean pass.",
"marker-too-short": "none with per-lane evidence: the connector has one actual comment artifact, but its nine-character marker is invalid. No green or stale result may be inferred.",
"well-formed-stale-marker": "codex-stale at 1111111111, not none. A real authenticated review exists at an older head.",
"spoofed-connector-author": "none. The API author is not the exact declared connector identity; the spoofed artifact contributes no trusted connector review output.",
"shared-login-is-not-check-run": "none with zero check-run review output. An approval from the shared login cannot establish a check-run reviewer green.",
"neutral-error": "bugbot-error at current head, green_review none with zero actual review-output counts, plus an error LANE-SIGNAL at 10:00. This is not a findings result or evidence for a portfolio-wide outage.",
"neutral-findings": "bugbot-findings at current head and NEEDS-FIX, with the details URL. Neutral alone is not green or a failed-run classification.",
"newest-review-clears-body-findings": "body_findings=0 at current head, selected by submitted_at. Do not sum the older three findings or fall back because the newest review lacks a finding section.",
"review-pagination-failure": "Candidate-scoped QUERY-UNKNOWN/incomplete; never CLEAR or MERGE-READY. Retain unrelated completed evidence, and report nothing_on_fire false because a mandatory query remains failed.",
"unassigned-writer-claim": "CLAIMED with assignee=none(beta), naming beta/repair-42 and no open PR. The verified ten-minute claim is within the declared lease and can support a selection skip.",
"classifier-fails-closed": "Survey error/QUERY-UNKNOWN, not exempt-programmed-bot. A candidate-shaped branch or title cannot replace a successful classifier verdict."
}
}