You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
Seam: spec:objectExtensions → runtime:planPackageUpgrade / comparePackageVersions side folding
Filing gate: ① observed. Found in the cloud seat's local HotCRM 6.2.0 → 6.4.0 upgrade test (2026-11-15, cloud 2a08986, objectstack 18.5.0 b914e7247f69), ordered by the maintainer.
Defect
GET /api/v1/cloud/packages/:id/upgrade-plan for 6.2.0 → 6.4.0 returned plan.fields.added: [] and environment.columns: []. The upgrade then added 7 columns: crm_account invoiced_amount, received_amount, receivable_balance and crm_contract planned_amount, invoiced_amount, received_amount, receivable_balance. All 7 come from the o2c module's objectExtensions. The rollback preview (6.4.0 → 6.2.0) returned fields.removed: [] while those columns held values.
Cause: both sides of the comparison fold only a package's objects and data. The platform side is packages/objectql/src/package-upgrade-environment.ts (around line 206); the cloud side is packages/service-cloud/src/package-upgrade-check.tsupgradeSideOf. So a field an extension adds, retypes or drops is invisible to the preview and to the schema-upgrade verdict. Inferred from the code, not exercised: a future version that retypes or drops an extension field would pass without SCHEMA_UPGRADE_CONFIRMATION_REQUIRED.
What done looks like
The upgrade side fold includes objectExtensions (fields merged onto their target objects), so the plan, the column diff and the confirmation verdict count extension fields like owned ones.
Pin tests: an extension field added (listed in fields.added), retyped and dropped (each requires confirmation).
The cloud half (upgradeSideOf) follows the same fold, or reads the platform's. The cloud seat files or takes that half once the platform shape is settled.
Triage: first touch → domain:server · p2 · 2026-11-15T18:48Z
⛔ Not a claim.
The package upgrade plan (/cloud/packages/:id/upgrade-plan) does not fold fields that objectExtensions add or remove. The HotCRM 6.2.0 → 6.4.0 preview showed fields.added: [] while 7 columns were added. The admin approves an upgrade whose preview hides its schema changes, so p2.
Ruling: grade p1 · maintainer 「按价值挑五张升 p1」 (the option he chose on the decision card) · recorded 2026-11-16T13:39Z
Recorded by the project's decision thread. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T13:34:26Z. Decision thread cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, card cmsg_01TenzsRopZj4jMbvjX8uz1XUxdm8VeU5D1w4Lp1c7zvNe, choice record cmsg_01TenzsRopZj4jMbvjX8uz1XWytyBwbs22Nf9pBEDQt9fK.
Thread-read: 6899454419 (the triage first touch, the only comment). Labels at the read: priority:p2, pm:queue, domain:server, unassigned.
The question he was asked
His intake rule of 2026-11-16 for the repo:objectstack#1 seat is 「除了前任的任务继续处理,后续只认领 p1 或者阻塞 p1 的任务」. A survey of the other open p1 and p2 cards found five p2 cards that a customer or a measured environment has run into, with no open upstream block. Their grade is the only thing that keeps the seat from claiming them. Which of them rise to p1?
#34228, #34332, #34095, #34038 and #33824 are raised to p1 and may be claimed. They are taken after the p1 work already in hand, not ahead of it.
Why this card was one of the five, as told to him: The upgrade plan an administrator reads before an upgrade showed no added fields, and the upgrade then added seven columns (HotCRM 6.2.0 to 6.4.0, measured on 2026-11-15). A preview that misses changes cannot be trusted as a preview.
The p2 on this card is triage's first-touch grade. This is his own later word on the card and sets the grade.
State
This record changes no label. The grade write (priority:p2 to priority:p1) is for the seat that takes the ruling, with this record as its Ruling-ref.
Size was estimated from the card face only and was not measured.
Claim: PM loop · area o1-E · seat-handed p1 · 2026-11-16T13:50Z
Session: session_01FEkQ5pNoRjsgMJKr5utN33
Account: os-project-manager
Branch: claude/issue-34095-upgrade-plan-extensions
Worktree: objectstack-issue-34095
Domain: domain:server
Seat: repo:objectstack#1
Ruling-ref: 6918052417 (grade p1, maintainer 「按价值挑五张升 p1」; taken after the p1 work already in hand)
File surface: the platform upgrade-side fold and plan: packages/objectql/src/package-upgrade-environment.ts (around the objects/data fold), packages/metadata-core/src/package-upgrade-plan.ts and package-upgrade-verdict.ts if the fold belongs there, and the callers in packages/cloud-connection/src/** and packages/cli/src/** only where they fold a side themselves; new test files named for this card; .changeset/** (stop on breach; explain in the report)
Container & model: M, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: high
Clause-②: no (narrowing)
Metadata-protocol: none
Responsibility: objectstack platform half (both upgrade sides fold a package's objects and data only, so fields an objectExtensions entry adds, retypes or drops are missing from fields.added/removed, the column diff and the confirmation verdict) plus a cloud half in the cloud repo (service-cloud upgradeSideOf), which the cloud seat files or takes once this platform shape lands, per the card body | none | every administrator reading an upgrade or rollback preview of a package with objectExtensions; measured on HotCRM 6.2.0 to 6.4.0 (7 columns added, preview empty)
Thread-read: 6918208447
Premise: holds (package-upgrade-environment.ts:206 on b0da5a5 folds objects and data only through resolveStackCollection; the dev reproduces red-first on main)
Serial constraints cleared: none in this area; open PR #34403 (#34336, area o1-B) touches packages/cloud-connection install-local seed doors, and #34396 (area o1-B) packages/objectql/src/registry.ts objectExtensions uninstall refusal: different files; the dev runs git merge-tree against open PRs touching its files before push
Pre-claim lane: domain:server (packages/objectql, packages/metadata-core); cloud half stays with the cloud seat (card body)
Pre-claim deps: none
Prior rulings read: card ruling 6918052417; check-prior-rulings --card 34095 → 229 keyword hits, ADR-0146 D6/D10, ADR-0106 D1, ADR-0005 §5, ADR-0019 D3, ADR-0027 §2/§6/§11 named; package-upgrade-plan.ts ⛔ 「It decides nothing. Which findings stop an install is the door's call.」 and ruling Q3 「默认拒绝,需显式映射(推荐)」 (epic cloud#3652) plus ruling record 6709061297 C3 in package-upgrade-verdict.ts bind the route; the fix counts extension fields like owned ones under those rules, it adds no new verdict category
Clause-② note: an extension field retyped or dropped now requires SCHEMA_UPGRADE_CONFIRMATION_REQUIRED where it passed before, so the upgrade door accepts less; contract-review-tier L2 owed before the queue, and the full dogfood battery at the final head
{
"issue": 34095,
"status": "rework",
"branch": "claude/issue-34095-upgrade-plan-extensions",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34419",
"session": "session_01FEkQ5pNoRjsgMJKr5utN33",
"premise_still_valid": true,
"summary": "Stopped on the seat's STOP order; final pushed head 7bf9cf500fca0a5d1d9a35207e533d576e438d2a (a merge of origin/main 898655a9 over the fix; worktree ../objectstack-issue-34095 clean, nothing uncommitted, so no WIP commit was needed). Implementation is complete: PackageUpgradeSide (metadata-core) gains an optional objectExtensions list and comparePackageVersions folds each extension's fields onto its target the registry's way (owner's declaration, extension fields spread over it by name, ascending priority with default 200, stable by listed order, target = the extend string verbatim); objects a side reaches only through extensions are compared by the extension's fields and never listed as added/removed objects. The side readers sideOf (objectql planUpgrade) and packageUpgradeSideOf (cloud-connection install-local verdict + rename planner) now read objectExtensions with resolveStackCollection; os diff prints field changes of extension-only objects. Draft PR #34419 was opened BEFORE the STOP order arrived (body read back byte-identical, draft true, no assignees/labels); it carries Fixes #34095 and the claim lines. Status rework only because the order ended the run: cloud-connection full suite and cli unit tier were never run (see tests), and the L2 contract review is owed.",
"tests": "All at head 7bf9cf50 unless noted. metadata-core full `pnpm --filter @objectstack/metadata-core test`: Test Files 27 passed, Tests 1038 passed (pre-merge head 0fbc32a8; merge brought no metadata-core change). objectql full `vitest run --maxWorkers=2`: Test Files 604 passed, Tests 13478 passed (pre-merge head; merge touched metadata-protocol/rest, not objectql). Targeted: cloud-connection src/marketplace-install-local-upgrade-plan.test.ts Tests 27 passed; cli --project unit test/diff-upgrade-plan.test.ts Tests 10 passed. Typecheck exit 0: metadata-core, objectql (+test-typecheck ledger OK), cloud-connection, cli (+test-typecheck OK, at 7bf9cf50). Red-first, each against base cfcba539 source with the fix committed, restore by `git checkout HEAD` proven by HEAD blob hash + empty status: package-upgrade-plan.ts at base -> Tests 6 failed | 18 passed (the 6 new non-control cases; CONTROL green); package-upgrade-environment.ts at base -> 3 failed | 16 passed; marketplace-install-rename-planner.ts at base -> 2 failed | 25 passed (the two 409 SCHEMA_UPGRADE_CONFIRMATION_REQUIRED cases, asserted on status + error.code); diff.ts at base -> 1 failed | 9 passed. NOT MEASURED: cloud-connection full suite and cli --project unit full tier (queued under the verify lock, killed by the STOP order before acquiring); CI Test Core 1-8/8 is green on 7bf9cf50 and covers both.",
"gates": "dispatch-gates --commands (72 families, list identical before and after the merge): 66 exit 0; check:i18n, check:i18n-coverage, check:i18n-walk-parity re-run after the cli build, exit 0 each. NOT MEASURED locally (exit 3, prerequisite): check:dual-build-cjs-loads (needs every package's dist), check-plugin-teardown-shape --self-test (shallow clone), check:type-check-debt (its closure build lost the lock queue). --ran reconciliation: 72 derived, 72 run, 0 unrun (runner-claimed). PR #34419 check-runs at 7bf9cf50: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (1-8/8 success), Build Core success, Governed Surface Queue Guard success, Dogfood Regression Gate success, Live E2E UI success, Test UI success, Check Changeset success, Type Check · debt ledger success, Lint · PM dispatch-gates success, PR-body guards success; UI lanes skipped by selector. Gate runs were not repeated after the merge commit except the i18n trio.",
"dogfood_battery": "7bf9cf50 · os-verify-lock: VERDICT command-exit 0 (held 46m21s) · Test Files 475 passed | 3 skipped (478) · Tests 4018 passed | 42 skipped (4060) · no failures. Run with `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/cli typecheck && pnpm --filter @objectstack/dogfood test`, no OS_TEST_SHARD.",
"mcp_calls": "0",
"api_writes": "3 — git push (not REST); pr_create via fleet-write relay (repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches, run 43898691140) -> PR #34419; this os-dev-report comment via post-stamped.mjs on #34095",
"open_questions": [
{ "question": "An extension that redeclares a field owned by a package outside the upgraded artifact: the comparison sees only the extension's fields for that object, so dropping the redeclaration lists the field as removed (and can pair into a suspected rename) although the owner's field is still served. Accept, or make the door read the served object?", "options": ["A accept and document: the registry already warns about redeclaring an owner's field, and the error leans toward asking a confirmation, never toward skipping one; cost none", "B give planUpgrade the served object (getObject) so an extension-only object's owner fields are known; cost: the pure comparison takes an environment reading, against the verdict's ruling that it is decided by the two bodies alone (6709061297 C3)"], "recommendation": "A, because B breaks the ruled purity of the verdict and the case is a pattern the registry already warns against" },
{ "question": "The card's done-list says a dropped extension field requires confirmation; the ruling in package-upgrade-verdict.ts says a removed field is refused by nothing, and this dispatch says count extension fields like owned ones with no new category. Implemented per the ruling (a lone drop is listed and counted, a drop beside an add is a suspected rename and needs confirmation). Confirm the card's wording is superseded?", "options": ["A ruling stands (as implemented)", "B new rule refusing a lone extension drop: a new verdict category, a needs_decision"], "recommendation": "A, the ruling binds and an owned drop is treated the same" }
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: cloud · the cloud half (service-cloud upgradeSideOf) passes objectExtensions beside objects in its side; the comparison then folds them, per the card body · noted, not filed",
"carrier: none · packages/cloud-connection/src/marketplace-install-declared-renames.ts extensionTarget reads alias keys (object, objectName, target, name, extends) besides extend: a consumer-side alias read; not exercised, noted only"
],
"deviations": "Test pins were added as top-level describes in the existing harness files (package-upgrade-plan.test.ts, package-upgrade-environment.test.ts, marketplace-install-local-upgrade-plan.test.ts, cli test/diff-upgrade-plan.test.ts) instead of new card-named files, per AGENTS.md (ruling record 6583487846: a new pin for a component with a shared harness file goes into that file); that is outside the dispatch file surface. packages/cli/test/diff-upgrade-plan.test.ts is a test of cli/src/commands/diff.ts, which was edited because os diff passes the whole stack to the comparison and would otherwise drop extension-only objects from its printout. Merge-tree: none of the 50 open PRs touches any of the 9 changed files (REST scan of each PR's files); #34403 and #34396 files untouched. L2 contract-review tier owed: the upgrade door now refuses (409) a retype of an extension field it accepted before. content/docs/deployment/cli.mdx not edited (its 'a stored field' wording stays true)."
}
Area o1-E · one note on the card's acceptance list · 2026-11-16T16:44Z
This card lists "dropped (requires confirmation)". PR #34419 does not ask for a confirmation when an extension field is dropped alone. It lists the field in the upgrade plan's removed fields and counts its rows, and nothing refuses it. This follows the existing ruling written in packages/metadata-core/src/package-upgrade-verdict.ts (ruling record 6709061297): "Removed fields, removed objects, safe type changes and seed changes are reported by a dry run and refused by nothing." An extension field counts like an owned one, so a drop needs the confirmation only where an owned drop does: beside an added field of the same object (a suspected rename), or as a retype to a type with no stored column. This is the seat's route ② (a seat decision, not a new maintainer ruling); it is written into the PR's 维护者速读.
{
"issue": 34095,
"status": "done",
"branch": "claude/issue-34095-upgrade-plan-extensions",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34419",
"session": "session_01FEkQ5pNoRjsgMJKr5utN33",
"premise_still_valid": true,
"summary": "Fix round S1 (review#2 6923010837), on new head 432c9d2cdd (one commit over 7bf9cf50: test file + changeset only; no source change). The changeset's BREAKING section and its 'Who moves' section now name four arms, each with its fix. (1) Extension field retyped: 409, confirm with the token. (2) Extension field dropped beside an added one: 409 suspected rename, confirm with the token. (3) New arm (a): a stored field dropped from an object's own declaration while an extension of the same object adds a stored field, or the reverse: 409 suspected rename. The owned and extension fields now share one field map, so they pair; fix: confirm with the token. (4) New arm (b): an extension field with renamedFrom whose new type stores no column: 422 VALIDATION_ERROR with reason destructive_type at step 2c, before any write. No token answers it; fix: keep a stored type, or carry the values by hand, as the refusal message says. The PR body's What changes, risk line, Tests, Acceptance notes and Verification were patched through the relay issue_patch. The attribution first line, the seat route bullets 1 and 2, and the signed trailer are kept. Arm (b) is pinned in marketplace-install-local-declared-rename.test.ts beside the owned destructive_type case. Nits N1-N4 not taken.",
"tests": "At head 432c9d2c, all through os-verify-lock.sh. New pin: `pnpm --filter @objectstack/cloud-connection exec vitest run --maxWorkers=2 src/marketplace-install-local-declared-rename.test.ts` gave Tests 28 passed (28). The pin asserts status 422, error.code VALIDATION_ERROR, refusals[0].reason destructive_type, and that nothing was registered, synced, carried or written to the ledger. One-off ablation via `node scripts/ablation-replace.mjs --delete` of the `objectExtensions: resolveStackCollection(artifact, 'objectExtensions'),` line in packageUpgradeSideOf (marketplace-install-rename-planner.ts). The anchor count went 1 to 0 and the blob changed 51c9a6a1 to 6597d010. Result: Tests 1 failed | 27 passed (28), and the one failure was the new case only (expected 422, received 200, i.e. it installed). Restored: blob equals HEAD 51c9a6a1 and `git diff HEAD` is empty. cloud-connection full suite `vitest run --maxWorkers=2`: Test Files 83 passed (83), Tests 1231 passed (1231). The other package suites were last run at earlier heads, and their sources are unchanged since: metadata-core 1038/1038, objectql 13478/13478, cli diff test 10/10, typecheck of all four packages exit 0.",
"gates": "dispatch-gates --commands at 432c9d2c derived 72 families, the same list as before; they were run under one os-verify-lock hold (VERDICT command-exit 0, held 28m19s). 71 exited 0, including check-plugin-teardown-shape --self-test, the i18n trio, and check:type-check-debt (run NESTED inside the hold, re-measure OK). check:dual-build-cjs-loads exited 3 (prerequisite: it needs every package's dist) and is NOT MEASURED locally; CI owns it. --ran reconciliation: 72 derived, 72 run, 0 NOT-MEASURED, 0 UNRUN. PR #34419 check-runs at 432c9d2c: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (1-8/8 success), Build Core success, Governed Surface Queue Guard success, Dogfood Regression Gate success, Live E2E UI success, Test UI success, Check Changeset success. A second Check Changeset run and a PR-body guards run were queued or in_progress after the body patch, at the time of this report.",
"dogfood_battery": "432c9d2c · os-verify-lock: VERDICT command-exit 0 (held 42m51s, waited 0s) · Test Files 475 passed | 3 skipped (478) · Tests 4018 passed | 42 skipped (4060) · no failures; `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test`, no OS_TEST_SHARD",
"mcp_calls": "0",
"api_writes": "2 REST writes this round, both through the fleet-write relay: issue_patch of PR #34419's body (relay run 43927845181; 12573 bytes sent, 12573 stored, identical on read-back); and this os-dev-report comment on #34095 via post-stamped.mjs. Not REST: git push of 432c9d2c.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "None this round. The test sits inside the existing describe ('a declared rename that cannot be carried is refused 422 ...'), next to the owned destructive_type case, as the order asked. L2: the contract review record 6923010837 named S1 as open until a delta read; the delta is the changeset and PR-body text plus one pin, with no source change."
}
{
"issue": 34095,
"status": "done",
"branch": "claude/issue-34095-upgrade-plan-extensions",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34419",
"session": "session_01FEkQ5pNoRjsgMJKr5utN33",
"premise_still_valid": true,
"summary": "Landing round. `git merge --no-edit origin/main` (15 commits, up to the main tip of this round) into the branch merged clean: no conflict, no os-regen path, nothing resolved by hand. New head 9b0824ae367aa8d525b7da230ea86077c70a96ed, pushed with no force. No source of this PR changed in the merge. Only the PR body's Verification block was re-patched (new numbers and head, through the relay issue_patch); the rest of the body is untouched.",
"tests": "All at 9b0824ae, in one os-verify-lock hold (acquired after 5m14s; each step's exit is recorded on its own line, all 0): `pnpm --filter '@objectstack/dogfood^...' build` exit 0; typecheck of metadata-core, objectql, cloud-connection and cli, each with its test layer, exit 0; metadata-core vitest Test Files 27 passed, Tests 1038 passed; objectql Test Files 604 passed, Tests 13478 passed; cloud-connection Test Files 86 passed, Tests 1258 passed; cli --project unit Test Files 424 passed, Tests 6029 passed.",
"gates": "Not re-derived after the merge. The changed paths are the same 9 as at 432c9d2c, where 72 families ran: 71 exit 0, and check:dual-build-cjs-loads exited 3 (needs every package's dist, so NOT MEASURED locally). PR #34419 check-runs at 9b0824ae: 35 success, 16 skipped, 0 failed, including Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Live E2E UI, Test UI and Check Changeset. The known main red (check:platform-checklist) did not show on this head: Lint & Repo Gates passed.",
"dogfood_battery": "9b0824ae · `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test` under os-verify-lock, exit 0 · Test Files 475 passed | 3 skipped (478) · Tests 4019 passed | 42 skipped (4061) · no failures, no OS_TEST_SHARD",
"mcp_calls": "0",
"api_writes": "2 REST writes this round, both through the fleet-write relay: issue_patch of PR #34419's Verification block (relay run 43941733135, 12518 bytes, identical on read-back), and this os-dev-report comment via post-stamped.mjs. Not REST: git push of 9b0824ae.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "None. The lock's VERDICT line reads batch-last-exit 0 because the command was a batch; each step's own exit code was captured separately, and all were 0."
}
Delivered: PR #34419 merged. The upgrade plan (dry run, the hosted upgrade's plan, the install-local schema confirmation and os diff) now counts fields a package adds through objectExtensions: added, removed and retyped extension fields are listed, their rows counted, and they enter the upgrade confirmation verdict like owned fields.
Remaining, not on this card's platform half: the cloud half. Service-cloud upgradeSideOf must pass objectExtensions beside objects in the side it builds; the comparison in @objectstack/metadata-core then folds them. That belongs to the cloud seat.
State: pm:dispatched and lease:o1-E removed; the card closed through Fixes #34095.
Cloud half tracked · 2026-11-16T20:34Z · filed as objectstack-ai/cloud#4771 (priority:p1, pm:blocked), answering repo:objectstack#1's notice 6928494631. upgradeSideOf (packages/service-cloud/src/package-upgrade-check.ts) will pass objectExtensions with objects, with pin tests for an extension field added, retyped and dropped. It waits until cloud's .objectstack-sha carries PR #34419.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server· p2 · 2026-11-15T18:48Z⛔ Not a claim.
The package upgrade plan (
/cloud/packages/:id/upgrade-plan) does not fold fields thatobjectExtensionsadd or remove. The HotCRM 6.2.0 → 6.4.0 preview showedfields.added: []while 7 columns were added. The admin approves an upgrade whose preview hides its schema changes, so p2.objectstack-fleet commentedon Nov 16, 2026
coordinator#1 · os-project-manager · session_01FEkQ5p5codnUGsdGxBfaL9
Ruling: grade p1 · maintainer 「按价值挑五张升 p1」 (the option he chose on the decision card) · recorded 2026-11-16T13:39Z
Recorded by the project's decision thread. The maintainer's standing rule sends every decision through a dedicated thread that evaluates it and puts it to him there. He chose at 2026-11-16T13:34:26Z. Decision thread
cmsg_01TenzsRopZj4jMbvjX8uz1X2H6qQ8ciHX7XMq2gtnGnNg, cardcmsg_01TenzsRopZj4jMbvjX8uz1XUxdm8VeU5D1w4Lp1c7zvNe, choice recordcmsg_01TenzsRopZj4jMbvjX8uz1XWytyBwbs22Nf9pBEDQt9fK.Thread-read: 6899454419 (the triage first touch, the only comment). Labels at the read:
priority:p2,pm:queue,domain:server, unassigned.The question he was asked
His intake rule of 2026-11-16 for the
repo:objectstack#1seat is 「除了前任的任务继续处理,后续只认领 p1 或者阻塞 p1 的任务」. A survey of the other open p1 and p2 cards found five p2 cards that a customer or a measured environment has run into, with no open upstream block. Their grade is the only thing that keeps the seat from claiming them. Which of them rise to p1?The three options on the card, as he read them:
The ruling
#34228, #34332, #34095, #34038 and #33824 are raised to p1 and may be claimed. They are taken after the p1 work already in hand, not ahead of it.
Why this card was one of the five, as told to him: The upgrade plan an administrator reads before an upgrade showed no added fields, and the upgrade then added seven columns (HotCRM 6.2.0 to 6.4.0, measured on 2026-11-15). A preview that misses changes cannot be trusted as a preview.
The p2 on this card is triage's first-touch grade. This is his own later word on the card and sets the grade.
State
priority:p2topriority:p1) is for the seat that takes the ruling, with this record as its Ruling-ref./mnt/project-files/pm-orders/objectstack/value-survey-2026-11-16.md.Notify: rulingto therepo:objectstack#1mailbox, PR pm:mailbox — repo:objectstack#1 · os-project-manager #34367, and to the triage mailbox, PR pm:mailbox — triage#1 · hotlong #32588.Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: regrade p2 → p1 (maintainer) · 2026-11-16T13:46Z
⛔ Not a claim.
The maintainer chose 「按价值挑五张升 p1」 on the grading decision card (ruling record 6918052417). Lane and queue state are unchanged.
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
Claim: PM loop · area o1-E · seat-handed p1 · 2026-11-16T13:50Z
Session:
session_01FEkQ5pNoRjsgMJKr5utN33Account:
os-project-managerBranch:
claude/issue-34095-upgrade-plan-extensionsWorktree:
objectstack-issue-34095Domain:
domain:serverSeat:
repo:objectstack#1Ruling-ref: 6918052417 (grade p1, maintainer 「按价值挑五张升 p1」; taken after the p1 work already in hand)
File surface: the platform upgrade-side fold and plan:
packages/objectql/src/package-upgrade-environment.ts(around theobjects/datafold),packages/metadata-core/src/package-upgrade-plan.tsandpackage-upgrade-verdict.tsif the fold belongs there, and the callers inpackages/cloud-connection/src/**andpackages/cli/src/**only where they fold a side themselves; new test files named for this card;.changeset/**(stop on breach; explain in the report)Container & model:
M,mode:subagent,model: TIER_DEFAULT(dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no (narrowing)
Metadata-protocol: none
Responsibility:
objectstack platform half (both upgrade sides fold a package's objects and data only, so fields an objectExtensions entry adds, retypes or drops are missing from fields.added/removed, the column diff and the confirmation verdict) plus a cloud half in the cloud repo (service-cloud upgradeSideOf), which the cloud seat files or takes once this platform shape lands, per the card body | none | every administrator reading an upgrade or rollback preview of a package with objectExtensions; measured on HotCRM 6.2.0 to 6.4.0 (7 columns added, preview empty)Thread-read: 6918208447
Premise: holds (package-upgrade-environment.ts:206 on b0da5a5 folds
objectsanddataonly through resolveStackCollection; the dev reproduces red-first on main)Serial constraints cleared:
none in this area; open PR #34403 (#34336, area o1-B) touches packages/cloud-connection install-local seed doors, and #34396 (area o1-B) packages/objectql/src/registry.ts objectExtensions uninstall refusal: different files; the dev runs git merge-tree against open PRs touching its files before pushPre-claim lane: domain:server (packages/objectql, packages/metadata-core); cloud half stays with the cloud seat (card body)
Pre-claim deps: none
Prior rulings read: card ruling 6918052417; check-prior-rulings --card 34095 → 229 keyword hits, ADR-0146 D6/D10, ADR-0106 D1, ADR-0005 §5, ADR-0019 D3, ADR-0027 §2/§6/§11 named; package-upgrade-plan.ts ⛔ 「It decides nothing. Which findings stop an install is the door's call.」 and ruling Q3 「默认拒绝,需显式映射(推荐)」 (epic cloud#3652) plus ruling record 6709061297 C3 in package-upgrade-verdict.ts bind the route; the fix counts extension fields like owned ones under those rules, it adds no new verdict category
Clause-② note: an extension field retyped or dropped now requires SCHEMA_UPGRADE_CONFIRMATION_REQUIRED where it passed before, so the upgrade door accepts less; contract-review-tier L2 owed before the queue, and the full dogfood battery at the final head
objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
os-dev-report
{ "issue": 34095, "status": "rework", "branch": "claude/issue-34095-upgrade-plan-extensions", "pr": "https://github.com/objectstack-ai/objectstack/pull/34419", "session": "session_01FEkQ5pNoRjsgMJKr5utN33", "premise_still_valid": true, "summary": "Stopped on the seat's STOP order; final pushed head 7bf9cf500fca0a5d1d9a35207e533d576e438d2a (a merge of origin/main 898655a9 over the fix; worktree ../objectstack-issue-34095 clean, nothing uncommitted, so no WIP commit was needed). Implementation is complete: PackageUpgradeSide (metadata-core) gains an optional objectExtensions list and comparePackageVersions folds each extension's fields onto its target the registry's way (owner's declaration, extension fields spread over it by name, ascending priority with default 200, stable by listed order, target = the extend string verbatim); objects a side reaches only through extensions are compared by the extension's fields and never listed as added/removed objects. The side readers sideOf (objectql planUpgrade) and packageUpgradeSideOf (cloud-connection install-local verdict + rename planner) now read objectExtensions with resolveStackCollection; os diff prints field changes of extension-only objects. Draft PR #34419 was opened BEFORE the STOP order arrived (body read back byte-identical, draft true, no assignees/labels); it carries Fixes #34095 and the claim lines. Status rework only because the order ended the run: cloud-connection full suite and cli unit tier were never run (see tests), and the L2 contract review is owed.", "tests": "All at head 7bf9cf50 unless noted. metadata-core full `pnpm --filter @objectstack/metadata-core test`: Test Files 27 passed, Tests 1038 passed (pre-merge head 0fbc32a8; merge brought no metadata-core change). objectql full `vitest run --maxWorkers=2`: Test Files 604 passed, Tests 13478 passed (pre-merge head; merge touched metadata-protocol/rest, not objectql). Targeted: cloud-connection src/marketplace-install-local-upgrade-plan.test.ts Tests 27 passed; cli --project unit test/diff-upgrade-plan.test.ts Tests 10 passed. Typecheck exit 0: metadata-core, objectql (+test-typecheck ledger OK), cloud-connection, cli (+test-typecheck OK, at 7bf9cf50). Red-first, each against base cfcba539 source with the fix committed, restore by `git checkout HEAD` proven by HEAD blob hash + empty status: package-upgrade-plan.ts at base -> Tests 6 failed | 18 passed (the 6 new non-control cases; CONTROL green); package-upgrade-environment.ts at base -> 3 failed | 16 passed; marketplace-install-rename-planner.ts at base -> 2 failed | 25 passed (the two 409 SCHEMA_UPGRADE_CONFIRMATION_REQUIRED cases, asserted on status + error.code); diff.ts at base -> 1 failed | 9 passed. NOT MEASURED: cloud-connection full suite and cli --project unit full tier (queued under the verify lock, killed by the STOP order before acquiring); CI Test Core 1-8/8 is green on 7bf9cf50 and covers both.", "gates": "dispatch-gates --commands (72 families, list identical before and after the merge): 66 exit 0; check:i18n, check:i18n-coverage, check:i18n-walk-parity re-run after the cli build, exit 0 each. NOT MEASURED locally (exit 3, prerequisite): check:dual-build-cjs-loads (needs every package's dist), check-plugin-teardown-shape --self-test (shallow clone), check:type-check-debt (its closure build lost the lock queue). --ran reconciliation: 72 derived, 72 run, 0 unrun (runner-claimed). PR #34419 check-runs at 7bf9cf50: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (1-8/8 success), Build Core success, Governed Surface Queue Guard success, Dogfood Regression Gate success, Live E2E UI success, Test UI success, Check Changeset success, Type Check · debt ledger success, Lint · PM dispatch-gates success, PR-body guards success; UI lanes skipped by selector. Gate runs were not repeated after the merge commit except the i18n trio.", "dogfood_battery": "7bf9cf50 · os-verify-lock: VERDICT command-exit 0 (held 46m21s) · Test Files 475 passed | 3 skipped (478) · Tests 4018 passed | 42 skipped (4060) · no failures. Run with `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/cli typecheck && pnpm --filter @objectstack/dogfood test`, no OS_TEST_SHARD.", "mcp_calls": "0", "api_writes": "3 — git push (not REST); pr_create via fleet-write relay (repository_dispatch POST /repos/objectstack-ai/objectstack/dispatches, run 43898691140) -> PR #34419; this os-dev-report comment via post-stamped.mjs on #34095", "open_questions": [ { "question": "An extension that redeclares a field owned by a package outside the upgraded artifact: the comparison sees only the extension's fields for that object, so dropping the redeclaration lists the field as removed (and can pair into a suspected rename) although the owner's field is still served. Accept, or make the door read the served object?", "options": ["A accept and document: the registry already warns about redeclaring an owner's field, and the error leans toward asking a confirmation, never toward skipping one; cost none", "B give planUpgrade the served object (getObject) so an extension-only object's owner fields are known; cost: the pure comparison takes an environment reading, against the verdict's ruling that it is decided by the two bodies alone (6709061297 C3)"], "recommendation": "A, because B breaks the ruled purity of the verdict and the case is a pattern the registry already warns against" }, { "question": "The card's done-list says a dropped extension field requires confirmation; the ruling in package-upgrade-verdict.ts says a removed field is refused by nothing, and this dispatch says count extension fields like owned ones with no new category. Implemented per the ruling (a lone drop is listed and counted, a drop beside an add is a suspected rename and needs confirmation). Confirm the card's wording is superseded?", "options": ["A ruling stands (as implemented)", "B new rule refusing a lone extension drop: a new verdict category, a needs_decision"], "recommendation": "A, the ruling binds and an owned drop is treated the same" } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: cloud · the cloud half (service-cloud upgradeSideOf) passes objectExtensions beside objects in its side; the comparison then folds them, per the card body · noted, not filed", "carrier: none · packages/cloud-connection/src/marketplace-install-declared-renames.ts extensionTarget reads alias keys (object, objectName, target, name, extends) besides extend: a consumer-side alias read; not exercised, noted only" ], "deviations": "Test pins were added as top-level describes in the existing harness files (package-upgrade-plan.test.ts, package-upgrade-environment.test.ts, marketplace-install-local-upgrade-plan.test.ts, cli test/diff-upgrade-plan.test.ts) instead of new card-named files, per AGENTS.md (ruling record 6583487846: a new pin for a component with a shared harness file goes into that file); that is outside the dispatch file surface. packages/cli/test/diff-upgrade-plan.test.ts is a test of cli/src/commands/diff.ts, which was edited because os diff passes the whole stack to the comparison and would otherwise drop extension-only objects from its printout. Merge-tree: none of the 50 open PRs touches any of the 9 changed files (REST scan of each PR's files); #34403 and #34396 files untouched. L2 contract-review tier owed: the upgrade door now refuses (409) a retype of an extension field it accepted before. content/docs/deployment/cli.mdx not edited (its 'a stored field' wording stays true)." }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
Area o1-E · one note on the card's acceptance list · 2026-11-16T16:44Z
This card lists "dropped (requires confirmation)". PR #34419 does not ask for a confirmation when an extension field is dropped alone. It lists the field in the upgrade plan's removed fields and counts its rows, and nothing refuses it. This follows the existing ruling written in
packages/metadata-core/src/package-upgrade-verdict.ts(ruling record 6709061297): "Removed fields, removed objects,safetype changes and seed changes are reported by a dry run and refused by nothing." An extension field counts like an owned one, so a drop needs the confirmation only where an owned drop does: beside an added field of the same object (a suspected rename), or as a retype to a type with no stored column. This is the seat's route ② (a seat decision, not a new maintainer ruling); it is written into the PR's 维护者速读.objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
os-dev-report
{ "issue": 34095, "status": "done", "branch": "claude/issue-34095-upgrade-plan-extensions", "pr": "https://github.com/objectstack-ai/objectstack/pull/34419", "session": "session_01FEkQ5pNoRjsgMJKr5utN33", "premise_still_valid": true, "summary": "Fix round S1 (review#2 6923010837), on new head 432c9d2cdd (one commit over 7bf9cf50: test file + changeset only; no source change). The changeset's BREAKING section and its 'Who moves' section now name four arms, each with its fix. (1) Extension field retyped: 409, confirm with the token. (2) Extension field dropped beside an added one: 409 suspected rename, confirm with the token. (3) New arm (a): a stored field dropped from an object's own declaration while an extension of the same object adds a stored field, or the reverse: 409 suspected rename. The owned and extension fields now share one field map, so they pair; fix: confirm with the token. (4) New arm (b): an extension field with renamedFrom whose new type stores no column: 422 VALIDATION_ERROR with reason destructive_type at step 2c, before any write. No token answers it; fix: keep a stored type, or carry the values by hand, as the refusal message says. The PR body's What changes, risk line, Tests, Acceptance notes and Verification were patched through the relay issue_patch. The attribution first line, the seat route bullets 1 and 2, and the signed trailer are kept. Arm (b) is pinned in marketplace-install-local-declared-rename.test.ts beside the owned destructive_type case. Nits N1-N4 not taken.", "tests": "At head 432c9d2c, all through os-verify-lock.sh. New pin: `pnpm --filter @objectstack/cloud-connection exec vitest run --maxWorkers=2 src/marketplace-install-local-declared-rename.test.ts` gave Tests 28 passed (28). The pin asserts status 422, error.code VALIDATION_ERROR, refusals[0].reason destructive_type, and that nothing was registered, synced, carried or written to the ledger. One-off ablation via `node scripts/ablation-replace.mjs --delete` of the `objectExtensions: resolveStackCollection(artifact, 'objectExtensions'),` line in packageUpgradeSideOf (marketplace-install-rename-planner.ts). The anchor count went 1 to 0 and the blob changed 51c9a6a1 to 6597d010. Result: Tests 1 failed | 27 passed (28), and the one failure was the new case only (expected 422, received 200, i.e. it installed). Restored: blob equals HEAD 51c9a6a1 and `git diff HEAD` is empty. cloud-connection full suite `vitest run --maxWorkers=2`: Test Files 83 passed (83), Tests 1231 passed (1231). The other package suites were last run at earlier heads, and their sources are unchanged since: metadata-core 1038/1038, objectql 13478/13478, cli diff test 10/10, typecheck of all four packages exit 0.", "gates": "dispatch-gates --commands at 432c9d2c derived 72 families, the same list as before; they were run under one os-verify-lock hold (VERDICT command-exit 0, held 28m19s). 71 exited 0, including check-plugin-teardown-shape --self-test, the i18n trio, and check:type-check-debt (run NESTED inside the hold, re-measure OK). check:dual-build-cjs-loads exited 3 (prerequisite: it needs every package's dist) and is NOT MEASURED locally; CI owns it. --ran reconciliation: 72 derived, 72 run, 0 NOT-MEASURED, 0 UNRUN. PR #34419 check-runs at 432c9d2c: Lint & Repo Gates success, TypeScript Type Check success, Test Core success (1-8/8 success), Build Core success, Governed Surface Queue Guard success, Dogfood Regression Gate success, Live E2E UI success, Test UI success, Check Changeset success. A second Check Changeset run and a PR-body guards run were queued or in_progress after the body patch, at the time of this report.", "dogfood_battery": "432c9d2c · os-verify-lock: VERDICT command-exit 0 (held 42m51s, waited 0s) · Test Files 475 passed | 3 skipped (478) · Tests 4018 passed | 42 skipped (4060) · no failures; `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test`, no OS_TEST_SHARD", "mcp_calls": "0", "api_writes": "2 REST writes this round, both through the fleet-write relay: issue_patch of PR #34419's body (relay run 43927845181; 12573 bytes sent, 12573 stored, identical on read-back); and this os-dev-report comment on #34095 via post-stamped.mjs. Not REST: git push of 432c9d2c.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "None this round. The test sits inside the existing describe ('a declared rename that cannot be carried is refused 422 ...'), next to the owned destructive_type case, as the order asked. L2: the contract review record 6923010837 named S1 as open until a delta read; the delta is the changeset and PR-body text plus one pin, with no source change." }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
os-dev-report
{ "issue": 34095, "status": "done", "branch": "claude/issue-34095-upgrade-plan-extensions", "pr": "https://github.com/objectstack-ai/objectstack/pull/34419", "session": "session_01FEkQ5pNoRjsgMJKr5utN33", "premise_still_valid": true, "summary": "Landing round. `git merge --no-edit origin/main` (15 commits, up to the main tip of this round) into the branch merged clean: no conflict, no os-regen path, nothing resolved by hand. New head 9b0824ae367aa8d525b7da230ea86077c70a96ed, pushed with no force. No source of this PR changed in the merge. Only the PR body's Verification block was re-patched (new numbers and head, through the relay issue_patch); the rest of the body is untouched.", "tests": "All at 9b0824ae, in one os-verify-lock hold (acquired after 5m14s; each step's exit is recorded on its own line, all 0): `pnpm --filter '@objectstack/dogfood^...' build` exit 0; typecheck of metadata-core, objectql, cloud-connection and cli, each with its test layer, exit 0; metadata-core vitest Test Files 27 passed, Tests 1038 passed; objectql Test Files 604 passed, Tests 13478 passed; cloud-connection Test Files 86 passed, Tests 1258 passed; cli --project unit Test Files 424 passed, Tests 6029 passed.", "gates": "Not re-derived after the merge. The changed paths are the same 9 as at 432c9d2c, where 72 families ran: 71 exit 0, and check:dual-build-cjs-loads exited 3 (needs every package's dist, so NOT MEASURED locally). PR #34419 check-runs at 9b0824ae: 35 success, 16 skipped, 0 failed, including Lint & Repo Gates, TypeScript Type Check, Test Core, Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Live E2E UI, Test UI and Check Changeset. The known main red (check:platform-checklist) did not show on this head: Lint & Repo Gates passed.", "dogfood_battery": "9b0824ae · `pnpm --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test` under os-verify-lock, exit 0 · Test Files 475 passed | 3 skipped (478) · Tests 4019 passed | 42 skipped (4061) · no failures, no OS_TEST_SHARD", "mcp_calls": "0", "api_writes": "2 REST writes this round, both through the fleet-write relay: issue_patch of PR #34419's Verification block (relay run 43941733135, 12518 bytes, identical on read-back), and this os-dev-report comment via post-stamped.mjs. Not REST: git push of 9b0824ae.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "None. The lock's VERDICT line reads batch-last-exit 0 because the command was a batch; each step's own exit code was captured separately, and all were 0." }objectstack-fleet commentedon Nov 16, 2026
repo:objectstack#1 · os-project-manager · session_01FEkQ5pNoRjsgMJKr5utN33
Closed · area o1-E · 2026-11-16T20:31Z
Delivered: PR #34419 merged. The upgrade plan (dry run, the hosted upgrade's plan, the install-local schema confirmation and
os diff) now counts fields a package adds throughobjectExtensions: added, removed and retyped extension fields are listed, their rows counted, and they enter the upgrade confirmation verdict like owned fields.Remaining, not on this card's platform half: the cloud half. Service-cloud
upgradeSideOfmust passobjectExtensionsbesideobjectsin the side it builds; the comparison in@objectstack/metadata-corethen folds them. That belongs to the cloud seat.State:
pm:dispatchedandlease:o1-Eremoved; the card closed throughFixes #34095.objectstack-fleet commentedon Nov 16, 2026
repo:cloud#1 · os-warren · session_01JQwxbYK6SZCmyzbGnrvmkk
Cloud half tracked · 2026-11-16T20:34Z · filed as objectstack-ai/cloud#4771 (
priority:p1,pm:blocked), answering repo:objectstack#1's notice 6928494631.upgradeSideOf(packages/service-cloud/src/package-upgrade-check.ts) will passobjectExtensionswithobjects, with pin tests for an extension field added, retyped and dropped. It waits until cloud's.objectstack-shacarries PR #34419.