Skip to content

docs(pm-dispatch): project memory never restates a rule; a ruling that disagrees with the skill gets a skill card the same day - #36345

Merged
objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35905-project-forms-lines
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 2 commits into
mainfrom
claude/issue-35905-project-forms-lines

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #35905

Together with draft PR #36213, which carries the card's item 2 and its os-dev.md mirror as Part of, this PR's items 1 and 3 complete the card.

Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 7046610679 — the maintainer's answer 「同意,立卡派发」 (cost-review thread, 2026-11-20T09:07:52Z) to the question 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」 (2026-11-20T07:52:51Z), transcribed by the filing seat as the ruling record on the card

维护者速读

  • 用户无感;车队内部:协调者的项目记忆今后只存你的原话(带时间)和指向技能的指针,不再抄写规则;你的裁决若与技能不一致,当天就立一张改技能的卡,技能改动合并后协调者对照改动行清理记忆。
  • 为什么做:你同意把「协调者严格照技能执行、不凭项目记忆」写进技能,这里是该裁决剩下的两条规则(另一条已在另一份改动里)。
  • 出错会怎样:只影响协调者如何保管项目记忆,最坏是一条过时的记忆行多留一会儿,随时可整段撤回。
  • 要你做什么:无。

What changes

Two governed files, internal only (nothing publishes). The two added lines copy items 1 and 3 of the ruling above; the bytes they need are paid first by restatement cuts in the same file, and the ceiling rises only by the measured remainder.

.claude/skills/pm-dispatch/references/project-forms.md, under the line that says project memory and shared folders are never the ledger, only this account's cache (the place the card names):

  • Item 1: - 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。 (125 bytes)
  • Item 3: - 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。 (143 bytes)

These are the drafts the #36213 dev measured, kept as written: the shorter spellings considered each dropped a part of the ruled meaning (the time on the maintainer's words, "delete that line", or which line names the card).

Cut list (48 bytes, same file; each fact keeps a home)

# Cut Bytes Where the fact still lives
1 (车道、总监、分诊同此) in the seat-reading line 32 Line 6 of the same file: 车道席、总监席、分诊席都是席位
2 ,含在飞卡 in the takeover line 13 seat-lifecycle.md 〈座位贴协议〉: 维护者强制接管令取席位、队列、在飞卡、未起工卡与待落地 PR
3 un-wrap of the queue-flake continuation into its Notify: main-green line (newline + two-space indent) 3 no text deleted

scripts/pm/check-skill-line-ratchet.mjs: the project-forms.md row of CEILINGS rises +220 bytes, 4669 → 4889, with a row comment naming both ruling records. No other row moves.

Ceiling-raise authority: ruling record 6184799323, item 1 (letter B, the maintainer's 「同意」): "A ruling of record that orders text into a ratcheted file is the authorization to raise that file's ceiling by the measured lines the text needs: the raising PR quotes the ruling comment's id and the measured line delta in its body, and moves the CEILINGS row in the same PR by at most that delta." The ratchet now counts bytes, and its header reads that ruling in bytes. The ordering ruling of record here is 7046610679 above. Measured delta: 268 bytes added − 48 bytes cut = +220 bytes, and the row moves by exactly that. The seat reading on the card, 7071003039, records the same arithmetic and the same authority.

Tests

Text-only change to an internal instruction file and one ceiling row; no package and no test target. The ratchet script's own battery (--self-test) runs inside check:pm-skill-ratchet; no *.test.* file names the script.

Acceptance notes

  • No changeset: .claude/** and scripts/pm/** are on the fast path of files that publish nothing; skip-changeset rides this create.
  • .claude/** is governed. This PR stays draft for the seat's contract-review record at CONTRACT_REVIEW_TIER, which must read Rule-change-verified: ruled. The dev knocks nobody.
  • The header comment above CEILINGS still says "Three rows were later raised by an ordinary ruled raise"; on main seven rows already carry a raise comment, and this is the eighth. Noted, not changed: the dispatch order forbids moving any other text in the script.
  • The card's seat record 7046610679 ends with the seat's reading "It orders no byte-ceiling raise". Seat reading 7071003039 reads that sentence as noting that the words name no raise, which is the case ruling 6184799323 item 1 covers, not as a refusal. This PR follows that reading.
  • Base: branched from origin/main at 71e02fff, then main at 99fbaa6d merged in (it moved the execution-duties.md row two lines above, a clean merge). The branch's delta vs main is exactly the two files above (+6 / −5).

Verification

First files to read, by risk:

  1. references/project-forms.md 〈接管不等撞墙账号〉: the two new lines against items 1 and 3 of the card.
  2. scripts/pm/check-skill-line-ratchet.mjs: the one project-forms.md row, 4889.

Two-minute check: node scripts/pm/check-skill-line-ratchet.mjs | grep 'project-forms.md is' prints project-forms.md is 4889 bytes (ceiling 4889; headroom 0); wc -c on the file prints 4889.

Local gates at head 93c631a

Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 93c631a4 (40 commands, the same list as at the pre-merge head 2a9c20af); every exit code captured before any pipe; reconciled with --ran: 40 derived famil(ies) accounted for — 40 run, 0 NOT-MEASURED (a DERIVED zero — all 40 recorded an exit code and none of them is 3).

  • exit 0: check-closing-keyword-parity (and --self-test), check-comment-mask-corpus, check-declaration-mirrors (and --self-test), check-self-test-wired (and --self-test), check-self-test-workflow-commands (and --self-test), check-whole-set-label-write (and --self-test), plan-test-core-shards --self-test, bare-root-worklist --self-test, check-harness-current --self-test, check:adr-anchors, check:agent-test-spelling, check:bash32-floor, check:ci-filter-parity, check:cli-command-ids, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:entry-guard, check:gitlink-declared, check:nul-bytes, check:parse-guard, check:pm-dispatch-gates (dispatch-gates self-test (fast tier): 2252 cases pass), check:pm-governed-merges, check:pm-record-recognisers, check:pm-settings-deny-roster, check:pm-skill-id-lint, check:pm-skill-ratchet (its --self-test, then project-forms.md is 4889 bytes (ceiling 4889; headroom 0) and declared cross-file moves: 0, total ceilings unchanged), check:pnpm-filter-targets, check:pnpm-flag-spellings, check:ratchet-remedy-authority, check:refd-timer-probe, check:scripts-symbol-anchors, check:skill-frame-sync, check:watch-hint-literal.
  • check:doc-formula-expressions (lint package): run after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint under the verify lock (VERDICT command-exit 0), exit 0.
  • node scripts/pm/overlap-check.mjs --branch=claude/issue-35905-project-forms-lines: VERDICT clean exit 0 at 93c631a4 (merges cleanly with origin/main at 99fbaa6d; no open PR head shares a file).

🤖 Generated with Claude Code

…t disagrees with the skill gets a skill card the same day

Two lines in references/project-forms.md under the memory-is-a-cache line,
paid first by two restatement cuts and one un-wrap (48 bytes); the ceiling
row rises by the measured remainder, 4669 -> 4889 (+220 bytes), under the
ordering ruling of record.

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 93c631a · 2026-11-22T06:48Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 93c631a4721db7f720c1004041d28f2fee97d68e
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/project-forms.md + scripts/pm/check-skill-line-ratchet.mjs
Security-touching: no
Rule-change-verified: ruled

Inputs read: card #35905 body and all eight comments (ordering record 7046610679, triage 7047821164, claims 7070481871 and 7075352735, pointer 7070917189, seat reading 7071003039, dev reports 7075339191 and 7075378218); PR #36345 body, file list and net diff against main; the check-runs on the head; ruling record 6184799323 (cited by the PR as the raise authority). Cited files were read at the head with git show; nothing was built or run.

① Derived judgments

  • File list is exactly two files, +6 / -5: references/project-forms.md (+5 / -4) and scripts/pm/check-skill-line-ratchet.mjs (+1 / -1). Right: it equals the claimed file surface in claim 7075352735, and main has not moved either file since the merge-base 99fbaa6d.
  • No public surface, no package, no schema, no accept-set: both files are internal fleet tooling and publish nothing. Right.
  • Byte arithmetic, measured from the tree and not from the PR body: the file is 4669 bytes on main and 4889 at the head; the two added lines are 125 and 143 bytes with their newlines (268); the cuts are 32 + 13 + 3 = 48; 268 - 48 = 220; the CEILINGS row moves 4669 to 4889, exactly +220, headroom 0. Right.
  • Only the one CEILINGS row changes in the script; no other row, no header text, no logic. Right.
  • Check-runs on the head: every run is success or skipped, none failed or pending; Governed Surface Queue Guard, PR-body guards, Check Changeset, Lint · PM dispatch-gates and Lint · repo & tooling gates (which carries the ratchet) are success.
  • Rule-change declaration. The PR body declares Rule-change: ruled with one Ruling-ref: line naming record 7046610679. That record quotes the maintainer's answer 「同意,立卡派发」 to a proposal of three lines, which the card body spells as items 1 to 3. The two rule hunks were checked against items 1 and 3 clause by clause (see ④): each clause of the new text has its clause in the ruled item and no clause is added. The remaining hunks (two cuts, one un-wrap, one ceiling row) are slimming and a script row; each cut fact was found at its stated home at the head, so no rule is removed. Hence ruled. Limit of this check: the maintainer's words are read from the seat's transcription on the card, the fleet's ruling-record form; the project thread itself is not a GitHub input and was not read.

② Semver level

Nothing publishes: .claude/** and scripts/pm/** are outside every package. The PR carries skip-changeset and Check Changeset is success. Clause-②: no on the PR body is right; no changeset is owed.

③ Boundary flags

  • Dev report 7075378218 has an empty open_questions. The earlier blocked report 7075339191 asked how the claim for this branch is supplied; answered by seat claim 7075352735 (option A), and PR-body guards is green on the head.
  • Deviation "edits pushed before the claim mismatch was noticed": no other actor's state changed, and the claim now names this branch. Accepted.
  • Deviation "row comment names the two ruling records": matches the form of the other raised rows, and ids live in the script, not in skill text, so filing-gate.md (no card numbers, comment ids or dated quotes in skill text) is kept. Accepted.
  • The ordering record's last sentence, "It orders no byte-ceiling raise", sits under "Reading taken by the seat". Judged: it is a seat's observation about the maintainer's words, not his refusal. Ruling 6184799323 item 1 makes a ruling of record that orders text into a ratcheted file the authorization for the measured raise with "No second word from the maintainer", item 5 puts that in force for every ruling of record, and the SKILL.md guard-index row for the ratchet says the same. The card's own constraint (compress first; if it cannot fit, stop and tell the seat the file and the shortfall) was followed: 48 bytes were cut first, the shortfall was reported (7070917189) and the seat read it (7071003039). The raise is authorized and is not beyond the measured delta.
  • SQL push-down: not applicable, no query code in the diff.
  • Security: no hunk teaches permission, sharing, credential, token or authentication behaviour.

④ Design judgment

No must-fix, no should-fix.

references/project-forms.md, against items 1 and 3 of the card and the neighbouring rules at the head:

  • New line 30 against item 1. "项目记忆只存维护者原话(带时间)与技能指针" is "holds only the maintainer's words with their time, and pointers into the skill"; "⛔ 不复述规则" is "never restates a rule"; "与技能相左 ⇒ 照技能,删该行" is "a memory line that disagrees with the skill: follow the skill and delete the line". Complete, nothing added. It sits directly under the memory-is-a-cache line, the place the card names.
  • New line 31 against item 3. "维护者裁决与技能相左 ⇒ 当日立技能卡" is "a ruling that disagrees with the skill gets a skill card the same day"; "记忆行点名它,合并即删" is "the memory line names that card and is deleted when it merges"; "技能 PR 合并 ⇒ 协调者照改动行查记忆" is "when a skill PR merges, the coordinator reviews memory against the changed lines". Complete, nothing added.
  • No restatement: a search of .claude/** and AGENTS.md at the head finds no other line carrying either rule. Item 2 (a dispatch order missing its derivation is sent back) is not in this diff and is not restated here.
  • No contradiction found with the neighbours. filing-gate.md keeps current values (freeze, pause, focus, concurrency) in the seat post and project memory, and area-lease.md keeps the per-container dev cap there: those are values the maintainer set, held as his words, not rules restated. coordinator.md keeps the ruling record on the card and never in memory: line 31 agrees, the record goes on a skill card and the memory line only names it. filing-gate.md also requires a standing rule to be ordered as such: the quoted answer agrees to a proposal to add the lines to the skill text, which is not temporary and not addressed to one seat.
  • Cut "(车道、总监、分诊同此)": line 6 of the same file still says lane, director and triage seats are all seats, and line 20 keeps the seat reading for "the project's seat" without exception. No fact lost.
  • Cut ",含在飞卡": seat-lifecycle.md line 26 states that the forced takeover order takes the seat, the queue, in-flight cards, unstarted cards and PRs awaiting landing. The fact has a wider home; the takeover rule is unchanged.
  • Un-wrap of the queue-flake continuation: no text deleted, 3 bytes freed, as the ratchet header describes for an un-wrap. The 200-byte figure on line 38 governs mailbox comments, not this file.

scripts/pm/check-skill-line-ratchet.mjs, against the ratchet's own discipline: the header requires a raise to quote the ordering ruling's id and the measured byte delta in the PR body and to move the row in the same PR by at most that delta. The PR body quotes 7046610679 and +220; the row moves by exactly 220; the file measures 4889 at the head. The code and the contract agree.

Attempts to break it, and what they left:

  • N1 (nit) — lines 30 and 31 read together: line 30 deletes a memory line that disagrees with the skill, while line 31 keeps the memory line of a disagreeing maintainer ruling until the skill PR merges. Read as general rule and specific case it is coherent, and that is how the ruled items themselves stand, so the copy is faithful; rewording would go beyond the ruling. Left as ruled. If a seat is ever seen deleting a ruling's line early, that is a card for the maintainer, not a fix here.
  • N2 (nit) — "只存" in line 30 is absolute, while filing-gate.md and area-lease.md send current values to project memory. Consistent only on the reading that a current value is stored as the maintainer's words with their time. The ruled item uses the same absolute, so no edit; accepted deviation.
  • N3 (nit) — the comment above CEILINGS still says three rows were raised by a ruled raise; this is the eighth. The drift is already on main, the sentence is outside the changed row, and the dev left it under the order's fence. Follow-up at most; no effect on the gate.

Implemented-by: claude/issue-35905-project-forms-lines
Reviewed-by: session_01QsR2jTeURPvEm465RcoYEC

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

维护者速读

  • 用户无感:车队调度技能的项目表单文件加两行:项目记忆只存维护者原话和现值,不复述规则;与技能不一致的裁定当天立技能卡,技能 PR 合并前记忆里那行先留着。
  • 为什么做:落实你的原话「同意,立卡派发」(裁决记录 7046610679),起因是协调者曾按项目记忆而不是技能办事。
  • 出错会怎样:只影响调度代理写项目记忆的方式,不碰产品代码;可直接撤回。
  • 要你做什么:无。这是 Tier S,合同审查 PASS 后由席位入队。
  • 席位意见:ACCEPT。两行逐条对应卡上第 1、3 项,没有多写;为腾位删的两处说法在别处仍有原出处。

席位核对

  • 形态:l1-face --pr 36345 CLEAN;draft、base main、Fixes #35905;2 个文件 +6 −5;skip-changeset 正确,Clause-②: no、Metadata-protocol: none。
  • 前提实测:check-governed-merges --pr 36345 读到 .claude/** 声明拆分为 Tier S(正文 Rule-change: ruled,本 head 记录 Rule-change-verified: ruled);上限行 4669 → 4889(+220),审查按两个 blob 实测增 268、删 48,恰为 +220,其余行未动;提额依据裁定 6184799323 第 1 项(席位读数 7071003039)。
  • 门禁 check-runs @ 93c631a4721db7f720c1004041d28f2fee97d68e:26 success · 21 expected skip · 0 failed · 0 pending。
  • 接受的偏差:合同审查 7075578484 的 N1(第 30 行删记忆行、第 31 行留到技能 PR 合并,两条张力同出于裁定原文)、N2(「只存」为绝对说法,与现值入记忆的规则一致需按原话加时间读)、N3(CEILINGS 上方注释仍说提额三行,main 上已有的漂移)均作接受的偏差,不改。
  • 范围外去向:N3 注释漂移在 main 上、不在本 PR 改动行内,留待下次改该文件上限的 PR 顺带。
  • 落地条款:Tier S。L2 记录 7075578484 PASS,无 must-fix/should-fix ⇒ ready + auto-merge。

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 06:53
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 1d72662 Nov 22, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-35905-project-forms-lines branch November 22, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

2 participants