Skip to content

registry: re-registering a package whose new manifest no longer extends an object keeps the old extension's fields served #35609

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgVLY5efsfaT3UG2zwH

What happens

When a package is registered again (rebuild, reload, re-install of the same id) and its new manifest no longer carries an objectExtensions entry for an object the previous registration extended, the previous extension stays registered. Its fields keep being served on the target object.

The extend branch of object registration replaces a package's previous contribution to a target only when the new registration names that same target (packages/objectql/src/registry-object-registration.ts, around line 596: "extend mode: remove existing extension from same package"). Nothing withdraws a target the new registration does not name.

Found while measuring #35228 (decision analysis comment 7016526323, premise 4).

Measured on main e35cf03 (bare registrar, vitest, packages/objectql)

const e = new ObjectQL();
e.registerApp({ id: 'com.t.core', name: 'core', version: '1.0.0', type: 'app', namespace: 'crm',
  objects: [{ name: 'crm_line', label: 'Line', fields: { name: { name: 'name', type: 'text', label: 'Name' } } }] });
e.registerApp({ id: 'com.t.mod', name: 'mod', version: '1.0.0', type: 'module',
  objectExtensions: [{ extend: 'crm_line', fields: { cb_account: { name: 'cb_account', type: 'text', label: 'A' } } }] });
e.registerApp({ id: 'com.t.mod', name: 'mod', version: '1.0.1', type: 'module', objectExtensions: [] });
// → crm_line still serves cb_account

Renaming the field in the second registration (same target) does replace it correctly: cb_account2 is served and cb_account is gone.

Measure first (before any fix)

This was measured on the bare registerApp only. Before treating it as a defect, check which real paths re-register a package without uninstalling it first, and whether any of them reaches this state:

  1. os dev / source reload after an author deletes an extension entry.
  2. A package upgrade (new version of an installed package that drops an extension), including the upgrade plan's view of removed fields (Package upgrade plan does not see fields added or removed by objectExtensions (6.2.0→6.4.0 preview: fields.added [] while 7 columns were added) #34095).
  3. A re-install of the same id through install-local.

For each, record whether the removed extension's fields are still served, and whether schema sync, the upgrade plan or the served object say anything about it. If every real path uninstalls first, record that and close this as not reachable.

Expected

After a package is registered again, the served object carries exactly the extensions the package's current manifest declares.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:package · Bug · Severe·data wrong (re-registering a package whose new manifest drops an objectExtensions entry keeps serving the old extension's fields on the target) · builders upgrading or reloading a package that removes an extension, rare · measured on main e35cf035 with a bare registrar → p2.

  2. added
    domain:server
    pm:queue
    priority:p2
    on Nov 19, 2026
  3. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: maintainer 2026-11-21T22:3xZ, verbatim: 「按建议升」, on triage's third non-topic pass (about 10% of non-topic p2, the maintainer's ask: 「按照10% 的比例重新分析」) under the standard ruled 「同意」 today: this week, or someone loses.

    2026-11-21T22:31Z · p2 → p1 on the maintainer's word: config silently wrong: a re-registered package keeps an object extension its new manifest dropped, and its fields stay live. Lane and state unchanged.

  4. added
    priority:p1
    and removed
    priority:p2
    on Nov 21, 2026
  5. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh

    Claim: PM loop · area a4-C, routed by the seat (area-a4-C.md "New p1 batch" section; dispatched now on the seat's slot raise) · 2026-11-22T03:29Z
    Session: session_01FEkQ5miLqNucRZevceHwNh
    Account: os-project-manager
    Branch: claude/issue-35609-reregister-extension-withdraw
    Worktree: objectstack-issue-35609
    Domain: domain:server
    Seat: repo:objectstack#4
    Area: a4-C
    File surface: packages/objectql/src/registry-object-registration.ts (the extend branch's per-package replacement), packages/objectql/src/registry.ts (package registration / withdrawal), their tests, one changeset; read: os dev reload, the upgrade path and install-local re-install
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high (seat order)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectql's registry (objectstack) replaces a package's extension only for a target the new registration names | none — nothing withdraws a target the new manifest drops | builders reloading, upgrading or re-installing a package that removes an objectExtensions entry; measured on the bare registrar only, real paths to be measured first (the card's "Measure first")
    Pre-claim lane: domain:server, by path (packages/objectql/src/registry-object-registration.ts); no ui/** or packages/spec/** path
    Pre-claim deps: none named; #35228 closed, #34095 closed; open-PR scan (49 open): draft #36236 (another thread, #35901 extension placement, active 03:20Z) edits both files, including the extension registration hunks (~L861-1045 of registry-object-registration.ts) — the dev runs overlap-check before each push and queues behind #36236 on a textual conflict
    Prior rulings read: check-prior-rulings --card 35609 over both files (98 hit lines, owed line by line to the dev; refs include #25234, #31700, #33593 rulings on extension registration); card refs at state: #35228 and #34095 closed
    Thread-read: 7070240597
    Premise: to be measured on real paths (bare-registrar repro on e35cf03; the card may close as not reachable)
    Serial constraints cleared: #36236 (same files; overlap-check decides)

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5miLqNucRZevceHwNh
    os-dev-report

    {
      "issue": 35609,
      "status": "done",
      "branch": "claude/issue-35609-reregister-extension-withdraw",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36325",
      "session": "session_01FEkQ5miLqNucRZevceHwNh",
      "premise_still_valid": true,
      "summary": "Measure first, on main c30ce97cd7: reachable on all three real paths, none of which uninstalls first. (1) os dev reload: metadata:reloaded -> ObjectQLPlugin.refreshReloadedPackages -> registerApp. Measured at that hook on a real ObjectKernel: the dropped extension's field, validation and index stay served. The full createStandaloneStack composition was NOT MEASURED (it never got the lock). (2) install-local upgrade 1.0.0 -> 1.0.1 dropping the extension (real kernel, SQL driver, real schema sync): the dry run's plan already named crm_line.cb_account as removed (environment.columns reasons removed, rows 1), and removed fields need no confirmation, so the upgrade answered 200 and then kept serving the field, with find still returning cb_account. (3) install-local re-install of the same id and version without the extension: the field stays served. Nothing warned on any path, and schema sync never drops a column. Fix: SchemaRegistry.replacingPackageBody (the #33050 wrapper around every registerApp body) now notes which extension layers the body wrote. It tells them apart by contributor identity, because the extend splice always pushes a new contributor. It then withdraws the layers the previous body wrote for targets the new body no longer extends. The withdrawal goes through withdrawObjectExtension, the existing per-target verb the object_extension item delete uses, which now records the object's layers in an open run first so a later refusal puts the layer back. The record is restored on refusal and forgotten on uninstall. After the fix the served object carries only the current manifest's extensions (fields, validations and indexes leave together). Stored column data is untouched: the cb_account column keeps 'ACME' and find omits it. The upgrade plan's answer is unchanged (it already reported the field as removed), and the runtime now agrees with it. Clause-②: no, because nothing is refused. Metadata-protocol: none.",
      "tests": "New objectql/src/reregister-extension-withdraw-35609.test.ts (8 tests: bare drop withdraws fields, validation and index with the owner kept; CONTROL rename; another package's extension untouched; same body keeps; an extension registered under the id outside a body is kept; a refusal later in the run restores it and its record; reload door drops it; CONTROL reload keeps it). New cloud-connection/src/marketplace-install-local-reregister-extension-withdraw-35609.test.ts (upgrade drop: plan names the field, object no longer serves it, column keeps ACME; same-version re-install; CONTROL). Ablation (one locked run, paired script with trap restore): the four fixed objectql files were put back to main via git restore --source=c30ce97cd7. Marker packageBodyExtensions in registry-items.ts read 0 on disk. UNFIXED: Tests 5 failed | 76 passed (81) across reregister-35609, package-refused-upgrade-keeps-installed and manifest-service-artifact-refusal-restores. Install-local probe: 'served after upgrade [cb_account, name]' and find returned cb_account ACME. Restore was git checkout HEAD -- each file, proven by an empty git diff HEAD and hash-object equal to HEAD:path for all four, marker 9. FIXED: Test Files 3 passed, Tests 81 passed; probe 'served after upgrade [name]', column {hasColumn:true, values:[ACME]}. Both suites resolve @objectstack/objectql to src (stack frames ../objectql/src), so no dist was involved. pnpm --filter @objectstack/objectql test: Test Files 627 passed (627), Tests 14240 passed (14240), OQ_EXIT=0 (objectql src identical to head 555ef3e2c7). pnpm --filter @objectstack/objectql typecheck: TC_EXIT=0 (tsc --noEmit plus check:test-typecheck OK, debt held). NOT MEASURED, reason: shared verify lock queue (holders: a dogfood test held about 55 min, then issue-35711's full.sh over 30 min). That covers the cloud-connection new-file rerun after 555ef3e2c7 removed two casts (the pre-cast-removal version passed 1/1 in the fixed leg), cloud-connection typecheck, and the full os dev standalone composition probe. All are declared to CI (Test Core, TypeScript Type Check).",
      "gates": "dispatch-gates --commands at f8c6e01840 and again at 555ef3e2c7 (identical 73-command list), --repo objectstack-ai/objectstack. All 73 run, exit codes captured per command before any pipe; 70 exit 0. check:query-options-erasure exited 1 (test surface 236 -> 237, from an `as any` on query options in the new cloud-connection pin); fixed in 555ef3e2c7 and re-run exit 0 (236, at ceiling). check:dual-build-cjs-loads exited 3, PREREQUISITE NOT MEASURED (no full dist). check:type-check-debt exited 3, PREREQUISITE NOT MEASURED (closure build never got the lock). Re-run on final head 555ef3e2c7, all exit 0: cross-package-test-inputs, test-source-alias, nul-bytes, refd-timer-probe, tier-file-adoption, issue-citations, doc-authoring, facade-delegation-only. dispatch-gates --ran: 73 derived, 73 run, 0 unrun. overlap-check --branch=HEAD: VERDICT clean exit 0 vs origin/main 99fbaa6d18 and #36236. PR check-runs at report time: every gate-carrying run queued (Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards): in_progress, not a pass. test:repo was not run locally; it is CI's.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3: git push (branch, several pushes; not REST); fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/36325/assignees os-project-manager, run 44991818977 success); post-stamped issue comment on #35609 (POST /repos/objectstack-ai/objectstack/issues/35609/comments)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: owned objects that a re-registered body no longer ships stay registered until restart. ingestReloadedObjects' docblock declares this deliberate ('same lifecycle as their tables'); in PR acceptance notes.",
        "carrier: none · noted, not filed (doc drift): ObjectQLPlugin.refreshReloadedPackages' docblock still says items removed from the artifact stay registered until restart. That has been stale since #33050 and is now stale for extensions too.",
        "carrier: none · noted, not filed (inferred, not exercised): a withdrawal (this one, an uninstall, an object_extension item delete) is not asked the ADR-0144 run-end record-currency follow door, which judges registered layers only. A withdrawn currency-code field another package's amount follows would leave that pair unjudged.",
        "carrier: none · noted (shared-box observation, not a card): retaking os-verify-lock with the same OS_VERIFY_LOCK_SLOT after an exit-99 'at the head of the queue' repeatedly re-entered at the back (cc slot: head with 60s left, then 'position 4/4 waiting 5s'). Not investigated."
      ]
    }
  8. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

    Handover to repo:objectstack#7 · 2026-11-22T06:42Z

    Release: handed over to repo:objectstack#7 by the maintainer's word (Leehom 2026-11-22T06:32Z 「后续任务通过信箱交接给座位7」, then 「其他交接给座位7,现在就开始交接」). Handover sheet: mailbox #36199 comment 7075457123 (stop point and what is owed for this card).
    Resume-from: claude/issue-35609-reregister-extension-withdraw@555ef3e2c7c32127acdc5145ce01d78e87c96cd6

  9. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 22, 2026
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 3 (handover from repo:objectstack#4)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35609-reregister-extension-withdraw
    Worktree: objectstack-issue-35609
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
    File surface: packages/objectql/src/registry-object-registration.ts (the extend branch's per-package replacement), packages/objectql/src/registry.ts (package registration / withdrawal), their tests, one changeset; read: os dev reload, the upgrade path and install-local re-install
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high (seat order)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectql's registry (objectstack) replaces a package's extension only for a target the new registration names | none — nothing withdraws a target the new manifest drops | builders reloading, upgrading or re-installing a package that removes an objectExtensions entry; measured on the bare registrar only, real paths to be measured first (the card's "Measure first")
    Thread-read: 7075493238
    Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
    Serial constraints cleared: none beyond the card's own draft PR #36325, which this claim continues.
    Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
    Pre-claim deps: none open (read on the card at the release).
    Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35609 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
    Resume-from: claude/issue-35609-reregister-extension-withdraw@555ef3e2c7c32127acdc5145ce01d78e87c96cd6

  11. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 22, 2026
  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 35609,
      "status": "done",
      "branch": "claude/issue-35609-reregister-extension-withdraw",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36325",
      "head_sha": "555ef3e2c7c32127acdc5145ce01d78e87c96cd6",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Hand-over round on draft PR #36325. No commit was made, so the final head is still 555ef3e2c7 (the remote head had not moved past the resume sha). Seat 4 listed five local gaps. Four are now closed by this head's own CI check-runs, which ran on the merge b97f554d (555ef3e2 into 99fbaa6d). (1) The cloud-connection new file, rerun after the cast removal: Test Core printed 'marketplace-install-local-reregister-extension-withdraw-35609.test.ts (3 tests)' passed, and the objectql file printed '(8 tests)' passed. (2) cloud-connection typecheck: Type Check workspace ran @objectstack/cloud-connection:typecheck, 124/124 tasks successful. (3) check:dual-build-cjs-loads: the Build Core step succeeded. (4) check:type-check-debt: the Type Check debt-ledger re-measure step and the lane verdict both succeeded. (5) The full createStandaloneStack os dev reload probe is still NOT MEASURED. I wrote a probe (a two-package composed artifact whose module drops its extension through the door's own _reloadAndAnnounce, plus a CONTROL) with a paired dist ablation, but the shared verify lock never granted, after about 80 minutes queued behind two dogfood batteries. I re-ran the 73 derived gates locally at the head and patched the PR body to this head, under seat 7's trailer.",
      "tests": "No local test ran in this round: the closure build never got the verify lock. Seven 540 s acquisitions on slot issue-35609-s7 each ended in VERDICT queue-timeout (exit 99); the holder was pid 5424, a dogfood build plus test, held over 67 minutes. CI at head 555ef3e2c7 (merge b97f554d): Test Core shards 1-10 all success. cloud-connection:test printed 'src/marketplace-install-local-reregister-extension-withdraw-35609.test.ts (3 tests)' passed. objectql:test printed 'src/reregister-extension-withdraw-35609.test.ts (8 tests)' passed. Type Check workspace: '@objectstack/cloud-connection:typecheck' ran, 'Tasks: 124 successful, 124 total'. No ablation in this round: no tested behaviour changed. The prepared composition ablation (restore main's four objectql files tree-only, rebuild objectql, dist-preflight --absent, run the probe, restore with git checkout HEAD, prove an empty git diff HEAD plus HEAD hashes, rebuild, preflight present) never ran. The probe is kept at /tmp/claude-0/-home-claude/c9cad1e9-00e8-52c4-90a2-96352fb11278/scratchpad/issue-35609/zz-probe-35609-standalone.test.ts, and the ablation script beside it.",
      "gates": "Local, at 555ef3e2c7 against origin/main c448c615. dispatch-gates --commands --repo objectstack-ai/objectstack derived 73 commands, all run, each exit code captured before any pipe. 68 exited 0. Five exited 3 (PREREQUISITE NOT MET, no built dist): check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content, check:type-check-debt (its closure build waits on the lock). dispatch-gates --ran with the codes recorded: '73 derived, 68 run, 5 NOT-MEASURED, 0 UNRUN' (the five derived from exit 3). CI carries all five at this head, each success: Build Core steps 'Sweep the built closure for vanished declarations', 'Every published require entry point actually loads', 'The lean engine entry loads no forbidden or unlisted package' and 'No published source map embeds source text'; Type Check debt ledger 're-measure' step plus 'Lane verdict'. overlap-check --branch: VERDICT clean exit 0 against origin/main d8599c2ca2. PR check-runs at 555ef3e2c7 all completed: success for Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Live E2E UI, Test UI, Dogfood Regression Gate, Check Changeset and PR-body guards; the other UI lanes skipped by the selector. PR mergeable_state clean. dispatch-gates warned STALE TREE: the head is 48 commits behind origin/main, and 6 scripts/pm gate files changed across that range. test:repo was not run locally; it belongs to CI.",
      "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
      "line_budget": "n/a: no skills/** path touched",
      "files_changed": [
        ".changeset/35609-reregister-extension-withdraw.md",
        "packages/cloud-connection/src/marketplace-install-local-reregister-extension-withdraw-35609.test.ts",
        "packages/objectql/src/registry-items.ts",
        "packages/objectql/src/registry-packages.ts",
        "packages/objectql/src/registry-platform-global.ts",
        "packages/objectql/src/registry.ts",
        "packages/objectql/src/reregister-extension-withdraw-35609.test.ts"
      ],
      "deviations": [
        "No commit this round. The PR's seven files are all seat 4's, and the head declared final is 555ef3e2c7.",
        "The full createStandaloneStack reload probe is NOT MEASURED: the shared verify lock never granted (about 80 minutes, holder pid 5424). No CI job runs it.",
        "File surface: the claim names registry-object-registration.ts and registry.ts plus their tests. The diff instead touches registry-items.ts, registry-packages.ts, registry-platform-global.ts, registry.ts and a cloud-connection test, and does not touch registry-object-registration.ts. Seat 4 wrote this diff. This round did not grow it. The claim's file surface needs amending to match, by the seat.",
        "origin/main was not merged into the branch (AGENTS.md section 10: no conflict, no main-caused red, no queue removal). #36236 landed (d33bf5a2) after this head's CI ran on the merge with 99fbaa6d, so the joint tree is first tested in the merge queue. The PR body says so.",
        "Shared-box observation: retaking os-verify-lock with the same OS_VERIFY_LOCK_SLOT after an exit 99 did not keep the call's arrival place. It went from queue position 1 back to 3, behind newer arrivals. Seat 4 reported the same thing. Not investigated."
      ],
      "mcp_calls": "0",
      "api_writes": "2: fleet-write relay issue_patch on #36325 (PATCH /repos/objectstack-ai/objectstack/issues/36325, run 45006422409 success, read-back 13590 bytes identical); post-stamped os-dev-report comment on #35609 (POST /repos/objectstack-ai/objectstack/issues/35609/comments). No git push.",
      "writes": "relay 2 (issue_patch PR body #36325; os-dev-report comment #35609); git push 0",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: seat 4's four notes stand (owned objects kept until restart; refreshReloadedPackages docblock drift; withdrawal not asked the record-currency follow door, carried by #36328; lock slot re-entry)."
      ],
      "l2_owed": "none: the diff touches no governed surface (no .claude/**, docs/adr/**, skills/**, AGENTS.md)"
    }
  13. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

    Claim: PM loop round 3 (handover from repo:objectstack#4; amended: file surface to the measured diff of PR #36325)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35609-reregister-extension-withdraw
    Worktree: objectstack-issue-35609
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: f7-seat (seat 7's partition is being set with the maintainer; until it is, the seat claims card by card)
    File surface: packages/objectql/src/registry.ts, registry-items.ts, registry-packages.ts, registry-platform-global.ts (package registration / withdrawal of a dropped object extension), packages/objectql/src/reregister-extension-withdraw-35609.test.ts, packages/cloud-connection/src/marketplace-install-local-reregister-extension-withdraw-35609.test.ts, one changeset; registry-object-registration.ts is not touched; read: os dev reload, the upgrade path and install-local re-install
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: high (seat order)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectql's registry (objectstack) replaces a package's extension only for a target the new registration names | none — nothing withdraws a target the new manifest drops | builders reloading, upgrading or re-installing a package that removes an objectExtensions entry; measured on the bare registrar only, real paths to be measured first (the card's "Measure first")
    Thread-read: 7075493238
    Premise: holds (seat 4's dev report and stop point on the handover sheet 7075457123; the dev re-measures at the resume head)
    Serial constraints cleared: none beyond the card's own draft PR #36325, which this claim continues.
    Pre-claim lane: repo:objectstack seat 7 takes seat 4's handover by the maintainer's choice on the seat thread (「全接,p1先做」, 2026-11-22T06:53Z); the release names seat 7.
    Pre-claim deps: none open (read on the card at the release).
    Prior rulings read: node scripts/pm/check-prior-rulings.mjs --card 35609 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
    Resume-from: claude/issue-35609-reregister-extension-withdraw@555ef3e2c7c32127acdc5145ce01d78e87c96cd6

  14. added a commit that references this issue on Nov 22, 2026
  15. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 35609,
      "status": "done",
      "branch": "claude/issue-35609-reregister-extension-withdraw",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36325",
      "head_sha": "368b000bed24b936e4d4a5610da4f3a637c2d6e7",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Merge-queue red at 555ef3e2c7 (run 45007098161, job 137160994478): check-facade-delegation-only self-test N6 failed because registry.ts was at 6441 lines, over its facade line ceiling of 6426. Main had grown it to 6409 and this PR added 32 lines. The branch started at remote head 555ef3e2c7. I merged origin/main 4e55e4eb72 as 53d2506ddb (a merge; no rebase, no force-push). Then 368b000bed applied the rule's own fix, 'a file in facade form does not grow': the detailed #35609 prose moved from the facade docblocks to the facet docblock on ItemsFacet.replacingPackageBody (registry-items.ts). The facade keeps a short contract paragraph. registry.ts is now 6421 lines, 5 under the ceiling. The ceiling row is untouched and the check is not weakened. The commit is comment-only: removeComments transpiles are byte-identical, and a control leg differs. The PR body's Verification is patched, and the PR is otherwise as it was, for the seat to re-land.",
      "tests": "Fix commit 368b000bed proven comment-only. I transpiled both versions with removeComments and compared them with cmp. registry.ts: cmp exit 0, sha256 prefix b87e53ad1efa on both sides. registry-items.ts: cmp exit 0, afb1b850be15 on both sides. Control leg (one injected token): cmp exit 1. Under the lock, pnpm --filter '@objectstack/objectql...' build: VERDICT command-exit 0 (held 156s). NOT MEASURED locally: the pnpm --filter @objectstack/objectql test and typecheck at merged head 368b000bed. Reason: shared verify lock; three tries ended in VERDICT queue-timeout (exit 99, 540s each) behind holder pid 13599, a dogfood battery that had held the lock more than 39 minutes. This is a declared narrowing: the fix compiles to identical JS, and CI's Test Core and Type Check lanes run both on the merge. The prior head 555ef3e2c7 had objectql 627/627 files and 14240/14240 tests green.",
      "gates": "pnpm check:facade-delegation-only: exit 0. It prints 'N6 the committed registry is well-formed against this checkout' and 'registry.ts: 6421 lines, ceiling 6426 (5 left; ruling 6897467376)'. Before the fix, the self-test exited 1 on the N6 line 'is 6441 lines, over its line ceiling of 6426 by 15'. node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 368b000bed derived 73 commands. Each exit code was captured before any pipe: 71 exit 0, and check:dual-build-cjs-loads and check:type-check-debt exit 3 (PREREQUISITE NOT MET, no full dist/), NOT MEASURED locally and carried by CI's Build Core and debt-ledger lanes. --ran with exit codes: '73 derived famil(ies) accounted for, 71 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3)'. The derivation tree was 7 commits behind origin/main ff60149900. None of this PR's files moved there, so I did not merge again. overlap-check --branch: VERDICT clean exit 0. CI at 368b000bed when this was written: 43 check-runs, 25 completed, 19 in_progress, 0 failure (in_progress).",
      "dogfood_battery": "n/a: no '!' in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2: relay issue_patch on PR #36325 body (fleet-write run 45019310391, read-back 16355 bytes identical); post-stamped comment on #35609 (this report). Plus one git push (not REST).",
      "files_changed": [
        "packages/objectql/src/registry.ts",
        "packages/objectql/src/registry-items.ts"
      ],
      "deviations": [
        "Merged origin/main once, as ordered. I did not merge the newer ff60149900: no file this PR edits moved there.",
        "Declared narrowing: the objectql test and typecheck at the merged head were not run locally (verify lock); the fix is proven comment-only, and CI carries both.",
        "Created the worktree on the existing local branch ref, which already pointed at 555ef3e2c7, the expected remote head."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · registry.ts now has 5 lines of headroom under its facade ceiling (6426). The next PR that adds facade lines will hit the same N6 red. Noted, not filed."
      ]
    }

    Generated by Claude Code

  16. added a commit that references this issue on Nov 23, 2026
    50d6da8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:packagedomain:serverpm:dispatchedpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions