Skip to content

objectql: a composed artifact's residual top-level objectExtensions entry is registered by no door, and a residual job is judged by no duplicate door #35711

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-sales · session_01L6bhgVLY5efsfaT3UG2zwH

What happens

Another silent-drop path in the same family as #35228 (two objectExtensions entries for one target in one package keep only the last).

When a composed artifact carries packages[], a top-level objectExtensions entry that no package body claims (the residual package, for example a manifest-less input under composeStacks(..., { manifest: 'preserve' })) is registered by no door at boot. composeStacks and defineStack accept it, and the extended fields are absent on the resolved target object. The author is told nothing.

  • unclaimedTopLevel lists no object_extension, because an extension has no name slot.
  • RESIDUAL_TYPES_WITH_OWN_PATH in packages/objectql/src/plugin.ts excludes it, and no other path registers it.

Consequence for PR #35699 (#35228 + #35608): the residual door's refusal of two such entries reuses the #22934 sentence ("only the last entry's fields register"), while at that door none register. The refusal stands; its sentence overstates what registers there.

Second gap, same door family: jobs is never residual in the mirror (TOP_LEVEL_COLLECTIONS_NEVER_RESIDUAL), so in an artifact that carries packages[], two manifest-less inputs declaring one job name are judged by no duplicate door.

Measured

Scratch probe on c5b827e5 (PR #35699 head; not committed, not driven through os serve): composeStacks with manifest 'preserve', two manifest inputs and one manifest-less input carrying one objectExtensions entry, registered through the objectql manifest service: composed packages 2, top-level objectExtensions 1, the extension's field absent on the resolved target. The jobs gap is read from code, not driven.

Sources: dev report 7027513812 (out_of_scope_findings) and contract review record 7027587340 (N4, N5) on #35228.

Measure first (before any fix)

  1. Drive the probe through a real boot (os serve / os dev on a composed project with a manifest-less input under 'preserve') and record whether the extension's fields are served and whether anything is logged.
  2. Record which producers can emit a residual objectExtensions entry beside packages[] (composeStacks strategies, os build output, hand-built artifacts).
  3. For jobs, drive two manifest-less inputs declaring one job name under 'preserve' and record which job runs.

If no real producer reaches either state, record that and close as not reachable.

Expected

A residual objectExtensions entry either registers under the residual package or is refused where it is written; it is never accepted and then dropped. A residual duplicate job is judged like every other #22934 collection. Once the residual extension path is settled, the residual door's refusal sentence names what actually registers.


Generated by Claude Code

Activity

  1. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:queue; rationale: area:package · Bug · Severe·data wrong (a composed artifact's residual top-level objectExtensions entry is registered by no door, so its fields are silently dropped) · builders composing packages, rare → p2, the grade of its siblings #35228 and #35608.

  2. added
    domain:server
    pm:queue
    priority:p2
    on Nov 20, 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 composed artifact's residual top-level objectExtensions entry is registered by nothing, so its fields are dropped without a word. 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:31Z
    Session: session_01FEkQ5miLqNucRZevceHwNh
    Account: os-project-manager
    Branch: claude/issue-35711-residual-extension-jobs
    Worktree: objectstack-issue-35711
    Domain: domain:server
    Seat: repo:objectstack#4
    Area: a4-C
    File surface: packages/objectql/src/plugin.ts (residual registration, RESIDUAL_TYPES_WITH_OWN_PATH), packages/spec/src/stack.zod.ts (unclaimedTopLevel, TOP_LEVEL_COLLECTIONS_NEVER_RESIDUAL, the residual door's #22934 sentence), their tests, one changeset; read: composeStacks strategies and os build output
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; a packages/spec/** hunk owes the seat's contract-review-tier review), effort: high (seat order)
    Clause-②: no — measure first. A fix that refuses a residual extension or a residual duplicate job that composes today is a narrowing, declared as such in the PR, and the maintainer lands it; a fix that registers the residual extension states that judgement in the body
    Metadata-protocol: none (the dev re-judges from the diff)
    Responsibility: objectql's residual registration and spec's residual mirror (objectstack) | the per-package doors of #35228 / #35608 (PR #35699) judge entries a package body claims, not the residual | builders composing a manifest-less input under composeStacks(..., { manifest: 'preserve' }); reach to be measured through a real boot (the card's "Measure first")
    Pre-claim lane: domain:server card; paths packages/objectql/src/plugin.ts and packages/spec/src/stack.zod.ts; held in a4-C by the seat's routing (area-lease 留道 for the spec path)
    Pre-claim deps: none named; #35699 merged; open-PR scan (49 open): draft #36236 (another thread, #35901 extension placement) edits stack.zod.ts at ~L4627 / L6019 and draft #36134 (security, membership doors) at ~L1085; this card's seams are ~L390-435 and plugin.ts ~L217-255 — the dev runs overlap-check before each push and queues behind the named PR on a textual conflict
    Prior rulings read: check-prior-rulings --card 35711 over both files (97 hit lines, owed line by line to the dev); card refs at state: #35228 / #35608 / #22934 closed, #35699 merged; same-day churn 8df7bf2 (#35923 relatedLists, merged) on stack.zod.ts — work from current main
    Thread-read: 7070246470
    Premise: to be measured (the card is measure-first; it may close as not reachable)
    Serial constraints cleared: #36236, #36134 (same file, other hunks; 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": 35711,
      "status": "done",
      "branch": "claude/issue-35711-residual-extension-jobs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36338",
      "session": "session_01FEkQ5miLqNucRZevceHwNh",
      "premise_still_valid": true,
      "summary": "Last pushed sha 23c829554d. State: fix complete; what is unverified is the full dogfood battery (stopped unfinished at the handover call) and the metadata/objectql typecheck. Measure-first on main c30ce97cd7 through real os serve: a composeStacks preserve artifact whose manifest-less input extends probe_account with residual_note served the object without the field (GET /meta lists no residual_note, POST /data answers 400 INVALID_FIELD), with nothing logged; os build emits the entry at the top level (exit 0, 1 Extensions); only preserve yields packages[] beside a residual. Two manifest-less inputs with one job name composed, and the boot logged NOT SCHEDULED at error with neither armed. RESIDUAL_TYPES_WITH_OWN_PATH listed object_extension, but no path of its own existed. Fixed by REGISTER, because ADR-0130 D4 already registers every residual item under manifest.id: unclaimedTopLevel (metadata) lists a top-level extension no body carries an equal-by-value entry of; the objectql manifest service registers it as an extend contribution under that id. A pair sharing the owner body's slot logs one error line with the last fields served; a field naming a picklist no body declares is not registered and is named at warn. The composition door mirrors the rule: equal-by-value claim, the owner body's same-target entries judged with the residual's, and jobs judged by name. The jobs #22934 sentence now says none runs. This is a narrowing: Clause-②: no (narrowing).",
      "tests": "At 5a41a05ee7: spec 870/870 files, 27886 tests passed; metadata 82/82, 2638 passed; objectql 627/627, 14237 passed. New pins: spec stack-residual-extension-jobs.test.ts, metadata unclaimed-top-level-residual-extension.test.ts, objectql manifest-service-residual-object-extension.test.ts. Ablation via ablation-replace.mjs, each fix committed first: A metadata listing turns red 1/3, B objectql registration red 3/4, C spec jobs judged by slot red 1/9, D owner pairing red 1/9; every restore proved blob == HEAD and git diff HEAD empty. Real os serve after the fix: residual_note listed and writable. Typecheck at 5a41a05ee7 found spec TS2339 (composed.manifest is {}); fixed in 23c829554d, and tsc --noEmit on spec then exits 0 (run unlocked, see gates). NOT MEASURED: metadata/objectql typecheck and spec check:scripts-typecheck/check:test-typecheck, which the failed run never reached.",
      "gates": "dispatch-gates --commands: 100 families; --ran reconciliation 98 run (exit 0), 2 NOT MEASURED, both exit 3 on a missing prerequisite: check:dual-build-cjs-loads (needs every package's dist) and check:type-check-debt (lock not acquired). Five spec dist gates (api-surface, browser-reachable-entries, dual-source-exports, entry-nameability, exported-any) re-run after the spec rebuild on 5a41a05ee7, exit 0. check:test-source-alias first exit 1 (new metadata pin lacked a module-top metadata-fs import); fixed, exit 0. Ratchet and AST families re-run after the last source change, exit 0 each: startup-registry-verdict, durability-log-level, registry-log-declared, logger-receiver-detach, cross-package-test-inputs, issue-citations, doc-authoring, undeclared-dep-imports, type-check-coverage, spec-docblock-symbol-anchors, adr-symbol-anchors. check:nul-bytes exit 0. overlap-check clean before every later push; the first WIP pushes predated it, and at one point it reported a conflict with #36236 in engine-registration.ts, removed by keeping registerApp's literal untouched. PR check-runs: in_progress, none read.",
      "dogfood_battery": "NOT MEASURED, reason: the full battery (dogfood closure build exit 0, then pnpm --filter @objectstack/dogfood test under the lock, tree 23c829554d) was running when the maintainer's handover call came; it was stopped unfinished, with no Test Files line.",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST pulls plus assignees leg, run 44993861919) → #36338; post-stamped issue comment on #35711 (this report)",
      "open_questions": [
        { "question": "Draft #36236 adds place to registerApp's extension literal; the residual builder objectExtensionContribution repeats that literal. Who unifies them?", "options": ["A: #36236 adds place to objectExtensionContribution and makes step 2b call it", "B: a follow-up after both land unifies them"], "recommendation": "A, because the PR that adds the key is the one that knows it, and the parity pin only covers the keys it carries" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: #36236 · a residual extension will not carry place until the two extension literals are unified · noted in PR acceptance notes, not filed"]
    }
    
  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:43Z

    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-35711-residual-extension-jobs@23c829554dcf4edccf979c3a8c7552cf9842be4b

  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-35711-residual-extension-jobs
    Worktree: objectstack-issue-35711
    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/plugin.ts (residual registration, RESIDUAL_TYPES_WITH_OWN_PATH), packages/spec/src/stack.zod.ts (unclaimedTopLevel, TOP_LEVEL_COLLECTIONS_NEVER_RESIDUAL, the residual door's #22934 sentence), their tests, one changeset; read: composeStacks strategies and os build output
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; a packages/spec/** hunk owes the seat's contract-review-tier review), effort: high (seat order)
    Clause-②: no — measure first. A fix that refuses a residual extension or a residual duplicate job that composes today is a narrowing, declared as such in the PR, and the maintainer lands it; a fix that registers the residual extension states that judgement in the body
    Metadata-protocol: none (the dev re-judges from the diff)
    Responsibility: objectql's residual registration and spec's residual mirror (objectstack) | the per-package doors of #35228 / #35608 (PR #35699) judge entries a package body claims, not the residual | builders composing a manifest-less input under composeStacks(..., { manifest: 'preserve' }); reach to be measured through a real boot (the card's "Measure first")
    Thread-read: 7075499920
    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 #36338, 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 35711 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
    Resume-from: claude/issue-35711-residual-extension-jobs@23c829554dcf4edccf979c3a8c7552cf9842be4b

  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": 35711,
      "status": "done",
      "branch": "claude/issue-35711-residual-extension-jobs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36338",
      "head_sha": "f4e83b06c2d6e64daa0cb8e7cfb44ae4340c4f6d",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Resumed seat 4's branch at 23c829554d (remote head unchanged). Merged origin/main d8599c2ca2 because two files this PR edits had moved: #36236 (merged) added place to registerApp step 2b's extension literal, so after the merge the residual builder would have registered a residual entry without its placement. I made the two one call: objectExtensionContribution is now the only reading of an objectExtensions entry, it carries place, and step 2b builds through it. Then a type cast at step 2b (TS2345). The parity pin gains a placed-entry case. The battery and the typechecks are now measured, the derived gates were re-run, and the final head is f4e83b06c2. Clause-② reading confirmed: the diff refuses at composition two shapes that compose today (two residual jobs with one name; a residual extension sharing the slot of the body that carries the artifact id), so it is a narrowing. The declaration stays `Clause-②: no (narrowing)` with `Metadata-protocol: narrowed`, the maintainer lands it, and the REGISTER judgement is stated in the body.",
      "tests": "At f4e83b06c2: objectql full suite (vitest --project local --maxWorkers=2) Test Files 628 passed (628), Tests 14272 passed. metadata full suite 82/82 files, 2638 passed. Pins: spec stack-residual-extension-jobs 9 passed, metadata unclaimed-top-level-residual-extension 3 passed, objectql manifest-service-residual-object-extension 6 passed. Typecheck: spec exit 0 (tsc + check:scripts-typecheck + check:test-typecheck OK), metadata exit 0, objectql exit 0 (check:test-typecheck OK). The first objectql run after the unification was TS2345 at step 2b and was fixed in f4e83b06c2. The spec full suite was not re-run: it last ran 870/870 at seat 4's 5a41a05ee7, and since then spec has changed only by the main merge plus a type cast. Ablation E via ablation-replace.mjs, with the fix committed first: `place: ext.place` replaced by `place: undefined` in objectExtensionContribution turned the objectql pin red (1 failed of 6, the placement anti-vacuity). The restore was proven blob == HEAD (cbc7b4d3e6) with git diff HEAD empty. The pin resolves engine-registration from src (relative import), so no dist rebuild was needed. The build, the suites and the typechecks ran OUTSIDE the verify lock (a declared narrowing): the lock was held about 100 minutes by two sibling dogfood batteries, and my queue did not advance for about 60 minutes. Only the battery ran under the lock.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at f4e83b06c2: 100 families. --ran with recorded exit codes: 98 run, 2 NOT MEASURED derived from exit 3 (PREREQUISITE NOT MET): check:dual-build-cjs-loads (needs every package's dist) and check:type-check-debt (its closure build waits on the verify lock and timed out). `pnpm --filter @objectstack/cli exec vitest run test/migrate-meta-engine-guidance.test.ts` first exited 1 on MODULE_NOT_FOUND (@objectstack/mcp dist not built), which is a prerequisite and not a red; after the battery's closure build it ran 3 passed, exit 0. Every other family exited 0. check:nul-bytes exit 0. overlap-check VERDICT clean exit 0 before both pushes (against origin/main and #36134). PR check-runs at f4e83b06c2: all completed. Lint & Repo Gates, TypeScript Type Check, Test Core (10/10 shards), Build Core, Governed Surface Queue Guard, Type Check UI, Test UI (16/16), Build & E2E UI, Live E2E UI and Dogfood Regression Gate were success. Lint UI was skipped by its path filter. Check Changeset, PR-body guards and Spec property liveness were success.",
      "dogfood_battery": "f4e83b06c2 · os-verify-lock: VERDICT command-exit 0 · held the lock 2957s · closure build exit 0, then pnpm --filter @objectstack/dogfood test · Test Files 484 passed | 3 skipped (487) · Tests 4107 passed | 68 skipped (4175) · no failures",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay issue_patch on #36338 (PR body, run 45013526996; read-back identical, 13159 bytes); post-stamped issue comment on #35711 (this report). Two git pushes (not REST).",
      "writes": "2 relay writes (issue_patch PR body, post-stamped report comment); 2 git pushes",
      "files_changed": [
        ".changeset/35711-residual-extension-and-jobs.md",
        "packages/metadata/src/plugin.ts",
        "packages/metadata/src/unclaimed-top-level-residual-extension.test.ts",
        "packages/objectql/src/engine-registration.ts",
        "packages/objectql/src/manifest-service-residual-object-extension.test.ts",
        "packages/objectql/src/plugin.ts",
        "packages/spec/src/migrations/entries/semantic/18.stack-residual-extension-registered-and-jobs-judged.ts",
        "packages/spec/src/stack-residual-extension-jobs.test.ts",
        "packages/spec/src/stack.zod.ts"
      ],
      "line_budget": "n/a, no skills/** in the diff; PR size 862 additions + 43 deletions against main (under 3000)",
      "deviations": [
        "The dispatch order says to declare `Clause-②: no` and `Metadata-protocol: none` (as claimed). The PR body and changeset keep `Clause-②: no (narrowing)` and `Metadata-protocol: narrowed`: the claim's own conditional names a refusal of what composes today as a narrowing, and the diff refuses two such shapes. Metadata-protocol was re-judged from the diff, as the claim says.",
        "The file surface goes past the claim. The claim names objectql plugin.ts, spec stack.zod.ts, their tests and one changeset. The diff also carries packages/metadata/src/plugin.ts (unclaimedTopLevel, seat 4), packages/objectql/src/engine-registration.ts (seat 4, extended by me) and the ADR-0087 semantic migration entry (seat 4). I added no new file. My edit, unifying the two extension literals, stays in engine-registration.ts, which was already in the diff, and it is required for the merged head to stay correct.",
        "Merged origin/main (d8599c2ca2) into the branch because engine-registration.ts and stack.zod.ts had moved on main (#36236).",
        "The objectql closure build, the objectql and metadata suites, the three pins and the three typechecks ran outside the verify lock (a declared narrowing, after about 60 minutes of queue with no progress behind two sibling dogfood batteries). The dogfood battery ran under the lock."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [],
      "review_owed": "L1 (seat) at f4e83b06c2. L2 contract review is owed for the packages/spec/** hunks (stack.zod.ts residual door, the jobs #22934 row wording, the semantic migration entry). The maintainer lands it because it is a narrowing. No .claude/** or other governed path is in the diff, so no Rule-change line."
    }
    
  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 at the dev's final head: the file surface adds the metadata and engine-registration seams and one semantic migration entry, and the Clause-② and Metadata-protocol lines carry the measured verdict)
    Session: session_01QsR2jTeURPvEm465RcoYEC
    Account: zhuangjianguo
    Branch: claude/issue-35711-residual-extension-jobs
    Worktree: objectstack-issue-35711
    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/plugin.ts (residual registration, RESIDUAL_TYPES_WITH_OWN_PATH), packages/spec/src/stack.zod.ts (unclaimedTopLevel, TOP_LEVEL_COLLECTIONS_NEVER_RESIDUAL, the residual door's #22934 sentence), packages/metadata/src/plugin.ts (the residual extension's metadata registration), packages/objectql/src/engine-registration.ts (the engine-side registration of the residual object extension), packages/spec/src/migrations/entries/semantic/18.stack-residual-extension-registered-and-jobs-judged.ts (the narrowing's semantic migration entry), their tests, one changeset; read: composeStacks strategies and os build output
    Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: no path-derived mandate; a packages/spec/** hunk owes the seat's contract-review-tier review), effort: high (seat order)
    Clause-②: no (narrowing) — composition now refuses two shapes that compose today: two residual jobs of one name, and a residual extension that shares the slot of the body carrying the artifact id; registering the residual extension changes no accepted shape, and the maintainer lands it
    Metadata-protocol: narrowed
    Responsibility: objectql's residual registration and spec's residual mirror (objectstack) | the per-package doors of #35228 / #35608 (PR #35699) judge entries a package body claims, not the residual | builders composing a manifest-less input under composeStacks(..., { manifest: 'preserve' }); reach to be measured through a real boot (the card's "Measure first")
    Thread-read: 7075499920
    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 #36338, 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 35711 exit 0 at 1cd47628; no ruling comment on the card; seat 4's claim readings stand.
    Resume-from: claude/issue-35711-residual-extension-jobs@f4e83b06c2d6e64daa0cb8e7cfb44ae4340c4f6d

  14. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

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

    {
      "issue": 35711,
      "status": "done",
      "branch": "claude/issue-35711-residual-extension-jobs",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36338",
      "head_sha": "058d5c28159de07a922922e89eee395e9e3dfbd3",
      "session": "session_01QsR2jTeURPvEm465RcoYEC",
      "premise_still_valid": true,
      "summary": "Review round on f4e83b06c2 (L2 PASS with S1 and S2, L1-d ACCEPT). New head 058d5c2815. S1: migration entry 18 (surface, replacement and reason), the changeset and the PR body now name all three refused shapes. They add two residual extensions of one object even when another body extends it, and the reach under 'first', 'last' or an index once a multi-package input carries packages[]. The 'preserve'-only producer claim in the PR body is corrected, and the maintainer summary says three shapes. S2: no further narrowing. The residual job that shares a name with a package body's job is stated as a known gap in residualEntryPredicate's docblock and in the migration entry's note, citing #36431, and it is listed in the PR open items. N3: the jobs row now ends 'so when both are enabled neither runs'. N4: the changeset's installed-artifacts bullet now says an extend-door refusal fails a boot that used to load. Two spec pins cover shapes 3 and the first/last reach. The PR body's summary item 4 now says the seat lands it once the battery is pinned to the head, and the reading that the maintainer lands it is dropped. Open items name #36431 and #36432 (residual picklist refusal, N1, N5) and N2, which neither card carries. Clause-② no (narrowing) and Metadata-protocol narrowed are kept.",
      "tests": "At 058d5c2815: spec stack-residual-extension-jobs.test.ts 13 passed (9 before plus 4 new: shape 3, first and last via it.each, and a packages[] CONTROL). spec typecheck exit 0 (tsc + check:scripts-typecheck + check:test-typecheck OK), run at 8f58c380f0; 058d5c2815 adds comments only. objectql (628/628 files, 14272 tests) and metadata (82/82, 2638) are unchanged since f4e83b06c2, where they ran. No ablation this round: the diff adds no behaviour; the N3 wording is pinned exactly in the spec pin. The spec closure build and the typecheck ran outside the verify lock (declared); the battery ran under it.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 058d5c2815: 100 families. --ran with recorded exit codes gives 100 run, 0 NOT MEASURED (a derived zero). Seven gates first exited on a prerequisite: five spec dist gates (dist predated the comment commit), check:dual-build-cjs-loads, and the cli migrate-meta test (MODULE_NOT_FOUND). After the full closure build each re-ran with exit 0. check:type-check-debt exit 0. check:nul-bytes exit 0. overlap-check VERDICT clean exit 0 before both pushes. PR check-runs at 058d5c2815, all completed: Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Dogfood Regression Gate and Check Changeset success; Lint UI skipped (no ui/ path).",
      "dogfood_battery": "058d5c2815 · os-verify-lock: VERDICT command-exit 0 · held the lock 2790s · closure build exit 0, then pnpm --filter @objectstack/dogfood test · Test Files 484 passed | 3 skipped (487) · Tests 4107 passed | 68 skipped (4175) · no failures",
      "mcp_calls": "0",
      "api_writes": "2 this round: fleet-write relay issue_patch on #36338 (PR body, run 45025805968, read-back identical, 16266 bytes); post-stamped comment on #35711 (this report). Previous round: 2 more (issue_patch run 45013526996, report comment 7077952145). Git pushes: 2 this round.",
      "writes": "2 relay writes this round (issue_patch PR body, post-stamped report comment); 2 git pushes",
      "files_changed": [
        ".changeset/35711-residual-extension-and-jobs.md",
        "packages/metadata/src/plugin.ts",
        "packages/metadata/src/unclaimed-top-level-residual-extension.test.ts",
        "packages/objectql/src/engine-registration.ts",
        "packages/objectql/src/manifest-service-residual-object-extension.test.ts",
        "packages/objectql/src/plugin.ts",
        "packages/spec/src/migrations/entries/semantic/18.stack-residual-extension-registered-and-jobs-judged.ts",
        "packages/spec/src/stack-residual-extension-jobs.test.ts",
        "packages/spec/src/stack.zod.ts"
      ],
      "line_budget": "n/a, no skills/** in the diff",
      "deviations": [
        "The spec closure build, the derived gates and the spec typecheck ran outside the verify lock (declared narrowing; the lock queue was behind sibling dogfood batteries for over an hour). The dogfood battery ran under the lock at 058d5c2815.",
        "Card numbers #36431 sit only in code comments (the stack.zod.ts docblock and the migration file's header comment). The shipped migration strings (surface, replacement, reason) carry no tracker number, per check:doc-authoring.",
        "The file surface is unchanged from the previous round. It is still wider than the claim (five source files against the two the area lease names), as the contract review recorded."
      ],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #36431 · residual job sharing a name with a body's job composes and is left unscheduled · noted in jsdoc, migration note and PR open items",
        "carrier: #36432 · residual picklist named only by a residual extension refused as unreferenced; picklist-references.ts stale message (N1); sameAuthoredValue copy (N5) · PR open items",
        "carrier: none · N2 logResidualSameTargetExtensions double error line for an owner-body pair · noted in PR open items, not filed"
      ],
      "review_owed": "L1 and L2 re-read at 058d5c2815 if the seat wants them; the landing is the seat's, with --land, the battery now pinned to 058d5c2815."
    }
    
  15. added a commit that references this issue on Nov 23, 2026
    cedc094
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