You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pm-dispatch: a two-way vocabulary pin (ADR-0087's #8299 pin) forces the ADR text and its gate into one PR, but the dispatch rules give an implementation card no docs/adr exit for that case #38367
Filing gate: ① a rule gap met in flight, named location · Source: fleet (#37447 / #38328, route ruling recorded on both cards today).
What happened
execution-duties.md (派发): 「实施卡文件面 ⛔ 不含 docs/adr/**、skills/**、SKILL.md、os-dev.md:各立 domain:skills 卡。」 Its only exception is enumeration rows for a new authorable key (domains/skills.md: 「例外仅新增:新增可编写顶层键或 liveness Leg 2 所绑符号活成员的 PR 同笔只加枚举行」).
The seat resolved it by routing (combine into one Tier H PR). The rules name no such exit, so the next card that adds an ADR-enumerated value under a two-way pin meets the same split.
Ask
Decide where the exit lives: either the split rule names the case (a two-way pin between a governed text and code ⇒ one PR, Tier H, contract-tier L2), or such pins accept a staged direction. This card records the gap; it proposes no wording.
Triage: lands in .claude/skills/pm-dispatch/references/execution-duties.md (派发: the file-surface split rule) and/or references/domains/skills.md (its enumeration-row exception) · area:fleet · domain:skills · Task · p2 · needs-user-decision · size S. Rationale: two rules collide, measured on #37447 / #38328. The split rule sends docs/adr/** to its own domain:skills card. The #8299 two-way vocabulary pin in scripts/check-adr-0087-registration.mjs makes either half red the required gate on its own (dev report 7241851254). So neither PR can pass the merge queue alone. SKILL.md: 「两条细则冲突 ⇒ 按更严的一条行动并立卡」, so this card stands even though it was filed by a seat. Where the exit lives is a rule change (pm skill text, Tier H), which is on the human floor. The instrument answer can be stated: a dispatch that would otherwise be split into two unlandable PRs. So p2. The seat's in-flight resolution (one combined Tier H PR) stands meanwhile. ⛔ The decision analysis (速读, options with effort, four-facet block) is owed by a decision thread.
Path: none
Decision analysis · 2026-11-28T17:23Z · #38367, written by the decision thread opened for seat repo:objectstack#5. ⛔ Not a claim and not a ruling: the maintainer rules.
Two rules collide, measured on #37447 and its sub-issue #38328:
The dispatch rule keeps docs/adr/** off an implementation card and sends it to its own domain:skills card.
The registration gate for ADR-0087 holds the category list in its code and the category list the ADR documents to the same set, in both directions. Either half alone is refused by the gate, so neither PR can pass the required gate in the merge queue alone.
The seat resolved the live case by a route ruling: both halves ride PR #38365 (Tier H, 2 files, +765 −92), and PR #38366 was closed as folded into it. The rules name no such exit, so the next card of this kind is split again.
.claude/skills/pm-dispatch/references/domains/skills.md:14: 「例外仅新增:新增可编写顶层键或 liveness Leg 2 所绑符号活成员的 PR 同笔只加枚举行。」 and its last line: 「改规则(归属、门禁、上限、车道边界)先立决策卡,裁后本域写;新增门禁默认否照旧。」
docs/adr/0087-metadata-protocol-upgrade-contract.md:851 (addendum of 2026-08-13): "The text and the predicate are pinned to each other. The gate refuses to report a verdict unless the categories listed above and the categories it accepts are the same set, checked in both directions. […] Both are red."
scripts/check-adr-0087-registration.mjs:2657–2662, the gate's own refusal: "fix: describe it in the ADR -- when it may be claimed and what this gate checks -- in the same PR that adds it here."
AGENTS.md:290: "a mixed diff is not a proportion question, one path hit is enough […] One Tier H path makes the whole PR Tier H."
Protocol statement: no product protocol changes under any option. Option A changes a lane boundary in the fleet's rules text; option B changes a gate and an ADR (a gate weakening). Both are rule changes, which is why the card is in the decision box.
Premises, each with its re-check (read on main b29b77a3)
The pin is two-way and has no pending form. git grep -n "category documented nowhere\|category documented but not accepted" origin/main -- scripts/check-adr-0087-registration.mjs finds the two refusals at :2657 and :2667. What the pin reads in the ADR is one marker example per category (documentedCategories, :2147).
The split rule has one exception and it does not reach docs/adr/**. git grep -n "实施卡文件面\|例外仅新增" origin/main -- .claude/skills/pm-dispatch/references/ finds the three lines quoted above.
One gate on main reads a set out of docs/adr text. git grep -n "showOrNull(head, ADR\|readFileSync(.*docs/adr" origin/main -- 'scripts/*.mjs' 'scripts/pm/*.mjs' 'packages/spec/scripts/*' finds one live reader, scripts/check-adr-0087-registration.mjs:2643. This grep is a heuristic.
Tier readings. node scripts/pm/check-governed-merges.mjs --test scripts/check-adr-0087-registration.mjs answers NOT governed; with the ADR path added it answers GOVERNED, landing tier H. node scripts/pm/dispatch-gates.mjs --tier on the two paths prints MANDATORY and says docs/adr/** has no one-line exit.
Byte headroom for the rule text. node scripts/pm/check-skill-line-ratchet.mjs: execution-duties.md headroom 81 bytes, domains/skills.md headroom 5 bytes.
The question
When a required gate holds a governed decision text and code to the same set in both directions, where does the exit from the "ADR text gets its own card" rule live: in the dispatch rule, in the gate, or nowhere?
Options
Option
What is done
What it means in practice
Effort
A: one PR, named in the split rule
The split rule gains one exception beside the enumeration-row one: where a required gate holds a docs/adr text and code to the same set both ways, so that each half alone is measured red, one card and one PR carry the gate change and the full ADR text for the value. The PR is Tier H, built at the contract-review tier, one contract-tier L2 on the combined head. The gate is unchanged.
The next added category is written, reviewed and approved once. The gate half now waits for the maintainer's approval too, but the ADR half needed it anyway, so the number of approvals does not grow.
The gate gains a pending form (one direction tolerated for a window) and ADR-0087's "Both are red" paragraph is amended to say so. Two PRs can then land in order.
Between the two merges main carries either a documented category nobody can claim or an accepted category nobody can look up, which is the drift the pin was built to close. The pending form needs its own expiry or it becomes a one-way pin. This change is itself an ADR-plus-gate PR.
the gate's lane plus docs/adr · 1 Tier H PR · no precedent for a pending form in this gate
C: no rule, the seat routes each case
Nothing is written. The card closes not planned with the ruling quoted.
Each recurrence repeats today's loop. Measured today: one extra sub-issue (#38328), one PR opened and closed (#38366), a route record on two cards, a re-posted claim, and about 2 h 20 min between the claim and the route ruling, part of which was the dev's own work.
none
Business meaning. A: a regulation and the inspector's checklist for it are revised in one filing. B: the regulation may be published before the inspector can check it, or the reverse. C: each time, the clerk files them separately, is turned back at the counter, and refiles them together.
Four axes
Long-term fit. A names an exit the code and the ADR already state ("in the same PR that adds it here"; "one decision with two faces, and they fail together"), next to the sibling exception for skills rows, so the rules text stops contradicting the gate. B adds a third state to a closed two-way pin and a clause to an ADR. C leaves two rules in conflict and relies on each seat finding the route again.
Real pull. Four additions to this vocabulary in about fifteen weeks, all landed or landing as one PR; today is the measured cost of splitting one. The users are the fleet's own seats and devs; no customer sees any option.
AI error surface. Under A the pin stays loud and whole, and the dispatching agent no longer builds two PRs that cannot land. Under B an agent reading the ADR in the window writes a marker the gate refuses, or claims a category it cannot look up; the disagreement is legitimate and therefore silent. Under C nothing fails silently (the gate reds), the cost is repeated work.
No spread. A adds one line of rules text and no mechanism. B adds a gate state. C adds nothing, and is the cheapest today.
os-decision-facets
① Long-term fit: A shrinks a special case (rules text now agrees with the gate and the ADR, and sits beside the sibling exception); B grows the gate's contract by a pending state; C keeps two rules in conflict.
② Real pull: four vocabulary additions in about fifteen weeks (PR #8456, #13596, #22940, #38365); fleet-internal only, no customer.
③ AI error surface: A and C keep the refusal loud; B opens a window where the ADR and the gate disagree by design.
④ No spread: A is one rules line, no gate; B adds gate machinery; C adds nothing.
Prior rulings read: vocabulary,pin,split,lockstep,same pr → 68 hits; none (the eight ADR decisions named are product decisions, none rules on a card's file surface); thread: none
Also read, by hand: ruling record 6819475461 on #32584 (the skills/** sibling, 「同意 A」) and ADR-0087's addendum of 2026-08-13 (the pin paragraph).
Recommendation
A. End state: two years on, a decision text and the check that enforces it change in one reviewed change, as mainstream repositories do when a registry and its documentation are pinned to each other (the Rust compiler's error-code registry and its explanations, Kubernetes API types and their generated reference; from prior knowledge, not re-read for this card).
Self-check: ① alone picks A; ②③④ flip it: no. ④ alone would lean to C, and A costs one small PR against C's zero; that gap is named here and does not turn the letter, because C leaves the conflict the card was filed to record.
Not taken:
B weakens a closed gate and needs a staged window; the no-spread axis recommends a staged form only on named external user evidence, and there is none.
C leaves the collision for the next seat.
A narrower A that carries only the one marker line the pin reads (the literal twin of the skills enumeration row) is not recommended: the PR would still be Tier H at the contract-review tier because docs/adr/** has no one-line exit, the description would need a second Tier H PR and a second approval, and in between the ADR would list a category it does not describe, which the gate's own refusal text asks not to happen.
Landing two PRs in one merge-queue batch (the dev's second option in report 7241851254): the first of the two is red on its own queue run, as that report says; not measured further.
Confidence gaps:
Premise 6 is a grep heuristic. Another gate may pin a docs/adr text both ways under a spelling the grep does not match. A is phrased by the measured predicate, not by ADR number, so the letter does not depend on it.
Trigger, measured not judged: a required gate holds a docs/adr text and code to the same set in both directions, and each half alone fails that gate. The dispatch order quotes the gate's two refusals.
Shape: one card, one PR, carrying the gate change and the ADR text that describes the value (the full description, not only the line the pin reads). No domain:skills sub-card for that text. The dispatch order's file surface names the ADR file and its section.
Tier: the whole PR is Tier H; construction at the contract-review tier with the ADR-revision effort; one contract-tier L2 on the combined head; the maintainer's approval. All four are what the paths already derive today.
Bounds: only the pinned vocabulary and its description. Unrelated ADR edits, skills/** and internal rules stay on their own cards. The gate is not changed.
Premise clause: if the dev measures either half green alone, the exit does not apply; the card is split as today and the dev reports the fork. ⛔ No silent fallback either way.
After the ruling
A: this card leaves the decision box for pm:queue (domain:skills, p2, size S). One PR adds the exception line beside execution-duties.md:100. The file has 81 bytes of headroom, so the PR may need to raise its ratchet ceiling by the measured delta; the ruling record is the ordering ruling it quotes. Built at the contract-review tier (rules text), Rule-change: ruled.
B: this card becomes a gate card: one Tier H PR changing scripts/check-adr-0087-registration.mjs, its self-test and the ADR-0087 pin paragraph together.
C: this card closes not planned, the ruling quoted in the closing comment.
Ruling · 2026-12-01T06:32Z · the maintainer answered on a decision card in this account's fleet project (2026-12-01T06:29Z).
Question, verbatim: 「定 #38367:设计记录和检查互锁时,文字和检查怎么派发?」
Option tapped, verbatim: 「同一个 PR,你批一次」. Consequence line: 「规则写明:双向锁定的文字和检查走一张卡一个 PR。改规则是一个小 PR,检查保持严格。」
Options not taken: 「放宽检查,允许分两步」, 「规则不动」.
What it settles: option A of analysis 7242989541, as its "What A rules, in one stroke" section states it.
The trigger is measured: a required gate holds a docs/adr text and code to the same set both ways, and each half alone fails.
When the trigger holds, the work is one card and one PR, Tier H, with the full description in the ADR.
The analysis was brought forward, not re-run, and carries no Served-tier line. The rule-text PR is Tier H. needs-user-decision → pm:queue. Zone osa-fleet takes it.
Claim: PM loop round 2
Session: session_01WGufzfWWgrLkABDvbRjhAk
Account: os-support-ai
Branch: claude/issue-38367-two-way-pin-one-pr
Worktree: objectstack-issue-38367
Domain: domain:skills
Seat: repo:objectstack@os-support-ai
Area: osa-fleet
File surface: .claude/skills/pm-dispatch/references/execution-duties.md (the exception line beside the enumeration-row exception, 派发 section), scripts/pm/check-skill-line-ratchet.mjs (the execution-duties.md ceiling row only; its headroom is 0, so the measured delta is quoted against ruling 7302993286). .claude/skills/pm-dispatch/references/domains/skills.md only if a pointer is needed there (headroom 5 bytes). Stop on breach.
Container & model: S, mode:subagent, model: default tier (dispatch-gates --tier on execution-duties.md: "Model tier — no path-derived mandate"; a pm-dispatch references/** rule line takes the default tier), effort: high (reason: governed rules wording for a ruled lane exception, not a mechanical edit)
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7302993286
Premise: holds. Read at 2026-12-01T06:36Z on origin/main58695bb: execution-duties.md:100 holds 「实施卡文件面 ⛔ 不含 docs/adr/**…」, :101 its only exception (enumeration rows), and domains/skills.md:14 the enumeration-row exception. No exit for a two-way pin exists yet.
Pre-claim lane: domain:skills (file ownership only): .claude/skills/pm-dispatch/references/** and scripts/pm/**, both inside the osa-fleet lease.
Pre-claim deps: none named. PR #38365 (the live case) is not a dependency.
Prior rulings read: ruling 7302993286 (the maintainer, 「同一个 PR,你批一次」 = option A of analysis 7242989541, as its "What A rules, in one stroke" states it: a measured trigger; one card and one PR; whole PR Tier H with one contract-tier L2; bounds: only the pinned vocabulary and its description; premise clause: either half measured green alone ⇒ no exit, ⛔ no silent fallback). Sibling ruling 6819475461 on #32584 (「同意 A」, the skills enumeration row). check-prior-rulings --card 38367: 238 hits; the ADR decisions it names (ADR-0120 D5, ADR-0145 D4, ADR-0018 §5, ADR-0022 §5, ADR-0061 D2, ADR-0068 D4, ADR-0076 D10) match by term overlap only and none rules on a card's file surface.
Fold-or-serial: no fold with #38492 (a different defect shape). Both PRs move a ceiling row in scripts/pm/check-skill-line-ratchet.mjs (different rows): an ordinary shared path, so the later lander merges main.
Overlap: check-handover --inflight --card=38367 reads NO OVERLAP (only #38415 is unread, which is this seat's own card with no path).
Serial constraints cleared: none in flight on these files. Sibling #38492 (this zone) shares only the ratchet file, as above.
Tier: H (seat routing; .claude/** rules text). One contract-tier L2 on the final head, and the seat hands it off.
{
"issue": 38367,
"status": "done",
"branch": "claude/issue-38367-two-way-pin-one-pr",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38865",
"session": "session_01WGufzfWWgrLkABDvbRjhAk",
"premise_still_valid": true,
"summary": "Added the ruled two-way-pin exit (ruling record 7302993286 = option A of analysis 7242989541) as two lines in execution-duties.md section 派发, right after the enumeration-row exception: trigger (a required gate pins a docs/adr/** text and code to one set both ways and each half alone is measured refused, the dispatch order quoting the two refusals) => one card one PR with the gate change and the full ADR description, file surface naming the ADR and section, Tier H, one contract-tier L2; bounded to the pinned vocabulary and its description; either half measured green alone => split as before, dev reports the fork, no silent rerouting either way. The execution-duties.md ceiling row in check-skill-line-ratchet.mjs rises 22434 -> 22819 (+385, the landed bytes) citing ruling 7302993286 and the maintainer's words verbatim. Premise re-measured on base 30aee204: the pin's two refusals are at scripts/check-adr-0087-registration.mjs:2864/:2874, the split rule and its single exception at execution-duties.md:100-101. domains/skills.md not edited (its exception is about skills/**; the new line reads correctly without a pointer).",
"tests": "No behaviour change (rules text + one ceiling number); evidence is the derived gate set. check:pm-skill-ratchet on f5a14b2b: 'execution-duties.md is 22819 bytes (ceiling 22819; headroom 0)', exit 0. check:pm-skill-id-lint on f5a14b2b: '134 file(s) clean (pattern /#[0-9]{3,}/g)', exit 0. No ablation: no tested behaviour changed.",
"gates": "Derived: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack on 8fde2b6f = 41 commands, each exit captured before any pipe. 40 exit 0; 8 of them first exited 3 (PREREQUISITE NOT MET: no node_modules, then @objectstack/formula and @objectstack/lint unbuilt) and were re-run green after pnpm install + a locked build of those two packages (os-verify-lock VERDICT command-exit 0, 123s and 27s). NOT MEASURED: pnpm check:pm-dispatch-gates — first run 643s, 2901/2904 green, the 3 red cases each said 'exit 3: install the workspace first' (run predated install); post-install re-run killed at the 585s foreground cap; CI owns it. --ran: '41 derived famil(ies) accounted for — 40 run, 1 NOT-MEASURED', exit 0. After merging origin/main (3 commits, none on these files) re-ran on head f5a14b2b, all exit 0: check:pm-skill-ratchet, check:pm-skill-id-lint, check:nul-bytes, check:skill-frame-sync, check:pm-governed-merges, check:ratchet-remedy-authority, check:pm-prior-rulings (declared narrowing; the other 34 measured on 8fde2b6f with the identical two-file delta). PR check-runs: not yet read at report time (CI convergence is the PM's).",
"line_budget": "execution-duties.md 22434 -> 22819 bytes (+385), ceiling 22434 -> 22819 (+385) under ruling record 7302993286, headroom 0; domains/skills.md untouched (2650/2655); no other ceiling row moved.",
"files_changed": [
".claude/skills/pm-dispatch/references/execution-duties.md (+2 lines)",
"scripts/pm/check-skill-line-ratchet.mjs (execution-duties.md ceiling row only)"
],
"deviations": [
"The first derived-gate loop overran the 580s tool timeout and the harness moved it to background on its own; no watcher was started, its results file was read on completion and every failing entry re-run in the foreground.",
"Worktree built with --no-install, so 8 gates first exited 3; re-run green after install. check:pm-dispatch-gates stays NOT MEASURED (see gates).",
"Commit trailers: the AGENTS.md model-free pair (Claude-Session + Co-authored-by: Claude) was used instead of the harness's model-named Co-Authored-By line. The merge commit f5a14b2b carries git's default merge message with no trailer pair.",
"PR body uses a details/summary block (os-dev asks log readings folded there); read-back: 7513 bytes sent, 7513 stored, identical, footer intact."
],
"mcp_calls": "0",
"api_writes": "2 relay strokes — (1) fleet-write dispatch fw-20261201T072501Z-a7d125: pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/38865/assignees [os-support-ai] + POST /issues/38865/labels [skip-changeset]; (2) post-stamped --comment=38367: POST /repos/objectstack-ai/objectstack/issues/38367/comments (this report). git push x3 (probe, commit, merge) are not REST writes.",
"classifier_refusals": [],
"open_questions": [
{
"question": "Tier reading: the ruling record and the claim say this PR is Tier H, while the dispatch-ordered 'Rule-change: ruled' plus a 'Ruling-ref:' line is the declaration the .claude/** split reads for Tier S. check-governed-merges --test (paths only) answers H and marks the split NOT MEASURED.",
"options": [
"A seat runs check-governed-merges --pr 38865 and lands at whatever tier it derives",
"B seat holds it at Tier H as the ruling record says, regardless of the split"
],
"recommendation": "B unless the ruling's 'The rule-text PR is Tier H' is read as descriptive: it is the stricter reading and matches the claim."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — scripts/pm/check-skill-line-ratchet.mjs header paragraph above CEILINGS says 'Three rows were later raised by an ordinary ruled raise'; many rows now carry ruled raises, a stale volatile count outside this card's file surface (AGENTS: volatile counts are deleted, not synced)."
]
}
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
.claude/skills/pm-dispatch/references/execution-duties.md(派发: the file-surface split rule) and/orreferences/domains/skills.md(its enumeration-row exception) · area:fleet · domain:skills · Task · p2 · needs-user-decision · size S. Rationale: two rules collide, measured on #37447 / #38328. The split rule sendsdocs/adr/**to its owndomain:skillscard. The #8299 two-way vocabulary pin inscripts/check-adr-0087-registration.mjsmakes either half red the required gate on its own (dev report 7241851254). So neither PR can pass the merge queue alone. SKILL.md: 「两条细则冲突 ⇒ 按更严的一条行动并立卡」, so this card stands even though it was filed by a seat. Where the exit lives is a rule change (pm skill text, Tier H), which is on the human floor. The instrument answer can be stated: a dispatch that would otherwise be split into two unlandable PRs. So p2. The seat's in-flight resolution (one combined Tier H PR) stands meanwhile. ⛔ The decision analysis (速读, options with effort, four-facet block) is owed by a decision thread.Path: none
Recorded 2026-11-28T16:43Z.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#5 · os-project-manager · session_01FEkQ5mT7o6H3tiCXpLSKui
Decision analysis · 2026-11-28T17:23Z · #38367, written by the decision thread opened for seat repo:objectstack#5. ⛔ Not a claim and not a ruling: the maintainer rules.
维护者速读
Background
Two rules collide, measured on #37447 and its sub-issue #38328:
docs/adr/**off an implementation card and sends it to its owndomain:skillscard.The seat resolved the live case by a route ruling: both halves ride PR #38365 (Tier H, 2 files, +765 −92), and PR #38366 was closed as folded into it. The rules name no such exit, so the next card of this kind is split again.
Governing text
.claude/skills/pm-dispatch/references/execution-duties.md:99: 「实施卡文件面 ⛔ 不含docs/adr/**、skills/**、SKILL.md、os-dev.md:各立domain:skills卡。」 and:100: 「例外仅新增:枚举行(见domains/skills.md)随实施卡同笔,派发令文件面只点该行。」.claude/skills/pm-dispatch/references/domains/skills.md:14: 「例外仅新增:新增可编写顶层键或 liveness Leg 2 所绑符号活成员的 PR 同笔只加枚举行。」 and its last line: 「改规则(归属、门禁、上限、车道边界)先立决策卡,裁后本域写;新增门禁默认否照旧。」docs/adr/0087-metadata-protocol-upgrade-contract.md:851(addendum of 2026-08-13): "The text and the predicate are pinned to each other. The gate refuses to report a verdict unless the categories listed above and the categories it accepts are the same set, checked in both directions. […] Both are red."scripts/check-adr-0087-registration.mjs:2657–2662, the gate's own refusal: "fix: describe it in the ADR -- when it may be claimed and what this gate checks -- in the same PR that adds it here."AGENTS.md:290: "a mixed diff is not a proportion question, one path hit is enough […] One Tier H path makes the whole PR Tier H."Protocol statement: no product protocol changes under any option. Option A changes a lane boundary in the fleet's rules text; option B changes a gate and an ADR (a gate weakening). Both are rule changes, which is why the card is in the decision box.
Premises, each with its re-check (read on main
b29b77a3)git grep -n "category documented nowhere\|category documented but not accepted" origin/main -- scripts/check-adr-0087-registration.mjsfinds the two refusals at:2657and:2667. What the pin reads in the ADR is one marker example per category (documentedCategories,:2147).category documented but not acceptedone way,category documented nowherethe other.docs/adr/**.git grep -n "实施卡文件面\|例外仅新增" origin/main -- .claude/skills/pm-dispatch/references/finds the three lines quoted above.9cfddddc12(PR feat(gates): name the runtime-interface-only ADR-0087 disposition and check it (#8299) #8456, the fifth category, +797 −10),933ea6198a(PR feat(scripts,adr): a published TYPE-surface narrowing gets an honest ADR-0087 disposition — the sixth category, paid for by a base-side type reading #13596, the sixth, +956 −10; its message says "The ADR half is inseparable: the vocabulary is pinned bidirectionally"),da9c2bf2f2(PR feat(adr-0087): the seventh disposition category, runtime-export-retired — retired exports and members, proven by the compiler at both revs #22940, the seventh, +1377 −56). PR feat(adr-0087): the eighth disposition category runtime-member-retyped — ADR text (D10) and the registration gate #38365 is the fourth in about fifteen weeks.skills/**. Card Adding a top-level key or a bound enum member reds two-way skill gates in both card orders under the skills split #32584, ruling record 6819475461, the maintainer verbatim 「同意 A」: the PR that adds a key carries its skills enumeration row; no gate changes. Landed as PR docs(pm-dispatch): the PR that adds a key or bound member carries its skills enumeration row #32682 (+18 −2, 3 files).docs/adrtext.git grep -n "showOrNull(head, ADR\|readFileSync(.*docs/adr" origin/main -- 'scripts/*.mjs' 'scripts/pm/*.mjs' 'packages/spec/scripts/*'finds one live reader,scripts/check-adr-0087-registration.mjs:2643. This grep is a heuristic.node scripts/pm/check-governed-merges.mjs --test scripts/check-adr-0087-registration.mjsanswers NOT governed; with the ADR path added it answers GOVERNED, landing tier H.node scripts/pm/dispatch-gates.mjs --tieron the two paths prints MANDATORY and saysdocs/adr/**has no one-line exit.node scripts/pm/check-skill-line-ratchet.mjs:execution-duties.mdheadroom 81 bytes,domains/skills.mdheadroom 5 bytes.The question
When a required gate holds a governed decision text and code to the same set in both directions, where does the exit from the "ADR text gets its own card" rule live: in the dispatch rule, in the gate, or nowhere?
Options
docs/adrtext and code to the same set both ways, so that each half alone is measured red, one card and one PR carry the gate change and the full ADR text for the value. The PR is Tier H, built at the contract-review tier, one contract-tier L2 on the combined head. The gate is unchanged.domain:skills· 1 PR · precedent PR #32682 (+18 −2, 3 files)docs/adr· 1 Tier H PR · no precedent for a pending form in this gateBusiness meaning. A: a regulation and the inspector's checklist for it are revised in one filing. B: the regulation may be published before the inspector can check it, or the reverse. C: each time, the clerk files them separately, is turned back at the counter, and refiles them together.
Four axes
os-decision-facets
① Long-term fit: A shrinks a special case (rules text now agrees with the gate and the ADR, and sits beside the sibling exception); B grows the gate's contract by a pending state; C keeps two rules in conflict.
② Real pull: four vocabulary additions in about fifteen weeks (PR #8456, #13596, #22940, #38365); fleet-internal only, no customer.
③ AI error surface: A and C keep the refusal loud; B opens a window where the ADR and the gate disagree by design.
④ No spread: A is one rules line, no gate; B adds gate machinery; C adds nothing.
Prior rulings read: vocabulary,pin,split,lockstep,same pr → 68 hits; none (the eight ADR decisions named are product decisions, none rules on a card's file surface); thread: none
Also read, by hand: ruling record 6819475461 on #32584 (the
skills/**sibling, 「同意 A」) and ADR-0087's addendum of 2026-08-13 (the pin paragraph).Recommendation
A. End state: two years on, a decision text and the check that enforces it change in one reviewed change, as mainstream repositories do when a registry and its documentation are pinned to each other (the Rust compiler's error-code registry and its explanations, Kubernetes API types and their generated reference; from prior knowledge, not re-read for this card).
Self-check: ① alone picks A; ②③④ flip it: no. ④ alone would lean to C, and A costs one small PR against C's zero; that gap is named here and does not turn the letter, because C leaves the conflict the card was filed to record.
Not taken:
docs/adr/**has no one-line exit, the description would need a second Tier H PR and a second approval, and in between the ADR would list a category it does not describe, which the gate's own refusal text asks not to happen.Confidence gaps:
docs/adrtext both ways under a spelling the grep does not match. A is phrased by the measured predicate, not by ADR number, so the letter does not depend on it.What A rules, in one stroke
docs/adrtext and code to the same set in both directions, and each half alone fails that gate. The dispatch order quotes the gate's two refusals.domain:skillssub-card for that text. The dispatch order's file surface names the ADR file and its section.skills/**and internal rules stay on their own cards. The gate is not changed.After the ruling
pm:queue(domain:skills, p2, size S). One PR adds the exception line besideexecution-duties.md:100. The file has 81 bytes of headroom, so the PR may need to raise its ratchet ceiling by the measured delta; the ruling record is the ordering ruling it quotes. Built at the contract-review tier (rules text),Rule-change: ruled.scripts/check-adr-0087-registration.mjs, its self-test and the ADR-0087 pin paragraph together.Related: #37447, #38328, PR #38365, PR #38366 (closed), #32584 and PR #32682 (the
skills/**sibling), #8299 (the pin).objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhPdWmTd47Fi2bKYZS
Ruling · 2026-12-01T06:32Z · the maintainer answered on a decision card in this account's fleet project (2026-12-01T06:29Z).
Question, verbatim: 「定 #38367:设计记录和检查互锁时,文字和检查怎么派发?」
Option tapped, verbatim: 「同一个 PR,你批一次」. Consequence line: 「规则写明:双向锁定的文字和检查走一张卡一个 PR。改规则是一个小 PR,检查保持严格。」
Options not taken: 「放宽检查,允许分两步」, 「规则不动」.
What it settles: option A of analysis 7242989541, as its "What A rules, in one stroke" section states it.
docs/adrtext and code to the same set both ways, and each half alone fails.The analysis was brought forward, not re-run, and carries no Served-tier line. The rule-text PR is Tier H.
needs-user-decision→pm:queue. Zoneosa-fleettakes it.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
Claim: PM loop round 2
Session:
session_01WGufzfWWgrLkABDvbRjhAkAccount:
os-support-aiBranch:
claude/issue-38367-two-way-pin-one-prWorktree:
objectstack-issue-38367Domain:
domain:skillsSeat:
repo:objectstack@os-support-aiArea: osa-fleet
File surface:
.claude/skills/pm-dispatch/references/execution-duties.md(the exception line beside the enumeration-row exception, 派发 section),scripts/pm/check-skill-line-ratchet.mjs(theexecution-duties.mdceiling row only; its headroom is 0, so the measured delta is quoted against ruling 7302993286)..claude/skills/pm-dispatch/references/domains/skills.mdonly if a pointer is needed there (headroom 5 bytes). Stop on breach.Container & model:
S,mode:subagent,model: default tier(dispatch-gates --tieronexecution-duties.md: "Model tier — no path-derived mandate"; a pm-dispatchreferences/**rule line takes the default tier),effort: high (reason: governed rules wording for a ruled lane exception, not a mechanical edit)Clause-②: no
Metadata-protocol: none
Responsibility:
n/a — not a defect cardThread-read: 7302993286
Premise: holds. Read at 2026-12-01T06:36Z on
origin/main58695bb:execution-duties.md:100holds 「实施卡文件面 ⛔ 不含docs/adr/**…」,:101its only exception (enumeration rows), anddomains/skills.md:14the enumeration-row exception. No exit for a two-way pin exists yet.Pre-claim lane:
domain:skills(file ownership only):.claude/skills/pm-dispatch/references/**andscripts/pm/**, both inside the osa-fleet lease.Pre-claim deps: none named. PR #38365 (the live case) is not a dependency.
Prior rulings read: ruling 7302993286 (the maintainer, 「同一个 PR,你批一次」 = option A of analysis 7242989541, as its "What A rules, in one stroke" states it: a measured trigger; one card and one PR; whole PR Tier H with one contract-tier L2; bounds: only the pinned vocabulary and its description; premise clause: either half measured green alone ⇒ no exit, ⛔ no silent fallback). Sibling ruling 6819475461 on #32584 (「同意 A」, the skills enumeration row).
check-prior-rulings --card 38367: 238 hits; the ADR decisions it names (ADR-0120 D5, ADR-0145 D4, ADR-0018 §5, ADR-0022 §5, ADR-0061 D2, ADR-0068 D4, ADR-0076 D10) match by term overlap only and none rules on a card's file surface.Fold-or-serial: no fold with #38492 (a different defect shape). Both PRs move a ceiling row in
scripts/pm/check-skill-line-ratchet.mjs(different rows): an ordinary shared path, so the later lander merges main.Overlap:
check-handover --inflight --card=38367reads NO OVERLAP (only #38415 is unread, which is this seat's own card with no path).Serial constraints cleared: none in flight on these files. Sibling #38492 (this zone) shares only the ratchet file, as above.
Tier: H (seat routing;
.claude/**rules text). One contract-tier L2 on the final head, and the seat hands it off.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
os-dev-report
{ "issue": 38367, "status": "done", "branch": "claude/issue-38367-two-way-pin-one-pr", "pr": "https://github.com/objectstack-ai/objectstack/pull/38865", "session": "session_01WGufzfWWgrLkABDvbRjhAk", "premise_still_valid": true, "summary": "Added the ruled two-way-pin exit (ruling record 7302993286 = option A of analysis 7242989541) as two lines in execution-duties.md section 派发, right after the enumeration-row exception: trigger (a required gate pins a docs/adr/** text and code to one set both ways and each half alone is measured refused, the dispatch order quoting the two refusals) => one card one PR with the gate change and the full ADR description, file surface naming the ADR and section, Tier H, one contract-tier L2; bounded to the pinned vocabulary and its description; either half measured green alone => split as before, dev reports the fork, no silent rerouting either way. The execution-duties.md ceiling row in check-skill-line-ratchet.mjs rises 22434 -> 22819 (+385, the landed bytes) citing ruling 7302993286 and the maintainer's words verbatim. Premise re-measured on base 30aee204: the pin's two refusals are at scripts/check-adr-0087-registration.mjs:2864/:2874, the split rule and its single exception at execution-duties.md:100-101. domains/skills.md not edited (its exception is about skills/**; the new line reads correctly without a pointer).", "tests": "No behaviour change (rules text + one ceiling number); evidence is the derived gate set. check:pm-skill-ratchet on f5a14b2b: 'execution-duties.md is 22819 bytes (ceiling 22819; headroom 0)', exit 0. check:pm-skill-id-lint on f5a14b2b: '134 file(s) clean (pattern /#[0-9]{3,}/g)', exit 0. No ablation: no tested behaviour changed.", "gates": "Derived: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack on 8fde2b6f = 41 commands, each exit captured before any pipe. 40 exit 0; 8 of them first exited 3 (PREREQUISITE NOT MET: no node_modules, then @objectstack/formula and @objectstack/lint unbuilt) and were re-run green after pnpm install + a locked build of those two packages (os-verify-lock VERDICT command-exit 0, 123s and 27s). NOT MEASURED: pnpm check:pm-dispatch-gates — first run 643s, 2901/2904 green, the 3 red cases each said 'exit 3: install the workspace first' (run predated install); post-install re-run killed at the 585s foreground cap; CI owns it. --ran: '41 derived famil(ies) accounted for — 40 run, 1 NOT-MEASURED', exit 0. After merging origin/main (3 commits, none on these files) re-ran on head f5a14b2b, all exit 0: check:pm-skill-ratchet, check:pm-skill-id-lint, check:nul-bytes, check:skill-frame-sync, check:pm-governed-merges, check:ratchet-remedy-authority, check:pm-prior-rulings (declared narrowing; the other 34 measured on 8fde2b6f with the identical two-file delta). PR check-runs: not yet read at report time (CI convergence is the PM's).", "line_budget": "execution-duties.md 22434 -> 22819 bytes (+385), ceiling 22434 -> 22819 (+385) under ruling record 7302993286, headroom 0; domains/skills.md untouched (2650/2655); no other ceiling row moved.", "files_changed": [ ".claude/skills/pm-dispatch/references/execution-duties.md (+2 lines)", "scripts/pm/check-skill-line-ratchet.mjs (execution-duties.md ceiling row only)" ], "deviations": [ "The first derived-gate loop overran the 580s tool timeout and the harness moved it to background on its own; no watcher was started, its results file was read on completion and every failing entry re-run in the foreground.", "Worktree built with --no-install, so 8 gates first exited 3; re-run green after install. check:pm-dispatch-gates stays NOT MEASURED (see gates).", "Commit trailers: the AGENTS.md model-free pair (Claude-Session + Co-authored-by: Claude) was used instead of the harness's model-named Co-Authored-By line. The merge commit f5a14b2b carries git's default merge message with no trailer pair.", "PR body uses a details/summary block (os-dev asks log readings folded there); read-back: 7513 bytes sent, 7513 stored, identical, footer intact." ], "mcp_calls": "0", "api_writes": "2 relay strokes — (1) fleet-write dispatch fw-20261201T072501Z-a7d125: pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/38865/assignees [os-support-ai] + POST /issues/38865/labels [skip-changeset]; (2) post-stamped --comment=38367: POST /repos/objectstack-ai/objectstack/issues/38367/comments (this report). git push x3 (probe, commit, merge) are not REST writes.", "classifier_refusals": [], "open_questions": [ { "question": "Tier reading: the ruling record and the claim say this PR is Tier H, while the dispatch-ordered 'Rule-change: ruled' plus a 'Ruling-ref:' line is the declaration the .claude/** split reads for Tier S. check-governed-merges --test (paths only) answers H and marks the split NOT MEASURED.", "options": [ "A seat runs check-governed-merges --pr 38865 and lands at whatever tier it derives", "B seat holds it at Tier H as the ruling record says, regardless of the split" ], "recommendation": "B unless the ruling's 'The rule-text PR is Tier H' is read as descriptive: it is the stricter reading and matches the claim." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — scripts/pm/check-skill-line-ratchet.mjs header paragraph above CEILINGS says 'Three rows were later raised by an ordinary ruled raise'; many rows now carry ruled raises, a stale volatile count outside this card's file surface (AGENTS: volatile counts are deleted, not synced)." ] }docs(pm-dispatch): a two-way pin between an ADR text and its gate rid…
feat(pm): read a decision analysis's Served-tier / Analysed-by pair, …