merge-fold backup lifecycle and fold script
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Read .claude/skills/merge-fold/SKILL.md, especially sections 7 and 8, then add the fold script at .claude/skills/merge-fold/fold.sh and a scratch repository test for each listed case. Check the resulting refs and ledger rows, including that one backup remains and backups for landed batches are preserved. Done means the test runs in the fold's gate and each assertion fails without the lifecycle behavior.
Written by the indexing model from the issue text.
Description
Evidence at d082ef2e3 (the release tip when measured)
git grep -n 'release-v6.20.0/\|at the release cut' d082ef2e3 -- .claude/skills/merge-fold AGENTS.md: SKILL.md:133 and
:135. The fold's backup step is "Kept until then", with remove-when "at the release cut". Nothing deletes a backup.git for-each-ref refs/heads/backup/release-v6.20.0/on the same tree: 173 local refs. Every one is an ancestor of
release/v6.20.0, and none is on origin (git ls-remote --heads origin 'refs/heads/backup/release-v6.20.0/*': no refs).git ls-tree -r --name-only d082ef2e3 -- .claude/skills/merge-fold: SKILL.md only. The fold script existed only in the
work root, outside the repository, so the procedure the skill describes had no committed executable form.
Not shown
- Whether the fold script's failure cases behave as section 7 of the skill says. No automated test runs the script.
- Whether the backup lifecycle holds across a sequence of folds: the measurement is the state at one commit.
Falsifier
A run of the fold script against a scratch repository in which a successful fold leaves two backups (the previous one
not deleted), or deletes the only backup of the tip the release moved from, or deletes a backup of a batch that landed.
Work
- Commit the fold script as
.claude/skills/merge-fold/fold.shwith the lifecycle of section 7 and invariant 8 of
.claude/skills/merge-fold/SKILL.md(commit ce9b591aa on the branch nevr-runtime-merge-handler/backup-lifecycle, under
review at the time of filing). - A test that runs the script against a scratch repository and checks, for each case of section 7 (fast-forward succeeds;
fast-forward refused; tips differ after the fast-forward; release tree not clean; a previous backup cannot be deleted;
a red before the tip moves), the refs that exist afterwards and the ledger rows. Each assertion fails without the
lifecycle code (mutant proof, AGENTS.md "What a landed commit carries"). - Close this issue when the test runs in the fold's gate.
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100