Skip to content

37177 跟进:技能文档 context-packs.md 改写「看不到的关联对象」一句,对齐 #37361 的省略行为 #37414

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

Filing gate: ② follow-up out of #37177. The source is the os-dev report on PR #37409 (comment 7181165779), acceptance note "A related object the caller cannot read". The owning area files it under the source card, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · Task · p2 · reach: every author an AI assistant teaches from skills/objectstack-ai · evidence: read.

维护者速读

What

skills/objectstack-ai/references/context-packs.md (added by PR #37409), section "What the caller is not shown", teaches that a related object the caller cannot read refuses the whole call with 403 PERMISSION_DENIED. ADR-0160 D3 as amended says such a child is left out with the one not_visible statement, and #37361 lands that behaviour in record-context-tools.ts step 4a. Change that one sentence to what main does after #37361. Keep the file's ratchet row (1454) or pay for any growth by cutting restatement in the same file.

Acceptance

Blocked by: #37361 and PR #37409 (both must be on main).
Model: skills/** is MANDATORY at the contract review tier.
Parent: #37177
Size: XS
Dedupe (objectstack, is:issue): context-packs.md 0 · not_visible skills 0.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: lands in area:ai · domain:skills · Bug · priority:p2 · pm:blocked · size XS; rationale: once #37361 ships, context-packs.md's sentence about related objects the caller cannot see becomes wrong. A wrong sentence in a shipped skill has the reach "builders, often", so it is a Bug at p2 (the seat filed it as a Task; the grade is the same).

    It waits on #37361. On unlock it goes to seat 5 (zone ai-36996).

  3. added
    domain:skills
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

    Unblocked: PR #37412 (#37361) merged at 8d60333638 (left-out behaviour on main), and PR #37409 merged earlier (the reference file is on main). pm:blocked → pm:queue.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:skills · Task · priority:p1 · pm:queue · size XS; rationale: context-packs.md still teaches that an unseen related object fails the whole read, but since #37361 that section is omitted with a note. Skill misteaching is p1.

    Regraded p2 → p1 on the maintainer's go in the triage session (「升级吧」), after a review of every open p2 card.

  7. added
    priority:p1
    and removed
    priority:p2
    on Nov 26, 2026
  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

    Claim: PM loop round 8 · area ai-36996 (topic #36996 non-cloud rows; the maintainer, verbatim, 2026-11-25T12:57Z project thread: 「开一个 36996 专题,接手剩余任务」; concurrency per area 3, 2026-11-25T23:33Z) · 2026-11-26T07:14Z
    Session: session_01Utp6CbeF2saT6wUBV4E9uc
    Account: os-bill
    Area: ai-36996
    Branch: claude/project-thread-sxex2q
    Thread session: session_01Utp6CYM2brJLG6jU6VWtsE
    Domain: domain:skills
    Seat: repo:objectstack#5
    File surface: skills/objectstack-ai/references/context-packs.md (one sentence, section "What the caller is not shown", plus an optional clause for nit N1 of review 7181290305), the generated skill-docs mirror it moves, and a changeset only if a gate requires one. No ratchet-row change. Stop on breach and report.
    Container & model: XS, mode:thread, model: claude-fable-5-2 — dispatch-gates --tier prints "Model tier — MANDATORY: claude-fable-5-2" (skills/**); the thread is configured claude-fable-5-2 and reads get_session last_served_model before its first edit; a different answer gets an amendment before any edit, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: skills/objectstack-ai/references/context-packs.md teaches main's pre-#37412 behaviour | no platform path covers it | every assistant that learns context packs from the skill
    Premise: holds — on origin/main 8d6033363: PR #37412 merged (a related child this caller is not served is left out with one not_visible note); PR #37409 merged (the reference teaches the old whole-call 403).
    Serial constraints cleared: #37361 (PR #37412) and #37177 (PR #37409) merged. No sibling touches skills/**.
    Pre-claim deps: #37361 closed, #37177 closed
    Prior rulings read: contract review 7181290305 on PR #37409 (③ dev flag, N1); ADR-0160 D3 "Object level" as amended

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CYM2brJLG6jU6VWtsE
    os-dev-report

    {
     "issue": 37414,
     "status": "done",
     "branch": "claude/project-thread-sxex2q",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/37475",
     "head": "782a8c4525a35f146b4c3c02d9bf694abf72671c",
     "session": "session_01Utp6CYM2brJLG6jU6VWtsE",
     "served_model": "claude-fable-5-2 (get_session last_served_model, read before the first edit; matches the claim)",
     "premise_still_valid": true,
     "summary": "Draft PR 37475, head 782a8c45, 2 files, +24/-12 against base a46efa8c. The paragraph under 'What the caller is not shown' in skills/objectstack-ai/references/context-packs.md no longer teaches the whole-call 403 for a related object the caller cannot read: a related list is left out when the caller cannot read its object (as for its link field or a where / orderBy field), it is never named, and notes carry the one not_visible note. The paragraph names what still refuses the whole call with 403 PERMISSION_DENIED: a related object nobody is served (a system object the record tools refuse, one closed to API list reads, one in a disabled package) and a lookup shown to the caller whose target is such a system object (nit N1). The file stays at 5813 bytes, 1454 tokens: five restatements elsewhere in the same file pay for the growth. A patch changeset for @objectstack/skills carries both declaration lines.",
     "files_changed": [
      "skills/objectstack-ai/references/context-packs.md",
      ".changeset/37414-context-packs-unserved-related-child.md"
     ],
     "acceptance": [
      {
       "bullet": "The sentence matches record-context-tools.ts step 4a on main after the left-out change, and cites no behaviour main lacks",
       "check": "pass",
       "evidence": "read at a46efa8c: step 4a refuses on readGuard, then on assertApiExposed(object, 'query') (a disabled package's refusal included), each through refuseObject = PERMISSION_DENIED 403; a child that passes both with servedObjectDefinitionOf null joins leftOut and sets hidden, which emits the one not_visible note; step 4c refuses when readGuard refuses the target of a lookup that survived projection"
      },
      {
       "bullet": "node scripts/check-skills-token-ratchet.mjs exits 0 with no ceiling raised",
       "check": "pass",
       "evidence": "exit 0 at 782a8c45; row reads 1454 / 1454 (+0); scripts/check-skills-token-ratchet.mjs not in the diff"
      },
      {
       "bullet": "Clause-②: no, Metadata-protocol: none",
       "check": "pass",
       "evidence": "both lines line-initial in the PR body and in the changeset body; Check Changeset success"
      }
     ],
     "line_budget": {
      "file": "skills/objectstack-ai/references/context-packs.md",
      "lines": "111 -> 113",
      "bytes": "5813 -> 5813",
      "tokens": "1454 -> 1454",
      "ceiling": 1454,
      "ceiling_moved": false,
      "skill_md_lines_sum": "4961 -> 4961",
      "bundle_total_tokens": "299309 -> 299309"
     },
     "tests": "No package source changed, so no package test suite was run. No ablation: no tested behaviour changed. Readings at 782a8c45: check-skills-token-ratchet exit 0, 'skills/objectstack-ai/references/context-packs.md is 1454 tokens (ceiling 1454; headroom 0)'.",
     "gates": {
      "local": "dispatch-gates --commands derived 48 at 782a8c45; --ran reconciliation: 48 derived, 48 run, 0 UNRUN. 46 exit 0 (exit codes captured before any pipe). 2 NOT MEASURED, exit 3 prerequisite not met, reason: each needs the whole-workspace build and the diff changes no package source: pnpm check:dual-build-cjs-loads, pnpm check:lean-entry-closure. check:doc-formula-expressions exited 3 on the first run and 0 after building formula and lint under os-verify-lock (VERDICT command-exit 0). overlap-check --branch=HEAD before the push: VERDICT clean exit 0.",
      "ci": "PR 37475 head 782a8c45: 44 check-runs, all completed; 28 success, 16 skipped, 0 failure, 0 cancelled. Success: Lint & Repo Gates, TypeScript Type Check, Test Core (and shards 1/10, 2/10), Build Core, Governed Surface Queue Guard, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Check PR Size, Auto Label, filter, Plan Test Core shards, Lint · ESLint, Lint · repo & tooling gates, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · scoped (slot lookup & corpus, tooling self-tests, query-options erasure), Type Check (workspace, debt ledger, consumer gates, source gates). Skipped by the path filter: Lint UI, Type Check UI, Build UI Deps, Build & E2E UI, Plan Test UI shards, Test UI matrix, UI Published Artifacts, Build Docs, Dogfood Verify CLI, Dogfood Regression Gate matrix, Temporal Conformance, Packed-tarball smoke, 18.x upgrade harness, Queue verdict, Borrowed queue verdict, Schedule gate. mergeable_state clean; the PR is a draft."
     },
     "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
     "deviations": [
      "Five restatement cuts outside the rewritten paragraph, all in the same file, to keep the file at its ceiling: the glosses on the fields, related and body key rows, '(the open ones, soonest first)', and ', so a caller never learns it'. The PR body lists each with the text it restates.",
      "Commit trailers carry this card thread's own session id (the AGENTS.md pair), not the seat session the order's trailer line spells. The pre-push hook accepted them.",
      "Two derived gates NOT MEASURED locally (see gates.local); read from CI.",
      "The order's 'whole test suite of every package you touched' ran nothing: no package is touched.",
      "The session runs at effort high; the order says medium. The card was worked at the order's depth.",
      "No reviewer was requested and no MCP write was made; the assignee rode pr_create. Hand-off is the seat's."
     ],
     "mcp_calls": "7 — issue_read x4 (get, get_comments x3), pull_request_read x3 (get_check_runs x2, get); all reads, no write tool",
     "api_writes": "2 — relay pr_create (POST pulls, POST issues/37475/assignees) in run 45776304119, read-back 9729 bytes sent and stored; this report comment through post-stamped. Plus 1 git push.",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: none · noted, not filed: the same paragraph's first clause ('a field the caller cannot read carries no value') describes a field the served schema shows and field-level security withholds; a field the served schema hides has no entry at all. The clause is true for the case it names. In the PR's Acceptance notes."
     ]
    }

    Report taken 2026-11-26T07:54Z.

  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbeF2saT6wUBV4E9uc

    Merged: PR #37475 at df0894a664 (approver os-zhuang) closed this card by Fixes. Delivered: context-packs.md teaches the left-out related list (one not_visible note, never named) and which gates still refuse the call 403; ratchet row unchanged. Left: #37486 (an undefined related object answered not_visible for every caller, N1 of 7186128335). pm:dispatched removed.

  12. removed
    pm:dispatched
    on Nov 26, 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:skillspriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions