You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5981f72
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/MACHINE_ACCESS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ bun scripts/index-search.ts
60
60
61
61
`--plan` is local and read-only. `--check` requires the search database and reports missing, stale or retired documents without writes. It compares stored chunk text, embedding model and input identity, headings, citations and metadata with the canonical catalog. The final command prepares bounded embedding batches, atomically updates one document at a time, and removes retired documents only after all page updates succeed. A failed page leaves its previous index intact. Citation or metadata changes reuse existing vectors when the embedding input is unchanged. The canonical index includes authored content and generated API operations; the agent VFS retains its deliberate `academy` and `api-reference` exclusions.
62
62
63
-
Add one or more `--path=/introduction` arguments to plan, check or repair specific canonical pages. Scoped publication never retires other pages. Publication and checks acquire an exclusive PostgreSQL advisory lock; a competing invocation fails before changing rows. The main-branch workflow also serializes publisher jobs and checks out current `main`, including when an older queued workflow starts. Do not run an older publisher checkout against the index.
63
+
Add one or more `--path=/introduction` arguments to plan, check or repair specific canonical pages. Scoped publication never retires other pages. Publication and checks acquire an exclusive PostgreSQL advisory lock; a competing invocation fails before changing rows. Automatic index publication is disabled. The main-branch workflow only publishes after a manual dispatch with `publish` confirmed, the serving docs deployment ID, its full source SHA, and a restorable index backup reference. It checks out the dispatch's exact SHA and rejects a different deployment revision before accessing the index. The operator must independently verify the serving deployment and backup before confirming; the workflow records that attestation but does not create or validate a backup. Publisher jobs remain serialized. Do not run an older publisher checkout against the index.
64
64
65
65
Set `DOCS_SEARCH_REPORT_PATH` to choose the JSON report destination. The default is `test-results/docs-search-index.json`. Reports include embedding request, input and provider token counts. The main-branch docs workflow retains separate publication and freshness reports; no production indexing is part of the docs build.
0 commit comments