Repository navigation
chore(pm): probe classifier carve-out, paste-safe rerun line, runnable probe rule (#35237 slice 13) - #38393
Conversation
…-safe rerun line, runnable probe rule - dev-worktree.sh: 408/421/429 and every 5xx (keyed as the 4xx arm keys its own, so a proxy's "Received HTTP code 502" is placed) read `network`, ahead of the 4xx arm; the comment says why. The spelled second run prints a flag as typed when no character of it needs quoting (`--backoff=2,4`). - os-dev.md rule 1: the probe line spells `--branch=BRANCH`; ratchet row lowered to the landed size. - check-owed-reviews.mjs: the TRIAGE_ROUND_MINUTES sentence says who reads it. - check-handover.mjs: the --inflight clear line names DIR/**/GLOB. - git-history.mjs: the failed-disambiguate case asserts through the CLI. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Final green head · 2026-11-28T23:47Z · area o5-fleet
|
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5nNJM8FQkBco82NDFb 席位核对L1 (thread L1-a, area o5-fleet) · read 2026-11-28T23:50Z · Head-sha: This is the first L1 record on this PR, a full review.
Checklist (l1-face
My readings (detached worktree at 084b6db; removed after)
Owed before landing: the contract-tier L2 (running in the area). |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Contract reviewServed-tier: PR #38393, card #35237 slice 13. Net diff of the head against merge base
Gates on the head: 53 check-runs, 26 success, 26 skipped, 1 red, none pending.
① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix.
None of the five asks for a change on this head. The card they would have ridden closes with this PR, so each is an accepted deviation unless the seat files a follow-up. Independence: I am an isolated sub-agent inside the dispatching seat's session. The one session id I can read is that session's, so the line below carries it. Another sub-agent produced the diff, on the branch named below. I took neither the dispatch order nor the seat's conclusions as input, and I judged the tree, not the PR body's account of it. Implemented-by: VERDICT: PASS |
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5mzSTSPADAvwapnhxr 席位核对 — ACCEPT · repo:objectstack#5 · Head-sha
|
Requested by Leehom · project thread
Fixes #35237
Claim on the card naming this branch: 7247494260 (slice 13; base claim 7245952141).
Clause-②: no
Metadata-protocol: none
Rule-change: none
维护者速读
Slice 13 of the card: carrier item 24, the rule half of item 14 N7, and items 26–29 (notes 7246458172 and 7246788470), plus the card's done-when check below. 6 files, +54 / −16.
scripts/pm/check-owed-reviews.mjs:140TRIAGE_ROUND_MINUTES). It now says the name is kept because this file reads it, in the trigger (b) docblock andowedReviewRow, and that nothing imports it. Comment only..claude/agents/os-dev.md:31--branch=BRANCH, so it runs as written instead of ending in a usage exit. Bytes are offset on the same line (see Acceptance notes).scripts/pm/check-skill-line-ratchet.mjsos-dev.mdrow is lowered 33500 → 33492, the landed size. No row raised.scripts/pm/dev-worktree.shclassify_push_failurenetwork. "Received HTTP code 502 from proxy after CONNECT" is now placed. The comment now says why. 5 classifier cases; floor 14 → 19.scripts/pm/dev-worktree.shrerun_with_probe--backoff=2,4). Any other flag is still quoted withprintf %q. The pinned line now carries--backoff=2,4. One round-trip case; floor 20 → 21.scripts/pm/git-history.mjsself-testancestor --cwd=pointed at a missing directory exits 1, prints nothing on stdout and says "could not be checked" on stderr.scripts/pm/check-handover.mjs--inflightclear lineWhy 408, 421 and 429 are network errors under rule 1 (
os-dev.md:33, only a network error is retried)The rule separates two kinds of failure. A refusal on the merits stops the run (403, and every other judged 4xx). A failure of the path is retried on a bounded schedule. Each of these three statuses says the path failed and says nothing about the push itself:
Operation timed outthe classifier already retries; this time the server noticed the timeout first.All three read
networkbefore #38387 (through the words "RPC failed"). This PR restores that reading and keeps 401, 404, 407 and 409 asother. Every 5xx already readnetworkin theerror:andHTTPspellings. The new arm adds the key words the 4xx arm uses (status,code,response,HTTP/N), so a proxy's "Received HTTP code 502" reads the same way.Done-when check, item by item
The card's done-when: each listed procedure is a script with a self-test, its prose is a one-line pointer, and the card-pick reader works against the live board. The closing check also asks that no carrier item stays open apart from item 7 option B, which landing ruled out of scope (7222751511 ③).
--pathslanding-k,pr-state,sweep-closed-cards --prfleet-roster --health, the dispatch-runbook pointer,l1-facecheck-handover --inflight,round-opengit-history ancestor,dev-worktree.shnode scripts/pm/card-pick.mjs --order area:fleet --seat repo:objectstack#5 --limit 3at 23:04Z: read 231 openpm:queueissues over 3 pages, the platform counts 231,card-pick COMPLETE — 3 pick(s), exit 0Each part holds as far as it can be measured, so the first line is
Fixes #35237. One limit: the review reports' section 4, the candidate list the card names, cannot be read from this project, and slice 3's claim (7022183772) recorded the same gap. "Each listed procedure" is therefore checked against the slice plan in claim 7006559529, amendment 7013022048 and release 7017468070. If the seat holds a section-4 candidate outside that plan, the first line should becomePart of.What changes
The four scripts and one comment above, one rule line and one ratchet row. Nothing here ships in a package.
Tests
All runs are at head
084b6dba7a.Self-tests of every script edited
bash scripts/pm/dev-worktree.sh --self-test:✓ dev-worktree self-test: 95 cases pass across 7 batteries(89 before: 5 classifier cases and 1 probe case added).node scripts/pm/git-history.mjs --self-test:git-history --self-test: all cases passed.node scripts/pm/check-handover.mjs --self-test:✓ check-handover self-test: 114 cases pass.node scripts/pm/check-owed-reviews.mjs --self-test:✓ check-owed-reviews self-test: 96 cases pass in 10 batteries.node scripts/pm/check-skill-line-ratchet.mjs --self-test:116 cases pass. The gate itself exits 0.Ablations (scripts/ablation-replace.mjs; each mutation was proven on disk and the restore proven blob == HEAD with an empty git diff HEAD)
(408|421|429|5[0-9][0-9])→(5[0-9][0-9])in the new arm: 3 of 95 red, the 408, 429 and 421 cases.(408|421|429|5[0-9][0-9])→(408|421|429): 1 of 95 red, the proxy CONNECT 502 case.rerun_with_probeback toprintf %q: 2 of 95 red, the pinned second-run line and the round-trip case.--inflightclear line back to its old text: 1 of 114 red, the N12 case.Classifier false-match probe (the shapes record 7246776227 tried against the 4xx arm, run against the new arm, at this head and at the merge base)
A port (
port 429,github.com:502), an errno (errno 408,errno=502), an OpenSSL code (error:0A000126,error:42900000), a byte count (408 bytes,Total 429,(502/502)) and an HTTP/2 stream number (HTTP/2 stream 421,stream 503) read the same at head as at base. Only two answers moved:RPC failed; HTTP 429andReceived HTTP code 503 from proxy after CONNECT, both fromothertonetwork.Acceptance notes
--branch=BRANCHcosts 16 bytes against 9 bytes of headroom. The same line drops 「建好分支后」 (15 bytes), so the file lands at 33492 (+1 against main's 33491), within the 33500 ceiling. The row is then lowered to 33492. The rule is unchanged: the timing it sets is still 「任何编辑前」, and the one command now builds the branch and sends the probe in a single run.BRANCHis the placeholder the file already uses three lines up (Resume-from: BRANCH@SHA). The edit stays one line, adding one argument, with the offset on the same line.(error:|HTTP)[ :]+5xxalternative stays in the transport-words arm, so no spelling that readnetworkbefore reads anything else now.check-owed-reviews.mjskeepsexport. Nothing imports the name, and the sentence now says so. Removing the export would be a surface change this item did not ask for.Verification
Read first, by risk:
scripts/pm/dev-worktree.sh(the new arm inclassify_push_failure, thenrerun_with_probe),.claude/agents/os-dev.md:31,scripts/pm/git-history.mjs(the item 28 case).Two-minute check:
bash scripts/pm/dev-worktree.sh --self-testshould print95 cases pass across 7 batteries.Generated by Claude Code