Repository navigation
feat: assess private repository issues across their lifecycle - #23
Conversation
…ecycles Use verified caller GitHub access, isolated snapshots and bounded source-linked owner context. Rank issue intent with Jev and retain private API study receipts. Address review findings #1-8: isolate public content reads, remove both connected accounts, expire stored credentials, bound access checks, preserve interrupted studies and cover lifecycle-independent selection and unequal-score ranking.
Close the advisory from review 20261026-100111-fa52a64b and cover private-consent denials through both analysis endpoints.
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://codex-private-repo-issue-value-github-flow-analytics.yuval-yeret.workers.dev (commit 2c57ead)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
There was a problem hiding this comment.
Tessl Reviewer
Advisory findings (7)
The change adds authenticated private-repository analysis, lifecycle-independent issue selection, OAuth sessions, and a local evidence-producing CLI. Verification found seven distinct concerns: local evidence permissions, unbounded OAuth-state writes, reduced public GitHub collection capacity, authentication-provider interference, snapshot lookup after connecting another provider, session deletion on throttling, and unfinished issue-selection work after failure.
| Severity | Findings |
|---|---|
| Major | 3 |
| Minor | 4 |
Advisory findings (7)
- Major · Advisory · Non-blocking · Private CLI evidence inherits world-readable filesystem permissions
scripts/analyze_issue_value.py:49 - Major · Advisory · Non-blocking · OAuth start permits unbounded unauthenticated database writes
github_auth.py:134 - Major · Advisory · Non-blocking · Public collection discards the configured authenticated GitHub budget
cloudflare_app.py:286 - Minor · Advisory · Non-blocking · A failed GitHub cookie blocks an independently valid Google session
cloudflare_app.py:274 - Minor · Advisory · Non-blocking · Connecting GitHub makes an existing Google-owned snapshot unreadable to chat
cloudflare_app.py:435 - Minor · Advisory · Non-blocking · GitHub throttling permanently deletes an otherwise valid session
github_auth.py:63 - Minor · Advisory · Non-blocking · Failed explicit issue selection leaves sibling fetches running
issue_candidates.py:27
Reviews are incremental. The first review shows every valid finding. A later round checks the latest changes and earlier findings, and adds a fresh finding when it still applies. It never repeats one you refuted or declined. Ask for a full review to inspect the whole change and show earlier findings again.
Mention @tessl-reviewer to run another review.
Restrict private evidence traversal, bound OAuth state writes, preserve independent provider access and throttled sessions, and cancel failed issue selection work.
There was a problem hiding this comment.
Tessl Reviewer
No advisory concerns
The current code addresses the evidence-permission, OAuth-write-bound, dual-provider access, snapshot lookup, session-retention, and issue-fetch cleanup concerns. Public collection still uses GitHub’s shared anonymous quota; the author explicitly accepts that capacity limitation here to preserve the visibility-transition privacy boundary and defers authenticated public collection.
Earlier findings: 6 addressed · 1 declined
About this review
These findings are AI-generated and not authoritative. Check each one against the code before acting on it. See the guidance on working with this review.
Mention @tessl-reviewer to run another review.
Summary
Assess intended value in private repositories and issues using the caller’s GitHub identity, including refinement, learning, and work that needs a human decision. The authenticated API and local CLI make these audits available without depending on the dashboard or merged PRs.
This extends the existing PR value-intent analysis. Human calibration of the rankings remains ongoing; the scores do not establish realized value or grant permission to execute work.
Decisions that matter
Related: #22
Validation and deployment limits
This PR does not configure accounts, merge, or deploy production.