Skip to content

fleet skills: project memory never restates rules; a dispatch order missing its derivation is sent back; a ruling that disagrees with the skill gets a skill card the same day #35905

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Problem

The skill already says rules live in the skill and current values live in the seat post and project memory (references/filing-gate.md 22), that memory is a cache and never a ledger (references/project-forms.md 29, references/coordinator.md 9 and 40), and that a dispatch order goes in the thread's opening message, not a shared folder (references/dispatch-runbook.md 130). No line forbids restating a rule in project memory, and no line lets the receiving side send back a dispatch order that lacks its derivation. What that cost:

  • A project-memory effort line was a restatement and went stale twice: one version said p1 runs at xhigh, and three card threads were opened at xhigh on it; a later rewrite said epic children and security cards run at xhigh, while execution-duties.md's dispatch section had already moved to the card's own difficulty.
  • One seat's card-thread briefs in a shared folder restated a process: card threads then read seven PM files, claimed for themselves and started an os-dev sub-agent, the opposite of the dispatch-runbook.md card-thread section.

Ruling

The maintainer ordered this card. The ruling record is the first comment on this card; the PR's Ruling-ref: cites it.

What changes (wording compressed to the byte ratchet; meaning unchanged)

  1. references/project-forms.md, near line 29 (memory is a cache): project memory holds only the maintainer's words with their time, and pointers into the skill; it ⛔ never restates a rule; a memory line that disagrees with the skill ⇒ follow the skill and delete the line.
  2. references/dispatch-runbook.md, card-thread section (after line 127, seat and area side): a thread or area that finds its dispatch order missing a derivation ⇒ does not start and sends it back to the seat; ⛔ never fills the tier from memory. Mirror line in .claude/agents/os-dev.md, since under the lean flow a card thread reads os-dev.md, the order and the card, not the skill.
  3. references/project-forms.md, same place: a maintainer ruling that disagrees with the skill ⇒ a skill card the same day; the memory line names that card and is deleted when it merges; when a skill PR merges, the coordinator reviews memory against the changed lines.

Constraints

  • .claude/** is governed: Rule-change: ruled, exactly one Ruling-ref: line; the L2 record must read Rule-change-verified: ruled. A sentence beyond the ruled meaning turns the PR Tier H.
  • Byte ratchet at headroom 0 for every file touched: compress the same file first; if it cannot fit, stop and tell the seat the file and the shortfall.
  • Per filing-gate.md 22-26: no card numbers, comment ids or dated quotes in the skill text.
  • Skill text: build tier and L2 at CONTRACT_REVIEW_TIER.

Fold

Item 2 edits the same card-thread section of dispatch-runbook.md as #35813 (same mechanism: what a card thread is handed and reads). Both ride one PR, dispatched once #35790 (which holds dispatch-runbook.md) merges. Items 1 and 3 avoid coordinator.md and filing-gate.md, which open PRs hold.

Not in this card

"Have a script print effort and container, and the coordinator only copies it" conflicts with references/instrument-discipline.md 10 (dispatch-gates.mjs is frozen; no new derivation rows). It needs its own maintainer ruling.

Done when

  • The three lines (and the os-dev.md mirror) are in the skill text, each covered by the ruling.
  • check-skill-line-ratchet.mjs passes.

Activity

  1. added
    tooling
    priority:p2
    pm:queue
    domain:skills
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Ruling record for this card: the maintainer's words that order these rules into the skill text. Transcribed by the seat that filed the card. The reading at the end is the seat's.

    • Who: the maintainer (Sales), in the project's cost-review thread.
    • The question, verbatim and untranslated: 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」
      • When: 2026-11-20T07:52:51Z.
    • The cost-review thread answered with the three lines this card's body lists (memory holds only the maintainer's words and pointers; a dispatch order missing its derivation is sent back; a ruling that disagrees with the skill gets a skill card the same day, and memory is reviewed after each skill PR) and proposed adding them to the skill.
    • The answer, verbatim and untranslated: 「同意,立卡派发」
      • When: 2026-11-20T09:07:52Z.

    Reading taken by the seat: a standing rule ordered into the skill text, covering exactly the three lines in the body and the os-dev.md mirror of line 2, and nothing beyond their meaning. It orders no byte-ceiling raise. The grade is the seat's (p2): the maintainer set no priority. "Dispatch" is honoured as a fold with #35813, which starts once #35790 merges (it holds the same dispatch-runbook.md section).

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:skills · pm:queue; rationale: area:fleet · Task · three fleet-skill rules: project memory never restates a rule, a dispatch order missing its derivation is sent back, and a ruling that disagrees with the skill gets a skill card the same day; evidence: a restated effort line in project memory went stale twice and opened three card threads at the wrong effort → p2 as filed (skills weight; a measured mis-dispatch) · size S.

  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 1
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35813-lean-review-and-memory-rules
    Worktree: objectstack-issue-35905
    Domain: domain:skills
    Seat: repo:objectstack#7
    Area: f7-seat (no partition this shift: under the area-lease threshold, the seat claims card by card)
    File surface: same branch as #35813 (chain head): references/project-forms.md, references/dispatch-runbook.md, .claude/agents/os-dev.md
    Container & model: S, mode:subagent, model: claude-fable-5-2 (MANDATORY: dispatch-gates --tier at fa304140, .claude/agents/os-dev.md clause ①), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7047821164
    Premise: holds
    Serial constraints cleared: folded into #35813 (chain head; full serial check on that claim).
    Pre-claim lane: repo:objectstack seat 7, intake area:fleet outside epic #35205 (split with seat 1 sent to mailbox #35349); paths above are fleet tooling, no other seat's claim or open PR names this card.
    Pre-claim deps: #35790 merged.
    Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35905 --paths … exit 0 at fa304140; card ruling record 7046610679 (「同意,立卡派发」); "Not in this card" item stays out (instrument-discipline freeze).

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    Pointer: this card is folded with #35813; the report is the os-dev-report comment on #35813 and the draft PR is #36213. Item 2 and its os-dev.md mirror are in that PR; items 1 and 3 are not (references/project-forms.md is 220 bytes short at headroom 0), so the PR body says Part of this card.

  7. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Seat reading on the remaining half (items 1 and 3), after PR #36213 landed item 2 (Part of #35905).

    • Measured: the two references/project-forms.md lines need 268 bytes; restatement cuts with a home elsewhere pay 48; shortfall 220 bytes. The file is 4669 of 4669 on origin/main 1d06026. No single item fits alone.
    • Authority: ruling 6184799323 item 1 (letter B, maintainer 「同意」): a ruling of record that orders text into a ratcheted file is the authorization to raise that file's ceiling by the measured delta, quoted with the ruling id in the PR body; no second word from the maintainer is needed (item 5: in force for every ruling of record). SKILL.md guard-index row for check-skill-line-ratchet.mjs says the same.
    • Record 7046610679 orders these lines into the skill (maintainer 「同意,立卡派发」). Its closing sentence "It orders no byte-ceiling raise" sits under "Reading taken by the seat": it notes that the words name no raise, which is exactly the case item 1 settles. It is not the maintainer's refusal of one.
    • So: the remaining half lands in project-forms.md as the card orders, paying the 48 bytes of cuts first and moving the ceiling row by at most the measured remainder (about +220), with Ruling-ref: 7046610679 and the delta quoted in the PR body. No deletion of rule text, no other file. Not a maintainer card: 既裁执行.
    • Executed on a separate branch claude/issue-35905-project-forms-lines from origin/main, so PR docs(pm-dispatch): for a p1 card-thread card the L1 thread starts the isolated L2 beside its L1; a dispatch order missing its derivation is sent back (#35813) #36213's reviewed head does not move. That PR then reads Fixes #35905.
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
      "issue": 35905,
      "status": "blocked",
      "branch": "claude/issue-35905-project-forms-lines",
      "pr": null,
      "head_sha": "93c631a4721db7f720c1004041d28f2fee97d68e",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Items 1 and 3 are done and pushed on claude/issue-35905-project-forms-lines at 93c631a4: two lines in references/project-forms.md under the memory-is-a-cache line (125 + 143 = 268 bytes, the #36213 drafts unchanged, with the ruled meaning kept), paid first by 48 bytes (cut (车道、总监、分诊同此) 32 B, whose fact lives at line 6 of the same file; cut ,含在飞卡 13 B, home verified at seat-lifecycle.md 座位贴协议 line 26; one un-wrap 3 B). The CEILINGS row for project-forms.md rises +220 B, 4669 -> 4889, and is commented with ruling records 7046610679 and 6184799323 letter B. No other row and no other file moved. 6184799323 item 1 reads as the order says; the ratchet header reads it in bytes. BLOCKED, and the PR is not opened, because the newest Claim: on #35905 (7070481871) names claude/issue-35813-lean-review-and-memory-rules, not this branch. AGENTS.md says a dispatched executor stops and reports on that mismatch and never posts a claim itself. pr-body-guards' check:closing-target-claim would red a PR with Fixes #35905 for the same reason. The seat reading 7071003039 names the branch, but it is not a Claim: record. Only the seat can unblock this: post a Claim: on #35905 naming Branch: claude/issue-35905-project-forms-lines, then send the pr_create. A ready, validated actions file is at /tmp/claude-0/-home-claude/c9cad1e9-00e8-52c4-90a2-96352fb11278/scratchpad/issue-35905/pr-actions.json (--dry-run exit 0; body at pr-body.md beside it), or re-dispatch me to send it. main moved 71e02fff -> 99fbaa6d mid-run; it was merged in cleanly (it only touched the execution-duties.md row two lines above), and every gate was re-run at the merged head.",
      "tests": "Text-only change; no package, no test target. The edited script's own battery: check:pm-skill-ratchet runs check-skill-line-ratchet.mjs --self-test and then the gate, exit 0 at 93c631a4, which prints 'project-forms.md is 4889 bytes (ceiling 4889; headroom 0)' and 'declared cross-file moves: 0, total ceilings unchanged'. git grep finds no *.test.* file naming the script. wc -c on project-forms.md: 4669 before, 4889 after. No ablation: a config row and rule text, no tested behaviour changed.",
      "gates": "Local subset at 93c631a4: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 40 commands, the same list as at the pre-merge head 2a9c20af. All 40 exit 0, each code captured before any pipe; that includes check:pm-dispatch-gates ('dispatch-gates self-test (fast tier): 2252 cases pass') and check:doc-formula-expressions, which ran after building formula and lint under os-verify-lock (VERDICT command-exit 0). --ran reconciliation: '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)'. overlap-check --branch=claude/issue-35905-project-forms-lines: VERDICT clean exit 0 at both 2a9c20af and 93c631a4. Body gates on the prepared PR body: check-closing-keyword-parity --body binds only Fixes #35905 (exit 2 is its 'declarations present' answer); check-partof-closing-keyword exit 0. check-closing-target-claim was NOT MEASURED locally: it needs the PR. It is expected red until the seat posts a Claim: naming this branch, which is the blocker. CI check-runs: none, because no PR is open.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": "references/project-forms.md 4669 -> 4889 bytes, ceiling 4669 -> 4889 (+220 = 268 added - 48 cut), headroom 0; no other file or row touched",
      "files_changed": [".claude/skills/pm-dispatch/references/project-forms.md", "scripts/pm/check-skill-line-ratchet.mjs"],
      "mcp_calls": "0",
      "api_writes": "1 — POST issue comment on #35905 via post-stamped.mjs (this os-dev-report); git push x3 (empty branch, 2a9c20af, 93c631a4) is not a REST write",
      "writes": "relay/REST 1 (os-dev-report comment); pr_create prepared and dry-run only, not sent",
      "deviations": [
        "The edits were made and pushed before the Claim:/branch mismatch was noticed. The mismatch came to light when reading the closing-target-claim guard while gating the PR body. The commits change no other actor's state.",
        "The ceiling row carries a one-line comment naming the two ruling records, following the other raised rows. The script's header sentence 'Three rows were later raised by an ordinary ruled raise' is already stale on main (seven raised rows, eight with this one) and was left untouched, as the order forbids other text in the script.",
        "The worktree /home/claude/objectstack-issue-35905 is kept, not removed, because no PR is open yet. Everything is committed and pushed (git status clean)."
      ],
      "open_questions": [
        { "question": "How should the claim record for this branch be supplied?", "options": ["A: the seat posts a Claim: on #35905 naming Branch: claude/issue-35905-project-forms-lines (file surface: references/project-forms.md, scripts/pm/check-skill-line-ratchet.mjs), then sends the prepared pr-actions.json or re-dispatches", "B: open the PR with Part of #35905 instead of Fixes, which avoids the claim guard but leaves the card open after both PRs land"], "recommendation": "A, because the card is completed by this PR plus #36213, and only a Claim: naming this branch satisfies both AGENTS.md and the closing-target-claim guard" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed — the check-skill-line-ratchet.mjs header comment above CEILINGS undercounts the ruled raises (says three; main carries seven); a comment-only drift, not a defect class"]
    }
  9. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 2 (remaining half: items 1 and 3)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35905-project-forms-lines
    Worktree: objectstack-issue-35905
    Domain: domain:skills
    Seat: repo:objectstack#7
    Area: f7-seat (no partition this shift: under the area-lease threshold, the seat claims card by card)
    File surface: .claude/skills/pm-dispatch/references/project-forms.md, scripts/pm/check-skill-line-ratchet.mjs (the project-forms.md row only)
    Container & model: S, mode:subagent, model: opus (no path-derived mandate at 99fbaa6d; L2 at CONTRACT_REVIEW_TIER), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7075339191
    Premise: holds
    Serial constraints cleared: none (PR #36213 carries item 2 on claude/issue-35813-lean-review-and-memory-rules as Part of #35905 and touches neither file).
    Pre-claim lane: repo:objectstack seat 7, the same card already held (claim 7070481871); this claim adds the second branch.
    Pre-claim deps: none.
    Prior rulings read: ordering record 7046610679; ceiling-raise authority 6184799323 item 1; seat reading 7071003039.

  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
    os-dev-report

    {
      "issue": 35905,
      "status": "done",
      "branch": "claude/issue-35905-project-forms-lines",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36345",
      "head_sha": "93c631a4721db7f720c1004041d28f2fee97d68e",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Items 1 and 3 of #35905 are in draft PR #36345 (Fixes #35905; together with #36213, which carries item 2 as Part of, this completes the card), head 93c631a4. Two lines go into references/project-forms.md under the memory-is-a-cache line: 125 + 143 = 268 bytes, the #36213 drafts unchanged, with the ruled meaning kept. They are paid first by 48 bytes: cut (车道、总监、分诊同此) 32 B (its home is line 6 of the same file), cut ,含在飞卡 13 B (home verified at seat-lifecycle.md 座位贴协议), and one un-wrap of 3 B. The CEILINGS row for project-forms.md rises +220 B, 4669 -> 4889, under ordering record 7046610679 and ruling 6184799323 item 1; no other row or file moved. The earlier blocker (the newest Claim: named another branch) was cleared by seat Claim 7075352735. main later moved to 3f7fdd00 without touching either file (overlap-check clean), so head 93c631a4 and its gate readings stand. The worktree is removed.",
      "tests": "Text-only change; no package, no test target. The edited script's own battery: check:pm-skill-ratchet runs check-skill-line-ratchet.mjs --self-test and then the gate, exit 0 at 93c631a4, which prints 'project-forms.md is 4889 bytes (ceiling 4889; headroom 0)' and 'declared cross-file moves: 0, total ceilings unchanged'. git grep finds no *.test.* file naming the script. wc -c on project-forms.md: 4669 before, 4889 after. No ablation: a config row and rule text, no tested behaviour changed.",
      "gates": "Local subset at 93c631a4: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 40 commands, the same list as at the pre-merge head 2a9c20af. All 40 exit 0, each code captured before any pipe; that includes check:pm-dispatch-gates ('dispatch-gates self-test (fast tier): 2252 cases pass') and check:doc-formula-expressions, which ran after building formula and lint under os-verify-lock (VERDICT command-exit 0). --ran reconciliation: '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)'. overlap-check --branch=claude/issue-35905-project-forms-lines: VERDICT clean exit 0 at both 2a9c20af and 93c631a4. Body gates on the prepared PR body: check-closing-keyword-parity --body binds only Fixes #35905 (exit 2 is its 'declarations present' answer); check-partof-closing-keyword exit 0. overlap-check also clean at 93c631a4 against origin/main 3f7fdd00. CI check-runs on PR #36345 at report time: Check Changeset success; PR-body guards (claim · duplicate · Part-of · single-writer path), Governed Surface Queue Guard, the Lint and Type Check jobs in_progress (not awaited, per os-dev).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": "references/project-forms.md 4669 -> 4889 bytes, ceiling 4669 -> 4889 (+220 = 268 added - 48 cut), headroom 0; no other file or row touched",
      "files_changed": [
        ".claude/skills/pm-dispatch/references/project-forms.md",
        "scripts/pm/check-skill-line-ratchet.mjs"
      ],
      "mcp_calls": "0",
      "api_writes": "3 — POST issue comment on #35905 (blocked os-dev-report 7075339191, via post-stamped relay); pr_create via fleet-write relay -> #36345 (read-back 8019 B identical, assignees zhuangjianguo, labels skip-changeset all present); POST issue comment on #35905 (this final os-dev-report, via post-stamped relay). git push x3 not REST writes",
      "writes": "relay 3 (two os-dev-report comments, one pr_create)",
      "deviations": [
        "The edits were made and pushed before the Claim:/branch mismatch was noticed. The mismatch came to light when reading the closing-target-claim guard while gating the PR body. The commits change no other actor's state.",
        "The ceiling row carries a one-line comment naming the two ruling records, following the other raised rows. The script's header sentence 'Three rows were later raised by an ordinary ruled raise' is already stale on main (seven raised rows, eight with this one) and was left untouched, as the order forbids other text in the script.",
        "Two os-dev-report comments on the card: the first reported blocked on the Claim:/branch mismatch, and this one is the final report after seat Claim 7075352735 unblocked it."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the check-skill-line-ratchet.mjs header comment above CEILINGS undercounts the ruled raises (says three; main carries seven); a comment-only drift, not a defect class"
      ],
      "l2_owed": "L2 contract review at CONTRACT_REVIEW_TIER on governed .claude/** text, record must read Rule-change-verified: ruled (seat routes; nobody knocked)"
    }
  11. removed
    pm:dispatched
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetdomain:skillspriority:p2tooling

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions