{% extends "base.html" %} {% block title %}Tech Writer — Document Intelligence — ICDEV™{% endblock %} {% block content %}
CUI // SP-CTI

✍️ Tech Writer Workspace

Author architecture docs, SOPs, runbooks, and cloud-agnostic standard guides with inline WriteGuard and AI research.

← Document Canvas DocGen Wizard → Standards Catalog →

Start a New Document

{% for tmpl in tw_templates %} {% set kind_color = { 'guide': '#7ab3f0', 'sop': '#fbbf24', 'runbook': '#f87171', 'architecture': '#a78bfa' }.get(tmpl.kind, '#94a3b8') %} {% set kind_bg = { 'guide': '#0f2040', 'sop': '#2e1a05', 'runbook': '#2e0505', 'architecture': '#1a1040' }.get(tmpl.kind, '#1e293b') %}
{{ tmpl.name }} {{ tmpl.kind }}

{{ tmpl.description }}

{% set sections = { 'STANDARD_GUIDE': 9, 'SOP': 8, 'RUNBOOK': 7, 'ARCH_NETWORK': 7, 'ARCH_APPLICATION': 7, 'ARCH_SYSTEM': 7 } %} {{ sections.get(tmpl.id, 7) }} sections · WriteGuard: {{ type_to_mode.get(tmpl.id, 'default') | replace('_', ' ') }}
{% endfor %}
{% include "includes/iqe_query_widget.html" %}

Continue Writing ({{ active_docs | length }})

{% if active_docs %}
{% for doc in active_docs %} {% set kind_color = { 'STANDARD_GUIDE': '#7ab3f0', 'SOP': '#fbbf24', 'RUNBOOK': '#f87171', 'ARCH_NETWORK': '#a78bfa', 'ARCH_APPLICATION': '#a78bfa', 'ARCH_SYSTEM': '#a78bfa' }.get(doc.template_type, '#94a3b8') %} {% set needs_review = doc.get('review_status') == 'pending_review' and (doc.get('assigned_to') or '') == (current_user or '') %}
{{ doc.title or 'Untitled' }} {{ doc.template_type | replace('_', ' ') }}
WG: {{ doc.writeguard_mode | replace('_', ' ') }} {% set fstate = doc.get('freshness_state') %} {% if fstate %} ● {{ fstate }} {% endif %} {% if doc.get('review_status') == 'pending_review' %} pending review{% if doc.get('assigned_to') %} → {{ doc.assigned_to }}{% endif %} {% endif %} {% if doc.get('pending_suggestions') %} ⚡ {{ doc.pending_suggestions }} suggestion{{ 's' if doc.pending_suggestions != 1 }} {% endif %} approved: {{ (doc.get('last_approved') or '—') | string | truncate(10, True, '') }} created: {{ doc.created_at[:10] if doc.created_at else '—' }}
{% endfor %}
{% else %}

No tech writing documents yet.
Pick a template on the left to get started.

{% endif %}
{% endblock %}