The stack comes out — Kanban/Git/ deleted wholesale, ten thousand lines into history
Step 5 of strategy/01-git-excision.md: the seventeen dead engine files and the five remaining git test suites go (InertGitTests stays — the naming footgun is a Storage keeper). Two rescues ride ahead of the delete: HarvestedReceipt relocates to EchoLedger (the harvest surface outlives its git consumer; foundation for the deferred journal), and commentTimestamps joins the narrator it always served. The provider-swap purge test re-expresses over a git-free fake; the duplicate-id ladder keeps every pure historyRank pin and loses only the two ranker-driven ones. Resurrection point: tag pre-git-excision. 2,707 tests green. Claude-Session: https://claude.ai/code/session_014PtZdPwqZuqEDLc6wZMtEy
This commit is contained in:
@@ -46,7 +46,7 @@ private func files(under root: URL) -> [String: Data] {
|
||||
return found
|
||||
}
|
||||
|
||||
/// What `GitCommitOperation.surveyChangedPaths` would have reported for these two trees — a plain
|
||||
/// The changed-path list a repository survey would have reported for these two trees — a plain
|
||||
/// content comparison, since nothing here has a repository to ask.
|
||||
private func changedPaths(from before: URL, to after: URL) -> [ChangedPath] {
|
||||
let old = files(under: before)
|
||||
@@ -113,7 +113,7 @@ private func compose(
|
||||
// Resolved the way a flush resolves it — off the "after" tree, through the committer's own
|
||||
// reader — rather than hand-assembled, for the same reason both snapshots are loaded rather
|
||||
// than built: a map the flush could never produce would prove nothing about the flush.
|
||||
commentTimestamps: GitAutoCommitter.commentTimestamps(for: paths, boardRoot: after.root)
|
||||
commentTimestamps: ChangeNarrator.commentTimestamps(for: paths, boardRoot: after.root)
|
||||
))
|
||||
}
|
||||
|
||||
@@ -993,6 +993,6 @@ struct CommitMessageRootCommitTests {
|
||||
snapshot: try fixture.snapshot(),
|
||||
previousSnapshot: nil
|
||||
))
|
||||
#expect(message == GitRepository.initialCommitSubject)
|
||||
#expect(message == ChangeNarrator.rootSubject)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user