Skip to content

Commit 4f67925

Browse files
committed
docs(spec): the knowledge_source upgrade entry no longer lists what starts the build
The entry said the renamed source is built "at the next boot or by `os knowledge rebuild` where `buildAtBoot` is `false`". main now has a third moment, the scheduled reconcile, which builds a source the adapter holds nothing for exactly as the boot pass does. The entry's point is what the build costs, not what starts it, so the sentence says that: every record the source covers is read, and on an adapter that embeds the content fields of each are sent to the embedding provider again. Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9c0b259 commit 4f67925

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/spec/src/migrations/entries/semantic/19.knowledge-source-registration-governed.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ export const entry: SemanticMigration = {
4444
+ 'registered in code belongs to no package: it is read as the environment\'s own source and keeps its '
4545
+ 'name, its index and its documents, so nothing is rebuilt. One source is the exception: one whose `id` '
4646
+ 'began with an underscore. Its name has to change, and an adapter keys everything it holds for a source '
47-
+ 'by the source\'s name. So the renamed source is built from nothing, at the next boot or by '
48-
+ '`os knowledge rebuild` where `buildAtBoot` is `false`; on an adapter that embeds, that build sends its '
49-
+ 'content fields to the embedding provider again for every record. The adapter also keeps the index it '
50-
+ 'built under the old id. No source '
47+
+ 'by the source\'s name. So the renamed source is built from nothing under its new name, as a source the '
48+
+ 'adapter has never held is: every record it covers is read, and on an adapter that embeds, the content '
49+
+ 'fields of each are sent to the embedding provider again. The adapter also keeps the index it built '
50+
+ 'under the old id. No source '
5151
+ 'holds that key any more: nothing searches that index or keeps it in step with the records, and nothing '
5252
+ 'drops it, because the service drops the index of a `knowledge_source` item it stops serving and never '
5353
+ 'that of a registration in code. A source registered in code shares one slot with a source of the same '

0 commit comments

Comments
 (0)