You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolve merge conflicts in generated files by regenerating them #1523
From the 2026-10-28 retro of thirdshift's own runs.
Conflict Repairs are now the most common kind of Repair: 57 since 2026-10-15, against 49 CI-red Repairs. Most come from sibling Tickets merging into their Spec branch. Generated files are among the conflicting files: site/docs/index.html, generated from docs/guide.md (edited in 202 commits since 2026-10-15), and the prompts output generated from source. A conflict in a generated file has one right answer: regenerate it from the merged sources. The thirdshift-resolving-merge-conflicts Factory skill says to resolve each hunk by intent, and says nothing about generated files.
Category: enhancement Summary: When a merge conflicts in a generated file, the conflict Repair regenerates it from the merged sources instead of resolving its hunks.
Current behavior:
The thirdshift-resolving-merge-conflicts Factory skill treats every conflicting file the same way: find each change's intent, then resolve hunk by hunk. Generated output such as this repository's user-manual HTML and prompts pages gets hand-merged, then has to be checked against its sources.
Desired behavior:
The skill tells the session to recognize a generated file: the repository documents a command that produces it, or the file says it's generated.
For such a file, the session first resolves the sources it comes from, then reruns the repository's documented generator, and stages the result. It never hand-edits generated hunks.
The wording stays generic, because this skill ships to every repository thirdshift works on. Nothing in it names this repository's files.
This repository's own instructions name its generators where a session resolving a conflict will find them. AGENTS.md already gives the prompts command (UPDATE_PROMPTS=1 cargo test prompts_page); the user manual's command (npm run docs --prefix site) is in site/tests/README.md.
Key interfaces:
The skill's source and the generated prompts output, regenerated with UPDATE_PROMPTS=1 cargo test prompts_page.
Acceptance criteria:
The resolving-merge-conflicts skill has a step for generated files: resolve the sources, then regenerate, never hand-merge.
The skill names no file specific to this repository.
A session in this repository can find both generator commands from AGENTS.md, directly or by one pointer.
cargo test prompts_page passes, with the regenerated output committed.
Out of scope:
Changing how thirdshift merges branches, or adding git merge drivers.
Reducing how often Spec Tickets touch the same pages (separate issue).
Activity
JacobStephens2 commentedon Oct 28, 2026
Agent Brief
Category: enhancement
Summary: When a merge conflicts in a generated file, the conflict Repair regenerates it from the merged sources instead of resolving its hunks.
Current behavior:
The
thirdshift-resolving-merge-conflictsFactory skill treats every conflicting file the same way: find each change's intent, then resolve hunk by hunk. Generated output such as this repository's user-manual HTML and prompts pages gets hand-merged, then has to be checked against its sources.Desired behavior:
AGENTS.mdalready gives the prompts command (UPDATE_PROMPTS=1 cargo test prompts_page); the user manual's command (npm run docs --prefix site) is insite/tests/README.md.Key interfaces:
UPDATE_PROMPTS=1 cargo test prompts_page.Acceptance criteria:
AGENTS.md, directly or by one pointer.cargo test prompts_pagepasses, with the regenerated output committed.Out of scope: