-
Notifications
You must be signed in to change notification settings - Fork 0
Wiki Authoring Guide
This wiki currently serves both Gen 2 and Gen 3 during the migration period.
-
_index.jsonkeeps the live Gen 2 tenant navigation -
_super-admin-index.jsonkeeps the live Gen 2 control-panel navigation -
_gt3-index.jsonis the Gen 3 tenant navigation -
_gt3-super-admin-index.jsonis the Gen 3 control-panel navigation
-
getting-startedis a special legacy slug that maps toHome.md - other slugs flatten into a single wiki filename
- example:
agents/creatingbecomesAgents-Creating.md - example:
gen3/chat/using-datasetsbecomesGen3-Chat-Using-Datasets.md
Slug generation matches gt-ai-os/internal/shared/instructions/wiki.go (SlugToWikiFilename): each path segment is title-cased and joined with hyphens, e.g. gen3/gt-api/overview → Gen3-Gt-Api-Overview.md at repo root.
Every Gen3*.md and Gen3-Admin*.md article uses this structure:
# Page Title
## Start Here
1. First concrete step (UI control names in **bold**).
2. …
## Why this matters
One or two short paragraphs on outcome and when to use this page.
## Details
Existing reference content, tables, and deep dives live here.Start Here steps must be page-specific and actionable (not generic placeholders). Why this matters explains value. Details preserves or reorganizes prior body content—do not delete operational depth when restructuring.
- Tenant articles: place assets under
gen3/images/(e.g.gen3/images/chat-paperclip.png). - Control Panel articles: place assets under
gen3-admin/images/(e.g.gen3-admin/images/cp-models.png). - Markdown syntax:
for tenant pages, orfor Control Panel pages. From an article in the same namespace you may also use./images/filename.png(resolved togen3/images/…orgen3-admin/images/…viaWikiAssetURL). Alt text is required for accessibility. -
Do not wrap images in raw HTML (
<table>,<td>, etc.) — the in-app Instructions renderer only emits<img>for standalone markdown image lines. For side-by-side pairs (e.g. light/dark theme), place two consecutive lines on adjacent rows with optional captions in the title:then. - Paths are wiki-relative; the tenant and Control Panel apps resolve them against the article namespace via
WikiAssetURL.
Placeholder PNGs may ship in the repo until operators replace them with RKE2 captures. Keep filenames stable so markdown embeds stay valid.
| File | Use on |
|---|---|
gen3/images/sidebar-expanded.png |
Getting Started — expanded sidebar, Agents submenu, Management dropdown |
gen3/images/sidebar-collapsed-rail.png |
Getting Started — collapsed rail with flattened management icons |
gen3/images/chat-paperclip.png |
GT Chat, Using Datasets in Chat, workflow pages that attach datasets |
gen3/images/agents-favorites.png |
Agents favorites flow |
gen3/images/agents-create-tabs.png |
Building Agents — Agent Configs vs Agent Templates tabs |
gen3/images/agents-templates-catalog.png |
Building Agents — template catalog cards |
gen3/images/agents-template-applied.png |
Building Agents — template applied banner |
gen3/images/agents-web-search-tab.png |
Building Agents — Web Search Settings tab |
gen3/images/model-catalog.png |
Model Catalog |
gen3/images/gt-api-overview.png |
GT API Overview |
gen3/images/gt-api-keys.png |
GT API Keys and Access |
gen3/images/gt-api-published-endpoints.png |
GT API Published Endpoints |
gen3/images/gt-api-openai-compatibility.png |
GT API OpenAI Compatibility |
gen3/images/observability-helper-tab.png |
Observability — GT Helper tab |
gen3/images/observability-memory-tab.png |
Observability — Contextual Memory tab |
gen3/images/instructions-help-shelf.png |
Tenant ? help shelf (GT Helper, Getting Started, Workflows) |
gen3/images/chat-window-preferences.png |
Chat Window Preferences, Accessibility |
gen3/images/chat-voice-mode.png |
Accessibility, GT Chat — voice mode popup |
gen3/images/accessibility-theme-light.png |
Accessibility — light mode account menu (pair with dark) |
gen3/images/accessibility-theme-dark.png |
Accessibility — dark mode account menu (only dark-mode wiki capture) |
gen3/images/dataset-doc-summary-panel.png |
Managing Dataset Content — floating summary panel |
gen3/images/instructions-rbac-badge.png |
Role-gated wiki links in the Instructions drawer |
gen3-admin/images/cp-models.png |
Control Panel Models |
gen3-admin/images/cp-default-models-web-search.png |
Models — Default Models web search section |
gen3-admin/images/cp-help-shelf.png |
Control Panel ? help shelf (GT Helper, Instructions Settings) |
gen3-admin/images/cp-helper-usage.png |
CTP Helper Usage |
gen3-admin/images/cp-updates.png |
Updates |
gen3-admin/images/cp-backup-restore.png |
Backup & Restore |
gen3-admin/images/cp-quickstart-coach.png |
QuickStart Setup Guide |
gen3-admin/images/cp-helper-settings.png |
GT Helper Settings |
gen3-admin/images/cp-contextual-memory.png |
Contextual Memory |
Capture policy: Re-capture all embeds in light mode except the accessibility theme pair (accessibility-theme-light.png / accessibility-theme-dark.png). Run gt-ai-os/scripts/capture-wiki-screenshots.mjs against the proof deployment; default output root is this repo’s wiki/ directory.
Replace files in place when refreshing captures; do not rename without updating every embed.
Curated agent starters live in the instructions repo under agent-templates/*.csv (for example document-chat-agent.csv). The tenant Agent Templates tab lists these files via GitHub through the tenant API; authors add or edit CSVs there—not under gen3/images/. Document template behavior in Building Agents.
- Navigation
rolein_gt3-index.json/_gt3-super-admin-index.jsoncontrols drawer visibility (all,tenant_manager,tenant_owner, legacyadmin→ owner). -
role: allmeans every signed-in tenant role may see the nav entry.tenant_managermeans tenant managers and tenant owners (owner level ≥ manager level).tenant_owner(or legacyadmin) is owner-only. -
Observability uses
role: allin_gt3-index.jsonbecause every signed-in role can open/observability. Article copy must still document per-role tabs and scope (owners see billing; managers do not; API tab requiresgtApiEnabled). -
Users uses
role: tenant_managerbecause both tenant managers and tenant owners see the sidebar item; tenant users do not. -
GT API (
gen3/gt-api/*) entries stayrole: allin the index, but the tenant app also requiresgtApiEnabledon the session. When GT API is disabled, sidebar/gt-api, observability API tab, instructions drawer GT API section, and helper corpus hits forgen3/gt-api/...are hidden. Document this prerequisite in GT API articles and anywhere integrations are mentioned. - For restricted topics, prefer wiki links such as
[Observability](gen3/observability)in prose so the UI can badge links the reader may not be allowed to open inline (slugRolesmetadata).

- Do not instruct users to bypass role gates or capability flags; tell them to confirm role, GT API enablement, or contact a tenant owner/manager.
- Gen 3 help is not a favorited chat agent. The tenant and Control Panel shells expose a fixed ? bubble (
instructions-help-fab) that opens a hybrid help shelf: wiki search, a route-based page suggestion, and Ask helper chat. - Product name in indexes and user-facing copy: GT Helper. Tenant wiki:
Gen3-Agents-Helper-Agent.md/ sluggen3/agents/helper-agent(_gt3-index.jsonchild title GT Helper). Control Panel wiki: sluggen3-admin/instructions-helper(_gt3-super-admin-index.jsontitle GT Helper). Prose may say ? help shelf; do not instruct users to favorite a helper agent. - Grounding policy for authors: For GT AI OS product behavior (screens, routes, roles, policies, workflows, settings), the wiki is the authoritative source. Write steps and affordances that actually exist in the app; do not invent navigation or policies the corpus does not support. General industry background (generic OIDC theory, markdown syntax, etc.) may appear in articles when clearly separated from product-specific steps. If an article is thin on a topic, expand the wiki rather than expecting the helper to guess.
-
Retrieval: The helper passively ranks role-filtered wiki excerpts (keyword + embedding hybrid) and may call
search_instructions_wikifor additional excerpts. Tenant corpus limits vary by role (~12 excerpts for tenant users, ~20 for managers/owners). Control Panel helper uses thegen3-admin/...corpus. Match RBAC and GT API gates so retrieved text aligns with what readers can open. -
Citation conventions (model output; authors should know how answers link back):
-
[route: /path]or[route: /path|Label]— one clickable in-app route per page reference in numbered steps; do not duplicate the same path in plain text or markdown links in the same answer. -
[slug: gen3/...]or[slug: gen3-admin/...]— primary source article at the end of the answer (not after every step). - The UI deduplicates repeated markers; prefer stable slugs from
_gt3-index.json/_gt3-super-admin-index.json.
-
- The backend filters wiki excerpts by tenant role and
gtApiEnabledon the tenant app (FilterTenantWikiNav). Author copy should match what each role can actually open—do not describe owner-only or GT API routes as universally available.
When documenting tenant UI that maps to a route, mention the workspace and link wiki slugs:
| Workspace | Wiki slug prefix | In-app path (tenant) | Sidebar placement | Extra gate |
|---|---|---|---|---|
| GT API | gen3/gt-api/... |
/gt-api |
Top-level (between Conversations and Management) | gtApiEnabled |
| GT Chat | gen3/chat/... |
/chat |
Launch from agents / history (not top-level nav) | — |
| Agents | gen3/agents/... |
/agents |
Top-level with submenu | — |
| Datasets | gen3/datasets/... |
/datasets |
Top-level | — |
| Conversations | gen3/conversations/... |
/conversations |
Top-level | — |
| Observability | gen3/observability |
/observability |
Management → Observability | Per-role tabs |
| Users | gen3/users |
/users |
Management → Users |
tenant_manager or tenant_owner
|
| Groups | gen3/groups/... |
/groups |
Management → Groups | — |
| Model Catalog | gen3/model-catalog |
/model-catalog |
Management → Model Catalog | — |
| Account Settings | gen3/settings |
/settings |
Account menu (Settings / Profile) | Owner edits policy |
| Instructions | gen3/... |
— | Account menu GT AI OS Instructions + ? shelf | Role + GT API corpus filter |
Collapsed rail note: When the sidebar is collapsed, Management routes appear as individual rail icons (not a nested Management button). Expanded mode uses the Management dropdown.
Use wiki links in markdown for instructions navigation; use plain path text (/gt-api) when telling users where to click in the app shell.
Do not delete or rename live Gen 2 pages while Gen 2 consumers are still active. Add Gen 3 pages and index updates in parallel, then retire Gen 2 content in a later cleanup phase.
Content changes in this repo are consumed by GT AI OS via the configured wiki raw URLs. Coordinate with operators before pushing to GitHub when deployment pins a specific wiki revision.