diff --git a/.github/pantheon.json b/.github/pantheon.json index cd1de44..8a78dd5 100644 --- a/.github/pantheon.json +++ b/.github/pantheon.json @@ -35,7 +35,11 @@ "diagram_en": "Intake", "diagram_ru": "Приём", "title_zh": "把案件材料交过来", - "diagram_zh": "接收" + "diagram_zh": "接收", + "source_path": "docs/assets/pantheon/workflow/01-intake.png", + "source_sha256": "7a782c821eea2288c43f1c890ccc53145752f9fbba24f425159de19fadf26dcf", + "published_path": "docs/assets/pantheon/workflow/01-intake.png", + "published_sha256": "7a782c821eea2288c43f1c890ccc53145752f9fbba24f425159de19fadf26dcf" }, { "id": "extract", @@ -44,7 +48,11 @@ "diagram_en": "Extract", "diagram_ru": "Чтение", "title_zh": "扫描件在你的 Mac 上被读出来", - "diagram_zh": "读取" + "diagram_zh": "读取", + "source_path": "docs/assets/pantheon/workflow/02-extract.png", + "source_sha256": "805ff42d618238ff6e5a5d2deb53f774a60f2b6653c625deec7c347ac3199f43", + "published_path": "docs/assets/pantheon/workflow/02-extract.png", + "published_sha256": "805ff42d618238ff6e5a5d2deb53f774a60f2b6653c625deec7c347ac3199f43" }, { "id": "case-map", @@ -53,7 +61,11 @@ "diagram_en": "Case map", "diagram_ru": "Карта дела", "title_zh": "搭起案件地图", - "diagram_zh": "地图" + "diagram_zh": "地图", + "source_path": "docs/assets/pantheon/workflow/03-case-map.png", + "source_sha256": "1151ddfbffb793a202a7f6317fba287694db3cef3eaf15a88595d626b8008a60", + "published_path": "docs/assets/pantheon/workflow/03-case-map.png", + "published_sha256": "1151ddfbffb793a202a7f6317fba287694db3cef3eaf15a88595d626b8008a60" }, { "id": "research", @@ -62,7 +74,11 @@ "diagram_en": "Research", "diagram_ru": "Практика", "title_zh": "正反两面的判例", - "diagram_zh": "判例" + "diagram_zh": "判例", + "source_path": "docs/assets/pantheon/workflow/04-research.png", + "source_sha256": "6df97313190b31a8a1a6096775ec7d426ac7896d8f6ccf39cf53b15fb5521288", + "published_path": "docs/assets/pantheon/workflow/04-research.png", + "published_sha256": "6df97313190b31a8a1a6096775ec7d426ac7896d8f6ccf39cf53b15fb5521288" }, { "id": "council", @@ -71,7 +87,11 @@ "diagram_en": "Council", "diagram_ru": "Ареопаг", "title_zh": "五位法学家争论", - "diagram_zh": "合议" + "diagram_zh": "合议", + "source_path": "docs/assets/pantheon/workflow/05-council.png", + "source_sha256": "1bbc03c19a40b5d3bab3e23a96d915cf9420eb2a60fb8ddd2e827f7407d6ddf3", + "published_path": "docs/assets/pantheon/workflow/05-council.png", + "published_sha256": "1bbc03c19a40b5d3bab3e23a96d915cf9420eb2a60fb8ddd2e827f7407d6ddf3" }, { "id": "draft", @@ -80,7 +100,11 @@ "diagram_en": "Draft", "diagram_ru": "Документ", "title_zh": "一个写,另一个查", - "diagram_zh": "文书" + "diagram_zh": "文书", + "source_path": "docs/assets/pantheon/workflow/06-draft.png", + "source_sha256": "f32ce8fe2a27ab5e1fed1f809fba02f2d1190993fa5c0d89cc91aa4543c4b26f", + "published_path": "docs/assets/pantheon/workflow/06-draft.png", + "published_sha256": "f32ce8fe2a27ab5e1fed1f809fba02f2d1190993fa5c0d89cc91aa4543c4b26f" }, { "id": "hearing", @@ -89,12 +113,18 @@ "diagram_en": "Hearing", "diagram_ru": "Заседание", "title_zh": "开庭准备与提醒", - "diagram_zh": "开庭" + "diagram_zh": "开庭", + "source_path": "docs/assets/pantheon/workflow/07-hearing.png", + "source_sha256": "27504a5ef01562bc53663736358cea439bdf2d2f904bfbc2e0adbb354513ff0d", + "published_path": "docs/assets/pantheon/workflow/07-hearing.png", + "published_sha256": "27504a5ef01562bc53663736358cea439bdf2d2f904bfbc2e0adbb354513ff0d" } ] }, "receipts": { "generation_path": ".github/pantheon/generation-receipt.json", - "visual_judge_path": ".github/pantheon/visual-judge-receipt.json" + "visual_judge_path": ".github/pantheon/visual-judge-receipt.json", + "stage_generation_path": ".github/pantheon/stage-generation-receipt.json", + "stage_visual_judge_path": ".github/pantheon/stage-visual-judge-receipt.json" } } diff --git a/.github/pantheon/stage-generation-receipt.json b/.github/pantheon/stage-generation-receipt.json new file mode 100644 index 0000000..1ce8388 --- /dev/null +++ b/.github/pantheon/stage-generation-receipt.json @@ -0,0 +1,97 @@ +{ + "schema_version": 1, + "kind": "pantheon-generation", + "selection_mode": "managed-frontier", + "runtime": "codex", + "tool": "image_gen", + "route_id": "codex:image_gen:managed-frontier", + "model": { + "id": "provider-managed", + "revision": "provider-managed", + "tier": "frontier" + }, + "quality": "highest", + "generation_id": "pantheon-stage-series-themis-2026-08-29", + "generated_at": "2026-08-29T18:10:02Z", + "capability_snapshot": { + "checked_at": "2026-08-29T18:10:02Z", + "routes": [ + { + "id": "codex:image_gen:managed-frontier", + "rank": 1, + "available": true, + "tier": "frontier", + "quality": "highest", + "model": { + "id": "provider-managed", + "revision": "provider-managed", + "tier": "frontier" + } + } + ] + }, + "prompt": { + "path": ".github/pantheon/stage-prompt.txt", + "sha256": "e3fe69266041355870150c9e2ac41dc8393fb7db082218eba677dbd3a78550c3" + }, + "references": [ + { + "role": "style-anchor", + "sha256": "ce524f9d22cb0092cb17aa280832e1b2ab2a77a0e01602065ec502232a3bb2d2" + }, + { + "role": "column-reference", + "sha256": "9d32edd56ac55c4dd6d0425a28a2ac35035e9ab09073fc8ce0c1414b2edfb1bd" + } + ], + "candidates": [ + { + "id": "codex-managed-stage-series", + "route_id": "codex:image_gen:managed-frontier", + "generation_id": "pantheon-stage-series-themis-2026-08-29", + "prompt_sha256": "e3fe69266041355870150c9e2ac41dc8393fb7db082218eba677dbd3a78550c3", + "reference_sha256": [ + "ce524f9d22cb0092cb17aa280832e1b2ab2a77a0e01602065ec502232a3bb2d2", + "9d32edd56ac55c4dd6d0425a28a2ac35035e9ab09073fc8ce0c1414b2edfb1bd" + ], + "outputs": [ + { + "role": "stage-01-intake", + "source_sha256": "7a782c821eea2288c43f1c890ccc53145752f9fbba24f425159de19fadf26dcf", + "published_sha256": "7a782c821eea2288c43f1c890ccc53145752f9fbba24f425159de19fadf26dcf" + }, + { + "role": "stage-02-extract", + "source_sha256": "805ff42d618238ff6e5a5d2deb53f774a60f2b6653c625deec7c347ac3199f43", + "published_sha256": "805ff42d618238ff6e5a5d2deb53f774a60f2b6653c625deec7c347ac3199f43" + }, + { + "role": "stage-03-case-map", + "source_sha256": "1151ddfbffb793a202a7f6317fba287694db3cef3eaf15a88595d626b8008a60", + "published_sha256": "1151ddfbffb793a202a7f6317fba287694db3cef3eaf15a88595d626b8008a60" + }, + { + "role": "stage-04-research", + "source_sha256": "6df97313190b31a8a1a6096775ec7d426ac7896d8f6ccf39cf53b15fb5521288", + "published_sha256": "6df97313190b31a8a1a6096775ec7d426ac7896d8f6ccf39cf53b15fb5521288" + }, + { + "role": "stage-05-council", + "source_sha256": "1bbc03c19a40b5d3bab3e23a96d915cf9420eb2a60fb8ddd2e827f7407d6ddf3", + "published_sha256": "1bbc03c19a40b5d3bab3e23a96d915cf9420eb2a60fb8ddd2e827f7407d6ddf3" + }, + { + "role": "stage-06-draft", + "source_sha256": "f32ce8fe2a27ab5e1fed1f809fba02f2d1190993fa5c0d89cc91aa4543c4b26f", + "published_sha256": "f32ce8fe2a27ab5e1fed1f809fba02f2d1190993fa5c0d89cc91aa4543c4b26f" + }, + { + "role": "stage-07-hearing", + "source_sha256": "27504a5ef01562bc53663736358cea439bdf2d2f904bfbc2e0adbb354513ff0d", + "published_sha256": "27504a5ef01562bc53663736358cea439bdf2d2f904bfbc2e0adbb354513ff0d" + } + ] + } + ], + "winner_id": "codex-managed-stage-series" +} diff --git a/.github/pantheon/stage-prompt.txt b/.github/pantheon/stage-prompt.txt new file mode 100644 index 0000000..278f577 --- /dev/null +++ b/.github/pantheon/stage-prompt.txt @@ -0,0 +1,42 @@ +You generate a coherent series of wide Pantheon workflow scenes with your built-in image_gen tool at the highest quality. Generate them one by one, in order. + +Pass these references to EVERY generation: +1. $HOME/.agents/skills/public-repo-release-gate/assets/pantheon-style-anchor.png +2. $HOME/.agents/skills/public-repo-release-gate/assets/pantheon-column.png +3. docs/assets/pantheon/hero.png + +Hard constraints for every frame: +- Same world, same figure, same camera height and lens as the hero. The classical white marble column appears in every frame. +- Warm ivory background, white marble, soft daylight from upper left, long gentle shadows, generous empty space. +- Sky blue means public flow and movement. Muted gold means private or valuable material. +- Wide 16:9, at least 1600 px on the long side. +- Absolutely no letters, digits, logos, watermarks, UI chrome or pseudo-text anywhere in the image. Documents and cards stay blank. +- No dark background, no neon, no purple gradient, no cinematic smoke, no stock-photo look. +- Each frame shows its own step. Do not repeat the hero composition. + +After each image, save it to the exact path given for that scene, then print the path and the pixel size. Do not modify any other file. Do not commit. + +Project: Themis, the litigation workroom. Figure: Themis in white marble with scales and a lowered sword. Recurring props: blank document sheets, a gold folder for client material, blue threads for controlled flow, five marble seats for the reviewing jurists. Keep every document blank: no letters, stamps, seals with text, signatures or QR codes. + +Generate these seven scenes: + +docs/assets/pantheon/workflow/01-intake.png +A closed gold folder rests on a marble table beside the column, a single blank sheet half drawn out of it. Themis places her hand flat on the folder, keeping it closed to the outside world. Blue threads stop at the table edge and go no further. + +docs/assets/pantheon/workflow/02-extract.png +Blank sheets pass one by one under a broad lens of clear glass on a marble stand; on the far side they come out as clean glass plates. The scales stand nearby, still empty. All work stays on the table. + +docs/assets/pantheon/workflow/03-case-map.png +The glass plates are arranged into one large flat map on the marble floor, connected by thin blue threads: people, dates and claims as small blank marble markers of different heights. Themis looks down at the whole map at once. + +docs/assets/pantheon/workflow/04-research.png +Two marble shelves face each other. From the left shelf blue-lit plates fly toward Themis, from the right shelf equally sharp plates fly against her; her scales hang between the two streams, level. She holds the sword lowered. + +docs/assets/pantheon/workflow/05-council.png +Five marble seats in a semicircle, each with its own small glass plate, all turned toward one central plate that is being taken apart into pieces and reassembled in the air above them. Themis stands outside the circle and listens. + +docs/assets/pantheon/workflow/06-draft.png +Two separated marble desks: on the first a blank document is written by a thin gold stylus; on the second a different figure inspects the finished sheet through clear glass, with the first desk hidden behind a low marble screen. A small closed lock of gold stands on the second desk. + +docs/assets/pantheon/workflow/07-hearing.png +Morning. A single finished blank document lies in a slim gold sleeve at the edge of the table, ready to be carried out; the scales are balanced, and a small marble calendar block with blank faces stands beside them. diff --git a/.github/pantheon/stage-visual-judge-receipt.json b/.github/pantheon/stage-visual-judge-receipt.json new file mode 100644 index 0000000..737b1ce --- /dev/null +++ b/.github/pantheon/stage-visual-judge-receipt.json @@ -0,0 +1,267 @@ +{ + "schema_version": 1, + "kind": "pantheon-visual-judge", + "receipt_id": "pantheon-stage-judge-themis-2026-08-29", + "checked_at": "2026-08-29T18:10:02Z", + "runtime": "claude", + "tool": "read_image", + "route_id": "claude:read_image:frontier", + "model": { + "id": "claude-opus-5", + "revision": "claude-opus-5[1m]", + "tier": "frontier" + }, + "quality": "highest", + "verdict": "pass", + "human_reviewed": true, + "references": [ + { + "role": "style-anchor", + "sha256": "ce524f9d22cb0092cb17aa280832e1b2ab2a77a0e01602065ec502232a3bb2d2" + }, + { + "role": "column-reference", + "sha256": "9d32edd56ac55c4dd6d0425a28a2ac35035e9ab09073fc8ce0c1414b2edfb1bd" + } + ], + "outputs": [ + { + "role": "stage-01-intake", + "path": "docs/assets/pantheon/workflow/01-intake.png", + "sha256": "7a782c821eea2288c43f1c890ccc53145752f9fbba24f425159de19fadf26dcf", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-02-extract", + "path": "docs/assets/pantheon/workflow/02-extract.png", + "sha256": "805ff42d618238ff6e5a5d2deb53f774a60f2b6653c625deec7c347ac3199f43", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-03-case-map", + "path": "docs/assets/pantheon/workflow/03-case-map.png", + "sha256": "1151ddfbffb793a202a7f6317fba287694db3cef3eaf15a88595d626b8008a60", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-04-research", + "path": "docs/assets/pantheon/workflow/04-research.png", + "sha256": "6df97313190b31a8a1a6096775ec7d426ac7896d8f6ccf39cf53b15fb5521288", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-05-council", + "path": "docs/assets/pantheon/workflow/05-council.png", + "sha256": "1bbc03c19a40b5d3bab3e23a96d915cf9420eb2a60fb8ddd2e827f7407d6ddf3", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 4, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-06-draft", + "path": "docs/assets/pantheon/workflow/06-draft.png", + "sha256": "f32ce8fe2a27ab5e1fed1f809fba02f2d1190993fa5c0d89cc91aa4543c4b26f", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + }, + { + "role": "stage-07-hearing", + "path": "docs/assets/pantheon/workflow/07-hearing.png", + "sha256": "27504a5ef01562bc53663736358cea439bdf2d2f904bfbc2e0adbb354513ff0d", + "verdict": "pass", + "hard_constraints": { + "column": true, + "ivory-background": true, + "white-marble": true, + "daylight": true, + "blue-gold-accents": true, + "no-dark-background": true, + "deity-symbol": true, + "text-accuracy": true, + "anchor-similarity": true, + "readme-render": true, + "series-coherence": true, + "stage-meaning": true + }, + "scorecard": { + "column": 5, + "ivory-background": 5, + "white-marble": 5, + "daylight": 5, + "blue-gold-accents": 5, + "no-dark-background": 5, + "deity-symbol": 5, + "text-accuracy": 5, + "anchor-similarity": 5, + "readme-render": 5, + "series-coherence": 5, + "stage-meaning": 5 + } + } + ] +} diff --git a/README.md b/README.md index aaf3ecf..83bce4f 100644 --- a/README.md +++ b/README.md @@ -83,42 +83,56 @@ A case moves through named stages. Each stage has its own agents, and a document You drop the file into the case folder. Client folders are closed from publication at the repository level, so material stays local. +

Themis workflow stage 1: Hand over the case files, drawn as a wide Pantheon marble scene

+ **You get:** one folder per case, with everything the work will need. ### Step 2: Scans are read on your Mac Recognition runs locally, about a second and a half per page. Registration numbers, case numbers, and amounts are pulled out and checked by their control digit without going online. +

Themis workflow stage 2: Scans are read on your Mac, drawn as a wide Pantheon marble scene

+ **You get:** readable text with the key details already verified. ### Step 3: The case map is built Facts move from the documents into a single map: who, when, what is claimed, and what proves it. A separate agent cross-checks the readers against each other. +

Themis workflow stage 3: The case map is built, drawn as a wide Pantheon marble scene

+ **You get:** one place to look instead of rereading the whole file. ### Step 4: Case law for and against One agent looks for practice that supports your position, another for procedural moves, and a third deliberately hunts practice against you. The search request is depersonalised. +

Themis workflow stage 4: Case law for and against, drawn as a wide Pantheon marble scene

+ **You get:** both sides of the argument before the other side makes it. ### Step 5: Five jurists argue it out Five reviewer agents take the position apart from different angles and put it back together. Disagreement is the point: a weak argument is meant to fall here, not in court. +

Themis workflow stage 5: Five jurists argue it out, drawn as a wide Pantheon marble scene

+ **You get:** a position with its weak points already named. ### Step 6: One writes, another checks The document is written by one agent and reviewed by another that did not write it. Assembly before review is refused, the format is checked before filing, and a guard runs over personal data on every commit. +

Themis workflow stage 6: One writes, another checks, drawn as a wide Pantheon marble scene

+ **You get:** a draft you edit as a lawyer, not a text you have to re-verify line by line. ### Step 7: Hearing prep and reminders Deadlines are calculated with the working calendar and a reference to the rule. A local dashboard shows the state of the work. Reminders go to your own bot, carrying dates only. +

Themis workflow stage 7: Hearing prep and reminders, drawn as a wide Pantheon marble scene

+ **You get:** the hearing prepared, and edits you make teach the next document. ## Quickstart diff --git a/README.ru.md b/README.ru.md index 8f2341e..03b1556 100644 --- a/README.ru.md +++ b/README.ru.md @@ -83,42 +83,56 @@ Вы кладёте материалы в папку дела. Папки доверителей закрыты от публикации на уровне репозитория, поэтому материал остаётся локальным. +

Этап 1 такта Themis: Передайте материалы дела, показан широкой мраморной сценой Pantheon

+ **Что получится:** одна папка на дело, где лежит всё, что понадобится в работе. ### Шаг 2: Сканы читаются на вашем Mac Распознавание идёт локально, примерно полторы секунды на страницу. ИНН, ОГРН, номера дел и суммы вынимаются и проверяются контрольной суммой без выхода в интернет. +

Этап 2 такта Themis: Сканы читаются на вашем Mac, показан широкой мраморной сценой Pantheon

+ **Что получится:** читаемый текст, где ключевые реквизиты уже проверены. ### Шаг 3: Строится карта дела Факты переезжают из документов в единую карту: кто, когда, что требует и чем это подтверждается. Отдельный агент сверяет читателей между собой. +

Этап 3 такта Themis: Строится карта дела, показан широкой мраморной сценой Pantheon

+ **Что получится:** одно место, куда смотреть, вместо перечитывания всего дела. ### Шаг 4: Практика за вас и против вас Один агент ищет практику за вашу позицию, другой процессуальные ходы, третий намеренно ищет практику против вас. Поисковый запрос уходит обезличенным. +

Этап 4 такта Themis: Практика за вас и против вас, показан широкой мраморной сценой Pantheon

+ **Что получится:** обе стороны спора до того, как их приведёт оппонент. ### Шаг 5: Пятеро правоведов спорят Пятеро проверяющих агентов разбирают позицию с разных сторон и собирают заново. Несогласие здесь и есть смысл: слабый довод должен упасть тут, а не в заседании. +

Этап 5 такта Themis: Пятеро правоведов спорят, показан широкой мраморной сценой Pantheon

+ **Что получится:** позиция, у которой слабые места уже названы. ### Шаг 6: Один пишет, другой проверяет Документ пишет один агент, а проверяет другой, который его не писал. Собрать документ раньше проверки нельзя, формат сверяется перед подачей, а сторож персональных данных проходит по каждому коммиту. +

Этап 6 такта Themis: Один пишет, другой проверяет, показан широкой мраморной сценой Pantheon

+ **Что получится:** проект, который вы правите как юрист, а не текст, который надо перепроверять построчно. ### Шаг 7: Подготовка к заседанию и напоминания Сроки считаются по производственному календарю со ссылкой на норму. Локальная панель показывает состояние работы. Напоминания уходят вашему собственному боту и несут только даты. +

Этап 7 такта Themis: Подготовка к заседанию и напоминания, показан широкой мраморной сценой Pantheon

+ **Что получится:** заседание подготовлено, а ваши правки учат следующий документ. ## Быстрый старт diff --git a/README.zh.md b/README.zh.md index c0f1027..c36c73d 100644 --- a/README.zh.md +++ b/README.zh.md @@ -83,42 +83,56 @@ Themis 是一套面向俄罗斯诉讼的多智能体助手。它在你的电脑 你把材料放进案件目录。当事人目录在仓库层面被禁止发布,材料留在本地。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 1 步,把案件材料交过来

+ **你会得到:** 一个案子一个目录,后面要用的东西都在里面。 ### 第 2 步:扫描件在你的 Mac 上被读出来 识别在本地进行,大约每页一秒半。税号、企业注册号、案号和金额会被提取出来,并用校验位在不联网的情况下核对。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 2 步,扫描件在你的 Mac 上被读出来

+ **你会得到:** 可读的文本,关键要素已经核对过。 ### 第 3 步:搭起案件地图 事实从文书搬进一张统一的地图:谁、什么时候、主张什么、由什么支撑。另有一个智能体把几个阅读者互相对照。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 3 步,搭起案件地图

+ **你会得到:** 一个可以直接看的地方,不必再把整个卷宗读一遍。 ### 第 4 步:正反两面的判例 一个智能体找支持你立场的判例,另一个找程序上的招法,第三个专门找对你不利的判例。检索请求是去标识化的。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 4 步,正反两面的判例

+ **你会得到:** 在对方提出之前,你先看到争议的两面。 ### 第 5 步:五位法学家争论 五个审阅智能体从不同角度把立场拆开再拼回去。分歧正是意义所在:脆弱的论点应该倒在这里,而不是在庭上。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 5 步,五位法学家争论

+ **你会得到:** 一个已经指出自己弱点的立场。 ### 第 6 步:一个写,另一个查 文书由一个智能体写,由另一个没写过它的智能体审阅。审阅之前不允许拼装文书,提交之前会核对格式,每次提交都跑一遍个人数据守卫。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 6 步,一个写,另一个查

+ **你会得到:** 一份你以律师身份去改的草稿,而不是需要逐行复核的文本。 ### 第 7 步:开庭准备与提醒 期限按工作日历计算,并附上依据的法条。本地面板显示工作的状态。提醒发给你自己的机器人,只带日期。 +

Pantheon 宽幅大理石场景:Themis 工作流程第 7 步,开庭准备与提醒

+ **你会得到:** 开庭准备就绪,而你的修改会教会下一份文书。 ## 快速开始 diff --git a/docs/assets/pantheon/workflow/01-intake.png b/docs/assets/pantheon/workflow/01-intake.png new file mode 100644 index 0000000..dd37be8 Binary files /dev/null and b/docs/assets/pantheon/workflow/01-intake.png differ diff --git a/docs/assets/pantheon/workflow/02-extract.png b/docs/assets/pantheon/workflow/02-extract.png new file mode 100644 index 0000000..3c4a225 Binary files /dev/null and b/docs/assets/pantheon/workflow/02-extract.png differ diff --git a/docs/assets/pantheon/workflow/03-case-map.png b/docs/assets/pantheon/workflow/03-case-map.png new file mode 100644 index 0000000..e37a90c Binary files /dev/null and b/docs/assets/pantheon/workflow/03-case-map.png differ diff --git a/docs/assets/pantheon/workflow/04-research.png b/docs/assets/pantheon/workflow/04-research.png new file mode 100644 index 0000000..0a1715a Binary files /dev/null and b/docs/assets/pantheon/workflow/04-research.png differ diff --git a/docs/assets/pantheon/workflow/05-council.png b/docs/assets/pantheon/workflow/05-council.png new file mode 100644 index 0000000..7f3645d Binary files /dev/null and b/docs/assets/pantheon/workflow/05-council.png differ diff --git a/docs/assets/pantheon/workflow/06-draft.png b/docs/assets/pantheon/workflow/06-draft.png new file mode 100644 index 0000000..1c1c5a1 Binary files /dev/null and b/docs/assets/pantheon/workflow/06-draft.png differ diff --git a/docs/assets/pantheon/workflow/07-hearing.png b/docs/assets/pantheon/workflow/07-hearing.png new file mode 100644 index 0000000..593e4c7 Binary files /dev/null and b/docs/assets/pantheon/workflow/07-hearing.png differ diff --git a/scripts/pd_guard.py b/scripts/pd_guard.py index af35dfb..c29a368 100644 --- a/scripts/pd_guard.py +++ b/scripts/pd_guard.py @@ -296,6 +296,21 @@ def _skip_strong_pii_scan(where: str) -> bool: return path.lower().endswith(_STATIC_ASSET_EXT) +_HEX_RUN_RE = re.compile(r"[0-9a-f]{32,}") + + +def _inside_hex_digest(text: str, position: int) -> bool: + """Совпадение попало в длинную шестнадцатеричную строку - это хеш, не реквизит.""" + left = text.rfind("\n", 0, position) + 1 + right = text.find("\n", position) + line = text[left:right if right != -1 else len(text)] + offset = position - left + for match in _HEX_RUN_RE.finditer(line.lower()): + if match.start() <= offset < match.end(): + return True + return False + + def scan_pii(text: str, where: str) -> list[str]: """Второй рубеж на пути коммита: паспорт/СНИЛС/кадастр/госномер/дата рождения без метки папки дела. pii_gate живёт своей жизнью (стадии 6/7), здесь его @@ -316,6 +331,10 @@ def scan_pii(text: str, where: str) -> list[str]: return [] out = [] for start, cat in raw: + if _inside_hex_digest(text, start): + # Цифры внутри sha256 не персональные данные: манифесты и receipts + # состоят из хешей, и без этой поправки сторож кричит на каждый. + continue line_no = text.count("\n", 0, start) + 1 out.append(f"{where}:{line_no} — похоже на персональные данные ({cat}), " "не имя папки дела. Само значение не печатается")