Repository navigation
Conversation
A refused review request printed only the server's detail. A new
organization whose repository had no linked environment read "link one
from the repository's setup" with no way there; `proofline setup` opens
the generic organization picker.
The review-request operations answer such a refusal with RunNowRefused,
whose `refusal` member exists for clients to link from. Problem dropped
it. Keep its reason, and after the detail print the owner's console.
- The detail already names the setting, so the CLI adds only where to
change it: one link for every reason, including ones a newer server
adds, with no per-reason text to drift from the server's.
- Only a 400 carrying a readable reason gets the link.
- The link is the `orgs/github/{owner}` route `setup` already builds,
lowercased as setup's `console_url` addresses organizations.
- The hook report is one line, so it joins the two with "; ".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0131zPk6VGEqnVzoiizYQeh5
`proofline status` showed the organization and token but not whether a review would run. A new organization learned that only from a refused request. After the token check, status reads whether the checkout's repository is connected and what setup says, then prints `reviewable` and the next step. `--json` prints the same for agents. - Setup comes from the MCP `get_setup_status` tool, the only source; it needs `setup:write`, and without it status says it cannot tell. - Reviewable means `configuration_complete` and a ready configured environment that links the repository: the console starts reviews on the first, and the refusals NO_LINKED_ENVIRONMENT and ENVIRONMENT_NOT_READY name the second. `activation_complete` is not it; the console sets it after the first review. Open blockers are the reason, shown as the server wrote them. - The environment fields `repository_ids` and `ready` are read as the console reads them; no contract names them, so a missing one is cannot tell, not no. - `reviewable` is null when no answer was read: the server did not answer in time, or its answer was unreadable. `false` is a confirmed answer. - The sign-in hint repeats the token's scopes, because `login --scope` replaces them. - The exit code still reflects only the token, so scripts that use status as a token check keep working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0131zPk6VGEqnVzoiizYQeh5
Member
|
Codex Closing as out of scope for the CLI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
proofline statusnow says whether the checkout can be reviewed, and what to do next if not. A review request refused by a setting also links where to change it.Who it helps: new organizations before their first review. Today they learn setup is unfinished only from a refused request, and
proofline setupopens the generic organization picker. Agents get the same answer fromstatus --json.Decisions
proofline reviewhere needs:configuration_complete, and a ready configured environment linking the repository (the refusals NO_LINKED_ENVIRONMENT and ENVIRONMENT_NOT_READY). Notactivation_complete, which the console sets after the first review. Not an empty blocker list. Blockers are the reason, as the server wrote them.get_setup_statustool, the only source; withoutsetup:write, status says it cannot tell.nullalso covers a server that did not answer in time or an answer the CLI could not read;falseis a confirmed answer.reviewable; every--jsonreport has the same fields.RunNowRefused.refusal.reason, only for a 400, at theorgs/github/{owner}routesetupbuilds.repository_idsandreadyare read as the console reads them, and a missing or renamed field reports cannot tell, not no.Verify
proofline statusandproofline status --json(checked live), andproofline review --commit HEADprints the server's refusal andChange it at <console>.cargo test --locked --test status;cargo test --locked --lib scope_hint;cargo test --locked --test http -- a_refused_review only_a_400🤖 Generated with Claude Code
https://claude.ai/code/session_0131zPk6VGEqnVzoiizYQeh5