Skip to content

Thread decomposition and PR-size discipline through the handbook - #124

Open
kalambet wants to merge 1 commit into
mainfrom
peter/work-decomposition-references
Open

Thread decomposition and PR-size discipline through the handbook#124
kalambet wants to merge 1 commit into
mainfrom
peter/work-decomposition-references

Conversation

@kalambet

Copy link
Copy Markdown
Member

Description

Follow-up to the previous commit, which added workflows/work-decomposition.md, the skill's Decompose phase, and gate 10. This wires the existing pages into them. No new rules — every change here points at content that already landed.

  • pr-authoring: "one issue, one PR" added to the small-focused-self-contained list, plus a "when a PR has to be bigger" section (stop before opening it, propose the split, record the approval in the description, agents never self-approve). States why the standard is reviewability rather than a line count, and narrows the rename/generated-code exemption to scope-width only. Two anti-patterns added.

  • code-review: size is now the first thing a reviewer checks, with guidance for handling an oversized PR in both reviewer modes. "Collapsed decomposition" added as a re-plan trigger — the most common way an agent produces an unreviewable diff while staying technically in scope.

  • repo-and-ci-setup: epic label, a work-tracking subsection covering milestones, and a note that Linear/Jira map the same three levels.

  • agent-era-invariants 1: notes that scope discipline alone does not guarantee reviewability, and points at decomposition and gate 10.

  • The pr-author and code-review skills mirror their source pages, per the existing source: metadata contract.

llms.txt, README, and AGENTS indexes updated to match. The invariants entry read "Eight" while nine existed; corrected alongside.

@kalambet kalambet self-assigned this Aug 12, 2026
Base automatically changed from peter/work-decomposition to main August 14, 2026 13:37
Follow-up to the previous commit, which added workflows/work-decomposition.md,
the skill's Decompose phase, and gate 10. This wires the existing pages into
them. No new rules — every change here points at content that already landed.

- pr-authoring: "one issue, one PR" added to the small-focused-self-contained
  list, plus a "when a PR has to be bigger" section (stop before opening it,
  propose the split, record the approval in the description, agents never
  self-approve). States why the standard is reviewability rather than a line
  count, and narrows the rename/generated-code exemption to scope-width only.
  Two anti-patterns added.

- code-review: size is now the first thing a reviewer checks, with guidance
  for handling an oversized PR in both reviewer modes. "Collapsed
  decomposition" added as a re-plan trigger — the most common way an agent
  produces an unreviewable diff while staying technically in scope.

- repo-and-ci-setup: `epic` label, a work-tracking subsection covering
  milestones, and a note that Linear/Jira map the same three levels.

- agent-era-invariants 1: notes that scope discipline alone does not
  guarantee reviewability, and points at decomposition and gate 10.

- The pr-author and code-review skills mirror their source pages, per the
  existing source: metadata contract.

llms.txt, README, and AGENTS indexes updated to match. The invariants entry
read "Eight" while nine existed; corrected alongside.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kalambet
kalambet force-pushed the peter/work-decomposition-references branch from 084a100 to 7431919 Compare August 14, 2026 13:38
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying engineering-handbook with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7431919
Status: ✅  Deploy successful!
Preview URL: https://84d02913.engineering-handbook-8f2.pages.dev
Branch Preview URL: https://peter-work-decomposition-ref.engineering-handbook-8f2.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants