{% extends "base.html" %}{% block title %}Knowledge · Keywright{% endblock %}{% block body %}

Shared knowledge

Reviewed documentation, decisions and memory for your agents. Each collection has its own access rules.

{% if selected %}

{{ selected.name }}

{{ selected.description }}

Manage agent access Default: {{ selected.default_mode }}. Read and contribution permissions are separate; only admins publish.

Retrieval

Published Markdown is text-indexed immediately. {% if semantic %}Semantic retrieval is configured. Last semantic rebuild: {{ selected.config.get('knowledge_indexed_at', 'Not yet built') }} ({{ selected.config.get('knowledge_indexed_chunks', 0) }} chunks).{% else %}Local text search is active. Optional semantic retrieval has not been configured.{% endif %}

{% if semantic %}

Sends published content to the configured embedding provider. Run after publishing or changing the embedding model.

{% endif %}
Update existing search passages

Reorganize published documents into section-aware passages. Content, revisions and review history stay unchanged. {% if semantic %}Rebuild the semantic index afterward to make the new passages available to semantic search.{% endif %}

{% if results %}

Search results · {{ results.mode }}

{% if results.warning %}

{{ results.warning }}

{% endif %}{% for hit in results.results %}

{{ hit.title }}

{{ hit.citation }} · {{ hit.kind }}{% if hit.section_path %} · {{ hit.section_path | join(' › ') }}{% endif %}

{{ hit.text }}
{% else %}

No published knowledge matched your search.

{% endfor %}{% endif %}

Awaiting review

{% for rev, doc in proposals %}
{{ rev.title }}

{{ doc.path }} · {{ rev.attribution }} · {{ rev.created_at.strftime('%Y-%m-%d %H:%M UTC') }}

{% else %}

No proposals awaiting review.

{% endfor %}

Published documents

{% for doc in documents.documents %}

{{ doc.title }}

{{ doc.path }} · {{ doc.kind }} · {{ doc.attribution }}

Source: {{ doc.source or 'Admin-authored Markdown' }}{% if doc.source_version %} · {{ doc.source_version }}{% endif %}

{% else %}

No published documents yet. Add Markdown below or let an authorized agent propose memory.

{% endfor %} {% if documents.next_offset is not none %}Next documents{% endif %}
Add Markdown or import from Git

Git imports use committed UTF-8 Markdown and record the exact commit. Uncommitted files are not imported.

{% endif %}
Create a collection

New collections require explicit access rules. Grant read access and permission to propose memory separately.

{% endblock %}