Skip to content

Keep a ledger of every candidate the upstream sync has measured - #9

Merged
ilien-dev merged 1 commit into
mainfrom
feature/upstream-sync-ledger
Nov 5, 2026
Merged

ilien-dev merged 1 commit into
mainfrom
feature/upstream-sync-ledger

Conversation

@ilien-dev

Copy link
Copy Markdown
Owner

This adds the ledger commit that missed #8. It was pushed after that PR had already been merged, so it never reached main.

/upstream-sync now keeps .claude/skills/upstream-sync/tried.json, a record of every candidate it has measured. Each entry has its source, the numbers that decided it and what new evidence would justify trying it again. The ledger starts with 53 entries: the 2026-11-04 intake plus the rejections already listed in references/numbers.md.

sync.py tried WORD searches the ledger and sync.py tried --check validates it. The skill now searches it before proposing anything, records every verdict as soon as it is known (including failed attempts that leave no commit), and commits it together with upstream.json. The skill also lists the pitfalls the last run hit.

All 14 tests in test_sync.py pass, 3 of them new.

tried.json holds each candidate with its source, target, numbers, verdict and
what new evidence would justify measuring it again: this week's 43 and the 10
rejections already in references/numbers.md. sync.py tried WORD searches it,
tried --check validates it, and status counts it. The skill now searches the
ledger before proposing, records every verdict the moment it is known (failed
attempts with no commit included), commits it with upstream.json, and lists
the pitfalls this week paid for.
@ilien-dev
ilien-dev merged commit 9bedfd5 into main Nov 5, 2026
1 check passed
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