Skip to content

feat(docs): doc feedback loop — shell functions, palette entries, !qes doc verb - #55

Merged
mdheller merged 1 commit into
mainfrom
feat/doc-feedback-loop
Aug 4, 2026
Merged

feat(docs): doc feedback loop — shell functions, palette entries, !qes doc verb#55
mdheller merged 1 commit into
mainfrom
feat/doc-feedback-loop

Conversation

@mdheller

@mdheller mdheller commented Aug 4, 2026

Copy link
Copy Markdown

Summary

  • _turtle_doc_feedback_bin() helper follows same pattern as _turtle_matrix_bridge_bin() for PATH resolution
  • docfb <doc_ref> <sentiment> [comment] — submit feedback receipts; accepts emoji shortcuts (👍=up, 👎=down, =question)
  • docfaq [<doc_ref>] — show Noetica-derived FAQ stubs from ~/.local/state/sourceos/doc-feedback/faq-stubs.jsonl
  • docdistill [<doc_ref>] — invoke turtle-doc-feedback distill which calls turtle-noetica-stream per doc_ref group
  • Three palette entries (doc_feedback, doc_faq, doc_distill) + dispatch actions in turtleterm.lua

Paired with [prophet-platform feat/matrix-qes-doc-verb] for !qes doc feedback|list|faq|distill Matrix commands.

turtle-doc-feedback binary landed in main via #54.

Test plan

  • docfb ADR-031 question "What happens on tunnel drop?" — writes receipt to ~/.local/state/sourceos/doc-feedback/receipts.jsonl
  • docfb ADR-031 👍 — emoji alias resolves to up
  • docfaq ADR-031 — shows stub if distillation has run
  • docdistill ADR-031 — calls Noetica and writes FAQ stub
  • CMD+P palette shows three 📖 Doc entries

…rix !qes doc verb

Shell functions (turtle-shell-init.zsh):
  - _turtle_doc_feedback_bin() — locate turtle-doc-feedback binary
  - docfb <doc_ref> <sentiment> [comment] — submit feedback; emoji shortcuts (👍/👎/❓)
  - docfaq [<doc_ref>] — show Noetica-derived FAQ stubs
  - docdistill [<doc_ref>] — run Noetica distillation over feedback receipts

Palette (turtleterm.lua):
  - 📖 Doc feedback: submit (docfb)
  - 📖 Doc FAQ: show stubs (docfaq)
  - 📖 Doc FAQ: distill (docdistill)

Paired with prophet-platform feat/matrix-qes-doc-verb for !qes doc Matrix verb.
@mdheller
mdheller merged commit b982b15 into main Aug 4, 2026
14 checks passed
@mdheller
mdheller deleted the feat/doc-feedback-loop branch August 4, 2026 15:51
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