Repository navigation
docs: DELETE /v1/slide/facts in api.md; control.md's stale native refusal dropped - #2341
Merged
Merged
Conversation
Owner
Author
|
/atc exchange 3e34ce65de7c22c26b88a90580f22156c1c53ddcb5322ed631d222731bd399f9 |
The native binary serves both today: zig/src/server/cli.zig:117 parses
--spill-gib (.native = served("--spill-gib")) and zig/src/server/cli.zig:467
parses --vision; zig/src/native/metal.zig:24 and zig/src/native/cuda.zig:37
list --spill-gib among the flags their backends serve; docs/api.md:816
documents --spill-gib and docs/api.md:908 documents --vision natively.
The sentence predates that and claimed the native binary refuses both.
The route is served (zig/src/server/routes.zig:47 dispatches it to zig/src/server/slide_forget_many.zig:64-89) and documented in docs/living-weights.md:288-305, but the table here listed only its four siblings. Row facts from code: ids must be 1 to 256 distinct learned fact IDs (zig/src/server/slide_forget_many.zig:24-37, error text at :81); the whole selection is validated before any cut (:76 validates before :82 opens the stream); the optional reason reaches the delete (:87); one transaction, graph links never add another fact (:1).
ashhart
force-pushed
the
lead/docs-api-1106
branch
from
November 7, 2026 01:02
7aa732a to
2987a73
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two docs fixes from a check of
docs/api.mdanddocs/control.mdagainst the server's routes (routes.zig) andserve's flags (cli.zig):docs/api.md's Living Weights route table gainsDELETE /v1/slide/facts. It's served (routes.zig:47toslide_forget_many.zig): 1 to 256 distinct learned fact IDs in one transaction, the whole selection validated before any cut, and an optional reason.living-weights.mdalready documents it.docs/control.mddrops a stale clause saying the native binary refuses--spill-giband--vision. The native server serves--spill-gib, and it serves--visionfor the modelsvision.mdlists.The rest of the check matched:
--dashboard's gating of/statsand/dashboard;Thirteen native
serveflags are parsed but not documented anywhere. They're for a follow-up. Docs only.