Repository navigation
V.0.5.3.8.1_Потихоньку: полное сохранение проекта и логов сессии от 2026-08-16 - #35
Open
4Um4 wants to merge 4 commits into
Hidden character warning
The head ref may contain hidden characters: "V.0.5.3.8.1_\u041f\u043e\u0442\u0438\u0445\u043e\u043d\u044c\u043a\u0443"
Open
4Um4 wants to merge 4 commits into
4Um4 wants to merge 4 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Sorry @4Um4, your pull request is larger than the review limit of 150000 diff characters
added 2 commits
August 16, 2026 22:57
… записи тестовой сессии
Руководство для ревьюераРеализует социальные и эпистемические функции фаз 8.1/8.2, улучшает жизненный цикл запуска/бэкенда/LLM, UX графики/настроек и финального экрана/озвучивания UI, а также обновляет тесты, ADR-документы и журналы сессий. Диаграмма последовательности для выбора модели LLM и перезапуска сервераsequenceDiagram
actor User
participant SettingsScreen
participant BackendAPI as backend_routes
participant LlamaServer as server_lifecycle
participant LlamaCppProvider
User->>SettingsScreen: click _SettingsButton ("✅ Использовать: model")
SettingsScreen->>SettingsScreen: _select_llm(model_key)
SettingsScreen->>BackendAPI: POST /llm/select/{model_key}
BackendAPI->>BackendAPI: llm_select(model_key)
BackendAPI->>BackendAPI: get_llm_sources()
BackendAPI->>BackendAPI: update settings.llama_cpp_model_path
BackendAPI->>BackendAPI: update settings.default_model
BackendAPI->>LlamaServer: kill_llama_server()
BackendAPI->>LlamaServer: restart_llama_server()
BackendAPI->>LlamaCppProvider: LlamaCppProvider.complete(prompt, system_prompt)
LlamaCppProvider-->>BackendAPI: test_response
BackendAPI-->>SettingsScreen: {status, model, test_response}
SettingsScreen->>SettingsScreen: update _llm_test_log
SettingsScreen->>SettingsScreen: _fetch_llm_status()
SettingsScreen->>SettingsScreen: _build_buttons()
Диаграмма последовательности для коммуникации NPC с убеждениями игрока и социальным графомsequenceDiagram
participant DialogueExecutor
participant DialogueMaterializer
participant EventBus
participant ClaimEventSubscriber
participant SocialSubscriber
participant EpistemicStore
participant RelationshipStore
participant WorldSnapshotBuilder
participant AnalysisRenderer
DialogueExecutor->>DialogueExecutor: execute(QueuedTask)
DialogueExecutor->>DialogueExecutor: build _proposition
DialogueExecutor->>DialogueMaterializer: materialize(Artifact {proposition, intent_type})
DialogueMaterializer->>EventBus: EventDTO NPC_SPOKE(intent_type)
DialogueMaterializer->>EventBus: EventDTO COMMUNICATION_CLAIM(proposition)
EventBus->>ClaimEventSubscriber: on_npc_spoke(event)
ClaimEventSubscriber->>ClaimEventSubscriber: derive Proposition from intent_type
ClaimEventSubscriber->>ClaimEventSubscriber: on_claim_event(event)
ClaimEventSubscriber->>EpistemicStore: add EpistemicRecord (agent_id="player")
EventBus->>SocialSubscriber: handle(events, ctx)
SocialSubscriber->>RelationshipStore: update(campaign_id, "player", npc_id, {trust|fear})
WorldSnapshotBuilder->>WorldSnapshotBuilder: build(scene_state, tick, epistemic_store)
WorldSnapshotBuilder->>EpistemicStore: to_dict()
WorldSnapshotBuilder->>WorldSnapshotBuilder: filter agent_id="player" -> player_beliefs
WorldSnapshotBuilder-->>AnalysisRenderer: WorldSnapshotDTO {player_beliefs}
AnalysisRenderer->>AnalysisRenderer: draw_journal(..., active_tab="beliefs", player_beliefs)
Изменения на уровне файлов
Подсказки и командыВзаимодействие с Sourcery
Настройка вашего опытаЗайдите в свою панель управления, чтобы:
Получение помощи
Original review guide in EnglishReviewer's GuideImplements Phase 8.1/8.2 social and epistemic features, improves startup/backend/LLM lifecycle, graphics/settings UX, and end-screen/UI narration, while updating tests, ADR docs, and session logs. Sequence diagram for LLM model selection and server restartsequenceDiagram
actor User
participant SettingsScreen
participant BackendAPI as backend_routes
participant LlamaServer as server_lifecycle
participant LlamaCppProvider
User->>SettingsScreen: click _SettingsButton ("✅ Использовать: model")
SettingsScreen->>SettingsScreen: _select_llm(model_key)
SettingsScreen->>BackendAPI: POST /llm/select/{model_key}
BackendAPI->>BackendAPI: llm_select(model_key)
BackendAPI->>BackendAPI: get_llm_sources()
BackendAPI->>BackendAPI: update settings.llama_cpp_model_path
BackendAPI->>BackendAPI: update settings.default_model
BackendAPI->>LlamaServer: kill_llama_server()
BackendAPI->>LlamaServer: restart_llama_server()
BackendAPI->>LlamaCppProvider: LlamaCppProvider.complete(prompt, system_prompt)
LlamaCppProvider-->>BackendAPI: test_response
BackendAPI-->>SettingsScreen: {status, model, test_response}
SettingsScreen->>SettingsScreen: update _llm_test_log
SettingsScreen->>SettingsScreen: _fetch_llm_status()
SettingsScreen->>SettingsScreen: _build_buttons()
Sequence diagram for NPC communication to player beliefs and social graphsequenceDiagram
participant DialogueExecutor
participant DialogueMaterializer
participant EventBus
participant ClaimEventSubscriber
participant SocialSubscriber
participant EpistemicStore
participant RelationshipStore
participant WorldSnapshotBuilder
participant AnalysisRenderer
DialogueExecutor->>DialogueExecutor: execute(QueuedTask)
DialogueExecutor->>DialogueExecutor: build _proposition
DialogueExecutor->>DialogueMaterializer: materialize(Artifact {proposition, intent_type})
DialogueMaterializer->>EventBus: EventDTO NPC_SPOKE(intent_type)
DialogueMaterializer->>EventBus: EventDTO COMMUNICATION_CLAIM(proposition)
EventBus->>ClaimEventSubscriber: on_npc_spoke(event)
ClaimEventSubscriber->>ClaimEventSubscriber: derive Proposition from intent_type
ClaimEventSubscriber->>ClaimEventSubscriber: on_claim_event(event)
ClaimEventSubscriber->>EpistemicStore: add EpistemicRecord (agent_id="player")
EventBus->>SocialSubscriber: handle(events, ctx)
SocialSubscriber->>RelationshipStore: update(campaign_id, "player", npc_id, {trust|fear})
WorldSnapshotBuilder->>WorldSnapshotBuilder: build(scene_state, tick, epistemic_store)
WorldSnapshotBuilder->>EpistemicStore: to_dict()
WorldSnapshotBuilder->>WorldSnapshotBuilder: filter agent_id="player" -> player_beliefs
WorldSnapshotBuilder-->>AnalysisRenderer: WorldSnapshotDTO {player_beliefs}
AnalysisRenderer->>AnalysisRenderer: draw_journal(..., active_tab="beliefs", player_beliefs)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Полное сохранение проекта и логов сессии от 2026-08-16. Ветка V.0.5.3.8.1_Потихоньку.
Summary by Sourcery
Расширение социальных и эпистемических систем игры с одновременным улучшением сюжетности финального экрана, управления LLM, надежности запуска, механизма сохранения и полноты валидации.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Chores:
Original summary in English
Summary by Sourcery
Expand the game’s social and epistemic systems while improving end-screen storytelling, LLM management, startup reliability, persistence, and validation coverage.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Chores:
Новые возможности:
Исправления ошибок:
Улучшения:
Документация:
Тесты:
Original summary in English
Summary by Sourcery
Расширение социальных и эпистемических систем игры с одновременным улучшением сюжетности финального экрана, управления LLM, надежности запуска, механизма сохранения и полноты валидации.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Chores:
Original summary in English
Summary by Sourcery
Expand the game’s social and epistemic systems while improving end-screen storytelling, LLM management, startup reliability, persistence, and validation coverage.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Chores: