Repository navigation
fix: start a document fix however many branches wait, and remake a conflicting branch by itself - #1908
Merged
Conversation
…nflicting branch by itself
# Conflicts: # herdr-core/src/runtime/memory_branch.rs # herdr-core/src/runtime/project_memory.rs # web/src/gallery/HideAiScene.tsx
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.
Related: #1906 (fix/memory-press-feedback also touches the refusal shown on a row, including
branches_full; merge-order: this stays alone and merges main once after #1906 and #1903)Summary
문서 고치기and Memory'sN개 문서에 반영no longer stop at결정을 기다리는 브랜치가 5개예요: a fix starts on its own branch from the base however many branches already wait.When
main에 합치기ormain에 바로 올리기is refused because the base moved and the branch conflicts with it (merge_conflict), Hide starts다시 맞추기itself, once per refusal, and the row shows다시 맞추는 중under 반영 중.When the remake is ready, Hide presses the same merge once more by itself, since the operator already asked for it; the row reads
합치는 중and folds as any merge does.Only a second refusal, or a remake that made no commit, stops for the operator with
다시 시도; the hand다시 맞추기button is gone.This replaces PRD hide-ai-branch-first-apply D-17 and B28 (operator decision 2026-10-31: "컨플릭트 나면 고쳐서 하면 되는 거 아닌가").
Review
herdr-core/src/runtime/suggestion_apply.rs- failure path: the refusal and thenLineAction::Rebasego to the worker in that order, so the refusal is recorded before the remake begins.herdr-core/src/runtime/memory_branch.rs- failure path: a merge decision now prepares a rebase start under the lock (promotion_start); onmerge_conflictthe decision worker restarts the batch withBatchPurpose::Rebaseinstead of writing the refusal, and writes the refusal when no card restarts.herdr-core/src/runtime/memory_branch.rsfinish_remade_batches- runs on each Memory read; it fires only after the batch was seen running, so the old ready rows of a stale read are never merged.contracts/snapshot-wire-enums.json,herdr-core/src/model.rs- snapshot wire:suggestion_holdlosesbranches_fulland the Memory snapshot losesbranches_full; the shell already treated it as optional.Evidence
a_merge_that_conflicts_with_the_base_starts_the_remake_itselfon a real git repo: a conflicting merge refuses withmerge_conflict, exactly oneLineAction::Rebasefollows, and once the remade attempt is ready main fast-forwards to the remade tip with no second press.a_remade_branch_that_conflicts_again_waits_for_the_operator: a remake that still conflicts is refused once, no second remake starts, and a later ready attempt moves nothing.bash scripts/verify-cargo.sh lintpassed, andverify-cargo.sh nextest -p herdr-core -p hidedran 4228 tests, all passed.bash scripts/verify-web.shpassed (web 264 files / 2311 tests, desktop 28 files / 302 tests, typecheck, lint, build);node scripts/check-design-contract.mjspassed.hide-ai&state=remaking(dark, ko, 420 px) captured with headless Chromium: six ready branches,AGENTS.md 고치기still offered, and the remade row reading다시 맞추는 중 1분.다시 맞추기took and the operator's merge path.Verification record