Repository navigation
fix(intake): looks-shipped guard flags only real evidence (33 → 1 on the live tree) - #599
Merged
Merged
Conversation
…the live tree) On 2026-11-07, 32 of the guard's 33 flags were false (PyAutoMind#545, #546). The flags now need evidence that the draft's work arrived: - witness-exists: the named test or function must have had NO definition anywhere on main at the draft's filing moment, and have one now. Edits to a class or test file that already existed, and a same-named def added elsewhere, no longer count. The filing moment is the draft's add commit on its Filed: day (no --follow, because drafts share a template and rename detection follows siblings), so the same-day commit that motivated a draft no longer counts against it. - commit/PR-names-draft: the line naming the draft must carry a ship word (whole word) or be the PR-merge line for its branch. A fix:/feat:/docs: subject no longer lends the claim to a body line, and `add` is not a ship word. - Bare slugs need 4+ words and 20+ characters (`jax_zero_contour` is a package name). - `Status: campaign map` drafts are not scanned. Measured against PyAutoMind 125caf48e (pre-#545) with the same 21 organism checkouts: 33 flags → 1, the true positive wiki_currency_check_version_gate (autocti_assistant#26). Hermetic tests reproduce each false-positive shape and the true-positive shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8Pv5eTirqVVkd9kren
…ant firewall) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016nhQ8Pv5eTirqVVkd9kren
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 #598.
Why
On 2026-11-07 every one of the guard's 33 flags was checked by hand (PyAutoMind#545 and #546). 32 were false.
What changed (
agents/conductors/intake/_shipped.py)defined_atviagit grepatrev-list -1 --before=<filed_at>;added_sincereplaceschanged_since). Edits to an existing class or test file, and same-named defs added elsewhere, no longer count. This was about 26 of the 32.filed_at()is the draft's add commit on itsFiled:day, so the same-day commit that motivated a draft doesn't count against it. It uses no--follow, because drafts share a header template and rename detection otherwise follows a sibling's history. A test pins this._SHIP_RE), or be the PR-merge line for the draft's branch. Afix:/feat:/docs:subject no longer lends the claim to a body line, andaddis dropped as a ship word. This was 7 of the 32.jax_zero_contouris a package name, andgroup_los_halosreads as prose.Status: campaign mapare not scanned. Their phases ship; they never do.Evidence
detect()was run against PyAutoMind125caf48e(before #545) with the same 21 organism checkouts.The remaining flag is
wiki_currency_check_version_gate, viaautocti_assistant@de4ac2d Merge pull request #26 from …/feature/wiki-currency-check-version-gate. That is the one true positive; it was filed and merged the same day, and it survives.Tests: a second hermetic fixture reproduces each false-positive shape plus the true positive, along with filing-moment and whole-word tests.
tests/test_intake_looks_shipped.py: 15 passed. Full suite: 1643 passed, 1 skipped.Trade-offs, all accepted deliberately:
/prmcloses such work anyway.Shared claim: PyAutoBrain is also claimed by
procedure-lines-trim(#597), which touches onlyskills/*.md. The files don't overlap.Generated by Claude Code