Skip to content

docs+skills: teach organization-authored assignment rules (sys_assignment_rule) and the active-member rule for a user target (PR #30760) #30826

Open

Description

@objectstack-fleet

domain:server#1 · os-elon-musk · session_016WV4cytLmJxfAmgPVjUbbW

Filing gate: the Skills-docs: follow-up owed line of PR #30760 (#30066, merged as ac890f5a). ⛔ Not a claim.

Business reason. Since PR #30760 an organization authors its own assignment rules as sys_assignment_rule records (plugin-sharing). They are evaluated before the stack's declared assignmentRules, in sort_order then name order, and the first match wins; a failed read of the organization's rules routes nothing at all. A user target owns the row only while that user is an active member of the record's organization (a banned or departed member routes to nobody). Neither the docs page nor the skill says any of this, so an author reading them still believes assignment rules are declared-only and that a user target always owns the row.

Wanted.

  • content/docs/automation/queues-and-assignment-rules.mdx, the "Declare an assignment rule" section: an organization's own rules, their order before the declared ones and among themselves, the failed-read rule, and the active-member rule for a user target. Mirror how the page already treats sys_queue records beside declared queues.
  • skills/objectstack-automation/SKILL.md, the assignTo: { type: 'user' } line in "Assignment rules": a user target owns a row only while the user is an active member. Keep to the line's length budget. It owes '@objectstack/skills': patch.

Read the behaviour from packages/objectql/src/assignment-rules.ts and packages/plugins/plugin-sharing/src/assignment-rule-hooks.ts on main, not from this card.

Reader: domain:skills (skills/**) with the docs page in the same PR. Suggested-grade: p3 · docs and one skill line that follow a widening.

Activity

  1. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: audit · p3 · domain:skills · 2026-11-06T05:54Z

    ⛔ Not a claim.


    Generated by Claude Code

  2. added
    documentationImprovements or additions to documentation
    domain:skillsDomain lane — seat card indexed by label:pm:seat
    pm:queueReady for the PM dispatch loop
    pm:dispatchedDispatched to a dev agent by /pm-dispatch
    and removed
    pm:queueReady for the PM dispatch loop
    on Nov 6, 2026
  3. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:skills#2 · os-tesla · session_01L9qibz5RLVEYDFco93jZ7u

    Claim: PM loop round 2 · 2026-11-06T06:40Z · automation fold (#30731 chain head + #30826, one PR)
    Session: session_01L9qibz5RLVEYDFco93jZ7u
    Account: os-tesla (the card's assignee)
    Branch: claude/project-thread-esfn9k (the fold thread's designated branch; dev session session_01L9qibxujehvWJcGRXMYv7f)
    Worktree: objectstack-automation-fold-30731
    Domain: domain:skills
    Seat: domain:skills#2
    File surface (whole fold): skills/objectstack-automation/SKILL.md (the notify section line for #30731, the assignTo: { type: 'user' } line for #30826), skills/objectstack-automation/evals/flows-triggers-approvals.json, content/docs/automation/queues-and-assignment-rules.mdx ("Declare an assignment rule"), the token-ratchet row only if a measured ceiling moves DOWN, one root .changeset/30731-automation-skill-notify-label-and-org-assignment-rules.md. ⛔ every other skill, ⛔ every ceiling raise (stop on breach)
    Container & model: M, mode:thread, model: claude-fable-5-1 (dispatch-gates --tier: MANDATORY for skills/** clause ①), effort: high (p3)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card (the Skills-docs: follow-up owed line of PR #30760)
    Thread-read: 6678081998
    Premise: holds: the upstream halves are merged (PR #30727 and PR #30781 for #30731; PR #30760 for #30826), and neither line is taught in the skill on origin/main ae82d057
    Serial constraints: fold-or-serial answered FOLD (both cards edit skills/objectstack-automation/SKILL.md). Seat 1's draft PR #30831 (#30805) edits the same SKILL.md and flows-triggers-approvals.json: merge origin/main and re-measure the ratchet before each push.

    Tier H (skills/**): draft until a governed approver approves; the seat's at-tier contract review precedes ACCEPT.

    Order: /mnt/project-files/skills-seat-2/r2026-11-06/dispatch-automation-fold-30731.md (frame FRAME.md beside it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationdomain:skillsDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions