AGENT SKILL

working-with-prs

Use when opening, gating, reviewing or merging a pull request, writing its body, making a branch testable, handling agent review findings, or sequencing several branches at once.

License 许可
AGPL-3.0
所属仓库
loupe-ac/loupe
最近更新
2026-11-15
Stars
★ 2
Forks
0

01 前言 Front Matter

name
working-with-prs
description
Use when opening, gating, reviewing or merging a pull request, writing its body, making a branch testable, handling agent review findings, or sequencing several branches at once.

02 资源文件 5

03 SKILL.md 正文

Working with pull requests

Every change reaches main through a pull request. main is protected, so no path skips this.

The branch name

Name a card branch card-<number>-<slug>. The slug is two to four lowercase words from the card title.

The gate, before you open anything

  1. just cs applies the formatter and rector fixes. Commit anything it changed. It works from a worktree.
  2. Run just phpstan, just arkitect and just gamache. These check the whole project. Then run just prepush <base>, which fails on a stale openapi/ file or a changed plugin without a greater version.
  3. Run PHPUnit on the tests for what changed: just phpunit tests/<path> or just phpunit --filter <name>.
  4. Run just js-test when JavaScript changed, and just cli-test when cli/ or hooks/ changed.
  5. Push. Run no Codex review. A separate review worker reviews the pull request after the push (see "The agent review"). CI's required checks are the full gate. Read them on the pull request, and fix every failure, including ones that pre-date your change.

A PreToolUse hook, .agents/hooks/no-full-ci.sh, refuses just ci and a full PHPUnit run for an agent. The audit workflow runs just audit on main and each day, so the local list leaves it out. A worker learns of a failed required check from the board, and the checks-failed fix round covers every required check.

e2e is not in the local gate. Do not run the full suite locally before you open the pull request. "Running the suite locally is debugging, not gating" lists the e2e checks.

The agent review

Open every pull request as a draft: gh pr create --draft. A review worker reads the whole change at the head commit. That worker is never the worker that wrote the code. Loupe posts the result as the check Loupe / Agent review, with each finding beside its line. docs/using/workflows.md "Agent review" describes the flow.

  • A failed review asks for a fix at once. The fix round reads the findings of the head commit from card_get, in agentReview.
  • When the review passes and CI is green, Loupe marks the pull request ready, and the owner then sees it. The card moves to In review. Never run gh pr ready yourself, and do not wait for the review of the owner to un-draft it.
  • A draft that stays a draft after a passed review and green checks is a fault of the setup. The usual cause is a workflow with no agent review rules, as Lifecycle has, or a bridge with no review work entry. Say so in the body.
  • Ready does not mean merged. main still needs the check Loupe / Approval, and you never approve your own work.
  • Review the diff against origin/<base>, never main. The local main of a worktree is often stale, so a review against it reports findings for already-merged code.
  • A reviewer inside an implementation run still runs, such as the per-task reviewer of the build notes. Those reviews are part of the build.

The Design System artifact rebuild

After the gate checks, run bin/agents/design-system-changed origin/<base>. The script prints the changed design system paths. It prints nothing when none changed.

When it prints a path, try the rebuild with the loupe-design-rebuild skill. Do not skip this step. When the rebuild cannot write, as in a headless worker with no Artifact tool, write the line Design system rebuild: pending in the pull request body. Then follow references/design-system-rebuild.md, which raises one non-blocking to-do for the owner and never a duplicate.

A check is a fault until you have seen it fail

A check that comes back clean is a fault in the check, until it has failed on a known-bad input.

A check that comes back one short is a fault in the check, until you prove otherwise. Nobody tests this direction, because a check that reports a problem looks self-justifying.

A tool reports what it did. It does not report what it found. Doing nothing successfully and finding nothing wrong produce the same output. So break the check on purpose, and watch it go red. Then restore it and trust the green.

Confirm that the break landed before you read the result, for example with git diff --quiet. A break with wrong escaping leaves the file unchanged, and the green then reads as "the rule is fine". A falsifier that does nothing is the same fault one level up, and it is the more convincing of the two.

Signal What it cannot distinguish
phpstan exit 0 a clean tree from a rule that never loaded
a test that pins behaviour the behaviour existing from the test not asserting it
just cs reporting success a fixer that ran from a rule that silently no-opped
a conflict report naming one file the other files being unchanged from being reverted
pass=10 on a pull request a current head from a head that has since moved

A good falsifier is small. A file that calls a constructor with no arguments proves that an arity rule runs. Adding the forbidden filter to a listener proves that the test which forbids it goes red.

Grep is where the second direction bites. A pattern that cannot match one form of the line reports one short, while every line is present. Read the region. Do not grep for what you expect to find.

A conflict resolution needs the same proof. Before you accept a resolution of a shared prose file, or of a stacked branch after its parent squashed, read references/conflicts.md. Its comm checks prove that no entry and no test disappeared.

Ask what reads what you write

Inert code looks wired up when its input is present. A changelog fold proposed for docker/prod/release.sh reads as plausible, because COPY . . puts docs/CHANGELOG.md into the production image. Nothing reads it there. grep -rn CHANGELOG src/ templates/ config/ public/ returns nothing, and the container filesystem is discarded on each deploy. The fold would have run, reported success and changed nothing.

For any step that writes something, name what reads it. Require a grep that finds the reader. An input that exists is not evidence that anything consumes the output.

Documentation-only branches run just cs and push

Skip the local checks. Say so in the PR body, so the record shows that the gate was reduced deliberately and not forgotten. CI still runs every check, e2e included, because Markdown is not inert here. Prettier covers some of it, the gamache checks read docs/, and a docs commit can break a build that greps them. The agent review still reads the pull request.

The test is the diff, not the intent. Every changed file must end in .md. Check it, and do not assume:

git diff --name-only origin/main...HEAD | grep -v '\.md$'

Any output at all means that the full gate applies. A branch that also touches .env, a Twig template, a fixture, composer.json or a justfile recipe is not documentation-only, however small the change looks.

The reduced gate does not extend to Markdown that a script executes. A .md file that a script parses for commands is code with a .md suffix, so gate it fully. A SKILL.md sits at the edge. An agent reads it and no script parses it, so the reduced gate applies. Note that call on the gate line.

The reason is proportion. A gate that can never fail teaches a reader to stop trusting gate results.

Keep the body brief

The owner reads every body. Write it so that he can read it in under a minute. Put the full reasoning in the commit messages, because the squash keeps them in git log.

Aim for about 100 words on a small change, and stay under 250 on a large one. Use short bullets. Do not use paragraphs.

Write only these, and leave out any line that has nothing to say:

  • Preview links, at the top. Every pull request has them.
  • The URL of the board card the branch works, when a card exists.
  • One or two sentences on what changed and why.
  • The rejected alternative, in one sentence, when there was a real one.
  • What you verified, one line per check.
  • What you could not verify.
  • A decision the owner must make.
  • A deploy need, a breaking change, or a merge order.
  • One gate line, such as "Gate: cs, phpstan, arkitect, gamache and tests/Module/Board green." Name a reduced gate on that line.

Leave these out:

  • A heading for every item. ## Preview is the only heading a body needs.
  • Any line that says something does not apply: "nothing to click", "no deploy need", "no changelog fragment", "the gate was not reduced".
  • The diff restated in prose, a code block of the change, or a table per file.
  • A narrative of how you got there. That goes in the commit message.

A reviewer asks for detail when he needs it. Answer in a comment. Do not grow the body.

Make the branch testable, not just reviewable

A reviewer who has to build state by hand usually will not.

Put the preview links at the very top of the body, under a ## Preview heading. They go before the decision, the summary and everything else. They are the first thing the owner looks for, so nothing goes above them. A demo section two thirds of the way down, next to the gate results, makes the reviewer hunt. "Try it", "Click it" and "Verification" are typical names for such a section. Lead with the links, then explain the change.

Give each link a one-line label that says what state it shows. When a change has several states, seed one document per state and link each. A reviewer who can see all of them side by side reviews what the code does. Otherwise the reviewer sees only the one case you seeded.

Point at the running instance, and sign the reader in. Every worktree serves its own branch at https://<slug>.loupe.dev.localhost. Do not put a bare page URL in the body. It lands the reader on the login page, and the reader must sign in by hand. Mint a signed link instead, from inside the worktree:

( cd .worktrees/<name> && bin/worktrees/compose-exec.sh \
    bin/console app:dev:preview-login-link --path=/projects )

The link signs the reader in and lands them on the page you named, so the body needs no credentials at all. Use --email=admin@loupe.test for an admin page. The link does not expire, so it still works when the reviewer reads the body days later. The signature covers the whole URL, host included. A link therefore works against that worktree only, and the host resolves on your own machine. The route is #[When('dev')], so it does not exist in production.

Open the link yourself before you write it down. Seed and prove every link before the push, not after it. A branch that cannot show its marker is not pushed as ready.

Prove each preview link shows its state

A headless session cannot look at a page, so it proves each link with curl. Do this before you write the body. Pick a marker that the diff adds to the page: a translated label, a data attribute or a CSS class. A marker that the page showed before the branch proves nothing.

link=$( ( cd .worktrees/<name> && bin/worktrees/compose-exec.sh \
    bin/console app:dev:preview-login-link --path=/projects ) | tail -1 )
jar=$(mktemp) page=$(mktemp)
/usr/bin/curl -sSL -c "$jar" -b "$jar" -o "$page" \
    -w '%{http_code} %{url_effective}\n' "$link"
grep -c 'Your projects' "$page"

The link signs the reader in, sets a session cookie and redirects. Without the cookie jar, the redirect lands on /login. The macOS /usr/bin/curl trusts the local certificate authority through the keychain, so it needs no -k.

Read two results. The effective URL must end in the --path you minted, or the sign-in failed. The count must be 1 or more, or the state is not seeded. For a signed link, fetch the bare page URL once without the link, and confirm that the count is 0.

A page that shows records needs a second proof. The marker must show only when the page holds its data. A page title, a heading, a panel id or a chart container fails, because the page renders them with no data too. In pr:loupe-ac/loupe#1381, the Metrics marker data-metrics-title counted 1 on a project with 0 runs, so every chart was empty. Pick a marker that the template prints once for each record, such as a row id or a data-series attribute. The module seeder that writes the data also writes an empty twin of the record with a fixed id. Mint a link to that path, and fetch it with the same cookie jar:

twin=$( ( cd .worktrees/<name> && bin/worktrees/compose-exec.sh \
    bin/console app:dev:preview-login-link --path=/projects/<twin id>/analytics/metrics ) | tail -1 )
/usr/bin/curl -sSL -c "$jar" -b "$jar" -o "$page" \
    -w '%{http_code} %{url_effective}\n' "$twin"
grep -c 'data-series' "$page"

The count on the twin page must be 0. The bare URL fetch proves the sign-in, and the twin fetch proves the data. End the line with the empty path:

- [Metrics, three runs](https://card-42.loupe.dev.localhost/dev/preview-login?…), marker `data-series`, empty `/projects/<twin id>/analytics/metrics`

A state that shows no records, such as a form or a dialog, ends with no data.

Write one Markdown list item per link in the Preview section. Name the marker that you found:

- [Board, empty Next column](https://card-42.loupe.dev.localhost/dev/preview-login?…), marker `lp-empty-state`, no data

A page that only a signed-out visitor sees, such as the landing page at /, takes a plain link. A signed link signs the reader in, and the page then redirects. Prove the plain link with the same curl, with no cookie jar, and end the line with . Signed out.. The plain link is the bare page URL, so skip the zero-count fetch. The effective URL must end in the path, and the count must be 1 or more. The marker must not be on main:

- [Landing page](https://card-42.loupe.dev.localhost/), marker `rel="help"`. Signed out.

A link to a file, an artifact or a CI run takes the same shape with no marker. So does the card line: - [Card 42: <title>](<card URL>).

A branch that changes a page and cannot show its marker is not ready. "The tests cover it", "the seed holds no X" and "it shows after a bridge reports data" do not replace a seeded state.

Every pull request has a Preview section. When a branch changes no page, link what the reviewer reads instead. That is each changed file rendered on GitHub, a published artifact, or the CI run that shows the change working. Pin a GitHub link to the pushed commit SHA, and not to the branch name. The link then shows the code under review after the branch moves.

Put the card URL on its own line under the Preview section, when a card exists. loupe-board says how to build that URL and how to add the pull request to the card.

Every such URL must be clickable. That means one whole absolute URL in plain text. A body with several pages to point at tends to give a bare host followed by paths in backticks. That renders as unclickable code spans, and the reviewer has to assemble each URL by hand. That friction is enough to lose the click that the seeding was for. So follow these rules:

  • Put no backticks around a URL.
  • Write no relative paths under a host that you give once.
  • Leave no <slug> or other placeholder for the reader to substitute.
  • Write the full https://<slug>.loupe.dev.localhost/projects/…/review per destination, even when that repeats the host five times.
  • Paste one into a browser before you open the pull request.

Leave the ## Preview section in the body. The squash message is the commit messages of the branch, and the merge sends no body, so the links never reach git log. A signed *.dev.localhost link points at a worktree that is torn down within hours. Name the commit that the preview was built from, so a later reader knows which code the links showed. Never write "this branch's head". The phrase is true of every branch at every moment, so no reader can check it. The merge stage copies the links of an epic child to the epic pull request after the merge.

The same rule covers a branch with no worktree of its own. Link the page on whatever instance does serve it. Do not describe the route and leave the reader to construct it.

A branch that adds no route can still produce reviewable output, such as HTML from a renderer, a generated report or a file. Publish the output as an artifact and link it. Say which questions it answers and which it defers.

Seed the data the change needs. bin/console app:dev:seed fills the database with the demo dataset of the module seeders, which covers most pages. A diff feature is untestable without a document that carries several versions. When the dataset lacks the state, extend the module seeder in the branch. Give each record that a link names a fixed id. Write the exact shape the bug had, not merely a happy path. A page behind a flag adds the flag to DevFeatureFlagSeeder. A link to an account page names a demo account, never the dev or the admin account. Tell the reviewer which link to open and what to look for.

Reviewing work you did not write

A green gate is not evidence that the change is correct. One wave had six green branches, and a review found a real defect in every one. The gate proves that the suite passes. It does not prove that the change is right.

So read the diff yourself, especially the part that the author called routine. An agent can report a decision that it made on your behalf. Check whether that decision is orthogonal to the open questions it claims not to touch. One wave branch added a unique index and called it unrelated to a design decision that it foreclosed.

Send findings back to whoever wrote the code, not to a fresh agent. The author still has the context. The second-order questions, such as "does anything else in this file have the same shape?", catch the bug the reviewer did not spot. Ask for a reproduction of the failure against the pre-fix code. You then know that the new test discriminates and does not pass vacuously.

Running the suite locally is debugging, not gating

The eight e2e-* legs are the gate: e2e-chromium, e2e-chromium-2 to e2e-chromium-6, e2e-rest and e2e-global-flags. They run the same just e2e against a disposable stack, with both E2E_BASE_URL and MAILPIT_URL set correctly. See .github/workflows/ci.yml.

The six chromium legs split that project per test. rest runs admin and the destructive chain, and global-flags runs alone. Each leg is on its own runner with its own stack. Read the red leg for the failure. maxFailures: 1 is per process, so a red run can report one failure in each leg.

Each leg is a required check only after the owner adds it to the main ruleset. On main, the lint job fails and names each leg that the ruleset does not require.

Locally the suite is slower, destructive, and fails for reasons unrelated to the diff. So push, then read the checks, and fix every failure they report. Run one named spec locally while you change or debug it, with just e2e tests/<area>/<spec>.spec.ts. The .agents/hooks/no-full-e2e.sh hook refuses a full run.

A run with E2E_BASE_URL set by hand to a sibling worktree wipes the dev data of that worktree and skips the automatic repair. Run bin/worktrees/worktree-bootstrap.sh <worktree-name> after it, and read project-e2e references/sibling-worktree-run.md before it.

Merging

The main ruleset sets strict_required_status_checks_policy to true, so GitHub refuses a merge from a branch that is behind main. The sync below is a hard block, not a caution. Every merge to main puts every other open branch behind, so a queue of N branches costs N sync-and-gate cycles. Two sessions cannot interleave their merges, so one session holds the queue at a time.

Before you hand-merge a pull request, or while you hold the queue, read references/merging.md. It holds the detail of item 5, item 7 on a "not mergeable" error after a push, and item 8 on how to count the checks of the head you merge. A green reading of an old head merges untested code.

  1. The final gate of a branch happens on the branch fully merged with current main. A branch cut before a sibling merged has not really been gated. Its e2e run never exercised the specs of the sibling against its code.
  2. Merge immediately after the gate goes green. Any merge to main between the last sync of a branch and its own merge invalidates its PR through conflicts, or invalidates its gate.
  3. After every merge, run just cs on main and commit the drift. A merge of two individually clean branches produces fixer drift. Otherwise that drift lands on whichever branch syncs next. The changelog needs nothing from you, because the image build folds the fragments itself.
  4. Tear down the worktree of a merged branch only after gh pr merge is confirmed. Never do it in the same command chain. Confirm the merge by reading the result, not by having issued the command. A merge can fail for a reason that is not a conflict, such as mergeability still computing or a check that flipped. A tree destroyed first turns a retry into a rebuild from origin. Nothing is lost while the branch is still on origin, so verify that before anything else.
  5. A conflict-free merge is not a correct merge. A class rename on one branch and a new file on another that uses the old name merge with no conflict. So does a required argument against a new file that constructs the old shape. Push the merged result and read CI before you trust such a merge.
  6. A resolution that takes one side can silently revert the fix of the other side. Before you accept a resolution, re-verify the behaviour that both branches were protecting. The absence of markers is not enough. The sharpest form is rename/rename. There neither side is correct, and the answer is the content of the newer branch at the path of the other branch.

The changelog entry rides the pull request it describes

Every pull request that changes something a reader can act on carries its own changelog fragment, in its own branch, at changelog.d/<number>.md. Write it as you write the change. Do not open a second pull request for it. Never edit docs/CHANGELOG.md itself. changelog.d/README.md holds the format, the six tags, the exemptions and how the fragments reach a reader.

Nothing checks that a branch carries a fragment at all. just lint runs php bin/changelog.php --check, which reads format only. So the rule above is yours to keep. A rule that checks it belongs in a pull request on https://github.com/ubermuda/gamache.

Re-read your own entry when review changes what the branch does. The entry rides the branch, so a feature cut in review leaves a line that describes work that never shipped. It is your own diff, which is the one you stop reading.

A pull request about changelog discipline that changes a skill file earns a fragment, and it carries that fragment itself.

The subject of the squash commit ends with (#209). So git log --first-parent --grep='(#209)$' recovers the commit from the number, and gh pr view 209 --json mergeCommit gives the SHA directly. Keep the $ on that grep. --grep reads the whole commit message, and a body that cites another pull request in the same form matches as well. --grep='(#371)' returns five commits with the real one last.

Entries written before this rule carry a SHA. Leave them alone. An older entry keeps the position that its SHA gives it in git log --first-parent. To match its 7-character SHA, derive it with git rev-parse --short=7, never with git log --format=%h. %h honours core.abbrev, which is unset here, so git returns 8 characters today. A grep built on %h reports zero hits on every commit. A row of zeros is a fault in the check before it is a hole in the file.

What the ruleset actually requires

main allows --squash only. A plain gh pr merge fails with GraphQL: Merge commits are not allowed on this repository. Use gh pr merge <n> --squash.

Do not diagnose a rejected merge with gh repo view. It reports repository settings. These say that all three merge methods are allowed, while the ruleset forbids two. The ruleset is the authority:

id=$(gh api repos/loupe-ac/loupe/rulesets -q '.[]|select(.name=="main")|.id')
gh api repos/loupe-ac/loupe/rulesets/$id -q '.rules[]|select(.type=="pull_request")|.parameters'

That prints required_approving_review_count 0, so GitHub needs no approving review. Read the required checks from the same ruleset, named main:

gh api repos/loupe-ac/loupe/rulesets/$id \
  -q '.rules[]|select(.type=="required_status_checks")|.parameters.required_status_checks[].context'

On 2026-10-31 it printed 18 contexts. One of them is Loupe / Approval, the check that Loupe posts as its GitHub App. docs/using/workflows.md "Approval of a pull request" says when Loupe posts it. Run the command, and do not trust that count. Nothing in the repository fails when it goes stale.

No ruleset covers epic/*. A pull request into epic/<n> gets the required checks of main by name, and --required fails there. Never force-push an epic branch. references/epics.md holds the commands that check an epic child.

An approval in chat is not an approval. Check Loupe / Approval on the head before you conclude that something else blocks a merge:

gh pr checks <n> --json name,bucket -q '.[]|select(.name=="Loupe / Approval")'
gh pr view <n> --json mergeStateStatus

A job that runs in CI but is not in that list cannot block anything. To add one is a repository setting, so a branch cannot do it. If you add a CI job, say in the PR body that requiring it is still owed. Otherwise the job is decoration.

Never approve your own work on GitHub.

Merging does not stay with a human. A PR with all required checks green, Loupe / Approval included, is good to merge. Merge it without asking, when no workflow rule will merge it. A PR linked to a card belongs to the merge-ready rule, so leave it to that rule. Hand-merge only a PR that no rule reaches. The approval already carried the decision, and a wait for a second confirmation parks finished work in a queue. Follow the merge protocol above when you hand-merge one. Sync with current main, let the checks re-run on the synced head, merge, then run just cs on main.

Never merge something unapproved. Never merge past a failing or pending check. Never use --admin to bypass either.

Keep working, and stack when you are waiting

Do not stop because a pull request is unmerged. Stack on it and carry on. Stacking is the recommendation of the owner, and a wait for an approval is not a block. Branch off the pull request your work needs, and build the next piece.

Genuinely blocked means that there is nothing you can do. Examples are a decision only the owner can make, a credential you do not have, or a service that is down. An unapproved pull request is none of those. Neither is a queue.

This overrides the caution that a session may carry from a bad wave of stacked branches. Every failure in that wave was a merge that git could not see. A CONFLICTING pull request also never ran CI, because pull_request does not fire without a merge commit. So the discipline is merge-protocol item 5, not abstinence. Push the merged result and read CI. Do not trust a clean git merge. Check that the stack is not CONFLICTING before you believe a green check.

Say in the body which pull request the branch stacks on, and why. The reviewer needs it, and so does whoever holds the merge queue. A stack has an order, and approvals that arrive out of sequence do not respect it.

Open a stacked pull request against its parent's branch

A stacked pull request targets the branch of the pull request it stacks on. Never target main from it. Against main, GitHub shows the commits of the parent as part of the child.

gh pr create --base <parent-branch> --title "<title>" --body-file <file>
gh pr edit <n> --base <parent-branch>   # fix one opened against main
  • Write Stacks on #<parent>. Merge #<parent> first. near the top of the body.
  • CI runs on every pull request, whatever its base. A pull request stacked on a branch other than main has no required checks, so --required fails there. Read gh pr checks <n> without --required, and count every check. The merge stage checks an epic child by name against the required checks of main.
  • Never merge the child while it targets the branch of its parent. That merge lands on the parent branch with no required check, and never reaches main. An epic child that targets epic/<n> is the exception, as "A child of an epic targets the epic branch" says.

When the parent squash-merges, the child still targets the branch of the parent. This repository keeps a merged branch (delete_branch_on_merge is false), so GitHub does not retarget the child. Do it yourself:

gh pr edit <n> --base main
git fetch origin && git merge origin/main

Merge main in. Never rebase a branch that holds merge commits. Expect conflicts in files that the child only extends, because the squash gave main the same content under a commit that shares no history with the child. Prove the resolution with references/conflicts.md.

A child of an epic targets the epic branch

When an epic has an epic/<n> branch, each child cuts its branch from origin/epic/<n>. Its pull request targets epic/<n>, never main and never the branch of a sibling. An epic whose breakdown ran before the epic branch existed has no epic/<n>, and its children target main.

The merge stage merges the child into epic/<n> with no approval, and it carries the preview links of the child to the epic pull request. references/epics.md holds how the child merges, what the epic pull request needs, and how the epic preview refreshes.

So write each Preview line of a child with a signed link, or a plain link for a signed-out page. Add its marker in backticks. The database of the child goes at teardown, and the epic preview runs app:dev:seed only. So write the state of each link in a module seeder of the branch. The seed of the epic preview then holds it once the child merges. A link whose record the seed lacks reads "not proved" on the epic pull request.

Running several branches at once

Give each branch its own worktree, and keep the branches off the files of each other. Two shared files used to collide on every branch, and neither does now. Open work lives on the board, not in the branch. A changelog entry lives in changelog.d/<number>.md, not at one append point in docs/CHANGELOG.md.

Sequence by blast radius. A branch that changes shared infrastructure, such as compose files, environment resolution or CI wiring, should merge last. Its merge invalidates the environment that its siblings are still gated in. Say so in its body.

Land signature changes early. A branch that makes an argument required grows more dangerous with every sibling merged ahead of it. Each merge can bring a new file that constructs the old shape (see merge protocol item 5).

Batch by file overlap, not by theme. Two agents that edit the same module conflict, however unrelated their tasks sound.

04 同仓库更多 Skills