{
  "schema": 1,
  "product": "Kathaka Studio",
  "edition": "2026-11-14",
  "candidate": "0.3.50+81",
  "approval": "Current source specification; physical Android and artistic acceptance remain open. See immutable release receipts for deployed version.",
  "legacySource": "frd-spec.json (2026-10-26, archived)",
  "policy": {
    "priority": "Android authoring and VPS web/API/CMS. Desktop source remains shared; installer refreshes deferred.",
    "account": "Current deployment uses CMS/account authentication at startup; online services require a valid session. Local core editing/recovery can continue after successful sign-in when applicable. No new guarantee of indefinite offline activation is introduced.",
    "network": "English Android system speech may require internet. AI inference is self-hosted on a server and still requires client connectivity. Collaboration, Language Master updates and account actions require connectivity; cached/bundled text and local core drawing do not require inference.",
    "commercial": "Do not use the archived October 30-day-trial, one-time-offline-activation or local-only-website statements as the current commercial contract. Billing, subscriptions, ownership claims and licensing terms require the deployed account policy and owner-approved published terms.",
    "claims": "No 100% reliability claim, no unverified India-first claim, no promise of every voice parameter or top Meta availability."
  },
  "roles": {
    "Creator": "Own local artwork, review AI proposals, grant device permissions, save portable copies.",
    "Company editor": "Edit permitted shared projects under ownership/write leases.",
    "CMS language editor": "Publish approved language/text revisions within role permissions.",
    "Operator": "Back up, qualify, deploy and monitor containers, downloads, database and private AI.",
    "Reviewer": "Assess story/art/accessibility quality; physical-device acceptance is separate from automated testing."
  },
  "architecture": {
    "client": "Flutter presentation and shared command registry → StudioController application façade → native Rust document/sculpture engine. UI, keyboard, voice and gestures share actions; viewport motion is not document mutation.",
    "server": "HTTPS reverse proxy → separate website and account/API/CMS services → PostgreSQL. Private owner-scoped AI worker and immutable public downloads have separate lifecycles.",
    "persistence": "Local Book manifest/assets plus journal/checkpoints; compact immutable shared sculpture meshes/frames in private recovery, public schema 1/2 JSON; PostgreSQL shared records; SQLite private single-worker AI queue.",
    "migration": "Copy originals, validate schema, atomically commit accepted changes, test save/reopen and downgrade/export. Avoid changing storage merely because a different database exists.",
    "boundaries": "A Book save does not automatically package separate editable sculpture or AR source. PNG handoff is flattened. Scene preview, sculpture, shot animatic and flipbook are distinct modules."
  },
  "dataDictionary": [
    {
      "domain": "Accounts/companies/roles/sessions",
      "store": "PostgreSQL",
      "ownershipAndRule": "Server-owned transactional authorization; secrets never in project files."
    },
    {
      "domain": "Language profiles/messages/revisions/history",
      "store": "PostgreSQL",
      "ownershipAndRule": "Surface-scoped unique keys; optimistic revisions and validated placeholders; immutable route/identifier metadata."
    },
    {
      "domain": "Shared project/page resources and write leases",
      "store": "PostgreSQL",
      "ownershipAndRule": "Company scope, revision conflicts and reviewed contribution boundaries."
    },
    {
      "domain": "Book/pages/panels/layers/characters",
      "store": "Local manifest, assets, journal and checkpoints",
      "ownershipAndRule": "Stable IDs; undoable edits; relative managed paths; explicit save destination."
    },
    {
      "domain": "Sculpture objects/geometry/materials/view/frames",
      "store": "Native shared geometry; compact local recovery; portable JSON 1/2",
      "ownershipAndRule": "Object IDs stable; geometry edits transactional; view not necessarily part of geometry undo."
    },
    {
      "domain": "AR board source",
      "store": "Native local AR storage",
      "ownershipAndRule": "Separate editable session; PNG handoff does not preserve tracking/anchors."
    },
    {
      "domain": "AI jobs and artifact references",
      "store": "Private SQLite single-worker ledger/files",
      "ownershipAndRule": "Owner-scoped IDs; bounded pending queue; interrupted running work fails on restart; terminal TTL 24h."
    },
    {
      "domain": "Public artwork/installers/manuals",
      "store": "Immutable files plus versioned metadata",
      "ownershipAndRule": "SHA-256 release verification; preserve provenance, format compatibility and signed update feeds."
    }
  ],
  "journeys": [
    {
      "title": "Create and return",
      "steps": "New project → select page format/direction → draw/layers → Save project copy → Back to Projects → Resume/Open recent → verify saved-folder workspace."
    },
    {
      "title": "Open/cancel safely",
      "steps": "Open project JSON → grant its artwork folder if required → validate/stage → open atomically. Cancel any chooser returns without changing the active Book. Back/Close remains available in the editor and tool drawer."
    },
    {
      "title": "Sculpt a character",
      "steps": "3D Sculpture → Geometry → Head & shoulders or Full figure → select part → left brush rail → Brush/Surface/Lighting → Rotation → apply speed → save editable sculpture → OBJ/STL/PNG or Animation/GIF. Accepted edits are recovered; unfinished-stroke Close is guarded."
    },
    {
      "title": "Storyboard to publication",
      "steps": "Story & Storyboards → brief/script → review proposal → choose manga/comic/film layout → approve panel references → draw/letter/tone → preflight → save/reopen → export. Image continuity is reviewed, never assumed."
    },
    {
      "title": "Voice and gestures",
      "steps": "Input Controls → choose online English voice or camera/touch gesture setup → read network/permissions → calibrate → Listen → inspect recognized command/proposal → apply → Stop or configured idle timeout. Tablet retest is a release gate."
    },
    {
      "title": "Flipbook and AR",
      "steps": "Animation → frames/onion skin/holds/FPS → play → GIF. AR & Holograms → supported-device check → anchor flat board → write → local AR save/PNG transfer. These are separate editable workspaces."
    },
    {
      "title": "Publish language",
      "steps": "Authorized CMS editor → Language Master → surface/language → edit values → validate coverage/placeholders → publish expected revision → clients refresh → audit history or restore. Source strings are fallbacks, not the sole live values."
    },
    {
      "title": "Showcase study",
      "steps": "Website Showcase/Gallery → filter category → View artwork → Close/Escape → download image or extracted project ZIP → open book.json plus artwork folder in Kathaka. Source labels distinguish references from native authoring."
    }
  ],
  "requirements": [
    {
      "id": "FR-001",
      "title": "First launch and recovery choice",
      "behavior": "Open a usable offline workspace with a bundled demonstration and an explicit recovery choice after corruption.",
      "acceptance": "Stage only packaged assets. Never erase recovery during fallback. Show actionable failures and a retry action.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-002",
      "title": "Project creation and presets",
      "behavior": "Create B5, A4 or webtoon books with valid dimensions and stable identities.",
      "acceptance": "Reject invalid presets and dimensions. Use one documented Unicode title limit across create, rename and import. Cancel leaves the current project unchanged.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-003",
      "title": "Reelhouse project import",
      "behavior": "Import editable Reelhouse book JSON and project-relative artwork without requiring the Reelhouse application.",
      "acceptance": "Retain stable IDs and supported metadata. Reject newer schemas or invalid geometry transactionally. Show missing-asset relink actions.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-004",
      "title": "Durable editing and recovery",
      "behavior": "Acknowledge edits only after durable recovery commit and restore the last acknowledged revision after restart.",
      "acceptance": "Failed storage leaves document and history unchanged. Recovery history and crash injection qualify the stronger durability guarantee.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-005",
      "title": "Revision control and undo",
      "behavior": "Apply revision-guarded commands and expose predictable undo and redo.",
      "acceptance": "Reject stale commands. Compressed session history is capped at 40 entries and 16 MiB per stack; oversized snapshots form a boundary. Durable checkpoints remain separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-006",
      "title": "Professional inking",
      "behavior": "Provide pressure pen, vector erase, stabilizer, white ink and configurable brushes without input stalls.",
      "acceptance": "UI shows immediate temporary strokes; Rust commits fitted geometry. Invalid samples cannot corrupt a page. Palm rejection requires device qualification.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-007",
      "title": "Panel design and reading order",
      "behavior": "Build pages using templates, panel knife, gutters, resize handles and explicit reading order.",
      "acceptance": "Cuts preserve valid polygons and minimum gutters. Reading-order visualization must match PDF, EPUB and webtoon transforms.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-008",
      "title": "Screentones and fills",
      "behavior": "Apply flat, gradient and patterned screentones with print-aware frequency and angle.",
      "acceptance": "Use stable screen previews and real print dots. Warn on unsupported settings rather than flattening editable tone data.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-009",
      "title": "Balloons and lettering",
      "behavior": "Keep dialogue editable independently of generated art with balloon shapes, tails, vertical text and furigana.",
      "acceptance": "Moves preserve tail offsets. Unsupported glyphs and overflow are visible. Changes invalidate lettering approval.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-010",
      "title": "Fonts and multilingual shaping",
      "behavior": "Manage licensed fonts and render consistent text across operating systems.",
      "acceptance": "Qualify Japanese vertical substitutions and kinsoku; declare supported scripts. Complex shaping needs a tested shaping adapter rather than assuming glyph rotation is sufficient.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-011",
      "title": "Canvas navigation",
      "behavior": "Provide pan, pinch, zoom, fit, guide toggles and stable selection at high DPI.",
      "acceptance": "Pointer-to-page conversion remains correct under transforms. Navigation never becomes an edit. Phone gestures and accessibility alternatives are available.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-012",
      "title": "Book navigation and page lifecycle",
      "behavior": "Add, duplicate, delete and reorder pages with thumbnails, spreads and stage indicators.",
      "acceptance": "Use stable page IDs in pending jobs. Prevent deletion of the final page or provide an explicit replacement. Reorder preserves content ownership.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-013",
      "title": "Script to editable storyboard",
      "behavior": "Turn structured scenes, dialogue and shot intent into an editable storyboard proposal.",
      "acceptance": "Deterministic templates work without AI. Optional model assistance produces drafts only. User reviews panel count, order and dialogue before application.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-014",
      "title": "Character and location bible",
      "behavior": "Version approved reference sheets, costumes, props, palettes and location rules for reuse across panels.",
      "acceptance": "Reference packs are immutable versions. Editing a pack does not change earlier panels; new jobs record exact reference hashes.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-015",
      "title": "Free provider registry",
      "behavior": "Offer bundled manga tools, a local Candle worker and an optional self-hosted ComfyUI adapter through one capability registry.",
      "acceptance": "Required paths have no API fees or subscription. Paid API nodes and unknown licenses are excluded from the baseline. Unavailable capabilities explain how to enable them.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-016",
      "title": "Model installation and integrity",
      "behavior": "Install optional approved model packs with disk estimates, resumable downloads and integrity verification.",
      "acceptance": "Pin exact repository revisions and every component hash and license. Activate atomically after all checks. Display terms and any required account gate before download.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-017",
      "title": "Text to panel generation",
      "behavior": "Generate candidate panel art using prompt, style, seed, aspect ratio and finishing options.",
      "acceptance": "Show draft quality, model and resource estimate. No lettering is baked in intentionally. Candidate review is separate from document mutation.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-018",
      "title": "Reference edits and masks",
      "behavior": "Support reference-guided variations and, only with capable adapters, masked inpainting or pose conditioning.",
      "acceptance": "Do not label image-to-image as character locking or true inpainting. Masks, strengths and adapter features are validated and recorded.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-019",
      "title": "Durable job queue",
      "behavior": "Schedule generation and publication as durable cancellable jobs outside the editor mutation loop.",
      "acceptance": "Persist state before launch; serialize local inference per device; cancel only owned jobs. Never automatically retry an ambiguous submitted request.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-020",
      "title": "Generation provenance",
      "behavior": "Record how every generated asset was made and preserve lineage through edits and export.",
      "acceptance": "Include provider, model and workflow hashes, prompt snapshot, seed, backend, reference hashes and finish version. Never include credentials. Same seed across devices does not promise byte-identical output.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-021",
      "title": "Safe generation application",
      "behavior": "Compare candidates and explicitly apply one to a stable panel target as an undoable transaction.",
      "acceptance": "Check target and base revision. Stale jobs become reviewable proposals. Preserve crop, original art and lettering; application can be undone.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-022",
      "title": "Continuity review",
      "behavior": "Review character, costume, prop and location continuity against approved reference versions.",
      "acceptance": "Start with deterministic reference and metadata checks. Optional visual similarity gives explainable suggestions, never automatic edits or a guarantee of identity.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-023",
      "title": "Portable managed assets",
      "behavior": "Save a self-contained project copy using verified relative artwork and content hashes.",
      "acceptance": "Original source is preserved. Imported content cannot escape the selected project root. Multi-file copies require manifest-last commit and orphan cleanup.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-024",
      "title": "Publication preflight and approvals",
      "behavior": "Check missing art, resolution, glyphs, bleed, stage and reading order before final publication.",
      "acceptance": "Blocking errors identify page and panel. Approval binds to a content digest; relevant edits invalidate it. Users can export clearly marked drafts.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-025",
      "title": "Print PDF and PNG",
      "behavior": "Export deterministic page order to print-oriented PDF and PNG with explicit trim, bleed, tone and resolution settings.",
      "acceptance": "Current host is limited to 72 to 300 dpi and 32 megapixels. Qualify tiled or streaming 600 dpi export before advertising print-ready output; PDF/X certification is separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-026",
      "title": "Digital book publication",
      "behavior": "Export CBZ and fixed-layout EPUB with correct reading direction, order and metadata.",
      "acceptance": "Validate archive entries, EPUB structure and reader interoperability. Stream large output; enforce budgets before allocation. Encryption and DRM are outside the baseline.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-027",
      "title": "Webtoon adaptation",
      "behavior": "Derive reviewed vertical layouts from the same editable book without destroying print composition.",
      "acceptance": "Store a separate transformation map and versioned reading order. Slice boundaries avoid balloons and key faces or require a reviewed override.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-028",
      "title": "Plugin installation and lifecycle",
      "behavior": "Enable versioned free integrations through an in-app toolkit panel with health checks and clear removal behavior.",
      "acceptance": "Ship curated adapters; no arbitrary native library loading. Installation never runs code embedded in a book. Preserve original license and source notices for separately distributed components.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-029",
      "title": "Android tablet authoring",
      "behavior": "Provide touch and stylus authoring with Android document access and resilient lifecycle behavior.",
      "acceptance": "Respect SAF access, revoked grants, palm input and low-memory callbacks. Large generation remains optional companion work, not a requirement on the tablet.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-030",
      "title": "Free desktop companion for Android",
      "behavior": "Let Android submit generation to the user's own paired Mac or Windows machine without a hosted subscription.",
      "acceptance": "Pair explicitly with short-lived challenge and pinned identity, then use scoped credentials. Send selected references only. No internet exposure or unauthenticated LAN service by default.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-031",
      "title": "Accessible titanium workspace",
      "behavior": "Deliver a professional graphite and titanium interface with copper accents and accessible alternatives.",
      "acceptance": "Decorative metal textures never reduce legibility. Support keyboard access, text scale, high contrast, reduced motion and labels; status cannot rely on color alone.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-032",
      "title": "Local diagnostics",
      "behavior": "Expose health, capability state and an explicit local diagnostics export.",
      "acceptance": "No default telemetry or prompt uploads. Redact documents, artwork, reference images, secrets and personal paths. User previews bundle before sharing elsewhere.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-033",
      "title": "Packaging and updates",
      "behavior": "Ship independent Mac, Windows and Android builds with pinned native dependencies and controlled migrations.",
      "acceptance": "Production releases need platform signing and Mac notarization, clean-machine install tests and an update rollback path. Model packs are separate from app binaries.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-034",
      "title": "Translation and localized lettering",
      "behavior": "Maintain optional language variants against the same artwork with editable reviewed dialogue.",
      "acceptance": "Manual translation works offline. Machine translation is optional and local where approved. Preserve original text, reading order and approvals per language.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-035",
      "title": "Rights and license records",
      "behavior": "Track component notices and user-declared rights for imported, generated and reference assets.",
      "acceptance": "Free does not mean unrestricted. Every required model component must clear the selected use policy. Existing proprietary engine and demonstration art are not relicensed by this FRD.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-036",
      "title": "Offline operation after Professional activation and network boundaries",
      "behavior": "Keep creation, editing, saving and supported export available offline once Kathaka Professional is activated on the device. Installation, the 30-day trial and the one-time licence activation require the internet.",
      "acceptance": "Generation never silently switches from local to hosted processing. Enable model downloads and companion transfer explicitly. Reject provider-selected arbitrary URLs and redirects outside policy.",
      "status": "Superseded or deferred policy; current policy above controls."
    },
    {
      "id": "FR-037",
      "title": "Layer stacks and isolated groups",
      "behavior": "Preserve source artwork in editable paint/group trees with visibility, locks, opacity, ordering, duplication and bounded nesting.",
      "acceptance": "Revision-guard all changes; enforce ancestor locks; preserve source bytes and Undo; selection remains transient.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-038",
      "title": "Editable masks and clipping",
      "behavior": "Support shape/image/vector masks and local clipping chains without rewriting artwork.",
      "acceptance": "Hide/reveal mask strokes and vector eraser target only the selected mask; clipping retains base alpha.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-039",
      "title": "Blend and adjustment layers",
      "behavior": "Offer eight encoded-sRGB blend modes and editable brightness/contrast/saturation adjustments.",
      "acceptance": "Apply isolated group opacity once and scope adjustments to content below in the same container.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-040",
      "title": "Non-destructive generation and derived assets",
      "behavior": "Apply reviewed generation or reusable artwork as a new top-level layer and retain earlier sources/provenance.",
      "acceptance": "Require current review token, preserve original layer/source/provenance and support Undo. Derived panel captures remain explicitly labelled.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-041",
      "title": "Portable layered publication",
      "behavior": "Package all retained layer/mask sources and publish through the shared compositor.",
      "acceptance": "Hash all retained source bytes, reject corrupt sources, use source-bound approvals and preserve geometry across resize/knife/duplicate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-042",
      "title": "Perspective rulers and constrained drawing",
      "behavior": "Create page-owned 1/2/3-point guides, edit horizon/vanishing points, configure opacity/density and snap pen strokes with stable family locking.",
      "acceptance": "Finite bounded geometry; reject degenerate horizons/third points; pressure order retained; masks, eraser and fill unchanged. Undo/recovery and duplicate/delete preserve guide ownership.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-043",
      "title": "Portable reference boards and source records",
      "behavior": "Import local PNG/JPEG references, arrange bounded cards, maintain notes/source/rights and pin a thumbnail beside the canvas.",
      "acceptance": "48 cards; 16 MiB and 2048px per import; 512 KiB metadata; shared 256 MiB artwork budget. Preserve source and normalized-image hashes and copy/check all declared references.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-044",
      "title": "Publication-safe workspace metadata",
      "behavior": "Keep perspective overlays and reference boards separate from native publication artwork and AI conditioning.",
      "acceptance": "Ruler/board metadata changes preserve artwork bytes and publication fingerprint. Snapped ink changes content; references are not automatically sent to generators.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-045",
      "title": "Editable 3D scene and mannequin posing",
      "behavior": "Create, save, duplicate and delete project-owned stages with articulated mannequins, pose presets, joint rotations and transformed block props.",
      "acceptance": "Scene drafts are separate from persisted project state. Save is one revision-checked Undo command. Duplicate uses independent IDs. Up to 8 scenes, 8 actors, 16 props and 3 lights per scene; scene metadata ≤24 KiB.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-046",
      "title": "Local camera and light staging renderer",
      "behavior": "Preview perspective/orthographic cameras, orbit/dolly/FOV/target controls, ground/grid and movable colored point lights using a local renderer.",
      "acceptance": "Clip before perspective divide, depth-test opaque triangles, bound finite geometry and preview surfaces, serialize preview requests and discard stale responses. No mandatory plugin, network service or GPU runtime.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-047",
      "title": "Reviewed Full HD scene references and publication isolation",
      "behavior": "Capture a saved scene to a project reference card or a new panel paint layer, retaining an editable source scene and panel-capture source snapshot.",
      "acceptance": "Require current revision, exact saved scene hash and explicit review; Full HD 1920×1080 or 1080×1920. Preserve original source art/layers, use immutable portable assets, support Undo and reject failed checkpoint commits atomically. Staging metadata alone does not change publication artwork/hash.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-048",
      "title": "Local manga quality diagnostics",
      "behavior": "Scan dialogue, spatial reading order, gutters and print risks without mutating project content.",
      "acceptance": "Use native renderer and geometry; configurable thresholds; no automatic artistic-intent inference. Cap reports at 2,000 findings and disclose truncation.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-049",
      "title": "Creator-approved quality corrections",
      "behavior": "Preview an exact candidate, then explicitly accept one undoable edit.",
      "acceptance": "Keep original images, dialogue, font size and language variants. Reject stale/discarded/forged/replayed proposals, source-file changes, impossible fits and newly introduced rectangular overlap pairs.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-050",
      "title": "Portable creator intent and publication separation",
      "behavior": "Record/revoke intentional advisory findings while keeping blockers visible.",
      "acceptance": "Bind notes to evidence; validate/bound portable metadata; Undo; do not alter publication approval/content hash.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-051",
      "title": "Portable named versions and safe restore",
      "behavior": "Retain named editable snapshots outside automatic recovery retention and restore through creator review.",
      "acceptance": "12 non-nested immutable snapshots; canonical historical artwork retained/shared; hash and size limits; restore preserves newer history, validates current source/revision/token/confirmation and supports exact Undo.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-052",
      "title": "Visual editorial comparisons",
      "behavior": "Compare working or saved books by stable page identity using native page images and a cyan difference map.",
      "acceptance": "Comparison is read-only; missing-side pages disclosed; preview-pixel semantics explicit; separate whole-book restore confirmation.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-053",
      "title": "Panel discussion and editorial approval checkpoints",
      "behavior": "Attach version/page/panel comments, reply/resolve/reopen, and record/revoke exact version approval.",
      "acceptance": "Review all saved pages and resolve open comments first; bind approval to named identity/source/font/comment review; retain revoked/historical records; no generic-edit bypass or implicit publication approval.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-054",
      "title": "Optional signed team ownership",
      "behavior": "Explicitly enable a solo project, invite devices by public key and maintain owner-signed permissions without requiring a network account.",
      "acceptance": "All listed automated scenarios must pass; physical-device and protocol-security qualification remain separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-055",
      "title": "Assigned-page offline editing",
      "behavior": "Permit editing only on assigned pages; retain solo forks and enforce current permissions on returned contributions.",
      "acceptance": "All listed automated scenarios must pass; physical-device and protocol-security qualification remain separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-056",
      "title": "Reviewed three-way contribution merge",
      "behavior": "Import signed folders, merge independent pages, require conflict choices and exact page proofs, then commit atomically with Undo.",
      "acceptance": "All listed automated scenarios must pass; physical-device and protocol-security qualification remain separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-057",
      "title": "Signed page review and portable team resources",
      "behavior": "Require review permission and exact preview; bind signed decisions to page content and include baseline-only artwork in portable projects.",
      "acceptance": "All listed automated scenarios must pass; physical-device and protocol-security qualification remain separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-058",
      "title": "Editable shot timeline and camera movement",
      "behavior": "Create, order and time page/panel shots with deterministic camera moves, cuts, dissolves and fades. Preview drafts separately from saved manga.",
      "acceptance": "All listed automated cases pass within host scope; native hardware/player qualification remains separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-059",
      "title": "Content-bound dialogue timing",
      "behavior": "Show editable balloons only in their half-open cue intervals and require retiming after dialogue content changes.",
      "acceptance": "All listed automated cases pass within host scope; native hardware/player qualification remains separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-060",
      "title": "Portable offline audio tracks",
      "behavior": "Import bounded PCM16 WAV tracks, mix offsets/trims/fades/gains/mute locally and preserve immutable audio through history and team project copies.",
      "acceptance": "All listed automated cases pass within host scope; native hardware/player qualification remains separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-061",
      "title": "Atomic Full HD animatic video export",
      "behavior": "Export every saved timeline frame and PCM audio into a new AVI file, support cancellation, freeze source state and keep editing available between export steps.",
      "acceptance": "All listed automated cases pass within host scope; native hardware/player qualification remains separate.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-062",
      "title": "Free extension package and compatibility",
      "behavior": "Inspect/install data-only packages with SDK/host/platform compatibility, exact hash, manifest and contribution validation.",
      "acceptance": "Reject executable/unknown fields, tampering, malformed/oversized packages, duplicate IDs and unsupported licenses; reject incompatible installation.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-063",
      "title": "Extension permissions and recovery",
      "behavior": "Install disabled with no grants; explicitly save device-local grants. Disable/revoke/remove and update invalidate prepared work.",
      "acceptance": "Enforce required permissions on every invocation; compare-and-swap settings, reset grants on upgrade, fail closed on registry corruption and restore previous settings disabled.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-064",
      "title": "Free brush extension starter",
      "behavior": "Load a validated pressure-sensitive preset into editable drawing controls without changing existing strokes.",
      "acceptance": "Brush values stay inside M04 engine limits; permission denial leaves the book and revision unchanged.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-065",
      "title": "Importer and exporter extension starters",
      "behavior": "Preview storyboard JSON before appending undoable pages; review briefs JSON or raster SVG proofs before file export.",
      "acceptance": "Preserve existing artwork; enforce revision/token/package/grants, collaboration permissions and recovery-before-acknowledgment. Never overwrite an existing output; cancellation has no acknowledged document change.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-066",
      "title": "Viewport tiles and high-resolution pages",
      "behavior": "Only visible regions render at zoom-aware resolution; drawing overlays stay responsive.",
      "acceptance": "512px tiles, 20 visible target, 32 resident / 16 MiB encoded; no full virtual frame.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-067",
      "title": "Background rendering and cancellation",
      "behavior": "Render immutable active-page snapshots outside the document mutex.",
      "acceptance": "Token/revision/page/viewport guards prevent stale paint; at most two workers per process.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-068",
      "title": "Byte-bounded history and caches",
      "behavior": "Retain predictable session history and verified decoded-source reuse.",
      "acceptance": "16 MiB/40 entries per undo/redo stack, 32 MiB serialized snapshot limit; oversized barrier.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-069",
      "title": "Reproducible large-book benchmarks",
      "behavior": "Measure cold/warm tiles, edit latency and history bytes on declared workloads.",
      "acceptance": "Report host, binary hash, raw samples and qualification gaps; diagnostics do not edit the document.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-070",
      "title": "Candidate installers and platform signing",
      "behavior": "Build local Mac DMG, free per-user Windows installer recipe and explicit Android signing configurations.",
      "acceptance": "Candidate artifacts never imply production approval; no debug-key fallback for release.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-071",
      "title": "Controlled updates and app recovery",
      "behavior": "Authenticate offline publisher metadata and support journaled manual Mac replacement with rollback.",
      "acceptance": "Trusted keys are compiled in; no downloads/install during manifest inspection; retain previous bundle until verified launch.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-072",
      "title": "Schema migration copies and compatibility",
      "behavior": "Read schema 1/2 additively, keep library format 1 and export reviewed normalization copies with original-byte backups.",
      "acceptance": "Stable identities; reject unknown/future/zero schemas or lost fields; never rewrite original checkpoints on open.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-073",
      "title": "Accessibility and release qualification",
      "behavior": "Qualify automated control semantics and actual assistive workflows on each supported platform.",
      "acceptance": "Automated tests supplement actual VoiceOver/Narrator/TalkBack and device release evidence.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-074",
      "title": "Exact original-source PDF reproduction",
      "behavior": "Recreate the supplied manga as a portable project and a lossless native PDF from original full-page artwork.",
      "acceptance": "Preserve all source pixels, physical layout and blank pages; reject visible edits/crops/effects; avoid overwrite; distinguish source copy from publication approval.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-075",
      "title": "Compatibility check before installation and purchase",
      "behavior": "Check operating system, processor, memory, free disk and graphics against the published requirements before installing and before buying, and report ready, editing only or unsupported.",
      "acceptance": "kyanvra-setup --check exits 0 ready, 10 editing only, 20 unsupported. Windows and Mac installers stop on unsupported and ask on editing only; the account screen offers the same check before purchase. No network use.",
      "status": "Superseded or deferred policy; current policy above controls."
    },
    {
      "id": "FR-076",
      "title": "Professional activation online once, then offline",
      "behavior": "Redeem the licence key online; the CMS registers the device seat and signs a device-bound KTHKP1 activation that the engine verifies with the CMS public key. The app then opens without login or network.",
      "acceptance": "Activation is device-bound, has no expiry, cannot be swapped with a trial lease, respects the seat allowance, and is removed when an online status check reports revocation or device release.",
      "status": "Superseded or deferred policy; current policy above controls."
    },
    {
      "id": "FR-077",
      "title": "Plugins and components from the Kathaka server (Hostinger VPS)",
      "behavior": "Serve plugins, installer components and AI model files from the owner's VPS. The app installs plugins from a signed catalogue; the online installer and the app fetch model files from the server first, then the pinned upstream source.",
      "acceptance": "Catalogue and install manifest are signed with the owner key (Ed25519, domain-separated), expire within 90 days, and pin every file by SHA-256. Traversal paths, unknown keys, tampering and expired catalogues are refused. Nothing downloaded runs code except the signed installer components.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-078",
      "title": "Published system requirements",
      "behavior": "Publish minimum and recommended hardware, disk, memory and graphics for Windows, macOS and Linux from one source file.",
      "acceptance": "assets/release/system-requirements.json is the source for the checker; README, docs/system-requirements.md, setup instructions, installers and website show the same values.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-079",
      "title": "Steady, resumable downloads with connection warnings",
      "behavior": "Large downloads resume from the last saved byte after a drop or restart, retry automatically with back-off, and warn the person when the connection is unstable, stalled or too slow. The account check-in rides out short drops while the lease holds.",
      "acceptance": "Range with If-Range (strong ETag or Last-Modified) resumes; a changed file restarts from zero; 5xx/429 and socket errors retry 2 s doubling to 60 s, up to 12 attempts; warnings after 2 drops in 10 minutes, 20 s without data, or more than 3 hours remaining.",
      "status": "Historical requirement retained; use current scope and qualification evidence, not archived PASS labels."
    },
    {
      "id": "FR-080",
      "title": "Windows online installer (Visual Studio style)",
      "behavior": "A small Kathaka-Online-Setup.exe checks the PC, lets the person choose components (app required; writing assistant, image generation pack, character reference pack optional) with sizes, downloads them from the Kathaka server with resume and progress, and offers Retry that continues from where it stopped.",
      "acceptance": "Compatibility check first; signed manifest; per-file SHA-256; zip entries cannot escape the install folder; chosen AI packs are imported and verified by the app on first launch.",
      "status": "Superseded or deferred policy; current policy above controls."
    },
    {
      "id": "FR-081",
      "title": "Visible project Back, Close and Resume",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Header Back and File → Close project return to Projects; Resume restores the active document. Android Back first unwinds the active tool.",
      "acceptance": "Accepted edits and revision survive Back/Resume; blocked input cannot be abandoned; picker cancellation preserves the active document.",
      "boundary": "Close means navigation; the active Book remains cached and local recovery is not a portable export.",
      "evidence": "test/project_navigation_test.dart; test/tool_dock_test.dart; lib/studio/studio_screen.dart"
    },
    {
      "id": "FR-082",
      "title": "Sculpture workspace and character blockouts",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "A dedicated 3D viewport exposes Orbit and Clay, Carve, Smooth, Flatten, Pinch and Move in a visible left rail; Geometry offers Head & shoulders and Full figure.",
      "acceptance": "Tool selection reaches the existing brush command; bust creates 3 independent meshes and figure 17; previous objects persist; invalid presets are transactional; save/reopen and undo/redo preserve geometry.",
      "boundary": "Blockouts are separate primitive meshes, not fused anatomy, a skeleton, rigging or automatic character reconstruction.",
      "evidence": "test/sculpture_workspace_test.dart; packages/manga_engine/native/src/sculpture/character.rs; sculpture/tests.rs"
    },
    {
      "id": "FR-083",
      "title": "Sculpture properties, spacing and safe Close",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Geometry, Brush, Object, Surface, Lighting, Camera, Rotation, Animation and Export have separate properties; the tool rail and properties scroll independently.",
      "acceptance": "Normal/2× text phone layouts remain reachable without overlapping controls; Close/Back during an unfinished stroke offers Keep editing or explicit discard; failed cancellation keeps the editor open.",
      "boundary": "Large-text phone users scroll the properties; no promise of all properties visible simultaneously.",
      "evidence": "test/sculpture_workspace_test.dart; test/goldens/sculpture-phone-1x.png; test/goldens/sculpture-phone-2x.png"
    },
    {
      "id": "FR-084",
      "title": "Virtual turntable and drawing",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Canvas/depth/sculpture turntables have independent virtual phase, speed, axis and reset; drawing maps input through the current transform.",
      "acceptance": "Accepted RPM changes show feedback; animation does not intentionally stop a stroke; pin locks navigation; reset restores the view.",
      "boundary": "10,800 RPM is a virtual timing value, not visible physical revolutions. Physical Xiaomi stylus, fingers, palm rejection and sustained high-RPM tests remain open.",
      "evidence": "docs/product/android-inputs-feedback.md; test/sculpture_workspace_test.dart; docs/architecture/architecture-database-audit-2026-11-14.md"
    },
    {
      "id": "FR-085",
      "title": "Symmetry and asymmetric drawing",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Offer supported radial modes including 12, 16 and 24 ways and explicit asymmetric controls with readable tool feedback.",
      "acceptance": "Changing mode changes only subsequent intended strokes and preserves undoable artwork; reset and saved settings behave consistently.",
      "boundary": "Symmetric spinning 2D art and the depth viewing effect are distinct from editable sculpt meshes.",
      "evidence": "lib/studio/canvas_viewport.dart; docs/help/feature-lessons.json"
    },
    {
      "id": "FR-086",
      "title": "Online English speech and continuous Listen",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Listen starts speech directly with permission/startup feedback; stop is explicit; silence watchdog and idle timeout are configurable. Voice proposals use the shared action registry.",
      "acceptance": "Disclose internet/service availability; show recognized text or actionable failure; stale or unsupported commands never silently mutate a different project.",
      "boundary": "Tablet microphone/service startup remains unconfirmed. Exhaustive coverage of every property is not certified; native AR uses reviewed proposals and must be device-tested.",
      "evidence": "docs/product/android-inputs-feedback.md; lib/studio/studio_screen.dart"
    },
    {
      "id": "FR-087",
      "title": "Camera and touch gesture setup",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Input Controls offers separate gesture configuration, calibration and step-by-step guidance; camera and touch are independent options.",
      "acceptance": "Explain permissions and enabled mode, preserve stylus drawing and display useful calibration feedback.",
      "boundary": "Real-camera tracking, five-finger interactions and Android system conflicts on the Xiaomi Pad 6 remain open acceptance tests.",
      "evidence": "docs/handbook/en.md; docs/product/android-inputs-feedback.md"
    },
    {
      "id": "FR-088",
      "title": "Resource-aware files and recovery",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Stream/stage supported project data without the former general 32 MiB JSON rejection; keep original assets, saved-folder recents and actionable storage failures.",
      "acceptance": "Transactional failed import/save; recovery remains accessible; low-storage failures must identify the resource issue without deleting originals.",
      "boundary": "Specialized photo decoding, active scene, collaboration and safety budgets still exist. GB-scale mixed projects and low-storage provider tests are not completed. Drive capacity alone cannot guarantee RAM/decoding capacity.",
      "evidence": "docs/architecture/architecture-database-audit-2026-11-14.md; docs/product/requirements-status-2026-11-14.md"
    },
    {
      "id": "FR-089",
      "title": "Origin metadata and standard file interchange",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Keep standard supported PNG/GIF/PSD/document formats with Kathaka origin metadata where implemented; distinguish missing/external origins without refusing valid third-party content.",
      "acceptance": "Round-trip supported metadata and report unsupported/missing origin safely; native project formats remain versioned.",
      "boundary": "Metadata identifies a declared source, not a tamper-proof authorship or copyright guarantee. External tools can strip it. Not every third-party format preserves metadata.",
      "evidence": "docs/help/feature-lessons.json; docs/product/requirements-status-2026-11-14.md"
    },
    {
      "id": "FR-090",
      "title": "Image and animated GIF import",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Offer still-frame or animated canvas workflows for supported GIFs and image-layer insertion.",
      "acceptance": "Cancellation changes nothing; frame timing and still selection are explicit; save/reopen preserves supported project assets.",
      "boundary": "Imported raster content is flattened; vector paths and original source layers are not reconstructed.",
      "evidence": "docs/help/feature-lessons.json; lib/studio/spin_gif_workspace.dart"
    },
    {
      "id": "FR-091",
      "title": "Flipbook animation",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Dedicated editable frames, holds, FPS/speed, onion skin, play/stop and cancellable GIF export.",
      "acceptance": "Export a representative sequence; save/reopen restores frames and holds; playback speed is explicit.",
      "boundary": "Long tablet sessions, continuous timeline scrubbing, flipbook audio/video and AR playback remain follow-up. Shot animatic video/audio is a separate existing workflow.",
      "evidence": "docs/product/flipbook-animation-plan.md; docs/help/feature-lessons.json"
    },
    {
      "id": "FR-092",
      "title": "Sculpture captured-frame animation and GIF",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Capture sculpture states, control frame holds/playback and export a turntable/captured-frame GIF.",
      "acceptance": "Archive geometry is shared when identical; editing transfers omit full archived frames; compact recovery reopens; exported frames render correctly.",
      "boundary": "Captured-frame changes are not skeletal motion capture. Video, bones/rigging and continuous shape interpolation are not claimed.",
      "evidence": "docs/product/sculpture-engine.md; docs/architecture/architecture-database-audit-2026-11-14.md"
    },
    {
      "id": "FR-093",
      "title": "Storyboard writing to manga/comics",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Brief, script and scene/shot proposal review link to manga B5 RTL, comics A4 LTR and film 16:9; approved references can be handed to AI Artist.",
      "acceptance": "Reject stale plans, require review before replace/append and preserve shot/panel links, dialogue, save/reopen and export.",
      "boundary": "Long-form assistance, whole-storyboard batch illustration and consistent generated characters across chapters remain pending.",
      "evidence": "docs/product/requirements-status-2026-11-14.md; docs/help/feature-lessons.json"
    },
    {
      "id": "FR-094",
      "title": "Photo, manga and painterly portraits/backgrounds",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Local sketch/tones/shading treatments and Painterly Studio support separate portrait/background guidance with optional private-server generation.",
      "acceptance": "Preview before placement; retain original image and explicit target layer; show failures and resource requirements.",
      "boundary": "Prompt adherence, identity, shading and artistic output need review. Ghibli-inspired means an aesthetic workflow; no Studio Ghibli affiliation or exact style guarantee.",
      "evidence": "docs/product/page-actions-and-character-sketch.md; docs/product/requirements-status-2026-11-14.md"
    },
    {
      "id": "FR-095",
      "title": "Native AR hologram writing",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Optional ARCore flat world-anchored board accepts touch/stylus/text/art/glow; save locally and explicitly transfer PNG.",
      "acceptance": "Handle unsupported AR devices and permissions; keep AR source separate from a Book; reject stale voice changes.",
      "boundary": "No volumetric projection, air-finger writing, persistent anchors, depth occlusion, portable editable AR sessions or camera/video capture. Physical tracking remains unverified.",
      "evidence": "docs/architecture/architecture-database-audit-2026-11-14.md"
    },
    {
      "id": "FR-096",
      "title": "Private AI commands, story and image jobs",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Server-only command/writing/image adapters run behind the account boundary and return reviewable proposals/artifacts; image references guide continuity.",
      "acceptance": "Bound pending jobs, isolate owners, cancel safely, expire terminal artifacts, mark interrupted inference failed after restart and apply only to the intended revision.",
      "boundary": "Temporary CPU setup uses Qwen3 4B and FLUX.2 klein 4B. Requested top Meta model is not installed. CPU latency and character continuity/production quality are not guaranteed.",
      "evidence": "docs/architecture/architecture-database-audit-2026-11-14.md; docs/product/requirements-status-2026-11-14.md"
    },
    {
      "id": "FR-097",
      "title": "Language Master across app, website and CMS",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "PostgreSQL catalogue and surface bundles publish atomic language/text revisions without rebuilding clients; clients keep validated bundled fallback.",
      "acceptance": "Role/CSRF/origin checks, optimistic conflicts, history/restore, safe placeholders, immutable routes and identifiers; admin overrides survive seed deployment.",
      "boundary": "Four authored handbook languages; app has 68 language profiles, not 68 fully translated guides. CMS translation coverage is partial; native-speaker review remains.",
      "evidence": "docs/product/language-master.md; website/kathaka/tests/language-master.test.mjs"
    },
    {
      "id": "FR-098",
      "title": "Consistent interface and feedback",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Menus/toolboxes use readable Studio-like flat surfaces across themes; compact QuriLabs footer, separate Listen action, adjustable docks and applied-setting feedback.",
      "acceptance": "No Listen/Apply overlap; keyboard and 2× text controls stay reachable; reduced motion is respected; feedback describes success/failure.",
      "boundary": "Theme-specific branded palettes do not imply partnerships. Physical accessibility review remains open.",
      "evidence": "docs/product/android-inputs-feedback.md; test/goldens; docs/theme-collections.md"
    },
    {
      "id": "FR-099",
      "title": "Professional showcase and honest provenance",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Publish original native-engine demos and labelled supplied/external AI-assisted reference artwork in all website languages, with accessible full-size reader and project downloads.",
      "acceptance": "Native import, save, reopen and render each new raster project; downloaded ZIP/assets match hashes; Close/Escape restores focus; routes/metadata cannot be altered through translated text.",
      "boundary": "External generated references are not native brush authorship, not results of the VPS model and not proof of Android execution. Supplied artwork creator is not invented.",
      "evidence": "tool/create_atelier_projects.py; website/kathaka/public/art/atelier/projects-verification.json; website/kathaka/app/components/atelier-collection.tsx"
    },
    {
      "id": "FR-100",
      "title": "Documentation and traceability",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Version current FRD, architecture, user guidance, operator runbook and acceptance matrix; retain historic requirement IDs and disclose superseded policy.",
      "acceptance": "Guide chapters/steps/tours align across four languages; every available workspace command maps to a lesson; generated HTML/JSON is reproducible; links exist.",
      "boundary": "English is the controlling FRD; translated guides need native-speaker review. Documentation completion is not completion of future features.",
      "evidence": "tool/build_help.py; tool/export_handbooks.py; docs/product/current-frd.json"
    },
    {
      "id": "FR-101",
      "title": "Android release and VPS deployment",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Sign Android artifacts with the existing identity, verify update feeds, publish immutable downloads, stage exact source and deploy current website/API images.",
      "acceptance": "Check source-tree mapping, public hashes, readiness, localization and database backup; retain user data/models/volumes; remove superseded runtime containers/images after a healthy replacement.",
      "boundary": "Windows/macOS installer refreshes are deferred. Automated/emulator checks do not establish 100% production reliability.",
      "evidence": "tool/release; docs/release; docs/architecture/evidence"
    },
    {
      "id": "FR-102",
      "title": "Storage architecture and data ownership",
      "status": "Implemented; acceptance boundaries remain",
      "behavior": "Use PostgreSQL for shared accounts/CMS/collaboration, a private SQLite ledger for the single AI worker, local journal/checkpoints/assets for Books and compact sculpture recovery.",
      "acceptance": "Enforce ownership, transactional revisions, copy-only migrations and bounded caches. Public sculpture JSON schema 1/2 stays compatible.",
      "boundary": "No wholesale database rewrite without a measured bottleneck. A unified portable Book/sculpture/AR/audio bundle is future work.",
      "evidence": "docs/architecture/architecture-database-audit-2026-11-14.md"
    }
  ],
  "failureAndRecovery": [
    {
      "condition": "Import invalid/newer schema",
      "expected": "Show reason; keep active document, revision, original file and recovery."
    },
    {
      "condition": "Missing artwork permission",
      "expected": "Explain required project folder; cancel retains current workspace."
    },
    {
      "condition": "Save/disk full",
      "expected": "Report failed destination/resource; retain original and recovery; never claim success before atomic commit."
    },
    {
      "condition": "AI unavailable/timeout",
      "expected": "Keep prompt/references; report job state; offer retry/manual tools; do not apply partial output."
    },
    {
      "condition": "Voice permission/service unavailable",
      "expected": "Show status and remedy; do not leave an inert Listen control or auto-enable microphone."
    },
    {
      "condition": "Sculpture stroke failure",
      "expected": "Keep editor/draft for retry; explicit discard required to abandon unfinished input."
    },
    {
      "condition": "Language revision conflict",
      "expected": "Reject stale publication atomically; reload latest revision; preserve existing translations."
    },
    {
      "condition": "Deploy health failure",
      "expected": "Keep previous service/config until candidate readiness; restore proxy if public checks fail; never delete database volumes."
    },
    {
      "condition": "Unsupported AR",
      "expected": "Explain support requirement and keep ordinary drawing available."
    },
    {
      "condition": "High RPM",
      "expected": "Use elapsed-time virtual phase and transform-aware input; never promise display beyond refresh rate."
    }
  ],
  "qualityGates": [
    "Full Flutter regression suite and clean static analysis; review changed goldens.",
    "Relevant native tests, import/save/reopen/render acceptance, release-tool and website/CMS contract tests.",
    "Isolated candidate service readiness and language-seed preservation before public proxy switch; database backup.",
    "Public artifact hashes, signed feeds and source-tree provenance.",
    "Physical Xiaomi Pad 6 voice/camera/touch/stylus/high-RPM and accessibility tests stay open until the user tests the exact APK.",
    "Long projects, disk-full, corrupt data, dense meshes, generation quality and continuity need representative end-to-end acceptance."
  ],
  "pending": [
    "Physical Xiaomi voice, camera/touch calibration, palm rejection and sustained rotating drawing.",
    "Exhaustive voice property coverage; clearer feedback for unsupported actions.",
    "GB-scale mixed-content and low-storage acceptance; remaining specialized photo/scene/collaboration resource budgets.",
    "Batch storyboard illustration, longer writing and chapter-level identity/quality review.",
    "Higher-resolution/batch painterly output; prompt, tones and unintended-figure review.",
    "Long flipbook sessions; continuous scrubbing, audio/video integration and AR playback.",
    "AR air-writing, persistent anchors, occlusion, editable portability and capture.",
    "Top Meta/GPU capacity; CPU throughput/reliability and production artistic acceptance.",
    "Sculpture dense-mesh GPU/BVH, masks/remesh/UV/rigging/import and unified portable workspace bundle.",
    "Native-speaker localization review; refreshed desktop installers deferred."
  ],
  "documentation": {
    "userGuide": "28 aligned chapters, 702 numbered steps and 51 guided lessons in English, German, French and Russian.",
    "source": "docs/handbook/*.md, docs/help/*-lessons.json, docs/tours; generated by tool/build_help.py.",
    "operator": "docs/operations/current-release-runbook.md",
    "architecture": "docs/architecture/architecture-database-audit-2026-11-14.md",
    "traceability": "FR-001–080 retained as historical lineage; FR-081–102 describe current additions and boundaries. Historical PASS entries do not assert current requalification."
  }
}
