feat(mqlaunch): mqobsidian read-only consumer (FAS 7b, PR1–3)#15
Merged
Conversation
…pen, doctor (PR1) Thin read-only consumer of the mqobsidian vault for mqlaunch: a single resolver (MQ_OBSIDIAN_DIR + one fallback), a manifest of supported views (config/mqobsidian/views.json, 8 grounded entries), manifest-driven open, and a health-check doctor. All paths flow through resolver + manifest — no hardcoding. Read-only verified; MQOBS_OPENER hook makes it dry-runnable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… consumer lib (PR2) Adds mqobsidian-open-repo-context.sh (repo-key -> manifest view), and routes the existing terminal/menus/mq-obsidian-menu.sh opener through the consumer lib's single open_mqobsidian_path so the menu and commands share one opener (graceful fallback if the lib is absent). No parallel menu was created — the existing menu already covered the spec's wiring. Behavior-preserving. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Removes hardcoded view paths from mq-obsidian-menu.sh: the "Open roadmap" and "Open context docs" actions now resolve through views.json (new roadmap-doc / context-budget entries), each with a repo-relative fallback if the lib is absent. Adds menu entry 14 "Open any view (manifest)" — a picker over every manifest view (number or key), exposing decisions/execution/repo hot files the panel did not list. Verified non-interactively; final panel render to be eyeballed in a TTY. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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
Makes mqlaunch a read-only consumer of the mqobsidian vault: resolve the vault, read a small manifest of supported views, open the right file/folder. mqlaunch owns no context — mqobsidian does. No writes, no scoring, no pattern/feedback logic.
Built as three stacked commits on one branch:
b4b511fresolve/manifest/open/doctor/errors) + 4 commands + groundedviews.json(8 real views)4cfa9d1mqobsidian-open-repo-context.sh+ wired the existingmq-obsidian-menu.shto the lib's shared opener (no parallel menu created)9cc5bdcdecisions/execution/repo hot filesDesign / guarantees
"${MQOBS_OPENER:-open}"; never writes to the vault.mqlaunch/config/mqobsidian/views.json(10 entries). Paths resolve from the manifest, not hardcoded in logic — change the manifest, not the code.MQ_OBSIDIAN_DIRprimary, single v1 fallback$HOME/mqobsidian(warns when used). Root validated by presence ofsystems/+memory/.mqobsidian-doctor.shhealth-checks the whole chain, opens nothing, non-zero on any problem.Verification
Non-interactive:
bash -nclean on all scripts · manifest valid (10 keys) · doctor resolves every entry · menu options 3/4 open correct files via manifest · picker works by number (2→roadmaps) and key (decisions). Not yet eyeballed: final panel rendering in a real TTY (mqlaunch→ 9) — recommend a quick visual check before merge.Ops page:
mqlaunch/docs/mqobsidian-consumer.md.🤖 Generated with Claude Code