Repository navigation
Conversation
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
2 times, most recently
from
November 26, 2026 11:35
b08e011 to
857a1b7
Compare
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
from
November 26, 2026 11:59
e6800a8 to
1c327cd
Compare
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
from
November 26, 2026 12:14
1c327cd to
4f26728
Compare
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
2 times, most recently
from
November 26, 2026 12:47
7141674 to
e17c0d5
Compare
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
from
November 26, 2026 13:00
e17c0d5 to
8b6b972
Compare
houko
force-pushed
the
feat/editor-review-conflicts-yaml-edit-1032
branch
from
November 26, 2026 13:05
8b6b972 to
29e3dc8
Compare
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.
Closes #1032
Summary
Implements conflict resolution with concurrent manual edits and in-place YAML editing inside the full-window agent Review screen (
docs/design/editor/Review.dc.html), strictly styled withdocs/design/editor/Spec.dc.htmlDark and Light tokens and built cleanly on top ofagent.go,agent_ui.go, andspec_theme.go:packages/game/editor/review.go):StartReviewTurn/OpenReviewTurn) and automatically syncs concurrent manual edits made through editor commands (syncReviewAfterMutate) viasceneformat.Merge(BaseDoc, PersonDoc, AgentDoc).door_1'son_openlist) display both sides with line authors (you,agent) and a Mine / Agent's / Both segmented control (ResolveReviewConflict), where Both preserves both entries, yours first."Choose how <object> merges", and pressing Keep or the header blocker jumps straight to that change.review.go,review_ui.go):BeginReviewYAMLEdit) on an added or changed object makes the right-hand YAML pane editable in place (SetReviewYAMLDraft).you."Fix YAML on line N"in the header blocker and"Line N isn't valid YAML"in the alert card, disable Done and Keep, offer mechanical one-step fixes (ApplyReviewYAMLFix, including Add the colon forx 444, Close the quote, Add the closing brace/bracket, and Replace tabs with spaces), and offer Undo my typing (UndoReviewYAMLTyping).packages/game/editor/editormcp/review.go):Editor.Historystep (KeepReviewTurn), gating autosave (HasOpenReview) until kept.review_statusMCP tool returning conflict choices, active blockers, and hand-edited fields/lines tagged"you"for round 2.ScopeReviewshortcuts (J,K,X,B,⌘↵,⌘⌫) and strictly-sorteden.yaml/zh.yamllocale entries.docs/en/editor.md,docs/zh/editor.md,docs/en/mcp.md,docs/zh/mcp.md, addschangelog.d/editor-review-conflicts-yaml-edit-1032.md, and adds.agents/notes/implemented/feature/2026-11-26-editor-review-conflicts-yaml-edit.md.Verification
env -u GOROOT go tool nsgo check ./editor,./editor/editormcp,./editor/editorcmd(default +-target ios)TMPDIR=/tmp env -u GOROOT go tool nsgo test ./editor -run "TestReview|TestLocaleCatalogsComplete|TestAutoSave|TestAgent|TestShortcuts|TestCommands|TestSpec"env -u GOROOT go tool nsgo test ./editor/editormcp(47 passed)env -u GOROOT go tool nsgo test -target macos -run TestReviewConflictsAndYAMLEditMacOSScreenshots ./editor/editorcmd(visually inspected 5 real macOS screenshots in Spec Dark and Spec Light: unresolved conflict, Both resolved, YAML parse error, fixed YAML taggedyou, and Spec Light parity)env -u GOROOT go run ./tools/changelog check&bun run verify-notes