Skip to content

feat(scout): client wrappers for repos/orgOpenWork/orgMergedPrs (wire 0.3.0) - #31

Merged
bdelanghe merged 1 commit into
mainfrom
claude/cold-start-prioritization-q89the
Jul 22, 2026
Merged

feat(scout): client wrappers for repos/orgOpenWork/orgMergedPrs (wire 0.3.0)#31
bdelanghe merged 1 commit into
mainfrom
claude/cold-start-prioritization-q89the

Conversation

@bdelanghe

@bdelanghe bdelanghe commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Brings the in-box scout client up to scout-wire 0.3.0 (now published to JSR), so a box can do the org-wide reads that gh-project-room's scoutReads adapter will call.

What

  • fetchRepos / fetchOrgOpenWork / fetchOrgMergedPrs — the three org-wide reads. A box enumerates an org's repos, all open issues/PRs, and merged PRs through the read door, holding no token. Org-wide reads are partial by design: unreadable repos land in skipped rather than aborting the enumeration.
  • ProjectItem gains the 0.3.0 board-read fields — strict state (OPEN/CLOSED/MERGED), contentId, itemId, createdAt, isPrivate — enough to reconstruct a board item and derive membership.
  • CLI: repos / org-open-work / org-merged-prs subcommands.
  • Bump the scout-wire dep 0.2.00.3.0.

Verification

  • wire-conformance stays green: lib/scout.ts now dispatches exactly SCOUT_WIRE's 10 methods.
  • bun install --frozen-lockfile && bun test6 pass.

Generated by Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

… 0.3.0)

Bring the in-box scout client up to scout-wire 0.3.0:

- fetchRepos / fetchOrgOpenWork / fetchOrgMergedPrs — the org-wide reads
  (a box can enumerate an org's repos + all open work + merged PRs through
  the read door, holding no token). Org-wide reads are partial by design:
  unreadable repos land in `skipped` rather than aborting.
- ProjectItem gains the 0.3.0 board-read fields: strict state
  (OPEN/CLOSED/MERGED), contentId, itemId, createdAt, isPrivate — enough to
  reconstruct a board item and derive membership.
- CLI: repos / org-open-work / org-merged-prs subcommands.
- Bump the scout-wire dep 0.2.0 → 0.3.0.

wire-conformance stays green: scout.ts now dispatches exactly SCOUT_WIRE's
10 methods. bun test: 6 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H7i26MiqwkD1gCRAY85gJY
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​jsr/​bounded-systems__scout-wire@​0.2.0 ⏵ 0.3.0N/AN/AN/AN/AN/A

View full report

@bdelanghe
bdelanghe merged commit 9ae82d3 into main Jul 22, 2026
11 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Front Desk Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants