wire vedastro overview before strict contracts

This commit is contained in:
732642856
2026-07-02 12:09:57 +08:00
parent 682a5cf7f2
commit 801416458f
2 changed files with 20 additions and 13 deletions
+13 -13
View File
@@ -5651,6 +5651,19 @@ def cmd_full_reading(args):
status='warning' if any(warn.startswith('vedastro-official-full-snapshot:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
_attach_vedastro_main_entry_overview(report, args)
except Exception as e:
report['warnings'].append(f"vedastro-main-entry-overview: {e}")
_record_stage_timing(
stage_timings,
'vedastro_main_entry_overview',
stage_started,
enabled=profile_stages,
status='warning' if any(warn.startswith('vedastro-main-entry-overview:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
strict_evidence_collector = _load_strict_evidence_collector()
@@ -5676,19 +5689,6 @@ def cmd_full_reading(args):
status='error' if any(err.startswith('strict-evidence-collector:') for err in report['errors']) else 'ok',
)
stage_started = time.perf_counter()
try:
_attach_vedastro_main_entry_overview(report, args)
except Exception as e:
report['warnings'].append(f"vedastro-main-entry-overview: {e}")
_record_stage_timing(
stage_timings,
'vedastro_main_entry_overview',
stage_started,
enabled=profile_stages,
status='warning' if any(warn.startswith('vedastro-main-entry-overview:') for warn in report['warnings']) else 'ok',
)
stage_started = time.perf_counter()
try:
report['modules']['guided_topics'] = build_guided_topics(report)
+7
View File
@@ -628,6 +628,13 @@ def test_full_reading_auto_attaches_vedastro_main_entry_boundary() -> None:
assert vedastro["source_metadata"]["ingestion_profile"] == "main_entry_overview"
assert vedastro["source_metadata"]["reference_date"] == "2026-06-29"
assert sorted(vedastro["source_metadata"]["domain_statuses"]) == ["career", "marriage", "wealth"]
career_contract = result["modules"]["career_strict_evidence"]
assert "vedastro_range_scan_missing" not in career_contract["event_judgement"]["secondary_context"]
assert career_contract["present_evidence"]["external_activation"]["level"] == "none"
assert (
career_contract["present_evidence"]["external_activation"]["provenance"]["domain_statuses"]["career"]
== "network_execution_disabled"
)
def test_full_reading_exposes_sensitive_point_modules() -> None: