Files
somew1nd 5d92939d91 refactor: unify agent history and harden runtime diagnostics
Preserve user guidance through history compression, stabilize Flash index targets, and retire withdrawn checks without applying stale verdicts.

Improve runtime diagnostics, tool responses, and history rendering. Simplify documentation and comments.

Validation: 2076 tests passed in the full suite; 381 affected tests and 26 frontend tests passed after cleanup. Ruff and the quality ratchet passed.
2026-09-09 21:35:40 -07:00

91 lines
2.5 KiB
Python

# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Artemis Diagnostics & System Readiness Package."""
from artemis.core.diagnostics.adb_keys import (
AdbKeyStatus,
get_adb_key_paths,
heal_adb_keys,
inspect_adb_keys,
)
from artemis.core.diagnostics.device_smoke import smoke_test_device
from artemis.core.diagnostics.emulator_manager import (
EmulatorLaunchStage,
EmulatorLaunchState,
emulator_manager,
)
from artemis.core.diagnostics.engine import ReadinessEngine, readiness_engine
from artemis.core.diagnostics.probes.adb_probe import AdbDeviceProbe
from artemis.core.diagnostics.probes.base import BaseProbe
from artemis.core.diagnostics.probes.credentials_probe import (
LLMCredentialsProbe,
VisionOCRProbe,
)
from artemis.core.diagnostics.probes.host_probe import IntegrationHostProbe
from artemis.core.diagnostics.probes.runtime_probe import (
PythonRuntimeProbe,
SystemConfigProbe,
)
from artemis.core.diagnostics.probes.toolchain_probe import ToolchainProbe
from artemis.core.diagnostics.readiness import (
CHECK_ORDER,
Verdict,
adb_keys_corrupted,
base_verdict,
collect_readiness,
sort_by_fix_order,
)
from artemis.core.diagnostics.schema import (
DeviceInfo,
ProbeAction,
ProbeCategory,
ProbeResult,
ProbeStatus,
SystemReadinessReport,
)
__all__ = [
"ReadinessEngine",
"readiness_engine",
"emulator_manager",
"EmulatorLaunchStage",
"EmulatorLaunchState",
"BaseProbe",
"IntegrationHostProbe",
"PythonRuntimeProbe",
"SystemConfigProbe",
"AdbDeviceProbe",
"LLMCredentialsProbe",
"VisionOCRProbe",
"ToolchainProbe",
"DeviceInfo",
"ProbeAction",
"ProbeCategory",
"ProbeResult",
"ProbeStatus",
"SystemReadinessReport",
"AdbKeyStatus",
"get_adb_key_paths",
"inspect_adb_keys",
"heal_adb_keys",
"smoke_test_device",
"CHECK_ORDER",
"Verdict",
"collect_readiness",
"base_verdict",
"adb_keys_corrupted",
"sort_by_fix_order",
]