Skip to content

fix(spec): affinity places bound stated as one entry's, pins for its equalities; documentBy TSDoc - #39362

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-fr5hb3
Dec 3, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-fr5hb3

Conversation

@os-bill

@os-bill os-bill commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Requested by Bill · project thread

Fixes #38615
Fixes #38858

What changes

Two commits, one per card.

#38615 (affinity review follow-ups N1, N2, N6, N7)

  • N1 (reword route). KNOWLEDGE_AFFINITY_MAX_PLACES' jsdoc, the places jsdoc, the affinity jsdoc and the places max refusal now say the bound is one entry's and equals the largest topK of search_knowledge; entries add, so a hit matching two boost entries (two on one field included) passes their sum. No bound or refusal is added: ADR-0161's "Several entries add" stands, so no ADR note is owed. Cases: the spec parses two boosts on one field at 20 each; service-knowledge orders them as a 40-place lift (fifth place on a 45-unit list, against 25th for one entry).
  • N2. New affinity-pins-38615.test.ts pins KNOWLEDGE_AFFINITY_MAX_PLACES === SEARCH_KNOWLEDGE_MAX_TOP_K, and elementsOf (affinity) against valueInIds (scope term, which calls scalarInIds) over a table of value shapes. Both helpers become module exports (not package exports).
  • N7. The same file pins the user fact of resolveAffinityFacts against resolveCallerIdentity(...).user?.id for every shape of userId. NO_AFFINITY_FACTS' jsdoc drops "or a resolve that failed".
  • N6. The knowledge-source-admission.ts CALLERS row of second-object-read-exposure.pin.test.ts now credits the reader (it never follows an entry's field) with keeping reads to sys_user and sys_business_unit for every source; the target refusal only covers sources saved through that door.

#38858. The documentBy TSDoc says os validate and the publish gate judge a code-registered or package-installed source (knowledge-source-document-by-not-parent-link), in place of "does not judge it yet". TSDoc only.

Why

Contract-review nits carried from PR #38606 (7257817094, 7259099085), and a stale TSDoc sentence noted on PR #38855.

Verification

  • packages/spec: vitest run src/ai/knowledge-source.test.ts 53/53, tsc --noEmit clean.
  • packages/services/service-knowledge: full suite 33 files / 907 tests green before the pin file was extended; after: the pin file 4/4, affinity-38503 + knowledge-search-scope green; tsc --noEmit clean.
  • packages/core: second-object-read-exposure.pin.test.ts 4/4.
  • gen:schema + gen:docs leave the tree unchanged (no generated output moves). check:test-source-alias OK, eslint clean on the changed files, overlap-check clean against main.

Clause-②: no
Metadata-protocol: none

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic.
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes.
  • 4. One issue, one branch off an up-to-date main, one pull request. (Two cards folded on one file per the claim, one commit each.)
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (Regenerated; nothing moved.)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

…e stated equalities are pinned

The jsdoc of KNOWLEDGE_AFFINITY_MAX_PLACES and the refusal of `places`
said the bound keeps a match from becoming "matches first" and is one
whole answer's worth. Entries add (ADR-0161: "Several entries add"), so
the bound is one entry's: the text now says so and that it equals the
largest topK of search_knowledge. A spec case parses two boosts on one
field at the bound; a service-knowledge case orders them as a 40-place lift.

service-knowledge pins KNOWLEDGE_AFFINITY_MAX_PLACES against
SEARCH_KNOWLEDGE_MAX_TOP_K, elementsOf against valueInIds (the scope
term's comparison), and the `user` fact against resolveCallerIdentity
(N7); NO_AFFINITY_FACTS' jsdoc drops "a resolve that failed" (N7). The
second-object-read pin's knowledge-source-admission row credits the
reader, not the save-door refusal, with keeping the reads to sys_user
and sys_business_unit (N6).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CX9S5Mze44k2K5NhHq
…d source is judged

The sentence said the parent-link rule "does not judge it yet"; os
validate and the publish gate now judge such a source
(knowledge-source-document-by-not-parent-link). TSDoc only.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CX9S5Mze44k2K5NhHq
@os-bill os-bill self-assigned this Dec 3, 2026
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:ai tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 2 package(s): @objectstack/service-knowledge, @objectstack/spec, touching 5 documentable anchor(s).

9 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/ai/knowledge-rag.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/automation/queues-and-assignment-rules.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/data-modeling/objects.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/deployment/validating-metadata.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/permissions/index.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/permissions/permissions-matrix.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/permissions/sharing-rules.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/protocol/knowledge.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/protocol/objectql/security.mdx (via business_unit (literal, a string literal in a comment on a changed line))

⛔ 2 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/implementation-status.mdx (via business_unit (literal, a string literal in a comment on a changed line))
  • content/docs/releases/v17/17-0.mdx (via business_unit (literal, a string literal in a comment on a changed line))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 71 of 256 client-bound route-ledger rows — the other 185 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 185: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 60 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 125 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 185 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 779ff419cff5f92ff056e6911abd74eb0b24d697 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 9e1e9d38a521c020043adff91fef2e28cddc15ca — the merge of head d4d6fa6d4db9e3329fb20122c0de218454d94483 into base 779ff419cff5f92ff056e6911abd74eb0b24d697, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 9e1e9d38a521c020043adff91fef2e28cddc15ca && git checkout 9e1e9d38a521c020043adff91fef2e28cddc15ca
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 779ff419cff5f92ff056e6911abd74eb0b24d697 d4d6fa6d4db9e3329fb20122c0de218454d94483 && git checkout -B drift-repro 779ff419cff5f92ff056e6911abd74eb0b24d697 && git merge --no-ff d4d6fa6d4db9e3329fb20122c0de218454d94483

node scripts/docs-audit/affected-docs.mjs --json 779ff419cff5f92ff056e6911abd74eb0b24d697

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 779ff419cff5f92ff056e6911abd74eb0b24d697 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

Contract-review-claim: session_01Utp6Ca9e4VPD1hqPeRgzEb · head 65b680c · 2026-12-03T15:04Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 65b680cb666f27b9b12abb7b570239b6e71f6f7a
Local-runs: none
Scope: packages/spec/src/ai/knowledge-source.zod.ts + packages/services/service-knowledge/src/knowledge-affinity.ts, packages/services/service-knowledge/src/knowledge-search-scope.ts

Read: cards #38615 and #38858 (bodies and all six comments), the PR body, its eight files and the net diff, and the check-runs on this head. Code on main at 850d240b was read to judge the hunks, never reviewed. The two changesets, the three test files and the second-object-read-exposure.pin.test.ts row are the lane seat's.

① Derived judgments

  • Accept set of KnowledgeSourceSchema: unchanged. Right. KNOWLEDGE_AFFINITY_MAX_PLACES stays 20, .max(KNOWLEDGE_AFFINITY_MAX_PLACES) stays, and no refinement is added. Two boost entries on one (field, caller) pair parsed before and parse now.
  • The too_big refusal of source.affinity[].places: same code, same path, new sentence. Right. An author reads other words; nothing keys on them but the spec test, which the diff moves with it.
  • Generated output: none moves. Right. No .describe() string changes, so the JSON schema, the reference pages, api-surface and export-origins stand; the diff carries no generated file and Lint & Repo Gates, Lint · docs & code guards and Spec property liveness are green on the head.
  • Package surface of @objectstack/service-knowledge: unchanged. Right. elementsOf and valueInIds gain export at module level only. src/index.ts and src/testing.ts re-export neither, and the package's exports map names . and ./testing alone.
  • Behaviour: none changes. Right. The bodies of resolveAffinityFacts, orderByAffinity, elementsOf, valueInIds and scalarInIds are untouched.
  • Check-runs on the head: 58 success, 13 skipped, none red. The three packages the diff touches ran green: @objectstack/spec in Test Core (4/12), @objectstack/service-knowledge in Test Core (10/12), @objectstack/core in Test Core (11/12) (read off the Plan Test Core shards log). Type Check · workspace, Check Changeset, Lint · ESLint and Governed Surface Queue Guard are green. One run was still in progress when this record was written: Test Core (1/12) (@objectstack/cli 1/3 and @objectstack/metadata, neither touched). Its conclusion is not covered here.

② Semver level

Two changesets, both patch: @objectstack/spec for a refusal sentence and TSDoc, @objectstack/service-knowledge for a jsdoc line, two module-level exports and test pins. That is what the diff publishes: no accepted value, exported name or behaviour moves.

Clause-②: no holds on the PR body and on both changesets: nothing a published package accepts or exposes is widened or narrowed. Metadata-protocol: none holds: the card's reword route was taken, so no summed-lift bound and no narrowing.

③ Boundary flags

④ Design judgment

packages/spec/src/ai/knowledge-source.zod.ts

The affinity hunks hold against the code they cite.

  • SEARCH_KNOWLEDGE_MAX_TOP_K is 20 and SEARCH_KNOWLEDGE_DEFAULT_TOP_K is 5 (knowledge-tools.ts:75,78), and parseInput refuses a topK above the first. So "the largest topK of the search_knowledge tool" and "four answers' worth" at the default are both exact.
  • orderByAffinity adds entry.places for every matching boost entry, with no merge of a repeated (field, caller) pair, and orders a tier by number - sum, a tie going to the larger sum. A match with sum s therefore passes at most s hits of its tier that match nothing. Worked on 45 units with the match last: one entry at 20 puts it at place 25, two at 20 each put it at place 5. "One entry's, not a source's" is what the code does.
  • One entry never counts twice for one hit: boostMatches answers a boolean, so a list value that matches several units of the caller's chain still adds that entry's places once. The per-entry bound in the new sentences is real.
  • The places TSDoc, the affinity TSDoc and the max refusal say the same thing in the same terms, and agree with ADR-0161 ("Several entries add").

No must-fix.

S1 (should-fix) — the new documentBy sentence is false for one of its two subjects.
The hunk reads: "A source registered in code or installed with a package meets no save; os validate and the publish gate judge it by the same rule (knowledge-source-document-by-not-parent-link)."
That holds for a source installed with a package. It does not hold for a source registered in code:

  • validateKnowledgeSource reads stack.knowledgeSources and nothing else (packages/lint/src/validate-knowledge-source.ts:374), and the publish gate runs the same rule on a metadata write.
  • This file's own exported prescription, CODE_DOOR_18, says: "A source registered in code (KnowledgeServicePlugin({ sources }), registerSource) is in no stack collection". The schema's TSDoc 70 lines below the hunk defines registration in code the same way.
  • The code door parses and runs no parent-link rule (registerSource, knowledge-service-sources.ts:272; the plugin calls it for each of its sources). A record-level search then groups by whatever metadata[documentBy] holds (documentKeyOf).
    So an author who registers a source in code is told that os validate judges their documentBy, and nothing does. The sentence this card replaces was wrong for a packaged source; the new one is wrong for the other half.
    Smallest fix, TSDoc only: say that a source installed with a package is judged by os validate and the publish gate under that rule id, and that a source registered in code is in no stack collection and is judged by neither. The changeset knowledge-source-document-by-tsdoc.md repeats the sentence and follows it.
    The same wording stands on main outside this diff (the lint file's header, and content/docs/protocol/knowledge.mdx near line 232: "which judge a source a package ships or code registers"). Card 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's "Expected" copied it. Those are a follow-up card, not this PR.

Nits, numbered past the card's N1 to N7 so the ids do not collide:

  • N8 (nit) — the last sentence of the KNOWLEDGE_AFFINITY_MAX_PLACES jsdoc: "To put the matches first whatever their number, write a nearest entry." A nearest entry takes caller: 'business_unit' alone (refuseAffinityEntryShape), so for a caller: 'user' boost there is no such entry to write. The refusal in the same hunk says it right: "to put the caller's own business unit first".
  • N9 (nit) — the .describe() of places is unchanged: "boost only: how many non-matching hits a match may pass, 1 to 20". It is the one sentence of this key that reaches the generated reference and the JSON schema, and it still reads as a bound on a match. Changing it moves generated output, so it is a follow-up or an accepted deviation.
  • N10 (nit) — the jsdoc now states the tool's default topK as the literal 5. SEARCH_KNOWLEDGE_DEFAULT_TOP_K is a second literal, and the new pin file holds the largest topK alone.

packages/services/service-knowledge/src/knowledge-affinity.ts

The NO_AFFINITY_FACTS jsdoc now agrees with resolveAffinityFacts, sentence by sentence. The constant is returned in three cases: no caller, isSystem === true, and a userId that is not a non-empty string. A unit read that faults goes to onUnitFault and returns a fresh object that keeps user, so "a failed unit read keeps the user fact" is right and the removed "or a resolve that failed" was wrong. export function elementsOf changes no behaviour.

packages/services/service-knowledge/src/knowledge-search-scope.ts

export function valueInIds changes no behaviour; its jsdoc is untouched and still describes the body. Read against elementsOf: both take a string or a number as String(value), a list by its elements, and nothing else, a nested list included. The equality the pin states is true of the two bodies.

Implemented-by: claude/project-thread-fr5hb3
Reviewed-by: session_01Utp6Ca9e4VPD1hqPeRgzEb

VERDICT: PASS

…sources; nearest takes business_unit only

Contract review 7382786931 S1: os validate and the publish gate read
stack.knowledgeSources only, so they judge a packaged source and never
a source registered in code. The TSDoc and its changeset now say so.
N8: the KNOWLEDGE_AFFINITY_MAX_PLACES jsdoc says a nearest entry takes
caller 'business_unit' only.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CX9S5Mze44k2K5NhHq
@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

Contract-review-claim: session_01Utp6Ca9e4VPD1hqPeRgzEb · head d4d6fa6 · 2026-12-03T15:16Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d4d6fa6d4db9e3329fb20122c0de218454d94483
Local-runs: none
Scope: packages/spec/src/ai/knowledge-source.zod.ts + none

Delta read of 65b680cb..d4d6fa6d, one commit, on top of the record in comment 7382786931 (2026-12-03T15:13Z, PASS with S1 open). Written 2026-12-03T15:19Z. The delta is 13 lines of comment text in the schema file and one changeset sentence. The service-knowledge files that the earlier record took into scope do not move, and that record stands for them. Read: the delta, the file at the new head, validateKnowledgeSource, registerSource, and the check-runs on this head. The changeset is the lane seat's and was read only to see that it follows the TSDoc.

① Derived judgments

  • Accept set of KnowledgeSourceSchema: unchanged. Right. Both hunks sit inside comment blocks. No schema call, refinement, constant, message or .describe() string moves.
  • Generated output: none moves. Right. The .describe() of documentBy is the same line before and after.
  • S1 is closed. The documentBy TSDoc now makes two claims, and both hold in the code:
    • A source installed with a package meets no save and is judged by os validate and the publish gate under knowledge-source-document-by-not-parent-link. validateKnowledgeSource reads stack.knowledgeSources, which is where a packaged source is.
    • A source registered in code is in no stack collection and meets neither. registerSource parses the source and runs no parent-link rule, and the wording matches this file's own CODE_DOOR_18.
  • N8 is closed. The KNOWLEDGE_AFFINITY_MAX_PLACES jsdoc now says a nearest entry puts the caller's own business unit first and takes caller: 'business_unit' only, so a match on the caller's user is lifted by boost alone. That is what refuseAffinityEntryShape enforces (a nearest entry with any other caller is refused), and it now reads the same as the too_big refusal below it.

② Semver level

Unchanged from the earlier record: patch on @objectstack/spec, Clause-②: no, Metadata-protocol: none. The delta publishes comment text only. The changeset body now carries both halves of the corrected sentence and agrees with the TSDoc.

③ Boundary flags

  • Commit shape. The fix is a third commit, d4d6fa6d, a descendant of 65b680cb. No force-push and no rewrite of the two card commits.
  • SQL push-down: not engaged. The delta adds no code.
  • Follow-up from the earlier record still stands, outside this PR: the lint file's header and content/docs/protocol/knowledge.mdx near line 232 still say the validator judges a source "code registers". This delta does not touch them, which is right for its scope. They need a follow-up card.
  • open_questions: none.

④ Design judgment

The delta makes the published TSDoc say what the three doors do: save, the validator with the publish gate, and registration in code. An author who registers a source in code now reads that the parent-link rule does not reach it, which is the fact they need before a record-level search groups by whatever the field holds. No design choice is added, and the earlier record's judgment of the reword route is unchanged.

No must-fix. No should-fix.

  • S1 (should-fix, earlier record): closed at this head.
  • N8 (nit, earlier record): closed at this head.
  • N9, N10 (nits, earlier record): accepted deviations, unchanged.
  • N11 (nit, new, accepted) — "so no rule judges it" reads wider than the parent-link rule the paragraph is about. A source registered in code is still parsed by registerSource, so the refinement two sentences up ("Must be one of metadataFields") does refuse it. "so that rule does not judge it" would be exact. The sentence before it names the rule id, so the reading is recoverable. This is a prose point and does not block.

Check-runs on this head when read: 38 runs, 11 success, 12 skipped, 15 in progress, 0 failed. The head is not green yet, so the landing check ② of the reference is still owed to the seat.

Implemented-by: claude/project-thread-fr5hb3
Reviewed-by: session_01Utp6CaQsbKBMQtm6Tpsamd

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor

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

席位核对

ACCEPT and landing · 2026-12-03T15:51Z · head d4d6fa6d4db9e3329fb20122c0de218454d94483 · repo:objectstack@os-bill

  1. Shape: 8 files, +137/−19, in packages/spec/src/ai/knowledge-source.*, packages/services/service-knowledge/src/ (affinity, search scope, pins), one core pin test and two changesets. Fixes #38615, Fixes #38858; Clause-②: no, Metadata-protocol: none.
  2. Premise measured: zone ai-1203b's isolated L1 at 65b680cb found no rework (text in the zone scratchpad, adopted here). The delta to this head is comment-only (13 TSDoc lines and one changeset sentence), and the delta review read it.
  3. Gates:
    • Check-runs at this head: 60 success, 13 skipped, 0 failed.
    • Contract review: PASS 7382786931 at 65b680cb, then delta PASS 7382971562 at this head, with S1 and N8 closed.
  4. Accepted deviations: N9, N10 and N11 (wording nits).
  5. Out of scope: the same false wording in the lint file header and content/docs/protocol/knowledge.mdx, plus the N6 pin row's missing lint rule, are filed as knowledge source: the lint header and the protocol docs still say the validator judges a source that code registers #39380.
  6. Landing: not governed (check-governed-merges --pr), 156 lines. The seat marks it ready and arms auto-merge. On merge, Knowledge affinity follow-ups: summed places bound and two unpinned equalities #38615 and 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 close.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review December 3, 2026 15:51
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 69dd4b0 Dec 3, 2026
74 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-fr5hb3 branch December 3, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ai size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants