Skip to content

spec(userActions.transfer): the published description still says the switch gates only the Change Owner action; it now also gates the offboarding hand-over #36917

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Filing gate: ② contract text made false — S1 of the L1 review on PR #36869 (card #35399), recorded there in the seat's ## 席位核对 comment on head a31b2c96ff.

What is false

PR #36869 (Metadata-protocol: semantic) makes an object's Change Owner switch (userActions.transfer) also decide whether the offboarding hand-over moves the object's owner_id. The published key's own description still says it gates only the Change Owner action:

  • packages/spec/src/data/object.zod.ts — the .describe() on userActions.transfer (~4362 on the PR head);
  • packages/spec/src/data/user-action-transfer.ts — the module text (~55).

An author or an AI reading the schema (or the generated reference docs built from it) learns a narrower meaning than the runtime enforces.

Expected

Both sentences name both consumers — the Change Owner action and the offboarding hand-over (count and transfer) — and nothing else; regenerate the spec artifacts the .describe() change owes (gen:schema && gen:docs, check:generated). Prose only: no shape, accept-set or default change.

Order

After PR #36869 merges (it is what makes the sentence false). Kept out of that PR so it stays off the published-schema review face.

Activity

  1. added
    priority:p2
    pm:queue
    domain:spec
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:data · domain:spec · priority:p2 · Bug · pm:queue → pm:blocked · size XS.
    Rationale: a published description made false is a Bug at p2, as filed. The card's own Order says it starts after PR #36869 merges, and #36869 is still open, so it waits as blocked. The unlock scan moves it back to pm:queue when #36869 closes.

    Blocked-by: #36869

  3. added
    pm:blocked
    and removed
    pm:queue
    on Nov 24, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: unblocked 2026-11-24T17:38Z

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 24, 2026
  6. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    Claim: PM loop (seat-run dev)
    Session: session_011y7As5bdhV5T4N9vpjmZzH
    Account: os-alice
    Branch: claude/issue-36917-transfer-describe-offboarding
    Worktree: objectstack-issue-36917
    Domain: domain:spec
    Seat: repo:objectstack#7
    File surface: packages/spec/src/data/object.zod.ts (the userActions.transfer .describe()), packages/spec/src/data/user-action-transfer.ts (module text), and the generated spec artifacts gen:schema && gen:docs owe (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default opus (dispatch-gates --tier: "no path-derived mandate"), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack (packages/spec userActions.transfer description) | none | an author or AI reading the published schema / generated reference docs
    Thread-read: 7139508725
    Premise: holds (PR #36869 merged)
    Serial constraints cleared: in-flight seat PRs #37083 (packages/spec/src/api/**), #37091 (ui), #36802 (packages/spec/src/data/field.zod.ts, awaiting maintainer) — none touch object.zod.ts's userActions block or user-action-transfer.ts; generated docs may need a regen if #36802 lands first.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH
    os-dev-report

    {
      "issue": 36917,
      "status": "done",
      "branch": "claude/issue-36917-transfer-describe-offboarding",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37131",
      "session": "session_011y7As5bdhV5T4N9vpjmZzH",
      "premise_still_valid": true,
      "summary": "Premise holds on origin/main eec6fb3f002: the merged hand-over (commit bfd1049f22f) makes packages/core user-assigned-work.ts ownerTransferOff = isTransferEligible && !resolveUserActionTransfer(obj).enabled, giving owner_id alone reason transfer_off / transferable false, and transferUserAssignedWork moves only transferable rows; the published describe still said the switch gates only the action. The userActions.transfer .describe() and the user-action-transfer.ts module text (opening line, 'The switch' paragraph, the resolveUserActionTransfer 'readers' docblock) now name both consumers, the Change Owner action and the offboarding hand-over (count reports held, transfer leaves the owner), and say the hand-over reads only on/off, not the predicates. Regenerated content/docs/references/data/object.mdx (only the transfer row moves); spec patch changeset. Prose only: no shape, accept-set or default change. Commit trailers are the model-free pair the dispatch named.",
      "tests": "Head 79e98ffc3b8. Under os-verify-lock: `pnpm --filter @objectstack/spec build && gen:schema && gen:docs` VERDICT command-exit 0; `pnpm --filter @objectstack/spec check:generated` VERDICT command-exit 0, 'All 14 generated artifacts are up to date'; `vitest run --maxWorkers=2 src/data/user-action-transfer.test.ts src/data/object.test.ts` Test Files 2 passed (2), Tests 253 passed (253); `pnpm --filter @objectstack/spec typecheck` exit 0 (check:test-typecheck OK). No ablation: no tested behaviour changed (prose only). test:repo not run locally (CI Test Core).",
      "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack (tree 79e98ffc3b8) derived 110 families; all run, exit codes captured before any pipe: 104 exit 0; 6 exit 3 PREREQUISITE NOT MET (unbuilt sibling packages) = NOT MEASURED locally, left to CI: @objectstack/lint check:doc-formula-expressions, @objectstack/lint check:doc-security-posture, @objectstack/spec check:skill-examples, check:docs-transcript-drift, check:dual-build-cjs-loads, check:lean-entry-closure. --ran reconciliation: '110 derived famil(ies) accounted for — 104 run, 6 NOT-MEASURED (6 DERIVED from a recorded exit 3)'. check-nul-bytes OK. No exported symbol renamed, so check-platform-checklist not owed. CI check-runs on PR #37131: in_progress at report time (not waited on).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST issues/37131/assignees os-alice, one dispatch); post-stamped os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/36917/comments. Plus git push of the branch (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the TSDoc block above `userActions` in object.zod.ts names the endpoint and the console as readers of `transfer` but not the hand-over; not false (no 'only'), outside the card's file surface; in PR Acceptance notes"
      ]
    }
  9. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH
    os-dev-report

    {
      "issue": 36917,
      "status": "done",
      "branch": "claude/issue-36917-transfer-describe-offboarding",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37131",
      "session": "session_011y7As5bdhV5T4N9vpjmZzH",
      "premise_still_valid": true,
      "summary": "Rework round for contract review 7145492854 (FAIL, M1) and seat REWORK 7145515635, new head eddb22176d7312fca17de3c4020eeb3bfeb53110. M1 is fixed. The hand-over holds owner_id only on a Change Owner eligible object, because ownerTransferOff = isTransferEligible && !enabled. Three sentences now carry that scope. (1) The userActions.transfer .describe() uses the review's wording: 'On those objects it also decides whether the offboarding hand-over ... moves owner_id: off, those records are counted as held and keep their owner (the hand-over reads only on or off, not the predicates). An owner_id the platform does not provide is handed over like any other user field.' (2) The 'The switch gates two consumers' paragraph in user-action-transfer.ts says 'Where an eligible object's switch resolves off ...', adds that an owner_id the platform does not provide (an object the platform gives no owner column, declaring its own owner_id user field) is handed over like any other user field, and that a read-only owner_id is not handed over, or counted, at all (the hand-over skips readonly fields before counting, user-assigned-work.ts line 163). (3) The changeset sentence has the same scope. object.mdx was regenerated, and origin/main is merged in by merge commit e23a3a80315. N1 (the TSDoc above userActions) is left alone, as the review allowed. The PR body was refreshed through relay issue_patch because it repeated the old sentence. The relay refused an unsigned body, so the body now ends with the line-final signed trailer (LANE · ACCOUNT · SESSION) and Fixes #36917 stays line 1. That trailer is a relay requirement and not a dispatch-order one; I note it here as a deviation. The PR stays draft.",
      "tests": "Head eddb22176d7. Under os-verify-lock (slot dev-36917-r2): `pnpm --filter @objectstack/spec build && gen:schema && gen:docs` VERDICT command-exit 0, and only content/docs/references/data/object.mdx moved (1 line). Then `check:generated && vitest run --maxWorkers=2 src/data/user-action-transfer.test.ts src/data/object.test.ts && pnpm --filter @objectstack/spec typecheck` VERDICT command-exit 0: 'All 14 generated artifacts are up to date', Test Files 2 passed (2), Tests 253 passed (253). No ablation (prose only). test:repo is left to CI Test Core.",
      "gates": "Re-run on head eddb22176d7, exit captured before any pipe: check-adr-0087-registration --base origin/main :: exit 0; check-changeset-no-major --base origin/main :: exit 0; check-empty-changeset --base origin/main :: exit 0; check-nul-bytes :: exit 0; check-issue-citations :: exit 0; pnpm check:doc-authoring :: exit 0. The full 110-family derived sweep was not repeated this round (first round, head 79e98ffc3b8: 104 exit 0, 6 exit 3 PREREQUISITE NOT MET, all 6 run by CI jobs per the seat's record). That is a declared narrowing, because the delta is prose in the same two spec files plus the regenerated row and the merge. CI check-runs on eddb22176d7: NOT MEASURED, a new set started at push and was not waited on.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 this round — fleet-write relay issue_patch PATCH /repos/objectstack-ai/objectstack/issues/37131 (PR body; read-back identical, 5841 bytes); post-stamped os-dev-report POST /repos/objectstack-ai/objectstack/issues/36917/comments. One relay dispatch was refused before sending (unsigned body): zero writes. Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the comment above `export * from './user-action-transfer'` in packages/spec/src/data/index.ts still says the endpoint and console action do not exist yet (raised by the seat's record as advisory; not in this diff or surface)",
        "carrier: none · noted, not filed — the TSDoc above `userActions` in object.zod.ts names two readers, not the hand-over (N1; not false)"
      ]
    }
  10. removed
    pm:dispatched
    on Nov 26, 2026
  11. github-actions commented on Nov 26, 2026

    @github-actions
    Contributor

    os-closed-card-sweep — machine-findable marker for this generated comment.

    Removed the pm-loop state label(s) this closed card no longer claims: pm:dispatched.

    A state label claims work is in flight. This card is closed on a merged delivery, so the claim
    is stale; every other label is left exactly as it was found. Nothing here is a judgement about
    the card, and no verdict-bearing label is ever touched by this sweep.

    posted by half-state-patrol run 45733194792 · trigger workflow_dispatch

    Generated by Claude Code

  12. added a commit that references this issue on Dec 1, 2026
    01967c3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions