About this software
knowledge 0.0.32
Prerelease. New: designs and plans are records (DR-0096): kb record new –kind design writes design/DS-NNNN-slug.md and –kind plan plans/PL-NNNN-slug.md, each with its own prefix and numbers, accepted only by a person at a terminal like a decision; ingest reads them. A document is found by kb search as soon as it is ingested, by its title, front-matter description and section headings (a new documents.description column, carried by export, import and merge), and by meaning with kb search -semantic after kb embed (DR-0091, DR-0092); section text is still not searched. Fixed: kb record show and relates-to say when a record file is on disk but not ingested. The man pages start with YAML front matter and the documentation site is published as Markdown too, with a /.well-known/toc.opml, for BonBon browsers and cmarkbrowser. Third-party modules refreshed (fountain v1.0.4); release.bash and release.ps1 follow workspace DR-0012 and resume an interrupted draft release (DR-0013). Embedding of the document entry has not been measured with the real model.
Authors
A standalone SQLite3-backed knowledge base for tracking projects, observations, concepts, decision records, and narrative documents across independent experiments in the rsdoiel/Laboratory workspace. Extracted from the harvey terminal agent’s knowledge.go, this module provides a typed CRUD API (Open, AddProject, AddObservationWithSource, AddConceptWithIdentifier, Search, and related methods) plus UUID-based row identity and a SQL/ATTACH-based cross-machine merge tool, so other experiments and language-model harnesses can read and write structured observations directly instead of raw sqlite3 CLI inserts. Ships cmd/kb, a single “kb VERB ARGS” binary (matching the git/go command model) covering the full API with both human-readable and –json output, a merge verb for reconciling two databases that drifted independently, and a read-only interactive TUI browser for exploring projects, observations, and concepts. It also indexes Decision Records – episode-scoped Markdown files with YAML frontmatter, kept in a project’s decisions/ directory – as first-class rows, so the reasoning behind a decision is retrievable rather than living only in files the knowledge base never reads. Inline [[wikilink]] tagging and frontmatter tags/keywords resolve to concepts at ingest time (records and documents alike), an embedder-free RecallByConceptNames/MatchConceptNames pair gives small/CPU-only models a cheap concept-based retrieval path ahead of any vector RAG, and a documents/document_sections schema ingests narratives and articles (Markdown, Fountain, plain text) at graduated abstraction levels – a document-level gist plus per-section summaries, each going through an explicit human review step before being trusted as searchable content.
Programming languages
- Go >= 1.27.4
Software Requirements
- Go >= 1.27.4
- gopkg.in/yaml.v3 >= 3.0.1
- github.com/rsdoiel/fountain >= 1.0.4
- git >= 2.0 (runtime, for kb document frontmatter’s provenance detection)
Software Suggestions
- CMTools >= 0.0.45b
- Pandoc >= 3.9
- GNU Make >= 3