Skip to content

[Decision] next codemod splits for the large hot files, in order, and whether to name a shrink-only line ceiling (hot-file card F) #33949

Closed as not planned

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

Filing gate ③: maintainer-directed. On 2026-11-15 the maintainer chose 「今天改规则,并立全部 6 张卡」 on the hot-file serialization decision card (consequence as shown: 取消 protocol.ts 独占、关闭 #25467 和 #24586;卡 A 到 F 交各车道立卡,大 PR 和上限门禁仍逐个等您批准). Measurements: the hot-file analysis report (project artifact), re-runnable on request. Cross-lane rule (2026-11-15): no live seat in the owning lane, so domain:server seat 5 files and builds it; the owning lane is notified.

Card F: decision for the maintainer

Which large files get the next codemod splits (the protocol.ts codemod precedent: #29998, #30687, #30954, #31177), in this proposed order:

  1. packages/objectql/src/registry.ts
  2. metadata-manager.ts
  3. mcp-http-tools.ts
  4. auth-manager.ts + auth-plugin.ts
  5. service-automation engine.ts + plugin.ts
  6. action-execution.ts
  7. marketplace-install-local-plugin.ts
  8. spec stack.zod.ts

And whether the maintainer names a shrink-only line ceiling for these files (a new gate needs the maintainer's naming).

The seat batches this with other maintainer questions behind one independent review, then puts a card in Chinese. No dev before the ruling.

Activity

  1. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Request: review · PR #34285 · area S4 (E1) · Part of #33949 (ruling item 1, split 1 of 8: registry.ts) · head b89e3e4 (green: 35 success, 16 expected skip, none failed; declared final)

    Ordinary ACCEPT read (L1) per review-checklist.md. No contract face: Clause-②: no, Metadata-protocol: none, no spec or governed path. The PR body was rewritten at this head.

    • What it is: a codemod move of packages/objectql/src/registry.ts (12,577 → 6,326 lines) into 13 modules, with registry.ts left as the facade. It also adds the facade registration and the ceiling row from feat(gates): a line ceiling on every file already in facade form #34103 (6,326 + 100 = 6,426).
    • Self-proof: node scripts/codemod-split-registry.mjs --verify --base $(git merge-base HEAD origin/main). It reports byte-identity 200/200 bodies and 127/127 top-level declarations, and exports-equality equal (68 names, same kinds). The proof's two failure arms are ablated in the body.
    • One test changed: federated-injected-column-readers.test.ts re-keys 5 rows to their new file. No assertion changed.
    • Landing: Tier H by size (+12,829 / −7,105, over 3,000). After a PASS it goes to the seat for the hand-off. The area does not arm it. Under the wind-down order this is the area's last review request.
  2. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Hand-off · PR #34285 (split 1 of 8, registry.ts) · area S4 (E1) winding down under the maintainer's order

  3. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

    Maintainer rule for splits 2–8 · 2026-11-16T08:31Z

    Maintainer's words in project chat: 「这种代码就是垃圾啊,我为什么要合并,以及如何避免类似的问题」, then 「yes」 to the fix.

  4. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ

    Hand-off · PR #34285 (split 1 of 8, registry.ts) · area S4 (E1) clocks out on the maintainer's 09:01Z order · supersedes the hand-off in comment 6910609756

    • Head: e06e1a9d536524d73485a1c916f14f8db52c7c4a, a draft and not armed. The PR body is rewritten to this head.
    • State: the rework under rule 6911407209 is done in code.
    • Left:
      • The pre-push gates were not run on e06e1a9d53 because of the stop order: objectql typecheck, federated-injected-column-readers.test.ts, check:facade-delegation-only, check:adr-symbol-anchors, lint, and the 93-family dispatch-gates union. The prepared chain is in the area's scratchpad (chain10.sh, run under os-verify-lock). CI on this head covers most of them; read the check-runs.
      • The worktree is /home/claude/objectstack-e1-33949-registry (no node_modules).
    • Owed review:
      • An L1 delta from review-b, against PASS 6910597882 at b89e3e42. The reviewer checks the growth breakdown before PASS (rule 6911407209).
      • No L2: there is no contract face.
    • Then: Tier H by size. It goes to the seat to redo the Tier H record. [Decision] next codemod splits for the large hot files, in order, and whether to name a shrink-only line ceiling (hot-file card F) #33949 stays open for splits 2 to 8.
  5. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft

    Release: session session_01QsR2jTkZnXtRhuEiiyidvJ (claim 6898966841, account zhuangjianguo, seat domain:server#5) · reason: cross-account takeover; the old seat signed off (brief #28677 comment 6912561028) · provenance: who = Leehom (maintainer); words = 「接手 前任。#28677 (comment) 的未完成任务」; where = this account's Claude Code project, seat thread 「运行 objectstack 仓库车道席位」 (repo:objectstack#1) · hand-over record: comment 6912064042 (branch claude/area-E1-33949-registry, last pushed sha e06e1a9d536524d73485a1c916f14f8db52c7c4a; split 1 of 8 reworked under rule 6911407209 without the committed script, L1 delta owed, Tier H by size)

    Claim: repo:objectstack#1 area o1-D (lease o1-D), takeover of domain:server#5's in-flight PR #34285 on the maintainer's order above
    Session: session_01FEkQ5obaLbqgzRUR9xXfft
    Account: os-project-manager
    Branch: claude/area-E1-33949-registry
    Worktree: objectstack-e1-33949
    Domain: domain:server
    Seat: repo:objectstack#1
    File surface: unchanged from claim 6898966841 and its amendments; the PR's committed tree at e06e1a9d53 is the surface (split 1 of 8 only)
    Container & model: L, mode:subagent, model: default judgment tier, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6912064042
    Premise: holds (carried from claim 6898966841; ruling 6897467376 and rule 6911407209 unchanged)
    Serial constraints cleared: split 1 waits for every open PR touching packages/objectql/src/registry.ts (ruling 6897467376); the overlap is re-measured before the Tier H hand-off
    Pre-claim lane: repo:objectstack#1 area o1-D; packages/objectql/src/registry.ts and its new section modules (domain:server file ownership); listed under o1-D in seat post #34366's lease table.
    Pre-claim deps: ruled 6897467376; no Blocked-by:; splits 2 to 8 stay on this card after PR #34285
    Prior rulings read: 6897467376 (split order, ceiling, regenerate against fresh main), 6911407209 (no committed script, growth accounted); re-read at takeover, no newer ruling on the card.
    Resume-from: claude/area-E1-33949-registry@e06e1a9d536524d73485a1c916f14f8db52c7c4a

  6. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-project-manager · session_01FEkQ5obaLbqgzRUR9xXfft

    Delivery note · #33949 · area o1-D · 2026-11-16T13:48Z

  7. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 16, 2026
  8. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Regraded p2 → p3 by the maintainer's grading principle of 2026-11-18; the maintainer approved this batch in triage's session (「同意降到 p3」). Downgraded only: the card stays open.

    The principle, in order:

    1. What a new user or a prospect meets first (looks and the main flow), the cloud core (Turso, hosted sign-up and onboarding, hosted install and upgrade, plans) and a developer's first contact come first.
    2. Data loss or a permission breach in normal use stays first.
    3. Details and rare configurations are improved over time.
    4. Internal items are frozen.
    5. New features default to p2, p3 when out of focus.

    Why this card: internal code tidy-up: the next codemod splits of large hot files and a line ceiling; no user effect (frozen).

  9. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Closed 2026-11-22T06:47Z as not planned. With cards D and E (#33945, #33946) closed, the ordering decision this card puts to the maintainer has nothing left to order. A future split that pays for itself can be filed on its own measurement.

    Ruling: the maintainer (Steedos), 2026-11-22T06:42Z, verbatim 「同意」, on seat 7's close list for the queued area:fleet cards (p3 work with no user effect is closed, per the 2026-11-15 standard 「用户无感的 p3 直接关」).

  10. removed
    pm:queue
    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

No one assigned

    Labels

    area:fleetdomain:serverpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions