{"modulePath":"github.com/baekenough/second-brain","version":"v0.25.4","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/baekenough/second-brain/cmd/askeval","name":"main","synopsis":"Command askeval runs issue #266's offline end-to-end evaluation of POST /api/v1/ask against the fixture corpus in eval/ask/fixtures (or a directory given via --fixtures).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/collector","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/eval","name":"main","synopsis":"Command eval runs the nightly evaluation pipeline.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/evalcompare","name":"main","synopsis":"Command evalcompare pairs two cmd/eval --dump v2 files (baseline vs candidate) by query_id and reports per-slice regressions with a fixed-seed paired bootstrap confidence interval (issue #269).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/mcp","name":"main","synopsis":"Package main implements the MCP (Model Context Protocol) server for second-brain.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/recordingbackfill","name":"main","synopsis":"Command recordingbackfill migrates call-recording audio files (and their JSON sidecars) that were ingested before v0.21.2 (#164) and therefore still carry a raw phone number in plaintext:","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/scout","name":"main","synopsis":"Command scout is the second-brain knowledge scout.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/server","name":"main","synopsis":"","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/sparsectx","name":"main","synopsis":"Command sparsectx backfills chunk_sparse_context (migration 040, #270 phase B) — the derived sparse-matching text (title/participants header + chunk body) the SEARCH_CHUNK_SPARSE=fuse_ctx search knob reads.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/cmd/tune","name":"main","synopsis":"Command tune searches for better hybrid-search weights against the labelled feedback collected by /ask, and — when the evidence is strong enough — promotes them.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/action","name":"action","synopsis":"Package action computes the deterministic identifiers Part A's structural and LLM extraction paths both use for the actions table — most notably identity_key (spec §5.5), whose stability across re-extraction is what lets a user's done/ignored decision (action_status) survive a rerun.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/api","name":"api","synopsis":"Package api wires together the HTTP router, middleware, and handlers.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/askeval","name":"askeval","synopsis":"Package askeval implements issue #266's offline end-to-end evaluation runner for POST /api/v1/ask: it drives the REAL handler (internal/api, via httptest — see runner.go) against a synthetic, isolated corpus (see corpus.go) and a scripted LLM (see llm.go), so retrieval, query rewriting, the query planner, excerpt budgeting, synthesis, and the deterministic citation validator (issue #268) all run exactly as they do in production — never a mock of /ask's own logic.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/audiovalidate","name":"audiovalidate","synopsis":"Package audiovalidate provides lightweight audio-file integrity checks that run before expensive transcription or disk-write operations.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/auth","name":"auth","synopsis":"Package auth provides shared token sources for HTTP-based API clients (embeddings, LLM chat completions, etc.) that authenticate with CliProxyAPI-issued OAuth tokens or static API keys.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/briefing","name":"briefing","synopsis":"Package briefing turns a set of open actions into a short, evidence-backed summary.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/calendarauto","name":"calendarauto","synopsis":"Package calendarauto registers confirmed future appointments from new communications.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/chunkctx","name":"chunkctx","synopsis":"Package chunkctx builds the deterministic context header that gets prepended to a chunk's text before it is used as either an embedding input (internal/scheduler) or a sparse-search match target (internal/search, internal/store — issue #270).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/chunker","name":"chunker","synopsis":"Package chunker — adaptive strategy selection.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/classify","name":"classify","synopsis":"Package classify implements the retention/segment classification pipeline for SMS, Gmail, and call documents: a deterministic Gate that short-circuits obvious cases and asymmetrically bounds the Jev-based Classifier's output, plus the Classifier itself (see classifier.go).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/collector","name":"collector","synopsis":"Package collector defines the Collector interface and common types used by all source-specific collectors.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/collector/extractor","name":"extractor","synopsis":"Package extractor provides content extraction for binary and structured file formats (HTML, PDF, Office, etc.) that cannot be read as plain text.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/collector/smsmap","name":"smsmap","synopsis":"Package smsmap provides pure functions that map raw SMS and call-log fields to model.Document.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/config","name":"config","synopsis":"Package config — embedding_check.go","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/curation","name":"curation","synopsis":"","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/dataset","name":"dataset","synopsis":"Package dataset owns the train/holdout split of the search feedback labels and the boundary that keeps the holdout half out of the optimiser's reach.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/durable","name":"durable","synopsis":"Package durable provides reusable helpers for building durable, retry-safe workflows.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/evalcompare","name":"evalcompare","synopsis":"Package evalcompare pairs two cmd/eval --dump files (baseline vs candidate) by query_id and reports per-slice regressions with a fixed-seed paired bootstrap confidence interval, instead of collapsing everything into one macro-average delta.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/evaldump","name":"evaldump","synopsis":"Package evaldump reads the JSON Lines dump files written by cmd/eval's --dump flag (cmd/eval/diagnostics.go).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/graph","name":"graph","synopsis":"Package graph owns every interaction with the Neo4j derived projection.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/httperr","name":"httperr","synopsis":"Package httperr 는 외부 HTTP API(임베딩·리랭크·LLM 등)의 응답을 읽을 때 쓰는 상한 있는 읽기와 오류 정제 헬퍼를 모은다(#288 3항).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/intent","name":"intent","synopsis":"Package intent implements Stage 1 of the /ask pipeline: classifying a user's natural-language question into a Kind that Stage 2 uses to shape document retrieval (entity-weighted search, recency sort, exact-token matching, or a plain general search).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/jev","name":"jev","synopsis":"Package jev provides a client for the TypeSafe \"Jev\" classification API (POST https://api.typesafe.ai/v1/systemone).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/llm","name":"llm","synopsis":"Package llm provides an OpenAI-compatible chat completion client.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/logsafe","name":"logsafe","synopsis":"Package logsafe 는 로그·오류·트레이스로 나가는 값에서 개인정보를 걷어내는 헬퍼를 모은다(#297).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/model","name":"model","synopsis":"","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/note","name":"note","synopsis":"Package note contains the shared logic for persisting a user- or agent-authored note into the second-brain knowledge base.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/recordingbackfill","name":"recordingbackfill","synopsis":"Package recordingbackfill implements the one-time backfill described in issue #166: migrate call-recording audio files and their JSON sidecars that were ingested BEFORE v0.21.2 (#164) and therefore still carry the raw phone number in plaintext — either in the on-disk filename ({rawNumber}_{timestamp}.ext) or in the sidecar's \"number\" field (instead of the current number_hash-only scheme).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/scheduler","name":"scheduler","synopsis":"Package scheduler periodically triggers collectors and persists the resulting documents.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/search","name":"search","synopsis":"Package search provides the search service and embedding engine abstractions.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/setup","name":"setup","synopsis":"Package setup implements an interactive setup wizard for the collector binary.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/sparsectx","name":"sparsectx","synopsis":"Package sparsectx runs the #270 phase B backfill: it fills chunk_sparse_context (migration 040) with deterministic sparse-matching text (internal/chunkctx.BuildSparseText) for every chunk, in batches so a run can be interrupted and resumed without re-scanning everything or losing progress.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/sparseq","name":"sparseq","synopsis":"Package sparseq 는 문장형 질의에서 희소(sparse) 레인용 키워드를 뽑는다(#276).","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/store","name":"store","synopsis":"Package store provides PostgreSQL-backed persistence for documents and chunks.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/telemetry","name":"telemetry","synopsis":"Package telemetry configures OpenTelemetry tracing for the second-brain backend and exports spans to a self-hosted Langfuse instance over OTLP/HTTP.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/textclean","name":"textclean","synopsis":"Package textclean은 청킹 직전에 적용되는 소스별 텍스트 전처리를 모아둔다.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/timeutil","name":"timeutil","synopsis":"Package timeutil holds the single timezone Second Brain resolves calendar boundaries and renders dates in.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/tune","name":"tune","synopsis":"Package tune measures search-weight candidates against labelled feedback.","isRedistributable":true},{"path":"github.com/baekenough/second-brain/internal/worker","name":"worker","synopsis":"Package worker provides background goroutine workers for the second-brain service.","isRedistributable":true}],"total":49}}
