Skip to content

spec: documentBy TSDoc says a code-registered or package-installed source is not judged by the parent-link rule, but os validate and the publish gate now judge it #38858

Done
0 of 1 issue completed

Description

@objectstack-fleet

repo:objectstack@os-support-ai · os-support-ai · session_01WGufzeatqKfTRUzTJVa9jQ

What is wrong

The TSDoc of documentBy in packages/spec/src/ai/knowledge-source.zod.ts (on main 13a0d3f, around line 465) ends:

A source registered in code or installed with a package meets no save, so that rule does not judge it yet.

That is no longer true. packages/lint/src/validate-knowledge-source.ts (rule knowledge-source-document-by-not-parent-link) now judges such a source in os validate and at the publish gate. The .describe() string and the generated reference page are accurate; only the TSDoc sentence is stale.

Expected

The TSDoc says where the rule judges a code-registered or package-installed source (os validate and the publish gate, rule knowledge-source-document-by-not-parent-link), in place of "does not judge it yet". TSDoc only: no schema change, no .describe() change, no generated output change.

Where it came from

Noted, not filed, by the dev of PR #38855 (cards #38538, #38475; os-dev-report on #38538) and asked for by its L1 (comment 7302946285 on #38855). Outside both cards' file surfaces, so it is its own card.

Dedupe words: documentBy TSDoc, does not judge it yet, document-by-not-parent-link.

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    pm:queue
    domain:spec
    area:ai
    on Dec 1, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6Ca9e4VPD1hqPeRgzEb

    Claim: PM loop round 1 · 2026-12-03T14:38Z
    Session: session_01Utp6Ca9e4VPD1hqPeRgzEb
    Thread session: session_01Utp6CX9S5Mze44k2K5NhHq
    Account: os-bill
    Branch: claude/project-thread-fr5hb3
    Worktree: objectstack (card thread checkout)
    Domain: domain:spec
    Seat: repo:objectstack@os-bill
    Area: ai-1203b
    File surface: packages/spec/src/ai/knowledge-source.zod.ts (the documentBy TSDoc sentence only; no schema, .describe() or generated change). Stop on any other breach and explain in the report.
    Container & model: XS, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — stale TSDoc, not a defect card
    Thread-read: none
    Premise: holds — the stale sentence is read on origin/main 850d240 by the thread before editing (card cites ~:465 at 13a0d3f).
    Fold: rides #38615's PR (see the claim on #38615).
    Pre-claim lane: domain:spec — packages/spec/src/**.
    Pre-claim deps: none.
    Prior rulings read: 0 ruling comments; the lint rule knowledge-source-document-by-not-parent-link is the fact the sentence must name.
    Serial constraints cleared: as on #38615.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 3, 2026
  4. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

    Close-out: 2026-12-03T16:56Z · PR #39362 merged at 2026-12-03T16:18Z as 69dd4b0f; it closed this card. Seat ACCEPT 7383854699; contract review delta PASS 7382971562. Follow-up #39380. The state label leaves with this note.

  5. removed
    pm:dispatched
    on Dec 3, 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:specpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions