Review and retain an analytics draft

Preview descriptions, diagrams and BPMN, accept selected changes and resume after restarting Studio.

Before you start

Use an installed AGL Studio version with local draft recovery, an open .agl project and an agent proposal in the same chat. Previewing and recovering an existing draft requires no external server or new agent request. Generating a new draft uses the selected executor and its usual context-sharing consent. You need project read access and permission to write local application data; saving accepted files also requires project-folder write access. Button labels below match the Russian interface in the screenshot.

Click path

  1. Select «Аналитика» (Analytics), the required «Этап аналитики» (analytics stage) and the project chat that owns the proposal.
  2. On the «Черновик агента» board, open a row’s «Предпросмотр» (Preview). New records expose all proposed fields; updates show «Было» / «Будет» (Before / After).
  3. When available, expand «Подробное описание» (Detailed description), «Диаграмма» (Diagram), «Диаграмма процесса» (Process diagram) or «Связанный файл» (Linked file). Embedded and linked AGL and BPMN render before acceptance. Zoom, «Подробные описания элементов (N)» (Detailed element descriptions) with each element’s full authored text, and «Исходный текст диаграммы» (Diagram source) remain available. Previewing neither accepts the record nor generates missing files.
  4. During a full AI analysis, «Промежуточные аналитические артефакты сохранены локально…» (Intermediate analytics artifacts saved locally) confirms a committed per-stage checkpoint before the whole pass completes. Also wait for «Черновики сохранены на этом устройстве · восстановятся после перезапуска.» (Drafts saved on this device and recoverable after restart). Close and restart Studio, then open the same project and chat. Full fields, embedded diagrams/BPMN and proposed document bodies return. If the plan failed, expand it and select «Продолжить» (Continue); you do not need to regenerate the saved draft.
  5. Uncheck changes you are not ready to accept. Click «Принять выбранные (N)» (Accept selected). Studio first checks selected file paths and versions, writes their attachments under docs/analytics, then applies the selected valid records. Unselected rows, conflicts and unaccepted document bodies remain on the board with their full descriptions and diagrams; their files are not created.
  6. Save accepted records with «Сохранить» / Cmd/Ctrl+S, or «Файл» → «Сохранить как…» (File → Save as) when needed. Wait for the saved-drafts notice again before restarting. Accepted records reopen in the project; remaining changes reopen for review.

Interface controls

  1. Черновики сохранены на этом устройстве
  2. Предпросмотр оставшегося изменения BP-QA-2
  3. Встроенная BPMN до принятия
  4. Полное подробное описание

Full element text appears below the linked diagram under «Подробные описания элементов (N)» (Detailed element descriptions).

Interface controls

  1. Связанный файл внутри папки проекта
  2. Предпросмотр диаграммы с масштабом 50%
  3. Подробные описания всех элементов

Elicitation readiness

In «Аналитика» (Analytics), select «Этап аналитики» → «Сбор информации» (Analytics stage → Elicitation). The «Материалы» (Materials) board and the automatic «Зарегистрированы исходные материалы» (Source materials are registered) check use the same record kinds: mind maps (mind_map), wireframes (wireframe) and Vision & Scope (vision_scope). BPMN, BRD, SRS documents or requirements belonging to another stage do not complete elicitation.

With no such materials, the indicator shows 0/1 and the board displays «Записей: 0» (Records: 0) and «Записей пока нет» (No records yet). Click «Добавить запись» (Add record), choose a material kind and fill its fields. Registering the first material changes the check to 1/1; deleting the last returns it to 0/1. Save with «Сохранить» (Save) or Cmd/Ctrl+S. Writing to the project requires access to its folder; save the .agl before restarting.

The fraction counts completed readiness checks, not materials. Search hides nonmatching rows without changing readiness: clear «Поиск по записям…» (Search records) when a filtered result is unexpectedly empty. Register an actual source document instead of inventing a material to satisfy the indicator.

Illustrative example: Сбор информации · 0/1
Illustrative example: Сбор информации · 0/1
Illustrative data. Available controls depend on your edition and permissions.
  1. Сбор информации · 0/1
  2. Записей: 0
  3. Добавить запись

Readiness of other stages

An automatic “each/all” check requires at least one matching record. A completely empty model shows zero completed automatic checks in all 14 stages; manual ticks do not replace missing records.

  • «Системные требования» (System requirements): «У каждого NFR есть метрика и целевое значение» requires at least one NFR and a metric and target on every NFR. Without FR/NFR the stage shows 0/3; registering an SRS does not create structured requirements.
  • «Передача в разработку» (Handoff): «Приоритетные требования имеют критерии приёмки» requires at least one high or critical requirement and acceptance criteria for every such requirement. Without requirements or use cases the stage shows 0/3.
  • «Готовность» (Readiness): RACI checks every use case and process shown in its matrix. Each task needs exactly one A. Missing assignments, two accountable stakeholders, or assignments referring only to deleted tasks do not complete this check.

