58 lines
1.4 KiB
Markdown
58 lines
1.4 KiB
Markdown
---
|
|
name: wiki
|
|
description: "[OMX] Persistent markdown project wiki stored under .omx/wiki with keyword search and lifecycle capture"
|
|
triggers: ["wiki add", "wiki lint", "wiki query", "wiki read", "wiki delete"]
|
|
---
|
|
|
|
# Wiki
|
|
|
|
Persistent, self-maintained markdown knowledge base for project and session knowledge.
|
|
|
|
## Operations
|
|
|
|
### Ingest
|
|
```text
|
|
wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })
|
|
```
|
|
|
|
### Query
|
|
```text
|
|
wiki_query({ query: "authentication", tags: ["auth"], category: "architecture" })
|
|
```
|
|
|
|
### Lint
|
|
```text
|
|
wiki_lint()
|
|
```
|
|
|
|
### Quick Add
|
|
```text
|
|
wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })
|
|
```
|
|
|
|
### List / Read / Delete
|
|
```text
|
|
wiki_list()
|
|
wiki_read({ page: "auth-architecture" })
|
|
wiki_delete({ page: "outdated-page" })
|
|
wiki_refresh()
|
|
```
|
|
|
|
## Categories
|
|
`architecture`, `decision`, `pattern`, `debugging`, `environment`, `session-log`, `reference`, `convention`
|
|
|
|
## Storage
|
|
- Pages: `.omx/wiki/*.md`
|
|
- Index: `.omx/wiki/index.md`
|
|
- Log: `.omx/wiki/log.md`
|
|
|
|
## Cross-References
|
|
Use `[[page-name]]` wiki-link syntax to create cross-references between pages.
|
|
|
|
## Auto-Capture
|
|
At session end, discoveries can be captured as `session-log-*` pages. Configure via `wiki.autoCapture` in `.omx-config.json`.
|
|
|
|
## Hard Constraints
|
|
- No vector embeddings — query uses keyword + tag matching only
|
|
- Wiki files remain local project state under `.omx/wiki/`
|