From 7be262df6e2199a9caaba52433208acacfe5d204 Mon Sep 17 00:00:00 2001 From: 732642856 <732642856@qq.com> Date: Fri, 26 Jun 2026 18:17:50 +0800 Subject: [PATCH] docs(oracle): add first dasha packet operator card --- ...a_steve_jobs_first_packet_operator_card.md | 68 +++++++++++++++++++ ...a_steve_jobs_lahiri_first_packet_only.json | 50 ++++++++++++++ .../test_dasha_first_packet_operator_card.py | 37 ++++++++++ 3 files changed, 155 insertions(+) create mode 100644 docs/benchmark/dasha_steve_jobs_first_packet_operator_card.md create mode 100644 references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json create mode 100644 tests/test_dasha_first_packet_operator_card.py diff --git a/docs/benchmark/dasha_steve_jobs_first_packet_operator_card.md b/docs/benchmark/dasha_steve_jobs_first_packet_operator_card.md new file mode 100644 index 00000000..ae77a8ed --- /dev/null +++ b/docs/benchmark/dasha_steve_jobs_first_packet_operator_card.md @@ -0,0 +1,68 @@ +# First Dasha Oracle Packet Operator Card + +Goal: fill one external Dasha value for `template_steve_jobs_dasha_lahiri`. + +do not fill Shadbala in this pass. Shadbala has its own closure board and must not block the first Dasha oracle sample. + +## Birth Data + +- Date: `1955-02-24` +- Time: `19:15:00` +- Place: San Francisco, CA +- Coordinates: `37.7749, -122.4194` +- Timezone: `UTC-08:00` +- Ayanamsa: `Lahiri` +- Node mode: `true node` + +## External Tool + +Use one external black-box source: + +- JHora Vimshottari Dasha screen, or +- PyJHora black-box output, or +- a documented printed/software example. + +Do not use this repository's local engine output as evidence. + +## Fill This Packet + +Template: + +`references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json` + +Required fields: + +- `status`: set to `external_verified` +- `metadata.tool_name` +- `metadata.tool_version_or_url` +- `metadata.capture_date` +- `metadata.source_artifact` +- `metadata.operator_note` +- `target.vimshottari_start_date` + +Save the redacted screenshot or stdout snippet under `references/oracle/artifacts/`. + +## Apply + +```bash +python3 scripts/oracle_collection_queue.py \ + --oracle-file references/oracle/dasha_shadbala_oracle_cases.json \ + --apply-packet references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json \ + --format json +``` + +## Validate + +```bash +python3 scripts/oracle_collection_queue.py \ + --oracle-file references/oracle/dasha_shadbala_oracle_cases.json \ + --format json > /tmp/jyotish_oracle_queue_filled.json + +python3 scripts/oracle_evidence_validator.py \ + --queue-file /tmp/jyotish_oracle_queue_filled.json +``` + +Expected first milestone after real external evidence is filled: + +- Dasha closure board moves from `external_verified_dasha_tasks: 0` to at least `1`. +- Master dashboard still keeps `can_claim_global_oracle_closure: false` until all external oracle fronts are complete. diff --git a/references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json b/references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json new file mode 100644 index 00000000..1c75ee33 --- /dev/null +++ b/references/oracle/evidence_packet_templates/dasha_steve_jobs_lahiri_first_packet_only.json @@ -0,0 +1,50 @@ +{ + "capture_id": "external_template_steve_jobs_dasha_lahiri", + "status": "draft", + "case_id": "template_steve_jobs_dasha_lahiri", + "operator_goal": "Fill one external Vimshottari start date only.", + "birth": { + "year": 1955, + "month": 2, + "day": 24, + "hour": 19, + "minute": 15, + "second": 0, + "lat": 37.7749, + "lon": -122.4194, + "tz": -8 + }, + "settings": { + "ayanamsa": "lahiri", + "node_mode": "true" + }, + "required_metadata_fields": [ + "tool_name", + "tool_version_or_url", + "capture_date", + "source_artifact", + "ayanamsa", + "node_mode", + "timezone", + "operator_note" + ], + "metadata": { + "tool_name": "", + "tool_version_or_url": "", + "capture_date": "", + "source_artifact": "references/oracle/artifacts/", + "ayanamsa": "Lahiri", + "node_mode": "true node", + "timezone": "UTC-08:00", + "operator_note": "" + }, + "target_placeholders": { + "target.vimshottari_start_date": null + }, + "integrity_checks": { + "must_not_come_from_local_engine": true, + "requires_external_artifact": true, + "requires_status_external_verified_before_calibration": true + }, + "promotion_status_after_fill": "external_verified" +} diff --git a/tests/test_dasha_first_packet_operator_card.py b/tests/test_dasha_first_packet_operator_card.py new file mode 100644 index 00000000..5a03696b --- /dev/null +++ b/tests/test_dasha_first_packet_operator_card.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 +"""Tests for the first Dasha-only external oracle operator card.""" + +from __future__ import annotations + +import json +from pathlib import Path + + +ROOT = Path(__file__).resolve().parents[1] +CARD = ROOT / "docs" / "benchmark" / "dasha_steve_jobs_first_packet_operator_card.md" +PACKET = ROOT / "references" / "oracle" / "evidence_packet_templates" / "dasha_steve_jobs_lahiri_first_packet_only.json" + + +def test_dasha_first_packet_operator_card_is_short_and_actionable() -> None: + text = CARD.read_text(encoding="utf-8") + + assert "# First Dasha Oracle Packet Operator Card" in text + assert "template_steve_jobs_dasha_lahiri" in text + assert "target.vimshottari_start_date" in text + assert "Shadbala" in text + assert "do not fill" in text + assert "--apply-packet" in text + assert "oracle_evidence_validator.py" in text + + +def test_dasha_only_packet_template_excludes_shadbala_matrix() -> None: + packet = json.loads(PACKET.read_text(encoding="utf-8")) + + assert packet["capture_id"] == "external_template_steve_jobs_dasha_lahiri" + assert packet["status"] == "draft" + assert packet["case_id"] == "template_steve_jobs_dasha_lahiri" + assert packet["metadata"]["source_artifact"] == "references/oracle/artifacts/" + assert packet["target_placeholders"] == {"target.vimshottari_start_date": None} + assert "target.shadbala_components" not in packet["target_placeholders"] + assert packet["integrity_checks"]["must_not_come_from_local_engine"] is True + assert packet["operator_goal"] == "Fill one external Vimshottari start date only."