Skip to content

skills(objectstack-data): the data-hooks reference still filters task on a hand-named owner, not owner_id (follow-up of #33560) #33722

Closed

Description

@objectstack-fleet

domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

Filing gate: ① (a follow-up owed by work in flight: the at-tier contract review 6891083453 on PR #33720, card #33560, found this outside its diff, by reading).

PR #33555 (card #33506) teaches that a record's owner is the injected owner_id, and PR #33720 (card #33560) moved the ui, query and automation examples onto it. skills/objectstack-data/references/data-hooks.md line 304 (on main) still filters task on a hand-named { owner: uid }, the same family the two PRs retired. An agent copying it declares or reads an owner field beside the injected one.

What lands

Point the example at owner_id. No restatement of the data rule. @objectstack/skills patch changeset. skills/** only, Clause-②: no.

Activity

  1. added
    documentation
    finding
    domain:skills
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:skills · p2 · 2026-11-15T07:47Z

    ⛔ Not a claim.

    The data-hooks reference still filters on a hand-named owner, not owner_id. It is the same teaching fault as #33560 (p2), so p2.

  3. added
    pm:queue
    priority:p2
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb

    Claim: PM loop round 11
    Session: session_01FEkQ5pjSPT7ui2EUcunaVb
    Account: os-project-manager
    Branch: claude/project-thread-0h6njx
    Thread session: session_01FEkQ5nj2HhB4M8Anj58gqj
    Worktree: objectstack-issue-33722
    Domain: domain:skills
    Seat: domain:skills#1
    File surface: skills/objectstack-data/references/data-hooks.md, at most two more skills/objectstack-data/** files, one changeset (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: opus (default; dispatch-gates --tier on the real diff decides), effort default
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a
    Thread-read: none
    Premise: holds (#33560 merged into the same family via PR #33720)
    Serial constraints: one card per file at a time. No other in-flight PR touches skills/objectstack-data/**.
    Order: /mnt/project-files/pm-orders/skills/order-33722.md (project file). Ruling-ref: Leehom 「后续只处理 p1 p2」 (2026-11-15T05:05Z). Claimed 2026-11-15T07:50Z.

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

    @objectstack-fleet
    ContributorAuthor

    domain:skills#1 · os-project-manager · session_01FEkQ5nj2HhB4M8Anj58gqj
    os-dev-report
    {
    "issue": 33722,
    "status": "done",
    "branch": "claude/project-thread-0h6njx",
    "pr": "#33726",
    "session": "session_01FEkQ5nj2HhB4M8Anj58gqj",
    "premise_still_valid": true,
    "summary": "skills/objectstack-data/references/data-hooks.md:304 (the ctx.api.object query-shape block) now filters task on { owner_id: uid } instead of the hand-named { owner: uid }. The order's sweep of skills/objectstack-data/** found one more site of the family: evals/objects-fields-relationships.json eval 6 named a required user field owner as the agent who holds the ticket, which a model following SKILL.md:313 would answer with owner_id; it now names reviewer, a role apart from the owner, and keeps its deleteBehavior assertions unchanged. Every other owner/assignee/assigned_to hit in the bundle was read and is correct (listed in the PR body). The data rule is not restated. Patch changeset for @objectstack/skills.",
    "tests": "No package touched, so no package suite, typecheck or ablation owed. Filter shape verified against the runtime, not the skill: ObjectRepositoryFacet.find (packages/objectql/src/engine-object-repository.ts:55) spreads the query into engine.find. Throwaway probe beside overlap-hook-template.integration.test.ts (real ObjectQL, SqlDriver better-sqlite3, QuickJSScriptRunner, bindHooksToEngine, HookSchema.parse), after turbo build --filter=@objectstack/runtime^... under the verify lock (VERDICT command-exit 0, 298s): vitest exit 0, 2/2. New line in a beforeInsert body found 1 of 3 task rows (the open u1 task); old { owner: uid } line on the same task was refused, mapDataError 400 INVALID_FILTER. Probe file deleted before commit. Eval JSON parses.",
    "gates": "Local, head 5744090: 46 derived families from dispatch-gates --commands --repo objectstack-ai/objectstack, after turbo build of lint... and formula... (cached, VERDICT command-exit 0); 45 exit 0, check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (reads every package dist; no package touched) = NOT MEASURED, CI runs it. --ran with exit codes: 46 accounted, 45 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. Ratchets: check-skills-token-ratchet exit 0, check-skill-line-ratchet exit 0. Tier: dispatch-gates --tier MANDATORY claude-fable-5-2 (skills/, no one-line exit). check-governed-merges --branch: GOVERNED, Tier H fail-closed (low-risk arm NOT MEASURED from a branch), +13/-3 over 3 files. check-governed-merges --pr 33726 after git fetch origin main: GOVERNED, Tier S via the low-risk skills arm (modified skill files and prose only, bare Clause-2 no, Metadata-protocol none, clean changeset, no security label, no fork). CI check-runs: in_progress at report time. Full list: project file pm-orders/skills/33722-gates-ran.txt.",
    "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
    "line_budget": "data-hooks.md 892 to 892 lines, 40013 to 40016 bytes, 10004 to 10004 tokens (ceiling 10011, untouched). objects-fields-relationships.json 348 to 348 lines, 21847 to 21862 bytes (eval fixture, measured not ratcheted). All skills/*/SKILL.md 4588 to 4588 lines, 236182 to 236182 bytes. Bundle total 245444 to 245448 tokens.",
    "files_changed": [
    ".changeset/33722-skills-data-hooks-owner-id-filter.md",
    "skills/objectstack-data/evals/objects-fields-relationships.json",
    "skills/objectstack-data/references/data-hooks.md"
    ],
    "deviations": [
    "Model: dispatch-gates --tier answers MANDATORY claude-fable-5-2 for skills/
    ; this thread ran on the configured session model (Opus). The seat owns the at-tier contract review.",
    "Second file (eval 6) is inside the order's surface (at most two more skills/objectstack-data files) under ruling 3, the sweep.",
    "os-dev.md rule 2 says pr_create carries the claim Account as assignee; the standing lines say send no assignees. Followed the standing lines (read-back: assignees none).",
    "No labels sent: the order names none (os-dev.md: empty intersection means zero writes); skills diff is not skip-changeset.",
    "PR body ends with the standing lines' signed HTML comment; os-dev.md bans dev-written HTML comments. Followed the standing lines, as precedent PRs #33555 and #33720 did."
    ],
    "mcp_calls": "3 — mcp__github__issue_read (get 33722, get_comments 33722 twice); all reads, no MCP write",
    "api_writes": "2 — relay pr_create (repository_dispatch, run 43693391070, PR #33726, read-back identical 9509 bytes); this os-dev-report comment via post-stamped. Plus git push (not a REST write).",
    "open_questions": [],
    "security_findings": "none",
    "out_of_scope_findings": []
    }


    Generated by Claude Code

  7. added a commit that references this issue on Nov 16, 2026
    8b6c145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationdomain:skillsfindingpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions