# Thortiq Example Editor Extension — Plugin Task

Authoritative requirements for this scaffolded project. Keep it in sync with
`manifest.json`.

## Runtime

- Runtime: `native`
- Template: `vanilla`
- Plugin id: `thortiq-example-editor-extension`
- Declared features: `editor-extension`

## Functional requirements

- Render a bounded read-only panel from admitted note/search data.
- Expose a manual refresh command that re-reads bounded data.
- Construct the declared CodeMirror extension only from the frozen module cohort supplied to its factory.

## Non-goals

- No unbounded scans of the vault or the metadata index.
- No writes unless a declared write permission is selected.
- Do not import, bundle, or take ownership of CodeMirror, Yjs, y-codemirror, lib0, live documents, or persistence.

## Contributions

- Views:
- `panel` — Thortiq Example Editor Extension panel
- Commands:
- `refresh` — Refresh Thortiq Example Editor Extension
- Navigation items:
- `open-panel` — Thortiq Example Editor Extension
- Search presentations:
- none
- Editor extensions:
- `note-accent` — Thortiq Example Editor Extension note accent

## Permissions

- `metadata.read`
- `notes.read`
- `search.query`
- `ui.editor.extension`

## Connections

- none

## Settings

- `label` (text, synced) — Synced display label for the panel heading.
- `verbose` (checkbox, local) — Device-local verbose diagnostics toggle.

## Secret names

- none

## Mappings

- none

## Jobs

- none

## Commands (invocable IDs)

- `refresh`

## Synthetic fixtures

- none

## Pinned references

- Docs:
- node_modules/@thortiq/plugin-api/README.md
- node_modules/@thortiq/plugin-api/LIMITS.md
- AGENTS.md
- PLUGIN_TASK.md
- Schema: `@thortiq/plugin-api/schemas/manifest-v2.json`
- Template: `vanilla`
- Template digest: `sha256:9b6e2c198d3776f002c8c932487883a764c2d49e49f9fe31a7f5136202a00ed1`
- API version: `1.0.0` (manifest range `^1.0`)
- Kit version: `1.0.0`

## Boundaries

- No internal imports: only `@thortiq/plugin-api`, `@thortiq/plugin-sdk`, and
  own `./` modules (plus the template's declared UI kit). Application internals
  such as `@thortiq/data`, `/shared/*`, and `shell/*` are forbidden.
- Live-vault prohibition: never scaffold into, read, or write the user's live
  vault. All development uses temporary directories and synthetic fixtures.
