feat: prepare 2.2.0 with UI and execution fixes

Add dark theme, richer Markdown and readable plugin results.
Improve Android input evidence, response integrity and diagnostics.
Unify lifecycle, guidance receipts and evidence sources across clients.
Keep direct action dispatch without an added AI quota approval layer.
Align version metadata at 2.2.0 and bundle Helper 1.2.2.

Validation: 3063 backend tests before the version bump; 44 after.
Frontend: 317 tests and production build passed.
This commit is contained in:
chenmingxuan committed 2026-10-26 00:44:13 +08:00
1 parent 83bcfd54d5
commit fac4ccb760
146 files changed
+5689 -2033

No files matched your search

+8 -1
View File
@@ -326,7 +326,11 @@ def assemble_checker_prompt_segments(
- probe guide: only when the probe tool is actually registered
"""
prompts = prompts if prompts is not None else _load_prompts()
segments = [prompts.get("base_rules", ""), prompts.get("visual_acceptance_guide", "")]
segments = [
prompts.get("base_rules", ""),
prompts.get("visual_acceptance_guide", ""),
prompts.get("source_scope_guide", ""),
]
kinds = {getattr(ci, "kind", None) for ci in check_items}
if "verify" in kinds:
segments.append(prompts.get("verify_semantics", ""))
@@ -931,6 +935,7 @@ async def run_final_check(
screenshot_b64, minimal_list = await _capture_final_screen(ctx)
steps = _load_steps(ctx)
from artemis.agents.checker.receipts import file_receipt_summary
from artemis.data_engine.evidence_sources import recorded_sources
human_text = (
f"# User's Original Goal\n{goal}\n\n"
@@ -950,6 +955,8 @@ async def run_final_check(
)
+ "# Recorded File Receipts (tool evidence, not report claims)\n"
f"{file_receipt_summary(steps)}\n\n"
"# Recorded Source Inventory (provenance only, not verified assertions)\n"
f"{json.dumps(recorded_sources(steps, limit=16), ensure_ascii=False) if isinstance(steps, list) else '(source records unavailable)'}\n\n"
f"# Final Task Plan\n{plan_text or '(no plan)'}\n\n"
f"# Declared Check Items\n{_format_check_items(items)}\n\n"
f"# Verdict Ledger (checkpoint results, authoritative for on_complete"