Repository navigation
Description
Overview
The daily close-out guard (intake looks-shipped) flagged 33 open PyAutoMind drafts as already shipped. All 33 were checked by hand against current main of the cited repos (PyAutoMind#545 and #546), and only one had shipped. Each false flag costs a human a verification pass and holds the draft out of the batch planner. This task tightens the guard's evidence rules so a flag is again a fact worth checking.
Plan
- Witness leg: count a named test or function only if it did not exist on main when the draft was filed and exists now. Edits to existing code and same-named look-alikes no longer count.
- Date "when the draft was filed" by the draft's actual filing commit, not the day, so the commit that motivated a draft no longer counts against it.
- Commit and PR leg: the line naming the draft must itself claim the work landed (a whole-word ship word, or the PR-merge line for the draft's branch). A
fix:/docs:subject no longer lends the claim. - Require 4-word, 20-character slugs before a bare slug counts.
- Skip epic campaign maps, whose phases ship but which never do.
- Measure before and after on the real tree, and pin every false-positive shape in tests.
Tier: judge — merge mode: human /prm
Detailed implementation plan
Affected Repositories
- PyAutoBrain (primary)
Branch Survey
| Repository | Branch | Dirty? |
|---|---|---|
| PyAutoBrain | ccr-ce085afb-iagr91 (cloud session branch, off main 85b0fe8) |
clean |
PyAutoBrain is also claimed by procedure-lines-trim (PR #597), which touches only skills/*.md. The files don't overlap and there is no shared worktree.
Implementation Steps
agents/conductors/intake/_shipped.py:filed_at()returns the draft's add-commit timestamp on itsFiled:day, without--follow: drafts share a header template, and rename detection follows a sibling.defined_at()andadded_since()replacechanged_since().git grepatrev-list -1 --before=<filed_at>decides whether the name existed then; if it did, there's no evidence._SHIP_REreplaces_SHIP_WORDS/_CODE_SUBJECT, as whole words on the naming line.distinctive_slugrequires 4+ words and 20+ characters.open_draftsskipsStatus: campaign map.
tests/test_intake_looks_shipped.py: a second fixture reproducing each 2026-11-07 false-positive shape (an existing class, an existing test file, a same-named def elsewhere, a same-day regression test, a code-subject follow-up mention, a 3-word slug, a campaign map) and the true positive (filed and merged the same day, matched by the PR branch). Plus the filing-moment precision test and whole-word ship-word tests.- Measure with
detect()on PyAutoMind 125caf48e with the same 21 checkouts.
Key Files
agents/conductors/intake/_shipped.py: the detectortests/test_intake_looks_shipped.py: the fixture organism
Result
- Before: 33 flags out of 268 drafts scanned.
- After: 1 flag out of 261,
wiki_currency_check_version_gate(autocti_assistant#26), which is the true positive. - Brain suite: 1643 passed, 1 skipped.
Original Prompt
Click to expand starting prompt
PyAutoMind draft/bug/pyautobrain/looks_shipped_guard_false_positives.md (filed 2026-11-07). The human's request: "Yeah do that now filendraft and do it", replying to the proposal to tighten the guard (ignore a draft's own filing commit; require evidence that matches what the Witness asks for).
Activity
Jammy2211 commentedon Nov 7, 2026
Shipped
Merged in #599 (merge
6d2cace).intake looks-shippedguard now needs evidence that a draft's work actually arrived.125caf48ewith the same 21 checkouts, the guard went from 33 flags to 1. The remaining flag is the true positive,wiki_currency_check_version_gate(autocti_assistant#26).441b452. The first run failed the tenant-firewall check because a test fixture used the real org name; that was fixed in441b452.complete/, and the dashboard is regenerated.Generated by Claude Code