Skip to content

Land the SDoc dev bridge recovered from the orphaned bran-dev worktree - #39

Open
1wgrumph wants to merge 1 commit into
mainfrom
feat/sdoc-dev-bridge-schema-2
Open

1wgrumph wants to merge 1 commit into
mainfrom
feat/sdoc-dev-bridge-schema-2

Conversation

@1wgrumph

Copy link
Copy Markdown
Contributor

What

Recovers 2,151 lines of Rust that existed nowhere in this repository, plus four docs trees.

The source was worktrees/bran-dev-bridge-schema-2 — a worktree whose parent repository, Alphazedehq/bran-dev, has been deleted. Its .git file still points at the missing gitdir:

gitdir: /home/spectre/alphazede/Alphazedehq/bran-dev/.git/worktrees/bran-dev-bridge-schema-2

So the directory had no reachable history, no branch, and no remote. The content was recoverable only as files on disk, which is why this is a snapshot commit off current main rather than replayed history.

Contents

58 files, +14,512/−61.

New (42), cannot clobber anything:

  • crates/bran-core/src/sdoc.rs — 1,452 lines
  • crates/bran-core/src/graph/sdoc.rs — 699 lines
  • docs/bugs/, docs/plans/, docs/submissions/, docs/integrations/proposals/

Modified (16) — please review these closely. The snapshot is dated 2026-09-08 and main has advanced since (currently c40e003). These 16 overwrite files that already exist, so they may reintroduce superseded content. They are the reason this is a PR and not a direct merge.

Verification

  • cargo check --offline --all-targets: clean
  • cargo test --offline: 361 passed, 0 failed (59 + 295 + 2 + 5)
  • Gitleaks: no leaks

Note

Once this lands, worktrees/bran-dev-bridge-schema-2 can be deleted — it is an orphaned directory with no git identity, and this PR is its only durable record.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WVJLGKfpF3QG5PeSiBW4LV

This work lived in /home/spectre/alphazede/worktrees/bran-dev-bridge-schema-2,
a worktree whose parent repository (Alphazedehq/bran-dev) no longer exists. Its
.git file still points at that deleted gitdir, so the directory had no reachable
history and no branch — the content was recoverable only as files on disk.

Recovered as a branch off current origin/main rather than replayed as history,
because no history survives to replay.

Adds crates/bran-core/src/sdoc.rs (1452 lines) and
crates/bran-core/src/graph/sdoc.rs (699 lines), neither of which exists on main,
plus the docs/bugs, docs/plans, docs/submissions and docs/integrations/proposals
trees.

16 of the 58 files already exist on main and are modified here. The snapshot is
from 2026-09-08 and main has advanced since, so those 16 are the ones to review
closely: they may reintroduce superseded content.

cargo check clean; cargo test 361 passed, 0 failed.

Claude-Session: https://claude.ai/code/session_01WVJLGKfpF3QG5PeSiBW4LV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant