Skip to content

Commit 3fec4c9

Browse files
PRAteek-singHWYnorthdpole
authored andcommitted
week_3: document ops posture for the librarian CLI (production note)
Address northdpole's production note on #937: record at the run_librarian entrypoint that it is opt-in CLI only (not on Procfile, not wired into web or worker until W8) and that the paid embedding API cost is incurred only on manual runs, never by the running deployment.
1 parent 977cec6 commit 3fec4c9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

application/cmd/cre_main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,11 @@ def run_librarian(
10771077
decision/threshold routing (C.3-C.4, W5) and graph writes (W8) are not
10781078
built yet, so this is dry-run only: it never writes a link. ``--run_librarian``
10791079
without writes behaves identically and warns.
1080+
1081+
Ops note: this is opt-in CLI only — it is not on the ``Procfile`` and is
1082+
wired into neither the web app nor the background worker (that lands W8).
1083+
It calls the paid embedding API, so cost is incurred only when someone runs
1084+
the command manually; the running deployment never triggers it on its own.
10801085
"""
10811086
from application.utils.librarian.candidate_retriever import (
10821087
CandidatePool,

0 commit comments

Comments
 (0)