# Management Console

Локальная web-консоль для управления рабочим контуром LLM/1C.

## Start

```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/run_management_console.ps1
```

Default URL:

```text
http://127.0.0.1:8770/
```

## Current Capabilities

- overview of local model/RAG artifacts;
- model storage report view;
- 1C RAG and official 1C:ITS artifact status;
- 1C plugin health summary;
- whitelisted checks and maintenance actions;
- 1C:ITS cookie dialog launch;
- 1C:ITS fetch progress from `raw/progress.json`;
- job log with stdout/stderr tail.

The console intentionally does not expose arbitrary shell execution. Every
action must be present in the server whitelist in
`scripts/management_console_server.py`.

## Current Commands

- build artifact manifest;
- check artifact manifest;
- check model storage;
- check 1C plugin;
- check 1C RAG freshness;
- check official docs private artifacts;
- validate PowerShell scripts;
- open 1C:ITS cookie dialog.

## Next Expansion

- Docker service status and start/stop/restart for approved services;
- SQL connector status for known 1C bases;
- RAG rebuild with selected source groups;
- model download/ingest queue;
- vector index status when hybrid search is added;
- role-based action policy before any write-capable 1C operation.
