Skip to content

spike: Phase-0.5 GraphQL feasibility for ownership-over-time - #74

Merged
Aliferous3 merged 2 commits into
mainfrom
spike/ownership-graphql-feasibility
Oct 18, 2026
Merged

Aliferous3 merged 2 commits into
mainfrom
spike/ownership-graphql-feasibility

Conversation

@Aliferous3

Copy link
Copy Markdown
Owner

Summary

Phase-0.5 feasibility spike per docs/code-ownership-over-time-rfc.md — isolated development tooling only, no production behavior.

  • Real Dev Ledger installation token (app dev-ledger, contents:read) verified Commit.blame(path:), Commit.history(path:) (file + directory), and REST git trees on public and authorized private repos — zero permission errors
  • No source/blobs/patches/clones/archives anywhere; queries statically audited and responses scanned; zero Supabase interaction
  • Measured: GraphQL cost is flat 1 pt per query including 50-alias batched blame; ~50 ms/file latency at batch 50; deep-history unlinked-author rate ~28% on a mature public repo; rename boundary splits history(path:) while HEAD blame attributes across it; trees API never truncated up to 7.9k entries
  • Sanitized results report: docs/ownership-graphql-spike-results.md — verdict GO with measured production limits
  • Raw run artifacts land in gitignored .tmp/ownership-spike/ only; private repos anonymized in the committed report

Test plan

  • 11 new unit tests (query source-exposure audit, sanitizer, isolation invariants) — CI is fixture-only, no GitHub calls or secrets required
  • npm test, typecheck, build, audit all green

Generated with Devin

Isolated spike tooling (scripts/spikes/), unit tests, and the sanitized
measurement report. Real Dev Ledger installation token verified blame,
history(path:), and trees all work under existing contents:read on public
and private repos; no source, blobs, patches, clones, or persistence.
Measured: blame is flat 1 pt even at 50 aliases; deep-history unlinked
rate ~28% on mature repos; rename boundary behavior characterized.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dev-ledger Ready Ready Preview Oct 18, 2026 8:28am UTC

- historical-revision blame explicitly unmeasured; snapshot estimate
  relabeled provisional
- alias cost wording: stayed 1 through the tested 1-50 range, no
  extrapolation beyond the measured ceiling
- unlinked share now reported as both range share (28.4%) and
  surviving-line share (18.6%); summarizeBlameRanges computes both
- blame workload framed as a resumable multi-slice cycle governed by
  wall-clock + response-size + cursor, points as secondary guard

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@Aliferous3
Aliferous3 merged commit 252d753 into main Oct 18, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1d001e76 Deployed Oct 18, 2026 by vercel[bot]
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