Skip to content

skills: teach transferBehavior (Change Owner cascade) in objectstack-data relationships and field-types rules #36713

Description

@objectstack-fleet

repo:objectstack#2 · os-steve · session_01ADHkmRY38EZf38Yy3zthbY

Filed by seat 2 as the Skills-docs: follow-up owed card of PR #36525 (#35315). Not claimed.

Suggested-grade: p2
Suggested-domain: domain:skills

What

PR #36525 adds transferBehavior: 'none' | 'cascade' to lookup / master_detail fields, next to deleteBehavior. 'cascade' opts that child relationship into the Change Owner cascade: when a parent's owner changes, the dialog offers to move the children the previous owner owns. It is refused at parse off reference types, on a sys_ reference, on a multi-value lookup (once the PR's patch round lands), and on a child that does not offer Change Owner itself, including a controlled_by_parent detail.

Where

  • skills/objectstack-data/rules/relationships.md: when to declare cascade, and the eligibility rules.
  • skills/objectstack-data/rules/field-types.md: lines 92-93 list deleteBehavior for lookup / master_detail. Add transferBehavior beside it.
  • Evals that exercise the key, per AGENTS.md's Post-Task Checklist.

Land after #36525 merges, so the text matches the shipped shape.

Activity

  1. added
    enhancement
    finding
    on Nov 23, 2026
  2. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · priority:p2 · Task · pm:queue; area:data → area:ai. Linked under topic #36238.
    Rationale: the skills must teach the new transferBehavior key that PR #36525 adds. That means when to declare cascade and the refusals at parse. Until they do, the AI does not know the key exists. This is an omission, not misteaching (nothing in the skills says the wrong thing), so p2 under the table. Skills cards sit in area:ai (as #36628 and #36611 do), because their reader is the AI. It lands after #36525 merges.

  3. added
    area:ai
    domain:skills
    pm:queue
    priority:p2
    and removed on Nov 23, 2026
  4. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Claim: PM loop round 1 · 2026-11-24T18:31Z
    Area: a4-A
    Session: session_01QSeKYo86w1wqy2z2fMrryr
    Account: os-justin
    Branch: claude/issue-36713-transferbehavior-skill
    Worktree: objectstack-issue-36713
    Domain: domain:skills
    Seat: repo:objectstack#4
    File surface: skills/objectstack-data/rules/relationships.md (beside ## Delete Behaviors), skills/objectstack-data/rules/field-types.md (the lookup / master_detail table rows), at most one case in skills/objectstack-data/evals/**, one @objectstack/skills patch changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: skills/objectstack-data/rules/relationships.md ⇢ 'skills/**' — clause ①, no one-line exit), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 7102232941
    Premise: holds (main 67154ed: PR #36525 is merged (61722e9); git grep transferBehavior -- skills is empty; relationships.md teaches deleteBehavior at ## Delete Behaviors, line 163)
    Serial constraints cleared: overlap-check probe at 67154edeaf on both files: VERDICT clean exit 0 — merges cleanly with #37072 (this zone's fold, relationships.md lines 356-371) and #36158 (both files); #37044, which held both files, has merged
    Pre-claim lane: domain:skills — skills/objectstack-data/**
    Pre-claim deps: "Land after #36525 merges" — merged
    Prior rulings read: check-prior-rulings 143 keyword hits (ADR-0018, ADR-0035, ADR-0058, ADR-0063, ADR-0068, ADR-0071, ADR-0093, ADR-0099), 0 on the surface; the key's eligibility is fixed by PR #36525's merged schema

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr
    os-dev-report

    {
      "issue": 36713,
      "status": "done",
      "branch": "claude/issue-36713-transferbehavior-skill",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37076",
      "session": "session_01QSeKYo86w1wqy2z2fMrryr",
      "premise_still_valid": true,
      "summary": "relationships.md (Delete Behaviors) gains one paragraph teaching transferBehavior: what 'cascade' offers in the parent's Change Owner dialog, the default, when to declare it, and the parse refusals the merged schema makes (the key off lookup / master_detail; cascade on a sys_ reference, on multiple: true, on a child that does not offer Change Owner itself). field-types.md lists the key on the lookup and master_detail rows; one eval case (id 28) exercises it; one @objectstack/skills patch changeset. The added bytes are paid by same-file cuts of restatement; no ceiling row moved and the ratchet script is not edited, so the PR is not Tier H by a script edit. Draft PR opened and left as draft.",
      "tests": "No package source in the diff, so no package test or typecheck is owed and no ablation applies (docs only). At 84459523cd: node scripts/check-skills-token-ratchet.mjs exit 0 ('60 authored bundle file(s) within their ceilings'); node ui/scripts/check-skill-eval-tokens.mjs exit 0 ('Every must_contain token is taught by its own skill bundle.'); check:skill-served-sections exit 0 (24 served sections).",
      "gates": "Local, exit codes captured before any pipe, at 84459523cd: dispatch-gates --ran: '48 derived famil(ies) accounted for - 43 run, 5 NOT-MEASURED (5 DERIVED from a recorded exit 3)'; 43 exit 0. NOT MEASURED: check:doc-formula-expressions, check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content, reason: exit 3 PREREQUISITE NOT MET (no built dist in the worktree; none reads a changed file). Outside the derived set, run locally: ui check-skill-eval-tokens exit 0. overlap-check: VERDICT clean exit 0 (origin/main, PR 37072, PR 36158). CI check-runs on PR 37076 at 84459523cd, read once: all in_progress (Lint lanes, Type Check lanes, Check Changeset, Check PR Size, PR-body guards, Governed Surface Queue Guard); skipped: Queue verdict, Borrowed queue verdict, Schedule gate, the two opt-in jobs.",
      "line_budget": {
        "net_lines_skills": 3,
        "budget": 10,
        "skills/objectstack-data/rules/relationships.md": {
          "lines": "401 -> 389 (+15 -27)",
          "bytes": "16805 -> 16801",
          "tokens": "4202 -> 4201",
          "ceiling": 4203,
          "headroom": 2
        },
        "skills/objectstack-data/rules/field-types.md": {
          "lines": "270 -> 270 (+5 -5)",
          "bytes": "14160 -> 14156",
          "tokens": "3540 -> 3539",
          "ceiling": 3541,
          "headroom": 2
        },
        "skills/objectstack-data/evals/objects-fields-relationships.json": {
          "lines": "491 -> 506 (+15)",
          "tokens": "8588 -> 8922",
          "ceiling": "not ratcheted"
        },
        "bundle skills/objectstack-data": {
          "lines": "4715 -> 4718",
          "bytes": "250366 -> 251692"
        },
        "combined_with_PR_37072_head_cd690662c7": {
          "relationships.md": "16798 bytes, 4200 tokens, ceiling 4203, headroom 3",
          "field-types.md": "14156 bytes, 3539 tokens, ceiling 3541, headroom 2"
        },
        "combined_with_PR_36158_head_b2226e0ef3": {
          "relationships.md": "4346 tokens against that PR's 4343 row; that PR merged with main alone already reads 4347",
          "field-types.md": "4247 tokens against that PR's 4249 row"
        },
        "ceiling_route": "cut only; no row raised, ratchet script untouched"
      },
      "files_changed": [
        ".changeset/36713-skills-transfer-behavior.md",
        "skills/objectstack-data/evals/objects-fields-relationships.json",
        "skills/objectstack-data/rules/field-types.md",
        "skills/objectstack-data/rules/relationships.md"
      ],
      "deviations": [
        "The first commit attempt carried the harness attribution reminder's model-named Co-Authored-By trailer; the local permission classifier refused the command before anything was written. The commit that landed carries the model-free trailer pair AGENTS.md prescribes.",
        "The eval case is 15 lines, not the 7 a compact spelling would take: the fixture is byte-identical to JSON.stringify with indent 2, and that form was kept.",
        "evals/README.md, which lists what the fixture covers, was not updated: outside the file surface.",
        "Five derived families NOT MEASURED locally (need a built dist); declared to CI.",
        "Report delivered without waiting for CI; check-runs are in_progress."
      ],
      "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 pulls draft + POST issues/37076/assignees, one stroke, run 45463367751); this os-dev-report comment through post-stamped.mjs. Plus git push x2 (empty-branch probe, the commit).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: PR 36158 - merged with main alone it reads 4347 tokens against its own 4343 row for relationships.md (main moved under it); noted, not filed"
      ]
    }
  7. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Delivered · zone a4-A · 2026-11-24T20:08Z

    • PR docs(skills): teach transferBehavior, the Change Owner cascade, in the data skill #37076 (MERGED by the maintainer's hand, Fixes #36713): skills/objectstack-data/rules/relationships.md (Delete Behaviors) teaches transferBehavior: 'cascade' — what the parent's Change Owner dialog then offers, the 'none' default, when to declare it, and the parse refusals the merged code makes; rules/field-types.md lists the key on the lookup and master_detail rows; eval case 28 exercises it. Contract review PASS 7141869539 (Security-touching: yes, so Tier H; the PR carries the security label); zone ACCEPT 7141894672.
    • pm:dispatched cleared with the close.
  8. removed
    pm:dispatched
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:skillsenhancementfindingpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions