Repository navigation
Read labelled issues without GitHub search - #1176
Merged
Merged
Conversation
This was referenced Oct 23, 2026
Merged
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.
Summary
Read labelled issues through the paginated repository REST endpoint so an open Architect plan cannot be missed because GitHub search has not indexed it.
Test seams: the
thirdshift architect,pickupand Spec commands with fake external tools, and the publicGitHub::open_issues_labelled/closed_issues_labelledmethods with an executableghfixture.Evidence
cargo test --test architect_run an_open_architect_plan_skips_even_when_search_is_unavailable -- --exactfailed: the Architect gate invokedgh issue listand exited 1 despite an open plan. The adapter regression also failed on a REST pull-request URL before filtering was added.After: Both regressions pass. The adapter test covers open and closed reads, 1,001 issues, newest-first ordering, encoded labels and pull-request exclusion.
cargo check --all-targetspassed. Architect, Pickup, Security and Spec regressions pass, including both shared Base fix cases after updating their REST observation counter.cargo test --locked --test pickup_model -- --nocapture: bounded model regressions, 4 passed and 1 existing pre-Claim dispatch assertion ignored.47f0386: Linux Rust tests, formatting, clippy, macOS gate, browser tests and artifact builds passed./usr/bin/time -p scripts/affected-tests mainselectedcargo nextest run: 2,397 passed, 55 skipped. Wall time 2,620.97s, including 3m 01s compilation; test execution 2,435.025s.Merge Danger
Door: two-way
Blast Radius: GitHub
All callers of the shared labelled-issue reads use REST, including Architect, Pickup, Security and Base fix gates.
Unaddressed findings
labelled_issue_reads_include_every_page_and_exclude_pull_requests, including the&in "Architect plan & idea"),ghis invoked with no shell and fixedopen/closedstates, pull-request entries are filtered before URL parsing,html_urlmust parse as a github.com issue URL, and read failures fail closed rather than returning an empty gate read. A hostile-label probe (a&state=closed&labels=x) confirmed the value stays encoded inside the labels parameter. No SECURITY.md or threat-model file exists in the repo. No proof-of-concept failed, so no fix commit was needed and the private pre-existing report is empty.Review coverage: fresh independent Standards and Spec reviewers read all eight changed files at
47f0386. A Security review covered the same diff plus supporting code (src/github.rscommand helpers,src/issue.rs,src/labels.rs) at the same commit. No changed files were left unread, and no generated output was excluded. Final reports and each axis's files-read list are saved in the Session's.thirdshift-review-AZ4gqj/standards.mdand.thirdshift-review-AZ4gqj/spec.md.Closes #1082
Built with codex · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.