Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions core/CONTRACT.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ runner reliability or speed) go to the front of the merge line, ahead of feature
work, through the repository's queue priority if it has one. Infra-only fixes
may use the infra-only route above.

Finish planned base updates before starting checks. Wait for an identical check
already queued or running at the same head and fingerprint. Before a fallback
check on a published head, run `loopzero ready` and reuse any receipt it accepts.
The builder runs each full local gate once and records its command, exact head SHA,
environment fingerprint (from consumer AGENTS.md/docs), result, time and log path.
Builders, reviewers and coordinators reuse green receipts at the same head and
Expand Down Expand Up @@ -203,9 +206,10 @@ Freeze new work on Codex evidence projections. Simplify or delete them when they
Preserve the approved head; optional suggestions do not justify edits.
- After an approved ordinary delta with blocking findings resolved, one more delta can review a suffix of verified
base merges containing a conflict. Otherwise, merge with readiness passing or split a head that needs more review.
- After an approved primary or a delta review, take base changes by merging the
base into the existing branch. Readiness and hosted eligibility can inherit
coverage only across proven clean base merges. A request_changes primary
- When a base update is needed after a published review, merge the configured
base into the existing branch to preserve reviewed ancestry. Readiness and
hosted eligibility can inherit coverage only across proven clean base merges.
A request_changes primary

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: Odd line wrap left after the reworded base-merge bullet

The rewording leaves A request_changes primary alone on a short line, then the sentence continues on the next line. This makes no difference to how the markdown renders. It is just churn in the source that makes later diffs, including the dedupe in #1941, harder to read. Smallest fix: rewrap lines 212–213 so the sentence fills the lines like the rest of the bullet does. That keeps the net line count the same or lowers it.

additionally requires resolution of every blocking finding. Source commits,
modified merges, and rebases that rewrite the reviewed commit require
review coverage for the new head.
Expand Down
2 changes: 2 additions & 0 deletions core/skills/implement/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ freeze them. Change Acceptance only with a recorded reason in Notes, before
implementing the change. For changes touching guards, auth, permissions,
sessions, secrets or trust boundaries, record a short design pass in Notes
before the first code edit: threats, invariants and chosen approach.
When deduplicating tests, list their distinct assertions before editing,
keep each in a surviving test, and record where in the PR body.

Use [write-tests](../write-tests/SKILL.md) to prove the bounded acceptance.
Map migration, authorization, locking/concurrency and policy edge cases to tests
Expand Down
3 changes: 3 additions & 0 deletions core/skills/work-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ include required completion in the closing delivery. A child does not own its pa
Recheck collisions, live acceptance, prior delivery and ownership before
publication and merge. Reconcile changes before proceeding.
On approval, run readiness at the approved head and defer optional changes.
Before queueing, check the candidate merged with the current base against

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: The size-cap step doesn't say that loopzero ready already checks the single merged candidate

cmd_ready already calls _prequeue_size_budget (src/loopzero/cli.py:1341, :1246). That function runs the configured size-budget script against a merge-tree of the PR head with the fetched base. So for one PR, the new manual step repeats a check the tool already does, and the manual check has to be kept in sync with the tool. The step is only new for the combined effect of a batch and for size caps outside that budget script. Optional: reword it to say loopzero ready covers the single merged candidate, and that a manual check is needed for the batch and for any other caps. No change is needed for acceptance.

every repository size cap, including the combined effect of any batch.
Verify the replacement is installed and works before retiring a deployment workaround.
Before a source edit for [delta](../../CONTRACT.md#review-budget), name the unmet
criterion or verified defect. Own review, CI and post-merge acceptance waits.
Use the [acceptance evidence](reference.md#acceptance-evidence) and
Expand Down
Loading