feat(integration): runbook triage hints, dashboard panel, note→memory bridge - #49
Merged
Merged
Conversation
…→memory extract turtle-shell-init.zsh: - Error triage: after Noetica triage line, searches runbooks for the failed command and prints matching runbook name as a ◈ suggestion (1 liner, dim) - note(): auto-extracts facts from note title to turtle-noetica-memory in the background (&!) after saving — bridges ephemeral notes to persistent AI memory turtle-mesh-serve: - RUNBOOKS_DIR constant at ~/.local/state/sourceos/runbooks/ - gather_state(): loads up to 12 most-recent runbook YAMLs (name/desc/tags) - Dashboard: "Runbooks" card showing runbook chips; click copies rb run <name> to clipboard; shows hint when empty
mdheller
force-pushed
the
feat/runbook-integration-mesh-panel
branch
from
August 4, 2026 07:54
1616cb3 to
40d0932
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three tight integrations connecting the features shipped in #47 and #48.
1. Runbook suggestion alongside error triage
When auto error triage fires (non-zero exit → Noetica explain at next prompt), TurtleTerm now also searches the runbook library for the failed command. If a match is found, it prints a dim suggestion line:
One
rb run diagnose-dnsaway from the fix.2. Runbooks panel in mesh dashboard
http://localhost:7788now has a Runbooks card showing all runbooks as clickable chips. Clicking a chip copiesrb run <name>to clipboard. Empty state shows therb new <name>hint.3. note() → persistent memory auto-extract
When
note "my idea"saves to~/notes/, it firesturtle-noetica-memory extract "$title"in the background — extracting memorable facts from the note title and saving them to the SQLite memory store. Notes become retrievable vianoe "what ideas do I have about X".Test plan
kubectl get podswithout a cluster) → triage shows + runbook suggestion appears if a k8s runbook existsrb new k8s-debug→ create a runbook → mesh dashboard shows it in the Runbooks cardrb run k8s-debugin clipboardnote "prefer immutable infra for all prod changes"→noe "what do I prefer for prod"→ references it