Skip to content

[CEL-1327] Stop tracking derived RepoSkein graph - #4

Merged
mong-x merged 1 commit into
mainfrom
mjnong/cel-1327-stop-tracking-reposkein
Aug 28, 2026
Merged

[CEL-1327] Stop tracking derived RepoSkein graph#4
mong-x merged 1 commit into
mainfrom
mjnong/cel-1327-stop-tracking-reposkein

Conversation

@mong-x

@mong-x mong-x commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Linear

CEL-1327

Change

  • Stop tracking derived .reposkein/nodes.jsonl and .reposkein/edges.jsonl.
  • Keep both files locally generated and ignored by existing .reposkein/.gitignore.
  • Remove obsolete graph merge declarations from root .gitattributes.
  • Preserve authored summary shards and RepoSkein config unchanged.

Upstream fix and migration: reposkein/reposkein#35. Current local indexer: 0.7.0.

Evidence

  • Pre-fix invariant on origin/main: two derived graph files tracked.
  • Post-fix invariant on HEAD: zero derived graph files tracked.
  • Both derived files resolve through .reposkein/.gitignore.
  • Real pre-commit hook completed and staged no graph output.
  • Fresh index succeeded; indexed-at marker equals exact head.
  • git diff --check origin/main..HEAD passed.
  • Embedded semantic summaries before migration: zero.

Test plan

  • Verify git ls-files .reposkein/nodes.jsonl .reposkein/edges.jsonl is empty.
  • Verify git check-ignore -v .reposkein/nodes.jsonl names .reposkein/.gitignore.
  • Run reposkein-mcp index .; graph must rebuild locally.
  • Commit a docs-only change; graph files must remain untracked and unstaged.

No package publish, deployment, or product runtime change.

Exact head: e08f721


Summary by cubic

Stops tracking the derived RepoSkein graph files (.reposkein/nodes.jsonl and .reposkein/edges.jsonl) so stale incremental re-indexing from the pre-commit hook can no longer silently delete live graph nodes after a merge. The files remain locally generated and covered by the existing .reposkein/.gitignore; the obsolete merge=union declarations in .gitattributes are removed since nothing tracks those paths anymore.

Written for commit e08f721. Summary will update on new commits.

Review in cubic

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f7f163dc-4174-4961-9dd8-724e4a0f2bd4

📥 Commits

Reviewing files that changed from the base of the PR and between 168453d and e08f721.

📒 Files selected for processing (3)
  • .gitattributes
  • .reposkein/edges.jsonl
  • .reposkein/nodes.jsonl
💤 Files with no reviewable changes (3)
  • .gitattributes
  • .reposkein/edges.jsonl
  • .reposkein/nodes.jsonl

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Removed internal repository relationship and structure index files.
    • Updated repository configuration so these files no longer use a custom merge driver.

Walkthrough

The change removes custom merge-driver attributes from .gitattributes and deletes the .reposkein JSONL repository index files.

Changes

Repository index cleanup

Layer / File(s) Summary
Remove index merge configuration and generated indexes
.gitattributes, .reposkein/nodes.jsonl, .reposkein/edges.jsonl
The custom reposkein-jsonl merge attributes and the repository index files were removed.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to e08f7

This change stops tracking locally generated RepoSkein graph files while preserving local regeneration and ignore rules; no actionable merge-blocking risk remains after normal checks and review.

Suggested labels: fix

Poem

A rabbit tidies JSONL trails
The merge flag hops beyond the rails
Nodes and edges leave the burrow bright
No stale index files remain in sight
The repository rests light tonight

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains that the derived RepoSkein graph files will no longer be tracked, that they remain locally generated and ignored, and that obsolete merge declarations are removed. It …
Title check ✅ Passed The title, "[CEL-1327] Stop tracking derived RepoSkein graph," clearly and concisely summarizes the primary change in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description clearly explains that the derived RepoSkein graph files will no longer be tracked, that they remain locally generated and ignored, and that obsolete merge declarations are removed. It matches the changeset and objectives.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mjnong/cel-1327-stop-tracking-reposkein

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

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot added the fix label Aug 27, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Stops tracking derived RepoSkein graph files and removes now-dead merge declarations, fixing the pre-commit hook that deleted graph nodes. Reduction in exposure; derived files regenerable and still locally ignored.

Re-trigger cubic

@mong-x

mong-x commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Independent spec review (exact SHA e08f721): P0-P3 findings: none. CEL-1327 migration matches reposkein/reposkein#35: derived nodes/edges are untracked and ignored, local index evidence targets this SHA, embedded semantic-summary count was zero, committed RepoSkein config/summary shards remain unchanged, obsolete root graph merge attributes are removed, and diff contains no product/runtime scope creep. Deletion-only diff is required untracking, not test/slop overfit. Verdict APPROVE.

@mong-x

mong-x commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Independent standards review (exact SHA e08f721): P0-P3 findings: none. Diff limited to untracking .reposkein/nodes.jsonl and .reposkein/edges.jsonl, plus removing their obsolete merge attributes. git diff --check clean. Skill-perspective check: ran (programming, remove-ai-slops); no violations. Verdict APPROVE.

@mong-x
mong-x merged commit f2b76ce into main Aug 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant