feat: Obsidian integration via cli scripts
This commit is contained in:
@@ -27,6 +27,7 @@ The detailed operating rules live in:
|
||||
- `vault/03-context/process/ai-to-ai-prompting.md`
|
||||
- `vault/03-context/process/workspace-model.md`
|
||||
- `vault/03-context/process/memory-promotion-rules.md`
|
||||
- `core/integrations/memory-vault-model.md`
|
||||
- `vault/04-people/manager.md`
|
||||
- `vault/04-people/index.md`
|
||||
- `vault/02-work-items/index.md`
|
||||
@@ -37,6 +38,8 @@ These are also loaded through `opencode.json`.
|
||||
|
||||
- Assume the workspace may contain stale context until checked.
|
||||
- Treat `vault/` as the canonical clean memory for humans and AI. Treat `ai/inbox/` as raw evidence only.
|
||||
- Treat `scripts/memory/` as the project-agnostic interface for creating notes, searching memory, querying Bases, and running vault health checks.
|
||||
- Treat `scripts/obsidian/` as the current Obsidian adapter, not as the core memory abstraction.
|
||||
- Keep Obsidian Bases clean: templates in `vault/09-templates/` must not be treated as real notes, and role mapping files such as `vault/04-people/manager.md` must not be typed as people.
|
||||
- Maintain useful vault properties when editing canonical notes, especially work-item relationships (`systems`, `workstreams`, `people`, `related`) and daily note fields (`focus`, `work-items`, `blockers`).
|
||||
- Before answering questions that depend on current work state, inspect `vault/01-current/current-work.md` and the latest relevant daily note under `vault/06-daily/`.
|
||||
@@ -58,6 +61,8 @@ These are also loaded through `opencode.json`.
|
||||
- If a new prompt corrects prior understanding, update the canonical file directly instead of keeping both versions alive.
|
||||
- Do not ask what should be saved when the correct destination is already clear.
|
||||
- If the user provides durable new facts, update the appropriate context files instead of leaving the new information only in chat history.
|
||||
- When creating a new canonical note from a known type, prefer `scripts/memory/memory.sh create <type> <slug> [title]` so type-to-folder routing stays centralized.
|
||||
- If the Obsidian CLI adapter fails, fall back to direct Markdown operations and treat the failure as tooling status, not project context.
|
||||
- If a previous context file is now stale or inaccurate, update that file directly.
|
||||
- Prefer correcting canonical context over appending contradictory notes.
|
||||
- Keep changes concise and auditable.
|
||||
|
||||
Reference in New Issue
Block a user