docs: bring README, skill and dist up to date through P5a
README gains API, CLI and configuration sections and the PDF range/grep/question limits; the skill covers PDF busy and failure results; dist/sift.service matches the Nix unit (MemoryMax=1G, secret.env); the example config drops the unused [upstreams] block; stale task comments in api/pdf.go. Gate overridden by the owner: TestGrepLimits (given test) exceeds its 1 s budget under -race on this host. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vendored
+2
-1
@@ -28,7 +28,7 @@ RestrictRealtime=true
|
||||
RestrictSUIDSGID=true
|
||||
LockPersonality=true
|
||||
MemoryDenyWriteExecute=true
|
||||
MemoryMax=512M
|
||||
MemoryMax=1G
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallFilter=~@privileged
|
||||
@@ -37,6 +37,7 @@ AmbientCapabilities=
|
||||
ReadWritePaths=/var/lib/sift
|
||||
ConfigurationDirectory=sift
|
||||
StateDirectory=sift
|
||||
EnvironmentFile=-/var/lib/sift/secret.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Vendored
+3
-7
@@ -1,5 +1,6 @@
|
||||
# sift configuration. P0 uses -listen and -deny-prefix; remaining keys are P1+.
|
||||
# This file is an example: the service does not assume Nix store paths.
|
||||
# sift configuration (/etc/sift/config.toml, or $SIFT_CONFIG). Every key is optional;
|
||||
# commented values are examples. The service does not assume Nix store paths.
|
||||
# Paid-search keys (BRAVE_API_KEY, TAVILY_API_KEY) go in /var/lib/sift/secret.env, not here.
|
||||
|
||||
listen = "127.0.0.1:8890"
|
||||
|
||||
@@ -8,11 +9,6 @@ listen = "127.0.0.1:8890"
|
||||
# Set on-box; do not commit residential addresses to git.
|
||||
# deny_prefixes = ["203.0.113.0/24"]
|
||||
|
||||
# [upstreams]
|
||||
# searxng = "http://127.0.0.1:8888"
|
||||
# dixie = "http://dixie.scylla-hammerhead.ts.net:11434/v1"
|
||||
# honcho = "http://rift.scylla-hammerhead.ts.net:8000"
|
||||
|
||||
# user_agent = "sift/dev"
|
||||
|
||||
# [self_ip]
|
||||
|
||||
Reference in New Issue
Block a user