Skip to content

chore(beads): remove residual bd vestiges — dead spawns, machine stubs, Surface enum - #1025

Merged
bdelanghe merged 1 commit into
mainfrom
GH-1022-beads-cleanup
Jul 26, 2026
Merged

chore(beads): remove residual bd vestiges — dead spawns, machine stubs, Surface enum#1025
bdelanghe merged 1 commit into
mainfrom
GH-1022-beads-cleanup

Conversation

@bdelanghe

@bdelanghe bdelanghe commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

What

Beads-removal follow-up cleanup — the residual bd vestiges after #1021, filed as #1022/#1023/#1024.

Verification

  • bunx tsc --noEmit → clean
  • full suite → 5556 pass / 0 fail (23 skip)
  • biome check → clean

Deferred (still tracked on #1024)

  • The inert beads actor / beads_issue / hydrateBeads no-op surface (a separate actor/CLI surface).
  • The Notion integration removal (42 src files) — a separate product decision, not beads.

Closes #1022, closes #1023.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

…s, Surface enum (GH-1022/1023/1024)

Beads-removal follow-up cleanup:
- GH-1022: remove the dead `prx beads update` subprocess back-write from
  fetch/gh-issues-writer (GitHub is the write plane; create-if-missing already
  establishes the ref); drop `"bd"` from `SYNC_MIRROR_DOMAINS`.
- GH-1023: excise the triage XState machine's promote/drift-fix no-op stubs
  (`promoteActor`/`driftFixActor` + their types) and their `promoting`/
  `driftDecision`/`driftFixing` states; re-point transitions through a
  `scopeDecision` pseudo-state (prime→done, else→reporting).
- GH-1024 (partial): remove the last `"beads"` from the type system — the
  `Surface` enum, the `--from`/source-pin `WorkUnitSource` enum, spec/schema.cue
  `#Surface`, and the `kind = "github" | "notion"` help/error strings; drop the
  dead `--from=beads` create arm and convert its tests to notion.

Verification: tsc clean · full suite 5556 pass / 0 fail · biome clean.

Deferred (tracked on #1024): the inert `beads` actor / `beads_issue` / hydrateBeads
no-op surface, and the Notion-integration removal decision (42 src files).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bdelanghe
bdelanghe requested a review from a team as a code owner July 26, 2026 20:31
@github-code-quality

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / unit

The overall coverage in commit ce2fbf4 in the GH-1022-beads-cleanu... branch remains at 87%, unchanged from commit 52cc437 in the main branch.

Show a code coverage summary of the most impacted files.
File main 52cc437 GH-1022-beads-cleanu... ce2fbf4 +/-
packages/prx/sr...pr-state/cli.ts 62% 61% -1%
packages/prx/sr...iage/machine.ts 99% 98% -1%
packages/prx/sr...ssues-writer.ts 100% 100% 0%
packages/prx/sr...riage/actors.ts 58% 67% +9%

@bdelanghe
bdelanghe merged commit e454814 into main Jul 26, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Front Desk Jul 26, 2026
@bdelanghe
bdelanghe deleted the GH-1022-beads-cleanup branch July 26, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

1 participant