Repository navigation
Conversation
The timeline is the first-parent history of HEAD, never --all, so stashes, notes and other branches are no longer frames (EVO-6). The whole history is listed (streamed) and thinned to 240 candidates from the first commit; a range is resolved by Git in either order, diverging ends from their merge base (EVO-7). Tags on trees or blobs are not offered. No 1000 clamp on the export's latest N, and the prompt names the branch's history (EVO-12). PROJECT_EVOLUTION_XR.md matches the code (EVO-19). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FkKtAtQus8TVjhG9bhytC
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adrián · project thread
Closes #83. Part of #72. Findings EVO-6, EVO-7, EVO-12, EVO-19 (
docs/xr-audit/evolution.md).What changes
EVO-6, the timeline is HEAD's first-parent history.
listTimelineSources(maxCount, tip = 'HEAD', exclude?)walksgit log --first-parentinstead of--all. As a result:The picker's commit list uses
--branches --tags --remotesinstead of--all.EVO-7, the whole history is covered. The new
core/history/projectEvolutionTimeline.tshandles the Auto movie and range movies.isAncestor,mergeBase), so they can come in either order. Ends on diverging branches start from their merge base. An end that cannot be resolved gives a sentence, not a raw code.resolveTimelineIndexandTIMELINE_SCAN_LIMITare removed.EVO-12, no hidden export limits.
core/history/gitLineStream.ts, which keeps the same timeout, cancel signal and error codes asrunGit, so a large history cannot overflow a buffer.countTimelineCommitsusesrev-list --first-parent --count HEADand returns 0 in an empty repository.EVO-19:
PROJECT_EVOLUTION_XR.mdnow matches the code. The CHANGELOG[1.2.1]section andV1.2.1_STATUS.mdare updated.Behaviour change, by design of the story: the export no longer includes other branches.
Verification
npm test: 1149/1149 passed, with ESLint at 154 warnings (budget unchanged) and the guardrails unchanged.test/analysis/gitTimeline.test.cjshas 7 tests, all on real repositories:Generated by Claude Code