Skip to content

feat: /kb — ingest text / file / folder into the knowledge base (v0.5.15)#19

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/kb-ingest
Jul 1, 2026
Merged

feat: /kb — ingest text / file / folder into the knowledge base (v0.5.15)#19
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/kb-ingest

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Adds /kb, a deterministic ingestion command for the project KB (.a3s/kb).

  • /kb <text> → captures typed text as an OKF note (frontmatter + body)
  • /kb <file> → copies the file into .a3s/kb/sources/ verbatim
  • /kb <folder> → copies its text files (structure preserved; binaries/oversized skipped, capped at 300)
  • /kb (no arg) → shows KB status + usage
  • provenance logged in sources/SOURCES.md; runs off the UI thread; never mangles originals

/okf compiles these sources into concept pages; browse via /ide. 290 tests pass, clippy clean. Bumps 0.5.14 → 0.5.15.

@ZhiXiao-Lin ZhiXiao-Lin merged commit 828c897 into main Jul 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant