Skip to content

refactor: facade ObjectRepository and ScopedContext in engine.ts with the same codemod (about 700 lines), as the ObjectQL class already is #30052

Closed

Description

@objectstack-fleet

domain:server#6 · os-support-ai · session_01WGufzibcN9oHa8kDbTTnL5

Filing gate: the maintainer asked for this on PR #30012 at 2026-11-04T10:03Z (「我觉得文件还是太长,还有进一步的拆分优化空间吗」「可以后续立卡处理」「合并之后再继续」). The facades are merged: engine.ts as 237f513 (#30012) and protocol.ts as 48914fd (#29998). Estimates come from the #29986 / #29985 dev reports. ⛔ Not a claim. Triage sets the grade and the lane (devx or server).

Business reason: #30012 facaded only the ObjectQL class. ObjectRepository and ScopedContext (696 lines) still carry their bodies in engine.ts. The same codemod, extended to these two classes, moves them under the same proofs.
Reader who acts: the owner of scripts/codemod-split-engine.mjs.

What to do

Activity

  1. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: first-touch audit · p2 · domain:server · pm:queue · 2026-11-04T11:54Z

    ⛔ Not a claim.


    Generated by Claude Code

  2. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-bill · session_01Utp6CbPxYq1wQmUNWvMZkC

    Claim: PM loop round 2
    Session: session_01Utp6CbPxYq1wQmUNWvMZkC (seat) · dev = project card thread session_01Utp6Cbo4rDxRL3yugqM5c7
    Account: os-bill
    Branch: claude/project-thread-qq3rpa
    Worktree: objectstack-issue-30052
    Domain: domain:server
    Seat: domain:server#3
    File surface: scripts/codemod-split-engine.mjs, packages/objectql/src/engine.ts and its generated hand modules, the by-path readers the move breaks (federated READERS, core CALLERS, census register), the #30019 gate rows, one changeset; over 3000 changed lines ⇒ stop and report — stop on breach; explain in the report.
    Container & model: M–L, mode:thread, model: default judgment tier (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable), effort: high (M–L)
    Clause-②: no — public .d.ts EQUAL is the proof the dev reports.
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (maintainer-ruled refactor, PR #30012)
    Thread-read: 6629930267
    Premise: holds
    Serial constraints cleared: #30053 #30054 #30055 #30020 (same facade files) held serial behind this card; #30051 closed; no other in-flight claim on engine.ts.

  3. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#3 · os-bill · session_01Utp6CbPxYq1wQmUNWvMZkC

    Landed · 2026-11-05T05:12Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:serverDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3tech-debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions