Skip to content

docs: sc+git:: works on GitHub (validated), slow but correct - #372

Merged
tonibergholm-codento merged 1 commit into
mainfrom
docs/sc-git-github-validated
Nov 21, 2026
Merged

tonibergholm-codento merged 1 commit into
mainfrom
docs/sc-git-github-validated

Conversation

@tonibergholm-codento

Copy link
Copy Markdown
Collaborator

The sc+git:: docs said "not tested against GitHub", and GitHub was the host Theo's thread was about. I ran the full scenario against a private GitHub repository and recorded what happened.

What the run showed (git 2.54, HTTPS through the gh credential helper, synthetic keys and content only):

  • Custom refs: GitHub accepts creates, lease CAS updates and deletes of refs/sc/*. A plain git clone fetched none of them.
  • Opacity: a keyless sc clone saw hotfix (private, no access), with no protected plaintext and no secret value. A keyed clone decrypted the protected file, injected the secret and read the private branch.
  • Racing pushers: of two racing pushers, exactly one won. The other got non-fast-forward.
  • Compaction: two runs took the store from 18 refs to 5, and a clone afterwards still read the private branch.
  • Filtered fetch: a packet trace showed the v2 fetch sending ref-prefix refs/sc/manifest, and GitHub answered with that ref only.
  • Speed: every git call is its own HTTPS round trip of about 1-2 s. A first push of a tiny repository took 56 s and a clone 13 s. This is now a ROADMAP follow-on: fewer round trips per push.
  • Residue: no sc-git-bucket-* cache was left behind.

Not exercised on GitHub, and still listed as open: its per-push (2 GiB) and per-blob (100 MB) limits, rulesets on custom refs, and CAS atomicity across its replicas beyond one race. The scratch repository's refs were all deleted after the run.

Proof: the run's output in this session. The only failure was a check in my script that read a protected file before switching with the key. Rerun with the key, it decrypted.

Docs only: ADR-0060, ADR-0057, THREAT-MODEL, ROADMAP, CLAUDE.md, README and the CLI skill.

Created with Claude Opus 5.5 in Claude Code (T3 Code).

@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7ec56748-a0d9-4025-851d-e6a3c9edecf3
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T16:07:44.548506Z 5a69996 PR opened
🔒 Security Review ✅ Completed 2026-11-21T16:08:48.504448Z 5a69996 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tonibergholm tonibergholm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: docs-only record of the GitHub validation run; CI green on 5a69996.

@tonibergholm-codento
tonibergholm-codento merged commit 48084d9 into main Nov 21, 2026
11 checks passed
@tonibergholm-codento
tonibergholm-codento deleted the docs/sc-git-github-validated branch November 21, 2026 16:18
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.

2 participants