Removing the last matching record clears the automatic check again. Do not invent records to fill the fraction. If a result is unexpected, inspect record kinds, priorities, NFR metrics and targets, acceptance links and RACI columns. Calculation requires neither administrator permissions nor a server connection.

Partial readiness remains meaningful: a process without an owner gives 1/2 in Business processes, while a registered technical specification gives 1/2 in Readiness when RACI is incomplete. These are completed individual checks, not a completed stage.

Illustrative example: Передача в разработку · 0/3
Illustrative example: Передача в разработку · 0/3
Illustrative data. Available controls depend on your edition and permissions.
  1. Передача в разработку · 0/3
  2. Системные требования · 0/3
  3. Записей: 0

How BPMN is displayed

Event, gateway and data-object names appear outside their symbols and wrap without truncation. Circles and diamonds contain only their BPMN marker: message, timer, error or gateway kind. Task kinds use pictograms; metadata such as Service Task and Exclusive Gateway no longer covers the name.

The canvas, library, AGL/BPMN preview, SVG and vector PDF share BPMN shapes, subtype markers and complete-label positions. PDF embeds a Cyrillic font and keeps text selectable. PNG uses the same SVG diagram; BPMN XML retains external-label bounds in BPMNDI. Automatic gateway branches use distinct exits and avoid objects. Authored ports and manual bends remain authoritative.

Illustrative example: Событие и полное название
Illustrative example: Событие и полное название
Illustrative data. Available controls depend on your edition and permissions.
  1. Событие и полное название
  2. Шлюз с внешним названием
  3. Пиктограмма сервисной задачи
  4. Вписать всё

Use the preview zoom controls to read a large diagram. Full step text remains under «Подробные описания элементов (N)» (Detailed element descriptions). If an authored manual connector crosses an object, open the diagram and edit its route on the canvas. Previewing and zooming do not accept changes or alter the review queue.

Verify the result

After accepting a process, open its row. The «Артефакты записи» (Record artifacts) panel offers «Открыть описание» (Open description) and «Открыть BPMN» (Open BPMN) when the agent supplied those bodies. The description opens as full Markdown; BPMN opens with a local diagram and source preview. «Диаграмма процесса» (Process diagram) should show «Файл найден в проекте.» (File found in project) and «Открыть диаграмму» (Open diagram). On the BPMN canvas, select «Экспорт» (Export), then SVG, PNG or PDF and choose a destination. Compare complete names, message envelopes, task icons, gateway markers and arrowheads with the canvas. The default process paths are docs/analytics/processes/BP-n-<variant>.md, .agl and .bpmn; explicit valid attachment paths are honored. Supplied BPMN XML is converted locally into an editable AGL diagram, and supplied BPMN AGL into XML. A reference to a missing file without source keeps the draft pending and asks you to provide the source or restore the file. Image export is a separate action.

Illustrative example: PNG
Illustrative example: PNG
Illustrative data. Available controls depend on your edition and permissions.
  1. PNG
  2. SVG
  3. PDF

JSON with "type":"agl-studio-selection" is the clipboard representation produced by copying selected objects with Cmd/Ctrl+C. It supports pasting objects into Studio and does not write a diagram or document to disk. Use «Сохранить» (Save) for the project or «Экспорт» (Export) for an image.

Partial acceptance removes only resolved changes from the proposal. Remaining rows still expose full descriptions and diagrams after restarting, without another agent request. The screenshot shows the actual installed app using a separate synthetic project, with no customer data; it does not qualify a remote web-editor deployment.

Local recovery does not replace saving accepted records to .agl and does not synchronize devices. Attachments of selected records and separately selected document bodies are written at acceptance. Save the records themselves in .agl. Undo reverts record changes but does not delete files already written.

Save only selected artifacts

Keep BP-1 checked and uncheck BP-2. After «Принять выбранные» (Accept selected), docs/analytics/processes contains only BP-1’s supplied description and diagrams. BP-2 remains on the board with its full contents. Document bodies have separate checkboxes: accepting a DOC record with its body unchecked does not write that body.

Illustrative example: Открыть описание / Open description
Illustrative example: Открыть описание / Open description
Illustrative data. Available controls depend on your edition and permissions.
  1. Открыть описание / Open description
  2. Открыть BPMN / Open BPMN
  3. Открыть диаграмму / Open diagram
  4. BP-2 остался на проверке / BP-2 remains pending

Document access after restart

An .agl file opened from docs/analytics/processes has a parent folder narrower than the whole project. For companion files such as docs/analytics/dor-dod.md, use «Файл» → «Открыть директорию…» (File → Open directory) to select your project root containing docs. Save unsaved edits with Cmd/Ctrl+S first. Reading requires folder read access; saving documents also requires write access.

Studio uses the selected root for file listings, previews, existence checks and saving selected artifacts. Open «Аналитика» → «Готовность» → «Документы» (Analytics → Readiness → Documents), select a record and click «Открыть документ» (Open document). An existing file shows «Файл найден в проекте.» (File found in project), and the viewer displays its text. «Перечитать с диска» (Reload from disk) refreshes the view without generating or overwriting the source.

When «Открывать последний проект» (Open last project) is enabled in launch settings, the selected root is retained with the .agl path and restored after restart. Select the root once for an older saved session: the previous format retained only the file path. Studio does not infer a root from folder names; an unrelated CLI working directory does not replace document access. Browser access follows the selected file handle and its permissions.

If an error remains, check that the referenced file exists and its drive is available, select the project root again, close the viewer and reopen the document. References and symlinks outside the selected folder do not gain access automatically. Existing authored files are not replaced to clear an access error.

File operations in installed Studio wait for an available worker without blocking the interface. If the queue remains busy for 10 seconds, remembering the project is retried twice more, with delays of 0.5 and 1.5 seconds. Switching projects cancels pending retries for the previous path. Permission, path-validation and filesystem-execution failures are not retried automatically.

The notice «Не удалось запомнить проект: …» (Could not remember project) means the last-project path and root folder were not updated for the next launch. It does not by itself mean the .agl contents failed to save: save edits with Cmd/Ctrl+S and check «Сохранено» (Saved). «Закрыть уведомление» (Dismiss notice) only hides the message; it does not retry the operation. If all attempts are exhausted, let file operations finish, check drive availability, save your edits, switch to another project, then reopen the intended .agl and its project root. A successful bookmark update clears that operation’s notice.

Remembering the last project runs separately from reading descriptions and diagrams: busy previews do not delay persisting the selected .agl and root folder. Cmd+Q, the application Quit menu and closing the window use the same unsaved-work protection. While the project path or files are still being written, the confirmation shows «Дождитесь завершения записи файла перед закрытием.» (Wait for the file write to finish before closing), and «Закрыть без сохранения» (Close without saving) is disabled. Let the write finish. To preserve edits, click «Вернуться к редактированию» (Return to editing), save with Cmd/Ctrl+S, then quit again. Explicitly choosing Close without saving after writes finish discards unsaved edits; this is not automatic saving.

Illustrative example: Путь документа в проекте / Project document path
Illustrative example: Путь документа в проекте / Project document path
Illustrative data. Available controls depend on your edition and permissions.
  1. Путь документа в проекте / Project document path
  2. Текст файла после перезапуска / File text after restart
  3. Перечитать с диска / Reload from disk

Recover from a failure

  • If the project folder is not open, open it with write access and retry. Acceptance never substitutes a browser download for saving into the project.

  • If an existing file differs, Studio refuses acceptance before writing the other files. Identical files count as saved; a known original version is replaced only after its contents are checked. External and manual changes are preserved.

  • If writing is interrupted, the draft remains. Selected files already written stay on disk; fix the cause and retry, and matching files will be skipped.

  • Read/write failures preserve the stored copy. Resolve the reported cause, such as disk space or permissions, and use the notice’s retry control.

  • If the board is absent after restart, check the original project file and chat before regenerating. Inspect the recovery error and existing stored copy first.

  • If selected changes would reference unselected records, Studio refuses the acceptance and retains the draft. Select the related changes or deselect the dependent record.

  • Concurrent user edits are not overwritten; conflicting changes remain for review. Compare versions before deciding. «Отклонить черновик» (Dismiss draft) retires the entire remaining proposal from recovery.

  • Missing linked files produce a read error. Preview requires the original project-folder grant; Studio does not fabricate a replacement diagram.

  • In installed Studio, docs/analytics/... references also work when the .agl file was opened inside docs/analytics or docs/analytics/processes: the matching path prefix is not duplicated. File listing, existence checks, canvas opening and writes resolve that same path. Files stay in the existing folder without a nested duplicate docs/analytics tree. Access remains inside the existing grant; open the project root for an artifact in a sibling folder. In a browser, use paths relative to the selected folder.

  • Linked files are read from disk and must remain in the project after restart. Embedded descriptions are retained with the draft. Store a BPMN process and its ArchiMate context as separate diagrams and link them in the description: preview does not convert one notation into another.