Skip to content

skills: objectstack-data relationships rule says another master's detail is reference_not_found on import; after PR #37567 it is reference_out_of_scope #37590

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① · Source: fleet (the Skills-docs: follow-up owed line of PR #37567, Part of #36794)

What happens

skills/objectstack-data/rules/relationships.md (around :115) teaches: "Import resolves a detail's name within its master when the row sets that master … or the lookup's dependsOn sibling: a tie there is reference_ambiguous, another master's detail reference_not_found."

PR #37567 gives that case its own reason: a scoped lookup miss whose value exists under another parent answers reference_out_of_scope, with an optional scope ([{ field, value }]) on the validate-data issue element. Once it merges, the skill's last clause is false. An agent that teaches or handles import errors from it will match reference_not_found for a case that no longer answers it.

skills/** is governed, and PR #37567 declares Clause-②: yes, so this sentence does not ride the code PR.

Expected

Blocked-by: #37567 (merge)
Category ①: a shipped skill states an error reason the platform will no longer answer.
Priority: p2, the grade of #36794 (an import error names the wrong reason; no data is lost).
Business reason: admins and agents importing rows into scoped lookups act on the reason code, so a wrong code sends them hunting for a record that exists.
Reader: seat 2 area s2-data (repo:objectstack#2), after #37567 merges. Tier H, so os-zhuang approves.
Dedupe: searched reference_out_of_scope skills and relationships.md reference_not_found (open issues): only #36794 itself.
Related: #36794, PR #37567.

Activity

  1. added
    documentation
    priority:p2
    pm:blocked
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Bug · priority:p1 · pm:blocked · size XS; rationale: once PR #37567 merges, the objectstack-data relationships rule would still teach reference_not_found for another master's detail on import, a wrong answer an AI repeats. Skill misteaching is p1 (filed as p2). Area moved to area:ai. Blocked-by #37567.

  3. added
    area:ai
    domain:skills
    priority:p1
    and removed
    priority:p2
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock · #37590 · 2026-11-27T06:25Z: the card's only Blocked-by: line names #37567, which was merged at 2026-11-26T16:15Z. No later block is recorded on this card. pm:blocked → pm:queue; grade, area and size unchanged. Re-read the premise at claim, because the blocker's landing may have changed the surface this card names.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 1 · 2026-11-27T08:13Z
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgTFpGNWjLMTYXbjD1f
    Account: os-sales
    Branch: claude/project-thread-d3sz2i
    Domain: domain:skills
    Seat: repo:objectstack#2
    Area: s2-ai
    File surface: skills/objectstack-data/rules/relationships.md (the import clause about :115 for #37590, the _relatedLists key about :367 for #37620), skills/objectstack-i18n/SKILL.md (the _relatedLists.{list} row about :166), words paid for in the same bundle under the token ratchet.
    Container & model: XS, mode:thread, model: CONTRACT_REVIEW_TIER (reason: skills/** is a mandatory-tier path), effort: high (reason: two Tier H skill clauses written against merged code)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — skill follow-up of a merged code PR
    Thread-read: none
    Premise: holds — the blocker merged (#37567 for #37590, #36595 for #37620); the thread re-reads both surfaces on main before writing
    Serial constraints cleared: none

    Folded with #37620 into one PR (both XS, both skills/**, both touch relationships.md). The PR says Fixes #37590 and Fixes #37620.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgTFpGNWjLMTYXbjD1f
    os-dev-report

    Folded with card 37620 into one PR; the same report is on both cards.

    {
      "issue": 37590,
      "status": "done",
      "branch": "claude/project-thread-d3sz2i",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37892",
      "session": "session_01L6bhgTFpGNWjLMTYXbjD1f",
      "premise_still_valid": true,
      "summary": "One PR for the two folded cards 37590 and 37620, head c62f65f0, three files (two skill pages and one @objectstack/skills patch changeset). skills/objectstack-data/rules/relationships.md: the import clause under Optional master now names reference_out_of_scope for another master's detail, with scope [{ field, value }] naming the scoping columns, and keeps reference_not_found for a name no record has and for a scoping field the caller cannot read; the relatedLists bullet under Detail-page related lists says an entry with no label has no key, and that a .custom arrangement re-stating the entry with no label, or hiding it, leaves none so os validate refuses the key, with the remedy the merged migration entry prescribes (drop the key, or re-state the entry with the owner's label). skills/objectstack-i18n/SKILL.md: the _relatedLists row gains the same clause. Both files stay at their token ceilings (4181 and 6333): the words are paid for by deleting restatement or history in the same file, each cut listed in the PR body with the place the content still lives. main shortened relationships.md and lowered its row from 4201 to 4181 while the branch was open; main at b620c4b2 is merged in and two bytes came off the new clause. Served model for this thread: claude-fable-5-2 (get_session last_served_model), effort high, as the claim orders.",
      "tests": "Prose only: no unit test changes, no ablation (os-dev.md: docs are not ablated). No eval run: no eval fixture is touched, and the existing objectstack-i18n eval case 16 still matches the row. Premise measured on main before writing: relationships.md :117 and :369 and objectstack-i18n/SKILL.md :166 carried the old text; packages/core/src/utils/import-coerce.ts referenceNotFound answers reference_out_of_scope with scope, and reference_not_found for scopeDenied and for a value matching nothing; packages/lint/src/validate-translation-references.ts reports the key over a hidden, stripped or unlabelled list.",
      "gates": "local on c62f65f0 after merging main at b620c4b2 and a full pnpm build (os-verify-lock VERDICT command-exit 0, 123 of 123 tasks): dispatch-gates --commands derived 50 families; every command recorded exit 0 before any pipe; --ran: 50 derived, 50 run, 0 NOT-MEASURED, 0 UNRUN. Among them node scripts/check-skills-token-ratchet.mjs exit 0 (relationships.md 4181 / 4181, objectstack-i18n/SKILL.md 6333 / 6333, ratcheted bundle 199685 / 199685), spec check:skill-served-sections exit 0 (24 served sections, 10 JSON fences pass), spec check:skill-docs, check:skill-links, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:doc-authoring, check:pm-skill-id-lint, check:nul-bytes, check:dual-build-cjs-loads, check:lean-entry-closure, lint check:doc-formula-expressions all exit 0. One red on the way, fixed before the PR: an earlier head (8ce5a4af) deleted the JSON fence of the served Roll-up Summaries section and check:skill-served-sections answered exit 1; the section is byte-identical to main on the PR head. CI check-runs on PR 37892: in_progress at report time.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "7 — issue_read x6 (both cards, body and comments, the comments re-read after the claim), get_session x1 (claude-code-remote, not GitHub); reads only, no write tool. One REST read through gh api (GET of comment 7211672468, a report shape reference).",
      "api_writes": "3 — all through the scripts/pm fleet-write relay: pr_create (PR 37892, draft, assignee os-sales, read back identical), then this report on each of the two cards (post-stamped.mjs). git pushes to the thread branch only.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: c · reach: exception: release-text — the messageFormat refusal in packages/spec/src/system/translation.zod.ts (:3012, and the comment at :2984) tells an author that interpolation is simple {variable} substitution, while packages/services/service-i18n/src/file-i18n-adapter.ts (:81-89) replaces only the double-brace form; an author who follows the refusal writes placeholders that pass through unchanged · evidence: source read on main at b620c4b2, not run; the i18n skill already warns about it (Message Interpolation) · dedupe words: messageFormat refusal variable single brace interpolation",
        "carrier: none · noted, not filed — relationships.md has no pointer from its relatedLists bullet to where the .custom arrangement is taught (objectstack-data SKILL.md, the paragraph on an object an installed package ships); the file is at zero headroom and the i18n row carries the pointer"
      ]
    }
  9. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-27T10:03Z

    PR #37892 merged at 2026-11-27T10:02Z (Tier H, approved and queued by the maintainer) and closed this card, folded with #37620. pm:dispatched is cleared. Follow-ups: #37899 (nits N1–N3), #37894.

  10. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidocumentationdomain:skillspriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions