diff --git a/docs/research/pre_work_error_ledger.md b/docs/research/pre_work_error_ledger.md index d29ee2e2..d278d16a 100644 --- a/docs/research/pre_work_error_ledger.md +++ b/docs/research/pre_work_error_ledger.md @@ -53,6 +53,7 @@ For large architecture or release work, also read: | ERR-020 | VedAstro official raw responses can be archived but hard to audit if no manifest/API listing exposes them. | mitigated 2026-07-08 | Keep `list_official_raw_response_archives()` and `GET /api/vedastro_gateway/archives`; tests must prove archived official raw responses are enumerable. | | ERR-021 | VedAstro raw archive manifests can exist outside the high-rigor evidence packet, leaving final reports unable to prove whether official raw evidence was archived. | mitigated 2026-07-08 | Keep `vedastro_official_raw_archive_manifest` in `machine_evidence_packet.sections` for API and MCP strict workflows. | | ERR-022 | Technique Audit Table can show VedAstro cloud state but omit whether archived official raw evidence is actually auditable. | mitigated 2026-07-08 | Keep `VedAstro Raw Archive Manifest` as a first-class Technique Audit Table row immediately after `VedAstro Cloud State`. | +| ERR-023 | `professional_reading` can require a Technique Audit Table while omitting the user-visible VedAstro raw archive row. | mitigated 2026-07-08 | Keep `VedAstro Raw Archive Manifest` in `professional_reading.technique_audit_table_required_rows`. | ## Fragment Sweep Command Set diff --git a/scripts/jyotish_api_server.py b/scripts/jyotish_api_server.py index 0504a084..1465c6c9 100644 --- a/scripts/jyotish_api_server.py +++ b/scripts/jyotish_api_server.py @@ -1857,6 +1857,7 @@ class JyotishAPIHandler(BaseHTTPRequestHandler): 'MEVG / Global Web Evidence', 'Real Case Calibration', 'VedAstro Gateway Boundary', + 'VedAstro Raw Archive Manifest', ], 'visibility_contract': { 'requires_technique_audit_table': True, diff --git a/tests/test_api_server_security.py b/tests/test_api_server_security.py index e0bc879e..4bbc95ce 100644 --- a/tests/test_api_server_security.py +++ b/tests/test_api_server_security.py @@ -435,6 +435,7 @@ def test_professional_reading_composes_high_rigor_and_gateway(monkeypatch) -> No assert result['professional_reading']['vedastro_gateway']['scope'] == 'vedastro_gateway_run' assert result['professional_reading']['user_led_calibration_controls']['blind_mode'] is True assert result['professional_reading']['visibility_contract']['requires_technique_audit_table'] is True + assert 'VedAstro Raw Archive Manifest' in result['professional_reading']['technique_audit_table_required_rows'] @pytest.mark.parametrize(