Skip to content

fleet skills: the skill ratchet counts bytes, and prose is no longer held to a 120-byte line (skills clean-up step 1) #35229

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

Filing gate: child of epic #35205, filed by seat 1. Ruling-ref: the maintainer said 「同意」 (2026-11-18 16:19Z) to the fleet skills review and its order of improvements (summary https://claude.ai/artifact/9TAontjAcKHUuajPPSKTGX; the three reports are in the project files under pm-orders/objectstack/skills-review-2026-11-18/). ⛔ Not a claim.

The order is one step, one PR, starting after the rule PR for #35207 merges: skill ratchet by bytes → #35215 (clear current values) → contradictions → slim entry files → lanes become seats plus epics (text → scripts → lane files) → split platform-readings → prose into scripts → each repo's rules back to its own repo, cloud skills and dogfood.

What to do

Step 1, the first PR after #35207 merges. scripts/pm/check-skill-line-ratchet.mjs counts BYTES per skill file instead of lines. The 120-byte line width no longer applies to prose, so a skill may be written in full sentences. The ceiling map is re-based to bytes at the merge-base. The gate's self-test is reworked, and the change takes its own contract review (it is a governance gate).

Done when

The ratchet judges bytes, prose lines may run past 120 bytes, the self-test covers both, and the skill gates pass on main.

Activity

  1. added
    priority:p2
    pm:blocked
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#35205#1 · os-warren · session_01JQwxbYJqoPAoSpWTMpH1yq

    State: pm:blocked → pm:queue (the chain is cut) · 2026-11-19

    Was: pm:blocked on #35207, which is closed (PR #35223 merged 2026-11-19 00:24Z). Starts now.

    Order: Warren, 2026-11-19 00:32Z 「可以拆的都同意。」 (item 6: the fleet skills clean-up chain becomes parallel; #35229 starts now). Rule: #35259 item 6 — fleet cards block each other only when they edit the same files. The new order is on #35205.


    Generated by Claude Code

  3. added
    pm:queue
    and removed
    pm:blocked
    on Nov 19, 2026
  4. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbYHmpLgwQvpwmbGvLL

    Grade: p2 → p1 — the maintainer's manual grade (no triage or seat moves it).

    Source: Warren, 2026-11-19 in the objectstack cloud os project thread: 04:51Z 「哪几个没做的,改到 p1」 — the not-yet-started fleet skill cards #35259, #35298, #35215, #35229–#35232 and #35234–#35238; 04:52Z 「不是让你做」 — relabel only. State label, assignee and Blocked-by lines are unchanged; nobody claims the card by this comment.

  5. added
    priority:p1
    and removed
    priority:p2
    on Nov 19, 2026
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbYHmpLgwQvpwmbGvLL

    Claim: PM loop round 1
    Session: session_01JQwxbYHmpLgwQvpwmbGvLL
    Thread session: session_01JQwxbaff1KoXFPag6L1f89
    Account: os-warren
    Branch: claude/project-thread-xtbyqx
    Worktree: objectstack-issue-35229
    Domain: domain:skills
    Seat: repo:objectstack#1
    File surface: scripts/pm/check-skill-line-ratchet.mjs and its ceiling map and self-test (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: opus — dispatch-gates --tier: no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7000138680
    Premise: holds
    Serial constraints cleared: card thread for #35259/#35298/#35230 (branch claude/project-thread-rothb5) adds skill text at the same time; whichever lands second re-bases the ceiling map.

    A governance gate: owes a contract-review-tier L2 review before the queue (the seat runs it).

    Source of the dispatch: Warren, 2026-11-19 in the objectstack cloud os project thread: 04:54Z 「那你还是直接派发吧」; 04:55Z 「为什么不能合并派发」.

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  8. 2 remaining items

  9. removed
    pm:dispatched
    on Nov 19, 2026
  10. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaAqjP52wVTzs99H5G

    Owed by this card when it re-measures after PR #35337 lands (the platform-readings split, card #35236; contract review record 7001464078, should-fix S2, deferred here) · 2026-11-19T06:20Z

    PR #35337 splits .claude/skills/pm-dispatch/references/platform-readings.md into nine readings-*.md subject files and leaves the old file as a 14-line index. It does not touch CROSS_FILE_MOVES in scripts/pm/check-skill-line-ratchet.mjs, which this card rewrites to bytes. That leaves two things for this card to settle when it re-measures:

    1. Missing per-file declarations for the readings split. triage-duties.md line 105 (例外一) now names readings-*.md: a readings increment raises the ceiling to the landed count and books it in ruledRaises. That field exists only on a CROSS_FILE_MOVES declaration, and no readings-*.md file has one, so the next readings raise has nowhere to book. Re-home the exception's booking onto the byte-era form, or retire it with the line-era declarations.
    2. Stale credit on the old declaration. The platform-readings.md entry (was 314, sixteen ruled-raise records summing 144) reads "paid down" at ceiling 14. crossFileMoveTotalVerdict therefore credits the map with 444 lines that were moved, not deleted, while the 464 moved lines sit in nine rows that no declaration counts. Condition (a) still binds each move, so no raise is licensed, but the map-wide figure the gate prints is 444 lines too generous. Retire or re-home this declaration when the line-era moves are dropped.

    Neither is fixed in PR #35337, which stays scoped to the split.

  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in fleet skills · pm:queue; rationale: area:fleet · Task (the skill ratchet counts bytes; prose no longer held to a 120-byte line) · a child of epic #35205 with Ruling-ref: (the maintainer's 「同意」 of 2026-11-18) → p1 as set.

  12. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgXoRuEJYBD32QLxaq2

    Claim: PM loop round 1 · 2026-11-20T01:06Z
    Area: b1-K
    Session: session_01L6bhgXoRuEJYBD32QLxaq2
    Account: os-sales
    Branch: claude/project-thread-6u5k4f (this card thread can push only this branch, a measured platform exception to the issue-numbered branch name; it is cut from origin/main only after PR #35591 has merged, because that PR edits the same script)
    Worktree: objectstack-issue-35229
    Domain: domain:skills
    Seat: repo:objectstack#1
    File surface: scripts/pm/check-skill-line-ratchet.mjs (the unit, the ceiling map, the cross-file move ledger, the self-test; the file and the check:pm-skill-ratchet command keep their names); scripts/check-ratchet-remedy-authority.mjs only if its pinned reading of this gate's remedy text moves; and the lines of rule text that state the old unit, each edited in place: .claude/skills/pm-dispatch/SKILL.md (the guard index row for this script), .claude/agents/os-dev.md (the three lines on paying the line ratchet), .claude/skills/pm-dispatch/references/lanes/skills.md (the standing-promise line on paying by line) and .claude/skills/pm-dispatch/references/triage-duties.md (exception one, which books a readings raise in ruledRaises). Not AGENTS.md, not package.json, not .github/workflows/**, not the published skills/**, and not the table-row pin's rule. (stop on breach; explain in the report)
    Container & model: M, mode:subagent (one os-dev inside this card thread), model: default — dispatch-gates --tier answers MANDATORY on .claude/skills/pm-dispatch/SKILL.md and .claude/agents/os-dev.md (clause ①) and names the exit taken here: a one-line-class mechanical governed edit drops to default execution, compensated by the contract review at CONTRACT_REVIEW_TIER, effort: high (M by difficulty: one gate rewritten with its self-test; p1 does not raise it)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7014489470
    Premise: holds — read at origin/main 238661f4: verdict() (scripts/pm/check-skill-line-ratchet.mjs:2934) judges the count countLines() returns (:2952), MAX_LINE_BYTES = 120 (:3114) holds every prose line outside the structural exemption classes, and every CEILINGS row is a line count.
    Resume-from: none. The Release: (7000630475) names branch claude/project-thread-xtbyqx; its head 23015da5 is one commit on 81c09477. It is read as a reference and not used as a base: it predates PR #35337 (nine readings-*.md rows) and note 7001508654, and it retires the table-row pin, which this claim keeps (see the rulings line).
    Serial constraints cleared: PR #35591 (open, ready, auto-merge armed) edits the same script: this thread reads and claims now and cuts its branch only after that PR has merged. PR #35610 (open) shares SKILL.md and os-dev.md. overlap-check.mjs on a local probe commit touching all six paths, against origin/main 238661f4: VERDICT clean exit 0, the two PRs above being the only open heads that share a file, each merging cleanly. The text merges, but the unit does not: after this card lands, a PR that grows a covered file by one byte needs a ceiling row, so whichever of PR #35610 and this card's PR lands second measures its files again. No importer of the script exists (git grep for an import of it: 0 hits), and no other open claim names it.
    Fold-or-serial: serial, nothing folded. The neighbours in the pick order are #35230 (the passages that contradict the new rules: text in other files, a different defect shape, and it waits on review reports) and #35237 (prose procedures into scripts, in flight in its own thread, other files). Neither shares this card's mechanism, so gate ① fails for both. #35230 follows this card in the chain.
    Pre-claim lane: area:fleet (an area of seat 1 since 2026-11-19T15:40Z) / domain:skills paths: a gate under scripts/pm/ whose subject is the governed rule text, and .claude/** rule text
    Pre-claim deps: the card's "after the rule PR for #35207 merges" is met (#35207 closed, PR #35223 merged); no Blocked-by: line; the one hot-file predecessor is PR #35591, handled as above
    Prior rulings read: four rulings stand in the script's own text, each read. ① 2026-08-23, option B, 「10950 不考虑存量,其他接受你的建议」: the 120-byte line rule. This card's Ruling-ref (the maintainer's 「同意」, 2026-11-18 16:19Z) ends it for prose, and prose is all it ever held: tables, fences, headings, anchored lines and quotations were exempt by structure. ② 2026-08-25, 「同意」 (comment 5406811814): the shrink-only pin on each file's widest table row. This card does not name it, so it stays as it is. ③ 2026-09-03, 「同意」 (comment 5520452691): the same-PR cross-file move. The rule stays and its arithmetic is read in bytes; the three declarations on record carry ceilings in lines and are settled with the re-base, as note 7001508654 expects. ④ 2026-10-15, letter B (ruling record 6184799323): a raise quotes the ruling of record and the measured delta. It stays, the delta in bytes. Rulings ① and ② chose their rules over a whole-file byte ceiling at the time; the 2026-11-18 word orders the byte ceiling now, and that later word is this card. check-prior-rulings.mjs --card 35229 --paths over four of the files: 597 hit lines, each rule text or one of the four rulings above; the card's thread carries no ruling comment; the ADR hits share words only.
    Known gap: the review reports the card cites (pm-orders/objectstack/skills-review-2026-11-18/) are not readable from this project. The route is read from the card's own text and from the script.


    Generated by Claude Code

  13. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  14. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgXoRuEJYBD32QLxaq2
    os-dev-report

    {
      "issue": 35229,
      "status": "done",
      "branch": "claude/project-thread-6u5k4f",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35712",
      "session": "session_01L6bhgXoRuEJYBD32QLxaq2",
      "premise_still_valid": true,
      "summary": "scripts/pm/check-skill-line-ratchet.mjs now judges each covered file by its UTF-8 byte size (wc -c); the 120-byte max-line-length rule, its exemption classes and the re-wrap machinery are deleted; the CEILINGS map is re-based to bytes at BASE 74d3d831d by one command (in the PR body), headroom 0, with SKILL.md, os-dev.md and lanes/skills.md lowered to the size this PR's edits landed and triage-duties.md edited byte-neutral. The table-row pin is kept with identical values (printed widths at head equal BASE on all 60 files). CROSS_FILE_MOVES is empty with a comment on why the three line-era declarations were not re-declared in bytes (settles seat 5 note item 2), and triage-duties.md exception one now books a readings raise in the ordinary byte-era form, citing itself and the measured delta (item 1). The rule lines stating the old unit in SKILL.md, os-dev.md and lanes/skills.md are edited in place, each file shrinking.",
      "tests": "node scripts/pm/check-skill-line-ratchet.mjs --self-test at 898add71b: '✓ check-skill-line-ratchet self-test: 114 cases pass.' (floor 164 -> 114: 77 left, 27 arrived, named in the floor comment); the pair for prose past 120 bytes: '✓ prose may run past 120 bytes: one 600-byte sentence under its ceiling is green' / '✓ ...while the SAME long line over its ceiling is red'. Positive control after commit: one byte appended to lanes/review.md -> gate EXIT=1, '... is 121 bytes; the ratchet ceiling is 120 (1 over)'; restored with git checkout HEAD -- PATH, hash equals the HEAD blob (df46a7c7), git diff HEAD 0 bytes, gate EXIT=0 again. No ablation: the diff is a gate script (scripts are not ablated).",
      "gates": "local, at 898add71b, exit captured before any pipe: check:pm-skill-ratchet 0, check:ratchet-remedy-authority 0 (this gate still reads excluded), check:pm-dispatch-gates 0 ('2249 cases pass; 9 slow section(s) deferred'), check:pm-skill-id-lint 0, check:pm-governed-prose 0, check:skill-frame-sync 0, check:nul-bytes 0; the 47 families of dispatch-gates --commands all run, --ran: '47 derived, 47 run, 0 NOT-MEASURED, 0 UNRUN' exit 0 (check:doc-formula-expressions first exit 3 PREREQUISITE NOT MET, then 0 after building @objectstack/formula and @objectstack/lint under the verify lock, VERDICT command-exit 0); local-only check:skill-frame-freshness 0. CI on PR #35712 head 898add71b at report time: Governed Surface Queue Guard success, Check Changeset success; Lint (all lanes), Type Check lanes, PR-body guards, Check PR Size in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — every GitHub read went through gh api GET; no MCP tool called",
      "api_writes": "2 relay strokes — (1) fleet-write dispatch POST /repos/objectstack-ai/objectstack/dispatches carrying pr_create: POST /repos/objectstack-ai/objectstack/pulls (draft), POST .../issues/35712/assignees (os-sales), POST .../issues/35712/labels (skip-changeset), read back identical; (2) post-stamped POST /repos/objectstack-ai/objectstack/issues/35229/comments (this os-dev-report). git push of the branch is not a REST write.",
      "line_budget": "bytes BASE -> head: .claude/skills/pm-dispatch/SKILL.md 33934 -> 33872 (-62); .claude/agents/os-dev.md 39008 -> 38848 (-160); references/lanes/skills.md 2682 -> 2666 (-16); references/triage-duties.md 12399 -> 12399 (0); each row at its head size, headroom 0; no raise. PR size 3867 changed lines (+391 / -3476, 5 files), over the 3,000 human-merge threshold.",
      "files_changed": [
        "scripts/pm/check-skill-line-ratchet.mjs",
        ".claude/skills/pm-dispatch/SKILL.md",
        ".claude/agents/os-dev.md",
        ".claude/skills/pm-dispatch/references/lanes/skills.md",
        ".claude/skills/pm-dispatch/references/triage-duties.md"
      ],
      "deviations": [
        "BASE is 74d3d831d, not 1bf30f8b: origin/main had moved one ui-only commit when the worktree was cut; it contains 1bf30f8b and touches no covered file.",
        "Ruling 4: no pin value, scan or map row moved, but two pin texts described the deleted line rule and were reworded: the tableRowVerdict refusal sentence ('the one shape the 120-byte line rule cannot reach ... costs zero lines') and the pin pair's first self-test row (it asserted classifyLine's table exemption; it now asserts the byte ceiling meters the same row). advanceState dropped quotation tracking that only the line rule read; pin widths proved identical.",
        "The session's attribution reminder asked for a model-named Co-Authored-By trailer; the commit carries the model-free pair AGENTS.md and the order require."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #35230 · noted, not filed — text outside this PR's fence still describes this gate's unit as lines: the header of scripts/check-skills-token-ratchet.mjs ('prices .claude/** in LINES', fenced), a comment in scripts/check-published-list-mirrors.mjs ('a shrink-only line ceiling'), the gate census rows in docs/audits/ (fenced), and the remedy-authority 'why' text (true of the ruling's day, left).",
        "carrier: none · noted, not filed — .claude/skills/pm-dispatch/references/instrument-discipline.md and .claude/skills/scenario-eval/SKILL.md carry no ceiling row before and after this PR; the header reads an absence as a fact to check."
      ]
    }
  15. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgXoRuEJYBD32QLxaq2

    Fix round on PR #35712 — contract review 7028512390 (S1, N1, N2, N3) · 2026-11-20T03:03Z

    New head: 22d4de19060a9bdfc8c37e47e81c58fde4817d0c (one commit on top of 898add71; only scripts/pm/check-skill-line-ratchet.mjs changed; no ceiling value and nothing run() judges moved).

    • S1, done. Two scanTableRows self-test rows pin the closing transitions of the shared advanceState. (a) Fixture: a fence that opens, holds a 5-byte row and closes, then a 44-byte row; asserted width 44. An advanceState that never closes the fence skips every later line and reads 0. (b) Fixture: front matter (---, name: x, ---) with no row in it, then a 34-byte row; asserted width 34. One that never leaves front matter reads 0. Both keys are on the roster; floor 114 → 116, the handshake unchanged.
    • N1, done. The header now says that a re-wrap swapping a space for a newline is byte-neutral, and that the bytes an un-wrap frees (a list continuation's newline and indent, the newline between two CJK lines) are real bytes of the read: the count is the cost, and deletion stays the only currency.
    • N2, done. The raise-discipline list names the third path: a readings-*.md increment raises that file's row to the landed bytes with no decision card, the PR body quoting the rule line and the measured byte delta (triage-duties.md, 例外一). The cross-file move bullet now says "a raise", not "the one raise". The refusal text verdict() prints is unchanged.
    • N3, done. The comment above CEILINGS says three of the four marked rows were lowered and triage-duties.md is byte-neutral. The row "...and a 600-byte CJK prose line too" now runs a 600-byte fixture (33 × 18 + 6) and asserts countBytes === 600 and green at ceiling 600, like its ASCII twin. The label and roster key are unchanged.

    The two header sentences that check-harness-current.mjs and check-merged-result.mjs quote are kept verbatim.

    Run at 22d4de190 Exit
    node scripts/pm/check-skill-line-ratchet.mjs 0
    node scripts/pm/check-skill-line-ratchet.mjs --self-test (116 cases pass) 0
    node scripts/check-ratchet-remedy-authority.mjs 0
    node scripts/check-ratchet-remedy-authority.mjs --self-test 0
    node scripts/pm/check-harness-current.mjs --self-test 0
    the 32 families dispatch-gates --commands derives for this path, each run 0 (all 32)
    dispatch-gates --ran: 32 derived, 32 run, 0 NOT-MEASURED, 0 UNRUN 0

    PR body not edited (the thread patches it).

  16. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Close-out · 2026-11-20T04:28Z · PR #35712 merged as a457b5157d, approved by os-zhuang (5987352958) on the seat-adopted head 22d4de19 (adoption 7029321911). On main, check-skill-line-ratchet exits 0, all 60 files sit at byte headroom 0, and the self-test passes 116 cases, so the done-when holds. The seat removes pm:dispatched and the assignee. Next in the chain is #35230 (p1), which waits for the 2026-11-18 skills-review reports to be copied into the project. The two unmetered skill files and the N2 residue are carried on #35230 (7027945453, 7028540539).

  17. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetpriority:p1

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions